CognitoIdentity#
Client#
- class CognitoIdentity.Client#
A low-level client representing Amazon Cognito Identity
Amazon Cognito Federated Identities is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. It uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application.
Using Amazon Cognito Federated Identities, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon Cognito user pool, and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials.
For a description of the authentication flow from the Amazon Cognito Developer Guide see Authentication Flow.
For more information see Amazon Cognito Federated Identities.
import boto3 client = boto3.client('cognito-identity')
These are the available methods:
- can_paginate
- close
- create_identity_pool
- delete_identities
- delete_identity_pool
- describe_identity
- describe_identity_pool
- get_credentials_for_identity
- get_id
- get_identity_pool_roles
- get_open_id_token
- get_open_id_token_for_developer_identity
- get_paginator
- get_principal_tag_attribute_map
- get_waiter
- list_identities
- list_identity_pools
- list_tags_for_resource
- lookup_developer_identity
- merge_developer_identities
- set_identity_pool_roles
- set_principal_tag_attribute_map
- tag_resource
- unlink_developer_identity
- unlink_identity
- untag_resource
- update_identity_pool
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- ConcurrentModificationException
- DeveloperUserAlreadyRegisteredException
- ExternalServiceException
- InternalErrorException
- InvalidIdentityPoolConfigurationException
- InvalidParameterException
- LimitExceededException
- NotAuthorizedException
- ResourceConflictException
- ResourceNotFoundException
- TooManyRequestsException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: