amazonka-cognito-identity-1.6.1: Amazon Cognito Identity 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.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 # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Data GetIdentityPoolRoles Source # 
Instance details

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

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Show GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Generic GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Associated Types

type Rep GetIdentityPoolRoles :: Type -> Type #

Hashable GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

ToJSON GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

AWSRequest GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Associated Types

type Rs GetIdentityPoolRoles :: Type #

ToHeaders GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

ToPath GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

ToQuery GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

NFData GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Methods

rnf :: GetIdentityPoolRoles -> () #

type Rep GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

type Rep GetIdentityPoolRoles = D1 (MetaData "GetIdentityPoolRoles" "Network.AWS.CognitoIdentity.GetIdentityPoolRoles" "amazonka-cognito-identity-1.6.1-JxIOswo68EQKpplMh7b7yR" True) (C1 (MetaCons "GetIdentityPoolRoles'" PrefixI True) (S1 (MetaSel (Just "_giprIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetIdentityPoolRoles Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

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:

  • giprrsRoles - The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
  • giprrsIdentityPoolId - An identity pool ID in the format REGION:GUID.
  • giprrsRoleMappings - How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
  • giprrsResponseStatus - -- | The response status code.

data GetIdentityPoolRolesResponse Source #

Returned in response to a successful GetIdentityPoolRoles operation.

See: getIdentityPoolRolesResponse smart constructor.

Instances
Eq GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Data GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

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

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Show GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Generic GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

Associated Types

type Rep GetIdentityPoolRolesResponse :: Type -> Type #

NFData GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

type Rep GetIdentityPoolRolesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.GetIdentityPoolRoles

type Rep GetIdentityPoolRolesResponse = D1 (MetaData "GetIdentityPoolRolesResponse" "Network.AWS.CognitoIdentity.GetIdentityPoolRoles" "amazonka-cognito-identity-1.6.1-JxIOswo68EQKpplMh7b7yR" False) (C1 (MetaCons "GetIdentityPoolRolesResponse'" PrefixI True) ((S1 (MetaSel (Just "_giprrsRoles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_giprrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_giprrsRoleMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text RoleMapping))) :*: S1 (MetaSel (Just "_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.

giprrsRoleMappings :: Lens' GetIdentityPoolRolesResponse (HashMap Text RoleMapping) Source #

How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".