Module: Aws::StorageGateway

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

Overview

This module provides support for AWS Storage Gateway. This module is available in the ‘aws-sdk-storagegateway` 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.

storage_gateway = Aws::StorageGateway::Client.new
resp = storage_gateway.activate_gateway(params)

See Client for more information.

# Errors

Errors returned from AWS Storage Gateway are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::StorageGateway::Errors::ServiceError
  # rescues all AWS Storage Gateway 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.77.0'