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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 .

This action is throttled at one request per second.

Synopsis

Creating a Request

deleteIdentityPolicy #

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 #

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 # 
Data 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 # 
Show DeleteIdentityPolicy # 
Generic DeleteIdentityPolicy # 
Hashable DeleteIdentityPolicy # 
NFData DeleteIdentityPolicy # 

Methods

rnf :: DeleteIdentityPolicy -> () #

AWSRequest DeleteIdentityPolicy # 
ToQuery DeleteIdentityPolicy # 
ToPath DeleteIdentityPolicy # 
ToHeaders DeleteIdentityPolicy # 
type Rep DeleteIdentityPolicy # 
type Rep DeleteIdentityPolicy = D1 (MetaData "DeleteIdentityPolicy" "Network.AWS.SES.DeleteIdentityPolicy" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" False) (C1 (MetaCons "DeleteIdentityPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dipIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dipPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteIdentityPolicy # 

Request Lenses

dipIdentity :: Lens' DeleteIdentityPolicy 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: 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 #

The name of the policy to be deleted.

Destructuring the Response

deleteIdentityPolicyResponse #

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 #

An empty element returned on a successful request.

See: deleteIdentityPolicyResponse smart constructor.

Instances

Eq DeleteIdentityPolicyResponse # 
Data DeleteIdentityPolicyResponse # 

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 # 
Show DeleteIdentityPolicyResponse # 
Generic DeleteIdentityPolicyResponse # 
NFData DeleteIdentityPolicyResponse # 
type Rep DeleteIdentityPolicyResponse # 
type Rep DeleteIdentityPolicyResponse = D1 (MetaData "DeleteIdentityPolicyResponse" "Network.AWS.SES.DeleteIdentityPolicy" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" True) (C1 (MetaCons "DeleteIdentityPolicyResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_diprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses