@Override
        public Trait createTrait(ShapeId target, Node value) {
            AwsQueryErrorTrait.Builder builder = builder().sourceLocation(value);
            ObjectNode objectNode = value.expectObjectNode();
            builder.code(objectNode.expectStringMember("code").getValue());
            builder.httpResponseCode(objectNode.expectNumberMember("httpResponseCode").getValue().intValue());
            AwsQueryErrorTrait result = builder.build();
            result.setNodeCache(value);
            return result;
        }
Provides the value in the "Code" distinguishing field and HTTP response
code for an operation error.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/protocols/AwsQueryErrorTrait.java