Documentation
¶
Overview ¶
Package aws provides fundamental Wire providers for Amazon Web Services (AWS).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultV2Config ¶ added in v0.24.0
NewDefaultV2Config returns a aws.Config for AWS SDK v2, using the default options.
func V2ConfigFromURLParams ¶ added in v0.24.0
V2ConfigFromURLParams returns an aws.Config for AWS SDK v2 initialized based on the URL parameters in q. It is intended to be used by URLOpeners for AWS services if UseV2 returns true.
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws#Config
It returns an error if q contains any unknown query parameters; callers should remove any query parameters they know about from q before calling V2ConfigFromURLParams.
The following query options are supported:
- region: The AWS region for requests; sets WithRegion.
- anonymous: A value of "true" forces use of anonymous credentials.
- profile: The shared config profile to use; sets SharedConfigProfile.
- endpoint: The AWS service endpoint to send HTTP request.
- hostname_immutable: Make the hostname immutable, only works if endpoint is also set.
- dualstack: A value of "true" enables dual stack (IPv4 and IPv6) endpoints.
- fips: A value of "true" enables the use of FIPS endpoints.
- rate_limiter_capacity: A integer value configures the capacity of a token bucket used in client-side rate limits. If no value is set, the client-side rate limiting is disabled. See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/retries-timeouts/#client-side-rate-limiting.
- request_checksum_calculation: Request checksum calculation mode (when_supported, when_required)
- response_checksum_validation: Response checksum validation mode (when_supported, when_required)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.