aws

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 38

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

func NewDefaultV2Config(ctx context.Context) (aws.Config, error)

NewDefaultV2Config returns a aws.Config for AWS SDK v2, using the default options.

func V2ConfigFromURLParams added in v0.24.0

func V2ConfigFromURLParams(ctx context.Context, q url.Values) (aws.Config, error)

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.

Directories

Path Synopsis
Package awscloud contains Wire providers for AWS services.
Package awscloud contains Wire providers for AWS services.
Package rds contains Wire providers that are common across RDS.
Package rds contains Wire providers that are common across RDS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL