@aws-sdk/client-cloudwatch-logs 3.36.0 → 3.39.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 (122) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudWatchLogs.js +0 -36
  3. package/dist-cjs/CloudWatchLogsClient.js +0 -41
  4. package/dist-cjs/commands/AssociateKmsKeyCommand.js +0 -36
  5. package/dist-cjs/commands/CancelExportTaskCommand.js +0 -25
  6. package/dist-cjs/commands/CreateExportTaskCommand.js +0 -37
  7. package/dist-cjs/commands/CreateLogGroupCommand.js +0 -50
  8. package/dist-cjs/commands/CreateLogStreamCommand.js +0 -40
  9. package/dist-cjs/commands/DeleteDestinationCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteLogGroupCommand.js +0 -25
  11. package/dist-cjs/commands/DeleteLogStreamCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteMetricFilterCommand.js +0 -24
  13. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +0 -28
  14. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeDestinationsCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeExportTasksCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeLogGroupsCommand.js +0 -32
  20. package/dist-cjs/commands/DescribeLogStreamsCommand.js +0 -27
  21. package/dist-cjs/commands/DescribeMetricFiltersCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeQueriesCommand.js +0 -26
  23. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +0 -26
  24. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +0 -24
  25. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +0 -25
  26. package/dist-cjs/commands/DisassociateKmsKeyCommand.js +0 -27
  27. package/dist-cjs/commands/FilterLogEventsCommand.js +0 -32
  28. package/dist-cjs/commands/GetLogEventsCommand.js +0 -29
  29. package/dist-cjs/commands/GetLogGroupFieldsCommand.js +0 -31
  30. package/dist-cjs/commands/GetLogRecordCommand.js +0 -27
  31. package/dist-cjs/commands/GetQueryResultsCommand.js +0 -34
  32. package/dist-cjs/commands/ListTagsLogGroupCommand.js +0 -24
  33. package/dist-cjs/commands/PutDestinationCommand.js +0 -33
  34. package/dist-cjs/commands/PutDestinationPolicyCommand.js +0 -29
  35. package/dist-cjs/commands/PutLogEventsCommand.js +0 -61
  36. package/dist-cjs/commands/PutMetricFilterCommand.js +0 -46
  37. package/dist-cjs/commands/PutQueryDefinitionCommand.js +0 -35
  38. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -26
  39. package/dist-cjs/commands/PutRetentionPolicyCommand.js +0 -26
  40. package/dist-cjs/commands/PutSubscriptionFilterCommand.js +0 -52
  41. package/dist-cjs/commands/StartQueryCommand.js +0 -29
  42. package/dist-cjs/commands/StopQueryCommand.js +0 -25
  43. package/dist-cjs/commands/TagLogGroupCommand.js +0 -33
  44. package/dist-cjs/commands/TestMetricFilterCommand.js +0 -25
  45. package/dist-cjs/commands/UntagLogGroupCommand.js +0 -30
  46. package/dist-cjs/commands/index.js +45 -0
  47. package/dist-cjs/endpoints.js +6 -1
  48. package/dist-cjs/index.js +4 -52
  49. package/dist-cjs/models/models_0.js +0 -300
  50. package/dist-cjs/pagination/DescribeDestinationsPaginator.js +0 -10
  51. package/dist-cjs/pagination/DescribeLogGroupsPaginator.js +0 -10
  52. package/dist-cjs/pagination/DescribeLogStreamsPaginator.js +0 -10
  53. package/dist-cjs/pagination/DescribeMetricFiltersPaginator.js +0 -10
  54. package/dist-cjs/pagination/DescribeSubscriptionFiltersPaginator.js +0 -10
  55. package/dist-cjs/pagination/FilterLogEventsPaginator.js +0 -10
  56. package/dist-cjs/pagination/GetLogEventsPaginator.js +0 -10
  57. package/dist-cjs/pagination/index.js +11 -0
  58. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  59. package/dist-cjs/runtimeConfig.browser.js +1 -5
  60. package/dist-cjs/runtimeConfig.js +1 -5
  61. package/dist-cjs/runtimeConfig.native.js +0 -3
  62. package/dist-cjs/runtimeConfig.shared.js +0 -3
  63. package/dist-es/commands/index.js +42 -0
  64. package/dist-es/endpoints.js +6 -1
  65. package/dist-es/index.js +4 -52
  66. package/dist-es/pagination/index.js +8 -0
  67. package/dist-types/commands/index.d.ts +42 -0
  68. package/dist-types/index.d.ts +4 -52
  69. package/dist-types/pagination/index.d.ts +8 -0
  70. package/dist-types/ts3.4/CloudWatchLogs.d.ts +43 -433
  71. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -122
  72. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +2 -32
  73. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +2 -33
  75. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +2 -46
  76. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +2 -36
  77. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +2 -22
  78. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +2 -21
  79. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +2 -21
  80. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +2 -24
  82. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -21
  83. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +2 -21
  84. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +2 -28
  88. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +2 -23
  89. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +2 -22
  90. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +2 -22
  91. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +2 -22
  92. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +2 -28
  96. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +2 -25
  97. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +2 -27
  98. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +2 -23
  99. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +2 -30
  100. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +2 -29
  102. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +2 -25
  103. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +2 -57
  104. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +2 -42
  105. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +2 -31
  106. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -22
  107. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +2 -22
  108. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +2 -48
  109. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +2 -25
  110. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +2 -29
  112. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +2 -26
  114. package/dist-types/ts3.4/commands/index.d.ts +42 -0
  115. package/dist-types/ts3.4/index.d.ts +4 -52
  116. package/dist-types/ts3.4/models/models_0.d.ts +392 -1434
  117. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  118. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  119. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  120. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  121. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  122. package/package.json +32 -32
@@ -6,30 +6,11 @@ export interface DeleteRetentionPolicyCommandInput extends DeleteRetentionPolicy
6
6
  }
7
7
  export interface DeleteRetentionPolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified retention policy.</p>
11
- * <p>Log events do not expire if they belong to log groups without a retention policy.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchLogsClient, DeleteRetentionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
16
- * // const { CloudWatchLogsClient, DeleteRetentionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
17
- * const client = new CloudWatchLogsClient(config);
18
- * const command = new DeleteRetentionPolicyCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteRetentionPolicyCommandInput} for command's `input` shape.
23
- * @see {@link DeleteRetentionPolicyCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DeleteRetentionPolicyCommand extends $Command<DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
28
11
  readonly input: DeleteRetentionPolicyCommandInput;
29
12
  constructor(input: DeleteRetentionPolicyCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteSubscriptionFilterCommandInput extends DeleteSubscription
6
6
  }
7
7
  export interface DeleteSubscriptionFilterCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified subscription filter.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
15
- * // const { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
16
- * const client = new CloudWatchLogsClient(config);
17
- * const command = new DeleteSubscriptionFilterCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteSubscriptionFilterCommandInput} for command's `input` shape.
22
- * @see {@link DeleteSubscriptionFilterCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteSubscriptionFilterCommand extends $Command<DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
27
11
  readonly input: DeleteSubscriptionFilterCommandInput;
28
12
  constructor(input: DeleteSubscriptionFilterCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeDestinationsCommandInput extends DescribeDestinationsRe
6
6
  }
7
7
  export interface DescribeDestinationsCommandOutput extends DescribeDestinationsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists all your destinations. The results are ASCII-sorted by destination name.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchLogsClient, DescribeDestinationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
15
- * // const { CloudWatchLogsClient, DescribeDestinationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
16
- * const client = new CloudWatchLogsClient(config);
17
- * const command = new DescribeDestinationsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeDestinationsCommandInput} for command's `input` shape.
22
- * @see {@link DescribeDestinationsCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeDestinationsCommand extends $Command<DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput, CloudWatchLogsClientResolvedConfig> {
27
11
  readonly input: DescribeDestinationsCommandInput;
28
12
  constructor(input: DescribeDestinationsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DescribeExportTasksCommandInput extends DescribeExportTasksRequ
6
6
  }
7
7
  export interface DescribeExportTasksCommandOutput extends DescribeExportTasksResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the specified export tasks. You can list all your export tasks or filter
11
- * the results based on task ID or task status.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchLogsClient, DescribeExportTasksCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
16
- * // const { CloudWatchLogsClient, DescribeExportTasksCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
17
- * const client = new CloudWatchLogsClient(config);
18
- * const command = new DescribeExportTasksCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeExportTasksCommandInput} for command's `input` shape.
23
- * @see {@link DescribeExportTasksCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DescribeExportTasksCommand extends $Command<DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput, CloudWatchLogsClientResolvedConfig> {
28
11
  readonly input: DescribeExportTasksCommandInput;
29
12
  constructor(input: DescribeExportTasksCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,37 +6,11 @@ export interface DescribeLogGroupsCommandInput extends DescribeLogGroupsRequest
6
6
  }
7
7
  export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the specified log groups. You can list all your log groups or filter the results by prefix.
11
- * The results are ASCII-sorted by log group name.</p>
12
- * <p>CloudWatch Logs doesn’t support IAM policies that control access to the <code>DescribeLogGroups</code> action by using the
13
- * <code>aws:ResourceTag/<i>key-name</i>
14
- * </code> condition key. Other CloudWatch Logs actions
15
- * do support the use of the <code>aws:ResourceTag/<i>key-name</i>
16
- * </code> condition key to control access.
17
- * For more information about using tags to control access, see
18
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CloudWatchLogsClient, DescribeLogGroupsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
23
- * // const { CloudWatchLogsClient, DescribeLogGroupsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
24
- * const client = new CloudWatchLogsClient(config);
25
- * const command = new DescribeLogGroupsCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link DescribeLogGroupsCommandInput} for command's `input` shape.
30
- * @see {@link DescribeLogGroupsCommandOutput} for command's `response` shape.
31
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
9
+
34
10
  export declare class DescribeLogGroupsCommand extends $Command<DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
11
  readonly input: DescribeLogGroupsCommandInput;
36
12
  constructor(input: DescribeLogGroupsCommandInput);
37
- /**
38
- * @internal
39
- */
13
+
40
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput>;
41
15
  private serialize;
42
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface DescribeLogStreamsCommandInput extends DescribeLogStreamsReques
6
6
  }
7
7
  export interface DescribeLogStreamsCommandOutput extends DescribeLogStreamsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the log streams for the specified log group.
11
- * You can list all the log streams or filter the results by prefix.
12
- * You can also control how the results are ordered.</p>
13
- * <p>This operation has a limit of five transactions per second, after which transactions are throttled.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchLogsClient, DescribeLogStreamsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
18
- * // const { CloudWatchLogsClient, DescribeLogStreamsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
19
- * const client = new CloudWatchLogsClient(config);
20
- * const command = new DescribeLogStreamsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeLogStreamsCommandInput} for command's `input` shape.
25
- * @see {@link DescribeLogStreamsCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class DescribeLogStreamsCommand extends $Command<DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput, CloudWatchLogsClientResolvedConfig> {
30
11
  readonly input: DescribeLogStreamsCommandInput;
31
12
  constructor(input: DescribeLogStreamsCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeMetricFiltersCommandInput extends DescribeMetricFilters
6
6
  }
7
7
  export interface DescribeMetricFiltersCommandOutput extends DescribeMetricFiltersResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the specified metric filters. You can list all of the metric filters or filter
11
- * the results by log name, prefix, metric name, or metric namespace. The results are
12
- * ASCII-sorted by filter name.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchLogsClient, DescribeMetricFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
17
- * // const { CloudWatchLogsClient, DescribeMetricFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
18
- * const client = new CloudWatchLogsClient(config);
19
- * const command = new DescribeMetricFiltersCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeMetricFiltersCommandInput} for command's `input` shape.
24
- * @see {@link DescribeMetricFiltersCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeMetricFiltersCommand extends $Command<DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput, CloudWatchLogsClientResolvedConfig> {
29
11
  readonly input: DescribeMetricFiltersCommandInput;
30
12
  constructor(input: DescribeMetricFiltersCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeQueriesCommandInput extends DescribeQueriesRequest {
6
6
  }
7
7
  export interface DescribeQueriesCommandOutput extends DescribeQueriesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have
11
- * been executed recently in this account. You can request all queries or limit it to queries of
12
- * a specific log group or queries with a certain status.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchLogsClient, DescribeQueriesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
17
- * // const { CloudWatchLogsClient, DescribeQueriesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
18
- * const client = new CloudWatchLogsClient(config);
19
- * const command = new DescribeQueriesCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeQueriesCommandInput} for command's `input` shape.
24
- * @see {@link DescribeQueriesCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeQueriesCommand extends $Command<DescribeQueriesCommandInput, DescribeQueriesCommandOutput, CloudWatchLogsClientResolvedConfig> {
29
11
  readonly input: DescribeQueriesCommandInput;
30
12
  constructor(input: DescribeQueriesCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeQueriesCommandInput, DescribeQueriesCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeQueryDefinitionsCommandInput extends DescribeQueryDefin
6
6
  }
7
7
  export interface DescribeQueryDefinitionsCommandOutput extends DescribeQueryDefinitionsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.</p>
11
- * <p>You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results to only the
12
- * query definitions that have names that start with a certain string.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
17
- * // const { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
18
- * const client = new CloudWatchLogsClient(config);
19
- * const command = new DescribeQueryDefinitionsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeQueryDefinitionsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeQueryDefinitionsCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeQueryDefinitionsCommand extends $Command<DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOutput, CloudWatchLogsClientResolvedConfig> {
29
11
  readonly input: DescribeQueryDefinitionsCommandInput;
30
12
  constructor(input: DescribeQueryDefinitionsCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeResourcePoliciesCommandInput extends DescribeResourcePo
6
6
  }
7
7
  export interface DescribeResourcePoliciesCommandOutput extends DescribeResourcePoliciesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the resource policies in this account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchLogsClient, DescribeResourcePoliciesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
15
- * // const { CloudWatchLogsClient, DescribeResourcePoliciesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
16
- * const client = new CloudWatchLogsClient(config);
17
- * const command = new DescribeResourcePoliciesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeResourcePoliciesCommandInput} for command's `input` shape.
22
- * @see {@link DescribeResourcePoliciesCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeResourcePoliciesCommand extends $Command<DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput, CloudWatchLogsClientResolvedConfig> {
27
11
  readonly input: DescribeResourcePoliciesCommandInput;
28
12
  constructor(input: DescribeResourcePoliciesCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DescribeSubscriptionFiltersCommandInput extends DescribeSubscri
6
6
  }
7
7
  export interface DescribeSubscriptionFiltersCommandOutput extends DescribeSubscriptionFiltersResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix.
11
- * The results are ASCII-sorted by filter name.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
16
- * // const { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
17
- * const client = new CloudWatchLogsClient(config);
18
- * const command = new DescribeSubscriptionFiltersCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeSubscriptionFiltersCommandInput} for command's `input` shape.
23
- * @see {@link DescribeSubscriptionFiltersCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DescribeSubscriptionFiltersCommand extends $Command<DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput, CloudWatchLogsClientResolvedConfig> {
28
11
  readonly input: DescribeSubscriptionFiltersCommandInput;
29
12
  constructor(input: DescribeSubscriptionFiltersCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface DisassociateKmsKeyCommandInput extends DisassociateKmsKeyReques
6
6
  }
7
7
  export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Disassociates the associated Key Management Service customer master key (CMK) from the specified log group.</p>
11
- * <p>After the KMS CMK is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group.
12
- * All previously ingested data remains encrypted, and CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.</p>
13
- * <p>Note that it can take up to 5 minutes for this operation to take effect.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchLogsClient, DisassociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
18
- * // const { CloudWatchLogsClient, DisassociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
19
- * const client = new CloudWatchLogsClient(config);
20
- * const command = new DisassociateKmsKeyCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DisassociateKmsKeyCommandInput} for command's `input` shape.
25
- * @see {@link DisassociateKmsKeyCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class DisassociateKmsKeyCommand extends $Command<DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig> {
30
11
  readonly input: DisassociateKmsKeyCommandInput;
31
12
  constructor(input: DisassociateKmsKeyCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,37 +6,11 @@ export interface FilterLogEventsCommandInput extends FilterLogEventsRequest {
6
6
  }
7
7
  export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists log events from the specified log group. You can list all the log events or filter the results
11
- * using a filter pattern, a time range, and the name of the log stream.</p>
12
- * <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
13
- * log events) or all the events found within the time range that you specify. If the results
14
- * include a token, then there are more log events available, and you can get additional results
15
- * by specifying the token in a subsequent call. This operation can return empty results
16
- * while there are more log events available through the token.</p>
17
- * <p>The returned log events are sorted by event timestamp, the timestamp when the event was ingested
18
- * by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CloudWatchLogsClient, FilterLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
23
- * // const { CloudWatchLogsClient, FilterLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
24
- * const client = new CloudWatchLogsClient(config);
25
- * const command = new FilterLogEventsCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link FilterLogEventsCommandInput} for command's `input` shape.
30
- * @see {@link FilterLogEventsCommandOutput} for command's `response` shape.
31
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
9
+
34
10
  export declare class FilterLogEventsCommand extends $Command<FilterLogEventsCommandInput, FilterLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
35
11
  readonly input: FilterLogEventsCommandInput;
36
12
  constructor(input: FilterLogEventsCommandInput);
37
- /**
38
- * @internal
39
- */
13
+
40
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<FilterLogEventsCommandInput, FilterLogEventsCommandOutput>;
41
15
  private serialize;
42
16
  private deserialize;
@@ -6,34 +6,11 @@ export interface GetLogEventsCommandInput extends GetLogEventsRequest {
6
6
  }
7
7
  export interface GetLogEventsCommandOutput extends GetLogEventsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists log events from the specified log stream. You can list all of the log events or
11
- * filter using a time range.</p>
12
- *
13
- * <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events).
14
- * You can get additional log events by specifying one of the tokens in a subsequent call.
15
- * This operation can return empty results while there are more log events available through the token.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { CloudWatchLogsClient, GetLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
20
- * // const { CloudWatchLogsClient, GetLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
21
- * const client = new CloudWatchLogsClient(config);
22
- * const command = new GetLogEventsCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link GetLogEventsCommandInput} for command's `input` shape.
27
- * @see {@link GetLogEventsCommandOutput} for command's `response` shape.
28
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class GetLogEventsCommand extends $Command<GetLogEventsCommandInput, GetLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
32
11
  readonly input: GetLogEventsCommandInput;
33
12
  constructor(input: GetLogEventsCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLogEventsCommandInput, GetLogEventsCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,36 +6,11 @@ export interface GetLogGroupFieldsCommandInput extends GetLogGroupFieldsRequest
6
6
  }
7
7
  export interface GetLogGroupFieldsCommandOutput extends GetLogGroupFieldsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events
11
- * that contain each field. The search is limited to a time period that you specify.</p>
12
- * <p>In the results, fields that start with @ are fields generated by CloudWatch Logs. For
13
- * example, <code>@timestamp</code> is the timestamp of each log event. For more information about the fields that are
14
- * generated by CloudWatch logs, see
15
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported Logs and Discovered Fields</a>.</p>
16
- * <p>The response results are sorted by the frequency percentage, starting
17
- * with the highest percentage.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { CloudWatchLogsClient, GetLogGroupFieldsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
22
- * // const { CloudWatchLogsClient, GetLogGroupFieldsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
23
- * const client = new CloudWatchLogsClient(config);
24
- * const command = new GetLogGroupFieldsCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link GetLogGroupFieldsCommandInput} for command's `input` shape.
29
- * @see {@link GetLogGroupFieldsCommandOutput} for command's `response` shape.
30
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class GetLogGroupFieldsCommand extends $Command<GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput, CloudWatchLogsClientResolvedConfig> {
34
11
  readonly input: GetLogGroupFieldsCommandInput;
35
12
  constructor(input: GetLogGroupFieldsCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface GetLogRecordCommandInput extends GetLogRecordRequest {
6
6
  }
7
7
  export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves all of the fields and values of a single log event. All fields are retrieved,
11
- * even if the original query that produced the <code>logRecordPointer</code> retrieved only a
12
- * subset of fields. Fields are returned as field name/field value pairs.</p>
13
- * <p>The full unparsed log event is returned within <code>@message</code>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchLogsClient, GetLogRecordCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
18
- * // const { CloudWatchLogsClient, GetLogRecordCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
19
- * const client = new CloudWatchLogsClient(config);
20
- * const command = new GetLogRecordCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link GetLogRecordCommandInput} for command's `input` shape.
25
- * @see {@link GetLogRecordCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class GetLogRecordCommand extends $Command<GetLogRecordCommandInput, GetLogRecordCommandOutput, CloudWatchLogsClientResolvedConfig> {
30
11
  readonly input: GetLogRecordCommandInput;
31
12
  constructor(input: GetLogRecordCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLogRecordCommandInput, GetLogRecordCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,39 +6,11 @@ export interface GetQueryResultsCommandInput extends GetQueryResultsRequest {
6
6
  }
7
7
  export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the results from the specified query.</p>
11
- * <p>Only the fields requested in the query are returned, along with a <code>@ptr</code>
12
- * field, which is the identifier for the log record. You can use the value of <code>@ptr</code>
13
- * in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html">GetLogRecord</a>
14
- * operation to get the full log record.</p>
15
- * <p>
16
- * <code>GetQueryResults</code>
17
- * does not start a query execution. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>.</p>
18
- * <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation
19
- * returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status,
20
- * you can retry the operation later to see the final results. </p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { CloudWatchLogsClient, GetQueryResultsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
25
- * // const { CloudWatchLogsClient, GetQueryResultsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
26
- * const client = new CloudWatchLogsClient(config);
27
- * const command = new GetQueryResultsCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link GetQueryResultsCommandInput} for command's `input` shape.
32
- * @see {@link GetQueryResultsCommandOutput} for command's `response` shape.
33
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
9
+
36
10
  export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudWatchLogsClientResolvedConfig> {
37
11
  readonly input: GetQueryResultsCommandInput;
38
12
  constructor(input: GetQueryResultsCommandInput);
39
- /**
40
- * @internal
41
- */
13
+
42
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueryResultsCommandInput, GetQueryResultsCommandOutput>;
43
15
  private serialize;
44
16
  private deserialize;