@aws-sdk/client-amp 3.920.0 → 3.922.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
@@ -1208,6 +1208,506 @@ export interface UntagResourceRequest {
1208
1208
  */
1209
1209
  export interface UntagResourceResponse {
1210
1210
  }
1211
+ /**
1212
+ * <p>Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection.</p>
1213
+ * @public
1214
+ */
1215
+ export type IgnoreNearExpected = IgnoreNearExpected.AmountMember | IgnoreNearExpected.RatioMember | IgnoreNearExpected.$UnknownMember;
1216
+ /**
1217
+ * @public
1218
+ */
1219
+ export declare namespace IgnoreNearExpected {
1220
+ /**
1221
+ * <p>The absolute amount by which values can differ from expected values before being considered anomalous.</p>
1222
+ * @public
1223
+ */
1224
+ interface AmountMember {
1225
+ amount: number;
1226
+ ratio?: never;
1227
+ $unknown?: never;
1228
+ }
1229
+ /**
1230
+ * <p>The ratio by which values can differ from expected values before being considered anomalous.</p>
1231
+ * @public
1232
+ */
1233
+ interface RatioMember {
1234
+ amount?: never;
1235
+ ratio: number;
1236
+ $unknown?: never;
1237
+ }
1238
+ /**
1239
+ * @public
1240
+ */
1241
+ interface $UnknownMember {
1242
+ amount?: never;
1243
+ ratio?: never;
1244
+ $unknown: [string, any];
1245
+ }
1246
+ interface Visitor<T> {
1247
+ amount: (value: number) => T;
1248
+ ratio: (value: number) => T;
1249
+ _: (name: string, value: any) => T;
1250
+ }
1251
+ const visit: <T>(value: IgnoreNearExpected, visitor: Visitor<T>) => T;
1252
+ }
1253
+ /**
1254
+ * <p>Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data.</p>
1255
+ * @public
1256
+ */
1257
+ export interface RandomCutForestConfiguration {
1258
+ /**
1259
+ * <p>The Prometheus query used to retrieve the time-series data for anomaly detection.</p> <important> <p>Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see <a href="https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators">Aggregation operators</a> on the <i>Prometheus docs</i> website.</p> <p> <b>Supported PromQL aggregation operators</b>: <code>avg</code>, <code>count</code>, <code>group</code>, <code>max</code>, <code>min</code>, <code>quantile</code>, <code>stddev</code>, <code>stdvar</code>, and <code>sum</code>.</p> </important>
1260
+ * @public
1261
+ */
1262
+ query: string | undefined;
1263
+ /**
1264
+ * <p>The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.</p>
1265
+ * @public
1266
+ */
1267
+ shingleSize?: number | undefined;
1268
+ /**
1269
+ * <p>The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.</p>
1270
+ * @public
1271
+ */
1272
+ sampleSize?: number | undefined;
1273
+ /**
1274
+ * <p>Configuration for ignoring values that are near expected values from above during anomaly detection.</p>
1275
+ * @public
1276
+ */
1277
+ ignoreNearExpectedFromAbove?: IgnoreNearExpected | undefined;
1278
+ /**
1279
+ * <p>Configuration for ignoring values that are near expected values from below during anomaly detection.</p>
1280
+ * @public
1281
+ */
1282
+ ignoreNearExpectedFromBelow?: IgnoreNearExpected | undefined;
1283
+ }
1284
+ /**
1285
+ * <p>The configuration for the anomaly detection algorithm.</p>
1286
+ * @public
1287
+ */
1288
+ export type AnomalyDetectorConfiguration = AnomalyDetectorConfiguration.RandomCutForestMember | AnomalyDetectorConfiguration.$UnknownMember;
1289
+ /**
1290
+ * @public
1291
+ */
1292
+ export declare namespace AnomalyDetectorConfiguration {
1293
+ /**
1294
+ * <p>The Random Cut Forest algorithm configuration for anomaly detection.</p>
1295
+ * @public
1296
+ */
1297
+ interface RandomCutForestMember {
1298
+ randomCutForest: RandomCutForestConfiguration;
1299
+ $unknown?: never;
1300
+ }
1301
+ /**
1302
+ * @public
1303
+ */
1304
+ interface $UnknownMember {
1305
+ randomCutForest?: never;
1306
+ $unknown: [string, any];
1307
+ }
1308
+ interface Visitor<T> {
1309
+ randomCutForest: (value: RandomCutForestConfiguration) => T;
1310
+ _: (name: string, value: any) => T;
1311
+ }
1312
+ const visit: <T>(value: AnomalyDetectorConfiguration, visitor: Visitor<T>) => T;
1313
+ }
1314
+ /**
1315
+ * <p>Specifies the action to take when data is missing during anomaly detection evaluation.</p>
1316
+ * @public
1317
+ */
1318
+ export type AnomalyDetectorMissingDataAction = AnomalyDetectorMissingDataAction.MarkAsAnomalyMember | AnomalyDetectorMissingDataAction.SkipMember | AnomalyDetectorMissingDataAction.$UnknownMember;
1319
+ /**
1320
+ * @public
1321
+ */
1322
+ export declare namespace AnomalyDetectorMissingDataAction {
1323
+ /**
1324
+ * <p>Marks missing data points as anomalies.</p>
1325
+ * @public
1326
+ */
1327
+ interface MarkAsAnomalyMember {
1328
+ markAsAnomaly: boolean;
1329
+ skip?: never;
1330
+ $unknown?: never;
1331
+ }
1332
+ /**
1333
+ * <p>Skips evaluation when data is missing.</p>
1334
+ * @public
1335
+ */
1336
+ interface SkipMember {
1337
+ markAsAnomaly?: never;
1338
+ skip: boolean;
1339
+ $unknown?: never;
1340
+ }
1341
+ /**
1342
+ * @public
1343
+ */
1344
+ interface $UnknownMember {
1345
+ markAsAnomaly?: never;
1346
+ skip?: never;
1347
+ $unknown: [string, any];
1348
+ }
1349
+ interface Visitor<T> {
1350
+ markAsAnomaly: (value: boolean) => T;
1351
+ skip: (value: boolean) => T;
1352
+ _: (name: string, value: any) => T;
1353
+ }
1354
+ const visit: <T>(value: AnomalyDetectorMissingDataAction, visitor: Visitor<T>) => T;
1355
+ }
1356
+ /**
1357
+ * @public
1358
+ */
1359
+ export interface CreateAnomalyDetectorRequest {
1360
+ /**
1361
+ * <p>The identifier of the workspace where the anomaly detector will be created.</p>
1362
+ * @public
1363
+ */
1364
+ workspaceId: string | undefined;
1365
+ /**
1366
+ * <p>A user-friendly name for the anomaly detector.</p>
1367
+ * @public
1368
+ */
1369
+ alias: string | undefined;
1370
+ /**
1371
+ * <p>The frequency, in seconds, at which the anomaly detector evaluates metrics. The default value is 60 seconds.</p>
1372
+ * @public
1373
+ */
1374
+ evaluationIntervalInSeconds?: number | undefined;
1375
+ /**
1376
+ * <p>Specifies the action to take when data is missing during evaluation.</p>
1377
+ * @public
1378
+ */
1379
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
1380
+ /**
1381
+ * <p>The algorithm configuration for the anomaly detector.</p>
1382
+ * @public
1383
+ */
1384
+ configuration: AnomalyDetectorConfiguration | undefined;
1385
+ /**
1386
+ * <p>The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.</p>
1387
+ * @public
1388
+ */
1389
+ labels?: Record<string, string> | undefined;
1390
+ /**
1391
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
1392
+ * @public
1393
+ */
1394
+ clientToken?: string | undefined;
1395
+ /**
1396
+ * <p>The metadata to apply to the anomaly detector to assist with categorization and organization.</p>
1397
+ * @public
1398
+ */
1399
+ tags?: Record<string, string> | undefined;
1400
+ }
1401
+ /**
1402
+ * @public
1403
+ * @enum
1404
+ */
1405
+ export declare const AnomalyDetectorStatusCode: {
1406
+ readonly ACTIVE: "ACTIVE";
1407
+ readonly CREATING: "CREATING";
1408
+ readonly CREATION_FAILED: "CREATION_FAILED";
1409
+ readonly DELETING: "DELETING";
1410
+ readonly DELETION_FAILED: "DELETION_FAILED";
1411
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1412
+ readonly UPDATING: "UPDATING";
1413
+ };
1414
+ /**
1415
+ * @public
1416
+ */
1417
+ export type AnomalyDetectorStatusCode = (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
1418
+ /**
1419
+ * <p>The status information of an anomaly detector.</p>
1420
+ * @public
1421
+ */
1422
+ export interface AnomalyDetectorStatus {
1423
+ /**
1424
+ * <p>The status code of the anomaly detector.</p>
1425
+ * @public
1426
+ */
1427
+ statusCode: AnomalyDetectorStatusCode | undefined;
1428
+ /**
1429
+ * <p>A description of the current status of the anomaly detector.</p>
1430
+ * @public
1431
+ */
1432
+ statusReason?: string | undefined;
1433
+ }
1434
+ /**
1435
+ * @public
1436
+ */
1437
+ export interface CreateAnomalyDetectorResponse {
1438
+ /**
1439
+ * <p>The unique identifier of the created anomaly detector.</p>
1440
+ * @public
1441
+ */
1442
+ anomalyDetectorId: string | undefined;
1443
+ /**
1444
+ * <p>The Amazon Resource Name (ARN) of the created anomaly detector.</p>
1445
+ * @public
1446
+ */
1447
+ arn: string | undefined;
1448
+ /**
1449
+ * <p>The status information of the created anomaly detector.</p>
1450
+ * @public
1451
+ */
1452
+ status: AnomalyDetectorStatus | undefined;
1453
+ /**
1454
+ * <p>The tags applied to the created anomaly detector.</p>
1455
+ * @public
1456
+ */
1457
+ tags?: Record<string, string> | undefined;
1458
+ }
1459
+ /**
1460
+ * @public
1461
+ */
1462
+ export interface DeleteAnomalyDetectorRequest {
1463
+ /**
1464
+ * <p>The identifier of the workspace containing the anomaly detector to delete.</p>
1465
+ * @public
1466
+ */
1467
+ workspaceId: string | undefined;
1468
+ /**
1469
+ * <p>The identifier of the anomaly detector to delete.</p>
1470
+ * @public
1471
+ */
1472
+ anomalyDetectorId: string | undefined;
1473
+ /**
1474
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
1475
+ * @public
1476
+ */
1477
+ clientToken?: string | undefined;
1478
+ }
1479
+ /**
1480
+ * @public
1481
+ */
1482
+ export interface DescribeAnomalyDetectorRequest {
1483
+ /**
1484
+ * <p>The identifier of the workspace containing the anomaly detector.</p>
1485
+ * @public
1486
+ */
1487
+ workspaceId: string | undefined;
1488
+ /**
1489
+ * <p>The identifier of the anomaly detector to describe.</p>
1490
+ * @public
1491
+ */
1492
+ anomalyDetectorId: string | undefined;
1493
+ }
1494
+ /**
1495
+ * <p>Detailed information about an anomaly detector.</p>
1496
+ * @public
1497
+ */
1498
+ export interface AnomalyDetectorDescription {
1499
+ /**
1500
+ * <p>The Amazon Resource Name (ARN) of the anomaly detector.</p>
1501
+ * @public
1502
+ */
1503
+ arn: string | undefined;
1504
+ /**
1505
+ * <p>The unique identifier of the anomaly detector.</p>
1506
+ * @public
1507
+ */
1508
+ anomalyDetectorId: string | undefined;
1509
+ /**
1510
+ * <p>The user-friendly name of the anomaly detector.</p>
1511
+ * @public
1512
+ */
1513
+ alias: string | undefined;
1514
+ /**
1515
+ * <p>The frequency, in seconds, at which the anomaly detector evaluates metrics.</p>
1516
+ * @public
1517
+ */
1518
+ evaluationIntervalInSeconds?: number | undefined;
1519
+ /**
1520
+ * <p>The action taken when data is missing during evaluation.</p>
1521
+ * @public
1522
+ */
1523
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
1524
+ /**
1525
+ * <p>The algorithm configuration of the anomaly detector.</p>
1526
+ * @public
1527
+ */
1528
+ configuration?: AnomalyDetectorConfiguration | undefined;
1529
+ /**
1530
+ * <p>The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.</p>
1531
+ * @public
1532
+ */
1533
+ labels?: Record<string, string> | undefined;
1534
+ /**
1535
+ * <p>The current status of the anomaly detector.</p>
1536
+ * @public
1537
+ */
1538
+ status: AnomalyDetectorStatus | undefined;
1539
+ /**
1540
+ * <p>The timestamp when the anomaly detector was created.</p>
1541
+ * @public
1542
+ */
1543
+ createdAt: Date | undefined;
1544
+ /**
1545
+ * <p>The timestamp when the anomaly detector was last modified.</p>
1546
+ * @public
1547
+ */
1548
+ modifiedAt: Date | undefined;
1549
+ /**
1550
+ * <p>The tags applied to the anomaly detector.</p>
1551
+ * @public
1552
+ */
1553
+ tags?: Record<string, string> | undefined;
1554
+ }
1555
+ /**
1556
+ * @public
1557
+ */
1558
+ export interface DescribeAnomalyDetectorResponse {
1559
+ /**
1560
+ * <p>The detailed information about the anomaly detector.</p>
1561
+ * @public
1562
+ */
1563
+ anomalyDetector: AnomalyDetectorDescription | undefined;
1564
+ }
1565
+ /**
1566
+ * @public
1567
+ */
1568
+ export interface ListAnomalyDetectorsRequest {
1569
+ /**
1570
+ * <p>The identifier of the workspace containing the anomaly detectors to list.</p>
1571
+ * @public
1572
+ */
1573
+ workspaceId: string | undefined;
1574
+ /**
1575
+ * <p>Filters the results to anomaly detectors with the specified alias.</p>
1576
+ * @public
1577
+ */
1578
+ alias?: string | undefined;
1579
+ /**
1580
+ * <p>The maximum number of results to return in a single call. Valid range is 1 to 1000.</p>
1581
+ * @public
1582
+ */
1583
+ maxResults?: number | undefined;
1584
+ /**
1585
+ * <p>The pagination token to continue retrieving results.</p>
1586
+ * @public
1587
+ */
1588
+ nextToken?: string | undefined;
1589
+ }
1590
+ /**
1591
+ * <p>Summary information about an anomaly detector for list operations.</p>
1592
+ * @public
1593
+ */
1594
+ export interface AnomalyDetectorSummary {
1595
+ /**
1596
+ * <p>The Amazon Resource Name (ARN) of the anomaly detector.</p>
1597
+ * @public
1598
+ */
1599
+ arn: string | undefined;
1600
+ /**
1601
+ * <p>The unique identifier of the anomaly detector.</p>
1602
+ * @public
1603
+ */
1604
+ anomalyDetectorId: string | undefined;
1605
+ /**
1606
+ * <p>The user-friendly name of the anomaly detector.</p>
1607
+ * @public
1608
+ */
1609
+ alias: string | undefined;
1610
+ /**
1611
+ * <p>The current status of the anomaly detector.</p>
1612
+ * @public
1613
+ */
1614
+ status: AnomalyDetectorStatus | undefined;
1615
+ /**
1616
+ * <p>The timestamp when the anomaly detector was created.</p>
1617
+ * @public
1618
+ */
1619
+ createdAt: Date | undefined;
1620
+ /**
1621
+ * <p>The timestamp when the anomaly detector was last modified.</p>
1622
+ * @public
1623
+ */
1624
+ modifiedAt: Date | undefined;
1625
+ /**
1626
+ * <p>The tags applied to the anomaly detector.</p>
1627
+ * @public
1628
+ */
1629
+ tags?: Record<string, string> | undefined;
1630
+ }
1631
+ /**
1632
+ * @public
1633
+ */
1634
+ export interface ListAnomalyDetectorsResponse {
1635
+ /**
1636
+ * <p>The list of anomaly detectors in the workspace.</p>
1637
+ * @public
1638
+ */
1639
+ anomalyDetectors: AnomalyDetectorSummary[] | undefined;
1640
+ /**
1641
+ * <p>The pagination token to retrieve the next set of results.</p>
1642
+ * @public
1643
+ */
1644
+ nextToken?: string | undefined;
1645
+ }
1646
+ /**
1647
+ * @public
1648
+ */
1649
+ export interface PutAnomalyDetectorRequest {
1650
+ /**
1651
+ * <p>The identifier of the workspace containing the anomaly detector to update.</p>
1652
+ * @public
1653
+ */
1654
+ workspaceId: string | undefined;
1655
+ /**
1656
+ * <p>The identifier of the anomaly detector to update.</p>
1657
+ * @public
1658
+ */
1659
+ anomalyDetectorId: string | undefined;
1660
+ /**
1661
+ * <p>The frequency, in seconds, at which the anomaly detector evaluates metrics.</p>
1662
+ * @public
1663
+ */
1664
+ evaluationIntervalInSeconds?: number | undefined;
1665
+ /**
1666
+ * <p>Specifies the action to take when data is missing during evaluation.</p>
1667
+ * @public
1668
+ */
1669
+ missingDataAction?: AnomalyDetectorMissingDataAction | undefined;
1670
+ /**
1671
+ * <p>The algorithm configuration for the anomaly detector.</p>
1672
+ * @public
1673
+ */
1674
+ configuration: AnomalyDetectorConfiguration | undefined;
1675
+ /**
1676
+ * <p>The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.</p>
1677
+ * @public
1678
+ */
1679
+ labels?: Record<string, string> | undefined;
1680
+ /**
1681
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
1682
+ * @public
1683
+ */
1684
+ clientToken?: string | undefined;
1685
+ }
1686
+ /**
1687
+ * @public
1688
+ */
1689
+ export interface PutAnomalyDetectorResponse {
1690
+ /**
1691
+ * <p>The unique identifier of the updated anomaly detector.</p>
1692
+ * @public
1693
+ */
1694
+ anomalyDetectorId: string | undefined;
1695
+ /**
1696
+ * <p>The Amazon Resource Name (ARN) of the updated anomaly detector.</p>
1697
+ * @public
1698
+ */
1699
+ arn: string | undefined;
1700
+ /**
1701
+ * <p>The status information of the updated anomaly detector.</p>
1702
+ * @public
1703
+ */
1704
+ status: AnomalyDetectorStatus | undefined;
1705
+ /**
1706
+ * <p>The tags applied to the updated anomaly detector.</p>
1707
+ * @public
1708
+ */
1709
+ tags?: Record<string, string> | undefined;
1710
+ }
1211
1711
  /**
1212
1712
  * <p>Represents the input of a <code>CreateWorkspace</code> operation.</p>
1213
1713
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListAnomalyDetectorsCommandInput, ListAnomalyDetectorsCommandOutput } from "../commands/ListAnomalyDetectorsCommand";
3
+ import { AmpPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListAnomalyDetectors: (config: AmpPaginationConfiguration, input: ListAnomalyDetectorsCommandInput, ...rest: any[]) => 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";
@@ -1,12 +1,14 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "../commands/CreateAlertManagerDefinitionCommand";
4
+ import { CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput } from "../commands/CreateAnomalyDetectorCommand";
4
5
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "../commands/CreateLoggingConfigurationCommand";
5
6
  import { CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput } from "../commands/CreateQueryLoggingConfigurationCommand";
6
7
  import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "../commands/CreateRuleGroupsNamespaceCommand";
7
8
  import { CreateScraperCommandInput, CreateScraperCommandOutput } from "../commands/CreateScraperCommand";
8
9
  import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
9
10
  import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "../commands/DeleteAlertManagerDefinitionCommand";
11
+ import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "../commands/DeleteAnomalyDetectorCommand";
10
12
  import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "../commands/DeleteLoggingConfigurationCommand";
11
13
  import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput } from "../commands/DeleteQueryLoggingConfigurationCommand";
12
14
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
@@ -15,6 +17,7 @@ import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "../comman
15
17
  import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "../commands/DeleteScraperLoggingConfigurationCommand";
16
18
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
17
19
  import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
20
+ import { DescribeAnomalyDetectorCommandInput, DescribeAnomalyDetectorCommandOutput } from "../commands/DescribeAnomalyDetectorCommand";
18
21
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
19
22
  import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput } from "../commands/DescribeQueryLoggingConfigurationCommand";
20
23
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "../commands/DescribeResourcePolicyCommand";
@@ -24,11 +27,13 @@ import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLogging
24
27
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
25
28
  import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "../commands/DescribeWorkspaceConfigurationCommand";
26
29
  import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "../commands/GetDefaultScraperConfigurationCommand";
30
+ import { ListAnomalyDetectorsCommandInput, ListAnomalyDetectorsCommandOutput } from "../commands/ListAnomalyDetectorsCommand";
27
31
  import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "../commands/ListRuleGroupsNamespacesCommand";
28
32
  import { ListScrapersCommandInput, ListScrapersCommandOutput } from "../commands/ListScrapersCommand";
29
33
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
30
34
  import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
31
35
  import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "../commands/PutAlertManagerDefinitionCommand";
36
+ import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "../commands/PutAnomalyDetectorCommand";
32
37
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
33
38
  import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "../commands/PutRuleGroupsNamespaceCommand";
34
39
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -43,6 +48,10 @@ import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationC
43
48
  * serializeAws_restJson1CreateAlertManagerDefinitionCommand
44
49
  */
45
50
  export declare const se_CreateAlertManagerDefinitionCommand: (input: CreateAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ /**
52
+ * serializeAws_restJson1CreateAnomalyDetectorCommand
53
+ */
54
+ export declare const se_CreateAnomalyDetectorCommand: (input: CreateAnomalyDetectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
55
  /**
47
56
  * serializeAws_restJson1CreateLoggingConfigurationCommand
48
57
  */
@@ -67,6 +76,10 @@ export declare const se_CreateWorkspaceCommand: (input: CreateWorkspaceCommandIn
67
76
  * serializeAws_restJson1DeleteAlertManagerDefinitionCommand
68
77
  */
69
78
  export declare const se_DeleteAlertManagerDefinitionCommand: (input: DeleteAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
+ /**
80
+ * serializeAws_restJson1DeleteAnomalyDetectorCommand
81
+ */
82
+ export declare const se_DeleteAnomalyDetectorCommand: (input: DeleteAnomalyDetectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
83
  /**
71
84
  * serializeAws_restJson1DeleteLoggingConfigurationCommand
72
85
  */
@@ -99,6 +112,10 @@ export declare const se_DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandIn
99
112
  * serializeAws_restJson1DescribeAlertManagerDefinitionCommand
100
113
  */
101
114
  export declare const se_DescribeAlertManagerDefinitionCommand: (input: DescribeAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
+ /**
116
+ * serializeAws_restJson1DescribeAnomalyDetectorCommand
117
+ */
118
+ export declare const se_DescribeAnomalyDetectorCommand: (input: DescribeAnomalyDetectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
102
119
  /**
103
120
  * serializeAws_restJson1DescribeLoggingConfigurationCommand
104
121
  */
@@ -135,6 +152,10 @@ export declare const se_DescribeWorkspaceConfigurationCommand: (input: DescribeW
135
152
  * serializeAws_restJson1GetDefaultScraperConfigurationCommand
136
153
  */
137
154
  export declare const se_GetDefaultScraperConfigurationCommand: (input: GetDefaultScraperConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
+ /**
156
+ * serializeAws_restJson1ListAnomalyDetectorsCommand
157
+ */
158
+ export declare const se_ListAnomalyDetectorsCommand: (input: ListAnomalyDetectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
159
  /**
139
160
  * serializeAws_restJson1ListRuleGroupsNamespacesCommand
140
161
  */
@@ -155,6 +176,10 @@ export declare const se_ListWorkspacesCommand: (input: ListWorkspacesCommandInpu
155
176
  * serializeAws_restJson1PutAlertManagerDefinitionCommand
156
177
  */
157
178
  export declare const se_PutAlertManagerDefinitionCommand: (input: PutAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
+ /**
180
+ * serializeAws_restJson1PutAnomalyDetectorCommand
181
+ */
182
+ export declare const se_PutAnomalyDetectorCommand: (input: PutAnomalyDetectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
183
  /**
159
184
  * serializeAws_restJson1PutResourcePolicyCommand
160
185
  */
@@ -199,6 +224,10 @@ export declare const se_UpdateWorkspaceConfigurationCommand: (input: UpdateWorks
199
224
  * deserializeAws_restJson1CreateAlertManagerDefinitionCommand
200
225
  */
201
226
  export declare const de_CreateAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAlertManagerDefinitionCommandOutput>;
227
+ /**
228
+ * deserializeAws_restJson1CreateAnomalyDetectorCommand
229
+ */
230
+ export declare const de_CreateAnomalyDetectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnomalyDetectorCommandOutput>;
202
231
  /**
203
232
  * deserializeAws_restJson1CreateLoggingConfigurationCommand
204
233
  */
@@ -223,6 +252,10 @@ export declare const de_CreateWorkspaceCommand: (output: __HttpResponse, context
223
252
  * deserializeAws_restJson1DeleteAlertManagerDefinitionCommand
224
253
  */
225
254
  export declare const de_DeleteAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlertManagerDefinitionCommandOutput>;
255
+ /**
256
+ * deserializeAws_restJson1DeleteAnomalyDetectorCommand
257
+ */
258
+ export declare const de_DeleteAnomalyDetectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAnomalyDetectorCommandOutput>;
226
259
  /**
227
260
  * deserializeAws_restJson1DeleteLoggingConfigurationCommand
228
261
  */
@@ -255,6 +288,10 @@ export declare const de_DeleteWorkspaceCommand: (output: __HttpResponse, context
255
288
  * deserializeAws_restJson1DescribeAlertManagerDefinitionCommand
256
289
  */
257
290
  export declare const de_DescribeAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAlertManagerDefinitionCommandOutput>;
291
+ /**
292
+ * deserializeAws_restJson1DescribeAnomalyDetectorCommand
293
+ */
294
+ export declare const de_DescribeAnomalyDetectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAnomalyDetectorCommandOutput>;
258
295
  /**
259
296
  * deserializeAws_restJson1DescribeLoggingConfigurationCommand
260
297
  */
@@ -291,6 +328,10 @@ export declare const de_DescribeWorkspaceConfigurationCommand: (output: __HttpRe
291
328
  * deserializeAws_restJson1GetDefaultScraperConfigurationCommand
292
329
  */
293
330
  export declare const de_GetDefaultScraperConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDefaultScraperConfigurationCommandOutput>;
331
+ /**
332
+ * deserializeAws_restJson1ListAnomalyDetectorsCommand
333
+ */
334
+ export declare const de_ListAnomalyDetectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAnomalyDetectorsCommandOutput>;
294
335
  /**
295
336
  * deserializeAws_restJson1ListRuleGroupsNamespacesCommand
296
337
  */
@@ -311,6 +352,10 @@ export declare const de_ListWorkspacesCommand: (output: __HttpResponse, context:
311
352
  * deserializeAws_restJson1PutAlertManagerDefinitionCommand
312
353
  */
313
354
  export declare const de_PutAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAlertManagerDefinitionCommandOutput>;
355
+ /**
356
+ * deserializeAws_restJson1PutAnomalyDetectorCommand
357
+ */
358
+ export declare const de_PutAnomalyDetectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAnomalyDetectorCommandOutput>;
314
359
  /**
315
360
  * deserializeAws_restJson1PutResourcePolicyCommand
316
361
  */