amazonka-ses-1.6.1: Amazon Simple Email Service SDK.

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

Network.AWS.SES.DeleteIdentityPolicy

Contents

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.

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

deleteIdentityPolicy Source #

Creates a value of DeleteIdentityPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dipIdentity - 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: userexample.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity.
  • dipPolicyName - The name of the policy to be deleted.

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

Instances
Eq DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Data DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteIdentityPolicy -> c DeleteIdentityPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteIdentityPolicy #

toConstr :: DeleteIdentityPolicy -> Constr #

dataTypeOf :: DeleteIdentityPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteIdentityPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteIdentityPolicy) #

gmapT :: (forall b. Data b => b -> b) -> DeleteIdentityPolicy -> DeleteIdentityPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIdentityPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIdentityPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteIdentityPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteIdentityPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicy -> m DeleteIdentityPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicy -> m DeleteIdentityPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicy -> m DeleteIdentityPolicy #

Read DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Show DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Generic DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Associated Types

type Rep DeleteIdentityPolicy :: Type -> Type #

Hashable DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

AWSRequest DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Associated Types

type Rs DeleteIdentityPolicy :: Type #

ToHeaders DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

ToPath DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

ToQuery DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

NFData DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Methods

rnf :: DeleteIdentityPolicy -> () #

type Rep DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicy = D1 (MetaData "DeleteIdentityPolicy" "Network.AWS.SES.DeleteIdentityPolicy" "amazonka-ses-1.6.1-LMoDrV6qkh7KTlxxGOHB3A" False) (C1 (MetaCons "DeleteIdentityPolicy'" PrefixI True) (S1 (MetaSel (Just "_dipIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dipPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteIdentityPolicy Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Request Lenses

dipIdentity :: 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: userexample.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity.

dipPolicyName :: Lens' DeleteIdentityPolicy Text Source #

The name of the policy to be deleted.

Destructuring the Response

deleteIdentityPolicyResponse Source #

Creates a value of DeleteIdentityPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteIdentityPolicyResponse Source #

An empty element returned on a successful request.

See: deleteIdentityPolicyResponse smart constructor.

Instances
Eq DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Data DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteIdentityPolicyResponse -> c DeleteIdentityPolicyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteIdentityPolicyResponse #

toConstr :: DeleteIdentityPolicyResponse -> Constr #

dataTypeOf :: DeleteIdentityPolicyResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteIdentityPolicyResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteIdentityPolicyResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteIdentityPolicyResponse -> DeleteIdentityPolicyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIdentityPolicyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIdentityPolicyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteIdentityPolicyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteIdentityPolicyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicyResponse -> m DeleteIdentityPolicyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicyResponse -> m DeleteIdentityPolicyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIdentityPolicyResponse -> m DeleteIdentityPolicyResponse #

Read DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Show DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Generic DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

Associated Types

type Rep DeleteIdentityPolicyResponse :: Type -> Type #

NFData DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicyResponse Source # 
Instance details

Defined in Network.AWS.SES.DeleteIdentityPolicy

type Rep DeleteIdentityPolicyResponse = D1 (MetaData "DeleteIdentityPolicyResponse" "Network.AWS.SES.DeleteIdentityPolicy" "amazonka-ses-1.6.1-LMoDrV6qkh7KTlxxGOHB3A" True) (C1 (MetaCons "DeleteIdentityPolicyResponse'" PrefixI True) (S1 (MetaSel (Just "_diprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses