@aws-sdk/client-lookoutequipment 3.515.0 → 3.519.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.
package/dist-cjs/index.js CHANGED
@@ -73,6 +73,7 @@ __export(src_exports, {
73
73
  LookoutEquipmentClient: () => LookoutEquipmentClient,
74
74
  LookoutEquipmentServiceException: () => LookoutEquipmentServiceException,
75
75
  ModelPromoteMode: () => ModelPromoteMode,
76
+ ModelQuality: () => ModelQuality,
76
77
  ModelStatus: () => ModelStatus,
77
78
  ModelVersionSourceType: () => ModelVersionSourceType,
78
79
  ModelVersionStatus: () => ModelVersionStatus,
@@ -412,6 +413,11 @@ var DataUploadFrequency = {
412
413
  PT30M: "PT30M",
413
414
  PT5M: "PT5M"
414
415
  };
416
+ var ModelQuality = {
417
+ CANNOT_DETERMINE_QUALITY: "CANNOT_DETERMINE_QUALITY",
418
+ POOR_QUALITY_DETECTED: "POOR_QUALITY_DETECTED",
419
+ QUALITY_THRESHOLD_MET: "QUALITY_THRESHOLD_MET"
420
+ };
415
421
  var InferenceSchedulerStatus = {
416
422
  PENDING: "PENDING",
417
423
  RUNNING: "RUNNING",
@@ -1801,6 +1807,7 @@ var de_DescribeModelResponse = /* @__PURE__ */ __name((output, context) => {
1801
1807
  ModelDiagnosticsOutputConfiguration: import_smithy_client._json,
1802
1808
  ModelMetrics: (_) => new import_smithy_client.LazyJsonString(_),
1803
1809
  ModelName: import_smithy_client.expectString,
1810
+ ModelQuality: import_smithy_client.expectString,
1804
1811
  ModelVersionActivatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1805
1812
  NextScheduledRetrainingStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1806
1813
  OffCondition: import_smithy_client.expectString,
@@ -1841,6 +1848,7 @@ var de_DescribeModelVersionResponse = /* @__PURE__ */ __name((output, context) =
1841
1848
  ModelDiagnosticsResultsObject: import_smithy_client._json,
1842
1849
  ModelMetrics: import_smithy_client.expectString,
1843
1850
  ModelName: import_smithy_client.expectString,
1851
+ ModelQuality: import_smithy_client.expectString,
1844
1852
  ModelVersion: import_smithy_client.expectLong,
1845
1853
  ModelVersionArn: import_smithy_client.expectString,
1846
1854
  OffCondition: import_smithy_client.expectString,
@@ -2025,6 +2033,7 @@ var de_ModelSummary = /* @__PURE__ */ __name((output, context) => {
2025
2033
  ModelArn: import_smithy_client.expectString,
2026
2034
  ModelDiagnosticsOutputConfiguration: import_smithy_client._json,
2027
2035
  ModelName: import_smithy_client.expectString,
2036
+ ModelQuality: import_smithy_client.expectString,
2028
2037
  NextScheduledRetrainingStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2029
2038
  RetrainingSchedulerStatus: import_smithy_client.expectString,
2030
2039
  Status: import_smithy_client.expectString
@@ -2041,6 +2050,7 @@ var de_ModelVersionSummary = /* @__PURE__ */ __name((output, context) => {
2041
2050
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2042
2051
  ModelArn: import_smithy_client.expectString,
2043
2052
  ModelName: import_smithy_client.expectString,
2053
+ ModelQuality: import_smithy_client.expectString,
2044
2054
  ModelVersion: import_smithy_client.expectLong,
2045
2055
  ModelVersionArn: import_smithy_client.expectString,
2046
2056
  SourceType: import_smithy_client.expectString,
@@ -3170,6 +3180,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3170
3180
  ThrottlingException,
3171
3181
  ValidationException,
3172
3182
  DataUploadFrequency,
3183
+ ModelQuality,
3173
3184
  InferenceSchedulerStatus,
3174
3185
  ResourceNotFoundException,
3175
3186
  LabelRating,
@@ -97,6 +97,11 @@ export const DataUploadFrequency = {
97
97
  PT30M: "PT30M",
98
98
  PT5M: "PT5M",
99
99
  };
100
+ export const ModelQuality = {
101
+ CANNOT_DETERMINE_QUALITY: "CANNOT_DETERMINE_QUALITY",
102
+ POOR_QUALITY_DETECTED: "POOR_QUALITY_DETECTED",
103
+ QUALITY_THRESHOLD_MET: "QUALITY_THRESHOLD_MET",
104
+ };
100
105
  export const InferenceSchedulerStatus = {
101
106
  PENDING: "PENDING",
102
107
  RUNNING: "RUNNING",
@@ -1293,6 +1293,7 @@ const de_DescribeModelResponse = (output, context) => {
1293
1293
  ModelDiagnosticsOutputConfiguration: _json,
1294
1294
  ModelMetrics: (_) => new __LazyJsonString(_),
1295
1295
  ModelName: __expectString,
1296
+ ModelQuality: __expectString,
1296
1297
  ModelVersionActivatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1297
1298
  NextScheduledRetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1298
1299
  OffCondition: __expectString,
@@ -1333,6 +1334,7 @@ const de_DescribeModelVersionResponse = (output, context) => {
1333
1334
  ModelDiagnosticsResultsObject: _json,
1334
1335
  ModelMetrics: __expectString,
1335
1336
  ModelName: __expectString,
1337
+ ModelQuality: __expectString,
1336
1338
  ModelVersion: __expectLong,
1337
1339
  ModelVersionArn: __expectString,
1338
1340
  OffCondition: __expectString,
@@ -1527,6 +1529,7 @@ const de_ModelSummary = (output, context) => {
1527
1529
  ModelArn: __expectString,
1528
1530
  ModelDiagnosticsOutputConfiguration: _json,
1529
1531
  ModelName: __expectString,
1532
+ ModelQuality: __expectString,
1530
1533
  NextScheduledRetrainingStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1531
1534
  RetrainingSchedulerStatus: __expectString,
1532
1535
  Status: __expectString,
@@ -1545,6 +1548,7 @@ const de_ModelVersionSummary = (output, context) => {
1545
1548
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1546
1549
  ModelArn: __expectString,
1547
1550
  ModelName: __expectString,
1551
+ ModelQuality: __expectString,
1548
1552
  ModelVersion: __expectLong,
1549
1553
  ModelVersionArn: __expectString,
1550
1554
  SourceType: __expectString,
@@ -76,6 +76,7 @@ declare const CreateInferenceSchedulerCommand_base: {
76
76
  * // InferenceSchedulerArn: "STRING_VALUE",
77
77
  * // InferenceSchedulerName: "STRING_VALUE",
78
78
  * // Status: "PENDING" || "RUNNING" || "STOPPING" || "STOPPED",
79
+ * // ModelQuality: "QUALITY_THRESHOLD_MET" || "CANNOT_DETERMINE_QUALITY" || "POOR_QUALITY_DETECTED",
79
80
  * // };
80
81
  *
81
82
  * ```
@@ -96,6 +96,7 @@ declare const DescribeModelCommand_base: {
96
96
  * // },
97
97
  * // KmsKeyId: "STRING_VALUE",
98
98
  * // },
99
+ * // ModelQuality: "QUALITY_THRESHOLD_MET" || "CANNOT_DETERMINE_QUALITY" || "POOR_QUALITY_DETECTED",
99
100
  * // };
100
101
  *
101
102
  * ```
@@ -91,6 +91,7 @@ declare const DescribeModelVersionCommand_base: {
91
91
  * // Bucket: "STRING_VALUE", // required
92
92
  * // Key: "STRING_VALUE", // required
93
93
  * // },
94
+ * // ModelQuality: "QUALITY_THRESHOLD_MET" || "CANNOT_DETERMINE_QUALITY" || "POOR_QUALITY_DETECTED",
94
95
  * // };
95
96
  *
96
97
  * ```
@@ -59,6 +59,7 @@ declare const ListModelVersionsCommand_base: {
59
59
  * // CreatedAt: new Date("TIMESTAMP"),
60
60
  * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS" || "CANCELED",
61
61
  * // SourceType: "TRAINING" || "RETRAINING" || "IMPORT",
62
+ * // ModelQuality: "QUALITY_THRESHOLD_MET" || "CANNOT_DETERMINE_QUALITY" || "POOR_QUALITY_DETECTED",
62
63
  * // },
63
64
  * // ],
64
65
  * // };
@@ -67,6 +67,7 @@ declare const ListModelsCommand_base: {
67
67
  * // },
68
68
  * // KmsKeyId: "STRING_VALUE",
69
69
  * // },
70
+ * // ModelQuality: "QUALITY_THRESHOLD_MET" || "CANNOT_DETERMINE_QUALITY" || "POOR_QUALITY_DETECTED",
70
71
  * // },
71
72
  * // ],
72
73
  * // };
@@ -375,6 +375,19 @@ export interface CreateInferenceSchedulerRequest {
375
375
  */
376
376
  Tags?: Tag[];
377
377
  }
378
+ /**
379
+ * @public
380
+ * @enum
381
+ */
382
+ export declare const ModelQuality: {
383
+ readonly CANNOT_DETERMINE_QUALITY: "CANNOT_DETERMINE_QUALITY";
384
+ readonly POOR_QUALITY_DETECTED: "POOR_QUALITY_DETECTED";
385
+ readonly QUALITY_THRESHOLD_MET: "QUALITY_THRESHOLD_MET";
386
+ };
387
+ /**
388
+ * @public
389
+ */
390
+ export type ModelQuality = (typeof ModelQuality)[keyof typeof ModelQuality];
378
391
  /**
379
392
  * @public
380
393
  * @enum
@@ -408,6 +421,22 @@ export interface CreateInferenceSchedulerResponse {
408
421
  * <p>Indicates the status of the <code>CreateInferenceScheduler</code> operation. </p>
409
422
  */
410
423
  Status?: InferenceSchedulerStatus;
424
+ /**
425
+ * @public
426
+ * <p>Provides a quality assessment for a model that uses labels.
427
+ * If Lookout for Equipment determines that the
428
+ * model quality is poor based on training metrics, the value is
429
+ * <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is
430
+ * <code>QUALITY_THRESHOLD_MET</code>. </p>
431
+ * <p>If the model is unlabeled, the model quality can't
432
+ * be assessed and the value of <code>ModelQuality</code> is
433
+ * <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality
434
+ * assessment by adding labels to the input dataset and retraining the model.</p>
435
+ * <p>For information about using labels with your models, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html">Understanding labeling</a>.</p>
436
+ * <p>For information about improving the quality of a model, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
437
+ * Amazon Lookout for Equipment</a>.</p>
438
+ */
439
+ ModelQuality?: ModelQuality;
411
440
  }
412
441
  /**
413
442
  * @public
@@ -1903,6 +1932,21 @@ export interface DescribeModelResponse {
1903
1932
  * <p>Configuration information for the model's pointwise model diagnostics.</p>
1904
1933
  */
1905
1934
  ModelDiagnosticsOutputConfiguration?: ModelDiagnosticsOutputConfiguration;
1935
+ /**
1936
+ * @public
1937
+ * <p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
1938
+ * model quality is poor based on training metrics, the value is
1939
+ * <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is
1940
+ * <code>QUALITY_THRESHOLD_MET</code>.</p>
1941
+ * <p>If the model is unlabeled, the model quality can't
1942
+ * be assessed and the value of <code>ModelQuality</code> is
1943
+ * <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality
1944
+ * assessment by adding labels to the input dataset and retraining the model.</p>
1945
+ * <p>For information about using labels with your models, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html">Understanding labeling</a>.</p>
1946
+ * <p>For information about improving the quality of a model, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
1947
+ * Amazon Lookout for Equipment</a>.</p>
1948
+ */
1949
+ ModelQuality?: ModelQuality;
1906
1950
  }
1907
1951
  /**
1908
1952
  * @public
@@ -2141,6 +2185,21 @@ export interface DescribeModelVersionResponse {
2141
2185
  * <p>The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.</p>
2142
2186
  */
2143
2187
  ModelDiagnosticsResultsObject?: S3Object;
2188
+ /**
2189
+ * @public
2190
+ * <p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
2191
+ * model quality is poor based on training metrics, the value is
2192
+ * <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is
2193
+ * <code>QUALITY_THRESHOLD_MET</code>.</p>
2194
+ * <p>If the model is unlabeled, the model quality can't
2195
+ * be assessed and the value of <code>ModelQuality</code> is
2196
+ * <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality
2197
+ * assessment by adding labels to the input dataset and retraining the model.</p>
2198
+ * <p>For information about using labels with your models, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html">Understanding labeling</a>.</p>
2199
+ * <p>For information about improving the quality of a model, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
2200
+ * Amazon Lookout for Equipment</a>.</p>
2201
+ */
2202
+ ModelQuality?: ModelQuality;
2144
2203
  }
2145
2204
  /**
2146
2205
  * @public
@@ -3206,6 +3265,21 @@ export interface ModelSummary {
3206
3265
  * <p>Output configuration information for the pointwise model diagnostics for an Amazon Lookout for Equipment model.</p>
3207
3266
  */
3208
3267
  ModelDiagnosticsOutputConfiguration?: ModelDiagnosticsOutputConfiguration;
3268
+ /**
3269
+ * @public
3270
+ * <p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
3271
+ * model quality is poor based on training metrics, the value is
3272
+ * <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is
3273
+ * <code>QUALITY_THRESHOLD_MET</code>.</p>
3274
+ * <p>If the model is unlabeled, the model quality can't
3275
+ * be assessed and the value of <code>ModelQuality</code> is
3276
+ * <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality
3277
+ * assessment by adding labels to the input dataset and retraining the model.</p>
3278
+ * <p>For information about using labels with your models, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html">Understanding labeling</a>.</p>
3279
+ * <p>For information about improving the quality of a model, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
3280
+ * Amazon Lookout for Equipment</a>.</p>
3281
+ */
3282
+ ModelQuality?: ModelQuality;
3209
3283
  }
3210
3284
  /**
3211
3285
  * @public
@@ -3319,6 +3393,20 @@ export interface ModelVersionSummary {
3319
3393
  * <p>Indicates how this model version was generated.</p>
3320
3394
  */
3321
3395
  SourceType?: ModelVersionSourceType;
3396
+ /**
3397
+ * @public
3398
+ * <p>Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
3399
+ * model quality is poor based on training metrics, the value is
3400
+ * <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value is
3401
+ * <code>QUALITY_THRESHOLD_MET</code>. </p>
3402
+ * <p>If the model is unlabeled, the model quality can't
3403
+ * be assessed and the value of <code>ModelQuality</code> is
3404
+ * <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality
3405
+ * assessment by adding labels to the input dataset and retraining the model.</p>
3406
+ * <p>For information about improving the quality of a model, see <a href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
3407
+ * Amazon Lookout for Equipment</a>.</p>
3408
+ */
3409
+ ModelQuality?: ModelQuality;
3322
3410
  }
3323
3411
  /**
3324
3412
  * @public
@@ -126,6 +126,12 @@ export interface CreateInferenceSchedulerRequest {
126
126
  ClientToken?: string;
127
127
  Tags?: Tag[];
128
128
  }
129
+ export declare const ModelQuality: {
130
+ readonly CANNOT_DETERMINE_QUALITY: "CANNOT_DETERMINE_QUALITY";
131
+ readonly POOR_QUALITY_DETECTED: "POOR_QUALITY_DETECTED";
132
+ readonly QUALITY_THRESHOLD_MET: "QUALITY_THRESHOLD_MET";
133
+ };
134
+ export type ModelQuality = (typeof ModelQuality)[keyof typeof ModelQuality];
129
135
  export declare const InferenceSchedulerStatus: {
130
136
  readonly PENDING: "PENDING";
131
137
  readonly RUNNING: "RUNNING";
@@ -138,6 +144,7 @@ export interface CreateInferenceSchedulerResponse {
138
144
  InferenceSchedulerArn?: string;
139
145
  InferenceSchedulerName?: string;
140
146
  Status?: InferenceSchedulerStatus;
147
+ ModelQuality?: ModelQuality;
141
148
  }
142
149
  export declare class ResourceNotFoundException extends __BaseException {
143
150
  readonly name: "ResourceNotFoundException";
@@ -486,6 +493,7 @@ export interface DescribeModelResponse {
486
493
  AccumulatedInferenceDataEndTime?: Date;
487
494
  RetrainingSchedulerStatus?: RetrainingSchedulerStatus;
488
495
  ModelDiagnosticsOutputConfiguration?: ModelDiagnosticsOutputConfiguration;
496
+ ModelQuality?: ModelQuality;
489
497
  }
490
498
  export interface DescribeModelVersionRequest {
491
499
  ModelName: string | undefined;
@@ -533,6 +541,7 @@ export interface DescribeModelVersionResponse {
533
541
  AutoPromotionResultReason?: string;
534
542
  ModelDiagnosticsOutputConfiguration?: ModelDiagnosticsOutputConfiguration;
535
543
  ModelDiagnosticsResultsObject?: S3Object;
544
+ ModelQuality?: ModelQuality;
536
545
  }
537
546
  export interface DescribeResourcePolicyRequest {
538
547
  ResourceArn: string | undefined;
@@ -763,6 +772,7 @@ export interface ModelSummary {
763
772
  NextScheduledRetrainingStartDate?: Date;
764
773
  RetrainingSchedulerStatus?: RetrainingSchedulerStatus;
765
774
  ModelDiagnosticsOutputConfiguration?: ModelDiagnosticsOutputConfiguration;
775
+ ModelQuality?: ModelQuality;
766
776
  }
767
777
  export interface ListModelsResponse {
768
778
  NextToken?: string;
@@ -787,6 +797,7 @@ export interface ModelVersionSummary {
787
797
  CreatedAt?: Date;
788
798
  Status?: ModelVersionStatus;
789
799
  SourceType?: ModelVersionSourceType;
800
+ ModelQuality?: ModelQuality;
790
801
  }
791
802
  export interface ListModelVersionsResponse {
792
803
  NextToken?: string;
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.515.0",
4
+ "version": "3.519.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lookoutequipment",