You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Sigv4::Signature

Inherits:
Object
  • Object
show all
Defined in:
gems/aws-sigv4/lib/aws-sigv4/signature.rb

Instance Attribute Summary collapse

Instance Attribute Details

#canonical_requestString

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



25
26
27
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 25

def canonical_request
  @canonical_request
end

#content_sha256String

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



31
32
33
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 31

def content_sha256
  @content_sha256
end

#headersHash<String,String>

Returns A hash of headers that should be applied to the HTTP request. Header keys are lower cased strings and may include the following:

  • 'host'
  • 'x-amz-date'
  • 'x-amz-security-token'
  • 'x-amz-content-sha256'
  • 'authorization'

Returns:

  • (Hash<String,String>)

    A hash of headers that should be applied to the HTTP request. Header keys are lower cased strings and may include the following:

    • 'host'
    • 'x-amz-date'
    • 'x-amz-security-token'
    • 'x-amz-content-sha256'
    • 'authorization'


22
23
24
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 22

def headers
  @headers
end

#string_to_signString

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



28
29
30
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 28

def string_to_sign
  @string_to_sign
end