-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SRA auth trailing checksum retry bug (#2438)
- Loading branch information
1 parent
efbc5aa
commit 0f8ad11
Showing
30 changed files
with
325 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package client | ||
|
||
import ( | ||
"context" | ||
"github.com/aws/smithy-go/middleware" | ||
) | ||
|
||
type getIdentityMiddleware struct { | ||
options Options | ||
} | ||
|
||
func (*getIdentityMiddleware) ID() string { | ||
return "GetIdentity" | ||
} | ||
|
||
func (m *getIdentityMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} | ||
|
||
type signRequestMiddleware struct { | ||
} | ||
|
||
func (*signRequestMiddleware) ID() string { | ||
return "Signing" | ||
} | ||
|
||
func (m *signRequestMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} | ||
|
||
type resolveAuthSchemeMiddleware struct { | ||
operation string | ||
options Options | ||
} | ||
|
||
func (*resolveAuthSchemeMiddleware) ID() string { | ||
return "ResolveAuthScheme" | ||
} | ||
|
||
func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package client | ||
|
||
import ( | ||
"context" | ||
"github.com/aws/smithy-go/middleware" | ||
) | ||
|
||
type resolveEndpointV2Middleware struct { | ||
options Options | ||
} | ||
|
||
func (*resolveEndpointV2Middleware) ID() string { | ||
return "ResolveEndpointV2" | ||
} | ||
|
||
func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package imds | ||
|
||
import ( | ||
"context" | ||
"github.com/aws/smithy-go/middleware" | ||
) | ||
|
||
type getIdentityMiddleware struct { | ||
options Options | ||
} | ||
|
||
func (*getIdentityMiddleware) ID() string { | ||
return "GetIdentity" | ||
} | ||
|
||
func (m *getIdentityMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} | ||
|
||
type signRequestMiddleware struct { | ||
} | ||
|
||
func (*signRequestMiddleware) ID() string { | ||
return "Signing" | ||
} | ||
|
||
func (m *signRequestMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} | ||
|
||
type resolveAuthSchemeMiddleware struct { | ||
operation string | ||
options Options | ||
} | ||
|
||
func (*resolveAuthSchemeMiddleware) ID() string { | ||
return "ResolveAuthScheme" | ||
} | ||
|
||
func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package imds | ||
|
||
import ( | ||
"context" | ||
"github.com/aws/smithy-go/middleware" | ||
) | ||
|
||
type resolveEndpointV2Middleware struct { | ||
options Options | ||
} | ||
|
||
func (*resolveEndpointV2Middleware) ID() string { | ||
return "ResolveEndpointV2" | ||
} | ||
|
||
func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( | ||
out middleware.FinalizeOutput, metadata middleware.Metadata, err error, | ||
) { | ||
return next.HandleFinalize(ctx, in) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.