@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,128 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
5
+ import { DescribeModelVersionRequest, DescribeModelVersionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeModelVersionCommand}.
14
+ */
15
+ export interface DescribeModelVersionCommandInput extends DescribeModelVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeModelVersionCommand}.
21
+ */
22
+ export interface DescribeModelVersionCommandOutput extends DescribeModelVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves information about a specific machine learning model version.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, DescribeModelVersionCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, DescribeModelVersionCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // DescribeModelVersionRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * ModelVersion: Number("long"), // required
36
+ * };
37
+ * const command = new DescribeModelVersionCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DescribeModelVersionResponse
40
+ * // ModelName: "STRING_VALUE",
41
+ * // ModelArn: "STRING_VALUE",
42
+ * // ModelVersion: Number("long"),
43
+ * // ModelVersionArn: "STRING_VALUE",
44
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS" || "CANCELED",
45
+ * // SourceType: "TRAINING" || "RETRAINING" || "IMPORT",
46
+ * // DatasetName: "STRING_VALUE",
47
+ * // DatasetArn: "STRING_VALUE",
48
+ * // Schema: "STRING_VALUE",
49
+ * // LabelsInputConfiguration: { // LabelsInputConfiguration
50
+ * // S3InputConfiguration: { // LabelsS3InputConfiguration
51
+ * // Bucket: "STRING_VALUE", // required
52
+ * // Prefix: "STRING_VALUE",
53
+ * // },
54
+ * // LabelGroupName: "STRING_VALUE",
55
+ * // },
56
+ * // TrainingDataStartTime: new Date("TIMESTAMP"),
57
+ * // TrainingDataEndTime: new Date("TIMESTAMP"),
58
+ * // EvaluationDataStartTime: new Date("TIMESTAMP"),
59
+ * // EvaluationDataEndTime: new Date("TIMESTAMP"),
60
+ * // RoleArn: "STRING_VALUE",
61
+ * // DataPreProcessingConfiguration: { // DataPreProcessingConfiguration
62
+ * // TargetSamplingRate: "PT1S" || "PT5S" || "PT10S" || "PT15S" || "PT30S" || "PT1M" || "PT5M" || "PT10M" || "PT15M" || "PT30M" || "PT1H",
63
+ * // },
64
+ * // TrainingExecutionStartTime: new Date("TIMESTAMP"),
65
+ * // TrainingExecutionEndTime: new Date("TIMESTAMP"),
66
+ * // FailedReason: "STRING_VALUE",
67
+ * // ModelMetrics: "STRING_VALUE",
68
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
69
+ * // CreatedAt: new Date("TIMESTAMP"),
70
+ * // ServerSideKmsKeyId: "STRING_VALUE",
71
+ * // OffCondition: "STRING_VALUE",
72
+ * // SourceModelVersionArn: "STRING_VALUE",
73
+ * // ImportJobStartTime: new Date("TIMESTAMP"),
74
+ * // ImportJobEndTime: new Date("TIMESTAMP"),
75
+ * // ImportedDataSizeInBytes: Number("long"),
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param DescribeModelVersionCommandInput - {@link DescribeModelVersionCommandInput}
81
+ * @returns {@link DescribeModelVersionCommandOutput}
82
+ * @see {@link DescribeModelVersionCommandInput} for command's `input` shape.
83
+ * @see {@link DescribeModelVersionCommandOutput} for command's `response` shape.
84
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>The request could not be completed because you do not have access to the resource.
88
+ * </p>
89
+ *
90
+ * @throws {@link InternalServerException} (server fault)
91
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
92
+ * </p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
96
+ * request. </p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The request was denied due to request throttling.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
103
+ * related Amazon Web Services service that's being utilized. </p>
104
+ *
105
+ * @throws {@link LookoutEquipmentServiceException}
106
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
107
+ *
108
+ */
109
+ export declare class DescribeModelVersionCommand extends $Command<DescribeModelVersionCommandInput, DescribeModelVersionCommandOutput, LookoutEquipmentClientResolvedConfig> {
110
+ readonly input: DescribeModelVersionCommandInput;
111
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
112
+ /**
113
+ * @public
114
+ */
115
+ constructor(input: DescribeModelVersionCommandInput);
116
+ /**
117
+ * @internal
118
+ */
119
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeModelVersionCommandInput, DescribeModelVersionCommandOutput>;
120
+ /**
121
+ * @internal
122
+ */
123
+ private serialize;
124
+ /**
125
+ * @internal
126
+ */
127
+ private deserialize;
128
+ }
@@ -0,0 +1,95 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
5
+ import { DescribeResourcePolicyRequest, DescribeResourcePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeResourcePolicyCommand}.
14
+ */
15
+ export interface DescribeResourcePolicyCommandInput extends DescribeResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeResourcePolicyCommand}.
21
+ */
22
+ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides the details of a resource policy attached to a resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // DescribeResourcePolicyRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DescribeResourcePolicyCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DescribeResourcePolicyResponse
39
+ * // PolicyRevisionId: "STRING_VALUE",
40
+ * // ResourcePolicy: "STRING_VALUE",
41
+ * // CreationTime: new Date("TIMESTAMP"),
42
+ * // LastModifiedTime: new Date("TIMESTAMP"),
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DescribeResourcePolicyCommandInput - {@link DescribeResourcePolicyCommandInput}
48
+ * @returns {@link DescribeResourcePolicyCommandOutput}
49
+ * @see {@link DescribeResourcePolicyCommandInput} for command's `input` shape.
50
+ * @see {@link DescribeResourcePolicyCommandOutput} for command's `response` shape.
51
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>The request could not be completed because you do not have access to the resource.
55
+ * </p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
59
+ * </p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
63
+ * request. </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
70
+ * related Amazon Web Services service that's being utilized. </p>
71
+ *
72
+ * @throws {@link LookoutEquipmentServiceException}
73
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
74
+ *
75
+ */
76
+ export declare class DescribeResourcePolicyCommand extends $Command<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, LookoutEquipmentClientResolvedConfig> {
77
+ readonly input: DescribeResourcePolicyCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: DescribeResourcePolicyCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
5
+ import { ImportDatasetRequest, ImportDatasetResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ImportDatasetCommand}.
14
+ */
15
+ export interface ImportDatasetCommandInput extends ImportDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ImportDatasetCommand}.
21
+ */
22
+ export interface ImportDatasetCommandOutput extends ImportDatasetResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Imports a dataset.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, ImportDatasetCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, ImportDatasetCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // ImportDatasetRequest
34
+ * SourceDatasetArn: "STRING_VALUE", // required
35
+ * DatasetName: "STRING_VALUE",
36
+ * ClientToken: "STRING_VALUE", // required
37
+ * ServerSideKmsKeyId: "STRING_VALUE",
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
+ * Key: "STRING_VALUE", // required
41
+ * Value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new ImportDatasetCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ImportDatasetResponse
48
+ * // DatasetName: "STRING_VALUE",
49
+ * // DatasetArn: "STRING_VALUE",
50
+ * // Status: "CREATED" || "INGESTION_IN_PROGRESS" || "ACTIVE" || "IMPORT_IN_PROGRESS",
51
+ * // JobId: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ImportDatasetCommandInput - {@link ImportDatasetCommandInput}
57
+ * @returns {@link ImportDatasetCommandOutput}
58
+ * @see {@link ImportDatasetCommandInput} for command's `input` shape.
59
+ * @see {@link ImportDatasetCommandOutput} for command's `response` shape.
60
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>The request could not be completed because you do not have access to the resource.
64
+ * </p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p> The request could not be completed due to a conflict with the current state of the
68
+ * target resource. </p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
72
+ * </p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
76
+ * request. </p>
77
+ *
78
+ * @throws {@link ServiceQuotaExceededException} (client fault)
79
+ * <p> Resource limitations have been exceeded. </p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>The request was denied due to request throttling.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
86
+ * related Amazon Web Services service that's being utilized. </p>
87
+ *
88
+ * @throws {@link LookoutEquipmentServiceException}
89
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
90
+ *
91
+ */
92
+ export declare class ImportDatasetCommand extends $Command<ImportDatasetCommandInput, ImportDatasetCommandOutput, LookoutEquipmentClientResolvedConfig> {
93
+ readonly input: ImportDatasetCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: ImportDatasetCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportDatasetCommandInput, ImportDatasetCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -0,0 +1,121 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
5
+ import { ImportModelVersionRequest, ImportModelVersionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ImportModelVersionCommand}.
14
+ */
15
+ export interface ImportModelVersionCommandInput extends ImportModelVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ImportModelVersionCommand}.
21
+ */
22
+ export interface ImportModelVersionCommandOutput extends ImportModelVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Imports a model that has been trained successfully.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, ImportModelVersionCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, ImportModelVersionCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // ImportModelVersionRequest
34
+ * SourceModelVersionArn: "STRING_VALUE", // required
35
+ * ModelName: "STRING_VALUE",
36
+ * DatasetName: "STRING_VALUE", // required
37
+ * LabelsInputConfiguration: { // LabelsInputConfiguration
38
+ * S3InputConfiguration: { // LabelsS3InputConfiguration
39
+ * Bucket: "STRING_VALUE", // required
40
+ * Prefix: "STRING_VALUE",
41
+ * },
42
+ * LabelGroupName: "STRING_VALUE",
43
+ * },
44
+ * ClientToken: "STRING_VALUE", // required
45
+ * RoleArn: "STRING_VALUE",
46
+ * ServerSideKmsKeyId: "STRING_VALUE",
47
+ * Tags: [ // TagList
48
+ * { // Tag
49
+ * Key: "STRING_VALUE", // required
50
+ * Value: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * };
54
+ * const command = new ImportModelVersionCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ImportModelVersionResponse
57
+ * // ModelName: "STRING_VALUE",
58
+ * // ModelArn: "STRING_VALUE",
59
+ * // ModelVersionArn: "STRING_VALUE",
60
+ * // ModelVersion: Number("long"),
61
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS" || "CANCELED",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ImportModelVersionCommandInput - {@link ImportModelVersionCommandInput}
67
+ * @returns {@link ImportModelVersionCommandOutput}
68
+ * @see {@link ImportModelVersionCommandInput} for command's `input` shape.
69
+ * @see {@link ImportModelVersionCommandOutput} for command's `response` shape.
70
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>The request could not be completed because you do not have access to the resource.
74
+ * </p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p> The request could not be completed due to a conflict with the current state of the
78
+ * target resource. </p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
82
+ * </p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
86
+ * request. </p>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p> Resource limitations have been exceeded. </p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was denied due to request throttling.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
96
+ * related Amazon Web Services service that's being utilized. </p>
97
+ *
98
+ * @throws {@link LookoutEquipmentServiceException}
99
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
100
+ *
101
+ */
102
+ export declare class ImportModelVersionCommand extends $Command<ImportModelVersionCommandInput, ImportModelVersionCommandOutput, LookoutEquipmentClientResolvedConfig> {
103
+ readonly input: ImportModelVersionCommandInput;
104
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
+ /**
106
+ * @public
107
+ */
108
+ constructor(input: ImportModelVersionCommandInput);
109
+ /**
110
+ * @internal
111
+ */
112
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportModelVersionCommandInput, ImportModelVersionCommandOutput>;
113
+ /**
114
+ * @internal
115
+ */
116
+ private serialize;
117
+ /**
118
+ * @internal
119
+ */
120
+ private deserialize;
121
+ }
@@ -35,7 +35,7 @@ export interface ListDataIngestionJobsCommandOutput extends ListDataIngestionJob
35
35
  * DatasetName: "STRING_VALUE",
36
36
  * NextToken: "STRING_VALUE",
37
37
  * MaxResults: Number("int"),
38
- * Status: "IN_PROGRESS" || "SUCCESS" || "FAILED",
38
+ * Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS",
39
39
  * };
40
40
  * const command = new ListDataIngestionJobsCommand(input);
41
41
  * const response = await client.send(command);
@@ -53,7 +53,7 @@ export interface ListDataIngestionJobsCommandOutput extends ListDataIngestionJob
53
53
  * // KeyPattern: "STRING_VALUE",
54
54
  * // },
55
55
  * // },
56
- * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED",
56
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS",
57
57
  * // },
58
58
  * // ],
59
59
  * // };
@@ -79,7 +79,7 @@ export interface ListDataIngestionJobsCommandOutput extends ListDataIngestionJob
79
79
  *
80
80
  * @throws {@link ValidationException} (client fault)
81
81
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
82
- * related AWS service that's being utilized. </p>
82
+ * related Amazon Web Services service that's being utilized. </p>
83
83
  *
84
84
  * @throws {@link LookoutEquipmentServiceException}
85
85
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -44,7 +44,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
44
44
  * // { // DatasetSummary
45
45
  * // DatasetName: "STRING_VALUE",
46
46
  * // DatasetArn: "STRING_VALUE",
47
- * // Status: "CREATED" || "INGESTION_IN_PROGRESS" || "ACTIVE",
47
+ * // Status: "CREATED" || "INGESTION_IN_PROGRESS" || "ACTIVE" || "IMPORT_IN_PROGRESS",
48
48
  * // CreatedAt: new Date("TIMESTAMP"),
49
49
  * // },
50
50
  * // ],
@@ -71,7 +71,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
71
71
  *
72
72
  * @throws {@link ValidationException} (client fault)
73
73
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
74
- * related AWS service that's being utilized. </p>
74
+ * related Amazon Web Services service that's being utilized. </p>
75
75
  *
76
76
  * @throws {@link LookoutEquipmentServiceException}
77
77
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -79,7 +79,7 @@ export interface ListInferenceEventsCommandOutput extends ListInferenceEventsRes
79
79
  *
80
80
  * @throws {@link ValidationException} (client fault)
81
81
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
82
- * related AWS service that's being utilized. </p>
82
+ * related Amazon Web Services service that's being utilized. </p>
83
83
  *
84
84
  * @throws {@link LookoutEquipmentServiceException}
85
85
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -105,7 +105,7 @@ export interface ListInferenceExecutionsCommandOutput extends ListInferenceExecu
105
105
  *
106
106
  * @throws {@link ValidationException} (client fault)
107
107
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
108
- * related AWS service that's being utilized. </p>
108
+ * related Amazon Web Services service that's being utilized. </p>
109
109
  *
110
110
  * @throws {@link LookoutEquipmentServiceException}
111
111
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -77,7 +77,7 @@ export interface ListInferenceSchedulersCommandOutput extends ListInferenceSched
77
77
  *
78
78
  * @throws {@link ValidationException} (client fault)
79
79
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
80
- * related AWS service that's being utilized. </p>
80
+ * related Amazon Web Services service that's being utilized. </p>
81
81
  *
82
82
  * @throws {@link LookoutEquipmentServiceException}
83
83
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -24,8 +24,8 @@ export interface ListLabelGroupsCommandOutput extends ListLabelGroupsResponse, _
24
24
  /**
25
25
  * @public
26
26
  * <p>
27
- * Returns a list of the label groups.
28
- * </p>
27
+ * Returns a list of the label groups.
28
+ * </p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -72,7 +72,7 @@ export interface ListLabelGroupsCommandOutput extends ListLabelGroupsResponse, _
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
74
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
75
- * related AWS service that's being utilized. </p>
75
+ * related Amazon Web Services service that's being utilized. </p>
76
76
  *
77
77
  * @throws {@link LookoutEquipmentServiceException}
78
78
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -24,8 +24,8 @@ export interface ListLabelsCommandOutput extends ListLabelsResponse, __MetadataB
24
24
  /**
25
25
  * @public
26
26
  * <p>
27
- * Provides a list of labels.
28
- * </p>
27
+ * Provides a list of labels.
28
+ * </p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -81,7 +81,7 @@ export interface ListLabelsCommandOutput extends ListLabelsResponse, __MetadataB
81
81
  *
82
82
  * @throws {@link ValidationException} (client fault)
83
83
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
84
- * related AWS service that's being utilized. </p>
84
+ * related Amazon Web Services service that's being utilized. </p>
85
85
  *
86
86
  * @throws {@link LookoutEquipmentServiceException}
87
87
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>