package
1.50.8
Repository: https://github.com/polygon-io/aws-sdk-go-v2.git
Documentation: pkg.go.dev

# Functions

AddComputePayloadSHA256Middleware adds computePayloadSHA256 to the operation middleware stack.
AddContentSHA256HeaderMiddleware adds ContentSHA256Header to the operation middleware stack.
AddStreamingEventsPayload adds the streamingEventsPayload middleware to the stack.
AddUnsignedPayloadMiddleware adds unsignedPayload to the operation middleware stack.
GetPayloadHash retrieves the payload hash to use for signing Scoped to stack values.
GetSignedRequestSignature attempts to extract the signature of the request.
NewPresignHTTPRequestMiddleware returns a new PresignHTTPRequestMiddleware initialized with the presigner.
NewSigner returns a new SigV4 Signer.
NewSignHTTPRequestMiddleware constructs a [SignHTTPRequestMiddleware] using the given [Signer] for signing requests.
NewStreamSigner returns a new AWS EventStream protocol signer.
RemoveComputePayloadSHA256Middleware removes computePayloadSHA256 from the operation middleware stack.
RemoveContentSHA256HeaderMiddleware removes contentSHA256Header middleware from the operation middleware stack.
SetPayloadHash sets the payload hash to be used for signing the request Scoped to stack values.
SwapComputePayloadSHA256ForUnsignedPayloadMiddleware replaces the ComputePayloadSHA256 middleware with the UnsignedPayload middleware.
UseDynamicPayloadSigningMiddleware swaps the compute payload sha256 middleware with a resolver middleware that switches between unsigned and signed payload based on TLS state for request.

# Constants

Version of signing v4.

# Structs

HashComputationError indicates an error occurred while computing the signing hash.
PresignedHTTPRequest provides the URL and signed headers that are included in the presigned URL.
PresignHTTPRequestMiddleware provides the Finalize middleware for creating a presigned URL for an HTTP request.
PresignHTTPRequestMiddlewareOptions is the options for the PresignHTTPRequestMiddleware middleware.
Signer applies AWS v4 signing to given request.
SignerOptions is the SigV4 Signer options.
SignHTTPRequestMiddleware is a `FinalizeMiddleware` implementation for SigV4 HTTP Signing.
SignHTTPRequestMiddlewareOptions is the configuration options for [SignHTTPRequestMiddleware].
SigningError indicates an error condition occurred while performing SigV4 signing.
StreamSigner implements Signature Version 4 (SigV4) signing of event stream encoded payloads.
StreamSignerOptions is the configuration options for StreamSigner.

# Interfaces

EventStreamSigner is an AWS EventStream protocol signer.
HTTPPresigner is an interface to a SigV4 signer that can sign create a presigned URL for a HTTP requests.
HTTPSigner is an interface to a SigV4 signer that can sign HTTP requests.