Copyright | (c) 2013-2015 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 |
Gets the roles for an identity pool.
You must use AWS Developer credentials to call this API.
See: AWS API Reference for GetIdentityPoolRoles.
- getIdentityPoolRoles :: Text -> GetIdentityPoolRoles
- data GetIdentityPoolRoles
- giprIdentityPoolId :: Lens' GetIdentityPoolRoles Text
- getIdentityPoolRolesResponse :: Int -> GetIdentityPoolRolesResponse
- data GetIdentityPoolRolesResponse
- giprrsRoles :: Lens' GetIdentityPoolRolesResponse (HashMap Text Text)
- giprrsIdentityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text)
- giprrsStatus :: Lens' GetIdentityPoolRolesResponse Int
Creating a Request
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:
data GetIdentityPoolRoles Source
Input to the GetIdentityPoolRoles
action.
See: getIdentityPoolRoles
smart constructor.
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:
data GetIdentityPoolRolesResponse Source
Returned in response to a successful GetIdentityPoolRoles
operation.
See: getIdentityPoolRolesResponse
smart constructor.
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.
giprrsStatus :: Lens' GetIdentityPoolRolesResponse Int Source
The response status code.