Modules§
- aws_
canonical - aws_
format - AWS-specific formatting.
- aws_
math - AWS-specific math.
Structs§
- S3Headers
Builder - Valid
S3Url - A validated URL suitable for making S3 requests.
Enums§
- S3Date
Time - Specifies when a request is made. Used to derive the
x-amz-dateheader and the SigV4 credential scope’s date. - S3Headers
Error - Errors that can occur when constructing an
S3HeadersBuilderor parsing aValidS3Url.
Constants§
- EMPTY_
PAYLOAD_ SHA - UNSIGNED_
PAYLOAD - The payload-hash value used for presigned URLs. A presigned GET does not hash
the request body; S3 accepts
UNSIGNED-PAYLOAD.
Functions§
- get_
authorization_ header - Only gets the authorirzation header.
- get_
headers - Gets all the headers necessary to make a request to a AWS compatible service.
- get_
range_ headers - Gets the headers necessary to ask for a byte range.
- presign_
get - Build a presigned GET URL for downloading
urldirectly from an S3-compatible service. - presign_
get_ with_ key - Build a presigned GET URL using a pre-computed SigV4 signing key.