@aws-sdk/client-amp 3.920.0 → 3.921.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 (47) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +452 -0
  3. package/dist-es/Amp.js +10 -0
  4. package/dist-es/commands/CreateAnomalyDetectorCommand.js +22 -0
  5. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +22 -0
  6. package/dist-es/commands/DescribeAnomalyDetectorCommand.js +22 -0
  7. package/dist-es/commands/ListAnomalyDetectorsCommand.js +22 -0
  8. package/dist-es/commands/PutAnomalyDetectorCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +37 -0
  11. package/dist-es/pagination/ListAnomalyDetectorsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +233 -2
  14. package/dist-es/waiters/index.js +2 -0
  15. package/dist-es/waiters/waitForAnomalyDetectorActive.js +49 -0
  16. package/dist-es/waiters/waitForAnomalyDetectorDeleted.js +34 -0
  17. package/dist-types/Amp.d.ts +35 -0
  18. package/dist-types/AmpClient.d.ts +7 -2
  19. package/dist-types/commands/CreateAnomalyDetectorCommand.d.ts +128 -0
  20. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +92 -0
  21. package/dist-types/commands/DescribeAnomalyDetectorCommand.d.ts +126 -0
  22. package/dist-types/commands/ListAnomalyDetectorsCommand.d.ts +108 -0
  23. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +125 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/models_0.d.ts +500 -0
  26. package/dist-types/pagination/ListAnomalyDetectorsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  29. package/dist-types/ts3.4/Amp.d.ts +85 -0
  30. package/dist-types/ts3.4/AmpClient.d.ts +30 -0
  31. package/dist-types/ts3.4/commands/CreateAnomalyDetectorCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +46 -0
  33. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/ListAnomalyDetectorsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +175 -0
  38. package/dist-types/ts3.4/pagination/ListAnomalyDetectorsPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  41. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  42. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorActive.d.ts +11 -0
  43. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorDeleted.d.ts +11 -0
  44. package/dist-types/waiters/index.d.ts +2 -0
  45. package/dist-types/waiters/waitForAnomalyDetectorActive.d.ts +14 -0
  46. package/dist-types/waiters/waitForAnomalyDetectorDeleted.d.ts +14 -0
  47. package/package.json +34 -34
@@ -371,6 +371,181 @@ export interface UntagResourceRequest {
371
371
  tagKeys: string[] | undefined;
372
372
  }
373
373
  export interface UntagResourceResponse {}
374
+ export type IgnoreNearExpected =
375
+ | IgnoreNearExpected.AmountMember
376
+ | IgnoreNearExpected.RatioMember
377
+ | IgnoreNearExpected.$UnknownMember;
378
+ export declare namespace IgnoreNearExpected {
379
+ interface AmountMember {
380
+ amount: number;
381
+ ratio?: never;
382
+ $unknown?: never;
383
+ }
384
+ interface RatioMember {
385
+ amount?: never;
386
+ ratio: number;
387
+ $unknown?: never;
388
+ }
389
+ interface $UnknownMember {
390
+ amount?: never;
391
+ ratio?: never;
392
+ $unknown: [string, any];
393
+ }
394
+ interface Visitor<T> {
395
+ amount: (value: number) => T;
396
+ ratio: (value: number) => T;
397
+ _: (name: string, value: any) => T;
398
+ }
399
+ const visit: <T>(value: IgnoreNearExpected, visitor: Visitor<T>) => T;
400
+ }
401
+ export interface RandomCutForestConfiguration {
402
+ query: string | undefined;
403
+ shingleSize?: number | undefined;
404
+ sampleSize?: number | undefined;
405
+ ignoreNearExpectedFromAbove?: IgnoreNearExpected | undefined;
406
+ ignoreNearExpectedFromBelow?: IgnoreNearExpected | undefined;
407
+ }
408
+ export type AnomalyDetectorConfiguration =
409
+ | AnomalyDetectorConfiguration.RandomCutForestMember
410
+ | AnomalyDetectorConfiguration.$UnknownMember;
411
+ export declare namespace AnomalyDetectorConfiguration {
412
+ interface RandomCutForestMember {
413
+ randomCutForest: RandomCutForestConfiguration;
414
+ $unknown?: never;
415
+ }
416
+ interface $UnknownMember {
417
+ randomCutForest?: never;
418
+ $unknown: [string, any];
419
+ }
420
+ interface Visitor<T> {
421
+ randomCutForest: (value: RandomCutForestConfiguration) => T;
422
+ _: (name: string, value: any) => T;
423
+ }
424
+ const visit: <T>(
425
+ value: AnomalyDetectorConfiguration,
426
+ visitor: Visitor<T>
427
+ ) => T;
428
+ }
429
+ export type AnomalyDetectorMissingDataAction =
430
+ | AnomalyDetectorMissingDataAction.MarkAsAnomalyMember
431
+ | AnomalyDetectorMissingDataAction.SkipMember
432
+ | AnomalyDetectorMissingDataAction.$UnknownMember;
433
+ export declare namespace AnomalyDetectorMissingDataAction {
434
+ interface MarkAsAnomalyMember {
435
+ markAsAnomaly: boolean;
436
+ skip?: never;
437
+ $unknown?: never;
438
+ }
439
+ interface SkipMember {
440
+ markAsAnomaly?: never;
441
+ skip: boolean;
442
+ $unknown?: never;
443
+ }
444
+ interface $UnknownMember {
445
+ markAsAnomaly?: never;
446
+ skip?: never;
447
+ $unknown: [string, any];
448
+ }
449
+ interface Visitor<T> {
450
+ markAsAnomaly: (value: boolean) => T;
451
+ skip: (value: boolean) => T;
452
+ _: (name: string, value: any) => T;
453
+ }
454
+ const visit: <T>(
455
+ value: AnomalyDetectorMissingDataAction,
456
+ visitor: Visitor<T>
457
+ ) => T;
458
+ }
459
+ export interface CreateAnomalyDetectorRequest {
460
+ workspaceId: string | undefined;
461
+ alias: string | undefined;
462
+ evaluationIntervalInSeconds?: number | undefined;
463
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
464
+ configuration: AnomalyDetectorConfiguration | undefined;
465
+ labels?: Record<string, string> | undefined;
466
+ clientToken?: string | undefined;
467
+ tags?: Record<string, string> | undefined;
468
+ }
469
+ export declare const AnomalyDetectorStatusCode: {
470
+ readonly ACTIVE: "ACTIVE";
471
+ readonly CREATING: "CREATING";
472
+ readonly CREATION_FAILED: "CREATION_FAILED";
473
+ readonly DELETING: "DELETING";
474
+ readonly DELETION_FAILED: "DELETION_FAILED";
475
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
476
+ readonly UPDATING: "UPDATING";
477
+ };
478
+ export type AnomalyDetectorStatusCode =
479
+ (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
480
+ export interface AnomalyDetectorStatus {
481
+ statusCode: AnomalyDetectorStatusCode | undefined;
482
+ statusReason?: string | undefined;
483
+ }
484
+ export interface CreateAnomalyDetectorResponse {
485
+ anomalyDetectorId: string | undefined;
486
+ arn: string | undefined;
487
+ status: AnomalyDetectorStatus | undefined;
488
+ tags?: Record<string, string> | undefined;
489
+ }
490
+ export interface DeleteAnomalyDetectorRequest {
491
+ workspaceId: string | undefined;
492
+ anomalyDetectorId: string | undefined;
493
+ clientToken?: string | undefined;
494
+ }
495
+ export interface DescribeAnomalyDetectorRequest {
496
+ workspaceId: string | undefined;
497
+ anomalyDetectorId: string | undefined;
498
+ }
499
+ export interface AnomalyDetectorDescription {
500
+ arn: string | undefined;
501
+ anomalyDetectorId: string | undefined;
502
+ alias: string | undefined;
503
+ evaluationIntervalInSeconds?: number | undefined;
504
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
505
+ configuration?: AnomalyDetectorConfiguration | undefined;
506
+ labels?: Record<string, string> | undefined;
507
+ status: AnomalyDetectorStatus | undefined;
508
+ createdAt: Date | undefined;
509
+ modifiedAt: Date | undefined;
510
+ tags?: Record<string, string> | undefined;
511
+ }
512
+ export interface DescribeAnomalyDetectorResponse {
513
+ anomalyDetector: AnomalyDetectorDescription | undefined;
514
+ }
515
+ export interface ListAnomalyDetectorsRequest {
516
+ workspaceId: string | undefined;
517
+ alias?: string | undefined;
518
+ maxResults?: number | undefined;
519
+ nextToken?: string | undefined;
520
+ }
521
+ export interface AnomalyDetectorSummary {
522
+ arn: string | undefined;
523
+ anomalyDetectorId: string | undefined;
524
+ alias: string | undefined;
525
+ status: AnomalyDetectorStatus | undefined;
526
+ createdAt: Date | undefined;
527
+ modifiedAt: Date | undefined;
528
+ tags?: Record<string, string> | undefined;
529
+ }
530
+ export interface ListAnomalyDetectorsResponse {
531
+ anomalyDetectors: AnomalyDetectorSummary[] | undefined;
532
+ nextToken?: string | undefined;
533
+ }
534
+ export interface PutAnomalyDetectorRequest {
535
+ workspaceId: string | undefined;
536
+ anomalyDetectorId: string | undefined;
537
+ evaluationIntervalInSeconds?: number | undefined;
538
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
539
+ configuration: AnomalyDetectorConfiguration | undefined;
540
+ labels?: Record<string, string> | undefined;
541
+ clientToken?: string | undefined;
542
+ }
543
+ export interface PutAnomalyDetectorResponse {
544
+ anomalyDetectorId: string | undefined;
545
+ arn: string | undefined;
546
+ status: AnomalyDetectorStatus | undefined;
547
+ tags?: Record<string, string> | undefined;
548
+ }
374
549
  export interface CreateWorkspaceRequest {
375
550
  alias?: string | undefined;
376
551
  clientToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAnomalyDetectorsCommandInput,
4
+ ListAnomalyDetectorsCommandOutput,
5
+ } from "../commands/ListAnomalyDetectorsCommand";
6
+ import { AmpPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAnomalyDetectors: (
8
+ config: AmpPaginationConfiguration,
9
+ input: ListAnomalyDetectorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAnomalyDetectorsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListAnomalyDetectorsPaginator";
2
3
  export * from "./ListRuleGroupsNamespacesPaginator";
3
4
  export * from "./ListScrapersPaginator";
4
5
  export * from "./ListWorkspacesPaginator";
@@ -7,6 +7,10 @@ import {
7
7
  CreateAlertManagerDefinitionCommandInput,
8
8
  CreateAlertManagerDefinitionCommandOutput,
9
9
  } from "../commands/CreateAlertManagerDefinitionCommand";
10
+ import {
11
+ CreateAnomalyDetectorCommandInput,
12
+ CreateAnomalyDetectorCommandOutput,
13
+ } from "../commands/CreateAnomalyDetectorCommand";
10
14
  import {
11
15
  CreateLoggingConfigurationCommandInput,
12
16
  CreateLoggingConfigurationCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  DeleteAlertManagerDefinitionCommandInput,
32
36
  DeleteAlertManagerDefinitionCommandOutput,
33
37
  } from "../commands/DeleteAlertManagerDefinitionCommand";
38
+ import {
39
+ DeleteAnomalyDetectorCommandInput,
40
+ DeleteAnomalyDetectorCommandOutput,
41
+ } from "../commands/DeleteAnomalyDetectorCommand";
34
42
  import {
35
43
  DeleteLoggingConfigurationCommandInput,
36
44
  DeleteLoggingConfigurationCommandOutput,
@@ -63,6 +71,10 @@ import {
63
71
  DescribeAlertManagerDefinitionCommandInput,
64
72
  DescribeAlertManagerDefinitionCommandOutput,
65
73
  } from "../commands/DescribeAlertManagerDefinitionCommand";
74
+ import {
75
+ DescribeAnomalyDetectorCommandInput,
76
+ DescribeAnomalyDetectorCommandOutput,
77
+ } from "../commands/DescribeAnomalyDetectorCommand";
66
78
  import {
67
79
  DescribeLoggingConfigurationCommandInput,
68
80
  DescribeLoggingConfigurationCommandOutput,
@@ -99,6 +111,10 @@ import {
99
111
  GetDefaultScraperConfigurationCommandInput,
100
112
  GetDefaultScraperConfigurationCommandOutput,
101
113
  } from "../commands/GetDefaultScraperConfigurationCommand";
114
+ import {
115
+ ListAnomalyDetectorsCommandInput,
116
+ ListAnomalyDetectorsCommandOutput,
117
+ } from "../commands/ListAnomalyDetectorsCommand";
102
118
  import {
103
119
  ListRuleGroupsNamespacesCommandInput,
104
120
  ListRuleGroupsNamespacesCommandOutput,
@@ -119,6 +135,10 @@ import {
119
135
  PutAlertManagerDefinitionCommandInput,
120
136
  PutAlertManagerDefinitionCommandOutput,
121
137
  } from "../commands/PutAlertManagerDefinitionCommand";
138
+ import {
139
+ PutAnomalyDetectorCommandInput,
140
+ PutAnomalyDetectorCommandOutput,
141
+ } from "../commands/PutAnomalyDetectorCommand";
122
142
  import {
123
143
  PutResourcePolicyCommandInput,
124
144
  PutResourcePolicyCommandOutput,
@@ -163,6 +183,10 @@ export declare const se_CreateAlertManagerDefinitionCommand: (
163
183
  input: CreateAlertManagerDefinitionCommandInput,
164
184
  context: __SerdeContext
165
185
  ) => Promise<__HttpRequest>;
186
+ export declare const se_CreateAnomalyDetectorCommand: (
187
+ input: CreateAnomalyDetectorCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
166
190
  export declare const se_CreateLoggingConfigurationCommand: (
167
191
  input: CreateLoggingConfigurationCommandInput,
168
192
  context: __SerdeContext
@@ -187,6 +211,10 @@ export declare const se_DeleteAlertManagerDefinitionCommand: (
187
211
  input: DeleteAlertManagerDefinitionCommandInput,
188
212
  context: __SerdeContext
189
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_DeleteAnomalyDetectorCommand: (
215
+ input: DeleteAnomalyDetectorCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
190
218
  export declare const se_DeleteLoggingConfigurationCommand: (
191
219
  input: DeleteLoggingConfigurationCommandInput,
192
220
  context: __SerdeContext
@@ -219,6 +247,10 @@ export declare const se_DescribeAlertManagerDefinitionCommand: (
219
247
  input: DescribeAlertManagerDefinitionCommandInput,
220
248
  context: __SerdeContext
221
249
  ) => Promise<__HttpRequest>;
250
+ export declare const se_DescribeAnomalyDetectorCommand: (
251
+ input: DescribeAnomalyDetectorCommandInput,
252
+ context: __SerdeContext
253
+ ) => Promise<__HttpRequest>;
222
254
  export declare const se_DescribeLoggingConfigurationCommand: (
223
255
  input: DescribeLoggingConfigurationCommandInput,
224
256
  context: __SerdeContext
@@ -255,6 +287,10 @@ export declare const se_GetDefaultScraperConfigurationCommand: (
255
287
  input: GetDefaultScraperConfigurationCommandInput,
256
288
  context: __SerdeContext
257
289
  ) => Promise<__HttpRequest>;
290
+ export declare const se_ListAnomalyDetectorsCommand: (
291
+ input: ListAnomalyDetectorsCommandInput,
292
+ context: __SerdeContext
293
+ ) => Promise<__HttpRequest>;
258
294
  export declare const se_ListRuleGroupsNamespacesCommand: (
259
295
  input: ListRuleGroupsNamespacesCommandInput,
260
296
  context: __SerdeContext
@@ -275,6 +311,10 @@ export declare const se_PutAlertManagerDefinitionCommand: (
275
311
  input: PutAlertManagerDefinitionCommandInput,
276
312
  context: __SerdeContext
277
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_PutAnomalyDetectorCommand: (
315
+ input: PutAnomalyDetectorCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
278
318
  export declare const se_PutResourcePolicyCommand: (
279
319
  input: PutResourcePolicyCommandInput,
280
320
  context: __SerdeContext
@@ -319,6 +359,10 @@ export declare const de_CreateAlertManagerDefinitionCommand: (
319
359
  output: __HttpResponse,
320
360
  context: __SerdeContext
321
361
  ) => Promise<CreateAlertManagerDefinitionCommandOutput>;
362
+ export declare const de_CreateAnomalyDetectorCommand: (
363
+ output: __HttpResponse,
364
+ context: __SerdeContext
365
+ ) => Promise<CreateAnomalyDetectorCommandOutput>;
322
366
  export declare const de_CreateLoggingConfigurationCommand: (
323
367
  output: __HttpResponse,
324
368
  context: __SerdeContext
@@ -343,6 +387,10 @@ export declare const de_DeleteAlertManagerDefinitionCommand: (
343
387
  output: __HttpResponse,
344
388
  context: __SerdeContext
345
389
  ) => Promise<DeleteAlertManagerDefinitionCommandOutput>;
390
+ export declare const de_DeleteAnomalyDetectorCommand: (
391
+ output: __HttpResponse,
392
+ context: __SerdeContext
393
+ ) => Promise<DeleteAnomalyDetectorCommandOutput>;
346
394
  export declare const de_DeleteLoggingConfigurationCommand: (
347
395
  output: __HttpResponse,
348
396
  context: __SerdeContext
@@ -375,6 +423,10 @@ export declare const de_DescribeAlertManagerDefinitionCommand: (
375
423
  output: __HttpResponse,
376
424
  context: __SerdeContext
377
425
  ) => Promise<DescribeAlertManagerDefinitionCommandOutput>;
426
+ export declare const de_DescribeAnomalyDetectorCommand: (
427
+ output: __HttpResponse,
428
+ context: __SerdeContext
429
+ ) => Promise<DescribeAnomalyDetectorCommandOutput>;
378
430
  export declare const de_DescribeLoggingConfigurationCommand: (
379
431
  output: __HttpResponse,
380
432
  context: __SerdeContext
@@ -411,6 +463,10 @@ export declare const de_GetDefaultScraperConfigurationCommand: (
411
463
  output: __HttpResponse,
412
464
  context: __SerdeContext
413
465
  ) => Promise<GetDefaultScraperConfigurationCommandOutput>;
466
+ export declare const de_ListAnomalyDetectorsCommand: (
467
+ output: __HttpResponse,
468
+ context: __SerdeContext
469
+ ) => Promise<ListAnomalyDetectorsCommandOutput>;
414
470
  export declare const de_ListRuleGroupsNamespacesCommand: (
415
471
  output: __HttpResponse,
416
472
  context: __SerdeContext
@@ -431,6 +487,10 @@ export declare const de_PutAlertManagerDefinitionCommand: (
431
487
  output: __HttpResponse,
432
488
  context: __SerdeContext
433
489
  ) => Promise<PutAlertManagerDefinitionCommandOutput>;
490
+ export declare const de_PutAnomalyDetectorCommand: (
491
+ output: __HttpResponse,
492
+ context: __SerdeContext
493
+ ) => Promise<PutAnomalyDetectorCommandOutput>;
434
494
  export declare const de_PutResourcePolicyCommand: (
435
495
  output: __HttpResponse,
436
496
  context: __SerdeContext
@@ -1,3 +1,5 @@
1
+ export * from "./waitForAnomalyDetectorActive";
2
+ export * from "./waitForAnomalyDetectorDeleted";
1
3
  export * from "./waitForScraperActive";
2
4
  export * from "./waitForScraperDeleted";
3
5
  export * from "./waitForWorkspaceActive";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { AmpClient } from "../AmpClient";
3
+ import { DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
4
+ export declare const waitForAnomalyDetectorActive: (
5
+ params: WaiterConfiguration<AmpClient>,
6
+ input: DescribeAnomalyDetectorCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilAnomalyDetectorActive: (
9
+ params: WaiterConfiguration<AmpClient>,
10
+ input: DescribeAnomalyDetectorCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { AmpClient } from "../AmpClient";
3
+ import { DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
4
+ export declare const waitForAnomalyDetectorDeleted: (
5
+ params: WaiterConfiguration<AmpClient>,
6
+ input: DescribeAnomalyDetectorCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilAnomalyDetectorDeleted: (
9
+ params: WaiterConfiguration<AmpClient>,
10
+ input: DescribeAnomalyDetectorCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -1,3 +1,5 @@
1
+ export * from "./waitForAnomalyDetectorActive";
2
+ export * from "./waitForAnomalyDetectorDeleted";
1
3
  export * from "./waitForScraperActive";
2
4
  export * from "./waitForScraperDeleted";
3
5
  export * from "./waitForWorkspaceActive";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { AmpClient } from "../AmpClient";
3
+ import { DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
4
+ /**
5
+ * Wait until the anomaly detector reaches ACTIVE status
6
+ * @deprecated Use waitUntilAnomalyDetectorActive instead. waitForAnomalyDetectorActive does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until the anomaly detector reaches ACTIVE status
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeAnomalyDetectorCommand for polling.
13
+ */
14
+ export declare const waitUntilAnomalyDetectorActive: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { AmpClient } from "../AmpClient";
3
+ import { DescribeAnomalyDetectorCommandInput } from "../commands/DescribeAnomalyDetectorCommand";
4
+ /**
5
+ * Wait until the anomaly detector reaches DELETED status
6
+ * @deprecated Use waitUntilAnomalyDetectorDeleted instead. waitForAnomalyDetectorDeleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until the anomaly detector reaches DELETED status
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeAnomalyDetectorCommand for polling.
13
+ */
14
+ export declare const waitUntilAnomalyDetectorDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeAnomalyDetectorCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.920.0",
4
+ "version": "3.921.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amp",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.920.0",
24
- "@aws-sdk/credential-provider-node": "3.920.0",
25
- "@aws-sdk/middleware-host-header": "3.920.0",
26
- "@aws-sdk/middleware-logger": "3.920.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.920.0",
28
- "@aws-sdk/middleware-user-agent": "3.920.0",
29
- "@aws-sdk/region-config-resolver": "3.920.0",
30
- "@aws-sdk/types": "3.920.0",
31
- "@aws-sdk/util-endpoints": "3.920.0",
32
- "@aws-sdk/util-user-agent-browser": "3.920.0",
33
- "@aws-sdk/util-user-agent-node": "3.920.0",
34
- "@smithy/config-resolver": "^4.4.0",
35
- "@smithy/core": "^3.17.1",
36
- "@smithy/fetch-http-handler": "^5.3.4",
37
- "@smithy/hash-node": "^4.2.3",
38
- "@smithy/invalid-dependency": "^4.2.3",
39
- "@smithy/middleware-content-length": "^4.2.3",
40
- "@smithy/middleware-endpoint": "^4.3.5",
41
- "@smithy/middleware-retry": "^4.4.5",
42
- "@smithy/middleware-serde": "^4.2.3",
43
- "@smithy/middleware-stack": "^4.2.3",
44
- "@smithy/node-config-provider": "^4.3.3",
45
- "@smithy/node-http-handler": "^4.4.3",
46
- "@smithy/protocol-http": "^5.3.3",
47
- "@smithy/smithy-client": "^4.9.1",
48
- "@smithy/types": "^4.8.0",
49
- "@smithy/url-parser": "^4.2.3",
23
+ "@aws-sdk/core": "3.921.0",
24
+ "@aws-sdk/credential-provider-node": "3.921.0",
25
+ "@aws-sdk/middleware-host-header": "3.921.0",
26
+ "@aws-sdk/middleware-logger": "3.921.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.921.0",
28
+ "@aws-sdk/middleware-user-agent": "3.921.0",
29
+ "@aws-sdk/region-config-resolver": "3.921.0",
30
+ "@aws-sdk/types": "3.921.0",
31
+ "@aws-sdk/util-endpoints": "3.921.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.921.0",
33
+ "@aws-sdk/util-user-agent-node": "3.921.0",
34
+ "@smithy/config-resolver": "^4.4.1",
35
+ "@smithy/core": "^3.17.2",
36
+ "@smithy/fetch-http-handler": "^5.3.5",
37
+ "@smithy/hash-node": "^4.2.4",
38
+ "@smithy/invalid-dependency": "^4.2.4",
39
+ "@smithy/middleware-content-length": "^4.2.4",
40
+ "@smithy/middleware-endpoint": "^4.3.6",
41
+ "@smithy/middleware-retry": "^4.4.6",
42
+ "@smithy/middleware-serde": "^4.2.4",
43
+ "@smithy/middleware-stack": "^4.2.4",
44
+ "@smithy/node-config-provider": "^4.3.4",
45
+ "@smithy/node-http-handler": "^4.4.4",
46
+ "@smithy/protocol-http": "^5.3.4",
47
+ "@smithy/smithy-client": "^4.9.2",
48
+ "@smithy/types": "^4.8.1",
49
+ "@smithy/url-parser": "^4.2.4",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.4",
54
- "@smithy/util-defaults-mode-node": "^4.2.6",
55
- "@smithy/util-endpoints": "^3.2.3",
56
- "@smithy/util-middleware": "^4.2.3",
57
- "@smithy/util-retry": "^4.2.3",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.5",
54
+ "@smithy/util-defaults-mode-node": "^4.2.7",
55
+ "@smithy/util-endpoints": "^3.2.4",
56
+ "@smithy/util-middleware": "^4.2.4",
57
+ "@smithy/util-retry": "^4.2.4",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
- "@smithy/util-waiter": "^4.2.3",
59
+ "@smithy/util-waiter": "^4.2.4",
60
60
  "@smithy/uuid": "^1.1.0",
61
61
  "tslib": "^2.6.2"
62
62
  },