Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(middleware-signing): correct clock skew from error response #3133

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

AllanZhengYP
Copy link
Contributor

Issue

Resolves: #3119

Description

Currently, SDK cannot correct the clock skew automatically from the error response. This change fixes the issue. Moreover, a new member $response is added to the SmithyException interface. As a result, users can access the lower level HTTP response from any server-side exceptions.

Testing

Unit test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP requested a review from a team as a code owner January 4, 2022 19:22
@AllanZhengYP AllanZhengYP requested a review from trivikr January 4, 2022 22:26
@AllanZhengYP AllanZhengYP merged commit 7a207a9 into aws:main Jan 5, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clock skew not corrected if server time not exists in response payload
2 participants