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

Copyright(c) 2013-2017 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 # 
Data DeleteIdentityPolicy Source # 

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

Methods

rnf :: DeleteIdentityPolicy -> () #

AWSRequest DeleteIdentityPolicy Source # 
ToQuery DeleteIdentityPolicy Source # 
ToPath DeleteIdentityPolicy Source # 
ToHeaders DeleteIdentityPolicy Source # 
type Rep DeleteIdentityPolicy Source # 
type Rep DeleteIdentityPolicy = D1 (MetaData "DeleteIdentityPolicy" "Network.AWS.SES.DeleteIdentityPolicy" "amazonka-ses-1.5.0-IX6fk8AIUZF8NF0Dlao5KP" 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 Source # 

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 # 
Data DeleteIdentityPolicyResponse Source # 

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

Response Lenses