Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func NewDefaultV2Config(ctx context.Context) (aws.Config, error) {
// - 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.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-retries-timeouts.html#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)
func V2ConfigFromURLParams(ctx context.Context, q url.Values) (aws.Config, error) {
Expand Down
2 changes: 1 addition & 1 deletion blob/s3blob/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func ExampleOpenBucket() {
ctx := context.Background()

// Establish a AWS Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion internal/website/content/howto/blob/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Full details about acceptable URLs can be found under the API reference for
{{< goexample "gocloud.dev/blob/s3blob.Example_openBucketFromURL" >}}

[AWS CLI]: https://aws.amazon.com/cli/
[AWS V2 Config]: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/
[AWS V2 Config]: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html
[`s3blob.URLOpener`]: https://godoc.org/gocloud.dev/blob/s3blob#URLOpener

#### S3 Constructor {#s3-ctor}
Expand Down
2 changes: 1 addition & 1 deletion internal/website/content/howto/pubsub/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ you may need to manually Base64 decode the message payload.

[Base64]: https://en.wikipedia.org/wiki/Base64
[SQS Subscribe]: {{< relref "./subscribe.md#sqs" >}}
[AWS V2 Config]: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/
[AWS V2 Config]: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html

#### Amazon SNS Constructor {#sns-ctor}

Expand Down
4 changes: 2 additions & 2 deletions internal/website/content/howto/runtimevar/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-par

It will create an AWS Config based on the AWS SDK V2; see [AWS V2 Config][] to learn more.

[AWS V2 Config]: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/
[AWS V2 Config]: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html

{{< goexample
"gocloud.dev/runtimevar/awsparamstore.Example_openVariableFromURL" >}}
Expand All @@ -207,7 +207,7 @@ https://aws.amazon.com/secrets-manager

It will create an AWS Config based on the AWS SDK V2; see [AWS V2 Config][] to learn more.

[AWS V2 Config]: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/
[AWS V2 Config]: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html

{{< goexample
"gocloud.dev/runtimevar/awssecretsmanager.Example_openVariableFromURL" >}}
Expand Down
2 changes: 1 addition & 1 deletion internal/website/content/howto/secrets/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ application connects to the correct region.

It will create an AWS Config based on the AWS SDK V2; see [AWS V2 Config][] to learn more.

[AWS V2 Config]: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/
[AWS V2 Config]: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html

{{< goexample "gocloud.dev/secrets/awskms.Example_openFromURL" >}}

Expand Down
14 changes: 7 additions & 7 deletions internal/website/data/examples.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pubsub/awssnssqs/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func ExampleOpenSNSTopic() {
ctx := context.Background()

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
log.Fatal(err)
Expand All @@ -50,7 +50,7 @@ func ExampleOpenSQSTopic() {
ctx := context.Background()

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -100,7 +100,7 @@ func ExampleOpenSubscription() {
ctx := context.Background()

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion runtimevar/awsparamstore/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func ExampleOpenVariable() {
// PRAGMA: This example is used on gocloud.dev; PRAGMA comments adjust how it is shown and can be ignored.

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
ctx := context.Background()
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion runtimevar/awssecretsmanager/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func ExampleOpenVariable() {
// PRAGMA: This example is used on gocloud.dev; PRAGMA comments adjust how it is shown and can be ignored.

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
ctx := context.Background()
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion secrets/awskms/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func ExampleOpenKeeper() {
// PRAGMA: This example is used on gocloud.dev; PRAGMA comments adjust how it is shown and can be ignored.

// Establish a AWS V2 Config.
// See https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/ for more info.
// See https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html for more info.
ctx := context.Background()
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
Expand Down
Loading