CognitoIdentityClient.lookup_developer_identity
rboto-cognito-identity==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the IdentityID associated with a DeveloperUserIdentifier or the list of DeveloperUserIdentifier values associated with an IdentityId for an existing identity. Either IdentityID or DeveloperUserIdentifier must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both,...
Install and imports
from rboto import CognitoIdentityClient
from rboto_cognito_identity.types import (
LookupDeveloperIdentityOutput,
)
Signature
async def lookup_developer_identity(
*,
identity_pool_id: str,
identity_id: str | None = None,
developer_user_identifier: str | None = None,
max_results: int | None = None,
next_token: str | None = None,
) -> LookupDeveloperIdentityOutput: ...
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_pool_id |
Yes | An identity pool ID in the format REGION:GUID. |
identity_id |
No | A unique identifier in the format REGION:GUID. |
developer_user_identifier |
No | A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users. |
max_results |
No | The maximum number of identities to return. |
next_token |
No | A pagination token. The first call you make will have NextToken set to null. After that the service will return NextToken values as needed. For example, let's say you make a request with MaxResults set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from... |
Output
LookupDeveloperIdentityOutput.
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 | — |
developer_user_identifier_list |
list[str] | None |
Always present | — |
next_token |
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.
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:
InternalError, InvalidParameterError, NotAuthorizedError, ResourceConflictError, ResourceNotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.