Skip to content

Commit

Permalink
Regenerated Clients and gohash
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Nov 5, 2020
1 parent 663d51d commit 34d1aec
Show file tree
Hide file tree
Showing 8,724 changed files with 49,866 additions and 998 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 4 additions & 4 deletions aws/retry/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type retryMetadataKey struct{}

// Attempt is a Smithy FinalizeMiddleware that handles retry attempts using the provided
// Retryer implementation
type AttemptMiddleware struct {
type Attempt struct {
// Enable the logging of retry attempts performed by the SDK.
// This will include logging retry attempts, unretryable errors, and when max attempts are reached.
LogAttempts bool
Expand All @@ -43,7 +43,7 @@ type AttemptMiddleware struct {
func NewAttemptMiddleware(retryer Retryer, requestCloner RequestCloner, optFns ...func(*Attempt)) *Attempt {
m := &Attempt{retryer: retryer, requestCloner: requestCloner}
for _, fn := range optFns {
fn(&m)
fn(m)
}
return m
}
Expand All @@ -53,7 +53,7 @@ func (r *Attempt) ID() string {
return "Retry"
}

func (r AttemptMiddleware) logf(logger logging.Logger, classification logging.Classification, format string, v ...interface{}) {
func (r Attempt) logf(logger logging.Logger, classification logging.Classification, format string, v ...interface{}) {
if !r.LogAttempts {
return
}
Expand Down Expand Up @@ -213,7 +213,7 @@ type AddRetryMiddlewaresOptions struct {

// AddRetryMiddlewares adds retry middleware to operation middleware stack
func AddRetryMiddlewares(stack *smithymiddle.Stack, options AddRetryMiddlewaresOptions) error {
attempt := NewAttemptMiddleware(options.Retryer, http.RequestCloner, func(middleware *AttemptMiddleware) {
attempt := NewAttemptMiddleware(options.Retryer, http.RequestCloner, func(middleware *Attempt) {
middleware.LogAttempts = options.LogRetryAttempts
})

Expand Down
2 changes: 1 addition & 1 deletion config/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/aws/aws-sdk-go-v2/credentials v0.1.4
github.com/aws/aws-sdk-go-v2/ec2imds v0.1.4
github.com/aws/aws-sdk-go-v2/service/sts v0.29.0
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15
github.com/awslabs/smithy-go v0.3.1-0.20201104233911-38864709e183
)

replace (
Expand Down
4 changes: 0 additions & 4 deletions config/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
github.com/awslabs/smithy-go v0.3.0 h1:I1EQ1P+VtxpuNnGYymATewaKrlnaYQwFvO8lNTsafbs=
github.com/awslabs/smithy-go v0.3.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
2 changes: 1 addition & 1 deletion credentials/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/aws/aws-sdk-go-v2 v0.29.0
github.com/aws/aws-sdk-go-v2/ec2imds v0.1.4
github.com/aws/aws-sdk-go-v2/service/sts v0.29.0
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15
github.com/awslabs/smithy-go v0.3.1-0.20201104233911-38864709e183
)

replace (
Expand Down
4 changes: 0 additions & 4 deletions credentials/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
github.com/awslabs/smithy-go v0.3.0 h1:I1EQ1P+VtxpuNnGYymATewaKrlnaYQwFvO8lNTsafbs=
github.com/awslabs/smithy-go v0.3.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
Expand Down
2 changes: 0 additions & 2 deletions ec2imds/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
4 changes: 0 additions & 4 deletions example/service/s3/listObjects/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
github.com/awslabs/smithy-go v0.3.0 h1:I1EQ1P+VtxpuNnGYymATewaKrlnaYQwFvO8lNTsafbs=
github.com/awslabs/smithy-go v0.3.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
2 changes: 1 addition & 1 deletion feature/s3/manager/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/aws/aws-sdk-go-v2/config v0.2.2
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.3.1 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v0.29.0
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15
github.com/awslabs/smithy-go v0.3.1-0.20201104233911-38864709e183
github.com/google/go-cmp v0.4.1
)

Expand Down
4 changes: 0 additions & 4 deletions feature/s3/manager/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
github.com/awslabs/smithy-go v0.3.0 h1:I1EQ1P+VtxpuNnGYymATewaKrlnaYQwFvO8lNTsafbs=
github.com/awslabs/smithy-go v0.3.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/aws/aws-sdk-go-v2

require (
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15
github.com/awslabs/smithy-go v0.3.1-0.20201104233911-38864709e183
github.com/google/go-cmp v0.4.1
github.com/jmespath/go-jmespath v0.4.0
)
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15 h1:VoGfHAIdt3SWiMe+oGB1f4fXdXAvA3J61Sl0rPR/SSM=
github.com/awslabs/smithy-go v0.3.1-0.20201103180816-d4c6ec013e15/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0=
Expand Down

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

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

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

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

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

6 changes: 6 additions & 0 deletions internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go

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

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

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

6 changes: 6 additions & 0 deletions internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go

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

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

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

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

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

6 changes: 6 additions & 0 deletions internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go

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

Loading

0 comments on commit 34d1aec

Please sign in to comment.