struct

Alumna::SES::SigV4

Inherits Struct < Value < Object

Signs one AWS request with Signature Version 4. SES#send uses this for SendEmail. Application code does not call it.

Header names are lowercased. Header values are trimmed. x-amz-content-sha256 is the SHA256 hex digest of the body. The query string is empty.

Canonical headers already end with a newline. The canonical request writes one more newline before the signed header names.

Constructors

Class methods

sign(*, method : String, path : String, signed_headers : Array(Tuple(String, String)), body : String, region : String, service : String, access_key_id : String, secret_access_key : String) : NamedTuple(authorization: String, payload_hash: String)
Source

Instance methods

initialize
Source