amazonka-ses-1.6.0: 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.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 .

You can execute this operation no more than once per second.

Synopsis

Creating a Request

listIdentityPolicies Source #

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

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

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

Methods

rnf :: ListIdentityPolicies -> () #

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

Request Lenses

lipIdentity :: Lens' ListIdentityPolicies Text Source #

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

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

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

See: listIdentityPoliciesResponse smart constructor.

Instances

Eq ListIdentityPoliciesResponse Source # 
Data ListIdentityPoliciesResponse Source # 

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 Source # 
Show ListIdentityPoliciesResponse Source # 
Generic ListIdentityPoliciesResponse Source # 
NFData ListIdentityPoliciesResponse Source # 
type Rep ListIdentityPoliciesResponse Source # 
type Rep ListIdentityPoliciesResponse = D1 * (MetaData "ListIdentityPoliciesResponse" "Network.AWS.SES.ListIdentityPolicies" "amazonka-ses-1.6.0-Gb8e1E6FgybCfuSzgoBDRc" False) (C1 * (MetaCons "ListIdentityPoliciesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_liprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_liprsPolicyNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text]))))

Response Lenses

liprsPolicyNames :: Lens' ListIdentityPoliciesResponse [Text] Source #

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