You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::Glacier
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon Glacier.
Aws::Glacier::Client
The Client class provides one-to-one mapping for each API operation.
glacier = Aws::Glacier::Client.new(region: 'us-east-1')
glacier.operation_names
#=> [:abort_multipart_upload, :abort_vault_lock, :add_tags_to_vault, :complete_multipart_upload, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = glacier.abort_multipart_upload(params)
See Client for more information.
Aws::Glacier::Errors
Errors returned from Amazon Glacier are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Glacier::Errors::ServiceError
# rescues all errors returned by Amazon Glacier
end
See Errors for more information.
Defined Under Namespace
Modules: Errors, Types Classes: Account, Archive, Client, Job, MultipartUpload, Notification, Resource, Vault