Safe Haskell | None |
---|---|
Language | Haskell2010 |
Merges two users having different IdentityIds, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (SourceUserIdentifier) with the IdentityId of the DestinationUserIdentifier. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown.
http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_MergeDeveloperIdentities.html
- data MergeDeveloperIdentities
- mergeDeveloperIdentities :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
- mdiDestinationUserIdentifier :: Lens' MergeDeveloperIdentities Text
- mdiDeveloperProviderName :: Lens' MergeDeveloperIdentities Text
- mdiIdentityPoolId :: Lens' MergeDeveloperIdentities Text
- mdiSourceUserIdentifier :: Lens' MergeDeveloperIdentities Text
- data MergeDeveloperIdentitiesResponse
- mergeDeveloperIdentitiesResponse :: MergeDeveloperIdentitiesResponse
- mdirIdentityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text)
Request
data MergeDeveloperIdentities Source
Request constructor
mergeDeveloperIdentities Source
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> MergeDeveloperIdentities |
MergeDeveloperIdentities
constructor.
The fields accessible through corresponding lenses are:
Request lenses
mdiDestinationUserIdentifier :: Lens' MergeDeveloperIdentities Text Source
User identifier for the destination user. The value should be a DeveloperUserIdentifier.
mdiDeveloperProviderName :: Lens' MergeDeveloperIdentities Text Source
The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-).
mdiIdentityPoolId :: Lens' MergeDeveloperIdentities Text Source
An identity pool ID in the format REGION:GUID.
mdiSourceUserIdentifier :: Lens' MergeDeveloperIdentities Text Source
User identifier for the source user. The value should be a DeveloperUserIdentifier.
Response
Response constructor
mergeDeveloperIdentitiesResponse :: MergeDeveloperIdentitiesResponse Source
MergeDeveloperIdentitiesResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
mdirIdentityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text) Source
A unique identifier in the format REGION:GUID.