diff --git a/smithy-aws-protocol-tests/model/restXml/services/s3.smithy b/smithy-aws-protocol-tests/model/restXml/services/s3.smithy index 8c0e9a0ecde..9631ab69c04 100644 --- a/smithy-aws-protocol-tests/model/restXml/services/s3.smithy +++ b/smithy-aws-protocol-tests/model/restXml/services/s3.smithy @@ -255,22 +255,6 @@ service AmazonS3 { }, }, ]) -@httpResponseTests([ - { - id: "S3OperationNoErrorWrappingResponse", - documentation: """ - S3 operations return Error XML nodes unwrapped by - the ErrorResponse XML node. - """, - protocol: restXml, - code: 400, - headers: { - "Content-Type": "application/xml" - }, - body: "\n\n\tSender\n\tNoSuchBucket\n", - bodyMediaType: "application/xml", - } -]) @http( method: "GET", uri: "/{Bucket}?list-type=2", @@ -480,6 +464,22 @@ structure DeleteObjectTaggingOutput { VersionId: ObjectVersionId } +@httpResponseTests([ + { + id: "S3OperationNoErrorWrappingResponse", + documentation: """ + S3 operations return Error XML nodes unwrapped by + the ErrorResponse XML node. + """, + protocol: restXml, + code: 400, + headers: { + "Content-Type": "application/xml" + }, + body: "\n\n\tSender\n\tNoSuchBucket\n", + bodyMediaType: "application/xml", + } +]) @error("client") structure NoSuchBucket {}