« blib/lib/Paws/SESv2/PutAccountSendingAttributesResponse.pm
↑ Summary
blib/lib/Paws/SESv2/PutAccountSuppressionAttributesResponse.pm »
| 1 | |||
| 2 | package Paws::SESv2::PutAccountSuppressionAttributes; | ||
| 3 | use Moose; | ||
| 4 | has SuppressedReasons => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAccountSuppressionAttributes'); | ||
| 9 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/account/suppression'); | ||
| 10 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::PutAccountSuppressionAttributesResponse'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SESv2::PutAccountSuppressionAttributes - Arguments for method PutAccountSuppressionAttributes on L<Paws::SESv2> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method PutAccountSuppressionAttributes on the | ||
| 23 | L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class | ||
| 24 | as arguments to method PutAccountSuppressionAttributes. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAccountSuppressionAttributes. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $email = Paws->service('SESv2'); | ||
| 31 | my $PutAccountSuppressionAttributesResponse = | ||
| 32 | $email->PutAccountSuppressionAttributes( | ||
| 33 | SuppressedReasons => [ | ||
| 34 | 'BOUNCE', ... # values: BOUNCE, COMPLAINT | ||
| 35 | ], # OPTIONAL | ||
| 36 | ); | ||
| 37 | |||
| 38 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 39 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/PutAccountSuppressionAttributes> | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 SuppressedReasons => ArrayRef[Str|Undef] | ||
| 45 | |||
| 46 | A list that contains the reasons that email addresses will be | ||
| 47 | automatically added to the suppression list for your account. This list | ||
| 48 | can contain any or all of the following: | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | C<COMPLAINT> E<ndash> Amazon SES adds an email address to the | ||
| 55 | suppression list for your account when a message sent to that address | ||
| 56 | results in a complaint. | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | C<BOUNCE> E<ndash> Amazon SES adds an email address to the suppression | ||
| 61 | list for your account when a message sent to that address results in a | ||
| 62 | hard bounce. | ||
| 63 | |||
| 64 | =back | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, documenting arguments for method PutAccountSuppressionAttributes in L<Paws::SESv2> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |