package presignedurl
Import Path
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url (on go.dev)
Dependency Relation
imports 5 packages, and imported by one package
Involved Source Files
context.go
Package presignedurl provides the customizations for API clients to fill in
presigned URLs into input parameters.
go_module_metadata.go
middleware.go
Package-Level Type Names (total 6, in which 3 are exported)
Options provides the set of options needed by the presigned URL middleware.
Accessor are the parameter accessors used by this middleware
Presigner is the URLPresigner used by the middleware
func AddMiddleware(stack *middleware.Stack, opts Options) error
ParameterAccessor provides an collection of accessor to for retrieving and
setting the values needed to PresignedURL generation
CopyInput accessor points to a function that takes in an input, and returns a copy.
GetPresignedURL accessor points to a function that retrieves a presigned url if present
GetSourceRegion accessor points to a function that retrieves source region for presigned url
SetDestinationRegion accessor points to a function that sets destination region on api input struct
SetPresignedURL accessor points to a function that sets presigned url on api input struct
URLPresigner provides the interface to presign the input parameters in to a
presigned URL.
PresignURL presigns a URL.
Package-Level Functions (total 5, all are exported)
AddAsIsPresigingMiddleware adds a middleware to the head of the stack that
will update the stack's context to be flagged as being invoked for the
purpose of presigning.
AddMiddleware adds the Presign URL middleware to the middleware stack.
GetIsPresigning returns if the context contains the isPresigning sentinel
value for presigning flows.
Scoped to stack values. Use github.com/aws/smithy-go/middleware#ClearStackValues
to clear all stack values.
RemoveMiddleware removes the Presign URL middleware from the stack.
WithIsPresigning adds the isPresigning sentinel value to a context to signal
that the middleware stack is using the presign flow.
Scoped to stack values. Use github.com/aws/smithy-go/middleware#ClearStackValues
to clear all stack values.
Package-Level Constants (only one, which is unexported)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)