@aws-sdk/client-lookoutequipment 3.378.0 → 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 (99) 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 +4 -1
  77. package/dist-types/index.d.ts +1 -0
  78. package/dist-types/models/models_0.d.ts +732 -141
  79. package/dist-types/pagination/ListModelVersionsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +1 -0
  81. package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
  82. package/dist-types/ts3.4/LookoutEquipment.d.ts +136 -0
  83. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +48 -0
  84. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +37 -0
  85. package/dist-types/ts3.4/commands/DescribeModelVersionCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +42 -0
  87. package/dist-types/ts3.4/commands/ImportDatasetCommand.d.ts +38 -0
  88. package/dist-types/ts3.4/commands/ImportModelVersionCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/ListModelVersionsCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/UpdateActiveModelVersionCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  93. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  94. package/dist-types/ts3.4/index.d.ts +1 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +154 -0
  96. package/dist-types/ts3.4/pagination/ListModelVersionsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  99. package/package.json +6 -6
@@ -88,6 +88,7 @@ export interface CreateDatasetRequest {
88
88
  export declare const DatasetStatus: {
89
89
  readonly ACTIVE: "ACTIVE";
90
90
  readonly CREATED: "CREATED";
91
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
91
92
  readonly INGESTION_IN_PROGRESS: "INGESTION_IN_PROGRESS";
92
93
  };
93
94
  /**
@@ -154,7 +155,7 @@ export declare class ThrottlingException extends __BaseException {
154
155
  /**
155
156
  * @public
156
157
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
157
- * related AWS service that's being utilized. </p>
158
+ * related Amazon Web Services service that's being utilized. </p>
158
159
  */
159
160
  export declare class ValidationException extends __BaseException {
160
161
  readonly name: "ValidationException";
@@ -245,7 +246,7 @@ export interface InferenceOutputConfiguration {
245
246
  */
246
247
  S3OutputConfiguration: InferenceS3OutputConfiguration | undefined;
247
248
  /**
248
- * <p>The ID number for the AWS KMS key used to encrypt the inference output. </p>
249
+ * <p>The ID number for the KMS key key used to encrypt the inference output. </p>
249
250
  */
250
251
  KmsKeyId?: string;
251
252
  }
@@ -387,54 +388,54 @@ export type LabelRating = (typeof LabelRating)[keyof typeof LabelRating];
387
388
  export interface CreateLabelRequest {
388
389
  /**
389
390
  * <p>
390
- * The name of a group of labels. </p>
391
+ * The name of a group of labels. </p>
391
392
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.
392
- * </p>
393
+ * </p>
393
394
  */
394
395
  LabelGroupName: string | undefined;
395
396
  /**
396
397
  * <p>
397
- * The start time of the labeled event.
398
- * </p>
398
+ * The start time of the labeled event.
399
+ * </p>
399
400
  */
400
401
  StartTime: Date | undefined;
401
402
  /**
402
403
  * <p>
403
- * The end time of the labeled event.
404
- * </p>
404
+ * The end time of the labeled event.
405
+ * </p>
405
406
  */
406
407
  EndTime: Date | undefined;
407
408
  /**
408
409
  * <p>
409
- * Indicates whether a labeled event represents an anomaly.
410
- * </p>
410
+ * Indicates whether a labeled event represents an anomaly.
411
+ * </p>
411
412
  */
412
413
  Rating: LabelRating | string | undefined;
413
414
  /**
414
415
  * <p>
415
- * Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group.</p>
416
+ * Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group.</p>
416
417
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.
417
- * </p>
418
+ * </p>
418
419
  */
419
420
  FaultCode?: string;
420
421
  /**
421
422
  * <p>
422
- * Metadata providing additional information about the label.
423
- * </p>
423
+ * Metadata providing additional information about the label.
424
+ * </p>
424
425
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
425
426
  */
426
427
  Notes?: string;
427
428
  /**
428
429
  * <p>
429
- * Indicates that a label pertains to a particular piece of equipment.
430
- * </p>
430
+ * Indicates that a label pertains to a particular piece of equipment.
431
+ * </p>
431
432
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
432
433
  */
433
434
  Equipment?: string;
434
435
  /**
435
436
  * <p>
436
- * A unique identifier for the request to create a label. If you do not set the client request token, Lookout for Equipment generates one.
437
- * </p>
437
+ * A unique identifier for the request to create a label. If you do not set the client request token, Lookout for Equipment generates one.
438
+ * </p>
438
439
  */
439
440
  ClientToken?: string;
440
441
  }
@@ -444,8 +445,8 @@ export interface CreateLabelRequest {
444
445
  export interface CreateLabelResponse {
445
446
  /**
446
447
  * <p>
447
- * The ID of the label that you have created.
448
- * </p>
448
+ * The ID of the label that you have created.
449
+ * </p>
449
450
  */
450
451
  LabelId?: string;
451
452
  }
@@ -455,27 +456,27 @@ export interface CreateLabelResponse {
455
456
  export interface CreateLabelGroupRequest {
456
457
  /**
457
458
  * <p>
458
- * Names a group of labels.</p>
459
+ * Names a group of labels.</p>
459
460
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.
460
- * </p>
461
+ * </p>
461
462
  */
462
463
  LabelGroupName: string | undefined;
463
464
  /**
464
465
  * <p>
465
- * The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.</p>
466
+ * The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.</p>
466
467
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
467
468
  */
468
469
  FaultCodes?: string[];
469
470
  /**
470
471
  * <p>
471
- * A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
472
- * </p>
472
+ * A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
473
+ * </p>
473
474
  */
474
475
  ClientToken?: string;
475
476
  /**
476
477
  * <p>
477
- * Tags that provide metadata about the label group you are creating.
478
- * </p>
478
+ * Tags that provide metadata about the label group you are creating.
479
+ * </p>
479
480
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
480
481
  */
481
482
  Tags?: Tag[];
@@ -486,14 +487,14 @@ export interface CreateLabelGroupRequest {
486
487
  export interface CreateLabelGroupResponse {
487
488
  /**
488
489
  * <p>
489
- * The name of the label group that you have created. Data in this field will be retained for service usage. Follow best practices for the security of your data.
490
- * </p>
490
+ * The name of the label group that you have created. Data in this field will be retained for service usage. Follow best practices for the security of your data.
491
+ * </p>
491
492
  */
492
493
  LabelGroupName?: string;
493
494
  /**
494
495
  * <p>
495
- * The ARN of the label group that you have created.
496
- * </p>
496
+ * The Amazon Resource Name (ARN) of the label group that you have created.
497
+ * </p>
497
498
  */
498
499
  LabelGroupArn?: string;
499
500
  }
@@ -572,8 +573,8 @@ export interface LabelsInputConfiguration {
572
573
  S3InputConfiguration?: LabelsS3InputConfiguration;
573
574
  /**
574
575
  * <p>
575
- * The name of the label group to be used for label data.
576
- * </p>
576
+ * The name of the label group to be used for label data.
577
+ * </p>
577
578
  */
578
579
  LabelGroupName?: string;
579
580
  }
@@ -663,6 +664,7 @@ export interface CreateModelRequest {
663
664
  */
664
665
  export declare const ModelStatus: {
665
666
  readonly FAILED: "FAILED";
667
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
666
668
  readonly IN_PROGRESS: "IN_PROGRESS";
667
669
  readonly SUCCESS: "SUCCESS";
668
670
  };
@@ -707,14 +709,14 @@ export interface DeleteInferenceSchedulerRequest {
707
709
  export interface DeleteLabelRequest {
708
710
  /**
709
711
  * <p>
710
- * The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.
711
- * </p>
712
+ * The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.
713
+ * </p>
712
714
  */
713
715
  LabelGroupName: string | undefined;
714
716
  /**
715
717
  * <p>
716
- * The ID of the label that you want to delete.
717
- * </p>
718
+ * The ID of the label that you want to delete.
719
+ * </p>
718
720
  */
719
721
  LabelId: string | undefined;
720
722
  }
@@ -724,8 +726,8 @@ export interface DeleteLabelRequest {
724
726
  export interface DeleteLabelGroupRequest {
725
727
  /**
726
728
  * <p>
727
- * The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.
728
- * </p>
729
+ * The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.
730
+ * </p>
729
731
  */
730
732
  LabelGroupName: string | undefined;
731
733
  }
@@ -738,6 +740,15 @@ export interface DeleteModelRequest {
738
740
  */
739
741
  ModelName: string | undefined;
740
742
  }
743
+ /**
744
+ * @public
745
+ */
746
+ export interface DeleteResourcePolicyRequest {
747
+ /**
748
+ * <p>The Amazon Resource Name (ARN) of the resource for which the resource policy should be deleted.</p>
749
+ */
750
+ ResourceArn: string | undefined;
751
+ }
741
752
  /**
742
753
  * @public
743
754
  */
@@ -878,7 +889,7 @@ export interface S3Object {
878
889
  */
879
890
  Bucket: string | undefined;
880
891
  /**
881
- * <p>The AWS Key Management Service (AWS KMS) key being used to encrypt the S3 object.
892
+ * <p>The Amazon Web Services Key Management Service (KMS key) key being used to encrypt the S3 object.
882
893
  * Without this key, data in the bucket is not accessible. </p>
883
894
  */
884
895
  Key: string | undefined;
@@ -919,9 +930,9 @@ export interface IngestionS3InputConfiguration {
919
930
  */
920
931
  Prefix?: string;
921
932
  /**
922
- * <p> Pattern for matching the Amazon S3 files which will be used for ingestion. If
923
- * no KeyPattern is provided, we will use the default hierarchy file structure, which is same
924
- * as KeyPattern \{prefix\}/\{component_name\}/* </p>
933
+ * <p>
934
+ * The pattern for matching the Amazon S3 files that will be used for ingestion. If the schema was created previously without any KeyPattern, then the default KeyPattern \{prefix\}/\{component_name\}/* is used to download files from Amazon S3 according to the schema. This field is required when ingestion is being done for the first time.</p>
935
+ * <p>Valid Values: \{prefix\}/\{component_name\}_* | \{prefix\}/\{component_name\}/* | \{prefix\}/\{component_name\}[DELIMITER]* (Allowed delimiters : space, dot, underscore, hyphen)</p>
925
936
  */
926
937
  KeyPattern?: string;
927
938
  }
@@ -943,6 +954,7 @@ export interface IngestionInputConfiguration {
943
954
  */
944
955
  export declare const IngestionJobStatus: {
945
956
  readonly FAILED: "FAILED";
957
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
946
958
  readonly IN_PROGRESS: "IN_PROGRESS";
947
959
  readonly SUCCESS: "SUCCESS";
948
960
  };
@@ -1015,6 +1027,11 @@ export interface DescribeDataIngestionJobResponse {
1015
1027
  * during this specific ingestion job. </p>
1016
1028
  */
1017
1029
  DataEndTime?: Date;
1030
+ /**
1031
+ * <p>The Amazon Resource Name (ARN) of the source dataset from which the data
1032
+ * used for the data ingestion job was imported from.</p>
1033
+ */
1034
+ SourceDatasetArn?: string;
1018
1035
  }
1019
1036
  /**
1020
1037
  * @public
@@ -1091,6 +1108,11 @@ export interface DescribeDatasetResponse {
1091
1108
  * during the most recent ingestion of this particular dataset. </p>
1092
1109
  */
1093
1110
  DataEndTime?: Date;
1111
+ /**
1112
+ * <p>The Amazon Resource Name (ARN) of the source dataset from which the
1113
+ * current data being described was imported from.</p>
1114
+ */
1115
+ SourceDatasetArn?: string;
1094
1116
  }
1095
1117
  /**
1096
1118
  * @public
@@ -1196,14 +1218,14 @@ export interface DescribeInferenceSchedulerResponse {
1196
1218
  export interface DescribeLabelRequest {
1197
1219
  /**
1198
1220
  * <p>
1199
- * Returns the name of the group containing the label.
1200
- * </p>
1221
+ * Returns the name of the group containing the label.
1222
+ * </p>
1201
1223
  */
1202
1224
  LabelGroupName: string | undefined;
1203
1225
  /**
1204
1226
  * <p>
1205
- * Returns the ID of the label.
1206
- * </p>
1227
+ * Returns the ID of the label.
1228
+ * </p>
1207
1229
  */
1208
1230
  LabelId: string | undefined;
1209
1231
  }
@@ -1213,44 +1235,44 @@ export interface DescribeLabelRequest {
1213
1235
  export interface DescribeLabelResponse {
1214
1236
  /**
1215
1237
  * <p>
1216
- * The name of the requested label group.
1217
- * </p>
1238
+ * The name of the requested label group.
1239
+ * </p>
1218
1240
  */
1219
1241
  LabelGroupName?: string;
1220
1242
  /**
1221
1243
  * <p>
1222
- * The ARN of the requested label group.
1223
- * </p>
1244
+ * The Amazon Resource Name (ARN) of the requested label group.
1245
+ * </p>
1224
1246
  */
1225
1247
  LabelGroupArn?: string;
1226
1248
  /**
1227
1249
  * <p>
1228
- * The ID of the requested label.
1229
- * </p>
1250
+ * The ID of the requested label.
1251
+ * </p>
1230
1252
  */
1231
1253
  LabelId?: string;
1232
1254
  /**
1233
1255
  * <p>
1234
- * The start time of the requested label.
1235
- * </p>
1256
+ * The start time of the requested label.
1257
+ * </p>
1236
1258
  */
1237
1259
  StartTime?: Date;
1238
1260
  /**
1239
1261
  * <p>
1240
- * The end time of the requested label.
1241
- * </p>
1262
+ * The end time of the requested label.
1263
+ * </p>
1242
1264
  */
1243
1265
  EndTime?: Date;
1244
1266
  /**
1245
1267
  * <p>
1246
- * Indicates whether a labeled event represents an anomaly.
1247
- * </p>
1268
+ * Indicates whether a labeled event represents an anomaly.
1269
+ * </p>
1248
1270
  */
1249
1271
  Rating?: LabelRating | string;
1250
1272
  /**
1251
1273
  * <p>
1252
- * Indicates the type of anomaly associated with the label.
1253
- * </p>
1274
+ * Indicates the type of anomaly associated with the label.
1275
+ * </p>
1254
1276
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
1255
1277
  */
1256
1278
  FaultCode?: string;
@@ -1261,14 +1283,14 @@ export interface DescribeLabelResponse {
1261
1283
  Notes?: string;
1262
1284
  /**
1263
1285
  * <p>
1264
- * Indicates that a label pertains to a particular piece of equipment.
1265
- * </p>
1286
+ * Indicates that a label pertains to a particular piece of equipment.
1287
+ * </p>
1266
1288
  */
1267
1289
  Equipment?: string;
1268
1290
  /**
1269
1291
  * <p>
1270
- * The time at which the label was created.
1271
- * </p>
1292
+ * The time at which the label was created.
1293
+ * </p>
1272
1294
  */
1273
1295
  CreatedAt?: Date;
1274
1296
  }
@@ -1278,8 +1300,8 @@ export interface DescribeLabelResponse {
1278
1300
  export interface DescribeLabelGroupRequest {
1279
1301
  /**
1280
1302
  * <p>
1281
- * Returns the name of the label group.
1282
- * </p>
1303
+ * Returns the name of the label group.
1304
+ * </p>
1283
1305
  */
1284
1306
  LabelGroupName: string | undefined;
1285
1307
  }
@@ -1289,32 +1311,32 @@ export interface DescribeLabelGroupRequest {
1289
1311
  export interface DescribeLabelGroupResponse {
1290
1312
  /**
1291
1313
  * <p>
1292
- * The name of the label group.
1293
- * </p>
1314
+ * The name of the label group.
1315
+ * </p>
1294
1316
  */
1295
1317
  LabelGroupName?: string;
1296
1318
  /**
1297
1319
  * <p>
1298
- * The ARN of the label group.
1299
- * </p>
1320
+ * The Amazon Resource Name (ARN) of the label group.
1321
+ * </p>
1300
1322
  */
1301
1323
  LabelGroupArn?: string;
1302
1324
  /**
1303
1325
  * <p>
1304
- * Codes indicating the type of anomaly associated with the labels in the lagbel group.
1305
- * </p>
1326
+ * Codes indicating the type of anomaly associated with the labels in the lagbel group.
1327
+ * </p>
1306
1328
  */
1307
1329
  FaultCodes?: string[];
1308
1330
  /**
1309
1331
  * <p>
1310
- * The time at which the label group was created.
1311
- * </p>
1332
+ * The time at which the label group was created.
1333
+ * </p>
1312
1334
  */
1313
1335
  CreatedAt?: Date;
1314
1336
  /**
1315
1337
  * <p>
1316
- * The time at which the label group was updated.
1317
- * </p>
1338
+ * The time at which the label group was updated.
1339
+ * </p>
1318
1340
  */
1319
1341
  UpdatedAt?: Date;
1320
1342
  }
@@ -1440,6 +1462,381 @@ export interface DescribeModelResponse {
1440
1462
  * evaluation, or inference.</p>
1441
1463
  */
1442
1464
  OffCondition?: string;
1465
+ /**
1466
+ * <p>The Amazon Resource Name (ARN) of the source model version. This field appears if the active model version
1467
+ * was imported.</p>
1468
+ */
1469
+ SourceModelVersionArn?: string;
1470
+ /**
1471
+ * <p>The date and time when the import job was started.
1472
+ * This field appears if the active model version was imported.</p>
1473
+ */
1474
+ ImportJobStartTime?: Date;
1475
+ /**
1476
+ * <p>The date and time when the import job was completed.
1477
+ * This field appears if the active model version was imported.</p>
1478
+ */
1479
+ ImportJobEndTime?: Date;
1480
+ /**
1481
+ * <p>The name of the model version used by the inference schedular when running a
1482
+ * scheduled inference execution.</p>
1483
+ */
1484
+ ActiveModelVersion?: number;
1485
+ /**
1486
+ * <p>The Amazon Resource Name (ARN) of the model version used by the
1487
+ * inference scheduler when running a scheduled inference execution.</p>
1488
+ */
1489
+ ActiveModelVersionArn?: string;
1490
+ /**
1491
+ * <p>The date the active model version was activated.</p>
1492
+ */
1493
+ ModelVersionActivatedAt?: Date;
1494
+ /**
1495
+ * <p>The model version that was set as the active model version prior to the
1496
+ * current active model version.</p>
1497
+ */
1498
+ PreviousActiveModelVersion?: number;
1499
+ /**
1500
+ * <p>The ARN of the model version that was set as the active model version prior to the
1501
+ * current active model version.</p>
1502
+ */
1503
+ PreviousActiveModelVersionArn?: string;
1504
+ /**
1505
+ * <p>The date and time when the previous active model version was activated.</p>
1506
+ */
1507
+ PreviousModelVersionActivatedAt?: Date;
1508
+ }
1509
+ /**
1510
+ * @public
1511
+ */
1512
+ export interface DescribeModelVersionRequest {
1513
+ /**
1514
+ * <p>The name of the machine learning model that this version belongs to.</p>
1515
+ */
1516
+ ModelName: string | undefined;
1517
+ /**
1518
+ * <p>The version of the machine learning model.</p>
1519
+ */
1520
+ ModelVersion: number | undefined;
1521
+ }
1522
+ /**
1523
+ * @public
1524
+ * @enum
1525
+ */
1526
+ export declare const ModelVersionSourceType: {
1527
+ readonly IMPORT: "IMPORT";
1528
+ readonly RETRAINING: "RETRAINING";
1529
+ readonly TRAINING: "TRAINING";
1530
+ };
1531
+ /**
1532
+ * @public
1533
+ */
1534
+ export type ModelVersionSourceType = (typeof ModelVersionSourceType)[keyof typeof ModelVersionSourceType];
1535
+ /**
1536
+ * @public
1537
+ * @enum
1538
+ */
1539
+ export declare const ModelVersionStatus: {
1540
+ readonly CANCELED: "CANCELED";
1541
+ readonly FAILED: "FAILED";
1542
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
1543
+ readonly IN_PROGRESS: "IN_PROGRESS";
1544
+ readonly SUCCESS: "SUCCESS";
1545
+ };
1546
+ /**
1547
+ * @public
1548
+ */
1549
+ export type ModelVersionStatus = (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus];
1550
+ /**
1551
+ * @public
1552
+ */
1553
+ export interface DescribeModelVersionResponse {
1554
+ /**
1555
+ * <p>The name of the machine learning model that this version belongs to.</p>
1556
+ */
1557
+ ModelName?: string;
1558
+ /**
1559
+ * <p>The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.</p>
1560
+ */
1561
+ ModelArn?: string;
1562
+ /**
1563
+ * <p>The version of the machine learning model.</p>
1564
+ */
1565
+ ModelVersion?: number;
1566
+ /**
1567
+ * <p>The Amazon Resource Name (ARN) of the model version.</p>
1568
+ */
1569
+ ModelVersionArn?: string;
1570
+ /**
1571
+ * <p>The current status of the model version.</p>
1572
+ */
1573
+ Status?: ModelVersionStatus | string;
1574
+ /**
1575
+ * <p>Indicates whether this model version was created by training or by importing.</p>
1576
+ */
1577
+ SourceType?: ModelVersionSourceType | string;
1578
+ /**
1579
+ * <p>The name of the dataset used to train the model version.</p>
1580
+ */
1581
+ DatasetName?: string;
1582
+ /**
1583
+ * <p>The Amazon Resource Name (ARN) of the dataset used to train the model version.</p>
1584
+ */
1585
+ DatasetArn?: string;
1586
+ /**
1587
+ * <p>The schema of the data used to train the model version.</p>
1588
+ */
1589
+ Schema?: string;
1590
+ /**
1591
+ * <p>Contains the configuration information for the S3 location being used to hold label
1592
+ * data. </p>
1593
+ */
1594
+ LabelsInputConfiguration?: LabelsInputConfiguration;
1595
+ /**
1596
+ * <p>The date on which the training data began being gathered. If you imported
1597
+ * the version, this is the date that the training data in the source
1598
+ * version began being gathered.</p>
1599
+ */
1600
+ TrainingDataStartTime?: Date;
1601
+ /**
1602
+ * <p>The date on which the training data finished being gathered.
1603
+ * If you imported the version, this is the date that the training data in the
1604
+ * source version finished being gathered.</p>
1605
+ */
1606
+ TrainingDataEndTime?: Date;
1607
+ /**
1608
+ * <p>The date on which the data in the evaluation set began being gathered.
1609
+ * If you imported the version, this is the date that the evaluation set data in
1610
+ * the source version began being gathered.</p>
1611
+ */
1612
+ EvaluationDataStartTime?: Date;
1613
+ /**
1614
+ * <p>The date on which the data in the evaluation set began being gathered.
1615
+ * If you imported the version, this is the date that the evaluation set data in the
1616
+ * source version finished being gathered.</p>
1617
+ */
1618
+ EvaluationDataEndTime?: Date;
1619
+ /**
1620
+ * <p>The Amazon Resource Name (ARN) of the role that was used to train the model version.</p>
1621
+ */
1622
+ RoleArn?: string;
1623
+ /**
1624
+ * <p>The configuration is the <code>TargetSamplingRate</code>, which is the sampling rate of
1625
+ * the data after post processing by Amazon Lookout for Equipment. For example, if you provide
1626
+ * data that has been collected at a 1 second level and you want the system to resample the
1627
+ * data at a 1 minute rate before training, the <code>TargetSamplingRate</code> is 1
1628
+ * minute.</p>
1629
+ * <p>When providing a value for the <code>TargetSamplingRate</code>, you must attach the
1630
+ * prefix "PT" to the rate you want. The value for a 1 second rate is therefore
1631
+ * <i>PT1S</i>, the value for a 15 minute rate is <i>PT15M</i>,
1632
+ * and the value for a 1 hour rate is <i>PT1H</i>
1633
+ * </p>
1634
+ */
1635
+ DataPreProcessingConfiguration?: DataPreProcessingConfiguration;
1636
+ /**
1637
+ * <p>The time when the training of the version began.</p>
1638
+ */
1639
+ TrainingExecutionStartTime?: Date;
1640
+ /**
1641
+ * <p>The time when the training of the version completed.</p>
1642
+ */
1643
+ TrainingExecutionEndTime?: Date;
1644
+ /**
1645
+ * <p>The failure message if the training of the model version failed.</p>
1646
+ */
1647
+ FailedReason?: string;
1648
+ /**
1649
+ * <p>Shows an aggregated summary, in JSON format, of the model's
1650
+ * performance within the evaluation time range. These metrics
1651
+ * are created when evaluating the model.</p>
1652
+ */
1653
+ ModelMetrics?: string;
1654
+ /**
1655
+ * <p>Indicates the last time the machine learning model version was updated.</p>
1656
+ */
1657
+ LastUpdatedTime?: Date;
1658
+ /**
1659
+ * <p>Indicates the time and date at which the machine learning model version was created.</p>
1660
+ */
1661
+ CreatedAt?: Date;
1662
+ /**
1663
+ * <p>The identifier of the KMS key key used to encrypt model version data by
1664
+ * Amazon Lookout for Equipment.</p>
1665
+ */
1666
+ ServerSideKmsKeyId?: string;
1667
+ /**
1668
+ * <p>Indicates that the asset associated with this sensor has been
1669
+ * shut off. As long as this condition is met, Lookout for Equipment
1670
+ * will not use data from this asset for training, evaluation, or inference.</p>
1671
+ */
1672
+ OffCondition?: string;
1673
+ /**
1674
+ * <p>If model version was imported, then this field is the arn
1675
+ * of the source model version.</p>
1676
+ */
1677
+ SourceModelVersionArn?: string;
1678
+ /**
1679
+ * <p>The date and time when the import job began.
1680
+ * This field appears if the model version was imported.</p>
1681
+ */
1682
+ ImportJobStartTime?: Date;
1683
+ /**
1684
+ * <p>The date and time when the import job completed.
1685
+ * This field appears if the model version was imported.</p>
1686
+ */
1687
+ ImportJobEndTime?: Date;
1688
+ /**
1689
+ * <p>The size in bytes of the imported data.
1690
+ * This field appears if the model version was imported.</p>
1691
+ */
1692
+ ImportedDataSizeInBytes?: number;
1693
+ }
1694
+ /**
1695
+ * @public
1696
+ */
1697
+ export interface DescribeResourcePolicyRequest {
1698
+ /**
1699
+ * <p>The Amazon Resource Name (ARN) of the resource that is associated with the resource policy.</p>
1700
+ */
1701
+ ResourceArn: string | undefined;
1702
+ }
1703
+ /**
1704
+ * @public
1705
+ */
1706
+ export interface DescribeResourcePolicyResponse {
1707
+ /**
1708
+ * <p>A unique identifier for a revision of the resource policy.</p>
1709
+ */
1710
+ PolicyRevisionId?: string;
1711
+ /**
1712
+ * <p>The resource policy in a JSON-formatted string.</p>
1713
+ */
1714
+ ResourcePolicy?: string;
1715
+ /**
1716
+ * <p>The time when the resource policy was created.</p>
1717
+ */
1718
+ CreationTime?: Date;
1719
+ /**
1720
+ * <p>The time when the resource policy was last modified.</p>
1721
+ */
1722
+ LastModifiedTime?: Date;
1723
+ }
1724
+ /**
1725
+ * @public
1726
+ */
1727
+ export interface ImportDatasetRequest {
1728
+ /**
1729
+ * <p>The Amazon Resource Name (ARN) of the dataset to import.</p>
1730
+ */
1731
+ SourceDatasetArn: string | undefined;
1732
+ /**
1733
+ * <p>The name of the machine learning dataset to be created. If the dataset already exists, Amazon Lookout for Equipment overwrites the existing dataset. If you don't specify this field, it is filled with the name of the source dataset.</p>
1734
+ */
1735
+ DatasetName?: string;
1736
+ /**
1737
+ * <p>A unique identifier for the request.
1738
+ * If you do not set the client request token,
1739
+ * Amazon Lookout for Equipment generates one. </p>
1740
+ */
1741
+ ClientToken?: string;
1742
+ /**
1743
+ * <p>Provides the identifier of the KMS key key used to
1744
+ * encrypt model data by Amazon Lookout for Equipment. </p>
1745
+ */
1746
+ ServerSideKmsKeyId?: string;
1747
+ /**
1748
+ * <p>Any tags associated with the dataset to be created.</p>
1749
+ */
1750
+ Tags?: Tag[];
1751
+ }
1752
+ /**
1753
+ * @public
1754
+ */
1755
+ export interface ImportDatasetResponse {
1756
+ /**
1757
+ * <p>The name of the created machine learning dataset.</p>
1758
+ */
1759
+ DatasetName?: string;
1760
+ /**
1761
+ * <p>The Amazon Resource Name (ARN) of the dataset that was imported.</p>
1762
+ */
1763
+ DatasetArn?: string;
1764
+ /**
1765
+ * <p>The status of the <code>ImportDataset</code> operation.</p>
1766
+ */
1767
+ Status?: DatasetStatus | string;
1768
+ /**
1769
+ * <p>A unique identifier for the job of importing the dataset.</p>
1770
+ */
1771
+ JobId?: string;
1772
+ }
1773
+ /**
1774
+ * @public
1775
+ */
1776
+ export interface ImportModelVersionRequest {
1777
+ /**
1778
+ * <p>The Amazon Resource Name (ARN) of the model version to import.</p>
1779
+ */
1780
+ SourceModelVersionArn: string | undefined;
1781
+ /**
1782
+ * <p>The name for the machine learning model to be created.
1783
+ * If the model already exists, Amazon Lookout for Equipment creates a new version.
1784
+ * If you do not specify this field, it is filled with the name of the source model.</p>
1785
+ */
1786
+ ModelName?: string;
1787
+ /**
1788
+ * <p>The name of the dataset for the machine learning model being imported. </p>
1789
+ */
1790
+ DatasetName: string | undefined;
1791
+ /**
1792
+ * <p>Contains the configuration information for the S3 location being used to hold label
1793
+ * data. </p>
1794
+ */
1795
+ LabelsInputConfiguration?: LabelsInputConfiguration;
1796
+ /**
1797
+ * <p>A unique identifier for the request. If you do not set the client request
1798
+ * token, Amazon Lookout for Equipment generates one. </p>
1799
+ */
1800
+ ClientToken?: string;
1801
+ /**
1802
+ * <p>The Amazon Resource Name (ARN) of a role with permission to
1803
+ * access the data source being used to create the machine learning model. </p>
1804
+ */
1805
+ RoleArn?: string;
1806
+ /**
1807
+ * <p>Provides the identifier of the KMS key key used to encrypt
1808
+ * model data by Amazon Lookout for Equipment. </p>
1809
+ */
1810
+ ServerSideKmsKeyId?: string;
1811
+ /**
1812
+ * <p>The tags associated with the machine learning model to be created. </p>
1813
+ */
1814
+ Tags?: Tag[];
1815
+ }
1816
+ /**
1817
+ * @public
1818
+ */
1819
+ export interface ImportModelVersionResponse {
1820
+ /**
1821
+ * <p>The name for the machine learning model.</p>
1822
+ */
1823
+ ModelName?: string;
1824
+ /**
1825
+ * <p>The Amazon Resource Name (ARN) of the model being created. </p>
1826
+ */
1827
+ ModelArn?: string;
1828
+ /**
1829
+ * <p>The Amazon Resource Name (ARN) of the model version being created. </p>
1830
+ */
1831
+ ModelVersionArn?: string;
1832
+ /**
1833
+ * <p>The version of the model being created.</p>
1834
+ */
1835
+ ModelVersion?: number;
1836
+ /**
1837
+ * <p>The status of the <code>ImportModelVersion</code> operation. </p>
1838
+ */
1839
+ Status?: ModelVersionStatus | string;
1443
1840
  }
1444
1841
  /**
1445
1842
  * @public
@@ -1585,7 +1982,7 @@ export interface ListInferenceEventsRequest {
1585
1982
  */
1586
1983
  IntervalStartTime: Date | undefined;
1587
1984
  /**
1588
- * <p>Returns all the inference events with an end start time equal to or greater than less than the end time given</p>
1985
+ * <p>Returns all the inference events with an end start time equal to or greater than less than the end time given.</p>
1589
1986
  */
1590
1987
  IntervalEndTime: Date | undefined;
1591
1988
  }
@@ -1784,7 +2181,7 @@ export interface ListInferenceSchedulersRequest {
1784
2181
  */
1785
2182
  ModelName?: string;
1786
2183
  /**
1787
- * <p>Specifies the current status of the inference schedulers to list.</p>
2184
+ * <p>Specifies the current status of the inference schedulers.</p>
1788
2185
  */
1789
2186
  Status?: InferenceSchedulerStatus | string;
1790
2187
  }
@@ -1859,52 +2256,52 @@ export interface ListInferenceSchedulersResponse {
1859
2256
  export interface ListLabelGroupsRequest {
1860
2257
  /**
1861
2258
  * <p>
1862
- * The beginning of the name of the label groups to be listed.
1863
- * </p>
2259
+ * The beginning of the name of the label groups to be listed.
2260
+ * </p>
1864
2261
  */
1865
2262
  LabelGroupNameBeginsWith?: string;
1866
2263
  /**
1867
2264
  * <p>
1868
- * An opaque pagination token indicating where to continue the listing of label groups.
1869
- * </p>
2265
+ * An opaque pagination token indicating where to continue the listing of label groups.
2266
+ * </p>
1870
2267
  */
1871
2268
  NextToken?: string;
1872
2269
  /**
1873
2270
  * <p>
1874
- * Specifies the maximum number of label groups to list.
1875
- * </p>
2271
+ * Specifies the maximum number of label groups to list.
2272
+ * </p>
1876
2273
  */
1877
2274
  MaxResults?: number;
1878
2275
  }
1879
2276
  /**
1880
2277
  * @public
1881
2278
  * <p>
1882
- * Contains information about the label group.
1883
- * </p>
2279
+ * Contains information about the label group.
2280
+ * </p>
1884
2281
  */
1885
2282
  export interface LabelGroupSummary {
1886
2283
  /**
1887
2284
  * <p>
1888
- * The name of the label group.
1889
- * </p>
2285
+ * The name of the label group.
2286
+ * </p>
1890
2287
  */
1891
2288
  LabelGroupName?: string;
1892
2289
  /**
1893
2290
  * <p>
1894
- * The ARN of the label group.
1895
- * </p>
2291
+ * The Amazon Resource Name (ARN) of the label group.
2292
+ * </p>
1896
2293
  */
1897
2294
  LabelGroupArn?: string;
1898
2295
  /**
1899
2296
  * <p>
1900
- * The time at which the label group was created.
1901
- * </p>
2297
+ * The time at which the label group was created.
2298
+ * </p>
1902
2299
  */
1903
2300
  CreatedAt?: Date;
1904
2301
  /**
1905
2302
  * <p>
1906
- * The time at which the label group was updated.
1907
- * </p>
2303
+ * The time at which the label group was updated.
2304
+ * </p>
1908
2305
  */
1909
2306
  UpdatedAt?: Date;
1910
2307
  }
@@ -1914,14 +2311,14 @@ export interface LabelGroupSummary {
1914
2311
  export interface ListLabelGroupsResponse {
1915
2312
  /**
1916
2313
  * <p>
1917
- * An opaque pagination token indicating where to continue the listing of label groups.
1918
- * </p>
2314
+ * An opaque pagination token indicating where to continue the listing of label groups.
2315
+ * </p>
1919
2316
  */
1920
2317
  NextToken?: string;
1921
2318
  /**
1922
2319
  * <p>
1923
- * A summary of the label groups.
1924
- * </p>
2320
+ * A summary of the label groups.
2321
+ * </p>
1925
2322
  */
1926
2323
  LabelGroupSummaries?: LabelGroupSummary[];
1927
2324
  }
@@ -1931,107 +2328,107 @@ export interface ListLabelGroupsResponse {
1931
2328
  export interface ListLabelsRequest {
1932
2329
  /**
1933
2330
  * <p>
1934
- * Retruns the name of the label group.
1935
- * </p>
2331
+ * Retruns the name of the label group.
2332
+ * </p>
1936
2333
  */
1937
2334
  LabelGroupName: string | undefined;
1938
2335
  /**
1939
2336
  * <p>
1940
- * Returns all the labels with a end time equal to or later than the start time given.
1941
- * </p>
2337
+ * Returns all the labels with a end time equal to or later than the start time given.
2338
+ * </p>
1942
2339
  */
1943
2340
  IntervalStartTime?: Date;
1944
2341
  /**
1945
2342
  * <p>
1946
- * Returns all labels with a start time earlier than the end time given.
1947
- * </p>
2343
+ * Returns all labels with a start time earlier than the end time given.
2344
+ * </p>
1948
2345
  */
1949
2346
  IntervalEndTime?: Date;
1950
2347
  /**
1951
2348
  * <p>
1952
- * Returns labels with a particular fault code.
1953
- * </p>
2349
+ * Returns labels with a particular fault code.
2350
+ * </p>
1954
2351
  */
1955
2352
  FaultCode?: string;
1956
2353
  /**
1957
2354
  * <p>
1958
- * Lists the labels that pertain to a particular piece of equipment.
1959
- * </p>
2355
+ * Lists the labels that pertain to a particular piece of equipment.
2356
+ * </p>
1960
2357
  */
1961
2358
  Equipment?: string;
1962
2359
  /**
1963
2360
  * <p>
1964
- * An opaque pagination token indicating where to continue the listing of label groups.
1965
- * </p>
2361
+ * An opaque pagination token indicating where to continue the listing of label groups.
2362
+ * </p>
1966
2363
  */
1967
2364
  NextToken?: string;
1968
2365
  /**
1969
2366
  * <p>
1970
- * Specifies the maximum number of labels to list.
1971
- * </p>
2367
+ * Specifies the maximum number of labels to list.
2368
+ * </p>
1972
2369
  */
1973
2370
  MaxResults?: number;
1974
2371
  }
1975
2372
  /**
1976
2373
  * @public
1977
2374
  * <p>
1978
- * Information about the label.
1979
- * </p>
2375
+ * Information about the label.
2376
+ * </p>
1980
2377
  */
1981
2378
  export interface LabelSummary {
1982
2379
  /**
1983
2380
  * <p>
1984
- * The name of the label group.
1985
- * </p>
2381
+ * The name of the label group.
2382
+ * </p>
1986
2383
  */
1987
2384
  LabelGroupName?: string;
1988
2385
  /**
1989
2386
  * <p>
1990
- * The ID of the label.
1991
- * </p>
2387
+ * The ID of the label.
2388
+ * </p>
1992
2389
  */
1993
2390
  LabelId?: string;
1994
2391
  /**
1995
2392
  * <p>
1996
- * The ARN of the label group.
1997
- * </p>
2393
+ * The Amazon Resource Name (ARN) of the label group.
2394
+ * </p>
1998
2395
  */
1999
2396
  LabelGroupArn?: string;
2000
2397
  /**
2001
2398
  * <p>
2002
- * The timestamp indicating the start of the label.
2003
- * </p>
2399
+ * The timestamp indicating the start of the label.
2400
+ * </p>
2004
2401
  */
2005
2402
  StartTime?: Date;
2006
2403
  /**
2007
2404
  * <p>
2008
- * The timestamp indicating the end of the label.
2009
- * </p>
2405
+ * The timestamp indicating the end of the label.
2406
+ * </p>
2010
2407
  */
2011
2408
  EndTime?: Date;
2012
2409
  /**
2013
2410
  * <p>
2014
- * Indicates whether a labeled event represents an anomaly.
2015
- * </p>
2411
+ * Indicates whether a labeled event represents an anomaly.
2412
+ * </p>
2016
2413
  */
2017
2414
  Rating?: LabelRating | string;
2018
2415
  /**
2019
2416
  * <p>
2020
- * Indicates the type of anomaly associated with the label.
2021
- * </p>
2417
+ * Indicates the type of anomaly associated with the label.
2418
+ * </p>
2022
2419
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
2023
2420
  */
2024
2421
  FaultCode?: string;
2025
2422
  /**
2026
2423
  * <p>
2027
- * Indicates that a label pertains to a particular piece of equipment.
2028
- * </p>
2424
+ * Indicates that a label pertains to a particular piece of equipment.
2425
+ * </p>
2029
2426
  */
2030
2427
  Equipment?: string;
2031
2428
  /**
2032
2429
  * <p>
2033
- * The time at which the label was created.
2034
- * </p>
2430
+ * The time at which the label was created.
2431
+ * </p>
2035
2432
  */
2036
2433
  CreatedAt?: Date;
2037
2434
  }
@@ -2041,14 +2438,14 @@ export interface LabelSummary {
2041
2438
  export interface ListLabelsResponse {
2042
2439
  /**
2043
2440
  * <p>
2044
- * An opaque pagination token indicating where to continue the listing of datasets.
2045
- * </p>
2441
+ * An opaque pagination token indicating where to continue the listing of datasets.
2442
+ * </p>
2046
2443
  */
2047
2444
  NextToken?: string;
2048
2445
  /**
2049
2446
  * <p>
2050
- * A summary of the items in the label group.
2051
- * </p>
2447
+ * A summary of the items in the label group.
2448
+ * </p>
2052
2449
  */
2053
2450
  LabelSummaries?: LabelSummary[];
2054
2451
  }
@@ -2108,6 +2505,17 @@ export interface ModelSummary {
2108
2505
  * <p>The time at which the specific model was created. </p>
2109
2506
  */
2110
2507
  CreatedAt?: Date;
2508
+ /**
2509
+ * <p>The model version that the inference scheduler uses to run an inference
2510
+ * execution.</p>
2511
+ */
2512
+ ActiveModelVersion?: number;
2513
+ /**
2514
+ * <p>The Amazon Resource Name (ARN) of the model version that is set as active. The active model version
2515
+ * is the model version that the inference scheduler uses to run an inference
2516
+ * execution.</p>
2517
+ */
2518
+ ActiveModelVersionArn?: string;
2111
2519
  }
2112
2520
  /**
2113
2521
  * @public
@@ -2124,6 +2532,102 @@ export interface ListModelsResponse {
2124
2532
  */
2125
2533
  ModelSummaries?: ModelSummary[];
2126
2534
  }
2535
+ /**
2536
+ * @public
2537
+ */
2538
+ export interface ListModelVersionsRequest {
2539
+ /**
2540
+ * <p>Then name of the machine learning model for which the
2541
+ * model versions are to be listed.</p>
2542
+ */
2543
+ ModelName: string | undefined;
2544
+ /**
2545
+ * <p>If the total number of results exceeds the limit that the response can
2546
+ * display, the response returns an opaque pagination token indicating where to
2547
+ * continue the listing of machine learning model versions. Use this token in the <code>NextToken</code>
2548
+ * field in the request to list the next page of results.</p>
2549
+ */
2550
+ NextToken?: string;
2551
+ /**
2552
+ * <p>Specifies the maximum number of machine learning model versions to list.</p>
2553
+ */
2554
+ MaxResults?: number;
2555
+ /**
2556
+ * <p>Filter the results based on the current status of the model version.</p>
2557
+ */
2558
+ Status?: ModelVersionStatus | string;
2559
+ /**
2560
+ * <p>Filter the results based on the way the model version was generated.</p>
2561
+ */
2562
+ SourceType?: ModelVersionSourceType | string;
2563
+ /**
2564
+ * <p>Filter results to return all the model versions created before this time.</p>
2565
+ */
2566
+ CreatedAtEndTime?: Date;
2567
+ /**
2568
+ * <p>Filter results to return all the model versions created after this time.</p>
2569
+ */
2570
+ CreatedAtStartTime?: Date;
2571
+ /**
2572
+ * <p>Specifies the highest version of the model to return in the list.</p>
2573
+ */
2574
+ MaxModelVersion?: number;
2575
+ /**
2576
+ * <p>Specifies the lowest version of the model to return in the list.</p>
2577
+ */
2578
+ MinModelVersion?: number;
2579
+ }
2580
+ /**
2581
+ * @public
2582
+ * <p>Contains information about the specific model version.</p>
2583
+ */
2584
+ export interface ModelVersionSummary {
2585
+ /**
2586
+ * <p>The name of the model that this model version is a version of.</p>
2587
+ */
2588
+ ModelName?: string;
2589
+ /**
2590
+ * <p>The Amazon Resource Name (ARN) of the model that this model version is a version of.</p>
2591
+ */
2592
+ ModelArn?: string;
2593
+ /**
2594
+ * <p>The version of the model.</p>
2595
+ */
2596
+ ModelVersion?: number;
2597
+ /**
2598
+ * <p>The Amazon Resource Name (ARN) of the model version.</p>
2599
+ */
2600
+ ModelVersionArn?: string;
2601
+ /**
2602
+ * <p>The time when this model version was created.</p>
2603
+ */
2604
+ CreatedAt?: Date;
2605
+ /**
2606
+ * <p>The current status of the model version.</p>
2607
+ */
2608
+ Status?: ModelVersionStatus | string;
2609
+ /**
2610
+ * <p>Indicates how this model version was generated.</p>
2611
+ */
2612
+ SourceType?: ModelVersionSourceType | string;
2613
+ }
2614
+ /**
2615
+ * @public
2616
+ */
2617
+ export interface ListModelVersionsResponse {
2618
+ /**
2619
+ * <p>If the total number of results exceeds the limit that the response can
2620
+ * display, the response returns an opaque pagination token indicating where to
2621
+ * continue the listing of machine learning model versions. Use this token in the <code>NextToken</code>
2622
+ * field in the request to list the next page of results.</p>
2623
+ */
2624
+ NextToken?: string;
2625
+ /**
2626
+ * <p>Provides information on the specified model version,
2627
+ * including the created time, model and dataset ARNs, and status.</p>
2628
+ */
2629
+ ModelVersionSummaries?: ModelVersionSummary[];
2630
+ }
2127
2631
  /**
2128
2632
  * @public
2129
2633
  */
@@ -2354,6 +2858,44 @@ export interface ListTagsForResourceResponse {
2354
2858
  */
2355
2859
  Tags?: Tag[];
2356
2860
  }
2861
+ /**
2862
+ * @public
2863
+ */
2864
+ export interface PutResourcePolicyRequest {
2865
+ /**
2866
+ * <p>The Amazon Resource Name (ARN) of the resource for which the
2867
+ * policy is being created.</p>
2868
+ */
2869
+ ResourceArn: string | undefined;
2870
+ /**
2871
+ * <p>The JSON-formatted resource policy to create.</p>
2872
+ */
2873
+ ResourcePolicy: string | undefined;
2874
+ /**
2875
+ * <p>A unique identifier for a revision of the resource policy.</p>
2876
+ */
2877
+ PolicyRevisionId?: string;
2878
+ /**
2879
+ * <p>A unique identifier for the request.
2880
+ * If you do not set the client request token, Amazon Lookout for Equipment
2881
+ * generates one. </p>
2882
+ */
2883
+ ClientToken?: string;
2884
+ }
2885
+ /**
2886
+ * @public
2887
+ */
2888
+ export interface PutResourcePolicyResponse {
2889
+ /**
2890
+ * <p>The Amazon Resource Name (ARN) of the resource for which the
2891
+ * policy was created.</p>
2892
+ */
2893
+ ResourceArn?: string;
2894
+ /**
2895
+ * <p>A unique identifier for a revision of the resource policy.</p>
2896
+ */
2897
+ PolicyRevisionId?: string;
2898
+ }
2357
2899
  /**
2358
2900
  * @public
2359
2901
  */
@@ -2500,6 +3042,55 @@ export interface UntagResourceRequest {
2500
3042
  */
2501
3043
  export interface UntagResourceResponse {
2502
3044
  }
3045
+ /**
3046
+ * @public
3047
+ */
3048
+ export interface UpdateActiveModelVersionRequest {
3049
+ /**
3050
+ * <p>The name of the machine learning model for which the active model version
3051
+ * is being set.</p>
3052
+ */
3053
+ ModelName: string | undefined;
3054
+ /**
3055
+ * <p>The version of the machine learning model for which the active model version
3056
+ * is being set.</p>
3057
+ */
3058
+ ModelVersion: number | undefined;
3059
+ }
3060
+ /**
3061
+ * @public
3062
+ */
3063
+ export interface UpdateActiveModelVersionResponse {
3064
+ /**
3065
+ * <p>The name of the machine learning model for which the active model version was set.</p>
3066
+ */
3067
+ ModelName?: string;
3068
+ /**
3069
+ * <p>The Amazon Resource Name (ARN) of the machine learning model for which
3070
+ * the active model version was set.</p>
3071
+ */
3072
+ ModelArn?: string;
3073
+ /**
3074
+ * <p>The version that is currently active of the machine learning model
3075
+ * for which the active model version was set.</p>
3076
+ */
3077
+ CurrentActiveVersion?: number;
3078
+ /**
3079
+ * <p>The previous version that was active of the machine learning model
3080
+ * for which the active model version was set.</p>
3081
+ */
3082
+ PreviousActiveVersion?: number;
3083
+ /**
3084
+ * <p>The Amazon Resource Name (ARN) of the machine learning model version that is the
3085
+ * current active model version.</p>
3086
+ */
3087
+ CurrentActiveVersionArn?: string;
3088
+ /**
3089
+ * <p>The Amazon Resource Name (ARN) of the machine learning model version that was the
3090
+ * previous active model version.</p>
3091
+ */
3092
+ PreviousActiveVersionArn?: string;
3093
+ }
2503
3094
  /**
2504
3095
  * @public
2505
3096
  */
@@ -2548,14 +3139,14 @@ export interface UpdateInferenceSchedulerRequest {
2548
3139
  export interface UpdateLabelGroupRequest {
2549
3140
  /**
2550
3141
  * <p>
2551
- * The name of the label group to be updated.
2552
- * </p>
3142
+ * The name of the label group to be updated.
3143
+ * </p>
2553
3144
  */
2554
3145
  LabelGroupName: string | undefined;
2555
3146
  /**
2556
3147
  * <p>
2557
- * Updates the code indicating the type of anomaly associated with the label.
2558
- * </p>
3148
+ * Updates the code indicating the type of anomaly associated with the label.
3149
+ * </p>
2559
3150
  * <p>Data in this field will be retained for service usage. Follow best practices for the security of your data.</p>
2560
3151
  */
2561
3152
  FaultCodes?: string[];