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.ListIdentityPolicies

Contents

Description

Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies .

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

listIdentityPolicies #

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

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

  • lipIdentity - The identity that is associated with the policy for which the policies will be listed. You can specify an 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.

data ListIdentityPolicies #

Represents a request to return a list of sending authorization policies that are attached to 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: listIdentityPolicies smart constructor.

Instances

Eq ListIdentityPolicies # 
Data ListIdentityPolicies # 

Methods

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

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

toConstr :: ListIdentityPolicies -> Constr #

dataTypeOf :: ListIdentityPolicies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIdentityPolicies # 
Show ListIdentityPolicies # 
Generic ListIdentityPolicies # 
Hashable ListIdentityPolicies # 
NFData ListIdentityPolicies # 

Methods

rnf :: ListIdentityPolicies -> () #

AWSRequest ListIdentityPolicies # 
ToQuery ListIdentityPolicies # 
ToPath ListIdentityPolicies # 
ToHeaders ListIdentityPolicies # 
type Rep ListIdentityPolicies # 
type Rep ListIdentityPolicies = D1 (MetaData "ListIdentityPolicies" "Network.AWS.SES.ListIdentityPolicies" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" True) (C1 (MetaCons "ListIdentityPolicies'" PrefixI True) (S1 (MetaSel (Just Symbol "_lipIdentity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListIdentityPolicies # 

Request Lenses

lipIdentity :: Lens' ListIdentityPolicies Text #

The identity that is associated with the policy for which the policies will be listed. You can specify an 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.

Destructuring the Response

listIdentityPoliciesResponse #

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

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

data ListIdentityPoliciesResponse #

A list of names of sending authorization policies that apply to an identity.

See: listIdentityPoliciesResponse smart constructor.

Instances

Eq ListIdentityPoliciesResponse # 
Data ListIdentityPoliciesResponse # 

Methods

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

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

toConstr :: ListIdentityPoliciesResponse -> Constr #

dataTypeOf :: ListIdentityPoliciesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIdentityPoliciesResponse # 
Show ListIdentityPoliciesResponse # 
Generic ListIdentityPoliciesResponse # 
NFData ListIdentityPoliciesResponse # 
type Rep ListIdentityPoliciesResponse # 
type Rep ListIdentityPoliciesResponse = D1 (MetaData "ListIdentityPoliciesResponse" "Network.AWS.SES.ListIdentityPolicies" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" False) (C1 (MetaCons "ListIdentityPoliciesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_liprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_liprsPolicyNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))

Response Lenses

liprsPolicyNames :: Lens' ListIdentityPoliciesResponse [Text] #

A list of names of policies that apply to the specified identity.