amazonka-cognito-identity-0.3.0: Amazon Cognito Identity SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentity.GetId

Contents

Description

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

Synopsis

Request

data GetId Source

Instances

Eq GetId 
Read GetId 
Show GetId 
ToJSON GetId 
AWSRequest GetId 
ToQuery GetId 
ToPath GetId 
ToHeaders GetId 
type Sv GetId = CognitoIdentity 
type Rs GetId = GetIdResponse 

Request constructor

getId Source

Arguments

:: Text

giIdentityPoolId

-> GetId 

GetId constructor.

The fields accessible through corresponding lenses are:

Request lenses

giAccountId :: Lens' GetId (Maybe Text) Source

A standard AWS account ID (9+ digits).

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

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.