| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CognitoIdentity.SetIdentityPoolRoles
Description
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
Instances
| 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
Arguments
| :: Text | |
| -> SetIdentityPoolRoles |
SetIdentityPoolRoles constructor.
The fields accessible through corresponding lenses are:
siprIdentityPoolId::TextsiprRoles::HashMapTextText
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.