Skip to content

Commit 5350a7e

Browse files
authored
all: update links for AWS URL docs (#3527)
1 parent cbd7084 commit 5350a7e

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

blob/s3blob/s3blob.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ const Scheme = "s3"
130130
// Use "awssdk=v1" to force using AWS SDK v1, "awssdk=v2" to force using AWS SDK v2,
131131
// or anything else to accept the default.
132132
//
133+
// For V1, see https://pkg.go.dev/gocloud.dev/aws#ConfigFromURLParams for supported query parameters
134+
// for overriding the aws.Session from the URL.
135+
// For V2, see https://pkg.go.dev/gocloud.dev/aws#V2ConfigFromURLParams.
136+
//
133137
// The following S3-specific query options are also supported:
134138
// - ssetype: The type of server side encryption used (AES256, aws:kms, aws:kms:dsse)
135139
// - kmskeyid: The KMS key ID for server side encryption
@@ -139,10 +143,6 @@ const Scheme = "s3"
139143
// - use_path_style: A value of true sets the UsePathStyle option.
140144
// - s3ForcePathStyle: Same as use_path_style, for backwards compatibility with V1.
141145
// - disable_https: A value of true disables HTTPS in the Endpoint options.
142-
//
143-
// For V1, see gocloud.dev/aws/ConfigFromURLParams for supported query parameters
144-
// for overriding the aws.Session from the URL.
145-
// For V2, see gocloud.dev/aws/V2ConfigFromURLParams.
146146
type URLOpener struct {
147147
// UseV2 indicates whether the AWS SDK V2 should be used.
148148
UseV2 bool

pubsub/awssnssqs/awssnssqs.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ const SQSScheme = "awssqs"
206206
// Use "awssdk=v1" to force using AWS SDK v1, "awssdk=v2" to force using AWS SDK v2,
207207
// or anything else to accept the default.
208208
//
209-
// For V1, see gocloud.dev/aws/ConfigFromURLParams for supported query parameters
209+
// For V1, see https://pkg.go.dev/gocloud.dev/aws#ConfigFromURLParams for supported query parameters
210210
// for overriding the aws.Session from the URL.
211-
// For V2, see gocloud.dev/aws/V2ConfigFromURLParams.
211+
// For V2, see https://pkg.go.dev/gocloud.dev/aws#V2ConfigFromURLParams.
212212
//
213213
// In addition, the following query parameters are supported:
214214
//

runtimevar/awsparamstore/awsparamstore.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ var Set = wire.NewSet(
7373
// Use "awssdk=v1" to force using AWS SDK v1, "awssdk=v2" to force using AWS SDK v2,
7474
// or anything else to accept the default.
7575
//
76-
// For V1, see gocloud.dev/aws/ConfigFromURLParams for supported query parameters
76+
// For V1, see https://pkg.go.dev/gocloud.dev/aws#ConfigFromURLParams for supported query parameters
7777
// for overriding the aws.Session from the URL.
78-
// For V2, see gocloud.dev/aws/V2ConfigFromURLParams.
78+
// For V2, see https://pkg.go.dev/gocloud.dev/aws#V2ConfigFromURLParams.
7979
//
8080
// In addition, the following URL parameters are supported:
8181
// - decoder: The decoder to use. Defaults to URLOpener.Decoder, or

runtimevar/awssecretsmanager/awssecretsmanager.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ var Set = wire.NewSet(
7373
// Use "awssdk=v1" to force using AWS SDK v1, "awssdk=v2" to force using AWS SDK v2,
7474
// or anything else to accept the default.
7575
//
76-
// For V1, see gocloud.dev/aws/ConfigFromURLParams for supported query parameters
76+
// For V1, see https://pkg.go.dev/gocloud.dev/aws#ConfigFromURLParams for supported query parameters
7777
// for overriding the aws.Session from the URL.
78-
// For V2, see gocloud.dev/aws/V2ConfigFromURLParams.
78+
// For V2, see https://pkg.go.dev/gocloud.dev/aws#V2ConfigFromURLParams.
7979
//
8080
// In addition, the following URL parameters are supported:
8181
// - decoder: The decoder to use. Defaults to URLOpener.Decoder, or

secrets/awskms/kms.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ const Scheme = "awskms"
124124
// Use "awssdk=v1" to force using AWS SDK v1, "awssdk=v2" to force using AWS SDK v2,
125125
// or anything else to accept the default.
126126
//
127+
// For V1, see https://pkg.go.dev/gocloud.dev/aws#ConfigFromURLParams for supported query parameters
128+
// for overriding the aws.Session from the URL.
129+
// For V2, see https://pkg.go.dev/gocloud.dev/aws#V2ConfigFromURLParams.
130+
//
127131
// EncryptionContext key/value pairs can be provided by providing URL parameters prefixed
128132
// with "context_"; e.g., "...&context_abc=foo&context_def=bar" would result in
129133
// an EncryptionContext of {abc=foo, def=bar}.
130134
// See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context.
131-
//
132-
// For V1, see gocloud.dev/aws/ConfigFromURLParams for supported query parameters
133-
// for overriding the aws.Session from the URL.
134-
// For V2, see gocloud.dev/aws/V2ConfigFromURLParams.
135135
type URLOpener struct {
136136
// UseV2 indicates whether the AWS SDK V2 should be used.
137137
UseV2 bool

0 commit comments

Comments
 (0)