amazonka-cognito-identity-1.4.2: Amazon Cognito Identity 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.CognitoIdentity.GetIdentityPoolRoles

Contents

Description

Gets the roles for an identity pool.

You must use AWS Developer credentials to call this API.

Synopsis

Creating a Request

getIdentityPoolRoles Source #

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

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

data GetIdentityPoolRoles Source #

Input to the GetIdentityPoolRoles action.

See: getIdentityPoolRoles smart constructor.

Instances

Eq GetIdentityPoolRoles Source # 
Data GetIdentityPoolRoles Source # 

Methods

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

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

toConstr :: GetIdentityPoolRoles -> Constr #

dataTypeOf :: GetIdentityPoolRoles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIdentityPoolRoles Source # 
Show GetIdentityPoolRoles Source # 
Generic GetIdentityPoolRoles Source # 
ToJSON GetIdentityPoolRoles Source # 
Hashable GetIdentityPoolRoles Source # 
NFData GetIdentityPoolRoles Source # 

Methods

rnf :: GetIdentityPoolRoles -> () #

AWSRequest GetIdentityPoolRoles Source # 
ToPath GetIdentityPoolRoles Source # 
ToHeaders GetIdentityPoolRoles Source # 
ToQuery GetIdentityPoolRoles Source # 
type Rep GetIdentityPoolRoles Source # 
type Rep GetIdentityPoolRoles = D1 (MetaData "GetIdentityPoolRoles" "Network.AWS.CognitoIdentity.GetIdentityPoolRoles" "amazonka-cognito-identity-1.4.2-1l2swQqkpUS3BWLajeb9rI" True) (C1 (MetaCons "GetIdentityPoolRoles'" PrefixI True) (S1 (MetaSel (Just Symbol "_giprIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetIdentityPoolRoles Source # 

Request Lenses

giprIdentityPoolId :: Lens' GetIdentityPoolRoles Text Source #

An identity pool ID in the format REGION:GUID.

Destructuring the Response

getIdentityPoolRolesResponse Source #

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

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

data GetIdentityPoolRolesResponse Source #

Returned in response to a successful GetIdentityPoolRoles operation.

See: getIdentityPoolRolesResponse smart constructor.

Instances

Eq GetIdentityPoolRolesResponse Source # 
Data GetIdentityPoolRolesResponse Source # 

Methods

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

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

toConstr :: GetIdentityPoolRolesResponse -> Constr #

dataTypeOf :: GetIdentityPoolRolesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIdentityPoolRolesResponse Source # 
Show GetIdentityPoolRolesResponse Source # 
Generic GetIdentityPoolRolesResponse Source # 
NFData GetIdentityPoolRolesResponse Source # 
type Rep GetIdentityPoolRolesResponse Source # 
type Rep GetIdentityPoolRolesResponse = D1 (MetaData "GetIdentityPoolRolesResponse" "Network.AWS.CognitoIdentity.GetIdentityPoolRoles" "amazonka-cognito-identity-1.4.2-1l2swQqkpUS3BWLajeb9rI" False) (C1 (MetaCons "GetIdentityPoolRolesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_giprrsRoles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_giprrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_giprrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

giprrsRoles :: Lens' GetIdentityPoolRolesResponse (HashMap Text Text) Source #

The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

giprrsIdentityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text) Source #

An identity pool ID in the format REGION:GUID.