Skip to content

Commit

Permalink
aws/retry: Update Retry middleware to save last attempt ResultMetadata (
Browse files Browse the repository at this point in the history
aws#1345)

Previously all attempt metadata was being nested into the AttemptResults
key and a new metadata was being returned with only that item. This
change ensures that the returned metadata includes all keys from the
last attempt's metadata, along with the AttemptResults.
  • Loading branch information
jasdel authored and jrichardpfs committed Feb 14, 2022
1 parent 055abc5 commit ca35af2
Show file tree
Hide file tree
Showing 587 changed files with 893 additions and 882 deletions.
4 changes: 4 additions & 0 deletions aws/retry/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ func (r Attempt) HandleFinalize(ctx context.Context, in smithymiddle.FinalizeInp
attemptResults.Results = append(attemptResults.Results, attemptResult)

if !shouldRetry {
// Ensure the last response's metadata is used as the bases for result
// metadata returned by the stack.
metadata = attemptResult.ResponseMetadata.Clone()

break
}
}
Expand Down
7 changes: 7 additions & 0 deletions aws/retry/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,13 @@ func TestAttemptMiddleware(t *testing.T) {
if e, a := tt.ExpectResults, attemptResults; !reflect.DeepEqual(e, a) {
t.Fatalf("expected %v, got %v", e, a)
}

for i, attempt := range attemptResults.Results {
_, ok := GetAttemptResults(attempt.ResponseMetadata)
if ok {
t.Errorf("expect no attempt to include AttemptResults metadata, %v does, %#v", i, attempt)
}
}
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/aws/aws-sdk-go-v2/internal/ini v1.1.1
github.com/aws/aws-sdk-go-v2/service/sso v1.3.1
github.com/aws/aws-sdk-go-v2/service/sts v1.6.0
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions config/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion credentials/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/feature/ec2/imds v1.3.0
github.com/aws/aws-sdk-go-v2/service/sso v1.3.1
github.com/aws/aws-sdk-go-v2/service/sts v1.6.0
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions credentials/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions example/service/s3/listObjects/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions example/service/s3/usingPrivateLink/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions feature/cloudfront/sign/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions feature/dynamodb/attributevalue/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
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.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
4 changes: 2 additions & 2 deletions feature/dynamodb/expression/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
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.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
4 changes: 2 additions & 2 deletions feature/dynamodbstreams/attributevalue/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
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.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
2 changes: 1 addition & 1 deletion feature/ec2/imds/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions feature/ec2/imds/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions feature/ec2/imds/internal/configtesting/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions feature/rds/auth/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
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 @@ -6,7 +6,7 @@ require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/aws-sdk-go-v2/config v1.5.0
github.com/aws/aws-sdk-go-v2/service/s3 v1.11.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions feature/s3/manager/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
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.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
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/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
github.com/jmespath/go-jmespath v0.4.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
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.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
4 changes: 2 additions & 2 deletions internal/configsources/configtesting/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
4 changes: 2 additions & 2 deletions internal/configsources/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/ini/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/awsrestjson/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/awsrestjson/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/ec2query/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/ec2query/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/jsonrpc/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc10/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/jsonrpc10/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/query/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/query/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxml/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/restxml/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxmlwithnamespace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/google/go-cmp v0.5.6
)

Expand Down
4 changes: 2 additions & 2 deletions internal/protocoltest/restxmlwithnamespace/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion modman.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[dependencies]
"github.com/aws/smithy-go" = "v1.6.0"
"github.com/aws/smithy-go" = "v1.6.1-0.20210716220526-e488a706561f"
"github.com/google/go-cmp" = "v0.5.6"
"github.com/jmespath/go-jmespath" = "v0.4.0"

Expand Down
2 changes: 1 addition & 1 deletion service/accessanalyzer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
)

replace github.com/aws/aws-sdk-go-v2 => ../../
4 changes: 2 additions & 2 deletions service/accessanalyzer/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/smithy-go v1.6.0 h1:T6puApfBcYiTIsaI+SYWqanjMt5pc3aoyyDrI+0YH54=
github.com/aws/smithy-go v1.6.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f h1:hotpeSIafghQkxHC0U98qr3KtOSe9xjCrILNk/832NY=
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
Expand Down
2 changes: 1 addition & 1 deletion service/acm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/aws/aws-sdk-go-v2 v1.7.1
github.com/aws/smithy-go v1.6.0
github.com/aws/smithy-go v1.6.1-0.20210716220526-e488a706561f
github.com/jmespath/go-jmespath v0.4.0
)

Expand Down
Loading

0 comments on commit ca35af2

Please sign in to comment.