@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
|
@@ -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";
|
|
@@ -9,7 +9,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const PolicyType: {
|
|
11
11
|
readonly DATA_PROTECTION_POLICY: "DATA_PROTECTION_POLICY";
|
|
12
|
+
readonly FIELD_INDEX_POLICY: "FIELD_INDEX_POLICY";
|
|
12
13
|
readonly SUBSCRIPTION_FILTER_POLICY: "SUBSCRIPTION_FILTER_POLICY";
|
|
14
|
+
readonly TRANSFORMER_POLICY: "TRANSFORMER_POLICY";
|
|
13
15
|
};
|
|
14
16
|
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
15
17
|
export declare const Scope: {
|
|
@@ -25,6 +27,14 @@ export interface AccountPolicy {
|
|
|
25
27
|
selectionCriteria?: string | undefined;
|
|
26
28
|
accountId?: string | undefined;
|
|
27
29
|
}
|
|
30
|
+
export interface AddKeyEntry {
|
|
31
|
+
key: string | undefined;
|
|
32
|
+
value: string | undefined;
|
|
33
|
+
overwriteIfExists?: boolean | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface AddKeys {
|
|
36
|
+
entries: AddKeyEntry[] | undefined;
|
|
37
|
+
}
|
|
28
38
|
export interface RecordField {
|
|
29
39
|
name?: string | undefined;
|
|
30
40
|
mandatory?: boolean | undefined;
|
|
@@ -185,6 +195,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
185
195
|
readonly $fault: "client";
|
|
186
196
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
187
197
|
}
|
|
198
|
+
export interface CopyValueEntry {
|
|
199
|
+
source: string | undefined;
|
|
200
|
+
target: string | undefined;
|
|
201
|
+
overwriteIfExists?: boolean | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface CopyValue {
|
|
204
|
+
entries: CopyValueEntry[] | undefined;
|
|
205
|
+
}
|
|
188
206
|
export interface CreateDeliveryRequest {
|
|
189
207
|
deliverySourceName: string | undefined;
|
|
190
208
|
deliveryDestinationArn: string | undefined;
|
|
@@ -281,6 +299,12 @@ export interface CreateLogStreamRequest {
|
|
|
281
299
|
logGroupName: string | undefined;
|
|
282
300
|
logStreamName: string | undefined;
|
|
283
301
|
}
|
|
302
|
+
export interface CSV {
|
|
303
|
+
quoteCharacter?: string | undefined;
|
|
304
|
+
delimiter?: string | undefined;
|
|
305
|
+
columns?: string[] | undefined;
|
|
306
|
+
source?: string | undefined;
|
|
307
|
+
}
|
|
284
308
|
export declare class DataAlreadyAcceptedException extends __BaseException {
|
|
285
309
|
readonly name: "DataAlreadyAcceptedException";
|
|
286
310
|
readonly $fault: "client";
|
|
@@ -297,6 +321,15 @@ export declare const DataProtectionStatus: {
|
|
|
297
321
|
};
|
|
298
322
|
export type DataProtectionStatus =
|
|
299
323
|
(typeof DataProtectionStatus)[keyof typeof DataProtectionStatus];
|
|
324
|
+
export interface DateTimeConverter {
|
|
325
|
+
source: string | undefined;
|
|
326
|
+
target: string | undefined;
|
|
327
|
+
targetFormat?: string | undefined;
|
|
328
|
+
matchPatterns: string[] | undefined;
|
|
329
|
+
sourceTimezone?: string | undefined;
|
|
330
|
+
targetTimezone?: string | undefined;
|
|
331
|
+
locale?: string | undefined;
|
|
332
|
+
}
|
|
300
333
|
export interface DeleteAccountPolicyRequest {
|
|
301
334
|
policyName: string | undefined;
|
|
302
335
|
policyType: PolicyType | undefined;
|
|
@@ -319,6 +352,13 @@ export interface DeleteDeliverySourceRequest {
|
|
|
319
352
|
export interface DeleteDestinationRequest {
|
|
320
353
|
destinationName: string | undefined;
|
|
321
354
|
}
|
|
355
|
+
export interface DeleteIndexPolicyRequest {
|
|
356
|
+
logGroupIdentifier: string | undefined;
|
|
357
|
+
}
|
|
358
|
+
export interface DeleteIndexPolicyResponse {}
|
|
359
|
+
export interface DeleteKeys {
|
|
360
|
+
withKeys: string[] | undefined;
|
|
361
|
+
}
|
|
322
362
|
export interface DeleteLogAnomalyDetectorRequest {
|
|
323
363
|
anomalyDetectorArn: string | undefined;
|
|
324
364
|
}
|
|
@@ -349,6 +389,9 @@ export interface DeleteSubscriptionFilterRequest {
|
|
|
349
389
|
logGroupName: string | undefined;
|
|
350
390
|
filterName: string | undefined;
|
|
351
391
|
}
|
|
392
|
+
export interface DeleteTransformerRequest {
|
|
393
|
+
logGroupIdentifier: string | undefined;
|
|
394
|
+
}
|
|
352
395
|
export interface DeliveryDestinationConfiguration {
|
|
353
396
|
destinationResourceArn: string | undefined;
|
|
354
397
|
}
|
|
@@ -374,9 +417,11 @@ export interface DescribeAccountPoliciesRequest {
|
|
|
374
417
|
policyType: PolicyType | undefined;
|
|
375
418
|
policyName?: string | undefined;
|
|
376
419
|
accountIdentifiers?: string[] | undefined;
|
|
420
|
+
nextToken?: string | undefined;
|
|
377
421
|
}
|
|
378
422
|
export interface DescribeAccountPoliciesResponse {
|
|
379
423
|
accountPolicies?: AccountPolicy[] | undefined;
|
|
424
|
+
nextToken?: string | undefined;
|
|
380
425
|
}
|
|
381
426
|
export interface DescribeConfigurationTemplatesRequest {
|
|
382
427
|
service?: string | undefined;
|
|
@@ -470,6 +515,41 @@ export interface DescribeExportTasksResponse {
|
|
|
470
515
|
exportTasks?: ExportTask[] | undefined;
|
|
471
516
|
nextToken?: string | undefined;
|
|
472
517
|
}
|
|
518
|
+
export interface DescribeFieldIndexesRequest {
|
|
519
|
+
logGroupIdentifiers: string[] | undefined;
|
|
520
|
+
nextToken?: string | undefined;
|
|
521
|
+
}
|
|
522
|
+
export interface FieldIndex {
|
|
523
|
+
logGroupIdentifier?: string | undefined;
|
|
524
|
+
fieldIndexName?: string | undefined;
|
|
525
|
+
lastScanTime?: number | undefined;
|
|
526
|
+
firstEventTime?: number | undefined;
|
|
527
|
+
lastEventTime?: number | undefined;
|
|
528
|
+
}
|
|
529
|
+
export interface DescribeFieldIndexesResponse {
|
|
530
|
+
fieldIndexes?: FieldIndex[] | undefined;
|
|
531
|
+
nextToken?: string | undefined;
|
|
532
|
+
}
|
|
533
|
+
export interface DescribeIndexPoliciesRequest {
|
|
534
|
+
logGroupIdentifiers: string[] | undefined;
|
|
535
|
+
nextToken?: string | undefined;
|
|
536
|
+
}
|
|
537
|
+
export declare const IndexSource: {
|
|
538
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
539
|
+
readonly LOG_GROUP: "LOG_GROUP";
|
|
540
|
+
};
|
|
541
|
+
export type IndexSource = (typeof IndexSource)[keyof typeof IndexSource];
|
|
542
|
+
export interface IndexPolicy {
|
|
543
|
+
logGroupIdentifier?: string | undefined;
|
|
544
|
+
lastUpdateTime?: number | undefined;
|
|
545
|
+
policyDocument?: string | undefined;
|
|
546
|
+
policyName?: string | undefined;
|
|
547
|
+
source?: IndexSource | undefined;
|
|
548
|
+
}
|
|
549
|
+
export interface DescribeIndexPoliciesResponse {
|
|
550
|
+
indexPolicies?: IndexPolicy[] | undefined;
|
|
551
|
+
nextToken?: string | undefined;
|
|
552
|
+
}
|
|
473
553
|
export interface DescribeLogGroupsRequest {
|
|
474
554
|
accountIdentifiers?: string[] | undefined;
|
|
475
555
|
logGroupNamePrefix?: string | undefined;
|
|
@@ -581,6 +661,7 @@ export interface MetricFilter {
|
|
|
581
661
|
metricTransformations?: MetricTransformation[] | undefined;
|
|
582
662
|
creationTime?: number | undefined;
|
|
583
663
|
logGroupName?: string | undefined;
|
|
664
|
+
applyOnTransformedLogs?: boolean | undefined;
|
|
584
665
|
}
|
|
585
666
|
export interface DescribeMetricFiltersResponse {
|
|
586
667
|
metricFilters?: MetricFilter[] | undefined;
|
|
@@ -660,6 +741,7 @@ export interface SubscriptionFilter {
|
|
|
660
741
|
destinationArn?: string | undefined;
|
|
661
742
|
roleArn?: string | undefined;
|
|
662
743
|
distribution?: Distribution | undefined;
|
|
744
|
+
applyOnTransformedLogs?: boolean | undefined;
|
|
663
745
|
creationTime?: number | undefined;
|
|
664
746
|
}
|
|
665
747
|
export interface DescribeSubscriptionFiltersResponse {
|
|
@@ -714,6 +796,12 @@ export interface FilterLogEventsResponse {
|
|
|
714
796
|
searchedLogStreams?: SearchedLogStream[] | undefined;
|
|
715
797
|
nextToken?: string | undefined;
|
|
716
798
|
}
|
|
799
|
+
export declare const FlattenedElement: {
|
|
800
|
+
readonly FIRST: "first";
|
|
801
|
+
readonly LAST: "last";
|
|
802
|
+
};
|
|
803
|
+
export type FlattenedElement =
|
|
804
|
+
(typeof FlattenedElement)[keyof typeof FlattenedElement];
|
|
717
805
|
export interface GetDataProtectionPolicyRequest {
|
|
718
806
|
logGroupIdentifier: string | undefined;
|
|
719
807
|
}
|
|
@@ -813,7 +901,10 @@ export interface ResultField {
|
|
|
813
901
|
export interface QueryStatistics {
|
|
814
902
|
recordsMatched?: number | undefined;
|
|
815
903
|
recordsScanned?: number | undefined;
|
|
904
|
+
estimatedRecordsSkipped?: number | undefined;
|
|
816
905
|
bytesScanned?: number | undefined;
|
|
906
|
+
estimatedBytesSkipped?: number | undefined;
|
|
907
|
+
logGroupsScanned?: number | undefined;
|
|
817
908
|
}
|
|
818
909
|
export interface GetQueryResultsResponse {
|
|
819
910
|
results?: ResultField[][] | undefined;
|
|
@@ -821,6 +912,133 @@ export interface GetQueryResultsResponse {
|
|
|
821
912
|
status?: QueryStatus | undefined;
|
|
822
913
|
encryptionKey?: string | undefined;
|
|
823
914
|
}
|
|
915
|
+
export interface GetTransformerRequest {
|
|
916
|
+
logGroupIdentifier: string | undefined;
|
|
917
|
+
}
|
|
918
|
+
export interface Grok {
|
|
919
|
+
source?: string | undefined;
|
|
920
|
+
match: string | undefined;
|
|
921
|
+
}
|
|
922
|
+
export interface ListToMap {
|
|
923
|
+
source: string | undefined;
|
|
924
|
+
key: string | undefined;
|
|
925
|
+
valueKey?: string | undefined;
|
|
926
|
+
target?: string | undefined;
|
|
927
|
+
flatten?: boolean | undefined;
|
|
928
|
+
flattenedElement?: FlattenedElement | undefined;
|
|
929
|
+
}
|
|
930
|
+
export interface LowerCaseString {
|
|
931
|
+
withKeys: string[] | undefined;
|
|
932
|
+
}
|
|
933
|
+
export interface MoveKeyEntry {
|
|
934
|
+
source: string | undefined;
|
|
935
|
+
target: string | undefined;
|
|
936
|
+
overwriteIfExists?: boolean | undefined;
|
|
937
|
+
}
|
|
938
|
+
export interface MoveKeys {
|
|
939
|
+
entries: MoveKeyEntry[] | undefined;
|
|
940
|
+
}
|
|
941
|
+
export interface ParseCloudfront {
|
|
942
|
+
source?: string | undefined;
|
|
943
|
+
}
|
|
944
|
+
export interface ParseJSON {
|
|
945
|
+
source?: string | undefined;
|
|
946
|
+
destination?: string | undefined;
|
|
947
|
+
}
|
|
948
|
+
export interface ParseKeyValue {
|
|
949
|
+
source?: string | undefined;
|
|
950
|
+
destination?: string | undefined;
|
|
951
|
+
fieldDelimiter?: string | undefined;
|
|
952
|
+
keyValueDelimiter?: string | undefined;
|
|
953
|
+
keyPrefix?: string | undefined;
|
|
954
|
+
nonMatchValue?: string | undefined;
|
|
955
|
+
overwriteIfExists?: boolean | undefined;
|
|
956
|
+
}
|
|
957
|
+
export interface ParsePostgres {
|
|
958
|
+
source?: string | undefined;
|
|
959
|
+
}
|
|
960
|
+
export interface ParseRoute53 {
|
|
961
|
+
source?: string | undefined;
|
|
962
|
+
}
|
|
963
|
+
export interface ParseVPC {
|
|
964
|
+
source?: string | undefined;
|
|
965
|
+
}
|
|
966
|
+
export interface ParseWAF {
|
|
967
|
+
source?: string | undefined;
|
|
968
|
+
}
|
|
969
|
+
export interface RenameKeyEntry {
|
|
970
|
+
key: string | undefined;
|
|
971
|
+
renameTo: string | undefined;
|
|
972
|
+
overwriteIfExists?: boolean | undefined;
|
|
973
|
+
}
|
|
974
|
+
export interface RenameKeys {
|
|
975
|
+
entries: RenameKeyEntry[] | undefined;
|
|
976
|
+
}
|
|
977
|
+
export interface SplitStringEntry {
|
|
978
|
+
source: string | undefined;
|
|
979
|
+
delimiter: string | undefined;
|
|
980
|
+
}
|
|
981
|
+
export interface SplitString {
|
|
982
|
+
entries: SplitStringEntry[] | undefined;
|
|
983
|
+
}
|
|
984
|
+
export interface SubstituteStringEntry {
|
|
985
|
+
source: string | undefined;
|
|
986
|
+
from: string | undefined;
|
|
987
|
+
to: string | undefined;
|
|
988
|
+
}
|
|
989
|
+
export interface SubstituteString {
|
|
990
|
+
entries: SubstituteStringEntry[] | undefined;
|
|
991
|
+
}
|
|
992
|
+
export interface TrimString {
|
|
993
|
+
withKeys: string[] | undefined;
|
|
994
|
+
}
|
|
995
|
+
export declare const Type: {
|
|
996
|
+
readonly BOOLEAN: "boolean";
|
|
997
|
+
readonly DOUBLE: "double";
|
|
998
|
+
readonly INTEGER: "integer";
|
|
999
|
+
readonly STRING: "string";
|
|
1000
|
+
};
|
|
1001
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
1002
|
+
export interface TypeConverterEntry {
|
|
1003
|
+
key: string | undefined;
|
|
1004
|
+
type: Type | undefined;
|
|
1005
|
+
}
|
|
1006
|
+
export interface TypeConverter {
|
|
1007
|
+
entries: TypeConverterEntry[] | undefined;
|
|
1008
|
+
}
|
|
1009
|
+
export interface UpperCaseString {
|
|
1010
|
+
withKeys: string[] | undefined;
|
|
1011
|
+
}
|
|
1012
|
+
export interface Processor {
|
|
1013
|
+
addKeys?: AddKeys | undefined;
|
|
1014
|
+
copyValue?: CopyValue | undefined;
|
|
1015
|
+
csv?: CSV | undefined;
|
|
1016
|
+
dateTimeConverter?: DateTimeConverter | undefined;
|
|
1017
|
+
deleteKeys?: DeleteKeys | undefined;
|
|
1018
|
+
grok?: Grok | undefined;
|
|
1019
|
+
listToMap?: ListToMap | undefined;
|
|
1020
|
+
lowerCaseString?: LowerCaseString | undefined;
|
|
1021
|
+
moveKeys?: MoveKeys | undefined;
|
|
1022
|
+
parseCloudfront?: ParseCloudfront | undefined;
|
|
1023
|
+
parseJSON?: ParseJSON | undefined;
|
|
1024
|
+
parseKeyValue?: ParseKeyValue | undefined;
|
|
1025
|
+
parseRoute53?: ParseRoute53 | undefined;
|
|
1026
|
+
parsePostgres?: ParsePostgres | undefined;
|
|
1027
|
+
parseVPC?: ParseVPC | undefined;
|
|
1028
|
+
parseWAF?: ParseWAF | undefined;
|
|
1029
|
+
renameKeys?: RenameKeys | undefined;
|
|
1030
|
+
splitString?: SplitString | undefined;
|
|
1031
|
+
substituteString?: SubstituteString | undefined;
|
|
1032
|
+
trimString?: TrimString | undefined;
|
|
1033
|
+
typeConverter?: TypeConverter | undefined;
|
|
1034
|
+
upperCaseString?: UpperCaseString | undefined;
|
|
1035
|
+
}
|
|
1036
|
+
export interface GetTransformerResponse {
|
|
1037
|
+
logGroupIdentifier?: string | undefined;
|
|
1038
|
+
creationTime?: number | undefined;
|
|
1039
|
+
lastModifiedTime?: number | undefined;
|
|
1040
|
+
transformerConfig?: Processor[] | undefined;
|
|
1041
|
+
}
|
|
824
1042
|
export interface InputLogEvent {
|
|
825
1043
|
timestamp: number | undefined;
|
|
826
1044
|
message: string | undefined;
|
|
@@ -858,6 +1076,15 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
858
1076
|
anomalyDetectors?: AnomalyDetector[] | undefined;
|
|
859
1077
|
nextToken?: string | undefined;
|
|
860
1078
|
}
|
|
1079
|
+
export interface ListLogGroupsForQueryRequest {
|
|
1080
|
+
queryId: string | undefined;
|
|
1081
|
+
nextToken?: string | undefined;
|
|
1082
|
+
maxResults?: number | undefined;
|
|
1083
|
+
}
|
|
1084
|
+
export interface ListLogGroupsForQueryResponse {
|
|
1085
|
+
logGroupIdentifiers?: string[] | undefined;
|
|
1086
|
+
nextToken?: string | undefined;
|
|
1087
|
+
}
|
|
861
1088
|
export interface ListTagsForResourceRequest {
|
|
862
1089
|
resourceArn: string | undefined;
|
|
863
1090
|
}
|
|
@@ -952,6 +1179,13 @@ export interface PutDestinationPolicyRequest {
|
|
|
952
1179
|
accessPolicy: string | undefined;
|
|
953
1180
|
forceUpdate?: boolean | undefined;
|
|
954
1181
|
}
|
|
1182
|
+
export interface PutIndexPolicyRequest {
|
|
1183
|
+
logGroupIdentifier: string | undefined;
|
|
1184
|
+
policyDocument: string | undefined;
|
|
1185
|
+
}
|
|
1186
|
+
export interface PutIndexPolicyResponse {
|
|
1187
|
+
indexPolicy?: IndexPolicy | undefined;
|
|
1188
|
+
}
|
|
955
1189
|
export interface PutLogEventsRequest {
|
|
956
1190
|
logGroupName: string | undefined;
|
|
957
1191
|
logStreamName: string | undefined;
|
|
@@ -984,6 +1218,7 @@ export interface PutMetricFilterRequest {
|
|
|
984
1218
|
filterName: string | undefined;
|
|
985
1219
|
filterPattern: string | undefined;
|
|
986
1220
|
metricTransformations: MetricTransformation[] | undefined;
|
|
1221
|
+
applyOnTransformedLogs?: boolean | undefined;
|
|
987
1222
|
}
|
|
988
1223
|
export interface PutQueryDefinitionRequest {
|
|
989
1224
|
name: string | undefined;
|
|
@@ -1013,6 +1248,11 @@ export interface PutSubscriptionFilterRequest {
|
|
|
1013
1248
|
destinationArn: string | undefined;
|
|
1014
1249
|
roleArn?: string | undefined;
|
|
1015
1250
|
distribution?: Distribution | undefined;
|
|
1251
|
+
applyOnTransformedLogs?: boolean | undefined;
|
|
1252
|
+
}
|
|
1253
|
+
export interface PutTransformerRequest {
|
|
1254
|
+
logGroupIdentifier: string | undefined;
|
|
1255
|
+
transformerConfig: Processor[] | undefined;
|
|
1016
1256
|
}
|
|
1017
1257
|
export interface StartLiveTailRequest {
|
|
1018
1258
|
logGroupIdentifiers: string[] | undefined;
|
|
@@ -1153,6 +1393,18 @@ export interface MetricFilterMatchRecord {
|
|
|
1153
1393
|
export interface TestMetricFilterResponse {
|
|
1154
1394
|
matches?: MetricFilterMatchRecord[] | undefined;
|
|
1155
1395
|
}
|
|
1396
|
+
export interface TestTransformerRequest {
|
|
1397
|
+
transformerConfig: Processor[] | undefined;
|
|
1398
|
+
logEventMessages: string[] | undefined;
|
|
1399
|
+
}
|
|
1400
|
+
export interface TransformedLogRecord {
|
|
1401
|
+
eventNumber?: number | undefined;
|
|
1402
|
+
eventMessage?: string | undefined;
|
|
1403
|
+
transformedEventMessage?: string | undefined;
|
|
1404
|
+
}
|
|
1405
|
+
export interface TestTransformerResponse {
|
|
1406
|
+
transformedLogs?: TransformedLogRecord[] | undefined;
|
|
1407
|
+
}
|
|
1156
1408
|
export interface UntagLogGroupRequest {
|
|
1157
1409
|
logGroupName: string | undefined;
|
|
1158
1410
|
tags: string[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLogGroupsForQueryCommandInput,
|
|
4
|
+
ListLogGroupsForQueryCommandOutput,
|
|
5
|
+
} from "../commands/ListLogGroupsForQueryCommand";
|
|
6
|
+
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListLogGroupsForQuery: (
|
|
8
|
+
config: CloudWatchLogsPaginationConfiguration,
|
|
9
|
+
input: ListLogGroupsForQueryCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListLogGroupsForQueryCommandOutput>;
|