![]() |
![]()
| ![]() |
![]()
NAMEPaws::SES::CreateReceiptRule - Arguments for method CreateReceiptRule on Paws::SES DESCRIPTIONThis class represents the parameters used for calling the method CreateReceiptRule on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method CreateReceiptRule. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReceiptRule. SYNOPSISmy $email = Paws->service('SES'); # CreateReceiptRule # The following example creates a new receipt rule: my $CreateReceiptRuleResponse = $email->CreateReceiptRule( 'After' => '', 'Rule' => { 'Actions' => [ { 'S3Action' => { 'BucketName' => 'MyBucket', 'ObjectKeyPrefix' => 'email' } } ], 'Enabled' => 1, 'Name' => 'MyRule', 'ScanEnabled' => 1, 'TlsPolicy' => 'Optional' }, 'RuleSetName' => 'MyRuleSet' ); 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/email/CreateReceiptRule> ATTRIBUTESAfter => StrThe name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list. REQUIRED Rule => Paws::SES::ReceiptRuleA data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. REQUIRED RuleSetName => StrThe name of the rule set that the receipt rule will be added to. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateReceiptRule in Paws::SES BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|