cognitoidentity_merge_developer_identities: Merges two users having different IdentityIds, existing in...

Description Usage Arguments Details Request syntax

View source: R/cognitoidentity_operations.R

Description

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.

Usage

1
2
cognitoidentity_merge_developer_identities(SourceUserIdentifier,
  DestinationUserIdentifier, DeveloperProviderName, IdentityPoolId)

Arguments

SourceUserIdentifier

[required] User identifier for the source user. The value should be a DeveloperUserIdentifier.

DestinationUserIdentifier

[required] User identifier for the destination user. The value should be a DeveloperUserIdentifier.

DeveloperProviderName

[required] 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 (-).

IdentityPoolId

[required] An identity pool ID in the format REGION:GUID.

Details

The number of linked logins is limited to 20. So, the number of linked logins for the source user, SourceUserIdentifier, and the destination user, DestinationUserIdentifier, together should not be larger than 20. Otherwise, an exception will be thrown.

You must use AWS Developer credentials to call this API.

Request syntax

1
2
3
4
5
6
svc$merge_developer_identities(
  SourceUserIdentifier = "string",
  DestinationUserIdentifier = "string",
  DeveloperProviderName = "string",
  IdentityPoolId = "string"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.