diff --git a/clients/client-dynamodb/src/models/models_0.ts b/clients/client-dynamodb/src/models/models_0.ts index a5633b7847c12..090e2705da387 100644 --- a/clients/client-dynamodb/src/models/models_0.ts +++ b/clients/client-dynamodb/src/models/models_0.ts @@ -6626,8 +6626,8 @@ export interface UpdateTableInput { * @public *

Represents the DynamoDB Streams configuration for the table.

* - *

You receive a ResourceInUseException if you try to enable a stream on - * a table that already has a stream, or if you try to disable a stream on a table that + *

You receive a ValidationException if you try to enable a stream on a + * table that already has a stream, or if you try to disable a stream on a table that * doesn't have a stream.

*
*/ diff --git a/codegen/sdk-codegen/aws-models/dynamodb.json b/codegen/sdk-codegen/aws-models/dynamodb.json index 26f260ee090aa..f2bc87129408a 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.json @@ -11842,7 +11842,7 @@ "StreamSpecification": { "target": "com.amazonaws.dynamodb#StreamSpecification", "traits": { - "smithy.api#documentation": "

Represents the DynamoDB Streams configuration for the table.

\n \n

You receive a ResourceInUseException if you try to enable a stream on\n a table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

\n
" + "smithy.api#documentation": "

Represents the DynamoDB Streams configuration for the table.

\n \n

You receive a ValidationException if you try to enable a stream on a\n table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

\n
" } }, "SSESpecification": {