Safe Haskell | None |
---|---|
Language | Haskell2010 |
Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.
http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetId.html
- data GetId
- getId :: Text -> GetId
- giAccountId :: Lens' GetId (Maybe Text)
- giIdentityPoolId :: Lens' GetId Text
- giLogins :: Lens' GetId (HashMap Text Text)
- data GetIdResponse
- getIdResponse :: GetIdResponse
- girIdentityId :: Lens' GetIdResponse (Maybe Text)
Request
Request constructor
GetId
constructor.
The fields accessible through corresponding lenses are:
Request lenses
giIdentityPoolId :: Lens' GetId Text Source
An identity pool ID in the format REGION:GUID.
giLogins :: Lens' GetId (HashMap Text Text) Source
A set of optional name-value pairs that map provider names to provider tokens.
The available provider names for Logins
are as follows: Facebook: 'graph.facebook.com' Google: 'accounts.google.com' Amazon: 'www.amazon.com'
Response
data GetIdResponse Source
Response constructor
getIdResponse :: GetIdResponse Source
GetIdResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
girIdentityId :: Lens' GetIdResponse (Maybe Text) Source
A unique identifier in the format REGION:GUID.