libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SESV2.DeleteEmailIdentityPolicy

Description

Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data DeleteEmailIdentityPolicy Source #

Represents a request to delete a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.

See: newDeleteEmailIdentityPolicy smart constructor.

Constructors

DeleteEmailIdentityPolicy' 

Fields

  • emailIdentity :: Text

    The email identity.

  • policyName :: Text

    The name of the policy.

    The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Instances

Instances details
Eq DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Read DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Show DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Generic DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Associated Types

type Rep DeleteEmailIdentityPolicy :: Type -> Type #

NFData DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Hashable DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

AWSRequest DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

ToHeaders DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

ToPath DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

ToQuery DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

type Rep DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

type Rep DeleteEmailIdentityPolicy = D1 ('MetaData "DeleteEmailIdentityPolicy" "Amazonka.SESV2.DeleteEmailIdentityPolicy" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "DeleteEmailIdentityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteEmailIdentityPolicy Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

newDeleteEmailIdentityPolicy Source #

Create a value of DeleteEmailIdentityPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:emailIdentity:DeleteEmailIdentityPolicy', deleteEmailIdentityPolicy_emailIdentity - The email identity.

$sel:policyName:DeleteEmailIdentityPolicy', deleteEmailIdentityPolicy_policyName - The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Request Lenses

deleteEmailIdentityPolicy_policyName :: Lens' DeleteEmailIdentityPolicy Text Source #

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Destructuring the Response

data DeleteEmailIdentityPolicyResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newDeleteEmailIdentityPolicyResponse smart constructor.

Constructors

DeleteEmailIdentityPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Read DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Show DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Generic DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

Associated Types

type Rep DeleteEmailIdentityPolicyResponse :: Type -> Type #

NFData DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

type Rep DeleteEmailIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SESV2.DeleteEmailIdentityPolicy

type Rep DeleteEmailIdentityPolicyResponse = D1 ('MetaData "DeleteEmailIdentityPolicyResponse" "Amazonka.SESV2.DeleteEmailIdentityPolicy" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "DeleteEmailIdentityPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteEmailIdentityPolicyResponse Source #

Create a value of DeleteEmailIdentityPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteEmailIdentityPolicyResponse', deleteEmailIdentityPolicyResponse_httpStatus - The response's http status code.

Response Lenses