« blib/lib/Paws/SES/BulkEmailDestinationStatus.pm
↑ Summary
blib/lib/Paws/SES/CloneReceiptRuleSetResponse.pm »
| 1 | |||
| 2 | package Paws::SES::CloneReceiptRuleSet; | ||
| 3 | use Moose; | ||
| 4 | has OriginalRuleSetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has RuleSetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CloneReceiptRuleSet'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SES::CloneReceiptRuleSetResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CloneReceiptRuleSetResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SES::CloneReceiptRuleSet - Arguments for method CloneReceiptRuleSet on L<Paws::SES> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method CloneReceiptRuleSet on the | ||
| 23 | L<Amazon Simple Email Service|Paws::SES> service. Use the attributes of this class | ||
| 24 | as arguments to method CloneReceiptRuleSet. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CloneReceiptRuleSet. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $email = Paws->service('SES'); | ||
| 31 | # CloneReceiptRuleSet | ||
| 32 | # The following example creates a receipt rule set by cloning an existing one: | ||
| 33 | my $CloneReceiptRuleSetResponse = $email->CloneReceiptRuleSet( | ||
| 34 | 'OriginalRuleSetName' => 'RuleSetToClone', | ||
| 35 | 'RuleSetName' => 'RuleSetToCreate' | ||
| 36 | ); | ||
| 37 | |||
| 38 | |||
| 39 | 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. | ||
| 40 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/CloneReceiptRuleSet> | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> OriginalRuleSetName => Str | ||
| 46 | |||
| 47 | The name of the rule set to clone. | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> RuleSetName => Str | ||
| 52 | |||
| 53 | The name of the rule set to create. The name must: | ||
| 54 | |||
| 55 | =over | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), | ||
| 60 | underscores (_), or dashes (-). | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | Start and end with a letter or number. | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | Contain less than 64 characters. | ||
| 69 | |||
| 70 | =back | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method CloneReceiptRuleSet in L<Paws::SES> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |