libZSservicesZSamazonka-sesZSamazonka-ses
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.SES.DeleteIdentityPolicy

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 DeleteIdentityPolicy 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: newDeleteIdentityPolicy smart constructor.

Constructors

DeleteIdentityPolicy' 

Fields

  • identity :: Text

    The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    To successfully call this API, you must own the identity.

  • policyName :: Text

    The name of the policy to be deleted.

Instances

Instances details
Eq DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Read DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Show DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Generic DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Associated Types

type Rep DeleteIdentityPolicy :: Type -> Type #

NFData DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Methods

rnf :: DeleteIdentityPolicy -> () #

Hashable DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

AWSRequest DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Associated Types

type AWSResponse DeleteIdentityPolicy #

ToHeaders DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

ToPath DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

ToQuery DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicy = D1 ('MetaData "DeleteIdentityPolicy" "Amazonka.SES.DeleteIdentityPolicy" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "DeleteIdentityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteIdentityPolicy Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

newDeleteIdentityPolicy Source #

Create a value of DeleteIdentityPolicy 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:identity:DeleteIdentityPolicy', deleteIdentityPolicy_identity - The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

To successfully call this API, you must own the identity.

$sel:policyName:DeleteIdentityPolicy', deleteIdentityPolicy_policyName - The name of the policy to be deleted.

Request Lenses

deleteIdentityPolicy_identity :: Lens' DeleteIdentityPolicy Text Source #

The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

To successfully call this API, you must own the identity.

deleteIdentityPolicy_policyName :: Lens' DeleteIdentityPolicy Text Source #

The name of the policy to be deleted.

Destructuring the Response

data DeleteIdentityPolicyResponse Source #

An empty element returned on a successful request.

See: newDeleteIdentityPolicyResponse smart constructor.

Constructors

DeleteIdentityPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Read DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Show DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Generic DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

Associated Types

type Rep DeleteIdentityPolicyResponse :: Type -> Type #

NFData DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicyResponse = D1 ('MetaData "DeleteIdentityPolicyResponse" "Amazonka.SES.DeleteIdentityPolicy" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "DeleteIdentityPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteIdentityPolicyResponse Source #

Create a value of DeleteIdentityPolicyResponse 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:DeleteIdentityPolicyResponse', deleteIdentityPolicyResponse_httpStatus - The response's http status code.

Response Lenses