Skip to content

Commit

Permalink
Regenerated Clients
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Dec 10, 2020
1 parent 734d12f commit 1f00b94
Show file tree
Hide file tree
Showing 24 changed files with 722 additions and 32 deletions.
2 changes: 1 addition & 1 deletion aws/credential_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewCredentialsCache(provider CredentialsProvider, optFns ...func(options *C

return &CredentialsCache{
provider: provider,
options: options,
options: options,
}
}

Expand Down
4 changes: 2 additions & 2 deletions aws/credential_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ func TestCredentialsCache_ExpireTime(t *testing.T) {
},
},
"no expire window with jitter": {
ExpireTime: mockTime,
JitterFrac: 0.5,
ExpireTime: mockTime,
JitterFrac: 0.5,
Validate: func(t *testing.T, v time.Time) {
t.Helper()
if e, a := mockTime, v; !e.Equal(a) {
Expand Down
2 changes: 1 addition & 1 deletion config/resolve_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func resolveEC2RoleCredentials(cfg *aws.Config, configs configs) error {
provider := ec2rolecreds.New(optFns...)

cfg.Credentials = wrapWithCredentialsCache(provider, func(options *aws.CredentialsCacheOptions) {
options.ExpiryWindow = 5*time.Minute
options.ExpiryWindow = 5 * time.Minute
})

return nil
Expand Down
7 changes: 0 additions & 7 deletions example/service/s3/listObjects/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2/config v0.3.0
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.3.2 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v0.30.0
github.com/aws/aws-sdk-go-v2 v0.30.0
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v0.3.1
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v0.1.2
github.com/aws/aws-sdk-go-v2/service/sts v0.30.0
github.com/aws/aws-sdk-go-v2/credentials v0.1.5
github.com/aws/aws-sdk-go-v2/ec2imds v0.1.5
)

replace github.com/aws/aws-sdk-go-v2/config => ../../../../config/
Expand Down
6 changes: 0 additions & 6 deletions feature/s3/manager/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ go 1.15
require (
github.com/aws/aws-sdk-go-v2 v0.30.0
github.com/aws/aws-sdk-go-v2/config v0.3.0
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.3.2 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v0.30.0
github.com/awslabs/smithy-go v0.4.0
github.com/google/go-cmp v0.5.4
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v0.3.1
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v0.1.2
github.com/aws/aws-sdk-go-v2/service/sts v0.30.0
github.com/aws/aws-sdk-go-v2/credentials v0.1.5
github.com/aws/aws-sdk-go-v2/ec2imds v0.1.5
)

replace github.com/aws/aws-sdk-go-v2 => ../../../
Expand Down
11 changes: 11 additions & 0 deletions internal/protocoltest/awsrestjson/types/types.go

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

48 changes: 48 additions & 0 deletions internal/protocoltest/awsrestjson/types/types_public_test.go

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

11 changes: 11 additions & 0 deletions internal/protocoltest/jsonrpc/types/types.go

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

48 changes: 48 additions & 0 deletions internal/protocoltest/jsonrpc/types/types_public_test.go

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

11 changes: 11 additions & 0 deletions internal/protocoltest/jsonrpc10/types/types.go

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

48 changes: 48 additions & 0 deletions internal/protocoltest/jsonrpc10/types/types_public_test.go

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

2 changes: 2 additions & 0 deletions internal/repotools/changes/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ require (
golang.org/x/mod v0.3.0
gopkg.in/yaml.v2 v2.3.0
)

replace github.com/aws/aws-sdk-go-v2 => ../../../
2 changes: 0 additions & 2 deletions internal/repotools/changes/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
github.com/aws/aws-sdk-go-v2 v0.30.0 h1:/CjXUnWXnvdgOqHa65UIs2TODa5D5lm3ty7O0wWuYHY=
github.com/aws/aws-sdk-go-v2 v0.30.0/go.mod h1:vEDjzdktTH+FoEOV6BWgYLEzvPti13Onp5/qQrSiLPg=
github.com/awslabs/smithy-go v0.4.0 h1:El0KyKn4zdM3pLuWJlgoeitQuu/mjwUPssr7L3xu3vs=
github.com/awslabs/smithy-go v0.4.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
Loading

0 comments on commit 1f00b94

Please sign in to comment.