You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::CognitoSync
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon Cognito Sync.
Aws::CognitoSync::Client
The Client class provides one-to-one mapping for each API operation.
cognitosync = Aws::CognitoSync::Client.new(region: 'us-east-1')
cognitosync.operation_names
#=> [:bulk_publish, :delete_dataset, :describe_dataset, :describe_identity_pool_usage, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = cognitosync.bulk_publish(params)
See Client for more information.
Aws::CognitoSync::Errors
Errors returned from Amazon Cognito Sync are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::CognitoSync::Errors::ServiceError
# rescues all errors returned by Amazon Cognito Sync
end
See Errors for more information.