Skip to content

Commit

Permalink
Add timestampFormat to restXml protocol traits
Browse files Browse the repository at this point in the history
This adds timestampFormat to the restXml protocol traits list. It
also reorders the traits list on the other protocols so that all
of them begin with those handful of shared traits.
  • Loading branch information
JordonPhillips committed Nov 27, 2023
1 parent bf1007d commit ce220dd
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ structure HttpConfiguration {
@protocolDefinition(
noInlineDocumentSupport: true
traits: [
timestampFormat
cors
endpoint
hostLabel
awsQueryError
xmlAttribute
xmlFlattened
xmlName
xmlNamespace
timestampFormat
cors
endpoint
hostLabel
]
)
@trait(selector: "service [trait|xmlNamespace]")
Expand Down Expand Up @@ -92,15 +92,15 @@ structure awsQueryCompatible {}
@protocolDefinition(
noInlineDocumentSupport: true
traits: [
timestampFormat
cors
endpoint
hostLabel
ec2QueryName
xmlAttribute
xmlFlattened
xmlName
xmlNamespace
timestampFormat
cors
endpoint
hostLabel
]
)
@trait(selector: "service [trait|xmlNamespace]")
Expand Down Expand Up @@ -135,6 +135,7 @@ structure httpChecksum {
/// A RESTful protocol that sends JSON in structured payloads.
@protocolDefinition(
traits: [
timestampFormat
cors
endpoint
hostLabel
Expand All @@ -148,7 +149,6 @@ structure httpChecksum {
httpQueryParams
httpResponseCode
jsonName
timestampFormat
]
)
@trait(selector: "service")
Expand All @@ -159,6 +159,7 @@ structure restJson1 with [HttpConfiguration] {}
@protocolDefinition(
noInlineDocumentSupport: true
traits: [
timestampFormat
cors
endpoint
hostLabel
Expand Down

0 comments on commit ce220dd

Please sign in to comment.