@aws-sdk/client-cloudwatch-logs 3.696.0 → 3.698.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/README.md +72 -0
- package/dist-cjs/index.js +353 -2
- package/dist-es/CloudWatchLogs.js +18 -0
- package/dist-es/commands/DeleteIndexPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteTransformerCommand.js +22 -0
- package/dist-es/commands/DescribeFieldIndexesCommand.js +22 -0
- package/dist-es/commands/DescribeIndexPoliciesCommand.js +22 -0
- package/dist-es/commands/GetTransformerCommand.js +22 -0
- package/dist-es/commands/ListLogGroupsForQueryCommand.js +22 -0
- package/dist-es/commands/PutIndexPolicyCommand.js +22 -0
- package/dist-es/commands/PutTransformerCommand.js +22 -0
- package/dist-es/commands/TestTransformerCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/pagination/ListLogGroupsForQueryPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +171 -1
- package/dist-types/CloudWatchLogs.d.ts +63 -0
- package/dist-types/CloudWatchLogsClient.d.ts +11 -2
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +12 -3
- package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +89 -0
- package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +4 -2
- package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +100 -0
- package/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +104 -0
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +231 -0
- package/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +92 -0
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +64 -3
- package/dist-types/commands/PutIndexPolicyCommand.d.ts +125 -0
- package/dist-types/commands/PutMetricFilterCommand.d.ts +5 -1
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +4 -0
- package/dist-types/commands/PutTransformerCommand.d.ts +250 -0
- package/dist-types/commands/StartQueryCommand.d.ts +19 -1
- package/dist-types/commands/TestTransformerCommand.d.ts +233 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +1249 -35
- package/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +153 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/DeleteIndexPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DescribeFieldIndexesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeIndexPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListLogGroupsForQueryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutIndexPolicyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutTransformerCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +252 -0
- package/dist-types/ts3.4/pagination/ListLogGroupsForQueryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import { DeleteDeliveryDestinationCommand, } from "./commands/DeleteDeliveryDest
|
|
|
14
14
|
import { DeleteDeliveryDestinationPolicyCommand, } from "./commands/DeleteDeliveryDestinationPolicyCommand";
|
|
15
15
|
import { DeleteDeliverySourceCommand, } from "./commands/DeleteDeliverySourceCommand";
|
|
16
16
|
import { DeleteDestinationCommand, } from "./commands/DeleteDestinationCommand";
|
|
17
|
+
import { DeleteIndexPolicyCommand, } from "./commands/DeleteIndexPolicyCommand";
|
|
17
18
|
import { DeleteLogAnomalyDetectorCommand, } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
18
19
|
import { DeleteLogGroupCommand, } from "./commands/DeleteLogGroupCommand";
|
|
19
20
|
import { DeleteLogStreamCommand, } from "./commands/DeleteLogStreamCommand";
|
|
@@ -22,6 +23,7 @@ import { DeleteQueryDefinitionCommand, } from "./commands/DeleteQueryDefinitionC
|
|
|
22
23
|
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
23
24
|
import { DeleteRetentionPolicyCommand, } from "./commands/DeleteRetentionPolicyCommand";
|
|
24
25
|
import { DeleteSubscriptionFilterCommand, } from "./commands/DeleteSubscriptionFilterCommand";
|
|
26
|
+
import { DeleteTransformerCommand, } from "./commands/DeleteTransformerCommand";
|
|
25
27
|
import { DescribeAccountPoliciesCommand, } from "./commands/DescribeAccountPoliciesCommand";
|
|
26
28
|
import { DescribeConfigurationTemplatesCommand, } from "./commands/DescribeConfigurationTemplatesCommand";
|
|
27
29
|
import { DescribeDeliveriesCommand, } from "./commands/DescribeDeliveriesCommand";
|
|
@@ -29,6 +31,8 @@ import { DescribeDeliveryDestinationsCommand, } from "./commands/DescribeDeliver
|
|
|
29
31
|
import { DescribeDeliverySourcesCommand, } from "./commands/DescribeDeliverySourcesCommand";
|
|
30
32
|
import { DescribeDestinationsCommand, } from "./commands/DescribeDestinationsCommand";
|
|
31
33
|
import { DescribeExportTasksCommand, } from "./commands/DescribeExportTasksCommand";
|
|
34
|
+
import { DescribeFieldIndexesCommand, } from "./commands/DescribeFieldIndexesCommand";
|
|
35
|
+
import { DescribeIndexPoliciesCommand, } from "./commands/DescribeIndexPoliciesCommand";
|
|
32
36
|
import { DescribeLogGroupsCommand, } from "./commands/DescribeLogGroupsCommand";
|
|
33
37
|
import { DescribeLogStreamsCommand, } from "./commands/DescribeLogStreamsCommand";
|
|
34
38
|
import { DescribeMetricFiltersCommand, } from "./commands/DescribeMetricFiltersCommand";
|
|
@@ -48,8 +52,10 @@ import { GetLogEventsCommand, } from "./commands/GetLogEventsCommand";
|
|
|
48
52
|
import { GetLogGroupFieldsCommand, } from "./commands/GetLogGroupFieldsCommand";
|
|
49
53
|
import { GetLogRecordCommand, } from "./commands/GetLogRecordCommand";
|
|
50
54
|
import { GetQueryResultsCommand, } from "./commands/GetQueryResultsCommand";
|
|
55
|
+
import { GetTransformerCommand, } from "./commands/GetTransformerCommand";
|
|
51
56
|
import { ListAnomaliesCommand, } from "./commands/ListAnomaliesCommand";
|
|
52
57
|
import { ListLogAnomalyDetectorsCommand, } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
58
|
+
import { ListLogGroupsForQueryCommand, } from "./commands/ListLogGroupsForQueryCommand";
|
|
53
59
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
54
60
|
import { ListTagsLogGroupCommand, } from "./commands/ListTagsLogGroupCommand";
|
|
55
61
|
import { PutAccountPolicyCommand, } from "./commands/PutAccountPolicyCommand";
|
|
@@ -59,18 +65,21 @@ import { PutDeliveryDestinationPolicyCommand, } from "./commands/PutDeliveryDest
|
|
|
59
65
|
import { PutDeliverySourceCommand, } from "./commands/PutDeliverySourceCommand";
|
|
60
66
|
import { PutDestinationCommand, } from "./commands/PutDestinationCommand";
|
|
61
67
|
import { PutDestinationPolicyCommand, } from "./commands/PutDestinationPolicyCommand";
|
|
68
|
+
import { PutIndexPolicyCommand, } from "./commands/PutIndexPolicyCommand";
|
|
62
69
|
import { PutLogEventsCommand, } from "./commands/PutLogEventsCommand";
|
|
63
70
|
import { PutMetricFilterCommand, } from "./commands/PutMetricFilterCommand";
|
|
64
71
|
import { PutQueryDefinitionCommand, } from "./commands/PutQueryDefinitionCommand";
|
|
65
72
|
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
66
73
|
import { PutRetentionPolicyCommand, } from "./commands/PutRetentionPolicyCommand";
|
|
67
74
|
import { PutSubscriptionFilterCommand, } from "./commands/PutSubscriptionFilterCommand";
|
|
75
|
+
import { PutTransformerCommand, } from "./commands/PutTransformerCommand";
|
|
68
76
|
import { StartLiveTailCommand, } from "./commands/StartLiveTailCommand";
|
|
69
77
|
import { StartQueryCommand } from "./commands/StartQueryCommand";
|
|
70
78
|
import { StopQueryCommand } from "./commands/StopQueryCommand";
|
|
71
79
|
import { TagLogGroupCommand } from "./commands/TagLogGroupCommand";
|
|
72
80
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
73
81
|
import { TestMetricFilterCommand, } from "./commands/TestMetricFilterCommand";
|
|
82
|
+
import { TestTransformerCommand, } from "./commands/TestTransformerCommand";
|
|
74
83
|
import { UntagLogGroupCommand, } from "./commands/UntagLogGroupCommand";
|
|
75
84
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
76
85
|
import { UpdateAnomalyCommand, } from "./commands/UpdateAnomalyCommand";
|
|
@@ -91,6 +100,7 @@ const commands = {
|
|
|
91
100
|
DeleteDeliveryDestinationPolicyCommand,
|
|
92
101
|
DeleteDeliverySourceCommand,
|
|
93
102
|
DeleteDestinationCommand,
|
|
103
|
+
DeleteIndexPolicyCommand,
|
|
94
104
|
DeleteLogAnomalyDetectorCommand,
|
|
95
105
|
DeleteLogGroupCommand,
|
|
96
106
|
DeleteLogStreamCommand,
|
|
@@ -99,6 +109,7 @@ const commands = {
|
|
|
99
109
|
DeleteResourcePolicyCommand,
|
|
100
110
|
DeleteRetentionPolicyCommand,
|
|
101
111
|
DeleteSubscriptionFilterCommand,
|
|
112
|
+
DeleteTransformerCommand,
|
|
102
113
|
DescribeAccountPoliciesCommand,
|
|
103
114
|
DescribeConfigurationTemplatesCommand,
|
|
104
115
|
DescribeDeliveriesCommand,
|
|
@@ -106,6 +117,8 @@ const commands = {
|
|
|
106
117
|
DescribeDeliverySourcesCommand,
|
|
107
118
|
DescribeDestinationsCommand,
|
|
108
119
|
DescribeExportTasksCommand,
|
|
120
|
+
DescribeFieldIndexesCommand,
|
|
121
|
+
DescribeIndexPoliciesCommand,
|
|
109
122
|
DescribeLogGroupsCommand,
|
|
110
123
|
DescribeLogStreamsCommand,
|
|
111
124
|
DescribeMetricFiltersCommand,
|
|
@@ -125,8 +138,10 @@ const commands = {
|
|
|
125
138
|
GetLogGroupFieldsCommand,
|
|
126
139
|
GetLogRecordCommand,
|
|
127
140
|
GetQueryResultsCommand,
|
|
141
|
+
GetTransformerCommand,
|
|
128
142
|
ListAnomaliesCommand,
|
|
129
143
|
ListLogAnomalyDetectorsCommand,
|
|
144
|
+
ListLogGroupsForQueryCommand,
|
|
130
145
|
ListTagsForResourceCommand,
|
|
131
146
|
ListTagsLogGroupCommand,
|
|
132
147
|
PutAccountPolicyCommand,
|
|
@@ -136,18 +151,21 @@ const commands = {
|
|
|
136
151
|
PutDeliverySourceCommand,
|
|
137
152
|
PutDestinationCommand,
|
|
138
153
|
PutDestinationPolicyCommand,
|
|
154
|
+
PutIndexPolicyCommand,
|
|
139
155
|
PutLogEventsCommand,
|
|
140
156
|
PutMetricFilterCommand,
|
|
141
157
|
PutQueryDefinitionCommand,
|
|
142
158
|
PutResourcePolicyCommand,
|
|
143
159
|
PutRetentionPolicyCommand,
|
|
144
160
|
PutSubscriptionFilterCommand,
|
|
161
|
+
PutTransformerCommand,
|
|
145
162
|
StartLiveTailCommand,
|
|
146
163
|
StartQueryCommand,
|
|
147
164
|
StopQueryCommand,
|
|
148
165
|
TagLogGroupCommand,
|
|
149
166
|
TagResourceCommand,
|
|
150
167
|
TestMetricFilterCommand,
|
|
168
|
+
TestTransformerCommand,
|
|
151
169
|
UntagLogGroupCommand,
|
|
152
170
|
UntagResourceCommand,
|
|
153
171
|
UpdateAnomalyCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteIndexPolicyCommand, se_DeleteIndexPolicyCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteIndexPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "DeleteIndexPolicy", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "DeleteIndexPolicyCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteIndexPolicyCommand)
|
|
20
|
+
.de(de_DeleteIndexPolicyCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteTransformerCommand, se_DeleteTransformerCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteTransformerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "DeleteTransformer", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "DeleteTransformerCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteTransformerCommand)
|
|
20
|
+
.de(de_DeleteTransformerCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeFieldIndexesCommand, se_DescribeFieldIndexesCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeFieldIndexesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "DescribeFieldIndexes", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "DescribeFieldIndexesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeFieldIndexesCommand)
|
|
20
|
+
.de(de_DescribeFieldIndexesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeIndexPoliciesCommand, se_DescribeIndexPoliciesCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeIndexPoliciesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "DescribeIndexPolicies", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "DescribeIndexPoliciesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeIndexPoliciesCommand)
|
|
20
|
+
.de(de_DescribeIndexPoliciesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTransformerCommand, se_GetTransformerCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTransformerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "GetTransformer", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "GetTransformerCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetTransformerCommand)
|
|
20
|
+
.de(de_GetTransformerCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListLogGroupsForQueryCommand, se_ListLogGroupsForQueryCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListLogGroupsForQueryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "ListLogGroupsForQuery", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "ListLogGroupsForQueryCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListLogGroupsForQueryCommand)
|
|
20
|
+
.de(de_ListLogGroupsForQueryCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutIndexPolicyCommand, se_PutIndexPolicyCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutIndexPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "PutIndexPolicy", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "PutIndexPolicyCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutIndexPolicyCommand)
|
|
20
|
+
.de(de_PutIndexPolicyCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutTransformerCommand, se_PutTransformerCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutTransformerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "PutTransformer", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "PutTransformerCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutTransformerCommand)
|
|
20
|
+
.de(de_PutTransformerCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TestTransformerCommand, se_TestTransformerCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TestTransformerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "TestTransformer", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "TestTransformerCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_TestTransformerCommand)
|
|
20
|
+
.de(de_TestTransformerCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./DeleteDeliveryDestinationCommand";
|
|
|
12
12
|
export * from "./DeleteDeliveryDestinationPolicyCommand";
|
|
13
13
|
export * from "./DeleteDeliverySourceCommand";
|
|
14
14
|
export * from "./DeleteDestinationCommand";
|
|
15
|
+
export * from "./DeleteIndexPolicyCommand";
|
|
15
16
|
export * from "./DeleteLogAnomalyDetectorCommand";
|
|
16
17
|
export * from "./DeleteLogGroupCommand";
|
|
17
18
|
export * from "./DeleteLogStreamCommand";
|
|
@@ -20,6 +21,7 @@ export * from "./DeleteQueryDefinitionCommand";
|
|
|
20
21
|
export * from "./DeleteResourcePolicyCommand";
|
|
21
22
|
export * from "./DeleteRetentionPolicyCommand";
|
|
22
23
|
export * from "./DeleteSubscriptionFilterCommand";
|
|
24
|
+
export * from "./DeleteTransformerCommand";
|
|
23
25
|
export * from "./DescribeAccountPoliciesCommand";
|
|
24
26
|
export * from "./DescribeConfigurationTemplatesCommand";
|
|
25
27
|
export * from "./DescribeDeliveriesCommand";
|
|
@@ -27,6 +29,8 @@ export * from "./DescribeDeliveryDestinationsCommand";
|
|
|
27
29
|
export * from "./DescribeDeliverySourcesCommand";
|
|
28
30
|
export * from "./DescribeDestinationsCommand";
|
|
29
31
|
export * from "./DescribeExportTasksCommand";
|
|
32
|
+
export * from "./DescribeFieldIndexesCommand";
|
|
33
|
+
export * from "./DescribeIndexPoliciesCommand";
|
|
30
34
|
export * from "./DescribeLogGroupsCommand";
|
|
31
35
|
export * from "./DescribeLogStreamsCommand";
|
|
32
36
|
export * from "./DescribeMetricFiltersCommand";
|
|
@@ -46,8 +50,10 @@ export * from "./GetLogEventsCommand";
|
|
|
46
50
|
export * from "./GetLogGroupFieldsCommand";
|
|
47
51
|
export * from "./GetLogRecordCommand";
|
|
48
52
|
export * from "./GetQueryResultsCommand";
|
|
53
|
+
export * from "./GetTransformerCommand";
|
|
49
54
|
export * from "./ListAnomaliesCommand";
|
|
50
55
|
export * from "./ListLogAnomalyDetectorsCommand";
|
|
56
|
+
export * from "./ListLogGroupsForQueryCommand";
|
|
51
57
|
export * from "./ListTagsForResourceCommand";
|
|
52
58
|
export * from "./ListTagsLogGroupCommand";
|
|
53
59
|
export * from "./PutAccountPolicyCommand";
|
|
@@ -57,18 +63,21 @@ export * from "./PutDeliveryDestinationPolicyCommand";
|
|
|
57
63
|
export * from "./PutDeliverySourceCommand";
|
|
58
64
|
export * from "./PutDestinationCommand";
|
|
59
65
|
export * from "./PutDestinationPolicyCommand";
|
|
66
|
+
export * from "./PutIndexPolicyCommand";
|
|
60
67
|
export * from "./PutLogEventsCommand";
|
|
61
68
|
export * from "./PutMetricFilterCommand";
|
|
62
69
|
export * from "./PutQueryDefinitionCommand";
|
|
63
70
|
export * from "./PutResourcePolicyCommand";
|
|
64
71
|
export * from "./PutRetentionPolicyCommand";
|
|
65
72
|
export * from "./PutSubscriptionFilterCommand";
|
|
73
|
+
export * from "./PutTransformerCommand";
|
|
66
74
|
export * from "./StartLiveTailCommand";
|
|
67
75
|
export * from "./StartQueryCommand";
|
|
68
76
|
export * from "./StopQueryCommand";
|
|
69
77
|
export * from "./TagLogGroupCommand";
|
|
70
78
|
export * from "./TagResourceCommand";
|
|
71
79
|
export * from "./TestMetricFilterCommand";
|
|
80
|
+
export * from "./TestTransformerCommand";
|
|
72
81
|
export * from "./UntagLogGroupCommand";
|
|
73
82
|
export * from "./UntagResourceCommand";
|
|
74
83
|
export * from "./UpdateAnomalyCommand";
|
|
@@ -13,7 +13,9 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
}
|
|
14
14
|
export const PolicyType = {
|
|
15
15
|
DATA_PROTECTION_POLICY: "DATA_PROTECTION_POLICY",
|
|
16
|
+
FIELD_INDEX_POLICY: "FIELD_INDEX_POLICY",
|
|
16
17
|
SUBSCRIPTION_FILTER_POLICY: "SUBSCRIPTION_FILTER_POLICY",
|
|
18
|
+
TRANSFORMER_POLICY: "TRANSFORMER_POLICY",
|
|
17
19
|
};
|
|
18
20
|
export const Scope = {
|
|
19
21
|
ALL: "ALL",
|
|
@@ -214,6 +216,10 @@ export const ExportTaskStatusCode = {
|
|
|
214
216
|
PENDING_CANCEL: "PENDING_CANCEL",
|
|
215
217
|
RUNNING: "RUNNING",
|
|
216
218
|
};
|
|
219
|
+
export const IndexSource = {
|
|
220
|
+
ACCOUNT: "ACCOUNT",
|
|
221
|
+
LOG_GROUP: "LOG_GROUP",
|
|
222
|
+
};
|
|
217
223
|
export const InheritedProperty = {
|
|
218
224
|
ACCOUNT_DATA_PROTECTION: "ACCOUNT_DATA_PROTECTION",
|
|
219
225
|
};
|
|
@@ -272,6 +278,16 @@ export const EntityRejectionErrorType = {
|
|
|
272
278
|
MISSING_REQUIRED_FIELDS: "MissingRequiredFields",
|
|
273
279
|
UNSUPPORTED_LOG_GROUP_TYPE: "UnsupportedLogGroupType",
|
|
274
280
|
};
|
|
281
|
+
export const FlattenedElement = {
|
|
282
|
+
FIRST: "first",
|
|
283
|
+
LAST: "last",
|
|
284
|
+
};
|
|
285
|
+
export const Type = {
|
|
286
|
+
BOOLEAN: "boolean",
|
|
287
|
+
DOUBLE: "double",
|
|
288
|
+
INTEGER: "integer",
|
|
289
|
+
STRING: "string",
|
|
290
|
+
};
|
|
275
291
|
export class InvalidSequenceTokenException extends __BaseException {
|
|
276
292
|
constructor(opts) {
|
|
277
293
|
super({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
3
|
+
import { ListLogGroupsForQueryCommand, } from "../commands/ListLogGroupsForQueryCommand";
|
|
4
|
+
export const paginateListLogGroupsForQuery = createPaginator(CloudWatchLogsClient, ListLogGroupsForQueryCommand, "nextToken", "nextToken", "maxResults");
|