class AWS::Glacier::Client

All operations with Amazon Glacier require your AWS account ID. You can specify the special value of '-' to specify your AWS account ID.

glacier = AWS::Glacier.new
resp = glacier.client.list_vaults(:account_id => '-')

Constants

API_VERSION
CACHEABLE_REQUESTS

@api private

Private Instance Methods

build_request(*args) click to toggle source
Calls superclass method AWS::Core::Client#build_request
# File lib/aws/glacier/client.rb, line 33
def build_request *args
  request = super(*args)
  request.headers['x-amz-glacier-version'] = self.class.const_get(:API_VERSION)
  request
end