@aws-sdk/client-lookoutequipment 3.410.0 → 3.414.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 (105) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/LookoutEquipment.js +16 -0
  3. package/dist-cjs/commands/CreateRetrainingSchedulerCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteRetrainingSchedulerCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeRetrainingSchedulerCommand.js +46 -0
  6. package/dist-cjs/commands/ListRetrainingSchedulersCommand.js +46 -0
  7. package/dist-cjs/commands/StartRetrainingSchedulerCommand.js +46 -0
  8. package/dist-cjs/commands/StopRetrainingSchedulerCommand.js +46 -0
  9. package/dist-cjs/commands/UpdateModelCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateRetrainingSchedulerCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +28 -6
  13. package/dist-cjs/pagination/ListRetrainingSchedulersPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_0.js +502 -2
  16. package/dist-cjs/runtimeExtensions.js +3 -0
  17. package/dist-es/LookoutEquipment.js +16 -0
  18. package/dist-es/commands/CreateRetrainingSchedulerCommand.js +42 -0
  19. package/dist-es/commands/DeleteRetrainingSchedulerCommand.js +42 -0
  20. package/dist-es/commands/DescribeRetrainingSchedulerCommand.js +42 -0
  21. package/dist-es/commands/ListRetrainingSchedulersCommand.js +42 -0
  22. package/dist-es/commands/StartRetrainingSchedulerCommand.js +42 -0
  23. package/dist-es/commands/StopRetrainingSchedulerCommand.js +42 -0
  24. package/dist-es/commands/UpdateModelCommand.js +42 -0
  25. package/dist-es/commands/UpdateRetrainingSchedulerCommand.js +42 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +27 -5
  28. package/dist-es/pagination/ListRetrainingSchedulersPaginator.js +25 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/protocols/Aws_json1_0.js +484 -0
  31. package/dist-es/runtimeExtensions.js +3 -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 +2 -2
  35. package/dist-types/commands/CreateInferenceSchedulerCommand.d.ts +2 -2
  36. package/dist-types/commands/CreateLabelCommand.d.ts +3 -5
  37. package/dist-types/commands/CreateLabelGroupCommand.d.ts +3 -5
  38. package/dist-types/commands/CreateModelCommand.d.ts +7 -7
  39. package/dist-types/commands/CreateRetrainingSchedulerCommand.d.ts +147 -0
  40. package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -2
  41. package/dist-types/commands/DeleteInferenceSchedulerCommand.d.ts +4 -4
  42. package/dist-types/commands/DeleteLabelCommand.d.ts +3 -5
  43. package/dist-types/commands/DeleteLabelGroupCommand.d.ts +3 -5
  44. package/dist-types/commands/DeleteModelCommand.d.ts +4 -5
  45. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
  46. package/dist-types/commands/DeleteRetrainingSchedulerCommand.d.ts +106 -0
  47. package/dist-types/commands/DescribeDataIngestionJobCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -2
  49. package/dist-types/commands/DescribeInferenceSchedulerCommand.d.ts +2 -2
  50. package/dist-types/commands/DescribeLabelCommand.d.ts +3 -5
  51. package/dist-types/commands/DescribeLabelGroupCommand.d.ts +3 -5
  52. package/dist-types/commands/DescribeModelCommand.d.ts +15 -5
  53. package/dist-types/commands/DescribeModelVersionCommand.d.ts +6 -2
  54. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -2
  55. package/dist-types/commands/DescribeRetrainingSchedulerCommand.d.ts +125 -0
  56. package/dist-types/commands/ImportDatasetCommand.d.ts +2 -2
  57. package/dist-types/commands/ImportModelVersionCommand.d.ts +3 -2
  58. package/dist-types/commands/ListDataIngestionJobsCommand.d.ts +2 -2
  59. package/dist-types/commands/ListDatasetsCommand.d.ts +2 -2
  60. package/dist-types/commands/ListInferenceEventsCommand.d.ts +2 -2
  61. package/dist-types/commands/ListInferenceExecutionsCommand.d.ts +4 -2
  62. package/dist-types/commands/ListInferenceSchedulersCommand.d.ts +2 -2
  63. package/dist-types/commands/ListLabelGroupsCommand.d.ts +3 -5
  64. package/dist-types/commands/ListLabelsCommand.d.ts +3 -5
  65. package/dist-types/commands/ListModelVersionsCommand.d.ts +5 -5
  66. package/dist-types/commands/ListModelsCommand.d.ts +7 -2
  67. package/dist-types/commands/ListRetrainingSchedulersCommand.d.ts +143 -0
  68. package/dist-types/commands/ListSensorStatisticsCommand.d.ts +2 -2
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  70. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
  71. package/dist-types/commands/StartDataIngestionJobCommand.d.ts +3 -4
  72. package/dist-types/commands/StartInferenceSchedulerCommand.d.ts +2 -2
  73. package/dist-types/commands/StartRetrainingSchedulerCommand.d.ts +116 -0
  74. package/dist-types/commands/StopInferenceSchedulerCommand.d.ts +2 -2
  75. package/dist-types/commands/StopRetrainingSchedulerCommand.d.ts +116 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +6 -6
  77. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  78. package/dist-types/commands/UpdateActiveModelVersionCommand.d.ts +2 -2
  79. package/dist-types/commands/UpdateInferenceSchedulerCommand.d.ts +2 -2
  80. package/dist-types/commands/UpdateLabelGroupCommand.d.ts +3 -5
  81. package/dist-types/commands/UpdateModelCommand.d.ts +116 -0
  82. package/dist-types/commands/UpdateRetrainingSchedulerCommand.d.ts +111 -0
  83. package/dist-types/commands/index.d.ts +8 -0
  84. package/dist-types/extensionConfiguration.d.ts +2 -1
  85. package/dist-types/models/models_0.d.ts +895 -433
  86. package/dist-types/pagination/ListRetrainingSchedulersPaginator.d.ts +7 -0
  87. package/dist-types/pagination/index.d.ts +1 -0
  88. package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
  89. package/dist-types/ts3.4/LookoutEquipment.d.ts +136 -0
  90. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +50 -2
  91. package/dist-types/ts3.4/commands/CreateRetrainingSchedulerCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/DeleteRetrainingSchedulerCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/DescribeRetrainingSchedulerCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/ListRetrainingSchedulersCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/StartRetrainingSchedulerCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/StopRetrainingSchedulerCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +33 -0
  98. package/dist-types/ts3.4/commands/UpdateRetrainingSchedulerCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  100. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  101. package/dist-types/ts3.4/models/models_0.d.ts +137 -9
  102. package/dist-types/ts3.4/pagination/ListRetrainingSchedulersPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  104. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  105. package/package.json +29 -28
@@ -0,0 +1,143 @@
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 { ListRetrainingSchedulersRequest, ListRetrainingSchedulersResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRetrainingSchedulersCommand}.
14
+ */
15
+ export interface ListRetrainingSchedulersCommandInput extends ListRetrainingSchedulersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRetrainingSchedulersCommand}.
21
+ */
22
+ export interface ListRetrainingSchedulersCommandOutput extends ListRetrainingSchedulersResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists all retraining schedulers in your account, filtering by model name prefix and
27
+ * status. </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LookoutEquipmentClient, ListRetrainingSchedulersCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
32
+ * // const { LookoutEquipmentClient, ListRetrainingSchedulersCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
33
+ * const client = new LookoutEquipmentClient(config);
34
+ * const input = { // ListRetrainingSchedulersRequest
35
+ * ModelNameBeginsWith: "STRING_VALUE",
36
+ * Status: "PENDING" || "RUNNING" || "STOPPING" || "STOPPED",
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
40
+ * const command = new ListRetrainingSchedulersCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListRetrainingSchedulersResponse
43
+ * // RetrainingSchedulerSummaries: [ // RetrainingSchedulerSummaries
44
+ * // { // RetrainingSchedulerSummary
45
+ * // ModelName: "STRING_VALUE",
46
+ * // ModelArn: "STRING_VALUE",
47
+ * // Status: "PENDING" || "RUNNING" || "STOPPING" || "STOPPED",
48
+ * // RetrainingStartDate: new Date("TIMESTAMP"),
49
+ * // RetrainingFrequency: "STRING_VALUE",
50
+ * // LookbackWindow: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListRetrainingSchedulersCommandInput - {@link ListRetrainingSchedulersCommandInput}
59
+ * @returns {@link ListRetrainingSchedulersCommandOutput}
60
+ * @see {@link ListRetrainingSchedulersCommandInput} for command's `input` shape.
61
+ * @see {@link ListRetrainingSchedulersCommandOutput} for command's `response` shape.
62
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The request could not be completed because you do not have access to the resource.
66
+ * </p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
70
+ * </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 related Amazon Web Services
77
+ * 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
+ * @example Listing retraining schedulers
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * "MaxResults": 50
87
+ * };
88
+ * const command = new ListRetrainingSchedulersCommand(input);
89
+ * const response = await client.send(command);
90
+ * /* response ==
91
+ * {
92
+ * "RetrainingSchedulerSummaries": [
93
+ * {
94
+ * "LookbackWindow": "P180D",
95
+ * "ModelArn": "arn:aws:lookoutequipment:us-east-1:123456789012:model/sample-model-1/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
96
+ * "ModelName": "sample-model-1",
97
+ * "RetrainingFrequency": "P1M",
98
+ * "RetrainingStartDate": "2023-06-01T00:00:00Z",
99
+ * "Status": "RUNNING"
100
+ * },
101
+ * {
102
+ * "LookbackWindow": "P180D",
103
+ * "ModelArn": "arn:aws:lookoutequipment:us-east-1:123456789012:model/sample-model-2/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
104
+ * "ModelName": "sample-model-2",
105
+ * "RetrainingFrequency": "P30D",
106
+ * "RetrainingStartDate": "2023-08-15T00:00:00Z",
107
+ * "Status": "RUNNING"
108
+ * },
109
+ * {
110
+ * "LookbackWindow": "P360D",
111
+ * "ModelArn": "arn:aws:lookoutequipment:us-east-1:123456789012:model/sample-model-3/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
112
+ * "ModelName": "sample-model-3",
113
+ * "RetrainingFrequency": "P1M",
114
+ * "RetrainingStartDate": "2023-09-01T00:00:00Z",
115
+ * "Status": "STOPPED"
116
+ * }
117
+ * ]
118
+ * }
119
+ * *\/
120
+ * // example id: listing-retraining-schedulers-1694016740503
121
+ * ```
122
+ *
123
+ */
124
+ export declare class ListRetrainingSchedulersCommand extends $Command<ListRetrainingSchedulersCommandInput, ListRetrainingSchedulersCommandOutput, LookoutEquipmentClientResolvedConfig> {
125
+ readonly input: ListRetrainingSchedulersCommandInput;
126
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
+ /**
128
+ * @public
129
+ */
130
+ constructor(input: ListRetrainingSchedulersCommandInput);
131
+ /**
132
+ * @internal
133
+ */
134
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRetrainingSchedulersCommandInput, ListRetrainingSchedulersCommandOutput>;
135
+ /**
136
+ * @internal
137
+ */
138
+ private serialize;
139
+ /**
140
+ * @internal
141
+ */
142
+ private deserialize;
143
+ }
@@ -109,8 +109,8 @@ export interface ListSensorStatisticsCommandOutput extends ListSensorStatisticsR
109
109
  * <p>The request was denied due to request throttling.</p>
110
110
  *
111
111
  * @throws {@link ValidationException} (client fault)
112
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
113
- * related Amazon Web Services service that's being utilized. </p>
112
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
113
+ * 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>
@@ -68,8 +68,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
68
68
  * <p>The request was denied due to request throttling.</p>
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
72
- * related Amazon Web Services service that's being utilized. </p>
71
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
72
+ * 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>
@@ -74,8 +74,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
74
74
  * <p>The request was denied due to request throttling.</p>
75
75
  *
76
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>
77
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
78
+ * 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>
@@ -23,8 +23,7 @@ export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJo
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
27
- * </p>
26
+ * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. </p>
28
27
  * @example
29
28
  * Use a bare-bones client and the command you need to make an API call.
30
29
  * ```javascript
@@ -81,8 +80,8 @@ export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJo
81
80
  * <p>The request was denied due to request throttling.</p>
82
81
  *
83
82
  * @throws {@link ValidationException} (client fault)
84
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
85
- * related Amazon Web Services service that's being utilized. </p>
83
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
84
+ * service that's being utilized. </p>
86
85
  *
87
86
  * @throws {@link LookoutEquipmentServiceException}
88
87
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -71,8 +71,8 @@ export interface StartInferenceSchedulerCommandOutput extends StartInferenceSche
71
71
  * <p>The request was denied due to request throttling.</p>
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
75
- * related Amazon Web Services service that's being utilized. </p>
74
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
75
+ * 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>
@@ -0,0 +1,116 @@
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 { StartRetrainingSchedulerRequest, StartRetrainingSchedulerResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartRetrainingSchedulerCommand}.
14
+ */
15
+ export interface StartRetrainingSchedulerCommandInput extends StartRetrainingSchedulerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartRetrainingSchedulerCommand}.
21
+ */
22
+ export interface StartRetrainingSchedulerCommandOutput extends StartRetrainingSchedulerResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Starts a retraining scheduler. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, StartRetrainingSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, StartRetrainingSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // StartRetrainingSchedulerRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new StartRetrainingSchedulerCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // StartRetrainingSchedulerResponse
39
+ * // ModelName: "STRING_VALUE",
40
+ * // ModelArn: "STRING_VALUE",
41
+ * // Status: "PENDING" || "RUNNING" || "STOPPING" || "STOPPED",
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param StartRetrainingSchedulerCommandInput - {@link StartRetrainingSchedulerCommandInput}
47
+ * @returns {@link StartRetrainingSchedulerCommandOutput}
48
+ * @see {@link StartRetrainingSchedulerCommandInput} for command's `input` shape.
49
+ * @see {@link StartRetrainingSchedulerCommandOutput} for command's `response` shape.
50
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The request could not be completed because you do not have access to the resource.
54
+ * </p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p> The request could not be completed due to a conflict with the current state of the
58
+ * target resource. </p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
62
+ * </p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
66
+ * request. </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
73
+ * service that's being utilized. </p>
74
+ *
75
+ * @throws {@link LookoutEquipmentServiceException}
76
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
77
+ *
78
+ * @example Starts a retraining scheduler
79
+ * ```javascript
80
+ * //
81
+ * const input = {
82
+ * "ModelName": "sample-model"
83
+ * };
84
+ * const command = new StartRetrainingSchedulerCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response ==
87
+ * {
88
+ * "ModelArn": "arn:aws:lookoutequipment:us-east-1:123456789012:model/sample-model/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
89
+ * "ModelName": "sample-model",
90
+ * "Status": "PENDING"
91
+ * }
92
+ * *\/
93
+ * // example id: starts-a-retraining-scheduler-1694019629413
94
+ * ```
95
+ *
96
+ */
97
+ export declare class StartRetrainingSchedulerCommand extends $Command<StartRetrainingSchedulerCommandInput, StartRetrainingSchedulerCommandOutput, LookoutEquipmentClientResolvedConfig> {
98
+ readonly input: StartRetrainingSchedulerCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: StartRetrainingSchedulerCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartRetrainingSchedulerCommandInput, StartRetrainingSchedulerCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }
@@ -71,8 +71,8 @@ export interface StopInferenceSchedulerCommandOutput extends StopInferenceSchedu
71
71
  * <p>The request was denied due to request throttling.</p>
72
72
  *
73
73
  * @throws {@link ValidationException} (client fault)
74
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
75
- * related Amazon Web Services service that's being utilized. </p>
74
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
75
+ * 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>
@@ -0,0 +1,116 @@
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 { StopRetrainingSchedulerRequest, StopRetrainingSchedulerResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopRetrainingSchedulerCommand}.
14
+ */
15
+ export interface StopRetrainingSchedulerCommandInput extends StopRetrainingSchedulerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopRetrainingSchedulerCommand}.
21
+ */
22
+ export interface StopRetrainingSchedulerCommandOutput extends StopRetrainingSchedulerResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Stops a retraining scheduler. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, StopRetrainingSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, StopRetrainingSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // StopRetrainingSchedulerRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new StopRetrainingSchedulerCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // StopRetrainingSchedulerResponse
39
+ * // ModelName: "STRING_VALUE",
40
+ * // ModelArn: "STRING_VALUE",
41
+ * // Status: "PENDING" || "RUNNING" || "STOPPING" || "STOPPED",
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param StopRetrainingSchedulerCommandInput - {@link StopRetrainingSchedulerCommandInput}
47
+ * @returns {@link StopRetrainingSchedulerCommandOutput}
48
+ * @see {@link StopRetrainingSchedulerCommandInput} for command's `input` shape.
49
+ * @see {@link StopRetrainingSchedulerCommandOutput} for command's `response` shape.
50
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The request could not be completed because you do not have access to the resource.
54
+ * </p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p> The request could not be completed due to a conflict with the current state of the
58
+ * target resource. </p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p> Processing of the request has failed because of an unknown error, exception or failure.
62
+ * </p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p> The resource requested could not be found. Verify the resource ID and retry your
66
+ * request. </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
73
+ * service that's being utilized. </p>
74
+ *
75
+ * @throws {@link LookoutEquipmentServiceException}
76
+ * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
77
+ *
78
+ * @example Stops a retraining scheduler
79
+ * ```javascript
80
+ * //
81
+ * const input = {
82
+ * "ModelName": "sample-model"
83
+ * };
84
+ * const command = new StopRetrainingSchedulerCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response ==
87
+ * {
88
+ * "ModelArn": "arn:aws:lookoutequipment:us-east-1:123456789012:model/sample-model/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
89
+ * "ModelName": "sample-model",
90
+ * "Status": "STOPPING"
91
+ * }
92
+ * *\/
93
+ * // example id: stops-a-retraining-scheduler-1694019734149
94
+ * ```
95
+ *
96
+ */
97
+ export declare class StopRetrainingSchedulerCommand extends $Command<StopRetrainingSchedulerCommandInput, StopRetrainingSchedulerCommandOutput, LookoutEquipmentClientResolvedConfig> {
98
+ readonly input: StopRetrainingSchedulerCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: StopRetrainingSchedulerCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopRetrainingSchedulerCommandInput, StopRetrainingSchedulerCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }
@@ -24,10 +24,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
24
24
  /**
25
25
  * @public
26
26
  * <p>Associates a given tag to a resource in your account. A tag is a key-value pair which
27
- * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for
28
- * organizing your resources as well as helping you to search and filter by tag. Multiple tags
29
- * can be added to a resource, either when you create it, or later. Up to 50 tags can be
30
- * associated with each resource. </p>
27
+ * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your
28
+ * resources as well as helping you to search and filter by tag. Multiple tags can be added to
29
+ * a resource, either when you create it, or later. Up to 50 tags can be associated with each
30
+ * resource. </p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -74,8 +74,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
74
74
  * <p>The request was denied due to request throttling.</p>
75
75
  *
76
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>
77
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
78
+ * 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>
@@ -64,8 +64,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
64
64
  * <p>The request was denied due to request throttling.</p>
65
65
  *
66
66
  * @throws {@link ValidationException} (client fault)
67
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
68
- * related Amazon Web Services service that's being utilized. </p>
67
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
68
+ * 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>
@@ -73,8 +73,8 @@ export interface UpdateActiveModelVersionCommandOutput extends UpdateActiveModel
73
73
  * <p>The request was denied due to request throttling.</p>
74
74
  *
75
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>
76
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
77
+ * service that's being utilized. </p>
78
78
  *
79
79
  * @throws {@link LookoutEquipmentServiceException}
80
80
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -86,8 +86,8 @@ export interface UpdateInferenceSchedulerCommandOutput extends __MetadataBearer
86
86
  * <p>The request was denied due to request throttling.</p>
87
87
  *
88
88
  * @throws {@link ValidationException} (client fault)
89
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
90
- * related Amazon Web Services service that's being utilized. </p>
89
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
90
+ * 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>
@@ -23,9 +23,7 @@ export interface UpdateLabelGroupCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>
27
- * Updates the label group.
28
- * </p>
26
+ * <p> Updates the label group. </p>
29
27
  * @example
30
28
  * Use a bare-bones client and the command you need to make an API call.
31
29
  * ```javascript
@@ -70,8 +68,8 @@ export interface UpdateLabelGroupCommandOutput extends __MetadataBearer {
70
68
  * <p>The request was denied due to request throttling.</p>
71
69
  *
72
70
  * @throws {@link ValidationException} (client fault)
73
- * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a
74
- * related Amazon Web Services service that's being utilized. </p>
71
+ * <p> The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services
72
+ * service that's being utilized. </p>
75
73
  *
76
74
  * @throws {@link LookoutEquipmentServiceException}
77
75
  * <p>Base exception class for all service exceptions from LookoutEquipment service.</p>
@@ -0,0 +1,116 @@
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 { UpdateModelRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateModelCommand}.
14
+ */
15
+ export interface UpdateModelCommandInput extends UpdateModelRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateModelCommand}.
21
+ */
22
+ export interface UpdateModelCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates a model in the account.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { LookoutEquipmentClient, UpdateModelCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, UpdateModelCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // UpdateModelRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * LabelsInputConfiguration: { // LabelsInputConfiguration
36
+ * S3InputConfiguration: { // LabelsS3InputConfiguration
37
+ * Bucket: "STRING_VALUE", // required
38
+ * Prefix: "STRING_VALUE",
39
+ * },
40
+ * LabelGroupName: "STRING_VALUE",
41
+ * },
42
+ * RoleArn: "STRING_VALUE",
43
+ * };
44
+ * const command = new UpdateModelCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateModelCommandInput - {@link UpdateModelCommandInput}
51
+ * @returns {@link UpdateModelCommandOutput}
52
+ * @see {@link UpdateModelCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateModelCommandOutput} 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 related Amazon Web Services
77
+ * 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
+ * @example Updates a model
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * "LabelsInputConfiguration": {
87
+ * "LabelGroupName": "sample-label-group"
88
+ * },
89
+ * "ModelName": "sample-model"
90
+ * };
91
+ * const command = new UpdateModelCommand(input);
92
+ * await client.send(command);
93
+ * // example id: updates-a-model-1694020683458
94
+ * ```
95
+ *
96
+ */
97
+ export declare class UpdateModelCommand extends $Command<UpdateModelCommandInput, UpdateModelCommandOutput, LookoutEquipmentClientResolvedConfig> {
98
+ readonly input: UpdateModelCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: UpdateModelCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateModelCommandInput, UpdateModelCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }