Module RightAws::RightAwsBaseInterface
In: lib/awsbase/right_awsbase.rb

Methods

Constants

DEFAULT_SIGNATURE_VERSION = '2'
BLOCK_DEVICE_KEY_MAPPING = { # :nodoc: :device_name => 'DeviceName', :virtual_name => 'VirtualName', :no_device => 'NoDevice', :ebs_snapshot_id => 'Ebs.SnapshotId', :ebs_volume_size => 'Ebs.VolumeSize', :ebs_delete_on_termination => 'Ebs.DeleteOnTermination' }

Attributes

aws_access_key_id  [R]  Current aws_access_key_id
aws_secret_access_key  [R]  Current aws_secret_access_key
cache  [R]  Cache
connection  [R]  RightHttpConnection instance
last_errors  [RW]  Last AWS errors list (used by AWSErrorHandler)
last_request  [R]  Last HTTP request object
last_request_id  [RW]  Last AWS request id (used by AWSErrorHandler)
last_response  [R]  Last HTTP response object
logger  [RW]  Logger object
params  [RW]  Initial params hash
signature_version  [R]  Signature version (all services except s3)

Public Class methods

Public Instance methods

Check if the aws function response hits the cache or not. If the cache hits:

  • raises an AwsNoChange exception if do_raise == +:raise+.
  • returnes parsed response from the cache if it exists or true otherwise.

If the cache miss or the caching is off then returns false.

Returns true if the describe_xxx responses are being cached

Returns Amazons request ID for the latest request

[Validate]