@aws-sdk/client-cloudwatch-logs 3.696.0 → 3.699.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 +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { CloudWatchLogsServiceException as __BaseException } from "../models/CloudWatchLogsServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, DataAlreadyAcceptedException, InvalidOperationException, InvalidParameterException, InvalidSequenceTokenException, LimitExceededException, MalformedQueryException, OperationAbortedException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, SessionStreamingException, SessionTimeoutException, ThrottlingException, TooManyTagsException, UnrecognizedClientException, ValidationException, } from "../models/models_0";
|
|
@@ -88,6 +88,12 @@ export const se_DeleteDestinationCommand = async (input, context) => {
|
|
|
88
88
|
body = JSON.stringify(_json(input));
|
|
89
89
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
90
|
};
|
|
91
|
+
export const se_DeleteIndexPolicyCommand = async (input, context) => {
|
|
92
|
+
const headers = sharedHeaders("DeleteIndexPolicy");
|
|
93
|
+
let body;
|
|
94
|
+
body = JSON.stringify(_json(input));
|
|
95
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
+
};
|
|
91
97
|
export const se_DeleteLogAnomalyDetectorCommand = async (input, context) => {
|
|
92
98
|
const headers = sharedHeaders("DeleteLogAnomalyDetector");
|
|
93
99
|
let body;
|
|
@@ -136,6 +142,12 @@ export const se_DeleteSubscriptionFilterCommand = async (input, context) => {
|
|
|
136
142
|
body = JSON.stringify(_json(input));
|
|
137
143
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
144
|
};
|
|
145
|
+
export const se_DeleteTransformerCommand = async (input, context) => {
|
|
146
|
+
const headers = sharedHeaders("DeleteTransformer");
|
|
147
|
+
let body;
|
|
148
|
+
body = JSON.stringify(_json(input));
|
|
149
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
+
};
|
|
139
151
|
export const se_DescribeAccountPoliciesCommand = async (input, context) => {
|
|
140
152
|
const headers = sharedHeaders("DescribeAccountPolicies");
|
|
141
153
|
let body;
|
|
@@ -178,6 +190,18 @@ export const se_DescribeExportTasksCommand = async (input, context) => {
|
|
|
178
190
|
body = JSON.stringify(_json(input));
|
|
179
191
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
192
|
};
|
|
193
|
+
export const se_DescribeFieldIndexesCommand = async (input, context) => {
|
|
194
|
+
const headers = sharedHeaders("DescribeFieldIndexes");
|
|
195
|
+
let body;
|
|
196
|
+
body = JSON.stringify(_json(input));
|
|
197
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
+
};
|
|
199
|
+
export const se_DescribeIndexPoliciesCommand = async (input, context) => {
|
|
200
|
+
const headers = sharedHeaders("DescribeIndexPolicies");
|
|
201
|
+
let body;
|
|
202
|
+
body = JSON.stringify(_json(input));
|
|
203
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
+
};
|
|
181
205
|
export const se_DescribeLogGroupsCommand = async (input, context) => {
|
|
182
206
|
const headers = sharedHeaders("DescribeLogGroups");
|
|
183
207
|
let body;
|
|
@@ -292,6 +316,12 @@ export const se_GetQueryResultsCommand = async (input, context) => {
|
|
|
292
316
|
body = JSON.stringify(_json(input));
|
|
293
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
318
|
};
|
|
319
|
+
export const se_GetTransformerCommand = async (input, context) => {
|
|
320
|
+
const headers = sharedHeaders("GetTransformer");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify(_json(input));
|
|
323
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
|
+
};
|
|
295
325
|
export const se_ListAnomaliesCommand = async (input, context) => {
|
|
296
326
|
const headers = sharedHeaders("ListAnomalies");
|
|
297
327
|
let body;
|
|
@@ -304,6 +334,12 @@ export const se_ListLogAnomalyDetectorsCommand = async (input, context) => {
|
|
|
304
334
|
body = JSON.stringify(_json(input));
|
|
305
335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
336
|
};
|
|
337
|
+
export const se_ListLogGroupsForQueryCommand = async (input, context) => {
|
|
338
|
+
const headers = sharedHeaders("ListLogGroupsForQuery");
|
|
339
|
+
let body;
|
|
340
|
+
body = JSON.stringify(_json(input));
|
|
341
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
342
|
+
};
|
|
307
343
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
308
344
|
const headers = sharedHeaders("ListTagsForResource");
|
|
309
345
|
let body;
|
|
@@ -358,6 +394,12 @@ export const se_PutDestinationPolicyCommand = async (input, context) => {
|
|
|
358
394
|
body = JSON.stringify(_json(input));
|
|
359
395
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
396
|
};
|
|
397
|
+
export const se_PutIndexPolicyCommand = async (input, context) => {
|
|
398
|
+
const headers = sharedHeaders("PutIndexPolicy");
|
|
399
|
+
let body;
|
|
400
|
+
body = JSON.stringify(_json(input));
|
|
401
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
|
+
};
|
|
361
403
|
export const se_PutLogEventsCommand = async (input, context) => {
|
|
362
404
|
const headers = sharedHeaders("PutLogEvents");
|
|
363
405
|
let body;
|
|
@@ -394,6 +436,12 @@ export const se_PutSubscriptionFilterCommand = async (input, context) => {
|
|
|
394
436
|
body = JSON.stringify(_json(input));
|
|
395
437
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
396
438
|
};
|
|
439
|
+
export const se_PutTransformerCommand = async (input, context) => {
|
|
440
|
+
const headers = sharedHeaders("PutTransformer");
|
|
441
|
+
let body;
|
|
442
|
+
body = JSON.stringify(_json(input));
|
|
443
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
444
|
+
};
|
|
397
445
|
export const se_StartLiveTailCommand = async (input, context) => {
|
|
398
446
|
const headers = sharedHeaders("StartLiveTail");
|
|
399
447
|
let body;
|
|
@@ -437,6 +485,12 @@ export const se_TestMetricFilterCommand = async (input, context) => {
|
|
|
437
485
|
body = JSON.stringify(_json(input));
|
|
438
486
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
439
487
|
};
|
|
488
|
+
export const se_TestTransformerCommand = async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("TestTransformer");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify(_json(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
|
+
};
|
|
440
494
|
export const se_UntagLogGroupCommand = async (input, context) => {
|
|
441
495
|
const headers = sharedHeaders("UntagLogGroup");
|
|
442
496
|
let body;
|
|
@@ -616,6 +670,19 @@ export const de_DeleteDestinationCommand = async (output, context) => {
|
|
|
616
670
|
};
|
|
617
671
|
return response;
|
|
618
672
|
};
|
|
673
|
+
export const de_DeleteIndexPolicyCommand = async (output, context) => {
|
|
674
|
+
if (output.statusCode >= 300) {
|
|
675
|
+
return de_CommandError(output, context);
|
|
676
|
+
}
|
|
677
|
+
const data = await parseBody(output.body, context);
|
|
678
|
+
let contents = {};
|
|
679
|
+
contents = _json(data);
|
|
680
|
+
const response = {
|
|
681
|
+
$metadata: deserializeMetadata(output),
|
|
682
|
+
...contents,
|
|
683
|
+
};
|
|
684
|
+
return response;
|
|
685
|
+
};
|
|
619
686
|
export const de_DeleteLogAnomalyDetectorCommand = async (output, context) => {
|
|
620
687
|
if (output.statusCode >= 300) {
|
|
621
688
|
return de_CommandError(output, context);
|
|
@@ -699,6 +766,16 @@ export const de_DeleteSubscriptionFilterCommand = async (output, context) => {
|
|
|
699
766
|
};
|
|
700
767
|
return response;
|
|
701
768
|
};
|
|
769
|
+
export const de_DeleteTransformerCommand = async (output, context) => {
|
|
770
|
+
if (output.statusCode >= 300) {
|
|
771
|
+
return de_CommandError(output, context);
|
|
772
|
+
}
|
|
773
|
+
await collectBody(output.body, context);
|
|
774
|
+
const response = {
|
|
775
|
+
$metadata: deserializeMetadata(output),
|
|
776
|
+
};
|
|
777
|
+
return response;
|
|
778
|
+
};
|
|
702
779
|
export const de_DescribeAccountPoliciesCommand = async (output, context) => {
|
|
703
780
|
if (output.statusCode >= 300) {
|
|
704
781
|
return de_CommandError(output, context);
|
|
@@ -790,6 +867,32 @@ export const de_DescribeExportTasksCommand = async (output, context) => {
|
|
|
790
867
|
};
|
|
791
868
|
return response;
|
|
792
869
|
};
|
|
870
|
+
export const de_DescribeFieldIndexesCommand = async (output, context) => {
|
|
871
|
+
if (output.statusCode >= 300) {
|
|
872
|
+
return de_CommandError(output, context);
|
|
873
|
+
}
|
|
874
|
+
const data = await parseBody(output.body, context);
|
|
875
|
+
let contents = {};
|
|
876
|
+
contents = _json(data);
|
|
877
|
+
const response = {
|
|
878
|
+
$metadata: deserializeMetadata(output),
|
|
879
|
+
...contents,
|
|
880
|
+
};
|
|
881
|
+
return response;
|
|
882
|
+
};
|
|
883
|
+
export const de_DescribeIndexPoliciesCommand = async (output, context) => {
|
|
884
|
+
if (output.statusCode >= 300) {
|
|
885
|
+
return de_CommandError(output, context);
|
|
886
|
+
}
|
|
887
|
+
const data = await parseBody(output.body, context);
|
|
888
|
+
let contents = {};
|
|
889
|
+
contents = _json(data);
|
|
890
|
+
const response = {
|
|
891
|
+
$metadata: deserializeMetadata(output),
|
|
892
|
+
...contents,
|
|
893
|
+
};
|
|
894
|
+
return response;
|
|
895
|
+
};
|
|
793
896
|
export const de_DescribeLogGroupsCommand = async (output, context) => {
|
|
794
897
|
if (output.statusCode >= 300) {
|
|
795
898
|
return de_CommandError(output, context);
|
|
@@ -1034,6 +1137,19 @@ export const de_GetQueryResultsCommand = async (output, context) => {
|
|
|
1034
1137
|
};
|
|
1035
1138
|
return response;
|
|
1036
1139
|
};
|
|
1140
|
+
export const de_GetTransformerCommand = async (output, context) => {
|
|
1141
|
+
if (output.statusCode >= 300) {
|
|
1142
|
+
return de_CommandError(output, context);
|
|
1143
|
+
}
|
|
1144
|
+
const data = await parseBody(output.body, context);
|
|
1145
|
+
let contents = {};
|
|
1146
|
+
contents = _json(data);
|
|
1147
|
+
const response = {
|
|
1148
|
+
$metadata: deserializeMetadata(output),
|
|
1149
|
+
...contents,
|
|
1150
|
+
};
|
|
1151
|
+
return response;
|
|
1152
|
+
};
|
|
1037
1153
|
export const de_ListAnomaliesCommand = async (output, context) => {
|
|
1038
1154
|
if (output.statusCode >= 300) {
|
|
1039
1155
|
return de_CommandError(output, context);
|
|
@@ -1060,6 +1176,19 @@ export const de_ListLogAnomalyDetectorsCommand = async (output, context) => {
|
|
|
1060
1176
|
};
|
|
1061
1177
|
return response;
|
|
1062
1178
|
};
|
|
1179
|
+
export const de_ListLogGroupsForQueryCommand = async (output, context) => {
|
|
1180
|
+
if (output.statusCode >= 300) {
|
|
1181
|
+
return de_CommandError(output, context);
|
|
1182
|
+
}
|
|
1183
|
+
const data = await parseBody(output.body, context);
|
|
1184
|
+
let contents = {};
|
|
1185
|
+
contents = _json(data);
|
|
1186
|
+
const response = {
|
|
1187
|
+
$metadata: deserializeMetadata(output),
|
|
1188
|
+
...contents,
|
|
1189
|
+
};
|
|
1190
|
+
return response;
|
|
1191
|
+
};
|
|
1063
1192
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1064
1193
|
if (output.statusCode >= 300) {
|
|
1065
1194
|
return de_CommandError(output, context);
|
|
@@ -1174,6 +1303,19 @@ export const de_PutDestinationPolicyCommand = async (output, context) => {
|
|
|
1174
1303
|
};
|
|
1175
1304
|
return response;
|
|
1176
1305
|
};
|
|
1306
|
+
export const de_PutIndexPolicyCommand = async (output, context) => {
|
|
1307
|
+
if (output.statusCode >= 300) {
|
|
1308
|
+
return de_CommandError(output, context);
|
|
1309
|
+
}
|
|
1310
|
+
const data = await parseBody(output.body, context);
|
|
1311
|
+
let contents = {};
|
|
1312
|
+
contents = _json(data);
|
|
1313
|
+
const response = {
|
|
1314
|
+
$metadata: deserializeMetadata(output),
|
|
1315
|
+
...contents,
|
|
1316
|
+
};
|
|
1317
|
+
return response;
|
|
1318
|
+
};
|
|
1177
1319
|
export const de_PutLogEventsCommand = async (output, context) => {
|
|
1178
1320
|
if (output.statusCode >= 300) {
|
|
1179
1321
|
return de_CommandError(output, context);
|
|
@@ -1243,6 +1385,16 @@ export const de_PutSubscriptionFilterCommand = async (output, context) => {
|
|
|
1243
1385
|
};
|
|
1244
1386
|
return response;
|
|
1245
1387
|
};
|
|
1388
|
+
export const de_PutTransformerCommand = async (output, context) => {
|
|
1389
|
+
if (output.statusCode >= 300) {
|
|
1390
|
+
return de_CommandError(output, context);
|
|
1391
|
+
}
|
|
1392
|
+
await collectBody(output.body, context);
|
|
1393
|
+
const response = {
|
|
1394
|
+
$metadata: deserializeMetadata(output),
|
|
1395
|
+
};
|
|
1396
|
+
return response;
|
|
1397
|
+
};
|
|
1246
1398
|
export const de_StartLiveTailCommand = async (output, context) => {
|
|
1247
1399
|
if (output.statusCode >= 300) {
|
|
1248
1400
|
return de_CommandError(output, context);
|
|
@@ -1313,6 +1465,19 @@ export const de_TestMetricFilterCommand = async (output, context) => {
|
|
|
1313
1465
|
};
|
|
1314
1466
|
return response;
|
|
1315
1467
|
};
|
|
1468
|
+
export const de_TestTransformerCommand = async (output, context) => {
|
|
1469
|
+
if (output.statusCode >= 300) {
|
|
1470
|
+
return de_CommandError(output, context);
|
|
1471
|
+
}
|
|
1472
|
+
const data = await parseBody(output.body, context);
|
|
1473
|
+
let contents = {};
|
|
1474
|
+
contents = _json(data);
|
|
1475
|
+
const response = {
|
|
1476
|
+
$metadata: deserializeMetadata(output),
|
|
1477
|
+
...contents,
|
|
1478
|
+
};
|
|
1479
|
+
return response;
|
|
1480
|
+
};
|
|
1316
1481
|
export const de_UntagLogGroupCommand = async (output, context) => {
|
|
1317
1482
|
if (output.statusCode >= 300) {
|
|
1318
1483
|
return de_CommandError(output, context);
|
|
@@ -1674,6 +1839,7 @@ const se_MetricTransformations = (input, context) => {
|
|
|
1674
1839
|
};
|
|
1675
1840
|
const se_PutMetricFilterRequest = (input, context) => {
|
|
1676
1841
|
return take(input, {
|
|
1842
|
+
applyOnTransformedLogs: [],
|
|
1677
1843
|
filterName: [],
|
|
1678
1844
|
filterPattern: [],
|
|
1679
1845
|
logGroupName: [],
|
|
@@ -1705,6 +1871,7 @@ const de_GetQueryResultsResponse = (output, context) => {
|
|
|
1705
1871
|
};
|
|
1706
1872
|
const de_MetricFilter = (output, context) => {
|
|
1707
1873
|
return take(output, {
|
|
1874
|
+
applyOnTransformedLogs: __expectBoolean,
|
|
1708
1875
|
creationTime: __expectLong,
|
|
1709
1876
|
filterName: __expectString,
|
|
1710
1877
|
filterPattern: __expectString,
|
|
@@ -1741,6 +1908,9 @@ const de_MetricTransformations = (output, context) => {
|
|
|
1741
1908
|
const de_QueryStatistics = (output, context) => {
|
|
1742
1909
|
return take(output, {
|
|
1743
1910
|
bytesScanned: __limitedParseDouble,
|
|
1911
|
+
estimatedBytesSkipped: __limitedParseDouble,
|
|
1912
|
+
estimatedRecordsSkipped: __limitedParseDouble,
|
|
1913
|
+
logGroupsScanned: __limitedParseDouble,
|
|
1744
1914
|
recordsMatched: __limitedParseDouble,
|
|
1745
1915
|
recordsScanned: __limitedParseDouble,
|
|
1746
1916
|
});
|
|
@@ -14,6 +14,7 @@ import { DeleteDeliveryDestinationCommandInput, DeleteDeliveryDestinationCommand
|
|
|
14
14
|
import { DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationPolicyCommandOutput } from "./commands/DeleteDeliveryDestinationPolicyCommand";
|
|
15
15
|
import { DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput } from "./commands/DeleteDeliverySourceCommand";
|
|
16
16
|
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
17
|
+
import { DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput } from "./commands/DeleteIndexPolicyCommand";
|
|
17
18
|
import { DeleteLogAnomalyDetectorCommandInput, DeleteLogAnomalyDetectorCommandOutput } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
18
19
|
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
19
20
|
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
@@ -22,6 +23,7 @@ import { DeleteQueryDefinitionCommandInput, DeleteQueryDefinitionCommandOutput }
|
|
|
22
23
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
23
24
|
import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
24
25
|
import { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
26
|
+
import { DeleteTransformerCommandInput, DeleteTransformerCommandOutput } from "./commands/DeleteTransformerCommand";
|
|
25
27
|
import { DescribeAccountPoliciesCommandInput, DescribeAccountPoliciesCommandOutput } from "./commands/DescribeAccountPoliciesCommand";
|
|
26
28
|
import { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "./commands/DescribeConfigurationTemplatesCommand";
|
|
27
29
|
import { DescribeDeliveriesCommandInput, DescribeDeliveriesCommandOutput } from "./commands/DescribeDeliveriesCommand";
|
|
@@ -29,6 +31,8 @@ import { DescribeDeliveryDestinationsCommandInput, DescribeDeliveryDestinationsC
|
|
|
29
31
|
import { DescribeDeliverySourcesCommandInput, DescribeDeliverySourcesCommandOutput } from "./commands/DescribeDeliverySourcesCommand";
|
|
30
32
|
import { DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput } from "./commands/DescribeDestinationsCommand";
|
|
31
33
|
import { DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput } from "./commands/DescribeExportTasksCommand";
|
|
34
|
+
import { DescribeFieldIndexesCommandInput, DescribeFieldIndexesCommandOutput } from "./commands/DescribeFieldIndexesCommand";
|
|
35
|
+
import { DescribeIndexPoliciesCommandInput, DescribeIndexPoliciesCommandOutput } from "./commands/DescribeIndexPoliciesCommand";
|
|
32
36
|
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput } from "./commands/DescribeLogGroupsCommand";
|
|
33
37
|
import { DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput } from "./commands/DescribeLogStreamsCommand";
|
|
34
38
|
import { DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput } from "./commands/DescribeMetricFiltersCommand";
|
|
@@ -48,8 +52,10 @@ import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/
|
|
|
48
52
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
49
53
|
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
50
54
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
55
|
+
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
51
56
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
52
57
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
58
|
+
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
53
59
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
54
60
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
55
61
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -59,18 +65,21 @@ import { PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyC
|
|
|
59
65
|
import { PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput } from "./commands/PutDeliverySourceCommand";
|
|
60
66
|
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
61
67
|
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
68
|
+
import { PutIndexPolicyCommandInput, PutIndexPolicyCommandOutput } from "./commands/PutIndexPolicyCommand";
|
|
62
69
|
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
63
70
|
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
64
71
|
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
65
72
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
66
73
|
import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
67
74
|
import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
75
|
+
import { PutTransformerCommandInput, PutTransformerCommandOutput } from "./commands/PutTransformerCommand";
|
|
68
76
|
import { StartLiveTailCommandInput, StartLiveTailCommandOutput } from "./commands/StartLiveTailCommand";
|
|
69
77
|
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
70
78
|
import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
|
|
71
79
|
import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
|
|
72
80
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
73
81
|
import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
|
|
82
|
+
import { TestTransformerCommandInput, TestTransformerCommandOutput } from "./commands/TestTransformerCommand";
|
|
74
83
|
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
75
84
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
76
85
|
import { UpdateAnomalyCommandInput, UpdateAnomalyCommandOutput } from "./commands/UpdateAnomalyCommand";
|
|
@@ -161,6 +170,12 @@ export interface CloudWatchLogs {
|
|
|
161
170
|
deleteDestination(args: DeleteDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDestinationCommandOutput>;
|
|
162
171
|
deleteDestination(args: DeleteDestinationCommandInput, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
163
172
|
deleteDestination(args: DeleteDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link DeleteIndexPolicyCommand}
|
|
175
|
+
*/
|
|
176
|
+
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexPolicyCommandOutput>;
|
|
177
|
+
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, cb: (err: any, data?: DeleteIndexPolicyCommandOutput) => void): void;
|
|
178
|
+
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexPolicyCommandOutput) => void): void;
|
|
164
179
|
/**
|
|
165
180
|
* @see {@link DeleteLogAnomalyDetectorCommand}
|
|
166
181
|
*/
|
|
@@ -210,6 +225,12 @@ export interface CloudWatchLogs {
|
|
|
210
225
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionFilterCommandOutput>;
|
|
211
226
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
212
227
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link DeleteTransformerCommand}
|
|
230
|
+
*/
|
|
231
|
+
deleteTransformer(args: DeleteTransformerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTransformerCommandOutput>;
|
|
232
|
+
deleteTransformer(args: DeleteTransformerCommandInput, cb: (err: any, data?: DeleteTransformerCommandOutput) => void): void;
|
|
233
|
+
deleteTransformer(args: DeleteTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTransformerCommandOutput) => void): void;
|
|
213
234
|
/**
|
|
214
235
|
* @see {@link DescribeAccountPoliciesCommand}
|
|
215
236
|
*/
|
|
@@ -258,6 +279,18 @@ export interface CloudWatchLogs {
|
|
|
258
279
|
describeExportTasks(args: DescribeExportTasksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExportTasksCommandOutput>;
|
|
259
280
|
describeExportTasks(args: DescribeExportTasksCommandInput, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
260
281
|
describeExportTasks(args: DescribeExportTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
282
|
+
/**
|
|
283
|
+
* @see {@link DescribeFieldIndexesCommand}
|
|
284
|
+
*/
|
|
285
|
+
describeFieldIndexes(args: DescribeFieldIndexesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFieldIndexesCommandOutput>;
|
|
286
|
+
describeFieldIndexes(args: DescribeFieldIndexesCommandInput, cb: (err: any, data?: DescribeFieldIndexesCommandOutput) => void): void;
|
|
287
|
+
describeFieldIndexes(args: DescribeFieldIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFieldIndexesCommandOutput) => void): void;
|
|
288
|
+
/**
|
|
289
|
+
* @see {@link DescribeIndexPoliciesCommand}
|
|
290
|
+
*/
|
|
291
|
+
describeIndexPolicies(args: DescribeIndexPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIndexPoliciesCommandOutput>;
|
|
292
|
+
describeIndexPolicies(args: DescribeIndexPoliciesCommandInput, cb: (err: any, data?: DescribeIndexPoliciesCommandOutput) => void): void;
|
|
293
|
+
describeIndexPolicies(args: DescribeIndexPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIndexPoliciesCommandOutput) => void): void;
|
|
261
294
|
/**
|
|
262
295
|
* @see {@link DescribeLogGroupsCommand}
|
|
263
296
|
*/
|
|
@@ -381,6 +414,12 @@ export interface CloudWatchLogs {
|
|
|
381
414
|
getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
|
|
382
415
|
getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
383
416
|
getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
417
|
+
/**
|
|
418
|
+
* @see {@link GetTransformerCommand}
|
|
419
|
+
*/
|
|
420
|
+
getTransformer(args: GetTransformerCommandInput, options?: __HttpHandlerOptions): Promise<GetTransformerCommandOutput>;
|
|
421
|
+
getTransformer(args: GetTransformerCommandInput, cb: (err: any, data?: GetTransformerCommandOutput) => void): void;
|
|
422
|
+
getTransformer(args: GetTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTransformerCommandOutput) => void): void;
|
|
384
423
|
/**
|
|
385
424
|
* @see {@link ListAnomaliesCommand}
|
|
386
425
|
*/
|
|
@@ -395,6 +434,12 @@ export interface CloudWatchLogs {
|
|
|
395
434
|
listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListLogAnomalyDetectorsCommandOutput>;
|
|
396
435
|
listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, cb: (err: any, data?: ListLogAnomalyDetectorsCommandOutput) => void): void;
|
|
397
436
|
listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLogAnomalyDetectorsCommandOutput) => void): void;
|
|
437
|
+
/**
|
|
438
|
+
* @see {@link ListLogGroupsForQueryCommand}
|
|
439
|
+
*/
|
|
440
|
+
listLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, options?: __HttpHandlerOptions): Promise<ListLogGroupsForQueryCommandOutput>;
|
|
441
|
+
listLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, cb: (err: any, data?: ListLogGroupsForQueryCommandOutput) => void): void;
|
|
442
|
+
listLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLogGroupsForQueryCommandOutput) => void): void;
|
|
398
443
|
/**
|
|
399
444
|
* @see {@link ListTagsForResourceCommand}
|
|
400
445
|
*/
|
|
@@ -449,6 +494,12 @@ export interface CloudWatchLogs {
|
|
|
449
494
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutDestinationPolicyCommandOutput>;
|
|
450
495
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
451
496
|
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
497
|
+
/**
|
|
498
|
+
* @see {@link PutIndexPolicyCommand}
|
|
499
|
+
*/
|
|
500
|
+
putIndexPolicy(args: PutIndexPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutIndexPolicyCommandOutput>;
|
|
501
|
+
putIndexPolicy(args: PutIndexPolicyCommandInput, cb: (err: any, data?: PutIndexPolicyCommandOutput) => void): void;
|
|
502
|
+
putIndexPolicy(args: PutIndexPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutIndexPolicyCommandOutput) => void): void;
|
|
452
503
|
/**
|
|
453
504
|
* @see {@link PutLogEventsCommand}
|
|
454
505
|
*/
|
|
@@ -486,6 +537,12 @@ export interface CloudWatchLogs {
|
|
|
486
537
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<PutSubscriptionFilterCommandOutput>;
|
|
487
538
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
488
539
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
540
|
+
/**
|
|
541
|
+
* @see {@link PutTransformerCommand}
|
|
542
|
+
*/
|
|
543
|
+
putTransformer(args: PutTransformerCommandInput, options?: __HttpHandlerOptions): Promise<PutTransformerCommandOutput>;
|
|
544
|
+
putTransformer(args: PutTransformerCommandInput, cb: (err: any, data?: PutTransformerCommandOutput) => void): void;
|
|
545
|
+
putTransformer(args: PutTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTransformerCommandOutput) => void): void;
|
|
489
546
|
/**
|
|
490
547
|
* @see {@link StartLiveTailCommand}
|
|
491
548
|
*/
|
|
@@ -522,6 +579,12 @@ export interface CloudWatchLogs {
|
|
|
522
579
|
testMetricFilter(args: TestMetricFilterCommandInput, options?: __HttpHandlerOptions): Promise<TestMetricFilterCommandOutput>;
|
|
523
580
|
testMetricFilter(args: TestMetricFilterCommandInput, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
524
581
|
testMetricFilter(args: TestMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
582
|
+
/**
|
|
583
|
+
* @see {@link TestTransformerCommand}
|
|
584
|
+
*/
|
|
585
|
+
testTransformer(args: TestTransformerCommandInput, options?: __HttpHandlerOptions): Promise<TestTransformerCommandOutput>;
|
|
586
|
+
testTransformer(args: TestTransformerCommandInput, cb: (err: any, data?: TestTransformerCommandOutput) => void): void;
|
|
587
|
+
testTransformer(args: TestTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestTransformerCommandOutput) => void): void;
|
|
525
588
|
/**
|
|
526
589
|
* @see {@link UntagLogGroupCommand}
|
|
527
590
|
*/
|
|
@@ -22,6 +22,7 @@ import { DeleteDeliveryDestinationCommandInput, DeleteDeliveryDestinationCommand
|
|
|
22
22
|
import { DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationPolicyCommandOutput } from "./commands/DeleteDeliveryDestinationPolicyCommand";
|
|
23
23
|
import { DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput } from "./commands/DeleteDeliverySourceCommand";
|
|
24
24
|
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
25
|
+
import { DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput } from "./commands/DeleteIndexPolicyCommand";
|
|
25
26
|
import { DeleteLogAnomalyDetectorCommandInput, DeleteLogAnomalyDetectorCommandOutput } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
26
27
|
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
27
28
|
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
@@ -30,6 +31,7 @@ import { DeleteQueryDefinitionCommandInput, DeleteQueryDefinitionCommandOutput }
|
|
|
30
31
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
31
32
|
import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
32
33
|
import { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
34
|
+
import { DeleteTransformerCommandInput, DeleteTransformerCommandOutput } from "./commands/DeleteTransformerCommand";
|
|
33
35
|
import { DescribeAccountPoliciesCommandInput, DescribeAccountPoliciesCommandOutput } from "./commands/DescribeAccountPoliciesCommand";
|
|
34
36
|
import { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "./commands/DescribeConfigurationTemplatesCommand";
|
|
35
37
|
import { DescribeDeliveriesCommandInput, DescribeDeliveriesCommandOutput } from "./commands/DescribeDeliveriesCommand";
|
|
@@ -37,6 +39,8 @@ import { DescribeDeliveryDestinationsCommandInput, DescribeDeliveryDestinationsC
|
|
|
37
39
|
import { DescribeDeliverySourcesCommandInput, DescribeDeliverySourcesCommandOutput } from "./commands/DescribeDeliverySourcesCommand";
|
|
38
40
|
import { DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput } from "./commands/DescribeDestinationsCommand";
|
|
39
41
|
import { DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput } from "./commands/DescribeExportTasksCommand";
|
|
42
|
+
import { DescribeFieldIndexesCommandInput, DescribeFieldIndexesCommandOutput } from "./commands/DescribeFieldIndexesCommand";
|
|
43
|
+
import { DescribeIndexPoliciesCommandInput, DescribeIndexPoliciesCommandOutput } from "./commands/DescribeIndexPoliciesCommand";
|
|
40
44
|
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput } from "./commands/DescribeLogGroupsCommand";
|
|
41
45
|
import { DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput } from "./commands/DescribeLogStreamsCommand";
|
|
42
46
|
import { DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput } from "./commands/DescribeMetricFiltersCommand";
|
|
@@ -56,8 +60,10 @@ import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/
|
|
|
56
60
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
57
61
|
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
58
62
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
63
|
+
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
59
64
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
60
65
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
66
|
+
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
61
67
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
68
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
63
69
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -67,18 +73,21 @@ import { PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyC
|
|
|
67
73
|
import { PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput } from "./commands/PutDeliverySourceCommand";
|
|
68
74
|
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
69
75
|
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
76
|
+
import { PutIndexPolicyCommandInput, PutIndexPolicyCommandOutput } from "./commands/PutIndexPolicyCommand";
|
|
70
77
|
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
71
78
|
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
72
79
|
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
73
80
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
74
81
|
import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
75
82
|
import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
83
|
+
import { PutTransformerCommandInput, PutTransformerCommandOutput } from "./commands/PutTransformerCommand";
|
|
76
84
|
import { StartLiveTailCommandInput, StartLiveTailCommandOutput } from "./commands/StartLiveTailCommand";
|
|
77
85
|
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
78
86
|
import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
|
|
79
87
|
import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
|
|
80
88
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
81
89
|
import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
|
|
90
|
+
import { TestTransformerCommandInput, TestTransformerCommandOutput } from "./commands/TestTransformerCommand";
|
|
82
91
|
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
83
92
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
84
93
|
import { UpdateAnomalyCommandInput, UpdateAnomalyCommandOutput } from "./commands/UpdateAnomalyCommand";
|
|
@@ -90,11 +99,11 @@ export { __Client };
|
|
|
90
99
|
/**
|
|
91
100
|
* @public
|
|
92
101
|
*/
|
|
93
|
-
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | ListAnomaliesCommandInput | ListLogAnomalyDetectorsCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput;
|
|
102
|
+
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetTransformerCommandInput | ListAnomaliesCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsForQueryCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput;
|
|
94
103
|
/**
|
|
95
104
|
* @public
|
|
96
105
|
*/
|
|
97
|
-
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | ListAnomaliesCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput;
|
|
106
|
+
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetTransformerCommandOutput | ListAnomaliesCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsForQueryCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput;
|
|
98
107
|
/**
|
|
99
108
|
* @public
|
|
100
109
|
*/
|
|
@@ -27,8 +27,8 @@ declare const DeleteAccountPolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a CloudWatch Logs account policy. This stops the policy from applying to
|
|
31
|
-
*
|
|
30
|
+
* <p>Deletes a CloudWatch Logs account policy. This stops the account-wide policy from applying to log groups in the account. If you delete a data protection
|
|
31
|
+
* policy or subscription filter policy, any log-group level policies of those types remain in effect.</p>
|
|
32
32
|
* <p>To use this operation, you must be signed on with the correct permissions depending on the type of policy
|
|
33
33
|
* that you are deleting.</p>
|
|
34
34
|
* <ul>
|
|
@@ -40,7 +40,16 @@ declare const DeleteAccountPolicyCommand_base: {
|
|
|
40
40
|
* <p>To delete a subscription filter policy, you must have the <code>logs:DeleteSubscriptionFilter</code> and
|
|
41
41
|
* <code>logs:DeleteAccountPolicy</code> permissions.</p>
|
|
42
42
|
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>To delete a transformer policy, you must have the <code>logs:DeleteTransformer</code> and <code>logs:DeleteAccountPolicy</code> permissions.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>To delete a field index policy, you must have the <code>logs:DeleteIndexPolicy</code> and
|
|
48
|
+
* <code>logs:DeleteAccountPolicy</code> permissions.</p>
|
|
49
|
+
* </li>
|
|
43
50
|
* </ul>
|
|
51
|
+
* <p>If you delete a field index policy, the indexing of the log events that happened before
|
|
52
|
+
* you deleted the policy will still be used for up to 30 days to improve CloudWatch Logs Insights queries.</p>
|
|
44
53
|
* @example
|
|
45
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
46
55
|
* ```javascript
|
|
@@ -49,7 +58,7 @@ declare const DeleteAccountPolicyCommand_base: {
|
|
|
49
58
|
* const client = new CloudWatchLogsClient(config);
|
|
50
59
|
* const input = { // DeleteAccountPolicyRequest
|
|
51
60
|
* policyName: "STRING_VALUE", // required
|
|
52
|
-
* policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY", // required
|
|
61
|
+
* policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY" || "FIELD_INDEX_POLICY" || "TRANSFORMER_POLICY", // required
|
|
53
62
|
* };
|
|
54
63
|
* const command = new DeleteAccountPolicyCommand(input);
|
|
55
64
|
* const response = await client.send(command);
|