@aws-sdk/client-cloudwatch-logs 3.199.0 → 3.201.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.
- package/CHANGELOG.md +22 -0
- package/dist-cjs/CloudWatchLogs.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/models/models_0.js +33 -3
- package/dist-cjs/protocols/Aws_json1_1.js +201 -13
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/dist-es/CloudWatchLogs.js +45 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +25 -0
- package/dist-es/protocols/Aws_json1_1.js +187 -1
- package/dist-types/CloudWatchLogs.d.ts +60 -18
- package/dist-types/CloudWatchLogsClient.d.ts +5 -2
- package/dist-types/commands/CreateExportTaskCommand.d.ts +2 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +7 -1
- package/dist-types/commands/TagLogGroupCommand.d.ts +9 -3
- package/dist-types/commands/TagResourceCommand.d.ts +48 -0
- package/dist-types/commands/UntagLogGroupCommand.d.ts +9 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +102 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +51 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-cloudwatch-logs:** SDK release to support tagging for destinations and log groups with TagResource. Also supports tag on create with PutDestination. ([c97217f](https://github.com/aws/aws-sdk-js-v3/commit/c97217fa2fc1f789550a7f8042a3a4bc3ace46e0))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
@@ -30,6 +30,7 @@ const GetLogEventsCommand_1 = require("./commands/GetLogEventsCommand");
|
|
|
30
30
|
const GetLogGroupFieldsCommand_1 = require("./commands/GetLogGroupFieldsCommand");
|
|
31
31
|
const GetLogRecordCommand_1 = require("./commands/GetLogRecordCommand");
|
|
32
32
|
const GetQueryResultsCommand_1 = require("./commands/GetQueryResultsCommand");
|
|
33
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
33
34
|
const ListTagsLogGroupCommand_1 = require("./commands/ListTagsLogGroupCommand");
|
|
34
35
|
const PutDestinationCommand_1 = require("./commands/PutDestinationCommand");
|
|
35
36
|
const PutDestinationPolicyCommand_1 = require("./commands/PutDestinationPolicyCommand");
|
|
@@ -42,8 +43,10 @@ const PutSubscriptionFilterCommand_1 = require("./commands/PutSubscriptionFilter
|
|
|
42
43
|
const StartQueryCommand_1 = require("./commands/StartQueryCommand");
|
|
43
44
|
const StopQueryCommand_1 = require("./commands/StopQueryCommand");
|
|
44
45
|
const TagLogGroupCommand_1 = require("./commands/TagLogGroupCommand");
|
|
46
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
45
47
|
const TestMetricFilterCommand_1 = require("./commands/TestMetricFilterCommand");
|
|
46
48
|
const UntagLogGroupCommand_1 = require("./commands/UntagLogGroupCommand");
|
|
49
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
47
50
|
class CloudWatchLogs extends CloudWatchLogsClient_1.CloudWatchLogsClient {
|
|
48
51
|
associateKmsKey(args, optionsOrCb, cb) {
|
|
49
52
|
const command = new AssociateKmsKeyCommand_1.AssociateKmsKeyCommand(args);
|
|
@@ -437,6 +440,20 @@ class CloudWatchLogs extends CloudWatchLogsClient_1.CloudWatchLogsClient {
|
|
|
437
440
|
return this.send(command, optionsOrCb);
|
|
438
441
|
}
|
|
439
442
|
}
|
|
443
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
444
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
445
|
+
if (typeof optionsOrCb === "function") {
|
|
446
|
+
this.send(command, optionsOrCb);
|
|
447
|
+
}
|
|
448
|
+
else if (typeof cb === "function") {
|
|
449
|
+
if (typeof optionsOrCb !== "object")
|
|
450
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
return this.send(command, optionsOrCb);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
440
457
|
listTagsLogGroup(args, optionsOrCb, cb) {
|
|
441
458
|
const command = new ListTagsLogGroupCommand_1.ListTagsLogGroupCommand(args);
|
|
442
459
|
if (typeof optionsOrCb === "function") {
|
|
@@ -605,6 +622,20 @@ class CloudWatchLogs extends CloudWatchLogsClient_1.CloudWatchLogsClient {
|
|
|
605
622
|
return this.send(command, optionsOrCb);
|
|
606
623
|
}
|
|
607
624
|
}
|
|
625
|
+
tagResource(args, optionsOrCb, cb) {
|
|
626
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
627
|
+
if (typeof optionsOrCb === "function") {
|
|
628
|
+
this.send(command, optionsOrCb);
|
|
629
|
+
}
|
|
630
|
+
else if (typeof cb === "function") {
|
|
631
|
+
if (typeof optionsOrCb !== "object")
|
|
632
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
633
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
634
|
+
}
|
|
635
|
+
else {
|
|
636
|
+
return this.send(command, optionsOrCb);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
608
639
|
testMetricFilter(args, optionsOrCb, cb) {
|
|
609
640
|
const command = new TestMetricFilterCommand_1.TestMetricFilterCommand(args);
|
|
610
641
|
if (typeof optionsOrCb === "function") {
|
|
@@ -633,5 +664,19 @@ class CloudWatchLogs extends CloudWatchLogsClient_1.CloudWatchLogsClient {
|
|
|
633
664
|
return this.send(command, optionsOrCb);
|
|
634
665
|
}
|
|
635
666
|
}
|
|
667
|
+
untagResource(args, optionsOrCb, cb) {
|
|
668
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
669
|
+
if (typeof optionsOrCb === "function") {
|
|
670
|
+
this.send(command, optionsOrCb);
|
|
671
|
+
}
|
|
672
|
+
else if (typeof cb === "function") {
|
|
673
|
+
if (typeof optionsOrCb !== "object")
|
|
674
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
675
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
676
|
+
}
|
|
677
|
+
else {
|
|
678
|
+
return this.send(command, optionsOrCb);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
636
681
|
}
|
|
637
682
|
exports.CloudWatchLogs = CloudWatchLogs;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudWatchLogsClient";
|
|
28
|
+
const commandName = "ListTagsForResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudWatchLogsClient";
|
|
28
|
+
const commandName = "TagResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudWatchLogsClient";
|
|
28
|
+
const commandName = "UntagResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -29,6 +29,7 @@ tslib_1.__exportStar(require("./GetLogEventsCommand"), exports);
|
|
|
29
29
|
tslib_1.__exportStar(require("./GetLogGroupFieldsCommand"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./GetLogRecordCommand"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./GetQueryResultsCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./ListTagsLogGroupCommand"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./PutDestinationCommand"), exports);
|
|
34
35
|
tslib_1.__exportStar(require("./PutDestinationPolicyCommand"), exports);
|
|
@@ -41,5 +42,7 @@ tslib_1.__exportStar(require("./PutSubscriptionFilterCommand"), exports);
|
|
|
41
42
|
tslib_1.__exportStar(require("./StartQueryCommand"), exports);
|
|
42
43
|
tslib_1.__exportStar(require("./StopQueryCommand"), exports);
|
|
43
44
|
tslib_1.__exportStar(require("./TagLogGroupCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
44
46
|
tslib_1.__exportStar(require("./TestMetricFilterCommand"), exports);
|
|
45
47
|
tslib_1.__exportStar(require("./UntagLogGroupCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "logs",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UntagLogGroupRequestFilterSensitiveLog = exports.TestMetricFilterResponseFilterSensitiveLog = exports.MetricFilterMatchRecordFilterSensitiveLog = exports.TestMetricFilterRequestFilterSensitiveLog = exports.TagLogGroupRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.DescribeMetricFiltersResponseFilterSensitiveLog = exports.MetricFilterFilterSensitiveLog = exports.MetricTransformationFilterSensitiveLog = exports.DescribeMetricFiltersRequestFilterSensitiveLog = exports.DescribeLogStreamsResponseFilterSensitiveLog = exports.LogStreamFilterSensitiveLog = exports.DescribeLogStreamsRequestFilterSensitiveLog = exports.DescribeLogGroupsResponseFilterSensitiveLog = exports.LogGroupFilterSensitiveLog = exports.DescribeLogGroupsRequestFilterSensitiveLog = exports.DescribeExportTasksResponseFilterSensitiveLog = exports.ExportTaskFilterSensitiveLog = exports.ExportTaskStatusFilterSensitiveLog = exports.ExportTaskExecutionInfoFilterSensitiveLog = exports.DescribeExportTasksRequestFilterSensitiveLog = exports.DescribeDestinationsResponseFilterSensitiveLog = exports.DestinationFilterSensitiveLog = exports.DescribeDestinationsRequestFilterSensitiveLog = exports.DeleteSubscriptionFilterRequestFilterSensitiveLog = exports.DeleteRetentionPolicyRequestFilterSensitiveLog = exports.DeleteResourcePolicyRequestFilterSensitiveLog = exports.DeleteQueryDefinitionResponseFilterSensitiveLog = exports.DeleteQueryDefinitionRequestFilterSensitiveLog = exports.DeleteMetricFilterRequestFilterSensitiveLog = exports.DeleteLogStreamRequestFilterSensitiveLog = exports.DeleteLogGroupRequestFilterSensitiveLog = exports.DeleteDestinationRequestFilterSensitiveLog = exports.CreateLogStreamRequestFilterSensitiveLog = exports.CreateLogGroupRequestFilterSensitiveLog = exports.CreateExportTaskResponseFilterSensitiveLog = exports.CreateExportTaskRequestFilterSensitiveLog = exports.CancelExportTaskRequestFilterSensitiveLog = exports.AssociateKmsKeyRequestFilterSensitiveLog = exports.TooManyTagsException = exports.MalformedQueryException = exports.UnrecognizedClientException = exports.InvalidSequenceTokenException = exports.Distribution = exports.QueryStatus = exports.StandardUnit = exports.OrderBy = exports.ExportTaskStatusCode = exports.DataAlreadyAcceptedException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InvalidOperationException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.OperationAbortedException = exports.InvalidParameterException = void 0;
|
|
4
|
+
exports.StartQueryRequestFilterSensitiveLog = exports.QueryCompileErrorFilterSensitiveLog = exports.QueryCompileErrorLocationFilterSensitiveLog = exports.PutSubscriptionFilterRequestFilterSensitiveLog = exports.PutRetentionPolicyRequestFilterSensitiveLog = exports.PutResourcePolicyResponseFilterSensitiveLog = exports.PutResourcePolicyRequestFilterSensitiveLog = exports.PutQueryDefinitionResponseFilterSensitiveLog = exports.PutQueryDefinitionRequestFilterSensitiveLog = exports.PutMetricFilterRequestFilterSensitiveLog = exports.PutLogEventsResponseFilterSensitiveLog = exports.RejectedLogEventsInfoFilterSensitiveLog = exports.PutLogEventsRequestFilterSensitiveLog = exports.PutDestinationPolicyRequestFilterSensitiveLog = exports.PutDestinationResponseFilterSensitiveLog = exports.PutDestinationRequestFilterSensitiveLog = exports.ListTagsLogGroupResponseFilterSensitiveLog = exports.ListTagsLogGroupRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.InputLogEventFilterSensitiveLog = exports.GetQueryResultsResponseFilterSensitiveLog = exports.QueryStatisticsFilterSensitiveLog = exports.ResultFieldFilterSensitiveLog = exports.GetQueryResultsRequestFilterSensitiveLog = exports.GetLogRecordResponseFilterSensitiveLog = exports.GetLogRecordRequestFilterSensitiveLog = exports.GetLogGroupFieldsResponseFilterSensitiveLog = exports.LogGroupFieldFilterSensitiveLog = exports.GetLogGroupFieldsRequestFilterSensitiveLog = exports.GetLogEventsResponseFilterSensitiveLog = exports.OutputLogEventFilterSensitiveLog = exports.GetLogEventsRequestFilterSensitiveLog = exports.FilterLogEventsResponseFilterSensitiveLog = exports.SearchedLogStreamFilterSensitiveLog = exports.FilterLogEventsRequestFilterSensitiveLog = exports.FilteredLogEventFilterSensitiveLog = exports.DisassociateKmsKeyRequestFilterSensitiveLog = exports.DescribeSubscriptionFiltersResponseFilterSensitiveLog = exports.SubscriptionFilterFilterSensitiveLog = exports.DescribeSubscriptionFiltersRequestFilterSensitiveLog = exports.DescribeResourcePoliciesResponseFilterSensitiveLog = exports.ResourcePolicyFilterSensitiveLog = exports.DescribeResourcePoliciesRequestFilterSensitiveLog = exports.DescribeQueryDefinitionsResponseFilterSensitiveLog = exports.QueryDefinitionFilterSensitiveLog = exports.DescribeQueryDefinitionsRequestFilterSensitiveLog = exports.DescribeQueriesResponseFilterSensitiveLog = exports.QueryInfoFilterSensitiveLog = exports.DescribeQueriesRequestFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UntagResourceRequestFilterSensitiveLog = exports.UntagLogGroupRequestFilterSensitiveLog = exports.TestMetricFilterResponseFilterSensitiveLog = exports.MetricFilterMatchRecordFilterSensitiveLog = exports.TestMetricFilterRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.TagLogGroupRequestFilterSensitiveLog = exports.StopQueryResponseFilterSensitiveLog = exports.StopQueryRequestFilterSensitiveLog = exports.StartQueryResponseFilterSensitiveLog = void 0;
|
|
6
6
|
const CloudWatchLogsServiceException_1 = require("./CloudWatchLogsServiceException");
|
|
7
7
|
class InvalidParameterException extends CloudWatchLogsServiceException_1.CloudWatchLogsServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -209,6 +209,20 @@ class MalformedQueryException extends CloudWatchLogsServiceException_1.CloudWatc
|
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
exports.MalformedQueryException = MalformedQueryException;
|
|
212
|
+
class TooManyTagsException extends CloudWatchLogsServiceException_1.CloudWatchLogsServiceException {
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "TooManyTagsException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
this.name = "TooManyTagsException";
|
|
220
|
+
this.$fault = "client";
|
|
221
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
222
|
+
this.resourceName = opts.resourceName;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
212
226
|
const AssociateKmsKeyRequestFilterSensitiveLog = (obj) => ({
|
|
213
227
|
...obj,
|
|
214
228
|
});
|
|
@@ -461,6 +475,14 @@ const InputLogEventFilterSensitiveLog = (obj) => ({
|
|
|
461
475
|
...obj,
|
|
462
476
|
});
|
|
463
477
|
exports.InputLogEventFilterSensitiveLog = InputLogEventFilterSensitiveLog;
|
|
478
|
+
const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
});
|
|
481
|
+
exports.ListTagsForResourceRequestFilterSensitiveLog = ListTagsForResourceRequestFilterSensitiveLog;
|
|
482
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
483
|
+
...obj,
|
|
484
|
+
});
|
|
485
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
464
486
|
const ListTagsLogGroupRequestFilterSensitiveLog = (obj) => ({
|
|
465
487
|
...obj,
|
|
466
488
|
});
|
|
@@ -549,6 +571,10 @@ const TagLogGroupRequestFilterSensitiveLog = (obj) => ({
|
|
|
549
571
|
...obj,
|
|
550
572
|
});
|
|
551
573
|
exports.TagLogGroupRequestFilterSensitiveLog = TagLogGroupRequestFilterSensitiveLog;
|
|
574
|
+
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
575
|
+
...obj,
|
|
576
|
+
});
|
|
577
|
+
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
552
578
|
const TestMetricFilterRequestFilterSensitiveLog = (obj) => ({
|
|
553
579
|
...obj,
|
|
554
580
|
});
|
|
@@ -565,3 +591,7 @@ const UntagLogGroupRequestFilterSensitiveLog = (obj) => ({
|
|
|
565
591
|
...obj,
|
|
566
592
|
});
|
|
567
593
|
exports.UntagLogGroupRequestFilterSensitiveLog = UntagLogGroupRequestFilterSensitiveLog;
|
|
594
|
+
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
595
|
+
...obj,
|
|
596
|
+
});
|
|
597
|
+
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|