amazonka-cognito-identity-1.3.2: 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.SetIdentityPoolRoles

Contents

Description

Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action.

You must use AWS Developer credentials to call this API.

See: AWS API Reference for SetIdentityPoolRoles.

Synopsis

Creating a Request

setIdentityPoolRoles Source

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

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

Request Lenses

siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text Source

An identity pool ID in the format REGION:GUID.

siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text) Source

The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

Destructuring the Response

setIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse Source

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