@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,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 { UpdateRetrainingSchedulerRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRetrainingSchedulerCommand}.
14
+ */
15
+ export interface UpdateRetrainingSchedulerCommandInput extends UpdateRetrainingSchedulerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRetrainingSchedulerCommand}.
21
+ */
22
+ export interface UpdateRetrainingSchedulerCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates 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, UpdateRetrainingSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
31
+ * // const { LookoutEquipmentClient, UpdateRetrainingSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
32
+ * const client = new LookoutEquipmentClient(config);
33
+ * const input = { // UpdateRetrainingSchedulerRequest
34
+ * ModelName: "STRING_VALUE", // required
35
+ * RetrainingStartDate: new Date("TIMESTAMP"),
36
+ * RetrainingFrequency: "STRING_VALUE",
37
+ * LookbackWindow: "STRING_VALUE",
38
+ * PromoteMode: "MANAGED" || "MANUAL",
39
+ * };
40
+ * const command = new UpdateRetrainingSchedulerCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param UpdateRetrainingSchedulerCommandInput - {@link UpdateRetrainingSchedulerCommandInput}
47
+ * @returns {@link UpdateRetrainingSchedulerCommandOutput}
48
+ * @see {@link UpdateRetrainingSchedulerCommandInput} for command's `input` shape.
49
+ * @see {@link UpdateRetrainingSchedulerCommandOutput} 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 Updates a retraining scheduler
79
+ * ```javascript
80
+ * //
81
+ * const input = {
82
+ * "ModelName": "sample-model",
83
+ * "RetrainingFrequency": "P1Y",
84
+ * "RetrainingStartDate": "2024-01-01T00:00:00Z"
85
+ * };
86
+ * const command = new UpdateRetrainingSchedulerCommand(input);
87
+ * await client.send(command);
88
+ * // example id: updates-a-retraining-scheduler-1694019840918
89
+ * ```
90
+ *
91
+ */
92
+ export declare class UpdateRetrainingSchedulerCommand extends $Command<UpdateRetrainingSchedulerCommandInput, UpdateRetrainingSchedulerCommandOutput, LookoutEquipmentClientResolvedConfig> {
93
+ readonly input: UpdateRetrainingSchedulerCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: UpdateRetrainingSchedulerCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRetrainingSchedulerCommandInput, UpdateRetrainingSchedulerCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -3,12 +3,14 @@ export * from "./CreateInferenceSchedulerCommand";
3
3
  export * from "./CreateLabelCommand";
4
4
  export * from "./CreateLabelGroupCommand";
5
5
  export * from "./CreateModelCommand";
6
+ export * from "./CreateRetrainingSchedulerCommand";
6
7
  export * from "./DeleteDatasetCommand";
7
8
  export * from "./DeleteInferenceSchedulerCommand";
8
9
  export * from "./DeleteLabelCommand";
9
10
  export * from "./DeleteLabelGroupCommand";
10
11
  export * from "./DeleteModelCommand";
11
12
  export * from "./DeleteResourcePolicyCommand";
13
+ export * from "./DeleteRetrainingSchedulerCommand";
12
14
  export * from "./DescribeDataIngestionJobCommand";
13
15
  export * from "./DescribeDatasetCommand";
14
16
  export * from "./DescribeInferenceSchedulerCommand";
@@ -17,6 +19,7 @@ export * from "./DescribeLabelGroupCommand";
17
19
  export * from "./DescribeModelCommand";
18
20
  export * from "./DescribeModelVersionCommand";
19
21
  export * from "./DescribeResourcePolicyCommand";
22
+ export * from "./DescribeRetrainingSchedulerCommand";
20
23
  export * from "./ImportDatasetCommand";
21
24
  export * from "./ImportModelVersionCommand";
22
25
  export * from "./ListDataIngestionJobsCommand";
@@ -28,14 +31,19 @@ export * from "./ListLabelGroupsCommand";
28
31
  export * from "./ListLabelsCommand";
29
32
  export * from "./ListModelVersionsCommand";
30
33
  export * from "./ListModelsCommand";
34
+ export * from "./ListRetrainingSchedulersCommand";
31
35
  export * from "./ListSensorStatisticsCommand";
32
36
  export * from "./ListTagsForResourceCommand";
33
37
  export * from "./PutResourcePolicyCommand";
34
38
  export * from "./StartDataIngestionJobCommand";
35
39
  export * from "./StartInferenceSchedulerCommand";
40
+ export * from "./StartRetrainingSchedulerCommand";
36
41
  export * from "./StopInferenceSchedulerCommand";
42
+ export * from "./StopRetrainingSchedulerCommand";
37
43
  export * from "./TagResourceCommand";
38
44
  export * from "./UntagResourceCommand";
39
45
  export * from "./UpdateActiveModelVersionCommand";
40
46
  export * from "./UpdateInferenceSchedulerCommand";
41
47
  export * from "./UpdateLabelGroupCommand";
48
+ export * from "./UpdateModelCommand";
49
+ export * from "./UpdateRetrainingSchedulerCommand";
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface LookoutEquipmentExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface LookoutEquipmentExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }