amazonka-cognito-identity-1.0.1: Amazon Cognito Identity SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for GetIdentityPoolRoles.

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:

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:

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.