« blib/lib/Paws/SESv2/CreateContactResponse.pm
↑ Summary
blib/lib/Paws/SESv2/CreateCustomVerificationEmailTemplateResponse.pm »
| 1 | |||
| 2 | package Paws::SESv2::CreateCustomVerificationEmailTemplate; | ||
| 3 | use Moose; | ||
| 4 | has FailureRedirectionURL => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has FromEmailAddress => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has SuccessRedirectionURL => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has TemplateContent => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has TemplateName => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has TemplateSubject => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCustomVerificationEmailTemplate'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/custom-verification-email-templates'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::CreateCustomVerificationEmailTemplateResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::SESv2::CreateCustomVerificationEmailTemplate - Arguments for method CreateCustomVerificationEmailTemplate on L<Paws::SESv2> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method CreateCustomVerificationEmailTemplate on the | ||
| 28 | L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class | ||
| 29 | as arguments to method CreateCustomVerificationEmailTemplate. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomVerificationEmailTemplate. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $email = Paws->service('SESv2'); | ||
| 36 | my $CreateCustomVerificationEmailTemplateResponse = | ||
| 37 | $email->CreateCustomVerificationEmailTemplate( | ||
| 38 | FailureRedirectionURL => 'MyFailureRedirectionURL', | ||
| 39 | FromEmailAddress => 'MyEmailAddress', | ||
| 40 | SuccessRedirectionURL => 'MySuccessRedirectionURL', | ||
| 41 | TemplateContent => 'MyTemplateContent', | ||
| 42 | TemplateName => 'MyEmailTemplateName', | ||
| 43 | TemplateSubject => 'MyEmailTemplateSubject', | ||
| 44 | |||
| 45 | ); | ||
| 46 | |||
| 47 | 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. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/CreateCustomVerificationEmailTemplate> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> FailureRedirectionURL => Str | ||
| 54 | |||
| 55 | The URL that the recipient of the verification email is sent to if his | ||
| 56 | or her address is not successfully verified. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> FromEmailAddress => Str | ||
| 61 | |||
| 62 | The email address that the custom verification email is sent from. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> SuccessRedirectionURL => Str | ||
| 67 | |||
| 68 | The URL that the recipient of the verification email is sent to if his | ||
| 69 | or her address is successfully verified. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> TemplateContent => Str | ||
| 74 | |||
| 75 | The content of the custom verification email. The total size of the | ||
| 76 | email must be less than 10 MB. The message body may contain HTML, with | ||
| 77 | some limitations. For more information, see Custom Verification Email | ||
| 78 | Frequently Asked Questions | ||
| 79 | (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq) | ||
| 80 | in the I<Amazon SES Developer Guide>. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 B<REQUIRED> TemplateName => Str | ||
| 85 | |||
| 86 | The name of the custom verification email template. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> TemplateSubject => Str | ||
| 91 | |||
| 92 | The subject line of the custom verification email. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method CreateCustomVerificationEmailTemplate in L<Paws::SESv2> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |