Skip to content

Commit ea1827f

Browse files
author
AWS SDK for Go v2 automation user
committed
Regenerated Clients
1 parent c7335ff commit ea1827f

File tree

557 files changed

+24338
-3057
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

557 files changed

+24338
-3057
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "2d40dbd6-3401-4279-907c-a6e53656a60b",
3+
"type": "feature",
4+
"description": "Add support for Python 3.9 AWS Glue Python Shell jobs",
5+
"modules": [
6+
"service/glue"
7+
]
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"id": "41575353-444b-40ff-bf47-4f4155544f00",
3+
"type": "release",
4+
"description": "New AWS service client module",
5+
"modules": [
6+
"service/backupstorage",
7+
"service/privatenetworks"
8+
]
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "5bb06b93-4db1-4c48-9430-8deb7017ca78",
3+
"type": "feature",
4+
"description": "This is the first public release of AWS Backup Storage. We are exposing some previously-internal APIs for use by external services. These APIs are not meant to be used directly by customers.",
5+
"modules": [
6+
"service/backupstorage"
7+
]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "cfa30d33-4620-4765-b4d9-72260058653b",
3+
"type": "feature",
4+
"description": "This is the initial SDK release for AWS Private 5G. AWS Private 5G is a managed service that makes it easy to deploy, operate, and scale your own private mobile network at your on-premises location.",
5+
"modules": [
6+
"service/privatenetworks"
7+
]
8+
}

aws/credential_cache.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ type CredentialsCacheOptions struct {
4646
// CredentialsCache will look for optional interfaces on the Provider to adjust
4747
// how the credential cache handles credentials caching.
4848
//
49-
// * HandleFailRefreshCredentialsCacheStrategy - Allows provider to handle
50-
// credential refresh failures. This could return an updated Credentials
51-
// value, or attempt another means of retrieving credentials.
49+
// - HandleFailRefreshCredentialsCacheStrategy - Allows provider to handle
50+
// credential refresh failures. This could return an updated Credentials
51+
// value, or attempt another means of retrieving credentials.
5252
//
53-
// * AdjustExpiresByCredentialsCacheStrategy - Allows provider to adjust how
54-
// credentials Expires is modified. This could modify how the Credentials
55-
// Expires is adjusted based on the CredentialsCache ExpiryWindow option.
56-
// Such as providing a floor not to reduce the Expires below.
53+
// - AdjustExpiresByCredentialsCacheStrategy - Allows provider to adjust how
54+
// credentials Expires is modified. This could modify how the Credentials
55+
// Expires is adjusted based on the CredentialsCache ExpiryWindow option.
56+
// Such as providing a floor not to reduce the Expires below.
5757
type CredentialsCache struct {
5858
provider CredentialsProvider
5959

aws/credentials.go

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,41 +23,41 @@ import (
2323
// The following example demonstrates using the AnonymousCredentials to prevent
2424
// SDK's external config loading attempt to resolve credentials.
2525
//
26-
// cfg, err := config.LoadDefaultConfig(context.TODO(),
27-
// config.WithCredentialsProvider(aws.AnonymousCredentials{}),
28-
// )
29-
// if err != nil {
30-
// log.Fatalf("failed to load config, %v", err)
31-
// }
26+
// cfg, err := config.LoadDefaultConfig(context.TODO(),
27+
// config.WithCredentialsProvider(aws.AnonymousCredentials{}),
28+
// )
29+
// if err != nil {
30+
// log.Fatalf("failed to load config, %v", err)
31+
// }
3232
//
33-
// client := s3.NewFromConfig(cfg)
33+
// client := s3.NewFromConfig(cfg)
3434
//
3535
// Alternatively you can leave the API client Option's `Credential` member to
3636
// nil. If using the `NewFromConfig` constructor you'll need to explicitly set
3737
// the `Credentials` member to nil, if the external config resolved a
3838
// credential provider.
3939
//
40-
// client := s3.New(s3.Options{
41-
// // Credentials defaults to a nil value.
42-
// })
40+
// client := s3.New(s3.Options{
41+
// // Credentials defaults to a nil value.
42+
// })
4343
//
4444
// This can also be configured for specific operations calls too.
4545
//
46-
// cfg, err := config.LoadDefaultConfig(context.TODO())
47-
// if err != nil {
48-
// log.Fatalf("failed to load config, %v", err)
49-
// }
46+
// cfg, err := config.LoadDefaultConfig(context.TODO())
47+
// if err != nil {
48+
// log.Fatalf("failed to load config, %v", err)
49+
// }
5050
//
51-
// client := s3.NewFromConfig(config)
51+
// client := s3.NewFromConfig(config)
5252
//
53-
// result, err := client.GetObject(context.TODO(), s3.GetObject{
54-
// Bucket: aws.String("example-bucket"),
55-
// Key: aws.String("example-key"),
56-
// }, func(o *s3.Options) {
57-
// o.Credentials = nil
58-
// // Or
59-
// o.Credentials = aws.AnonymousCredentials{}
60-
// })
53+
// result, err := client.GetObject(context.TODO(), s3.GetObject{
54+
// Bucket: aws.String("example-bucket"),
55+
// Key: aws.String("example-key"),
56+
// }, func(o *s3.Options) {
57+
// o.Credentials = nil
58+
// // Or
59+
// o.Credentials = aws.AnonymousCredentials{}
60+
// })
6161
type AnonymousCredentials struct{}
6262

6363
// Retrieve implements the CredentialsProvider interface, but will always

aws/doc.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Package aws provides the core SDK's utilities and shared types. Use this package's
22
// utilities to simplify setting and reading API operations parameters.
33
//
4-
// Value and Pointer Conversion Utilities
4+
// # Value and Pointer Conversion Utilities
55
//
66
// This package includes a helper conversion utility for each scalar type the SDK's
77
// API use. These utilities make getting a pointer of the scalar, and dereferencing
@@ -16,33 +16,33 @@
1616
// to get pointer of a literal string value, because getting the address of a
1717
// literal requires assigning the value to a variable first.
1818
//
19-
// var strPtr *string
19+
// var strPtr *string
2020
//
21-
// // Without the SDK's conversion functions
22-
// str := "my string"
23-
// strPtr = &str
21+
// // Without the SDK's conversion functions
22+
// str := "my string"
23+
// strPtr = &str
2424
//
25-
// // With the SDK's conversion functions
26-
// strPtr = aws.String("my string")
25+
// // With the SDK's conversion functions
26+
// strPtr = aws.String("my string")
2727
//
28-
// // Convert *string to string value
29-
// str = aws.ToString(strPtr)
28+
// // Convert *string to string value
29+
// str = aws.ToString(strPtr)
3030
//
3131
// In addition to scalars the aws package also includes conversion utilities for
3232
// map and slice for commonly types used in API parameters. The map and slice
3333
// conversion functions use similar naming pattern as the scalar conversion
3434
// functions.
3535
//
36-
// var strPtrs []*string
37-
// var strs []string = []string{"Go", "Gophers", "Go"}
36+
// var strPtrs []*string
37+
// var strs []string = []string{"Go", "Gophers", "Go"}
3838
//
39-
// // Convert []string to []*string
40-
// strPtrs = aws.StringSlice(strs)
39+
// // Convert []string to []*string
40+
// strPtrs = aws.StringSlice(strs)
4141
//
42-
// // Convert []*string to []string
43-
// strs = aws.ToStringSlice(strPtrs)
42+
// // Convert []*string to []string
43+
// strs = aws.ToStringSlice(strPtrs)
4444
//
45-
// SDK Default HTTP Client
45+
// # SDK Default HTTP Client
4646
//
4747
// The SDK will use the http.DefaultClient if a HTTP client is not provided to
4848
// the SDK's Session, or service client constructor. This means that if the

aws/logging.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/middleware/user_agent.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ type requestUserAgent struct {
6868
// request.
6969
//
7070
// User-Agent example:
71-
// aws-sdk-go-v2/1.2.3
71+
//
72+
// aws-sdk-go-v2/1.2.3
7273
//
7374
// X-Amz-User-Agent example:
74-
// aws-sdk-go-v2/1.2.3 md/GOOS/linux md/GOARCH/amd64 lang/go/1.15
75+
//
76+
// aws-sdk-go-v2/1.2.3 md/GOOS/linux md/GOARCH/amd64 lang/go/1.15
7577
func newRequestUserAgent() *requestUserAgent {
7678
userAgent, sdkAgent := smithyhttp.NewUserAgentBuilder(), smithyhttp.NewUserAgentBuilder()
7779
addProductName(userAgent)

aws/protocol/query/array.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
// representation of a list of values of a fixed type. A serialized array might
1010
// look like the following:
1111
//
12-
// ListName.member.1=foo
13-
// &ListName.member.2=bar
14-
// &Listname.member.3=baz
12+
// ListName.member.1=foo
13+
// &ListName.member.2=bar
14+
// &Listname.member.3=baz
1515
type Array struct {
1616
// The query values to add the array to.
1717
values url.Values

0 commit comments

Comments
 (0)