Safe Haskell | None |
---|---|
Language | Haskell2010 |
Sets the roles for an identity pool. These roles are used when making calls
to GetCredentialsForIdentity
action.
http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_SetIdentityPoolRoles.html
- data SetIdentityPoolRoles
- setIdentityPoolRoles :: Text -> SetIdentityPoolRoles
- siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text
- siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text)
- data SetIdentityPoolRolesResponse
- setIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse
Request
data SetIdentityPoolRoles Source
Eq SetIdentityPoolRoles | |
Read SetIdentityPoolRoles | |
Show SetIdentityPoolRoles | |
AWSRequest SetIdentityPoolRoles | |
ToQuery SetIdentityPoolRoles | |
ToPath SetIdentityPoolRoles | |
ToHeaders SetIdentityPoolRoles | |
ToJSON SetIdentityPoolRoles | |
type Sv SetIdentityPoolRoles = CognitoIdentity | |
type Rs SetIdentityPoolRoles = SetIdentityPoolRolesResponse |
Request constructor
:: Text | |
-> SetIdentityPoolRoles |
SetIdentityPoolRoles
constructor.
The fields accessible through corresponding lenses are:
siprIdentityPoolId
::
Text
siprRoles
::
HashMap
Text
Text
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. Currently only authenticated and unauthenticated roles are supported.