@aws-sdk/client-cloudwatch-logs 3.199.0 → 3.200.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 (36) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CloudWatchLogs.js +45 -0
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  4. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  5. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +33 -3
  8. package/dist-cjs/protocols/Aws_json1_1.js +194 -2
  9. package/dist-es/CloudWatchLogs.js +45 -0
  10. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  11. package/dist-es/commands/TagResourceCommand.js +42 -0
  12. package/dist-es/commands/UntagResourceCommand.js +42 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +25 -0
  15. package/dist-es/protocols/Aws_json1_1.js +187 -1
  16. package/dist-types/CloudWatchLogs.d.ts +60 -18
  17. package/dist-types/CloudWatchLogsClient.d.ts +5 -2
  18. package/dist-types/commands/CreateExportTaskCommand.d.ts +2 -11
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  20. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +7 -1
  21. package/dist-types/commands/TagLogGroupCommand.d.ts +9 -3
  22. package/dist-types/commands/TagResourceCommand.d.ts +48 -0
  23. package/dist-types/commands/UntagLogGroupCommand.d.ts +9 -3
  24. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +102 -2
  27. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  28. package/dist-types/ts3.4/CloudWatchLogs.d.ts +51 -0
  29. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +20 -2
  30. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  31. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
  32. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  36. package/package.json +28 -28
@@ -28,6 +28,7 @@ import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/
28
28
  import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
29
29
  import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
30
30
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
31
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
32
  import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
32
33
  import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
33
34
  import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
@@ -40,8 +41,10 @@ import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput }
40
41
  import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
41
42
  import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
42
43
  import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
44
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
43
45
  import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
44
46
  import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
47
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
45
48
  /**
46
49
  * <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
47
50
  * EC2 instances, CloudTrail, and other sources. You can then retrieve the associated
@@ -109,12 +112,6 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
109
112
  * log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
110
113
  * operation, you must use credentials that have permission to write to the S3 bucket
111
114
  * that you specify as the destination.</p>
112
- * <important>
113
- * <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not
114
- * supported. Exporting
115
- * log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p>
116
- * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
117
- * </important>
118
115
  * <p>This is an asynchronous call. If all the required information is provided, this
119
116
  * operation initiates an export task and responds with the ID of the task. After the task has started,
120
117
  * you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
@@ -123,11 +120,8 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
123
120
  * <p>You can export logs from multiple log groups or multiple time ranges to the same S3
124
121
  * bucket. To separate out log data for each export task, you can specify a prefix to be used as
125
122
  * the Amazon S3 key prefix for all exported objects.</p>
126
- *
127
- * <note>
128
- * <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
129
- * exported log fild data by using Linux utilities.</p>
130
- * </note>
123
+ * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets
124
+ * encrypted with SSE-KMS is not supported. </p>
131
125
  */
132
126
  createExportTask(args: CreateExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportTaskCommandOutput>;
133
127
  createExportTask(args: CreateExportTaskCommandInput, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
@@ -390,7 +384,20 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
390
384
  getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
391
385
  getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
392
386
  /**
393
- * <p>Lists the tags for the specified log group.</p>
387
+ * <p>Displays the tags associated with a CloudWatch Logs resource. Currently, log groups
388
+ * and destinations support tagging.</p>
389
+ */
390
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
391
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
392
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
393
+ /**
394
+ * @deprecated
395
+ *
396
+ * <important>
397
+ * <p>The ListTagsLogGroup operation is on the path to deprecation. We recommend that you use
398
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> instead.</p>
399
+ * </important>
400
+ * <p>Lists the tags for the specified log group.</p>
394
401
  */
395
402
  listTagsLogGroup(args: ListTagsLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsLogGroupCommandOutput>;
396
403
  listTagsLogGroup(args: ListTagsLogGroupCommandInput, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
@@ -578,9 +585,15 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
578
585
  stopQuery(args: StopQueryCommandInput, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
579
586
  stopQuery(args: StopQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
580
587
  /**
581
- * <p>Adds or updates the specified tags for the specified log group.</p>
582
- * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
583
- * To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html">UntagLogGroup</a>.</p>
588
+ * @deprecated
589
+ *
590
+ * <important>
591
+ * <p>The TagLogGroup operation is on the path to deprecation. We recommend that you use
592
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a> instead.</p>
593
+ * </important>
594
+ * <p>Adds or updates the specified tags for the specified log group.</p>
595
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.
596
+ * To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
584
597
  * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging">Tag Log Groups in Amazon CloudWatch Logs</a>
585
598
  * in the <i>Amazon CloudWatch Logs User Guide</i>.</p>
586
599
  * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
@@ -592,6 +605,23 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
592
605
  tagLogGroup(args: TagLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<TagLogGroupCommandOutput>;
593
606
  tagLogGroup(args: TagLogGroupCommandInput, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
594
607
  tagLogGroup(args: TagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
608
+ /**
609
+ * <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs resource.
610
+ * Currently, the only CloudWatch Logs resources that
611
+ * can be tagged are log groups and destinations. </p>
612
+ * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
613
+ * permissions by granting a user
614
+ * permission to access or change only resources with certain tag values.</p>
615
+ * <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
616
+ * <p>You can use the <code>TagResource</code> action with a resource that already has tags. If you specify a new tag key for the alarm,
617
+ * this tag is appended to the list of tags associated
618
+ * with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
619
+ * the previous value for that tag.</p>
620
+ * <p>You can associate as many as 50 tags with a CloudWatch Logs resource.</p>
621
+ */
622
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
623
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
624
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
595
625
  /**
596
626
  * <p>Tests the filter pattern of a metric filter against a sample of log event messages. You
597
627
  * can use this operation to validate the correctness of a metric filter pattern.</p>
@@ -600,9 +630,15 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
600
630
  testMetricFilter(args: TestMetricFilterCommandInput, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
601
631
  testMetricFilter(args: TestMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
602
632
  /**
603
- * <p>Removes the specified tags from the specified log group.</p>
604
- * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
605
- * To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html">TagLogGroup</a>.</p>
633
+ * @deprecated
634
+ *
635
+ * <important>
636
+ * <p>The UntagLogGroup operation is on the path to deprecation. We recommend that you use
637
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a> instead.</p>
638
+ * </important>
639
+ * <p>Removes the specified tags from the specified log group.</p>
640
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.
641
+ * To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a>.</p>
606
642
  * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
607
643
  * log groups using the <code>aws:Resource/<i>key-name</i>
608
644
  * </code> or <code>aws:TagKeys</code> condition keys.
@@ -611,4 +647,10 @@ export declare class CloudWatchLogs extends CloudWatchLogsClient {
611
647
  untagLogGroup(args: UntagLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<UntagLogGroupCommandOutput>;
612
648
  untagLogGroup(args: UntagLogGroupCommandInput, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
613
649
  untagLogGroup(args: UntagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
650
+ /**
651
+ * <p>Removes one or more tags from the specified resource.</p>
652
+ */
653
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
654
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
655
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
614
656
  }
@@ -35,6 +35,7 @@ import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/
35
35
  import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
36
36
  import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
37
37
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
38
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
38
39
  import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
39
40
  import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
40
41
  import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
@@ -47,11 +48,13 @@ import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput }
47
48
  import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
48
49
  import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
49
50
  import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
51
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
50
52
  import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
51
53
  import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
54
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
52
55
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
53
- export declare type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateExportTaskCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteDestinationCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | ListTagsLogGroupCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TestMetricFilterCommandInput | UntagLogGroupCommandInput;
54
- export declare type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateExportTaskCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteDestinationCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | ListTagsLogGroupCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TestMetricFilterCommandOutput | UntagLogGroupCommandOutput;
56
+ export declare type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateExportTaskCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteDestinationCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput;
57
+ export declare type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateExportTaskCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteDestinationCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput;
55
58
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
56
59
  /**
57
60
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -12,12 +12,6 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
12
12
  * log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
13
13
  * operation, you must use credentials that have permission to write to the S3 bucket
14
14
  * that you specify as the destination.</p>
15
- * <important>
16
- * <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not
17
- * supported. Exporting
18
- * log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p>
19
- * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
20
- * </important>
21
15
  * <p>This is an asynchronous call. If all the required information is provided, this
22
16
  * operation initiates an export task and responds with the ID of the task. After the task has started,
23
17
  * you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
@@ -26,11 +20,8 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
26
20
  * <p>You can export logs from multiple log groups or multiple time ranges to the same S3
27
21
  * bucket. To separate out log data for each export task, you can specify a prefix to be used as
28
22
  * the Amazon S3 key prefix for all exported objects.</p>
29
- *
30
- * <note>
31
- * <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
32
- * exported log fild data by using Linux utilities.</p>
33
- * </note>
23
+ * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets
24
+ * encrypted with SSE-KMS is not supported. </p>
34
25
  * @example
35
26
  * Use a bare-bones client and the command you need to make an API call.
36
27
  * ```javascript
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
7
+ }
8
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Displays the tags associated with a CloudWatch Logs resource. Currently, log groups
12
+ * and destinations support tagging.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { CloudWatchLogsClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
17
+ * // const { CloudWatchLogsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
18
+ * const client = new CloudWatchLogsClient(config);
19
+ * const command = new ListTagsForResourceCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
24
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
25
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
29
+ readonly input: ListTagsForResourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListTagsForResourceCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -8,7 +8,13 @@ export interface ListTagsLogGroupCommandInput extends ListTagsLogGroupRequest {
8
8
  export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Lists the tags for the specified log group.</p>
11
+ * @deprecated
12
+ *
13
+ * <important>
14
+ * <p>The ListTagsLogGroup operation is on the path to deprecation. We recommend that you use
15
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> instead.</p>
16
+ * </important>
17
+ * <p>Lists the tags for the specified log group.</p>
12
18
  * @example
13
19
  * Use a bare-bones client and the command you need to make an API call.
14
20
  * ```javascript
@@ -8,9 +8,15 @@ export interface TagLogGroupCommandInput extends TagLogGroupRequest {
8
8
  export interface TagLogGroupCommandOutput extends __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Adds or updates the specified tags for the specified log group.</p>
12
- * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
13
- * To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html">UntagLogGroup</a>.</p>
11
+ * @deprecated
12
+ *
13
+ * <important>
14
+ * <p>The TagLogGroup operation is on the path to deprecation. We recommend that you use
15
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a> instead.</p>
16
+ * </important>
17
+ * <p>Adds or updates the specified tags for the specified log group.</p>
18
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.
19
+ * To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
14
20
  * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging">Tag Log Groups in Amazon CloudWatch Logs</a>
15
21
  * in the <i>Amazon CloudWatch Logs User Guide</i>.</p>
16
22
  * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
@@ -0,0 +1,48 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
+ import { TagResourceRequest } from "../models/models_0";
6
+ export interface TagResourceCommandInput extends TagResourceRequest {
7
+ }
8
+ export interface TagResourceCommandOutput extends __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs resource.
12
+ * Currently, the only CloudWatch Logs resources that
13
+ * can be tagged are log groups and destinations. </p>
14
+ * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
15
+ * permissions by granting a user
16
+ * permission to access or change only resources with certain tag values.</p>
17
+ * <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
18
+ * <p>You can use the <code>TagResource</code> action with a resource that already has tags. If you specify a new tag key for the alarm,
19
+ * this tag is appended to the list of tags associated
20
+ * with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
21
+ * the previous value for that tag.</p>
22
+ * <p>You can associate as many as 50 tags with a CloudWatch Logs resource.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { CloudWatchLogsClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
+ * // const { CloudWatchLogsClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
+ * const client = new CloudWatchLogsClient(config);
29
+ * const command = new TagResourceCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
34
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
35
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
36
+ *
37
+ */
38
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
39
+ readonly input: TagResourceCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
+ constructor(input: TagResourceCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -8,9 +8,15 @@ export interface UntagLogGroupCommandInput extends UntagLogGroupRequest {
8
8
  export interface UntagLogGroupCommandOutput extends __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Removes the specified tags from the specified log group.</p>
12
- * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
13
- * To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html">TagLogGroup</a>.</p>
11
+ * @deprecated
12
+ *
13
+ * <important>
14
+ * <p>The UntagLogGroup operation is on the path to deprecation. We recommend that you use
15
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a> instead.</p>
16
+ * </important>
17
+ * <p>Removes the specified tags from the specified log group.</p>
18
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>.
19
+ * To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a>.</p>
14
20
  * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
15
21
  * log groups using the <code>aws:Resource/<i>key-name</i>
16
22
  * </code> or <code>aws:TagKeys</code> condition keys.
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
+ import { UntagResourceRequest } from "../models/models_0";
6
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
7
+ }
8
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes one or more tags from the specified resource.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { CloudWatchLogsClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
16
+ * // const { CloudWatchLogsClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
17
+ * const client = new CloudWatchLogsClient(config);
18
+ * const command = new UntagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
28
+ readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UntagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -26,6 +26,7 @@ export * from "./GetLogEventsCommand";
26
26
  export * from "./GetLogGroupFieldsCommand";
27
27
  export * from "./GetLogRecordCommand";
28
28
  export * from "./GetQueryResultsCommand";
29
+ export * from "./ListTagsForResourceCommand";
29
30
  export * from "./ListTagsLogGroupCommand";
30
31
  export * from "./PutDestinationCommand";
31
32
  export * from "./PutDestinationPolicyCommand";
@@ -38,5 +39,7 @@ export * from "./PutSubscriptionFilterCommand";
38
39
  export * from "./StartQueryCommand";
39
40
  export * from "./StopQueryCommand";
40
41
  export * from "./TagLogGroupCommand";
42
+ export * from "./TagResourceCommand";
41
43
  export * from "./TestMetricFilterCommand";
42
44
  export * from "./UntagLogGroupCommand";
45
+ export * from "./UntagResourceCommand";
@@ -438,7 +438,7 @@ export interface LogGroup {
438
438
  creationTime?: number;
439
439
  /**
440
440
  * <p>The number of days to retain the log events in the specified log group.
441
- * Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
441
+ * Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
442
442
  * <p>To set a log group to never have log events expire, use
443
443
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
444
444
  * </p>
@@ -1281,6 +1281,28 @@ export declare class InvalidSequenceTokenException extends __BaseException {
1281
1281
  */
1282
1282
  constructor(opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>);
1283
1283
  }
1284
+ export interface ListTagsForResourceRequest {
1285
+ /**
1286
+ * <p>The ARN of the resource that you want to view tags for.</p>
1287
+ * <p>The ARN format of a log group is
1288
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
1289
+ * </code>
1290
+ * </p>
1291
+ * <p>The ARN format of a destination is
1292
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:destination:<i>destination-name</i>
1293
+ * </code>
1294
+ * </p>
1295
+ * <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
1296
+ * resources and operations</a>.</p>
1297
+ */
1298
+ resourceArn: string | undefined;
1299
+ }
1300
+ export interface ListTagsForResourceResponse {
1301
+ /**
1302
+ * <p>The list of tags associated with the requested resource.></p>
1303
+ */
1304
+ tags?: Record<string, string>;
1305
+ }
1284
1306
  export interface ListTagsLogGroupRequest {
1285
1307
  /**
1286
1308
  * <p>The name of the log group.</p>
@@ -1307,6 +1329,13 @@ export interface PutDestinationRequest {
1307
1329
  * Kinesis <code>PutRecord</code> operation on the destination stream.</p>
1308
1330
  */
1309
1331
  roleArn: string | undefined;
1332
+ /**
1333
+ * <p>An optional list of key-value pairs to associate with the resource.</p>
1334
+ * <p>For more information about tagging, see
1335
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
1336
+ * </p>
1337
+ */
1338
+ tags?: Record<string, string>;
1310
1339
  }
1311
1340
  export interface PutDestinationResponse {
1312
1341
  /**
@@ -1512,7 +1541,7 @@ export interface PutRetentionPolicyRequest {
1512
1541
  logGroupName: string | undefined;
1513
1542
  /**
1514
1543
  * <p>The number of days to retain the log events in the specified log group.
1515
- * Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
1544
+ * Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>
1516
1545
  * <p>To set a log group to never have log events expire, use
1517
1546
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>.
1518
1547
  * </p>
@@ -1683,6 +1712,41 @@ export interface TagLogGroupRequest {
1683
1712
  */
1684
1713
  tags: Record<string, string> | undefined;
1685
1714
  }
1715
+ export interface TagResourceRequest {
1716
+ /**
1717
+ * <p>The ARN of the resource that you're adding tags to.</p>
1718
+ * <p>The ARN format of a log group is
1719
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
1720
+ * </code>
1721
+ * </p>
1722
+ * <p>The ARN format of a destination is
1723
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:destination:<i>destination-name</i>
1724
+ * </code>
1725
+ * </p>
1726
+ * <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
1727
+ * resources and operations</a>.</p>
1728
+ */
1729
+ resourceArn: string | undefined;
1730
+ /**
1731
+ * <p>The list of key-value pairs to associate with the resource.</p>
1732
+ */
1733
+ tags: Record<string, string> | undefined;
1734
+ }
1735
+ /**
1736
+ * <p>A resource can have no more than 50 tags.</p>
1737
+ */
1738
+ export declare class TooManyTagsException extends __BaseException {
1739
+ readonly name: "TooManyTagsException";
1740
+ readonly $fault: "client";
1741
+ /**
1742
+ * <p>The name of the resource.</p>
1743
+ */
1744
+ resourceName?: string;
1745
+ /**
1746
+ * @internal
1747
+ */
1748
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1749
+ }
1686
1750
  export interface TestMetricFilterRequest {
1687
1751
  /**
1688
1752
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
@@ -1728,6 +1792,26 @@ export interface UntagLogGroupRequest {
1728
1792
  */
1729
1793
  tags: string[] | undefined;
1730
1794
  }
1795
+ export interface UntagResourceRequest {
1796
+ /**
1797
+ * <p>The ARN of the CloudWatch Logs resource that you're removing tags from.</p>
1798
+ * <p>The ARN format of a log group is
1799
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
1800
+ * </code>
1801
+ * </p>
1802
+ * <p>The ARN format of a destination is
1803
+ * <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:destination:<i>destination-name</i>
1804
+ * </code>
1805
+ * </p>
1806
+ * <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
1807
+ * resources and operations</a>.</p>
1808
+ */
1809
+ resourceArn: string | undefined;
1810
+ /**
1811
+ * <p>The list of tag keys to remove from the resource.</p>
1812
+ */
1813
+ tagKeys: string[] | undefined;
1814
+ }
1731
1815
  /**
1732
1816
  * @internal
1733
1817
  */
@@ -1980,6 +2064,14 @@ export declare const GetQueryResultsResponseFilterSensitiveLog: (obj: GetQueryRe
1980
2064
  * @internal
1981
2065
  */
1982
2066
  export declare const InputLogEventFilterSensitiveLog: (obj: InputLogEvent) => any;
2067
+ /**
2068
+ * @internal
2069
+ */
2070
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2071
+ /**
2072
+ * @internal
2073
+ */
2074
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1983
2075
  /**
1984
2076
  * @internal
1985
2077
  */
@@ -2068,6 +2160,10 @@ export declare const StopQueryResponseFilterSensitiveLog: (obj: StopQueryRespons
2068
2160
  * @internal
2069
2161
  */
2070
2162
  export declare const TagLogGroupRequestFilterSensitiveLog: (obj: TagLogGroupRequest) => any;
2163
+ /**
2164
+ * @internal
2165
+ */
2166
+ export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
2071
2167
  /**
2072
2168
  * @internal
2073
2169
  */
@@ -2084,3 +2180,7 @@ export declare const TestMetricFilterResponseFilterSensitiveLog: (obj: TestMetri
2084
2180
  * @internal
2085
2181
  */
2086
2182
  export declare const UntagLogGroupRequestFilterSensitiveLog: (obj: UntagLogGroupRequest) => any;
2183
+ /**
2184
+ * @internal
2185
+ */
2186
+ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;