Module: Aws::CognitoIdentity
- Defined in:
- lib/aws-sdk-cognitoidentity/endpoint_provider.rb,
lib/aws-sdk-cognitoidentity/customizations.rb,
lib/aws-sdk-cognitoidentity/plugins/endpoints.rb,
lib/aws-sdk-cognitoidentity/endpoint_parameters.rb,
lib/aws-sdk-cognitoidentity/customizations/cognito_identity_credentials.rb,
lib/aws-sdk-cognitoidentity/client_api.rb,
lib/aws-sdk-cognitoidentity/endpoints.rb,
lib/aws-sdk-cognitoidentity/resource.rb,
lib/aws-sdk-cognitoidentity/errors.rb,
lib/aws-sdk-cognitoidentity/client.rb,
lib/aws-sdk-cognitoidentity/types.rb,
lib/aws-sdk-cognitoidentity.rb
Overview
This module provides support for Amazon Cognito Identity. This module is available in the ‘aws-sdk-cognitoidentity` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
cognito_identity = Aws::CognitoIdentity::Client.new
resp = cognito_identity.create_identity_pool(params)
See Client for more information.
# Errors
Errors returned from Amazon Cognito Identity are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::CognitoIdentity::Errors::ServiceError
# rescues all Amazon Cognito Identity API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, CognitoIdentityCredentials, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.67.0'