From f2d4554c86ff2564cf6d31a11c9759454a3020e0 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 20 Sep 2023 19:23:45 +0000 Subject: [PATCH] feat(client-cloudwatch-logs): Add ClientToken to QueryDefinition CFN Handler in CWL --- clients/client-cloudwatch-logs/package.json | 4 ++- .../src/commands/CreateLogGroupCommand.ts | 2 +- .../src/commands/PutMetricFilterCommand.ts | 5 ++-- .../src/commands/PutQueryDefinitionCommand.ts | 1 + .../src/commands/PutRetentionPolicyCommand.ts | 4 +++ .../src/models/models_0.ts | 7 ++++++ .../src/protocols/Aws_json1_1.ts | 16 ++++++++++-- .../aws-models/cloudwatch-logs.json | 25 ++++++++++++++++--- 8 files changed, 53 insertions(+), 11 deletions(-) diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index b40e88db260b..4a83b860cb35 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -55,12 +55,14 @@ "@smithy/util-defaults-mode-node": "^2.0.10", "@smithy/util-retry": "^2.0.0", "@smithy/util-utf8": "^2.0.0", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "devDependencies": { "@smithy/service-client-documentation-generator": "^2.0.0", "@tsconfig/node14": "1.0.3", "@types/node": "^14.14.31", + "@types/uuid": "^8.3.0", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/clients/client-cloudwatch-logs/src/commands/CreateLogGroupCommand.ts b/clients/client-cloudwatch-logs/src/commands/CreateLogGroupCommand.ts index de59198c5d8f..b92c94eac1fc 100644 --- a/clients/client-cloudwatch-logs/src/commands/CreateLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/CreateLogGroupCommand.ts @@ -36,7 +36,7 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {} /** * @public - *

Creates a log group with the specified name. You can create up to 20,000 log groups per account.

+ *

Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.

*

You must use the following guidelines when naming a log group:

*