You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::Chime

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Chime.

Aws::Chime::Client

The Client class provides one-to-one mapping for each API operation.

chime = Aws::Chime::Client.new(region: 'us-east-1')
chime.operation_names
#=> [:associate_phone_number_with_user, :associate_phone_numbers_with_voice_connector, :associate_phone_numbers_with_voice_connector_group, :associate_signin_delegate_groups_with_account, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = chime.associate_phone_number_with_user(params)

See Client for more information.

Aws::Chime::Errors

Errors returned from Amazon Chime are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Chime::Errors::ServiceError
  # rescues all errors returned by Amazon Chime
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client