You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 fromawsQuery
to awsJson1_0 without removing values defined in theawsQueryError
trait.This trait adds the
x-amzn-query-error
header in the form ofCode;Fault
to error responses.Code
is the value defined in the awsQueryError, andFault
is one ofSender
orReceiver
.Related smithy docs:
The text was updated successfully, but these errors were encountered: