amazonka-cognito-identity-1.4.5: 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 #

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 #

Input to the GetIdentityPoolRoles action.

See: getIdentityPoolRoles smart constructor.

Instances

Eq GetIdentityPoolRoles # 
Data GetIdentityPoolRoles # 

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 # 
Show GetIdentityPoolRoles # 
Generic GetIdentityPoolRoles # 
Hashable GetIdentityPoolRoles # 
ToJSON GetIdentityPoolRoles # 
NFData GetIdentityPoolRoles # 

Methods

rnf :: GetIdentityPoolRoles -> () #

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

Request Lenses

giprIdentityPoolId :: Lens' GetIdentityPoolRoles Text #

An identity pool ID in the format REGION:GUID.

Destructuring the Response

getIdentityPoolRolesResponse #

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 #

Returned in response to a successful GetIdentityPoolRoles operation.

See: getIdentityPoolRolesResponse smart constructor.

Instances

Eq GetIdentityPoolRolesResponse # 
Data GetIdentityPoolRolesResponse # 

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 # 
Show GetIdentityPoolRolesResponse # 
Generic GetIdentityPoolRolesResponse # 
NFData GetIdentityPoolRolesResponse # 
type Rep GetIdentityPoolRolesResponse # 
type Rep GetIdentityPoolRolesResponse = D1 (MetaData "GetIdentityPoolRolesResponse" "Network.AWS.CognitoIdentity.GetIdentityPoolRoles" "amazonka-cognito-identity-1.4.5-2Q9pluiO6Sv7LXeVa0dYCh" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

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

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

giprrsIdentityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text) #

An identity pool ID in the format REGION:GUID.