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

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 # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Data ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.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 # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Show ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Generic ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Associated Types

type Rep ListIdentityPolicies :: Type -> Type #

Hashable ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

AWSRequest ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Associated Types

type Rs ListIdentityPolicies :: Type #

ToHeaders ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

ToPath ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

ToQuery ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

NFData ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Methods

rnf :: ListIdentityPolicies -> () #

type Rep ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

type Rep ListIdentityPolicies = D1 (MetaData "ListIdentityPolicies" "Network.AWS.SES.ListIdentityPolicies" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" True) (C1 (MetaCons "ListIdentityPolicies'" PrefixI True) (S1 (MetaSel (Just "_lipIdentity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListIdentityPolicies # 
Instance details

Defined in Network.AWS.SES.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 # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Data ListIdentityPoliciesResponse # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

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 # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Show ListIdentityPoliciesResponse # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Generic ListIdentityPoliciesResponse # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

Associated Types

type Rep ListIdentityPoliciesResponse :: Type -> Type #

NFData ListIdentityPoliciesResponse # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

type Rep ListIdentityPoliciesResponse # 
Instance details

Defined in Network.AWS.SES.ListIdentityPolicies

type Rep ListIdentityPoliciesResponse = D1 (MetaData "ListIdentityPoliciesResponse" "Network.AWS.SES.ListIdentityPolicies" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" False) (C1 (MetaCons "ListIdentityPoliciesResponse'" PrefixI True) (S1 (MetaSel (Just "_liprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_liprsPolicyNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))

Response Lenses

liprsPolicyNames :: Lens' ListIdentityPoliciesResponse [Text] #

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