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

AWS Query protocol migration compatibility #1872

Closed
Velfi opened this issue Oct 18, 2022 · 1 comment
Closed

AWS Query protocol migration compatibility #1872

Velfi opened this issue Oct 18, 2022 · 1 comment
Assignees
Labels

Comments

@Velfi
Copy link
Contributor

Velfi commented Oct 18, 2022

Add support for the awsQueryCompatible trait.

When using the awsQuery protocol, custom Code and HTTP response code values can be defined for an error response via the awsQueryError trait.

The awsQueryCompatible trait allows services to backward compatibly migrate from awsQuery to awsJson1_0 without removing values defined in the awsQueryError trait.

This trait adds the x-amzn-query-error header in the form of Code;Fault to error responses. Code is the value defined in the awsQueryError, and Fault is one of Sender or Receiver.

Related smithy docs:

@Velfi
Copy link
Contributor Author

Velfi commented Jun 19, 2023

The related internal ticket number is V611393028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants