CmdID / aws / aws cognito-identity
aws cognito-identity merge-developer-identities
Merges two users having different IdentityIds, existing in the same identity pool, and identified by the same developer provider. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--destination-user-identifierUser identifier for the destination user.--developer-provider-nameThe "domain" by which Cognito will refer to your users.--identity-pool-idAn identity pool ID in the format REGION:GUID.--source-user-identifierUser identifier for the source user.