« blib/lib/Paws/SESv2/Content.pm
↑ Summary
blib/lib/Paws/SESv2/CreateConfigurationSetEventDestination.pm »
| 1 | |||
| 2 | package Paws::SESv2::CreateConfigurationSet; | ||
| 3 | use Moose; | ||
| 4 | has ConfigurationSetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has DeliveryOptions => (is => 'ro', isa => 'Paws::SESv2::DeliveryOptions'); | ||
| 6 | has ReputationOptions => (is => 'ro', isa => 'Paws::SESv2::ReputationOptions'); | ||
| 7 | has SendingOptions => (is => 'ro', isa => 'Paws::SESv2::SendingOptions'); | ||
| 8 | has SuppressionOptions => (is => 'ro', isa => 'Paws::SESv2::SuppressionOptions'); | ||
| 9 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SESv2::Tag]'); | ||
| 10 | has TrackingOptions => (is => 'ro', isa => 'Paws::SESv2::TrackingOptions'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateConfigurationSet'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/configuration-sets'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::CreateConfigurationSetResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::SESv2::CreateConfigurationSet - Arguments for method CreateConfigurationSet on L<Paws::SESv2> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method CreateConfigurationSet on the | ||
| 29 | L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class | ||
| 30 | as arguments to method CreateConfigurationSet. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConfigurationSet. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $email = Paws->service('SESv2'); | ||
| 37 | my $CreateConfigurationSetResponse = $email->CreateConfigurationSet( | ||
| 38 | ConfigurationSetName => 'MyConfigurationSetName', | ||
| 39 | DeliveryOptions => { | ||
| 40 | SendingPoolName => 'MyPoolName', # OPTIONAL | ||
| 41 | TlsPolicy => 'REQUIRE', # values: REQUIRE, OPTIONAL; OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | ReputationOptions => { | ||
| 44 | LastFreshStart => '1970-01-01T01:00:00', # OPTIONAL | ||
| 45 | ReputationMetricsEnabled => 1, # OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | SendingOptions => { | ||
| 48 | SendingEnabled => 1, # OPTIONAL | ||
| 49 | }, # OPTIONAL | ||
| 50 | SuppressionOptions => { | ||
| 51 | SuppressedReasons => [ | ||
| 52 | 'BOUNCE', ... # values: BOUNCE, COMPLAINT | ||
| 53 | ], # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | Tags => [ | ||
| 56 | { | ||
| 57 | Key => 'MyTagKey', | ||
| 58 | Value => 'MyTagValue', | ||
| 59 | |||
| 60 | }, | ||
| 61 | ... | ||
| 62 | ], # OPTIONAL | ||
| 63 | TrackingOptions => { | ||
| 64 | CustomRedirectDomain => 'MyCustomRedirectDomain', | ||
| 65 | |||
| 66 | }, # OPTIONAL | ||
| 67 | ); | ||
| 68 | |||
| 69 | 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. | ||
| 70 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/CreateConfigurationSet> | ||
| 71 | |||
| 72 | =head1 ATTRIBUTES | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> ConfigurationSetName => Str | ||
| 76 | |||
| 77 | The name of the configuration set. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 DeliveryOptions => L<Paws::SESv2::DeliveryOptions> | ||
| 82 | |||
| 83 | An object that defines the dedicated IP pool that is used to send | ||
| 84 | emails that you send using the configuration set. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 ReputationOptions => L<Paws::SESv2::ReputationOptions> | ||
| 89 | |||
| 90 | An object that defines whether or not Amazon SES collects reputation | ||
| 91 | metrics for the emails that you send that use the configuration set. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 SendingOptions => L<Paws::SESv2::SendingOptions> | ||
| 96 | |||
| 97 | An object that defines whether or not Amazon SES can send email that | ||
| 98 | you send using the configuration set. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 SuppressionOptions => L<Paws::SESv2::SuppressionOptions> | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 Tags => ArrayRef[L<Paws::SESv2::Tag>] | ||
| 109 | |||
| 110 | An array of objects that define the tags (keys and values) that you | ||
| 111 | want to associate with the configuration set. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 TrackingOptions => L<Paws::SESv2::TrackingOptions> | ||
| 116 | |||
| 117 | An object that defines the open and click tracking options for emails | ||
| 118 | that you send using the configuration set. | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head1 SEE ALSO | ||
| 124 | |||
| 125 | This class forms part of L<Paws>, documenting arguments for method CreateConfigurationSet in L<Paws::SESv2> | ||
| 126 | |||
| 127 | =head1 BUGS and CONTRIBUTIONS | ||
| 128 | |||
| 129 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 130 | |||
| 131 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 132 | |||
| 133 | =cut | ||
| 134 |