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

Module: Aws::Support

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Support.

Aws::Support::Client

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

support = Aws::Support::Client.new(region: 'us-east-1')
support.operation_names
#=> [:add_attachments_to_set, :add_communication_to_case, :create_case, :describe_attachment, ...]

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

resp = support.add_attachments_to_set(params)

See Client for more information.

Aws::Support::Errors

Errors returned from AWS Support are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Support::Errors::ServiceError
  # rescues all errors returned by AWS Support
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client