@aws-sdk/client-cloudwatch-logs 3.299.0 → 3.300.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 +4 -0
  2. package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -0
  3. package/dist-types/commands/CreateExportTaskCommand.d.ts +9 -0
  4. package/dist-types/commands/CreateLogGroupCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateLogStreamCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +3 -0
  7. package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteLogGroupCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteLogStreamCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +4 -0
  15. package/dist-types/commands/DescribeDestinationsCommand.d.ts +5 -0
  16. package/dist-types/commands/DescribeExportTasksCommand.d.ts +6 -0
  17. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +10 -0
  18. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +9 -0
  19. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +8 -0
  20. package/dist-types/commands/DescribeQueriesCommand.d.ts +6 -0
  21. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +5 -0
  22. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +6 -0
  24. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +3 -0
  25. package/dist-types/commands/FilterLogEventsCommand.d.ts +15 -0
  26. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -0
  27. package/dist-types/commands/GetLogEventsCommand.d.ts +11 -0
  28. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +5 -0
  29. package/dist-types/commands/GetLogRecordCommand.d.ts +4 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  32. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +3 -0
  33. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +4 -0
  34. package/dist-types/commands/PutDestinationCommand.d.ts +8 -0
  35. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +5 -0
  36. package/dist-types/commands/PutLogEventsCommand.d.ts +11 -0
  37. package/dist-types/commands/PutMetricFilterCommand.d.ts +17 -0
  38. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +8 -0
  39. package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
  40. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +4 -0
  41. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +8 -0
  42. package/dist-types/commands/StartQueryCommand.d.ts +13 -0
  43. package/dist-types/commands/StopQueryCommand.d.ts +3 -0
  44. package/dist-types/commands/TagLogGroupCommand.d.ts +6 -0
  45. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  46. package/dist-types/commands/TestMetricFilterCommand.d.ts +6 -0
  47. package/dist-types/commands/UntagLogGroupCommand.d.ts +6 -0
  48. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  49. package/package.json +8 -8
@@ -39,6 +39,10 @@ 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 = {
43
+ * logGroupName: "STRING_VALUE", // required
44
+ * kmsKeyId: "STRING_VALUE", // required
45
+ * };
42
46
  * const command = new AssociateKmsKeyCommand(input);
43
47
  * const response = await client.send(command);
44
48
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * taskId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new CancelExportTaskCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -45,6 +45,15 @@ 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 = {
49
+ * taskName: "STRING_VALUE",
50
+ * logGroupName: "STRING_VALUE", // required
51
+ * logStreamNamePrefix: "STRING_VALUE",
52
+ * from: Number("long"), // required
53
+ * to: Number("long"), // required
54
+ * destination: "STRING_VALUE", // required
55
+ * destinationPrefix: "STRING_VALUE",
56
+ * };
48
57
  * const command = new CreateExportTaskCommand(input);
49
58
  * const response = await client.send(command);
50
59
  * ```
@@ -54,6 +54,13 @@ 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 = {
58
+ * logGroupName: "STRING_VALUE", // required
59
+ * kmsKeyId: "STRING_VALUE",
60
+ * tags: {
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * };
57
64
  * const command = new CreateLogGroupCommand(input);
58
65
  * const response = await client.send(command);
59
66
  * ```
@@ -42,6 +42,10 @@ 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 = {
46
+ * logGroupName: "STRING_VALUE", // required
47
+ * logStreamName: "STRING_VALUE", // required
48
+ * };
45
49
  * const command = new CreateLogStreamCommand(input);
46
50
  * const response = await client.send(command);
47
51
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * logGroupIdentifier: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteDataProtectionPolicyCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,9 @@ 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 = {
32
+ * destinationName: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteDestinationCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * logGroupName: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteLogGroupCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,10 @@ 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 = {
31
+ * logGroupName: "STRING_VALUE", // required
32
+ * logStreamName: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new DeleteLogStreamCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * logGroupName: "STRING_VALUE", // required
31
+ * filterName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteMetricFilterCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -30,6 +30,9 @@ 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 = {
34
+ * queryDefinitionId: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new DeleteQueryDefinitionCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * policyName: "STRING_VALUE",
32
+ * };
30
33
  * const command = new DeleteResourcePolicyCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * logGroupName: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteRetentionPolicyCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * logGroupName: "STRING_VALUE", // required
31
+ * filterName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteSubscriptionFilterCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * DestinationNamePrefix: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * limit: Number("int"),
33
+ * };
29
34
  * const command = new DescribeDestinationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ 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 = {
31
+ * taskId: "STRING_VALUE",
32
+ * statusCode: "CANCELLED" || "COMPLETED" || "FAILED" || "PENDING" || "PENDING_CANCEL" || "RUNNING",
33
+ * nextToken: "STRING_VALUE",
34
+ * limit: Number("int"),
35
+ * };
30
36
  * const command = new DescribeExportTasksCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -37,6 +37,16 @@ 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: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * logGroupNamePrefix: "STRING_VALUE",
45
+ * logGroupNamePattern: "STRING_VALUE",
46
+ * nextToken: "STRING_VALUE",
47
+ * limit: Number("int"),
48
+ * includeLinkedAccounts: true || false,
49
+ * };
40
50
  * const command = new DescribeLogGroupsCommand(input);
41
51
  * const response = await client.send(command);
42
52
  * ```
@@ -35,6 +35,15 @@ 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 = {
39
+ * logGroupName: "STRING_VALUE",
40
+ * logGroupIdentifier: "STRING_VALUE",
41
+ * logStreamNamePrefix: "STRING_VALUE",
42
+ * orderBy: "LogStreamName" || "LastEventTime",
43
+ * descending: true || false,
44
+ * nextToken: "STRING_VALUE",
45
+ * limit: Number("int"),
46
+ * };
38
47
  * const command = new DescribeLogStreamsCommand(input);
39
48
  * const response = await client.send(command);
40
49
  * ```
@@ -28,6 +28,14 @@ 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 = {
32
+ * logGroupName: "STRING_VALUE",
33
+ * filterNamePrefix: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * limit: Number("int"),
36
+ * metricName: "STRING_VALUE",
37
+ * metricNamespace: "STRING_VALUE",
38
+ * };
31
39
  * const command = new DescribeMetricFiltersCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -28,6 +28,12 @@ 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 = {
32
+ * logGroupName: "STRING_VALUE",
33
+ * status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
34
+ * maxResults: Number("int"),
35
+ * nextToken: "STRING_VALUE",
36
+ * };
31
37
  * const command = new DescribeQueriesCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * queryDefinitionNamePrefix: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * nextToken: "STRING_VALUE",
35
+ * };
31
36
  * const command = new DescribeQueryDefinitionsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * nextToken: "STRING_VALUE",
31
+ * limit: Number("int"),
32
+ * };
29
33
  * const command = new DescribeResourcePoliciesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,12 @@ 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 = {
31
+ * logGroupName: "STRING_VALUE", // required
32
+ * filterNamePrefix: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * limit: Number("int"),
35
+ * };
30
36
  * const command = new DescribeSubscriptionFiltersCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -31,6 +31,9 @@ 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 = {
35
+ * logGroupName: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new DisassociateKmsKeyCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -41,6 +41,21 @@ 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 = {
45
+ * logGroupName: "STRING_VALUE",
46
+ * logGroupIdentifier: "STRING_VALUE",
47
+ * logStreamNames: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * logStreamNamePrefix: "STRING_VALUE",
51
+ * startTime: Number("long"),
52
+ * endTime: Number("long"),
53
+ * filterPattern: "STRING_VALUE",
54
+ * nextToken: "STRING_VALUE",
55
+ * limit: Number("int"),
56
+ * interleaved: true || false,
57
+ * unmask: true || false,
58
+ * };
44
59
  * const command = new FilterLogEventsCommand(input);
45
60
  * const response = await client.send(command);
46
61
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * logGroupIdentifier: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetDataProtectionPolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -36,6 +36,17 @@ 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 = {
40
+ * logGroupName: "STRING_VALUE",
41
+ * logGroupIdentifier: "STRING_VALUE",
42
+ * logStreamName: "STRING_VALUE", // required
43
+ * startTime: Number("long"),
44
+ * endTime: Number("long"),
45
+ * nextToken: "STRING_VALUE",
46
+ * limit: Number("int"),
47
+ * startFromHead: true || false,
48
+ * unmask: true || false,
49
+ * };
39
50
  * const command = new GetLogEventsCommand(input);
40
51
  * const response = await client.send(command);
41
52
  * ```
@@ -40,6 +40,11 @@ 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 = {
44
+ * logGroupName: "STRING_VALUE",
45
+ * time: Number("long"),
46
+ * logGroupIdentifier: "STRING_VALUE",
47
+ * };
43
48
  * const command = new GetLogGroupFieldsCommand(input);
44
49
  * const response = await client.send(command);
45
50
  * ```
@@ -29,6 +29,10 @@ 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 = {
33
+ * logRecordPointer: "STRING_VALUE", // required
34
+ * unmask: true || false,
35
+ * };
32
36
  * const command = new GetLogRecordCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -38,6 +38,9 @@ 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 = {
42
+ * queryId: "STRING_VALUE", // required
43
+ * };
41
44
  * const command = new GetQueryResultsCommand(input);
42
45
  * const response = await client.send(command);
43
46
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListTagsForResourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -32,6 +32,9 @@ 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 = {
36
+ * logGroupName: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new ListTagsLogGroupCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -40,6 +40,10 @@ 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 = {
44
+ * logGroupIdentifier: "STRING_VALUE", // required
45
+ * policyDocument: "STRING_VALUE", // required
46
+ * };
43
47
  * const command = new PutDataProtectionPolicyCommand(input);
44
48
  * const response = await client.send(command);
45
49
  * ```
@@ -35,6 +35,14 @@ 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 = {
39
+ * destinationName: "STRING_VALUE", // required
40
+ * targetArn: "STRING_VALUE", // required
41
+ * roleArn: "STRING_VALUE", // required
42
+ * tags: {
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * };
38
46
  * const command = new PutDestinationCommand(input);
39
47
  * const response = await client.send(command);
40
48
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * destinationName: "STRING_VALUE", // required
33
+ * accessPolicy: "STRING_VALUE", // required
34
+ * forceUpdate: true || false,
35
+ * };
31
36
  * const command = new PutDestinationPolicyCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -71,6 +71,17 @@ 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 = {
75
+ * logGroupName: "STRING_VALUE", // required
76
+ * logStreamName: "STRING_VALUE", // required
77
+ * logEvents: [ // required
78
+ * {
79
+ * timestamp: Number("long"), // required
80
+ * message: "STRING_VALUE", // required
81
+ * },
82
+ * ],
83
+ * sequenceToken: "STRING_VALUE",
84
+ * };
74
85
  * const command = new PutLogEventsCommand(input);
75
86
  * const response = await client.send(command);
76
87
  * ```
@@ -48,6 +48,23 @@ 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 = {
52
+ * logGroupName: "STRING_VALUE", // required
53
+ * filterName: "STRING_VALUE", // required
54
+ * filterPattern: "STRING_VALUE", // required
55
+ * metricTransformations: [ // required
56
+ * {
57
+ * metricName: "STRING_VALUE", // required
58
+ * metricNamespace: "STRING_VALUE", // required
59
+ * metricValue: "STRING_VALUE", // required
60
+ * defaultValue: Number("double"),
61
+ * dimensions: {
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
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",
65
+ * },
66
+ * ],
67
+ * };
51
68
  * const command = new PutMetricFilterCommand(input);
52
69
  * const response = await client.send(command);
53
70
  * ```
@@ -36,6 +36,14 @@ 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 = {
40
+ * name: "STRING_VALUE", // required
41
+ * queryDefinitionId: "STRING_VALUE",
42
+ * logGroupNames: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * queryString: "STRING_VALUE", // required
46
+ * };
39
47
  * const command = new PutQueryDefinitionCommand(input);
40
48
  * const response = await client.send(command);
41
49
  * ```
@@ -28,6 +28,10 @@ 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 = {
32
+ * policyName: "STRING_VALUE",
33
+ * policyDocument: "STRING_VALUE",
34
+ * };
31
35
  * const command = new PutResourcePolicyCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -40,6 +40,10 @@ 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 = {
44
+ * logGroupName: "STRING_VALUE", // required
45
+ * retentionInDays: Number("int"), // required
46
+ * };
43
47
  * const command = new PutRetentionPolicyCommand(input);
44
48
  * const response = await client.send(command);
45
49
  * ```
@@ -53,6 +53,14 @@ 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 = {
57
+ * logGroupName: "STRING_VALUE", // required
58
+ * filterName: "STRING_VALUE", // required
59
+ * filterPattern: "STRING_VALUE", // required
60
+ * destinationArn: "STRING_VALUE", // required
61
+ * roleArn: "STRING_VALUE",
62
+ * distribution: "Random" || "ByLogStream",
63
+ * };
56
64
  * const command = new PutSubscriptionFilterCommand(input);
57
65
  * const response = await client.send(command);
58
66
  * ```
@@ -37,6 +37,19 @@ 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 = {
41
+ * logGroupName: "STRING_VALUE",
42
+ * logGroupNames: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * logGroupIdentifiers: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * startTime: Number("long"), // required
49
+ * endTime: Number("long"), // required
50
+ * queryString: "STRING_VALUE", // required
51
+ * limit: Number("int"),
52
+ * };
40
53
  * const command = new StartQueryCommand(input);
41
54
  * const response = await client.send(command);
42
55
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * queryId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new StopQueryCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -41,6 +41,12 @@ 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 = {
45
+ * logGroupName: "STRING_VALUE", // required
46
+ * tags: { // required
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * };
44
50
  * const command = new TagLogGroupCommand(input);
45
51
  * const response = await client.send(command);
46
52
  * ```
@@ -37,6 +37,12 @@ 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 = {
41
+ * resourceArn: "STRING_VALUE", // required
42
+ * tags: { // required
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * };
40
46
  * const command = new TagResourceCommand(input);
41
47
  * const response = await client.send(command);
42
48
  * ```
@@ -27,6 +27,12 @@ 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 = {
31
+ * filterPattern: "STRING_VALUE", // required
32
+ * logEventMessages: [ // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
30
36
  * const command = new TestMetricFilterCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -38,6 +38,12 @@ 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 = {
42
+ * logGroupName: "STRING_VALUE", // required
43
+ * tags: [ // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
41
47
  * const command = new UntagLogGroupCommand(input);
42
48
  * const response = await client.send(command);
43
49
  * ```
@@ -26,6 +26,12 @@ 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 = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },