CognitoIdentityClient.unlink_identity
rboto-cognito-identity==0.4.0 · Service index · Types
Model summary (excerpt): Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible. This is a public API. You do not need any credentials to call this API.
Install and imports
Signature
async def unlink_identity(
*,
identity_id: str,
logins: dict[str, str],
logins_to_remove: Sequence[str],
) -> None: ...
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) |
|---|---|---|
identity_id |
Yes | A unique identifier in the format REGION:GUID. |
logins |
Yes | A set of optional name-value pairs that map provider names to provider tokens. |
logins_to_remove |
Yes | Provider names to unlink from this identity. |
Output
None.
| 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.
Related types
—
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:
ExternalServiceError, InternalError, InvalidParameterError, NotAuthorizedError, ResourceConflictError, ResourceNotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.