Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -645,5 +645,6 @@ list suppress {
/// Marks an operation as requiring checksum in its HTTP request.
/// By default, the checksum used for a service is a MD5 checksum
/// passed in the Content-MD5 header.
@unstable
@trait(selector: "operation")
structure httpChecksumRequired {}
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
[ERROR] ns.foo#InvalidOutput: Trait `httpChecksumRequired` cannot be applied to `ns.foo#InvalidOutput`. This trait may only be applied to shapes that match the following selector: operation | TraitTarget
[ERROR] ns.foo#InvalidError: Trait `httpChecksumRequired` cannot be applied to `ns.foo#InvalidError`. This trait may only be applied to shapes that match the following selector: operation | TraitTarget
[ERROR] ns.foo#InvalidStructure$Body: Trait `httpChecksumRequired` cannot be applied to `ns.foo#InvalidStructure$Body`. This trait may only be applied to shapes that match the following selector: operation | TraitTarget
[WARNING] ns.foo#InvalidError: This shape applies a trait that is unstable: smithy.api#httpChecksumRequired | UnstableTrait
[WARNING] ns.foo#InvalidInput: This shape applies a trait that is unstable: smithy.api#httpChecksumRequired | UnstableTrait
[WARNING] ns.foo#InvalidOutput: This shape applies a trait that is unstable: smithy.api#httpChecksumRequired | UnstableTrait
[WARNING] ns.foo#InvalidStructure$Body: This shape applies a trait that is unstable: smithy.api#httpChecksumRequired | UnstableTrait
[WARNING] ns.foo#ValidOperation: This shape applies a trait that is unstable: smithy.api#httpChecksumRequired | UnstableTrait