NAME

Paws::SESv2::CreateEmailIdentity - Arguments for method CreateEmailIdentity on Paws::SESv2

DESCRIPTION

This class represents the parameters used for calling the method CreateEmailIdentity on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method CreateEmailIdentity.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEmailIdentity.

SYNOPSIS

my $email = Paws->service('SESv2');
my $CreateEmailIdentityResponse = $email->CreateEmailIdentity(
  EmailIdentity         => 'MyIdentity',
  ConfigurationSetName  => 'MyConfigurationSetName',    # OPTIONAL
  DkimSigningAttributes => {
    DomainSigningPrivateKey => 'MyPrivateKey',          # min: 1, max: 20480
    DomainSigningSelector   => 'MySelector',            # min: 1, max: 63

  },    # OPTIONAL
  Tags => [
    {
      Key   => 'MyTagKey',
      Value => 'MyTagValue',

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $DkimAttributes = $CreateEmailIdentityResponse->DkimAttributes;
my $IdentityType   = $CreateEmailIdentityResponse->IdentityType;
my $VerifiedForSendingStatus =
  $CreateEmailIdentityResponse->VerifiedForSendingStatus;

# Returns a L<Paws::SESv2::CreateEmailIdentityResponse> object.

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/CreateEmailIdentity

ATTRIBUTES

ConfigurationSetName => Str

The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.

DkimSigningAttributes => Paws::SESv2::DkimSigningAttributes

If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, as opposed to the default method, Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).

You can only specify this object if the email identity is a domain, as opposed to an address.

REQUIRED EmailIdentity => Str

The email address or domain that you want to verify.

Tags => ArrayRef[Paws::SESv2::Tag]

An array of objects that define the tags (keys and values) that you want to associate with the email identity.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateEmailIdentity in Paws::SESv2

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