Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Creating a Request
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:
data SetIdentityPoolRoles Source #
Input to the SetIdentityPoolRoles
action.
See: setIdentityPoolRoles
smart constructor.
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.
data SetIdentityPoolRolesResponse Source #
See: setIdentityPoolRolesResponse
smart constructor.