@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,113 @@
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 { ListModelVersionsRequest, ListModelVersionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListModelVersionsCommand}.
14
+ */
15
+ export interface ListModelVersionsCommandInput extends ListModelVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListModelVersionsCommand}.
21
+ */
22
+ export interface ListModelVersionsCommandOutput extends ListModelVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Generates a list of all model versions for a given model,
27
+ * including the model version, model version ARN, and status. To list a
28
+ * subset of versions, use the <code>MaxModelVersion</code> and <code>MinModelVersion</code> fields.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { LookoutEquipmentClient, ListModelVersionsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
33
+ * // const { LookoutEquipmentClient, ListModelVersionsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
34
+ * const client = new LookoutEquipmentClient(config);
35
+ * const input = { // ListModelVersionsRequest
36
+ * ModelName: "STRING_VALUE", // required
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS" || "CANCELED",
40
+ * SourceType: "TRAINING" || "RETRAINING" || "IMPORT",
41
+ * CreatedAtEndTime: new Date("TIMESTAMP"),
42
+ * CreatedAtStartTime: new Date("TIMESTAMP"),
43
+ * MaxModelVersion: Number("long"),
44
+ * MinModelVersion: Number("long"),
45
+ * };
46
+ * const command = new ListModelVersionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListModelVersionsResponse
49
+ * // NextToken: "STRING_VALUE",
50
+ * // ModelVersionSummaries: [ // ModelVersionSummaries
51
+ * // { // ModelVersionSummary
52
+ * // ModelName: "STRING_VALUE",
53
+ * // ModelArn: "STRING_VALUE",
54
+ * // ModelVersion: Number("long"),
55
+ * // ModelVersionArn: "STRING_VALUE",
56
+ * // CreatedAt: new Date("TIMESTAMP"),
57
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS" || "CANCELED",
58
+ * // SourceType: "TRAINING" || "RETRAINING" || "IMPORT",
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListModelVersionsCommandInput - {@link ListModelVersionsCommandInput}
66
+ * @returns {@link ListModelVersionsCommandOutput}
67
+ * @see {@link ListModelVersionsCommandInput} for command's `input` shape.
68
+ * @see {@link ListModelVersionsCommandOutput} for command's `response` shape.
69
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The request could not be completed because you do not have access to the resource.
73
+ * </p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
77
+ * </p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
81
+ * request. </p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was denied due to request throttling.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
88
+ * related Amazon Web Services service that's being utilized. </p>
89
+ *
90
+ * @throws {@link LookoutEquipmentServiceException}
91
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
92
+ *
93
+ */
94
+ export declare class ListModelVersionsCommand extends $Command<ListModelVersionsCommandInput, ListModelVersionsCommandOutput, LookoutEquipmentClientResolvedConfig> {
95
+ readonly input: ListModelVersionsCommandInput;
96
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
+ /**
98
+ * @public
99
+ */
100
+ constructor(input: ListModelVersionsCommandInput);
101
+ /**
102
+ * @internal
103
+ */
104
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListModelVersionsCommandInput, ListModelVersionsCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
108
+ private serialize;
109
+ /**
110
+ * @internal
111
+ */
112
+ private deserialize;
113
+ }
@@ -34,7 +34,7 @@ export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataB
34
34
  * const input = { // ListModelsRequest
35
35
  * NextToken: "STRING_VALUE",
36
36
  * MaxResults: Number("int"),
37
- * Status: "IN_PROGRESS" || "SUCCESS" || "FAILED",
37
+ * Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS",
38
38
  * ModelNameBeginsWith: "STRING_VALUE",
39
39
  * DatasetNameBeginsWith: "STRING_VALUE",
40
40
  * };
@@ -48,8 +48,10 @@ export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataB
48
48
  * // ModelArn: "STRING_VALUE",
49
49
  * // DatasetName: "STRING_VALUE",
50
50
  * // DatasetArn: "STRING_VALUE",
51
- * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED",
51
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS",
52
52
  * // CreatedAt: new Date("TIMESTAMP"),
53
+ * // ActiveModelVersion: Number("long"),
54
+ * // ActiveModelVersionArn: "STRING_VALUE",
53
55
  * // },
54
56
  * // ],
55
57
  * // };
@@ -75,7 +77,7 @@ export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataB
75
77
  *
76
78
  * @throws {@link ValidationException} (client fault)
77
79
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
78
- * related AWS service that's being utilized. </p>
80
+ * related Amazon Web Services service that's being utilized. </p>
79
81
  *
80
82
  * @throws {@link LookoutEquipmentServiceException}
81
83
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -110,7 +110,7 @@ export interface ListSensorStatisticsCommandOutput extends ListSensorStatisticsR
110
110
  *
111
111
  * @throws {@link ValidationException} (client fault)
112
112
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
113
- * related AWS service that's being utilized. </p>
113
+ * related Amazon Web Services service that's being utilized. </p>
114
114
  *
115
115
  * @throws {@link LookoutEquipmentServiceException}
116
116
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -69,7 +69,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
71
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
72
- * related AWS service that's being utilized. </p>
72
+ * related Amazon Web Services service that's being utilized. </p>
73
73
  *
74
74
  * @throws {@link LookoutEquipmentServiceException}
75
75
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -0,0 +1,103 @@
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 { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutResourcePolicyCommand}.
14
+ */
15
+ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutResourcePolicyCommand}.
21
+ */
22
+ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a resource control policy for a given 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, PutResourcePolicyCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, PutResourcePolicyCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // PutResourcePolicyRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * ResourcePolicy: "STRING_VALUE", // required
36
+ * PolicyRevisionId: "STRING_VALUE",
37
+ * ClientToken: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new PutResourcePolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // PutResourcePolicyResponse
42
+ * // ResourceArn: "STRING_VALUE",
43
+ * // PolicyRevisionId: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
49
+ * @returns {@link PutResourcePolicyCommandOutput}
50
+ * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
51
+ * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
52
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The request could not be completed because you do not have access to the resource.
56
+ * </p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p> The request could not be completed due to a conflict with the current state of the
60
+ * target resource. </p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
64
+ * </p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
68
+ * request. </p>
69
+ *
70
+ * @throws {@link ServiceQuotaExceededException} (client fault)
71
+ * <p> Resource limitations have been exceeded. </p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to request throttling.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
78
+ * related Amazon Web Services service that's being utilized. </p>
79
+ *
80
+ * @throws {@link LookoutEquipmentServiceException}
81
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
82
+ *
83
+ */
84
+ export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, LookoutEquipmentClientResolvedConfig> {
85
+ readonly input: PutResourcePolicyCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: PutResourcePolicyCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -47,7 +47,7 @@ export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJo
47
47
  * const response = await client.send(command);
48
48
  * // { // StartDataIngestionJobResponse
49
49
  * // JobId: "STRING_VALUE",
50
- * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED",
50
+ * // Status: "IN_PROGRESS" || "SUCCESS" || "FAILED" || "IMPORT_IN_PROGRESS",
51
51
  * // };
52
52
  *
53
53
  * ```
@@ -82,7 +82,7 @@ export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJo
82
82
  *
83
83
  * @throws {@link ValidationException} (client fault)
84
84
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
85
- * related AWS service that's being utilized. </p>
85
+ * related Amazon Web Services service that's being utilized. </p>
86
86
  *
87
87
  * @throws {@link LookoutEquipmentServiceException}
88
88
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -72,7 +72,7 @@ export interface StartInferenceSchedulerCommandOutput extends StartInferenceSche
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>
@@ -72,7 +72,7 @@ export interface StopInferenceSchedulerCommandOutput extends StopInferenceSchedu
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>
@@ -75,7 +75,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
75
75
  *
76
76
  * @throws {@link ValidationException} (client fault)
77
77
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
78
- * related AWS service that's being utilized. </p>
78
+ * related Amazon Web Services service that's being utilized. </p>
79
79
  *
80
80
  * @throws {@link LookoutEquipmentServiceException}
81
81
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -65,7 +65,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
65
65
  *
66
66
  * @throws {@link ValidationException} (client fault)
67
67
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
68
- * related AWS service that's being utilized. </p>
68
+ * related Amazon Web Services service that's being utilized. </p>
69
69
  *
70
70
  * @throws {@link LookoutEquipmentServiceException}
71
71
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -0,0 +1,102 @@
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 { UpdateActiveModelVersionRequest, UpdateActiveModelVersionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateActiveModelVersionCommand}.
14
+ */
15
+ export interface UpdateActiveModelVersionCommandInput extends UpdateActiveModelVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateActiveModelVersionCommand}.
21
+ */
22
+ export interface UpdateActiveModelVersionCommandOutput extends UpdateActiveModelVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Sets the active model version for a given machine learning model.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, UpdateActiveModelVersionCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, UpdateActiveModelVersionCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // UpdateActiveModelVersionRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * ModelVersion: Number("long"), // required
36
+ * };
37
+ * const command = new UpdateActiveModelVersionCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // UpdateActiveModelVersionResponse
40
+ * // ModelName: "STRING_VALUE",
41
+ * // ModelArn: "STRING_VALUE",
42
+ * // CurrentActiveVersion: Number("long"),
43
+ * // PreviousActiveVersion: Number("long"),
44
+ * // CurrentActiveVersionArn: "STRING_VALUE",
45
+ * // PreviousActiveVersionArn: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateActiveModelVersionCommandInput - {@link UpdateActiveModelVersionCommandInput}
51
+ * @returns {@link UpdateActiveModelVersionCommandOutput}
52
+ * @see {@link UpdateActiveModelVersionCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateActiveModelVersionCommandOutput} for command's `response` shape.
54
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>The request could not be completed because you do not have access to the resource.
58
+ * </p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p> The request could not be completed due to a conflict with the current state of the
62
+ * target resource. </p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
66
+ * </p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
70
+ * request. </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
77
+ * related Amazon Web Services service that's being utilized. </p>
78
+ *
79
+ * @throws {@link LookoutEquipmentServiceException}
80
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
81
+ *
82
+ */
83
+ export declare class UpdateActiveModelVersionCommand extends $Command<UpdateActiveModelVersionCommandInput, UpdateActiveModelVersionCommandOutput, LookoutEquipmentClientResolvedConfig> {
84
+ readonly input: UpdateActiveModelVersionCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: UpdateActiveModelVersionCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateActiveModelVersionCommandInput, UpdateActiveModelVersionCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -87,7 +87,7 @@ export interface UpdateInferenceSchedulerCommandOutput extends __MetadataBearer
87
87
  *
88
88
  * @throws {@link ValidationException} (client fault)
89
89
  * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
90
- * related AWS service that's being utilized. </p>
90
+ * related Amazon Web Services service that's being utilized. </p>
91
91
  *
92
92
  * @throws {@link LookoutEquipmentServiceException}
93
93
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -24,8 +24,8 @@ export interface UpdateLabelGroupCommandOutput extends __MetadataBearer {
24
24
  /**
25
25
  * @public
26
26
  * <p>
27
- * Updates the label group.
28
- * </p>
27
+ * Updates the label group.
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
@@ -71,7 +71,7 @@ export interface UpdateLabelGroupCommandOutput extends __MetadataBearer {
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>
@@ -8,12 +8,17 @@ export * from "./DeleteInferenceSchedulerCommand";
8
8
  export * from "./DeleteLabelCommand";
9
9
  export * from "./DeleteLabelGroupCommand";
10
10
  export * from "./DeleteModelCommand";
11
+ export * from "./DeleteResourcePolicyCommand";
11
12
  export * from "./DescribeDataIngestionJobCommand";
12
13
  export * from "./DescribeDatasetCommand";
13
14
  export * from "./DescribeInferenceSchedulerCommand";
14
15
  export * from "./DescribeLabelCommand";
15
16
  export * from "./DescribeLabelGroupCommand";
16
17
  export * from "./DescribeModelCommand";
18
+ export * from "./DescribeModelVersionCommand";
19
+ export * from "./DescribeResourcePolicyCommand";
20
+ export * from "./ImportDatasetCommand";
21
+ export * from "./ImportModelVersionCommand";
17
22
  export * from "./ListDataIngestionJobsCommand";
18
23
  export * from "./ListDatasetsCommand";
19
24
  export * from "./ListInferenceEventsCommand";
@@ -21,13 +26,16 @@ export * from "./ListInferenceExecutionsCommand";
21
26
  export * from "./ListInferenceSchedulersCommand";
22
27
  export * from "./ListLabelGroupsCommand";
23
28
  export * from "./ListLabelsCommand";
29
+ export * from "./ListModelVersionsCommand";
24
30
  export * from "./ListModelsCommand";
25
31
  export * from "./ListSensorStatisticsCommand";
26
32
  export * from "./ListTagsForResourceCommand";
33
+ export * from "./PutResourcePolicyCommand";
27
34
  export * from "./StartDataIngestionJobCommand";
28
35
  export * from "./StartInferenceSchedulerCommand";
29
36
  export * from "./StopInferenceSchedulerCommand";
30
37
  export * from "./TagResourceCommand";
31
38
  export * from "./UntagResourceCommand";
39
+ export * from "./UpdateActiveModelVersionCommand";
32
40
  export * from "./UpdateInferenceSchedulerCommand";
33
41
  export * from "./UpdateLabelGroupCommand";
@@ -15,7 +15,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
15
15
  defaultSigningName: string;
16
16
  };
17
17
  export interface EndpointParameters extends __EndpointParameters {
18
- Region: string;
18
+ Region?: string;
19
19
  UseDualStack?: boolean;
20
20
  UseFIPS?: boolean;
21
21
  Endpoint?: string;