Module: Aws::Backup

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

Overview

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

backup = Aws::Backup::Client.new
resp = backup.cancel_legal_hold(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::Backup::Errors::ServiceError
  # rescues all AWS Backup 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.82.0'