Skip to content

CognitoIdentityClient.merge_developer_identities

rboto-cognito-identity==0.4.0 · Service index · Types

Model summary (excerpt): Merges two users having different IdentityId s, 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...

Install and imports

python -m pip install "rboto[cognito-identity]==0.4.0"
from rboto import CognitoIdentityClient
from rboto_cognito_identity.types import (
    MergeDeveloperIdentitiesOutput,
)

Signature

async def merge_developer_identities(
    *,
    source_user_identifier: str,
    destination_user_identifier: str,
    developer_provider_name: str,
    identity_pool_id: str,
) -> MergeDeveloperIdentitiesOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
source_user_identifier Yes User identifier for the source user. The value should be a DeveloperUserIdentifier .
destination_user_identifier Yes User identifier for the destination user. The value should be a DeveloperUserIdentifier .
developer_provider_name Yes 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 (-).
identity_pool_id Yes An identity pool ID in the format REGION:GUID.

Output

MergeDeveloperIdentitiesOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
identity_id str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

MergeDeveloperIdentitiesOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cognito_identity.exceptions:

InternalError, InvalidParameterError, NotAuthorizedError, ResourceConflictError, ResourceNotFoundError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model