From a43bd2f40259ced9be62b23a2213b07ad85002f5 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 17 Jan 2024 19:12:32 +0000 Subject: [PATCH] docs(client-dynamodb): Updating note for enabling streams for UpdateTable. --- clients/client-dynamodb/src/models/models_0.ts | 4 ++-- codegen/sdk-codegen/aws-models/dynamodb.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/client-dynamodb/src/models/models_0.ts b/clients/client-dynamodb/src/models/models_0.ts index a5633b7847c1..090e2705da38 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 26f260ee090a..f2bc87129408 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": {