Module: Aws::ImportExport

Defined in:
lib/aws-sdk-importexport/client_api.rb,
lib/aws-sdk-importexport/resource.rb,
lib/aws-sdk-importexport/errors.rb,
lib/aws-sdk-importexport/client.rb,
lib/aws-sdk-importexport/types.rb,
lib/aws-sdk-importexport.rb

Overview

This module provides support for AWS Import/Export. This module is available in the ‘aws-sdk-importexport` 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.

import_export = Aws::ImportExport::Client.new
resp = import_export.cancel_job(params)

See Client for more information.

# Errors

Errors returned from AWS Import/Export are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ImportExport::Errors::ServiceError
  # rescues all AWS Import/Export API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.43.0'