aws-elixir v0.1.0 AWS.Request.Internal
Summary
Functions
Add an Authorization
header with an AWS4-HMAC-SHA256 signature to the list
of headers
Add an X-Amz-Date
header with a long date value in YYMMDDTHHMMSSZ
format
to a list of headers
Generate an AWS4-HMAC-SHA256 authorization signature
Strip leading and trailing whitespace around name
and value
, convert
name
to lowercase, and add a trailing newline
Convert a list of headers to canonical header format. Leading and trailing whitespace around header names and values is stripped, header names are lowercased, and headers are newline-joined in alphabetical order (with a trailing newline)
Process and merge request values into a canonical request for AWS signature version 4
Generate a credential scope from a short date in YYMMDD
format, a region
identifier and a service identifier
Strip leading and trailing whitespace around Name and convert it to lowercase
Convert a list of headers to canonicals signed header format. Leading and trailing whitespace around names is stripped, header names are lowercased, and header names are semicolon-joined in alphabetical order
Generate a signing key from a secret access key, a short date in YYMMDD
format, a region identifier and a service identifier
Strip the query string from the URL, if one if present, and return the URL and query string as separate values
Generate the text to sign from a long date in YYMMDDTHHMMSSZ
format, a
credential scope and a hashed canonical request
Functions
Add an Authorization
header with an AWS4-HMAC-SHA256 signature to the list
of headers.
Add an X-Amz-Date
header with a long date value in YYMMDDTHHMMSSZ
format
to a list of headers.
Generate an AWS4-HMAC-SHA256 authorization signature.
Strip leading and trailing whitespace around name
and value
, convert
name
to lowercase, and add a trailing newline.
Convert a list of headers to canonical header format. Leading and trailing whitespace around header names and values is stripped, header names are lowercased, and headers are newline-joined in alphabetical order (with a trailing newline).
Process and merge request values into a canonical request for AWS signature version 4.
Generate a credential scope from a short date in YYMMDD
format, a region
identifier and a service identifier.
Convert a list of headers to canonicals signed header format. Leading and trailing whitespace around names is stripped, header names are lowercased, and header names are semicolon-joined in alphabetical order.
Generate a signing key from a secret access key, a short date in YYMMDD
format, a region identifier and a service identifier.
Strip the query string from the URL, if one if present, and return the URL and query string as separate values.