Module: Aws::CognitoSync

Defined in:
lib/aws-sdk-cognitosync/endpoint_parameters.rb,
lib/aws-sdk-cognitosync/plugins/endpoints.rb,
lib/aws-sdk-cognitosync/endpoint_provider.rb,
lib/aws-sdk-cognitosync/client_api.rb,
lib/aws-sdk-cognitosync/endpoints.rb,
lib/aws-sdk-cognitosync/resource.rb,
lib/aws-sdk-cognitosync/errors.rb,
lib/aws-sdk-cognitosync/client.rb,
lib/aws-sdk-cognitosync/types.rb,
lib/aws-sdk-cognitosync.rb

Overview

This module provides support for Amazon Cognito Sync. This module is available in the ‘aws-sdk-cognitosync` 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_sync = Aws::CognitoSync::Client.new
resp = cognito_sync.bulk_publish(params)

See Client for more information.

# Errors

Errors returned from Amazon Cognito Sync are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::CognitoSync::Errors::ServiceError
  # rescues all Amazon Cognito Sync API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.62.0'