@aws-sdk/client-cloudwatch-logs 3.300.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +1 -1
  2. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  3. package/dist-types/commands/CreateExportTaskCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateLogGroupCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateLogStreamCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteLogGroupCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteLogStreamCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeDestinationsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeQueriesCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -1
  24. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +1 -1
  25. package/dist-types/commands/FilterLogEventsCommand.d.ts +2 -2
  26. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/GetLogEventsCommand.d.ts +1 -1
  28. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetLogRecordCommand.d.ts +1 -1
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +1 -1
  33. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +1 -1
  34. package/dist-types/commands/PutDestinationCommand.d.ts +2 -2
  35. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/PutLogEventsCommand.d.ts +3 -3
  37. package/dist-types/commands/PutMetricFilterCommand.d.ts +4 -4
  38. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +2 -2
  39. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  40. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +1 -1
  42. package/dist-types/commands/StartQueryCommand.d.ts +3 -3
  43. package/dist-types/commands/StopQueryCommand.d.ts +1 -1
  44. package/dist-types/commands/TagLogGroupCommand.d.ts +2 -2
  45. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  46. package/dist-types/commands/TestMetricFilterCommand.d.ts +2 -2
  47. package/dist-types/commands/UntagLogGroupCommand.d.ts +2 -2
  48. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  49. package/package.json +3 -3
@@ -39,7 +39,7 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
39
39
  * import { CloudWatchLogsClient, AssociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
40
40
  * // const { CloudWatchLogsClient, AssociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
41
41
  * const client = new CloudWatchLogsClient(config);
42
- * const input = {
42
+ * const input = { // AssociateKmsKeyRequest
43
43
  * logGroupName: "STRING_VALUE", // required
44
44
  * kmsKeyId: "STRING_VALUE", // required
45
45
  * };
@@ -27,7 +27,7 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchLogsClient, CancelExportTaskCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, CancelExportTaskCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // CancelExportTaskRequest
31
31
  * taskId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new CancelExportTaskCommand(input);
@@ -45,7 +45,7 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
45
45
  * import { CloudWatchLogsClient, CreateExportTaskCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
46
46
  * // const { CloudWatchLogsClient, CreateExportTaskCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
47
47
  * const client = new CloudWatchLogsClient(config);
48
- * const input = {
48
+ * const input = { // CreateExportTaskRequest
49
49
  * taskName: "STRING_VALUE",
50
50
  * logGroupName: "STRING_VALUE", // required
51
51
  * logStreamNamePrefix: "STRING_VALUE",
@@ -54,10 +54,10 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {
54
54
  * import { CloudWatchLogsClient, CreateLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
55
55
  * // const { CloudWatchLogsClient, CreateLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
56
56
  * const client = new CloudWatchLogsClient(config);
57
- * const input = {
57
+ * const input = { // CreateLogGroupRequest
58
58
  * logGroupName: "STRING_VALUE", // required
59
59
  * kmsKeyId: "STRING_VALUE",
60
- * tags: {
60
+ * tags: { // Tags
61
61
  * "<keys>": "STRING_VALUE",
62
62
  * },
63
63
  * };
@@ -42,7 +42,7 @@ export interface CreateLogStreamCommandOutput extends __MetadataBearer {
42
42
  * import { CloudWatchLogsClient, CreateLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
43
43
  * // const { CloudWatchLogsClient, CreateLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
44
44
  * const client = new CloudWatchLogsClient(config);
45
- * const input = {
45
+ * const input = { // CreateLogStreamRequest
46
46
  * logGroupName: "STRING_VALUE", // required
47
47
  * logStreamName: "STRING_VALUE", // required
48
48
  * };
@@ -27,7 +27,7 @@ export interface DeleteDataProtectionPolicyCommandOutput extends __MetadataBeare
27
27
  * import { CloudWatchLogsClient, DeleteDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DeleteDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteDataProtectionPolicyRequest
31
31
  * logGroupIdentifier: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteDataProtectionPolicyCommand(input);
@@ -28,7 +28,7 @@ export interface DeleteDestinationCommandOutput extends __MetadataBearer {
28
28
  * import { CloudWatchLogsClient, DeleteDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, DeleteDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // DeleteDestinationRequest
32
32
  * destinationName: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new DeleteDestinationCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteLogGroupCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchLogsClient, DeleteLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DeleteLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteLogGroupRequest
31
31
  * logGroupName: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteLogGroupCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteLogStreamCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchLogsClient, DeleteLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DeleteLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteLogStreamRequest
31
31
  * logGroupName: "STRING_VALUE", // required
32
32
  * logStreamName: "STRING_VALUE", // required
33
33
  * };
@@ -26,7 +26,7 @@ export interface DeleteMetricFilterCommandOutput extends __MetadataBearer {
26
26
  * import { CloudWatchLogsClient, DeleteMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, DeleteMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteMetricFilterRequest
30
30
  * logGroupName: "STRING_VALUE", // required
31
31
  * filterName: "STRING_VALUE", // required
32
32
  * };
@@ -30,7 +30,7 @@ export interface DeleteQueryDefinitionCommandOutput extends DeleteQueryDefinitio
30
30
  * import { CloudWatchLogsClient, DeleteQueryDefinitionCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
31
31
  * // const { CloudWatchLogsClient, DeleteQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
32
32
  * const client = new CloudWatchLogsClient(config);
33
- * const input = {
33
+ * const input = { // DeleteQueryDefinitionRequest
34
34
  * queryDefinitionId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteQueryDefinitionCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchLogsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteResourcePolicyRequest
31
31
  * policyName: "STRING_VALUE",
32
32
  * };
33
33
  * const command = new DeleteResourcePolicyCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteRetentionPolicyCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchLogsClient, DeleteRetentionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DeleteRetentionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DeleteRetentionPolicyRequest
31
31
  * logGroupName: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteRetentionPolicyCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteSubscriptionFilterCommandOutput extends __MetadataBearer
26
26
  * import { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // DeleteSubscriptionFilterRequest
30
30
  * logGroupName: "STRING_VALUE", // required
31
31
  * filterName: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DescribeDestinationsCommandOutput extends DescribeDestinationsR
26
26
  * import { CloudWatchLogsClient, DescribeDestinationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, DescribeDestinationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeDestinationsRequest
30
30
  * DestinationNamePrefix: "STRING_VALUE",
31
31
  * nextToken: "STRING_VALUE",
32
32
  * limit: Number("int"),
@@ -27,7 +27,7 @@ export interface DescribeExportTasksCommandOutput extends DescribeExportTasksRes
27
27
  * import { CloudWatchLogsClient, DescribeExportTasksCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DescribeExportTasksCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DescribeExportTasksRequest
31
31
  * taskId: "STRING_VALUE",
32
32
  * statusCode: "CANCELLED" || "COMPLETED" || "FAILED" || "PENDING" || "PENDING_CANCEL" || "RUNNING",
33
33
  * nextToken: "STRING_VALUE",
@@ -37,8 +37,8 @@ export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsRespons
37
37
  * import { CloudWatchLogsClient, DescribeLogGroupsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
38
  * // const { CloudWatchLogsClient, DescribeLogGroupsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
39
  * const client = new CloudWatchLogsClient(config);
40
- * const input = {
41
- * accountIdentifiers: [
40
+ * const input = { // DescribeLogGroupsRequest
41
+ * accountIdentifiers: [ // AccountIds
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * logGroupNamePrefix: "STRING_VALUE",
@@ -35,7 +35,7 @@ export interface DescribeLogStreamsCommandOutput extends DescribeLogStreamsRespo
35
35
  * import { CloudWatchLogsClient, DescribeLogStreamsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
36
36
  * // const { CloudWatchLogsClient, DescribeLogStreamsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
37
37
  * const client = new CloudWatchLogsClient(config);
38
- * const input = {
38
+ * const input = { // DescribeLogStreamsRequest
39
39
  * logGroupName: "STRING_VALUE",
40
40
  * logGroupIdentifier: "STRING_VALUE",
41
41
  * logStreamNamePrefix: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface DescribeMetricFiltersCommandOutput extends DescribeMetricFilter
28
28
  * import { CloudWatchLogsClient, DescribeMetricFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, DescribeMetricFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // DescribeMetricFiltersRequest
32
32
  * logGroupName: "STRING_VALUE",
33
33
  * filterNamePrefix: "STRING_VALUE",
34
34
  * nextToken: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface DescribeQueriesCommandOutput extends DescribeQueriesResponse, _
28
28
  * import { CloudWatchLogsClient, DescribeQueriesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, DescribeQueriesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // DescribeQueriesRequest
32
32
  * logGroupName: "STRING_VALUE",
33
33
  * status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
34
34
  * maxResults: Number("int"),
@@ -28,7 +28,7 @@ export interface DescribeQueryDefinitionsCommandOutput extends DescribeQueryDefi
28
28
  * import { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // DescribeQueryDefinitionsRequest
32
32
  * queryDefinitionNamePrefix: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
34
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeResourcePoliciesCommandOutput extends DescribeResourceP
26
26
  * import { CloudWatchLogsClient, DescribeResourcePoliciesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, DescribeResourcePoliciesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // DescribeResourcePoliciesRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * limit: Number("int"),
32
32
  * };
@@ -27,7 +27,7 @@ export interface DescribeSubscriptionFiltersCommandOutput extends DescribeSubscr
27
27
  * import { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // DescribeSubscriptionFiltersRequest
31
31
  * logGroupName: "STRING_VALUE", // required
32
32
  * filterNamePrefix: "STRING_VALUE",
33
33
  * nextToken: "STRING_VALUE",
@@ -31,7 +31,7 @@ export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
31
31
  * import { CloudWatchLogsClient, DisassociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
32
32
  * // const { CloudWatchLogsClient, DisassociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
33
33
  * const client = new CloudWatchLogsClient(config);
34
- * const input = {
34
+ * const input = { // DisassociateKmsKeyRequest
35
35
  * logGroupName: "STRING_VALUE", // required
36
36
  * };
37
37
  * const command = new DisassociateKmsKeyCommand(input);
@@ -41,10 +41,10 @@ export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, _
41
41
  * import { CloudWatchLogsClient, FilterLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
42
42
  * // const { CloudWatchLogsClient, FilterLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
43
43
  * const client = new CloudWatchLogsClient(config);
44
- * const input = {
44
+ * const input = { // FilterLogEventsRequest
45
45
  * logGroupName: "STRING_VALUE",
46
46
  * logGroupIdentifier: "STRING_VALUE",
47
- * logStreamNames: [
47
+ * logStreamNames: [ // InputLogStreamNames
48
48
  * "STRING_VALUE",
49
49
  * ],
50
50
  * logStreamNamePrefix: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
26
26
  * import { CloudWatchLogsClient, GetDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, GetDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // GetDataProtectionPolicyRequest
30
30
  * logGroupIdentifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetDataProtectionPolicyCommand(input);
@@ -36,7 +36,7 @@ export interface GetLogEventsCommandOutput extends GetLogEventsResponse, __Metad
36
36
  * import { CloudWatchLogsClient, GetLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
37
37
  * // const { CloudWatchLogsClient, GetLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
38
38
  * const client = new CloudWatchLogsClient(config);
39
- * const input = {
39
+ * const input = { // GetLogEventsRequest
40
40
  * logGroupName: "STRING_VALUE",
41
41
  * logGroupIdentifier: "STRING_VALUE",
42
42
  * logStreamName: "STRING_VALUE", // required
@@ -40,7 +40,7 @@ export interface GetLogGroupFieldsCommandOutput extends GetLogGroupFieldsRespons
40
40
  * import { CloudWatchLogsClient, GetLogGroupFieldsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
41
  * // const { CloudWatchLogsClient, GetLogGroupFieldsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
42
  * const client = new CloudWatchLogsClient(config);
43
- * const input = {
43
+ * const input = { // GetLogGroupFieldsRequest
44
44
  * logGroupName: "STRING_VALUE",
45
45
  * time: Number("long"),
46
46
  * logGroupIdentifier: "STRING_VALUE",
@@ -29,7 +29,7 @@ export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __Metad
29
29
  * import { CloudWatchLogsClient, GetLogRecordCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
30
30
  * // const { CloudWatchLogsClient, GetLogRecordCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
31
31
  * const client = new CloudWatchLogsClient(config);
32
- * const input = {
32
+ * const input = { // GetLogRecordRequest
33
33
  * logRecordPointer: "STRING_VALUE", // required
34
34
  * unmask: true || false,
35
35
  * };
@@ -38,7 +38,7 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
38
38
  * import { CloudWatchLogsClient, GetQueryResultsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
39
39
  * // const { CloudWatchLogsClient, GetQueryResultsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
40
40
  * const client = new CloudWatchLogsClient(config);
41
- * const input = {
41
+ * const input = { // GetQueryResultsRequest
42
42
  * queryId: "STRING_VALUE", // required
43
43
  * };
44
44
  * const command = new GetQueryResultsCommand(input);
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { CloudWatchLogsClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * resourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
@@ -32,7 +32,7 @@ export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse,
32
32
  * import { CloudWatchLogsClient, ListTagsLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
33
33
  * // const { CloudWatchLogsClient, ListTagsLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
34
34
  * const client = new CloudWatchLogsClient(config);
35
- * const input = {
35
+ * const input = { // ListTagsLogGroupRequest
36
36
  * logGroupName: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new ListTagsLogGroupCommand(input);
@@ -40,7 +40,7 @@ export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionP
40
40
  * import { CloudWatchLogsClient, PutDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
41
  * // const { CloudWatchLogsClient, PutDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
42
  * const client = new CloudWatchLogsClient(config);
43
- * const input = {
43
+ * const input = { // PutDataProtectionPolicyRequest
44
44
  * logGroupIdentifier: "STRING_VALUE", // required
45
45
  * policyDocument: "STRING_VALUE", // required
46
46
  * };
@@ -35,11 +35,11 @@ export interface PutDestinationCommandOutput extends PutDestinationResponse, __M
35
35
  * import { CloudWatchLogsClient, PutDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
36
36
  * // const { CloudWatchLogsClient, PutDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
37
37
  * const client = new CloudWatchLogsClient(config);
38
- * const input = {
38
+ * const input = { // PutDestinationRequest
39
39
  * destinationName: "STRING_VALUE", // required
40
40
  * targetArn: "STRING_VALUE", // required
41
41
  * roleArn: "STRING_VALUE", // required
42
- * tags: {
42
+ * tags: { // Tags
43
43
  * "<keys>": "STRING_VALUE",
44
44
  * },
45
45
  * };
@@ -28,7 +28,7 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
28
28
  * import { CloudWatchLogsClient, PutDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, PutDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // PutDestinationPolicyRequest
32
32
  * destinationName: "STRING_VALUE", // required
33
33
  * accessPolicy: "STRING_VALUE", // required
34
34
  * forceUpdate: true || false,
@@ -71,11 +71,11 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
71
71
  * import { CloudWatchLogsClient, PutLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
72
72
  * // const { CloudWatchLogsClient, PutLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
73
73
  * const client = new CloudWatchLogsClient(config);
74
- * const input = {
74
+ * const input = { // PutLogEventsRequest
75
75
  * logGroupName: "STRING_VALUE", // required
76
76
  * logStreamName: "STRING_VALUE", // required
77
- * logEvents: [ // required
78
- * {
77
+ * logEvents: [ // InputLogEvents // required
78
+ * { // InputLogEvent
79
79
  * timestamp: Number("long"), // required
80
80
  * message: "STRING_VALUE", // required
81
81
  * },
@@ -48,17 +48,17 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
48
48
  * import { CloudWatchLogsClient, PutMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
49
49
  * // const { CloudWatchLogsClient, PutMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
50
50
  * const client = new CloudWatchLogsClient(config);
51
- * const input = {
51
+ * const input = { // PutMetricFilterRequest
52
52
  * logGroupName: "STRING_VALUE", // required
53
53
  * filterName: "STRING_VALUE", // required
54
54
  * filterPattern: "STRING_VALUE", // required
55
- * metricTransformations: [ // required
56
- * {
55
+ * metricTransformations: [ // MetricTransformations // required
56
+ * { // MetricTransformation
57
57
  * metricName: "STRING_VALUE", // required
58
58
  * metricNamespace: "STRING_VALUE", // required
59
59
  * metricValue: "STRING_VALUE", // required
60
60
  * defaultValue: Number("double"),
61
- * dimensions: {
61
+ * dimensions: { // Dimensions
62
62
  * "<keys>": "STRING_VALUE",
63
63
  * },
64
64
  * unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
@@ -36,10 +36,10 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
36
36
  * import { CloudWatchLogsClient, PutQueryDefinitionCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
37
37
  * // const { CloudWatchLogsClient, PutQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
38
38
  * const client = new CloudWatchLogsClient(config);
39
- * const input = {
39
+ * const input = { // PutQueryDefinitionRequest
40
40
  * name: "STRING_VALUE", // required
41
41
  * queryDefinitionId: "STRING_VALUE",
42
- * logGroupNames: [
42
+ * logGroupNames: [ // LogGroupNames
43
43
  * "STRING_VALUE",
44
44
  * ],
45
45
  * queryString: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
28
28
  * import { CloudWatchLogsClient, PutResourcePolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, PutResourcePolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // PutResourcePolicyRequest
32
32
  * policyName: "STRING_VALUE",
33
33
  * policyDocument: "STRING_VALUE",
34
34
  * };
@@ -40,7 +40,7 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
40
40
  * import { CloudWatchLogsClient, PutRetentionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
41
  * // const { CloudWatchLogsClient, PutRetentionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
42
  * const client = new CloudWatchLogsClient(config);
43
- * const input = {
43
+ * const input = { // PutRetentionPolicyRequest
44
44
  * logGroupName: "STRING_VALUE", // required
45
45
  * retentionInDays: Number("int"), // required
46
46
  * };
@@ -53,7 +53,7 @@ export interface PutSubscriptionFilterCommandOutput extends __MetadataBearer {
53
53
  * import { CloudWatchLogsClient, PutSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
54
54
  * // const { CloudWatchLogsClient, PutSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
55
55
  * const client = new CloudWatchLogsClient(config);
56
- * const input = {
56
+ * const input = { // PutSubscriptionFilterRequest
57
57
  * logGroupName: "STRING_VALUE", // required
58
58
  * filterName: "STRING_VALUE", // required
59
59
  * filterPattern: "STRING_VALUE", // required
@@ -37,12 +37,12 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
37
37
  * import { CloudWatchLogsClient, StartQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
38
  * // const { CloudWatchLogsClient, StartQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
39
  * const client = new CloudWatchLogsClient(config);
40
- * const input = {
40
+ * const input = { // StartQueryRequest
41
41
  * logGroupName: "STRING_VALUE",
42
- * logGroupNames: [
42
+ * logGroupNames: [ // LogGroupNames
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * logGroupIdentifiers: [
45
+ * logGroupIdentifiers: [ // LogGroupIdentifiers
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * startTime: Number("long"), // required
@@ -27,7 +27,7 @@ export interface StopQueryCommandOutput extends StopQueryResponse, __MetadataBea
27
27
  * import { CloudWatchLogsClient, StopQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, StopQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // StopQueryRequest
31
31
  * queryId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new StopQueryCommand(input);
@@ -41,9 +41,9 @@ export interface TagLogGroupCommandOutput extends __MetadataBearer {
41
41
  * import { CloudWatchLogsClient, TagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
42
42
  * // const { CloudWatchLogsClient, TagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
43
43
  * const client = new CloudWatchLogsClient(config);
44
- * const input = {
44
+ * const input = { // TagLogGroupRequest
45
45
  * logGroupName: "STRING_VALUE", // required
46
- * tags: { // required
46
+ * tags: { // Tags // required
47
47
  * "<keys>": "STRING_VALUE",
48
48
  * },
49
49
  * };
@@ -37,9 +37,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
37
37
  * import { CloudWatchLogsClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
38
  * // const { CloudWatchLogsClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
39
  * const client = new CloudWatchLogsClient(config);
40
- * const input = {
40
+ * const input = { // TagResourceRequest
41
41
  * resourceArn: "STRING_VALUE", // required
42
- * tags: { // required
42
+ * tags: { // Tags // required
43
43
  * "<keys>": "STRING_VALUE",
44
44
  * },
45
45
  * };
@@ -27,9 +27,9 @@ export interface TestMetricFilterCommandOutput extends TestMetricFilterResponse,
27
27
  * import { CloudWatchLogsClient, TestMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, TestMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // TestMetricFilterRequest
31
31
  * filterPattern: "STRING_VALUE", // required
32
- * logEventMessages: [ // required
32
+ * logEventMessages: [ // TestEventMessages // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -38,9 +38,9 @@ export interface UntagLogGroupCommandOutput extends __MetadataBearer {
38
38
  * import { CloudWatchLogsClient, UntagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
39
39
  * // const { CloudWatchLogsClient, UntagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
40
40
  * const client = new CloudWatchLogsClient(config);
41
- * const input = {
41
+ * const input = { // UntagLogGroupRequest
42
42
  * logGroupName: "STRING_VALUE", // required
43
- * tags: [ // required
43
+ * tags: [ // TagList // required
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { CloudWatchLogsClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",