Module: Aws::DataSync
- Defined in:
- lib/aws-sdk-datasync/endpoint_parameters.rb,
lib/aws-sdk-datasync/plugins/endpoints.rb,
lib/aws-sdk-datasync/endpoint_provider.rb,
lib/aws-sdk-datasync/client_api.rb,
lib/aws-sdk-datasync/endpoints.rb,
lib/aws-sdk-datasync/resource.rb,
lib/aws-sdk-datasync/errors.rb,
lib/aws-sdk-datasync/client.rb,
lib/aws-sdk-datasync/types.rb,
lib/aws-sdk-datasync.rb
Overview
This module provides support for AWS DataSync. This module is available in the ‘aws-sdk-datasync` 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.
data_sync = Aws::DataSync::Client.new
resp = data_sync.add_storage_system(params)
See Client for more information.
# Errors
Errors returned from AWS DataSync are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::DataSync::Errors::ServiceError
# rescues all AWS DataSync 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.93.0'