From 6c1c1a6ddd5220c937a36832b83d17190d330a1f Mon Sep 17 00:00:00 2001 From: Chase Coalwell Date: Thu, 31 Mar 2022 09:41:57 -0600 Subject: [PATCH] Omit commas to match codestyle --- docs/source/1.0/spec/aws/aws-core.rst | 10 +++---- docs/source/1.0/spec/aws/aws-iam.rst | 6 ++-- .../aws/customizations/s3-customizations.rst | 2 +- docs/source/1.0/spec/core/idl.rst | 30 +++++++++---------- .../spec/core/traits/http-traits.rst.template | 6 ++-- docs/source/1.0/spec/mqtt.rst | 4 +-- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/docs/source/1.0/spec/aws/aws-core.rst b/docs/source/1.0/spec/aws/aws-core.rst index d3d050a2c59..39d57b88b04 100644 --- a/docs/source/1.0/spec/aws/aws-core.rst +++ b/docs/source/1.0/spec/aws/aws-core.rst @@ -1216,19 +1216,19 @@ setting the ``validationMode`` input property to "ENABLED". responseAlgorithms: ["CRC32C", "CRC32", "SHA1", "SHA256"] ) operation PutSomething { - input: PutSomethingInput, + input: PutSomethingInput output: PutSomethingOutput } structure PutSomethingInput { @httpHeader("x-amz-request-algorithm") - checksumAlgorithm: ChecksumAlgorithm, + checksumAlgorithm: ChecksumAlgorithm @httpHeader("x-amz-response-validation-mode") - validationMode: ValidationMode, + validationMode: ValidationMode @httpPayload - content: Blob, + content: Blob } @enum([ @@ -1267,7 +1267,7 @@ behavior, will fail validation. @httpChecksum() operation PutSomething { - input: PutSomethingInput, + input: PutSomethingInput output: PutSomethingOutput } diff --git a/docs/source/1.0/spec/aws/aws-iam.rst b/docs/source/1.0/spec/aws/aws-iam.rst index 00391f649e6..12ae1208f7e 100644 --- a/docs/source/1.0/spec/aws/aws-iam.rst +++ b/docs/source/1.0/spec/aws/aws-iam.rst @@ -524,8 +524,8 @@ The following example defines two operations: @supportedPrincipalTypes(["Root", "IAMUser", "IAMRole", "FederatedUser"]) service MyService { - version: "2020-07-02", - operations: [OperationA, OperationB], + version: "2020-07-02" + operations: [OperationA, OperationB] } @supportedPrincipalTypes(["Root"]) @@ -577,7 +577,7 @@ deviates from the :ref:`shape name of the shape ID ` of the resource. resource SuperResource { identifiers: { superId: String, - }, + } } diff --git a/docs/source/1.0/spec/aws/customizations/s3-customizations.rst b/docs/source/1.0/spec/aws/customizations/s3-customizations.rst index c6754472197..e4229f3cde0 100644 --- a/docs/source/1.0/spec/aws/customizations/s3-customizations.rst +++ b/docs/source/1.0/spec/aws/customizations/s3-customizations.rst @@ -155,7 +155,7 @@ Consider the following *abridged* model of S3's ``GetBucketLocation`` operation: @http(uri: "/GetBucketLocation", method: "GET") @s3UnwrappedXmlOutput operation GetBucketLocation { - input: GetBucketLocationInput, + input: GetBucketLocationInput output: GetBucketLocationOutput } diff --git a/docs/source/1.0/spec/core/idl.rst b/docs/source/1.0/spec/core/idl.rst index 33d871b9372..753893d8f09 100644 --- a/docs/source/1.0/spec/core/idl.rst +++ b/docs/source/1.0/spec/core/idl.rst @@ -436,9 +436,9 @@ so that they can be referred to using only ``Foo`` and ``Baz``. map MyMap { // Resolves to smithy.example#Foo - key: Foo, + key: Foo // Resolves to smithy.example#Baz - value: Baz, + value: Baz } A use statement can refer to :ref:`traits ` too. The following example @@ -493,34 +493,34 @@ to. structure MyStructure { // Resolves to smithy.example#MyString // There is a shape named MyString defined in the same namespace. - a: MyString, + a: MyString // Resolves to smithy.example#MyString // Absolute shape IDs do not perform namespace resolution. - b: smithy.example#MyString, + b: smithy.example#MyString // Resolves to foo.baz#Bar // The "use foo.baz#Bar" statement imported the Bar symbol, // allowing the shape to be referenced using a relative shape ID. - c: Bar, + c: Bar // Resolves to smithy.api#String // No shape named String was imported through a use statement // the smithy.example namespace does not contain a shape named // String, and the prelude model contains a shape named String. - d: String, + d: String // Resolves to smithy.example#MyBoolean. // There is a shape named MyBoolean defined in the same namespace. // Forward references are supported both within the same file and // across multiple files. - e: MyBoolean, + e: MyBoolean // Resolves to smithy.example#InvalidShape. A shape by this name has // not been imported through a use statement, a shape by this name // does not exist in the current namespace, and a shape by this name // does not exist in the prelude model. - f: InvalidShape, + f: InvalidShape } boolean MyBoolean @@ -1039,8 +1039,8 @@ The following example defines a structure with two members: namespace smithy.example structure MyStructure { - foo: String, - baz: Integer, + foo: String + baz: Integer } .. code-tab:: json @@ -1074,11 +1074,11 @@ Traits can be applied to structure members: structure MyStructure { /// This is documentation for `foo`. @required - foo: String, + foo: String /// This is documentation for `baz`. @deprecated - baz: Integer, + baz: Integer } .. code-tab:: json @@ -1128,12 +1128,12 @@ The following example defines a union shape with several members: namespace smithy.example union MyUnion { - i32: Integer, + i32: Integer @length(min: 1, max: 100) - string: String, + string: String - time: Timestamp, + time: Timestamp } .. code-tab:: json diff --git a/docs/source/1.0/spec/core/traits/http-traits.rst.template b/docs/source/1.0/spec/core/traits/http-traits.rst.template index d0fc6da88b0..8511fa88b83 100644 --- a/docs/source/1.0/spec/core/traits/http-traits.rst.template +++ b/docs/source/1.0/spec/core/traits/http-traits.rst.template @@ -1051,7 +1051,7 @@ disregard the value set by ``httpQueryParams``. For example, given the following } map MapOfStrings { - key: String, + key: String value: String } @@ -1094,7 +1094,7 @@ given the following model: } map MapOfStrings { - key: String, + key: String value: String } @@ -1317,7 +1317,7 @@ marked with the ``httpPayload`` trait: @input structure InvalidOperationInput { - invalid: MessageStream, // <-- Missing the @httpPayload trait + invalid: MessageStream // <-- Missing the @httpPayload trait } @streaming diff --git a/docs/source/1.0/spec/mqtt.rst b/docs/source/1.0/spec/mqtt.rst index fd6ae5fe82c..a0ebae1d7bb 100644 --- a/docs/source/1.0/spec/mqtt.rst +++ b/docs/source/1.0/spec/mqtt.rst @@ -170,7 +170,7 @@ The following example defines an operation that publishes messages to the @publish("foo/{bar}") operation PostFoo { - input: PostFooInput, + input: PostFooInput output: Unit } @@ -180,7 +180,7 @@ The following example defines an operation that publishes messages to the @topicLabel bar: String - someValue: String, + someValue: String anotherValue: Boolean }