@aws-sdk/client-cloudwatch-logs 3.451.0 → 3.458.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +129 -73
  2. package/dist-cjs/CloudWatchLogs.js +14 -0
  3. package/dist-cjs/commands/CreateLogAnomalyDetectorCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteLogAnomalyDetectorCommand.js +51 -0
  5. package/dist-cjs/commands/GetLogAnomalyDetectorCommand.js +51 -0
  6. package/dist-cjs/commands/ListAnomaliesCommand.js +51 -0
  7. package/dist-cjs/commands/ListLogAnomalyDetectorsCommand.js +51 -0
  8. package/dist-cjs/commands/UpdateAnomalyCommand.js +51 -0
  9. package/dist-cjs/commands/UpdateLogAnomalyDetectorCommand.js +51 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +39 -1
  12. package/dist-cjs/pagination/ListAnomaliesPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListLogAnomalyDetectorsPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +2 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +340 -3
  16. package/dist-es/CloudWatchLogs.js +14 -0
  17. package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +47 -0
  18. package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +47 -0
  19. package/dist-es/commands/GetLogAnomalyDetectorCommand.js +47 -0
  20. package/dist-es/commands/ListAnomaliesCommand.js +47 -0
  21. package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +47 -0
  22. package/dist-es/commands/UpdateAnomalyCommand.js +47 -0
  23. package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +47 -0
  24. package/dist-es/commands/index.js +7 -0
  25. package/dist-es/models/models_0.js +38 -0
  26. package/dist-es/pagination/ListAnomaliesPaginator.js +25 -0
  27. package/dist-es/pagination/ListLogAnomalyDetectorsPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_json1_1.js +323 -0
  30. package/dist-types/CloudWatchLogs.d.ts +49 -0
  31. package/dist-types/CloudWatchLogsClient.d.ts +9 -2
  32. package/dist-types/commands/CreateDeliveryCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +129 -0
  34. package/dist-types/commands/CreateLogGroupCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +83 -0
  36. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -0
  37. package/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +95 -0
  38. package/dist-types/commands/ListAnomaliesCommand.d.ts +127 -0
  39. package/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +103 -0
  40. package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +1 -1
  41. package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/PutDeliverySourceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateAnomalyCommand.d.ts +98 -0
  44. package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +87 -0
  45. package/dist-types/commands/index.d.ts +7 -0
  46. package/dist-types/models/models_0.d.ts +686 -4
  47. package/dist-types/pagination/ListAnomaliesPaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +2 -0
  50. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  51. package/dist-types/ts3.4/CloudWatchLogs.d.ts +119 -0
  52. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +44 -2
  53. package/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +33 -0
  59. package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +158 -0
  62. package/dist-types/ts3.4/pagination/ListAnomaliesPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/ListLogAnomalyDetectorsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  65. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  66. package/package.json +3 -3
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudWatchLogsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudWatchLogsClient";
14
+ import {
15
+ ListLogAnomalyDetectorsRequest,
16
+ ListLogAnomalyDetectorsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListLogAnomalyDetectorsCommandInput
20
+ extends ListLogAnomalyDetectorsRequest {}
21
+ export interface ListLogAnomalyDetectorsCommandOutput
22
+ extends ListLogAnomalyDetectorsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListLogAnomalyDetectorsCommand extends $Command<
25
+ ListLogAnomalyDetectorsCommandInput,
26
+ ListLogAnomalyDetectorsCommandOutput,
27
+ CloudWatchLogsClientResolvedConfig
28
+ > {
29
+ readonly input: ListLogAnomalyDetectorsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListLogAnomalyDetectorsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: CloudWatchLogsClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListLogAnomalyDetectorsCommandInput,
38
+ ListLogAnomalyDetectorsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,33 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudWatchLogsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudWatchLogsClient";
14
+ import { UpdateAnomalyRequest } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface UpdateAnomalyCommandInput extends UpdateAnomalyRequest {}
17
+ export interface UpdateAnomalyCommandOutput extends __MetadataBearer {}
18
+ export declare class UpdateAnomalyCommand extends $Command<
19
+ UpdateAnomalyCommandInput,
20
+ UpdateAnomalyCommandOutput,
21
+ CloudWatchLogsClientResolvedConfig
22
+ > {
23
+ readonly input: UpdateAnomalyCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
+ constructor(input: UpdateAnomalyCommandInput);
26
+ resolveMiddleware(
27
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
+ configuration: CloudWatchLogsClientResolvedConfig,
29
+ options?: __HttpHandlerOptions
30
+ ): Handler<UpdateAnomalyCommandInput, UpdateAnomalyCommandOutput>;
31
+ private serialize;
32
+ private deserialize;
33
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CloudWatchLogsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudWatchLogsClient";
14
+ import { UpdateLogAnomalyDetectorRequest } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface UpdateLogAnomalyDetectorCommandInput
17
+ extends UpdateLogAnomalyDetectorRequest {}
18
+ export interface UpdateLogAnomalyDetectorCommandOutput
19
+ extends __MetadataBearer {}
20
+ export declare class UpdateLogAnomalyDetectorCommand extends $Command<
21
+ UpdateLogAnomalyDetectorCommandInput,
22
+ UpdateLogAnomalyDetectorCommandOutput,
23
+ CloudWatchLogsClientResolvedConfig
24
+ > {
25
+ readonly input: UpdateLogAnomalyDetectorCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: UpdateLogAnomalyDetectorCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: CloudWatchLogsClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<
33
+ UpdateLogAnomalyDetectorCommandInput,
34
+ UpdateLogAnomalyDetectorCommandOutput
35
+ >;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -2,6 +2,7 @@ export * from "./AssociateKmsKeyCommand";
2
2
  export * from "./CancelExportTaskCommand";
3
3
  export * from "./CreateDeliveryCommand";
4
4
  export * from "./CreateExportTaskCommand";
5
+ export * from "./CreateLogAnomalyDetectorCommand";
5
6
  export * from "./CreateLogGroupCommand";
6
7
  export * from "./CreateLogStreamCommand";
7
8
  export * from "./DeleteAccountPolicyCommand";
@@ -11,6 +12,7 @@ export * from "./DeleteDeliveryDestinationCommand";
11
12
  export * from "./DeleteDeliveryDestinationPolicyCommand";
12
13
  export * from "./DeleteDeliverySourceCommand";
13
14
  export * from "./DeleteDestinationCommand";
15
+ export * from "./DeleteLogAnomalyDetectorCommand";
14
16
  export * from "./DeleteLogGroupCommand";
15
17
  export * from "./DeleteLogStreamCommand";
16
18
  export * from "./DeleteMetricFilterCommand";
@@ -38,10 +40,13 @@ export * from "./GetDeliveryCommand";
38
40
  export * from "./GetDeliveryDestinationCommand";
39
41
  export * from "./GetDeliveryDestinationPolicyCommand";
40
42
  export * from "./GetDeliverySourceCommand";
43
+ export * from "./GetLogAnomalyDetectorCommand";
41
44
  export * from "./GetLogEventsCommand";
42
45
  export * from "./GetLogGroupFieldsCommand";
43
46
  export * from "./GetLogRecordCommand";
44
47
  export * from "./GetQueryResultsCommand";
48
+ export * from "./ListAnomaliesCommand";
49
+ export * from "./ListLogAnomalyDetectorsCommand";
45
50
  export * from "./ListTagsForResourceCommand";
46
51
  export * from "./ListTagsLogGroupCommand";
47
52
  export * from "./PutAccountPolicyCommand";
@@ -64,3 +69,5 @@ export * from "./TagResourceCommand";
64
69
  export * from "./TestMetricFilterCommand";
65
70
  export * from "./UntagLogGroupCommand";
66
71
  export * from "./UntagResourceCommand";
72
+ export * from "./UpdateAnomalyCommand";
73
+ export * from "./UpdateLogAnomalyDetectorCommand";
@@ -23,6 +23,71 @@ export interface AccountPolicy {
23
23
  scope?: Scope;
24
24
  accountId?: string;
25
25
  }
26
+ export interface PatternToken {
27
+ dynamicTokenPosition?: number;
28
+ isDynamic?: boolean;
29
+ tokenString?: string;
30
+ enumerations?: Record<string, number>;
31
+ }
32
+ export declare const State: {
33
+ readonly Active: "Active";
34
+ readonly Baseline: "Baseline";
35
+ readonly Suppressed: "Suppressed";
36
+ };
37
+ export type State = (typeof State)[keyof typeof State];
38
+ export interface Anomaly {
39
+ anomalyId: string | undefined;
40
+ patternId: string | undefined;
41
+ anomalyDetectorArn: string | undefined;
42
+ patternString: string | undefined;
43
+ patternRegex?: string;
44
+ priority?: string;
45
+ firstSeen: number | undefined;
46
+ lastSeen: number | undefined;
47
+ description: string | undefined;
48
+ active: boolean | undefined;
49
+ state: State | undefined;
50
+ histogram: Record<string, number> | undefined;
51
+ logSamples: string[] | undefined;
52
+ patternTokens: PatternToken[] | undefined;
53
+ logGroupArnList: string[] | undefined;
54
+ suppressed?: boolean;
55
+ suppressedDate?: number;
56
+ suppressedUntil?: number;
57
+ isPatternLevelSuppression?: boolean;
58
+ }
59
+ export declare const AnomalyDetectorStatus: {
60
+ readonly ANALYZING: "ANALYZING";
61
+ readonly DELETED: "DELETED";
62
+ readonly FAILED: "FAILED";
63
+ readonly INITIALIZING: "INITIALIZING";
64
+ readonly PAUSED: "PAUSED";
65
+ readonly TRAINING: "TRAINING";
66
+ };
67
+ export type AnomalyDetectorStatus =
68
+ (typeof AnomalyDetectorStatus)[keyof typeof AnomalyDetectorStatus];
69
+ export declare const EvaluationFrequency: {
70
+ readonly FIFTEEN_MIN: "FIFTEEN_MIN";
71
+ readonly FIVE_MIN: "FIVE_MIN";
72
+ readonly ONE_HOUR: "ONE_HOUR";
73
+ readonly ONE_MIN: "ONE_MIN";
74
+ readonly TEN_MIN: "TEN_MIN";
75
+ readonly THIRTY_MIN: "THIRTY_MIN";
76
+ };
77
+ export type EvaluationFrequency =
78
+ (typeof EvaluationFrequency)[keyof typeof EvaluationFrequency];
79
+ export interface AnomalyDetector {
80
+ anomalyDetectorArn?: string;
81
+ detectorName?: string;
82
+ logGroupArnList?: string[];
83
+ evaluationFrequency?: EvaluationFrequency;
84
+ filterPattern?: string;
85
+ anomalyDetectorStatus?: AnomalyDetectorStatus;
86
+ kmsKeyId?: string;
87
+ creationTimeStamp?: number;
88
+ lastModifiedTimeStamp?: number;
89
+ anomalyVisibilityTime?: number;
90
+ }
26
91
  export interface AssociateKmsKeyRequest {
27
92
  logGroupName?: string;
28
93
  kmsKeyId: string | undefined;
@@ -141,10 +206,28 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
141
206
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
142
207
  );
143
208
  }
209
+ export interface CreateLogAnomalyDetectorRequest {
210
+ logGroupArnList: string[] | undefined;
211
+ detectorName?: string;
212
+ evaluationFrequency?: EvaluationFrequency;
213
+ filterPattern?: string;
214
+ kmsKeyId?: string;
215
+ anomalyVisibilityTime?: number;
216
+ tags?: Record<string, string>;
217
+ }
218
+ export interface CreateLogAnomalyDetectorResponse {
219
+ anomalyDetectorArn?: string;
220
+ }
221
+ export declare const LogGroupClass: {
222
+ readonly INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
223
+ readonly STANDARD: "STANDARD";
224
+ };
225
+ export type LogGroupClass = (typeof LogGroupClass)[keyof typeof LogGroupClass];
144
226
  export interface CreateLogGroupRequest {
145
227
  logGroupName: string | undefined;
146
228
  kmsKeyId?: string;
147
229
  tags?: Record<string, string>;
230
+ logGroupClass?: LogGroupClass;
148
231
  }
149
232
  export interface CreateLogStreamRequest {
150
233
  logGroupName: string | undefined;
@@ -188,6 +271,9 @@ export interface DeleteDeliverySourceRequest {
188
271
  export interface DeleteDestinationRequest {
189
272
  destinationName: string | undefined;
190
273
  }
274
+ export interface DeleteLogAnomalyDetectorRequest {
275
+ anomalyDetectorArn: string | undefined;
276
+ }
191
277
  export interface DeleteLogGroupRequest {
192
278
  logGroupName: string | undefined;
193
279
  }
@@ -337,6 +423,7 @@ export interface DescribeLogGroupsRequest {
337
423
  nextToken?: string;
338
424
  limit?: number;
339
425
  includeLinkedAccounts?: boolean;
426
+ logGroupClass?: LogGroupClass;
340
427
  }
341
428
  export declare const InheritedProperty: {
342
429
  readonly ACCOUNT_DATA_PROTECTION: "ACCOUNT_DATA_PROTECTION";
@@ -353,6 +440,7 @@ export interface LogGroup {
353
440
  kmsKeyId?: string;
354
441
  dataProtectionStatus?: DataProtectionStatus;
355
442
  inheritedProperties?: InheritedProperty[];
443
+ logGroupClass?: LogGroupClass;
356
444
  }
357
445
  export interface DescribeLogGroupsResponse {
358
446
  logGroups?: LogGroup[];
@@ -591,6 +679,20 @@ export interface GetDeliverySourceRequest {
591
679
  export interface GetDeliverySourceResponse {
592
680
  deliverySource?: DeliverySource;
593
681
  }
682
+ export interface GetLogAnomalyDetectorRequest {
683
+ anomalyDetectorArn: string | undefined;
684
+ }
685
+ export interface GetLogAnomalyDetectorResponse {
686
+ detectorName?: string;
687
+ logGroupArnList?: string[];
688
+ evaluationFrequency?: EvaluationFrequency;
689
+ filterPattern?: string;
690
+ anomalyDetectorStatus?: AnomalyDetectorStatus;
691
+ kmsKeyId?: string;
692
+ creationTimeStamp?: number;
693
+ lastModifiedTimeStamp?: number;
694
+ anomalyVisibilityTime?: number;
695
+ }
594
696
  export interface GetLogEventsRequest {
595
697
  logGroupName?: string;
596
698
  logGroupIdentifier?: string;
@@ -661,6 +763,31 @@ export declare class InvalidSequenceTokenException extends __BaseException {
661
763
  opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>
662
764
  );
663
765
  }
766
+ export declare const SuppressionState: {
767
+ readonly SUPPRESSED: "SUPPRESSED";
768
+ readonly UNSUPPRESSED: "UNSUPPRESSED";
769
+ };
770
+ export type SuppressionState =
771
+ (typeof SuppressionState)[keyof typeof SuppressionState];
772
+ export interface ListAnomaliesRequest {
773
+ anomalyDetectorArn?: string;
774
+ suppressionState?: SuppressionState;
775
+ limit?: number;
776
+ nextToken?: string;
777
+ }
778
+ export interface ListAnomaliesResponse {
779
+ anomalies?: Anomaly[];
780
+ nextToken?: string;
781
+ }
782
+ export interface ListLogAnomalyDetectorsRequest {
783
+ filterLogGroupArn?: string;
784
+ limit?: number;
785
+ nextToken?: string;
786
+ }
787
+ export interface ListLogAnomalyDetectorsResponse {
788
+ anomalyDetectors?: AnomalyDetector[];
789
+ nextToken?: string;
790
+ }
664
791
  export interface ListTagsForResourceRequest {
665
792
  resourceArn: string | undefined;
666
793
  }
@@ -859,3 +986,34 @@ export interface UntagResourceRequest {
859
986
  resourceArn: string | undefined;
860
987
  tagKeys: string[] | undefined;
861
988
  }
989
+ export declare const SuppressionUnit: {
990
+ readonly HOURS: "HOURS";
991
+ readonly MINUTES: "MINUTES";
992
+ readonly SECONDS: "SECONDS";
993
+ };
994
+ export type SuppressionUnit =
995
+ (typeof SuppressionUnit)[keyof typeof SuppressionUnit];
996
+ export interface SuppressionPeriod {
997
+ value?: number;
998
+ suppressionUnit?: SuppressionUnit;
999
+ }
1000
+ export declare const SuppressionType: {
1001
+ readonly INFINITE: "INFINITE";
1002
+ readonly LIMITED: "LIMITED";
1003
+ };
1004
+ export type SuppressionType =
1005
+ (typeof SuppressionType)[keyof typeof SuppressionType];
1006
+ export interface UpdateAnomalyRequest {
1007
+ anomalyId?: string;
1008
+ patternId?: string;
1009
+ anomalyDetectorArn: string | undefined;
1010
+ suppressionType?: SuppressionType;
1011
+ suppressionPeriod?: SuppressionPeriod;
1012
+ }
1013
+ export interface UpdateLogAnomalyDetectorRequest {
1014
+ anomalyDetectorArn: string | undefined;
1015
+ evaluationFrequency?: EvaluationFrequency;
1016
+ filterPattern?: string;
1017
+ anomalyVisibilityTime?: number;
1018
+ enabled: boolean | undefined;
1019
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAnomaliesCommandInput,
4
+ ListAnomaliesCommandOutput,
5
+ } from "../commands/ListAnomaliesCommand";
6
+ import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAnomalies(
8
+ config: CloudWatchLogsPaginationConfiguration,
9
+ input: ListAnomaliesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAnomaliesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListLogAnomalyDetectorsCommandInput,
4
+ ListLogAnomalyDetectorsCommandOutput,
5
+ } from "../commands/ListLogAnomalyDetectorsCommand";
6
+ import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListLogAnomalyDetectors(
8
+ config: CloudWatchLogsPaginationConfiguration,
9
+ input: ListLogAnomalyDetectorsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListLogAnomalyDetectorsCommandOutput>;
@@ -9,3 +9,5 @@ export * from "./DescribeSubscriptionFiltersPaginator";
9
9
  export * from "./FilterLogEventsPaginator";
10
10
  export * from "./GetLogEventsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./ListAnomaliesPaginator";
13
+ export * from "./ListLogAnomalyDetectorsPaginator";
@@ -19,6 +19,10 @@ import {
19
19
  CreateExportTaskCommandInput,
20
20
  CreateExportTaskCommandOutput,
21
21
  } from "../commands/CreateExportTaskCommand";
22
+ import {
23
+ CreateLogAnomalyDetectorCommandInput,
24
+ CreateLogAnomalyDetectorCommandOutput,
25
+ } from "../commands/CreateLogAnomalyDetectorCommand";
22
26
  import {
23
27
  CreateLogGroupCommandInput,
24
28
  CreateLogGroupCommandOutput,
@@ -55,6 +59,10 @@ import {
55
59
  DeleteDestinationCommandInput,
56
60
  DeleteDestinationCommandOutput,
57
61
  } from "../commands/DeleteDestinationCommand";
62
+ import {
63
+ DeleteLogAnomalyDetectorCommandInput,
64
+ DeleteLogAnomalyDetectorCommandOutput,
65
+ } from "../commands/DeleteLogAnomalyDetectorCommand";
58
66
  import {
59
67
  DeleteLogGroupCommandInput,
60
68
  DeleteLogGroupCommandOutput,
@@ -163,6 +171,10 @@ import {
163
171
  GetDeliverySourceCommandInput,
164
172
  GetDeliverySourceCommandOutput,
165
173
  } from "../commands/GetDeliverySourceCommand";
174
+ import {
175
+ GetLogAnomalyDetectorCommandInput,
176
+ GetLogAnomalyDetectorCommandOutput,
177
+ } from "../commands/GetLogAnomalyDetectorCommand";
166
178
  import {
167
179
  GetLogEventsCommandInput,
168
180
  GetLogEventsCommandOutput,
@@ -179,6 +191,14 @@ import {
179
191
  GetQueryResultsCommandInput,
180
192
  GetQueryResultsCommandOutput,
181
193
  } from "../commands/GetQueryResultsCommand";
194
+ import {
195
+ ListAnomaliesCommandInput,
196
+ ListAnomaliesCommandOutput,
197
+ } from "../commands/ListAnomaliesCommand";
198
+ import {
199
+ ListLogAnomalyDetectorsCommandInput,
200
+ ListLogAnomalyDetectorsCommandOutput,
201
+ } from "../commands/ListLogAnomalyDetectorsCommand";
182
202
  import {
183
203
  ListTagsForResourceCommandInput,
184
204
  ListTagsForResourceCommandOutput,
@@ -267,6 +287,14 @@ import {
267
287
  UntagResourceCommandInput,
268
288
  UntagResourceCommandOutput,
269
289
  } from "../commands/UntagResourceCommand";
290
+ import {
291
+ UpdateAnomalyCommandInput,
292
+ UpdateAnomalyCommandOutput,
293
+ } from "../commands/UpdateAnomalyCommand";
294
+ import {
295
+ UpdateLogAnomalyDetectorCommandInput,
296
+ UpdateLogAnomalyDetectorCommandOutput,
297
+ } from "../commands/UpdateLogAnomalyDetectorCommand";
270
298
  export declare const se_AssociateKmsKeyCommand: (
271
299
  input: AssociateKmsKeyCommandInput,
272
300
  context: __SerdeContext
@@ -283,6 +311,10 @@ export declare const se_CreateExportTaskCommand: (
283
311
  input: CreateExportTaskCommandInput,
284
312
  context: __SerdeContext
285
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_CreateLogAnomalyDetectorCommand: (
315
+ input: CreateLogAnomalyDetectorCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
286
318
  export declare const se_CreateLogGroupCommand: (
287
319
  input: CreateLogGroupCommandInput,
288
320
  context: __SerdeContext
@@ -319,6 +351,10 @@ export declare const se_DeleteDestinationCommand: (
319
351
  input: DeleteDestinationCommandInput,
320
352
  context: __SerdeContext
321
353
  ) => Promise<__HttpRequest>;
354
+ export declare const se_DeleteLogAnomalyDetectorCommand: (
355
+ input: DeleteLogAnomalyDetectorCommandInput,
356
+ context: __SerdeContext
357
+ ) => Promise<__HttpRequest>;
322
358
  export declare const se_DeleteLogGroupCommand: (
323
359
  input: DeleteLogGroupCommandInput,
324
360
  context: __SerdeContext
@@ -427,6 +463,10 @@ export declare const se_GetDeliverySourceCommand: (
427
463
  input: GetDeliverySourceCommandInput,
428
464
  context: __SerdeContext
429
465
  ) => Promise<__HttpRequest>;
466
+ export declare const se_GetLogAnomalyDetectorCommand: (
467
+ input: GetLogAnomalyDetectorCommandInput,
468
+ context: __SerdeContext
469
+ ) => Promise<__HttpRequest>;
430
470
  export declare const se_GetLogEventsCommand: (
431
471
  input: GetLogEventsCommandInput,
432
472
  context: __SerdeContext
@@ -443,6 +483,14 @@ export declare const se_GetQueryResultsCommand: (
443
483
  input: GetQueryResultsCommandInput,
444
484
  context: __SerdeContext
445
485
  ) => Promise<__HttpRequest>;
486
+ export declare const se_ListAnomaliesCommand: (
487
+ input: ListAnomaliesCommandInput,
488
+ context: __SerdeContext
489
+ ) => Promise<__HttpRequest>;
490
+ export declare const se_ListLogAnomalyDetectorsCommand: (
491
+ input: ListLogAnomalyDetectorsCommandInput,
492
+ context: __SerdeContext
493
+ ) => Promise<__HttpRequest>;
446
494
  export declare const se_ListTagsForResourceCommand: (
447
495
  input: ListTagsForResourceCommandInput,
448
496
  context: __SerdeContext
@@ -531,6 +579,14 @@ export declare const se_UntagResourceCommand: (
531
579
  input: UntagResourceCommandInput,
532
580
  context: __SerdeContext
533
581
  ) => Promise<__HttpRequest>;
582
+ export declare const se_UpdateAnomalyCommand: (
583
+ input: UpdateAnomalyCommandInput,
584
+ context: __SerdeContext
585
+ ) => Promise<__HttpRequest>;
586
+ export declare const se_UpdateLogAnomalyDetectorCommand: (
587
+ input: UpdateLogAnomalyDetectorCommandInput,
588
+ context: __SerdeContext
589
+ ) => Promise<__HttpRequest>;
534
590
  export declare const de_AssociateKmsKeyCommand: (
535
591
  output: __HttpResponse,
536
592
  context: __SerdeContext
@@ -547,6 +603,10 @@ export declare const de_CreateExportTaskCommand: (
547
603
  output: __HttpResponse,
548
604
  context: __SerdeContext
549
605
  ) => Promise<CreateExportTaskCommandOutput>;
606
+ export declare const de_CreateLogAnomalyDetectorCommand: (
607
+ output: __HttpResponse,
608
+ context: __SerdeContext
609
+ ) => Promise<CreateLogAnomalyDetectorCommandOutput>;
550
610
  export declare const de_CreateLogGroupCommand: (
551
611
  output: __HttpResponse,
552
612
  context: __SerdeContext
@@ -583,6 +643,10 @@ export declare const de_DeleteDestinationCommand: (
583
643
  output: __HttpResponse,
584
644
  context: __SerdeContext
585
645
  ) => Promise<DeleteDestinationCommandOutput>;
646
+ export declare const de_DeleteLogAnomalyDetectorCommand: (
647
+ output: __HttpResponse,
648
+ context: __SerdeContext
649
+ ) => Promise<DeleteLogAnomalyDetectorCommandOutput>;
586
650
  export declare const de_DeleteLogGroupCommand: (
587
651
  output: __HttpResponse,
588
652
  context: __SerdeContext
@@ -691,6 +755,10 @@ export declare const de_GetDeliverySourceCommand: (
691
755
  output: __HttpResponse,
692
756
  context: __SerdeContext
693
757
  ) => Promise<GetDeliverySourceCommandOutput>;
758
+ export declare const de_GetLogAnomalyDetectorCommand: (
759
+ output: __HttpResponse,
760
+ context: __SerdeContext
761
+ ) => Promise<GetLogAnomalyDetectorCommandOutput>;
694
762
  export declare const de_GetLogEventsCommand: (
695
763
  output: __HttpResponse,
696
764
  context: __SerdeContext
@@ -707,6 +775,14 @@ export declare const de_GetQueryResultsCommand: (
707
775
  output: __HttpResponse,
708
776
  context: __SerdeContext
709
777
  ) => Promise<GetQueryResultsCommandOutput>;
778
+ export declare const de_ListAnomaliesCommand: (
779
+ output: __HttpResponse,
780
+ context: __SerdeContext
781
+ ) => Promise<ListAnomaliesCommandOutput>;
782
+ export declare const de_ListLogAnomalyDetectorsCommand: (
783
+ output: __HttpResponse,
784
+ context: __SerdeContext
785
+ ) => Promise<ListLogAnomalyDetectorsCommandOutput>;
710
786
  export declare const de_ListTagsForResourceCommand: (
711
787
  output: __HttpResponse,
712
788
  context: __SerdeContext
@@ -795,3 +871,11 @@ export declare const de_UntagResourceCommand: (
795
871
  output: __HttpResponse,
796
872
  context: __SerdeContext
797
873
  ) => Promise<UntagResourceCommandOutput>;
874
+ export declare const de_UpdateAnomalyCommand: (
875
+ output: __HttpResponse,
876
+ context: __SerdeContext
877
+ ) => Promise<UpdateAnomalyCommandOutput>;
878
+ export declare const de_UpdateLogAnomalyDetectorCommand: (
879
+ output: __HttpResponse,
880
+ context: __SerdeContext
881
+ ) => Promise<UpdateLogAnomalyDetectorCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.458.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.458.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.458.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
28
28
  "@aws-sdk/middleware-logger": "3.451.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.451.0",