@aws-sdk/client-lookoutequipment 3.379.1 → 3.381.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 (97) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/LookoutEquipment.js +16 -0
  3. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeModelVersionCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +46 -0
  6. package/dist-cjs/commands/ImportDatasetCommand.js +46 -0
  7. package/dist-cjs/commands/ImportModelVersionCommand.js +46 -0
  8. package/dist-cjs/commands/ListModelVersionsCommand.js +46 -0
  9. package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateActiveModelVersionCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/endpoint/ruleset.js +3 -3
  13. package/dist-cjs/models/models_0.js +16 -1
  14. package/dist-cjs/pagination/ListModelVersionsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +1 -0
  16. package/dist-cjs/protocols/Aws_json1_0.js +559 -2
  17. package/dist-es/LookoutEquipment.js +16 -0
  18. package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
  19. package/dist-es/commands/DescribeModelVersionCommand.js +42 -0
  20. package/dist-es/commands/DescribeResourcePolicyCommand.js +42 -0
  21. package/dist-es/commands/ImportDatasetCommand.js +42 -0
  22. package/dist-es/commands/ImportModelVersionCommand.js +42 -0
  23. package/dist-es/commands/ListModelVersionsCommand.js +42 -0
  24. package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
  25. package/dist-es/commands/UpdateActiveModelVersionCommand.js +42 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/endpoint/ruleset.js +3 -3
  28. package/dist-es/models/models_0.js +15 -0
  29. package/dist-es/pagination/ListModelVersionsPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +1 -0
  31. package/dist-es/protocols/Aws_json1_0.js +541 -0
  32. package/dist-types/LookoutEquipment.d.ts +56 -0
  33. package/dist-types/LookoutEquipmentClient.d.ts +10 -2
  34. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateInferenceSchedulerCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateLabelCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateLabelGroupCommand.d.ts +3 -3
  38. package/dist-types/commands/CreateModelCommand.d.ts +2 -2
  39. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteInferenceSchedulerCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteLabelCommand.d.ts +3 -3
  42. package/dist-types/commands/DeleteLabelGroupCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +94 -0
  45. package/dist-types/commands/DescribeDataIngestionJobCommand.d.ts +3 -2
  46. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -2
  47. package/dist-types/commands/DescribeInferenceSchedulerCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeLabelCommand.d.ts +3 -3
  49. package/dist-types/commands/DescribeLabelGroupCommand.d.ts +3 -3
  50. package/dist-types/commands/DescribeModelCommand.d.ts +11 -2
  51. package/dist-types/commands/DescribeModelVersionCommand.d.ts +128 -0
  52. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +95 -0
  53. package/dist-types/commands/ImportDatasetCommand.d.ts +111 -0
  54. package/dist-types/commands/ImportModelVersionCommand.d.ts +121 -0
  55. package/dist-types/commands/ListDataIngestionJobsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListDatasetsCommand.d.ts +2 -2
  57. package/dist-types/commands/ListInferenceEventsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListInferenceExecutionsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListInferenceSchedulersCommand.d.ts +1 -1
  60. package/dist-types/commands/ListLabelGroupsCommand.d.ts +3 -3
  61. package/dist-types/commands/ListLabelsCommand.d.ts +3 -3
  62. package/dist-types/commands/ListModelVersionsCommand.d.ts +113 -0
  63. package/dist-types/commands/ListModelsCommand.d.ts +5 -3
  64. package/dist-types/commands/ListSensorStatisticsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  66. package/dist-types/commands/PutResourcePolicyCommand.d.ts +103 -0
  67. package/dist-types/commands/StartDataIngestionJobCommand.d.ts +2 -2
  68. package/dist-types/commands/StartInferenceSchedulerCommand.d.ts +1 -1
  69. package/dist-types/commands/StopInferenceSchedulerCommand.d.ts +1 -1
  70. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  71. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateActiveModelVersionCommand.d.ts +102 -0
  73. package/dist-types/commands/UpdateInferenceSchedulerCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateLabelGroupCommand.d.ts +3 -3
  75. package/dist-types/commands/index.d.ts +8 -0
  76. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  77. package/dist-types/models/models_0.d.ts +732 -141
  78. package/dist-types/pagination/ListModelVersionsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/index.d.ts +1 -0
  80. package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
  81. package/dist-types/ts3.4/LookoutEquipment.d.ts +136 -0
  82. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +48 -0
  83. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +37 -0
  84. package/dist-types/ts3.4/commands/DescribeModelVersionCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/ImportDatasetCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/ImportModelVersionCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/ListModelVersionsCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/UpdateActiveModelVersionCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  93. package/dist-types/ts3.4/models/models_0.d.ts +154 -0
  94. package/dist-types/ts3.4/pagination/ListModelVersionsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  96. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  97. package/package.json +1 -1
@@ -0,0 +1,39 @@
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
+ LookoutEquipmentClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../LookoutEquipmentClient";
14
+ import {
15
+ ImportModelVersionRequest,
16
+ ImportModelVersionResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ImportModelVersionCommandInput
20
+ extends ImportModelVersionRequest {}
21
+ export interface ImportModelVersionCommandOutput
22
+ extends ImportModelVersionResponse,
23
+ __MetadataBearer {}
24
+ export declare class ImportModelVersionCommand extends $Command<
25
+ ImportModelVersionCommandInput,
26
+ ImportModelVersionCommandOutput,
27
+ LookoutEquipmentClientResolvedConfig
28
+ > {
29
+ readonly input: ImportModelVersionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ImportModelVersionCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: LookoutEquipmentClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ImportModelVersionCommandInput, ImportModelVersionCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
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
+ LookoutEquipmentClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../LookoutEquipmentClient";
14
+ import {
15
+ ListModelVersionsRequest,
16
+ ListModelVersionsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListModelVersionsCommandInput
20
+ extends ListModelVersionsRequest {}
21
+ export interface ListModelVersionsCommandOutput
22
+ extends ListModelVersionsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListModelVersionsCommand extends $Command<
25
+ ListModelVersionsCommandInput,
26
+ ListModelVersionsCommandOutput,
27
+ LookoutEquipmentClientResolvedConfig
28
+ > {
29
+ readonly input: ListModelVersionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListModelVersionsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: LookoutEquipmentClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ListModelVersionsCommandInput, ListModelVersionsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
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
+ LookoutEquipmentClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../LookoutEquipmentClient";
14
+ import {
15
+ PutResourcePolicyRequest,
16
+ PutResourcePolicyResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface PutResourcePolicyCommandInput
20
+ extends PutResourcePolicyRequest {}
21
+ export interface PutResourcePolicyCommandOutput
22
+ extends PutResourcePolicyResponse,
23
+ __MetadataBearer {}
24
+ export declare class PutResourcePolicyCommand extends $Command<
25
+ PutResourcePolicyCommandInput,
26
+ PutResourcePolicyCommandOutput,
27
+ LookoutEquipmentClientResolvedConfig
28
+ > {
29
+ readonly input: PutResourcePolicyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: PutResourcePolicyCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: LookoutEquipmentClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -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
+ LookoutEquipmentClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../LookoutEquipmentClient";
14
+ import {
15
+ UpdateActiveModelVersionRequest,
16
+ UpdateActiveModelVersionResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateActiveModelVersionCommandInput
20
+ extends UpdateActiveModelVersionRequest {}
21
+ export interface UpdateActiveModelVersionCommandOutput
22
+ extends UpdateActiveModelVersionResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateActiveModelVersionCommand extends $Command<
25
+ UpdateActiveModelVersionCommandInput,
26
+ UpdateActiveModelVersionCommandOutput,
27
+ LookoutEquipmentClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateActiveModelVersionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateActiveModelVersionCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: LookoutEquipmentClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateActiveModelVersionCommandInput,
38
+ UpdateActiveModelVersionCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -8,12 +8,17 @@ export * from "./DeleteInferenceSchedulerCommand";
8
8
  export * from "./DeleteLabelCommand";
9
9
  export * from "./DeleteLabelGroupCommand";
10
10
  export * from "./DeleteModelCommand";
11
+ export * from "./DeleteResourcePolicyCommand";
11
12
  export * from "./DescribeDataIngestionJobCommand";
12
13
  export * from "./DescribeDatasetCommand";
13
14
  export * from "./DescribeInferenceSchedulerCommand";
14
15
  export * from "./DescribeLabelCommand";
15
16
  export * from "./DescribeLabelGroupCommand";
16
17
  export * from "./DescribeModelCommand";
18
+ export * from "./DescribeModelVersionCommand";
19
+ export * from "./DescribeResourcePolicyCommand";
20
+ export * from "./ImportDatasetCommand";
21
+ export * from "./ImportModelVersionCommand";
17
22
  export * from "./ListDataIngestionJobsCommand";
18
23
  export * from "./ListDatasetsCommand";
19
24
  export * from "./ListInferenceEventsCommand";
@@ -21,13 +26,16 @@ export * from "./ListInferenceExecutionsCommand";
21
26
  export * from "./ListInferenceSchedulersCommand";
22
27
  export * from "./ListLabelGroupsCommand";
23
28
  export * from "./ListLabelsCommand";
29
+ export * from "./ListModelVersionsCommand";
24
30
  export * from "./ListModelsCommand";
25
31
  export * from "./ListSensorStatisticsCommand";
26
32
  export * from "./ListTagsForResourceCommand";
33
+ export * from "./PutResourcePolicyCommand";
27
34
  export * from "./StartDataIngestionJobCommand";
28
35
  export * from "./StartInferenceSchedulerCommand";
29
36
  export * from "./StopInferenceSchedulerCommand";
30
37
  export * from "./TagResourceCommand";
31
38
  export * from "./UntagResourceCommand";
39
+ export * from "./UpdateActiveModelVersionCommand";
32
40
  export * from "./UpdateInferenceSchedulerCommand";
33
41
  export * from "./UpdateLabelGroupCommand";
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -34,6 +34,7 @@ export interface CreateDatasetRequest {
34
34
  export declare const DatasetStatus: {
35
35
  readonly ACTIVE: "ACTIVE";
36
36
  readonly CREATED: "CREATED";
37
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
37
38
  readonly INGESTION_IN_PROGRESS: "INGESTION_IN_PROGRESS";
38
39
  };
39
40
  export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
@@ -210,6 +211,7 @@ export interface CreateModelRequest {
210
211
  }
211
212
  export declare const ModelStatus: {
212
213
  readonly FAILED: "FAILED";
214
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
213
215
  readonly IN_PROGRESS: "IN_PROGRESS";
214
216
  readonly SUCCESS: "SUCCESS";
215
217
  };
@@ -234,6 +236,9 @@ export interface DeleteLabelGroupRequest {
234
236
  export interface DeleteModelRequest {
235
237
  ModelName: string | undefined;
236
238
  }
239
+ export interface DeleteResourcePolicyRequest {
240
+ ResourceArn: string | undefined;
241
+ }
237
242
  export interface DescribeDataIngestionJobRequest {
238
243
  JobId: string | undefined;
239
244
  }
@@ -287,6 +292,7 @@ export interface IngestionInputConfiguration {
287
292
  }
288
293
  export declare const IngestionJobStatus: {
289
294
  readonly FAILED: "FAILED";
295
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
290
296
  readonly IN_PROGRESS: "IN_PROGRESS";
291
297
  readonly SUCCESS: "SUCCESS";
292
298
  };
@@ -306,6 +312,7 @@ export interface DescribeDataIngestionJobResponse {
306
312
  IngestedDataSize?: number;
307
313
  DataStartTime?: Date;
308
314
  DataEndTime?: Date;
315
+ SourceDatasetArn?: string;
309
316
  }
310
317
  export interface DescribeDatasetRequest {
311
318
  DatasetName: string | undefined;
@@ -324,6 +331,7 @@ export interface DescribeDatasetResponse {
324
331
  RoleArn?: string;
325
332
  DataStartTime?: Date;
326
333
  DataEndTime?: Date;
334
+ SourceDatasetArn?: string;
327
335
  }
328
336
  export interface DescribeInferenceSchedulerRequest {
329
337
  InferenceSchedulerName: string | undefined;
@@ -401,6 +409,104 @@ export interface DescribeModelResponse {
401
409
  CreatedAt?: Date;
402
410
  ServerSideKmsKeyId?: string;
403
411
  OffCondition?: string;
412
+ SourceModelVersionArn?: string;
413
+ ImportJobStartTime?: Date;
414
+ ImportJobEndTime?: Date;
415
+ ActiveModelVersion?: number;
416
+ ActiveModelVersionArn?: string;
417
+ ModelVersionActivatedAt?: Date;
418
+ PreviousActiveModelVersion?: number;
419
+ PreviousActiveModelVersionArn?: string;
420
+ PreviousModelVersionActivatedAt?: Date;
421
+ }
422
+ export interface DescribeModelVersionRequest {
423
+ ModelName: string | undefined;
424
+ ModelVersion: number | undefined;
425
+ }
426
+ export declare const ModelVersionSourceType: {
427
+ readonly IMPORT: "IMPORT";
428
+ readonly RETRAINING: "RETRAINING";
429
+ readonly TRAINING: "TRAINING";
430
+ };
431
+ export type ModelVersionSourceType =
432
+ (typeof ModelVersionSourceType)[keyof typeof ModelVersionSourceType];
433
+ export declare const ModelVersionStatus: {
434
+ readonly CANCELED: "CANCELED";
435
+ readonly FAILED: "FAILED";
436
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
437
+ readonly IN_PROGRESS: "IN_PROGRESS";
438
+ readonly SUCCESS: "SUCCESS";
439
+ };
440
+ export type ModelVersionStatus =
441
+ (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus];
442
+ export interface DescribeModelVersionResponse {
443
+ ModelName?: string;
444
+ ModelArn?: string;
445
+ ModelVersion?: number;
446
+ ModelVersionArn?: string;
447
+ Status?: ModelVersionStatus | string;
448
+ SourceType?: ModelVersionSourceType | string;
449
+ DatasetName?: string;
450
+ DatasetArn?: string;
451
+ Schema?: string;
452
+ LabelsInputConfiguration?: LabelsInputConfiguration;
453
+ TrainingDataStartTime?: Date;
454
+ TrainingDataEndTime?: Date;
455
+ EvaluationDataStartTime?: Date;
456
+ EvaluationDataEndTime?: Date;
457
+ RoleArn?: string;
458
+ DataPreProcessingConfiguration?: DataPreProcessingConfiguration;
459
+ TrainingExecutionStartTime?: Date;
460
+ TrainingExecutionEndTime?: Date;
461
+ FailedReason?: string;
462
+ ModelMetrics?: string;
463
+ LastUpdatedTime?: Date;
464
+ CreatedAt?: Date;
465
+ ServerSideKmsKeyId?: string;
466
+ OffCondition?: string;
467
+ SourceModelVersionArn?: string;
468
+ ImportJobStartTime?: Date;
469
+ ImportJobEndTime?: Date;
470
+ ImportedDataSizeInBytes?: number;
471
+ }
472
+ export interface DescribeResourcePolicyRequest {
473
+ ResourceArn: string | undefined;
474
+ }
475
+ export interface DescribeResourcePolicyResponse {
476
+ PolicyRevisionId?: string;
477
+ ResourcePolicy?: string;
478
+ CreationTime?: Date;
479
+ LastModifiedTime?: Date;
480
+ }
481
+ export interface ImportDatasetRequest {
482
+ SourceDatasetArn: string | undefined;
483
+ DatasetName?: string;
484
+ ClientToken?: string;
485
+ ServerSideKmsKeyId?: string;
486
+ Tags?: Tag[];
487
+ }
488
+ export interface ImportDatasetResponse {
489
+ DatasetName?: string;
490
+ DatasetArn?: string;
491
+ Status?: DatasetStatus | string;
492
+ JobId?: string;
493
+ }
494
+ export interface ImportModelVersionRequest {
495
+ SourceModelVersionArn: string | undefined;
496
+ ModelName?: string;
497
+ DatasetName: string | undefined;
498
+ LabelsInputConfiguration?: LabelsInputConfiguration;
499
+ ClientToken?: string;
500
+ RoleArn?: string;
501
+ ServerSideKmsKeyId?: string;
502
+ Tags?: Tag[];
503
+ }
504
+ export interface ImportModelVersionResponse {
505
+ ModelName?: string;
506
+ ModelArn?: string;
507
+ ModelVersionArn?: string;
508
+ ModelVersion?: number;
509
+ Status?: ModelVersionStatus | string;
404
510
  }
405
511
  export interface ListDataIngestionJobsRequest {
406
512
  DatasetName?: string;
@@ -560,11 +666,37 @@ export interface ModelSummary {
560
666
  DatasetArn?: string;
561
667
  Status?: ModelStatus | string;
562
668
  CreatedAt?: Date;
669
+ ActiveModelVersion?: number;
670
+ ActiveModelVersionArn?: string;
563
671
  }
564
672
  export interface ListModelsResponse {
565
673
  NextToken?: string;
566
674
  ModelSummaries?: ModelSummary[];
567
675
  }
676
+ export interface ListModelVersionsRequest {
677
+ ModelName: string | undefined;
678
+ NextToken?: string;
679
+ MaxResults?: number;
680
+ Status?: ModelVersionStatus | string;
681
+ SourceType?: ModelVersionSourceType | string;
682
+ CreatedAtEndTime?: Date;
683
+ CreatedAtStartTime?: Date;
684
+ MaxModelVersion?: number;
685
+ MinModelVersion?: number;
686
+ }
687
+ export interface ModelVersionSummary {
688
+ ModelName?: string;
689
+ ModelArn?: string;
690
+ ModelVersion?: number;
691
+ ModelVersionArn?: string;
692
+ CreatedAt?: Date;
693
+ Status?: ModelVersionStatus | string;
694
+ SourceType?: ModelVersionSourceType | string;
695
+ }
696
+ export interface ListModelVersionsResponse {
697
+ NextToken?: string;
698
+ ModelVersionSummaries?: ModelVersionSummary[];
699
+ }
568
700
  export interface ListSensorStatisticsRequest {
569
701
  DatasetName: string | undefined;
570
702
  IngestionJobId?: string;
@@ -628,6 +760,16 @@ export interface ListTagsForResourceRequest {
628
760
  export interface ListTagsForResourceResponse {
629
761
  Tags?: Tag[];
630
762
  }
763
+ export interface PutResourcePolicyRequest {
764
+ ResourceArn: string | undefined;
765
+ ResourcePolicy: string | undefined;
766
+ PolicyRevisionId?: string;
767
+ ClientToken?: string;
768
+ }
769
+ export interface PutResourcePolicyResponse {
770
+ ResourceArn?: string;
771
+ PolicyRevisionId?: string;
772
+ }
631
773
  export interface StartDataIngestionJobRequest {
632
774
  DatasetName: string | undefined;
633
775
  IngestionInputConfiguration: IngestionInputConfiguration | undefined;
@@ -668,6 +810,18 @@ export interface UntagResourceRequest {
668
810
  TagKeys: string[] | undefined;
669
811
  }
670
812
  export interface UntagResourceResponse {}
813
+ export interface UpdateActiveModelVersionRequest {
814
+ ModelName: string | undefined;
815
+ ModelVersion: number | undefined;
816
+ }
817
+ export interface UpdateActiveModelVersionResponse {
818
+ ModelName?: string;
819
+ ModelArn?: string;
820
+ CurrentActiveVersion?: number;
821
+ PreviousActiveVersion?: number;
822
+ CurrentActiveVersionArn?: string;
823
+ PreviousActiveVersionArn?: string;
824
+ }
671
825
  export interface UpdateInferenceSchedulerRequest {
672
826
  InferenceSchedulerName: string | undefined;
673
827
  DataDelayOffsetInMinutes?: number;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListModelVersionsCommandInput,
4
+ ListModelVersionsCommandOutput,
5
+ } from "../commands/ListModelVersionsCommand";
6
+ import { LookoutEquipmentPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListModelVersions(
8
+ config: LookoutEquipmentPaginationConfiguration,
9
+ input: ListModelVersionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListModelVersionsCommandOutput>;
@@ -6,5 +6,6 @@ export * from "./ListInferenceExecutionsPaginator";
6
6
  export * from "./ListInferenceSchedulersPaginator";
7
7
  export * from "./ListLabelGroupsPaginator";
8
8
  export * from "./ListLabelsPaginator";
9
+ export * from "./ListModelVersionsPaginator";
9
10
  export * from "./ListModelsPaginator";
10
11
  export * from "./ListSensorStatisticsPaginator";
@@ -43,6 +43,10 @@ import {
43
43
  DeleteModelCommandInput,
44
44
  DeleteModelCommandOutput,
45
45
  } from "../commands/DeleteModelCommand";
46
+ import {
47
+ DeleteResourcePolicyCommandInput,
48
+ DeleteResourcePolicyCommandOutput,
49
+ } from "../commands/DeleteResourcePolicyCommand";
46
50
  import {
47
51
  DescribeDataIngestionJobCommandInput,
48
52
  DescribeDataIngestionJobCommandOutput,
@@ -67,6 +71,22 @@ import {
67
71
  DescribeModelCommandInput,
68
72
  DescribeModelCommandOutput,
69
73
  } from "../commands/DescribeModelCommand";
74
+ import {
75
+ DescribeModelVersionCommandInput,
76
+ DescribeModelVersionCommandOutput,
77
+ } from "../commands/DescribeModelVersionCommand";
78
+ import {
79
+ DescribeResourcePolicyCommandInput,
80
+ DescribeResourcePolicyCommandOutput,
81
+ } from "../commands/DescribeResourcePolicyCommand";
82
+ import {
83
+ ImportDatasetCommandInput,
84
+ ImportDatasetCommandOutput,
85
+ } from "../commands/ImportDatasetCommand";
86
+ import {
87
+ ImportModelVersionCommandInput,
88
+ ImportModelVersionCommandOutput,
89
+ } from "../commands/ImportModelVersionCommand";
70
90
  import {
71
91
  ListDataIngestionJobsCommandInput,
72
92
  ListDataIngestionJobsCommandOutput,
@@ -99,6 +119,10 @@ import {
99
119
  ListModelsCommandInput,
100
120
  ListModelsCommandOutput,
101
121
  } from "../commands/ListModelsCommand";
122
+ import {
123
+ ListModelVersionsCommandInput,
124
+ ListModelVersionsCommandOutput,
125
+ } from "../commands/ListModelVersionsCommand";
102
126
  import {
103
127
  ListSensorStatisticsCommandInput,
104
128
  ListSensorStatisticsCommandOutput,
@@ -107,6 +131,10 @@ import {
107
131
  ListTagsForResourceCommandInput,
108
132
  ListTagsForResourceCommandOutput,
109
133
  } from "../commands/ListTagsForResourceCommand";
134
+ import {
135
+ PutResourcePolicyCommandInput,
136
+ PutResourcePolicyCommandOutput,
137
+ } from "../commands/PutResourcePolicyCommand";
110
138
  import {
111
139
  StartDataIngestionJobCommandInput,
112
140
  StartDataIngestionJobCommandOutput,
@@ -127,6 +155,10 @@ import {
127
155
  UntagResourceCommandInput,
128
156
  UntagResourceCommandOutput,
129
157
  } from "../commands/UntagResourceCommand";
158
+ import {
159
+ UpdateActiveModelVersionCommandInput,
160
+ UpdateActiveModelVersionCommandOutput,
161
+ } from "../commands/UpdateActiveModelVersionCommand";
130
162
  import {
131
163
  UpdateInferenceSchedulerCommandInput,
132
164
  UpdateInferenceSchedulerCommandOutput,
@@ -175,6 +207,10 @@ export declare const se_DeleteModelCommand: (
175
207
  input: DeleteModelCommandInput,
176
208
  context: __SerdeContext
177
209
  ) => Promise<__HttpRequest>;
210
+ export declare const se_DeleteResourcePolicyCommand: (
211
+ input: DeleteResourcePolicyCommandInput,
212
+ context: __SerdeContext
213
+ ) => Promise<__HttpRequest>;
178
214
  export declare const se_DescribeDataIngestionJobCommand: (
179
215
  input: DescribeDataIngestionJobCommandInput,
180
216
  context: __SerdeContext
@@ -199,6 +235,22 @@ export declare const se_DescribeModelCommand: (
199
235
  input: DescribeModelCommandInput,
200
236
  context: __SerdeContext
201
237
  ) => Promise<__HttpRequest>;
238
+ export declare const se_DescribeModelVersionCommand: (
239
+ input: DescribeModelVersionCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
242
+ export declare const se_DescribeResourcePolicyCommand: (
243
+ input: DescribeResourcePolicyCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
246
+ export declare const se_ImportDatasetCommand: (
247
+ input: ImportDatasetCommandInput,
248
+ context: __SerdeContext
249
+ ) => Promise<__HttpRequest>;
250
+ export declare const se_ImportModelVersionCommand: (
251
+ input: ImportModelVersionCommandInput,
252
+ context: __SerdeContext
253
+ ) => Promise<__HttpRequest>;
202
254
  export declare const se_ListDataIngestionJobsCommand: (
203
255
  input: ListDataIngestionJobsCommandInput,
204
256
  context: __SerdeContext
@@ -231,6 +283,10 @@ export declare const se_ListModelsCommand: (
231
283
  input: ListModelsCommandInput,
232
284
  context: __SerdeContext
233
285
  ) => Promise<__HttpRequest>;
286
+ export declare const se_ListModelVersionsCommand: (
287
+ input: ListModelVersionsCommandInput,
288
+ context: __SerdeContext
289
+ ) => Promise<__HttpRequest>;
234
290
  export declare const se_ListSensorStatisticsCommand: (
235
291
  input: ListSensorStatisticsCommandInput,
236
292
  context: __SerdeContext
@@ -239,6 +295,10 @@ export declare const se_ListTagsForResourceCommand: (
239
295
  input: ListTagsForResourceCommandInput,
240
296
  context: __SerdeContext
241
297
  ) => Promise<__HttpRequest>;
298
+ export declare const se_PutResourcePolicyCommand: (
299
+ input: PutResourcePolicyCommandInput,
300
+ context: __SerdeContext
301
+ ) => Promise<__HttpRequest>;
242
302
  export declare const se_StartDataIngestionJobCommand: (
243
303
  input: StartDataIngestionJobCommandInput,
244
304
  context: __SerdeContext
@@ -259,6 +319,10 @@ export declare const se_UntagResourceCommand: (
259
319
  input: UntagResourceCommandInput,
260
320
  context: __SerdeContext
261
321
  ) => Promise<__HttpRequest>;
322
+ export declare const se_UpdateActiveModelVersionCommand: (
323
+ input: UpdateActiveModelVersionCommandInput,
324
+ context: __SerdeContext
325
+ ) => Promise<__HttpRequest>;
262
326
  export declare const se_UpdateInferenceSchedulerCommand: (
263
327
  input: UpdateInferenceSchedulerCommandInput,
264
328
  context: __SerdeContext
@@ -307,6 +371,10 @@ export declare const de_DeleteModelCommand: (
307
371
  output: __HttpResponse,
308
372
  context: __SerdeContext
309
373
  ) => Promise<DeleteModelCommandOutput>;
374
+ export declare const de_DeleteResourcePolicyCommand: (
375
+ output: __HttpResponse,
376
+ context: __SerdeContext
377
+ ) => Promise<DeleteResourcePolicyCommandOutput>;
310
378
  export declare const de_DescribeDataIngestionJobCommand: (
311
379
  output: __HttpResponse,
312
380
  context: __SerdeContext
@@ -331,6 +399,22 @@ export declare const de_DescribeModelCommand: (
331
399
  output: __HttpResponse,
332
400
  context: __SerdeContext
333
401
  ) => Promise<DescribeModelCommandOutput>;
402
+ export declare const de_DescribeModelVersionCommand: (
403
+ output: __HttpResponse,
404
+ context: __SerdeContext
405
+ ) => Promise<DescribeModelVersionCommandOutput>;
406
+ export declare const de_DescribeResourcePolicyCommand: (
407
+ output: __HttpResponse,
408
+ context: __SerdeContext
409
+ ) => Promise<DescribeResourcePolicyCommandOutput>;
410
+ export declare const de_ImportDatasetCommand: (
411
+ output: __HttpResponse,
412
+ context: __SerdeContext
413
+ ) => Promise<ImportDatasetCommandOutput>;
414
+ export declare const de_ImportModelVersionCommand: (
415
+ output: __HttpResponse,
416
+ context: __SerdeContext
417
+ ) => Promise<ImportModelVersionCommandOutput>;
334
418
  export declare const de_ListDataIngestionJobsCommand: (
335
419
  output: __HttpResponse,
336
420
  context: __SerdeContext
@@ -363,6 +447,10 @@ export declare const de_ListModelsCommand: (
363
447
  output: __HttpResponse,
364
448
  context: __SerdeContext
365
449
  ) => Promise<ListModelsCommandOutput>;
450
+ export declare const de_ListModelVersionsCommand: (
451
+ output: __HttpResponse,
452
+ context: __SerdeContext
453
+ ) => Promise<ListModelVersionsCommandOutput>;
366
454
  export declare const de_ListSensorStatisticsCommand: (
367
455
  output: __HttpResponse,
368
456
  context: __SerdeContext
@@ -371,6 +459,10 @@ export declare const de_ListTagsForResourceCommand: (
371
459
  output: __HttpResponse,
372
460
  context: __SerdeContext
373
461
  ) => Promise<ListTagsForResourceCommandOutput>;
462
+ export declare const de_PutResourcePolicyCommand: (
463
+ output: __HttpResponse,
464
+ context: __SerdeContext
465
+ ) => Promise<PutResourcePolicyCommandOutput>;
374
466
  export declare const de_StartDataIngestionJobCommand: (
375
467
  output: __HttpResponse,
376
468
  context: __SerdeContext
@@ -391,6 +483,10 @@ export declare const de_UntagResourceCommand: (
391
483
  output: __HttpResponse,
392
484
  context: __SerdeContext
393
485
  ) => Promise<UntagResourceCommandOutput>;
486
+ export declare const de_UpdateActiveModelVersionCommand: (
487
+ output: __HttpResponse,
488
+ context: __SerdeContext
489
+ ) => Promise<UpdateActiveModelVersionCommandOutput>;
394
490
  export declare const de_UpdateInferenceSchedulerCommand: (
395
491
  output: __HttpResponse,
396
492
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lookoutequipment",
3
3
  "description": "AWS SDK for JavaScript Lookoutequipment Client for Node.js, Browser and React Native",
4
- "version": "3.379.1",
4
+ "version": "3.381.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",