Admin Link Provider For User

POST {{aws_cognito_identity_provider_base_url}}/?Action=AdminLinkProviderForUser

Request Params

KeyDatatypeRequiredDescription
ActionstringThe existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in.

Request Body

{"DestinationUser"=>{"ProviderAttributeName"=>"string", "ProviderAttributeValue"=>"string", "ProviderName"=>"string"}, "SourceUser"=>{"ProviderAttributeName"=>"string", "ProviderAttributeValue"=>"string", "ProviderName"=>"string"}, "UserPoolId"=>"string"}