The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::SES::CreateReceiptRule - Arguments for method CreateReceiptRule on Paws::SES

DESCRIPTION

This 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.

SYNOPSIS

    my $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

ATTRIBUTES

After => Str

The 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::ReceiptRule

A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.

REQUIRED RuleSetName => Str

The name of the rule set that the receipt rule will be added to.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateReceiptRule in Paws::SES

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues