@aws-sdk/client-lookoutequipment 3.35.0 → 3.38.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 (240) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/LookoutEquipment.js +0 -5
  3. package/dist-cjs/LookoutEquipmentClient.js +0 -10
  4. package/dist-cjs/commands/CreateDatasetCommand.js +0 -28
  5. package/dist-cjs/commands/CreateInferenceSchedulerCommand.js +0 -29
  6. package/dist-cjs/commands/CreateModelCommand.js +0 -33
  7. package/dist-cjs/commands/DeleteDatasetCommand.js +0 -29
  8. package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteModelCommand.js +0 -26
  10. package/dist-cjs/commands/DescribeDataIngestionJobCommand.js +0 -26
  11. package/dist-cjs/commands/DescribeDatasetCommand.js +0 -25
  12. package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js +0 -26
  13. package/dist-cjs/commands/DescribeModelCommand.js +0 -26
  14. package/dist-cjs/commands/ListDataIngestionJobsCommand.js +0 -26
  15. package/dist-cjs/commands/ListDatasetsCommand.js +0 -26
  16. package/dist-cjs/commands/ListInferenceExecutionsCommand.js +0 -26
  17. package/dist-cjs/commands/ListInferenceSchedulersCommand.js +0 -26
  18. package/dist-cjs/commands/ListModelsCommand.js +0 -26
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  20. package/dist-cjs/commands/StartDataIngestionJobCommand.js +0 -25
  21. package/dist-cjs/commands/StartInferenceSchedulerCommand.js +0 -25
  22. package/dist-cjs/commands/StopInferenceSchedulerCommand.js +0 -25
  23. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  24. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  25. package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js +0 -25
  26. package/dist-cjs/commands/index.js +25 -0
  27. package/dist-cjs/endpoints.js +1 -2
  28. package/dist-cjs/index.js +4 -31
  29. package/dist-cjs/models/index.js +0 -1
  30. package/dist-cjs/models/models_0.js +0 -196
  31. package/dist-cjs/pagination/Interfaces.js +0 -1
  32. package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js +0 -11
  33. package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -11
  34. package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js +0 -11
  35. package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js +0 -11
  36. package/dist-cjs/pagination/ListModelsPaginator.js +0 -11
  37. package/dist-cjs/pagination/index.js +9 -0
  38. package/dist-cjs/protocols/Aws_json1_0.js +0 -6
  39. package/dist-cjs/runtimeConfig.browser.js +1 -6
  40. package/dist-cjs/runtimeConfig.js +2 -7
  41. package/dist-cjs/runtimeConfig.native.js +0 -4
  42. package/dist-cjs/runtimeConfig.shared.js +0 -4
  43. package/dist-es/LookoutEquipment.js +0 -1
  44. package/dist-es/LookoutEquipmentClient.js +0 -1
  45. package/dist-es/commands/CreateDatasetCommand.js +0 -1
  46. package/dist-es/commands/CreateInferenceSchedulerCommand.js +0 -1
  47. package/dist-es/commands/CreateModelCommand.js +0 -1
  48. package/dist-es/commands/DeleteDatasetCommand.js +0 -1
  49. package/dist-es/commands/DeleteInferenceSchedulerCommand.js +0 -1
  50. package/dist-es/commands/DeleteModelCommand.js +0 -1
  51. package/dist-es/commands/DescribeDataIngestionJobCommand.js +0 -1
  52. package/dist-es/commands/DescribeDatasetCommand.js +0 -1
  53. package/dist-es/commands/DescribeInferenceSchedulerCommand.js +0 -1
  54. package/dist-es/commands/DescribeModelCommand.js +0 -1
  55. package/dist-es/commands/ListDataIngestionJobsCommand.js +0 -1
  56. package/dist-es/commands/ListDatasetsCommand.js +0 -1
  57. package/dist-es/commands/ListInferenceExecutionsCommand.js +0 -1
  58. package/dist-es/commands/ListInferenceSchedulersCommand.js +0 -1
  59. package/dist-es/commands/ListModelsCommand.js +0 -1
  60. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  61. package/dist-es/commands/StartDataIngestionJobCommand.js +0 -1
  62. package/dist-es/commands/StartInferenceSchedulerCommand.js +0 -1
  63. package/dist-es/commands/StopInferenceSchedulerCommand.js +0 -1
  64. package/dist-es/commands/TagResourceCommand.js +0 -1
  65. package/dist-es/commands/UntagResourceCommand.js +0 -1
  66. package/dist-es/commands/UpdateInferenceSchedulerCommand.js +0 -1
  67. package/dist-es/commands/index.js +22 -0
  68. package/dist-es/endpoints.js +1 -2
  69. package/dist-es/index.js +4 -31
  70. package/dist-es/models/index.js +0 -1
  71. package/dist-es/models/models_0.js +0 -1
  72. package/dist-es/pagination/Interfaces.js +0 -1
  73. package/dist-es/pagination/ListDataIngestionJobsPaginator.js +0 -1
  74. package/dist-es/pagination/ListDatasetsPaginator.js +0 -1
  75. package/dist-es/pagination/ListInferenceExecutionsPaginator.js +0 -1
  76. package/dist-es/pagination/ListInferenceSchedulersPaginator.js +0 -1
  77. package/dist-es/pagination/ListModelsPaginator.js +0 -1
  78. package/dist-es/pagination/index.js +6 -0
  79. package/dist-es/protocols/Aws_json1_0.js +0 -1
  80. package/dist-es/runtimeConfig.browser.js +1 -2
  81. package/dist-es/runtimeConfig.js +2 -3
  82. package/dist-es/runtimeConfig.native.js +0 -1
  83. package/dist-es/runtimeConfig.shared.js +0 -1
  84. package/dist-types/commands/index.d.ts +22 -0
  85. package/dist-types/index.d.ts +4 -30
  86. package/dist-types/pagination/index.d.ts +6 -0
  87. package/dist-types/ts3.4/LookoutEquipment.d.ts +23 -103
  88. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +24 -90
  89. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -23
  90. package/dist-types/ts3.4/commands/CreateInferenceSchedulerCommand.d.ts +2 -24
  91. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -28
  92. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -24
  93. package/dist-types/ts3.4/commands/DeleteInferenceSchedulerCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -21
  95. package/dist-types/ts3.4/commands/DescribeDataIngestionJobCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DescribeInferenceSchedulerCommand.d.ts +2 -21
  98. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/ListDataIngestionJobsCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/ListInferenceExecutionsCommand.d.ts +2 -21
  102. package/dist-types/ts3.4/commands/ListInferenceSchedulersCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/StartDataIngestionJobCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/StartInferenceSchedulerCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/StopInferenceSchedulerCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/UpdateInferenceSchedulerCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  112. package/dist-types/ts3.4/index.d.ts +4 -30
  113. package/dist-types/ts3.4/models/models_0.d.ts +302 -1080
  114. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  119. package/package.json +33 -30
  120. package/dist-cjs/LookoutEquipment.js.map +0 -1
  121. package/dist-cjs/LookoutEquipmentClient.js.map +0 -1
  122. package/dist-cjs/commands/CreateDatasetCommand.js.map +0 -1
  123. package/dist-cjs/commands/CreateInferenceSchedulerCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateModelCommand.js.map +0 -1
  125. package/dist-cjs/commands/DeleteDatasetCommand.js.map +0 -1
  126. package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteModelCommand.js.map +0 -1
  128. package/dist-cjs/commands/DescribeDataIngestionJobCommand.js.map +0 -1
  129. package/dist-cjs/commands/DescribeDatasetCommand.js.map +0 -1
  130. package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeModelCommand.js.map +0 -1
  132. package/dist-cjs/commands/ListDataIngestionJobsCommand.js.map +0 -1
  133. package/dist-cjs/commands/ListDatasetsCommand.js.map +0 -1
  134. package/dist-cjs/commands/ListInferenceExecutionsCommand.js.map +0 -1
  135. package/dist-cjs/commands/ListInferenceSchedulersCommand.js.map +0 -1
  136. package/dist-cjs/commands/ListModelsCommand.js.map +0 -1
  137. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  138. package/dist-cjs/commands/StartDataIngestionJobCommand.js.map +0 -1
  139. package/dist-cjs/commands/StartInferenceSchedulerCommand.js.map +0 -1
  140. package/dist-cjs/commands/StopInferenceSchedulerCommand.js.map +0 -1
  141. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  142. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  143. package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
  144. package/dist-cjs/endpoints.js.map +0 -1
  145. package/dist-cjs/index.js.map +0 -1
  146. package/dist-cjs/models/index.js.map +0 -1
  147. package/dist-cjs/models/models_0.js.map +0 -1
  148. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  149. package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
  150. package/dist-cjs/pagination/ListDatasetsPaginator.js.map +0 -1
  151. package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
  152. package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
  153. package/dist-cjs/pagination/ListModelsPaginator.js.map +0 -1
  154. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  155. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  156. package/dist-cjs/runtimeConfig.js.map +0 -1
  157. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  158. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  159. package/dist-es/LookoutEquipment.js.map +0 -1
  160. package/dist-es/LookoutEquipmentClient.js.map +0 -1
  161. package/dist-es/commands/CreateDatasetCommand.js.map +0 -1
  162. package/dist-es/commands/CreateInferenceSchedulerCommand.js.map +0 -1
  163. package/dist-es/commands/CreateModelCommand.js.map +0 -1
  164. package/dist-es/commands/DeleteDatasetCommand.js.map +0 -1
  165. package/dist-es/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
  166. package/dist-es/commands/DeleteModelCommand.js.map +0 -1
  167. package/dist-es/commands/DescribeDataIngestionJobCommand.js.map +0 -1
  168. package/dist-es/commands/DescribeDatasetCommand.js.map +0 -1
  169. package/dist-es/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
  170. package/dist-es/commands/DescribeModelCommand.js.map +0 -1
  171. package/dist-es/commands/ListDataIngestionJobsCommand.js.map +0 -1
  172. package/dist-es/commands/ListDatasetsCommand.js.map +0 -1
  173. package/dist-es/commands/ListInferenceExecutionsCommand.js.map +0 -1
  174. package/dist-es/commands/ListInferenceSchedulersCommand.js.map +0 -1
  175. package/dist-es/commands/ListModelsCommand.js.map +0 -1
  176. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  177. package/dist-es/commands/StartDataIngestionJobCommand.js.map +0 -1
  178. package/dist-es/commands/StartInferenceSchedulerCommand.js.map +0 -1
  179. package/dist-es/commands/StopInferenceSchedulerCommand.js.map +0 -1
  180. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  181. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  182. package/dist-es/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
  183. package/dist-es/endpoints.js.map +0 -1
  184. package/dist-es/index.js.map +0 -1
  185. package/dist-es/models/index.js.map +0 -1
  186. package/dist-es/models/models_0.js.map +0 -1
  187. package/dist-es/pagination/Interfaces.js.map +0 -1
  188. package/dist-es/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
  189. package/dist-es/pagination/ListDatasetsPaginator.js.map +0 -1
  190. package/dist-es/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
  191. package/dist-es/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
  192. package/dist-es/pagination/ListModelsPaginator.js.map +0 -1
  193. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  194. package/dist-es/runtimeConfig.browser.js.map +0 -1
  195. package/dist-es/runtimeConfig.js.map +0 -1
  196. package/dist-es/runtimeConfig.native.js.map +0 -1
  197. package/dist-es/runtimeConfig.shared.js.map +0 -1
  198. package/jest.config.js +0 -4
  199. package/src/LookoutEquipment.ts +0 -813
  200. package/src/LookoutEquipmentClient.ts +0 -339
  201. package/src/commands/CreateDatasetCommand.ts +0 -98
  202. package/src/commands/CreateInferenceSchedulerCommand.ts +0 -99
  203. package/src/commands/CreateModelCommand.ts +0 -103
  204. package/src/commands/DeleteDatasetCommand.ts +0 -99
  205. package/src/commands/DeleteInferenceSchedulerCommand.ts +0 -96
  206. package/src/commands/DeleteModelCommand.ts +0 -96
  207. package/src/commands/DescribeDataIngestionJobCommand.ts +0 -96
  208. package/src/commands/DescribeDatasetCommand.ts +0 -95
  209. package/src/commands/DescribeInferenceSchedulerCommand.ts +0 -99
  210. package/src/commands/DescribeModelCommand.ts +0 -96
  211. package/src/commands/ListDataIngestionJobsCommand.ts +0 -96
  212. package/src/commands/ListDatasetsCommand.ts +0 -96
  213. package/src/commands/ListInferenceExecutionsCommand.ts +0 -96
  214. package/src/commands/ListInferenceSchedulersCommand.ts +0 -96
  215. package/src/commands/ListModelsCommand.ts +0 -96
  216. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  217. package/src/commands/StartDataIngestionJobCommand.ts +0 -95
  218. package/src/commands/StartInferenceSchedulerCommand.ts +0 -95
  219. package/src/commands/StopInferenceSchedulerCommand.ts +0 -95
  220. package/src/commands/TagResourceCommand.ts +0 -99
  221. package/src/commands/UntagResourceCommand.ts +0 -95
  222. package/src/commands/UpdateInferenceSchedulerCommand.ts +0 -95
  223. package/src/endpoints.ts +0 -57
  224. package/src/index.ts +0 -31
  225. package/src/models/index.ts +0 -1
  226. package/src/models/models_0.ts +0 -2107
  227. package/src/pagination/Interfaces.ts +0 -8
  228. package/src/pagination/ListDataIngestionJobsPaginator.ts +0 -59
  229. package/src/pagination/ListDatasetsPaginator.ts +0 -59
  230. package/src/pagination/ListInferenceExecutionsPaginator.ts +0 -59
  231. package/src/pagination/ListInferenceSchedulersPaginator.ts +0 -59
  232. package/src/pagination/ListModelsPaginator.ts +0 -55
  233. package/src/protocols/Aws_json1_0.ts +0 -3644
  234. package/src/runtimeConfig.browser.ts +0 -41
  235. package/src/runtimeConfig.native.ts +0 -17
  236. package/src/runtimeConfig.shared.ts +0 -17
  237. package/src/runtimeConfig.ts +0 -46
  238. package/tsconfig.es.json +0 -10
  239. package/tsconfig.json +0 -33
  240. package/tsconfig.types.json +0 -9
@@ -1,813 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- CreateDatasetCommand,
5
- CreateDatasetCommandInput,
6
- CreateDatasetCommandOutput,
7
- } from "./commands/CreateDatasetCommand";
8
- import {
9
- CreateInferenceSchedulerCommand,
10
- CreateInferenceSchedulerCommandInput,
11
- CreateInferenceSchedulerCommandOutput,
12
- } from "./commands/CreateInferenceSchedulerCommand";
13
- import { CreateModelCommand, CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
14
- import {
15
- DeleteDatasetCommand,
16
- DeleteDatasetCommandInput,
17
- DeleteDatasetCommandOutput,
18
- } from "./commands/DeleteDatasetCommand";
19
- import {
20
- DeleteInferenceSchedulerCommand,
21
- DeleteInferenceSchedulerCommandInput,
22
- DeleteInferenceSchedulerCommandOutput,
23
- } from "./commands/DeleteInferenceSchedulerCommand";
24
- import { DeleteModelCommand, DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
25
- import {
26
- DescribeDataIngestionJobCommand,
27
- DescribeDataIngestionJobCommandInput,
28
- DescribeDataIngestionJobCommandOutput,
29
- } from "./commands/DescribeDataIngestionJobCommand";
30
- import {
31
- DescribeDatasetCommand,
32
- DescribeDatasetCommandInput,
33
- DescribeDatasetCommandOutput,
34
- } from "./commands/DescribeDatasetCommand";
35
- import {
36
- DescribeInferenceSchedulerCommand,
37
- DescribeInferenceSchedulerCommandInput,
38
- DescribeInferenceSchedulerCommandOutput,
39
- } from "./commands/DescribeInferenceSchedulerCommand";
40
- import {
41
- DescribeModelCommand,
42
- DescribeModelCommandInput,
43
- DescribeModelCommandOutput,
44
- } from "./commands/DescribeModelCommand";
45
- import {
46
- ListDataIngestionJobsCommand,
47
- ListDataIngestionJobsCommandInput,
48
- ListDataIngestionJobsCommandOutput,
49
- } from "./commands/ListDataIngestionJobsCommand";
50
- import {
51
- ListDatasetsCommand,
52
- ListDatasetsCommandInput,
53
- ListDatasetsCommandOutput,
54
- } from "./commands/ListDatasetsCommand";
55
- import {
56
- ListInferenceExecutionsCommand,
57
- ListInferenceExecutionsCommandInput,
58
- ListInferenceExecutionsCommandOutput,
59
- } from "./commands/ListInferenceExecutionsCommand";
60
- import {
61
- ListInferenceSchedulersCommand,
62
- ListInferenceSchedulersCommandInput,
63
- ListInferenceSchedulersCommandOutput,
64
- } from "./commands/ListInferenceSchedulersCommand";
65
- import { ListModelsCommand, ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
66
- import {
67
- ListTagsForResourceCommand,
68
- ListTagsForResourceCommandInput,
69
- ListTagsForResourceCommandOutput,
70
- } from "./commands/ListTagsForResourceCommand";
71
- import {
72
- StartDataIngestionJobCommand,
73
- StartDataIngestionJobCommandInput,
74
- StartDataIngestionJobCommandOutput,
75
- } from "./commands/StartDataIngestionJobCommand";
76
- import {
77
- StartInferenceSchedulerCommand,
78
- StartInferenceSchedulerCommandInput,
79
- StartInferenceSchedulerCommandOutput,
80
- } from "./commands/StartInferenceSchedulerCommand";
81
- import {
82
- StopInferenceSchedulerCommand,
83
- StopInferenceSchedulerCommandInput,
84
- StopInferenceSchedulerCommandOutput,
85
- } from "./commands/StopInferenceSchedulerCommand";
86
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
87
- import {
88
- UntagResourceCommand,
89
- UntagResourceCommandInput,
90
- UntagResourceCommandOutput,
91
- } from "./commands/UntagResourceCommand";
92
- import {
93
- UpdateInferenceSchedulerCommand,
94
- UpdateInferenceSchedulerCommandInput,
95
- UpdateInferenceSchedulerCommandOutput,
96
- } from "./commands/UpdateInferenceSchedulerCommand";
97
- import { LookoutEquipmentClient } from "./LookoutEquipmentClient";
98
-
99
- /**
100
- * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
101
- * anomalies in machines from sensor data for use in predictive maintenance. </p>
102
- */
103
- export class LookoutEquipment extends LookoutEquipmentClient {
104
- /**
105
- * <p>Creates a container for a collection of data being ingested for analysis. The dataset
106
- * contains the metadata describing where the data is and what the data actually looks like.
107
- * In other words, it contains the location of the data source, the data schema, and other
108
- * information. A dataset also contains any tags associated with the ingested data. </p>
109
- */
110
- public createDataset(
111
- args: CreateDatasetCommandInput,
112
- options?: __HttpHandlerOptions
113
- ): Promise<CreateDatasetCommandOutput>;
114
- public createDataset(
115
- args: CreateDatasetCommandInput,
116
- cb: (err: any, data?: CreateDatasetCommandOutput) => void
117
- ): void;
118
- public createDataset(
119
- args: CreateDatasetCommandInput,
120
- options: __HttpHandlerOptions,
121
- cb: (err: any, data?: CreateDatasetCommandOutput) => void
122
- ): void;
123
- public createDataset(
124
- args: CreateDatasetCommandInput,
125
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetCommandOutput) => void),
126
- cb?: (err: any, data?: CreateDatasetCommandOutput) => void
127
- ): Promise<CreateDatasetCommandOutput> | void {
128
- const command = new CreateDatasetCommand(args);
129
- if (typeof optionsOrCb === "function") {
130
- this.send(command, optionsOrCb);
131
- } else if (typeof cb === "function") {
132
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
133
- this.send(command, optionsOrCb || {}, cb);
134
- } else {
135
- return this.send(command, optionsOrCb);
136
- }
137
- }
138
-
139
- /**
140
- * <p> Creates a scheduled inference. Scheduling an inference is setting up a continuous
141
- * real-time inference plan to analyze new measurement data. When setting up the schedule, you
142
- * provide an S3 bucket location for the input data, assign it a delimiter between separate
143
- * entries in the data, set an offset delay if desired, and set the frequency of inferencing.
144
- * You must also provide an S3 bucket location for the output data. </p>
145
- */
146
- public createInferenceScheduler(
147
- args: CreateInferenceSchedulerCommandInput,
148
- options?: __HttpHandlerOptions
149
- ): Promise<CreateInferenceSchedulerCommandOutput>;
150
- public createInferenceScheduler(
151
- args: CreateInferenceSchedulerCommandInput,
152
- cb: (err: any, data?: CreateInferenceSchedulerCommandOutput) => void
153
- ): void;
154
- public createInferenceScheduler(
155
- args: CreateInferenceSchedulerCommandInput,
156
- options: __HttpHandlerOptions,
157
- cb: (err: any, data?: CreateInferenceSchedulerCommandOutput) => void
158
- ): void;
159
- public createInferenceScheduler(
160
- args: CreateInferenceSchedulerCommandInput,
161
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateInferenceSchedulerCommandOutput) => void),
162
- cb?: (err: any, data?: CreateInferenceSchedulerCommandOutput) => void
163
- ): Promise<CreateInferenceSchedulerCommandOutput> | void {
164
- const command = new CreateInferenceSchedulerCommand(args);
165
- if (typeof optionsOrCb === "function") {
166
- this.send(command, optionsOrCb);
167
- } else if (typeof cb === "function") {
168
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
169
- this.send(command, optionsOrCb || {}, cb);
170
- } else {
171
- return this.send(command, optionsOrCb);
172
- }
173
- }
174
-
175
- /**
176
- * <p>Creates an ML model for data inference. </p>
177
- * <p>A machine-learning (ML) model is a mathematical model that finds patterns in your data.
178
- * In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal
179
- * behavior that could be potential equipment failure (or maintenance events). The models are
180
- * made by analyzing normal data and abnormalities in machine behavior that have already
181
- * occurred.</p>
182
- * <p>Your model is trained using a portion of the data from your dataset and uses that data
183
- * to learn patterns of normal behavior and abnormal patterns that lead to equipment failure.
184
- * Another portion of the data is used to evaluate the model's accuracy. </p>
185
- */
186
- public createModel(args: CreateModelCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCommandOutput>;
187
- public createModel(args: CreateModelCommandInput, cb: (err: any, data?: CreateModelCommandOutput) => void): void;
188
- public createModel(
189
- args: CreateModelCommandInput,
190
- options: __HttpHandlerOptions,
191
- cb: (err: any, data?: CreateModelCommandOutput) => void
192
- ): void;
193
- public createModel(
194
- args: CreateModelCommandInput,
195
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateModelCommandOutput) => void),
196
- cb?: (err: any, data?: CreateModelCommandOutput) => void
197
- ): Promise<CreateModelCommandOutput> | void {
198
- const command = new CreateModelCommand(args);
199
- if (typeof optionsOrCb === "function") {
200
- this.send(command, optionsOrCb);
201
- } else if (typeof cb === "function") {
202
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
203
- this.send(command, optionsOrCb || {}, cb);
204
- } else {
205
- return this.send(command, optionsOrCb);
206
- }
207
- }
208
-
209
- /**
210
- * <p> Deletes a dataset and associated artifacts. The operation will check to see if any
211
- * inference scheduler or data ingestion job is currently using the dataset, and if there
212
- * isn't, the dataset, its metadata, and any associated data stored in S3 will be deleted.
213
- * This does not affect any models that used this dataset for training and evaluation, but
214
- * does prevent it from being used in the future. </p>
215
- */
216
- public deleteDataset(
217
- args: DeleteDatasetCommandInput,
218
- options?: __HttpHandlerOptions
219
- ): Promise<DeleteDatasetCommandOutput>;
220
- public deleteDataset(
221
- args: DeleteDatasetCommandInput,
222
- cb: (err: any, data?: DeleteDatasetCommandOutput) => void
223
- ): void;
224
- public deleteDataset(
225
- args: DeleteDatasetCommandInput,
226
- options: __HttpHandlerOptions,
227
- cb: (err: any, data?: DeleteDatasetCommandOutput) => void
228
- ): void;
229
- public deleteDataset(
230
- args: DeleteDatasetCommandInput,
231
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDatasetCommandOutput) => void),
232
- cb?: (err: any, data?: DeleteDatasetCommandOutput) => void
233
- ): Promise<DeleteDatasetCommandOutput> | void {
234
- const command = new DeleteDatasetCommand(args);
235
- if (typeof optionsOrCb === "function") {
236
- this.send(command, optionsOrCb);
237
- } else if (typeof cb === "function") {
238
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
239
- this.send(command, optionsOrCb || {}, cb);
240
- } else {
241
- return this.send(command, optionsOrCb);
242
- }
243
- }
244
-
245
- /**
246
- * <p>Deletes an inference scheduler that has been set up. Already processed output results
247
- * are not affected. </p>
248
- */
249
- public deleteInferenceScheduler(
250
- args: DeleteInferenceSchedulerCommandInput,
251
- options?: __HttpHandlerOptions
252
- ): Promise<DeleteInferenceSchedulerCommandOutput>;
253
- public deleteInferenceScheduler(
254
- args: DeleteInferenceSchedulerCommandInput,
255
- cb: (err: any, data?: DeleteInferenceSchedulerCommandOutput) => void
256
- ): void;
257
- public deleteInferenceScheduler(
258
- args: DeleteInferenceSchedulerCommandInput,
259
- options: __HttpHandlerOptions,
260
- cb: (err: any, data?: DeleteInferenceSchedulerCommandOutput) => void
261
- ): void;
262
- public deleteInferenceScheduler(
263
- args: DeleteInferenceSchedulerCommandInput,
264
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteInferenceSchedulerCommandOutput) => void),
265
- cb?: (err: any, data?: DeleteInferenceSchedulerCommandOutput) => void
266
- ): Promise<DeleteInferenceSchedulerCommandOutput> | void {
267
- const command = new DeleteInferenceSchedulerCommand(args);
268
- if (typeof optionsOrCb === "function") {
269
- this.send(command, optionsOrCb);
270
- } else if (typeof cb === "function") {
271
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
- this.send(command, optionsOrCb || {}, cb);
273
- } else {
274
- return this.send(command, optionsOrCb);
275
- }
276
- }
277
-
278
- /**
279
- * <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from
280
- * being used with an inference scheduler, even one that is already set up. </p>
281
- */
282
- public deleteModel(args: DeleteModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelCommandOutput>;
283
- public deleteModel(args: DeleteModelCommandInput, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
284
- public deleteModel(
285
- args: DeleteModelCommandInput,
286
- options: __HttpHandlerOptions,
287
- cb: (err: any, data?: DeleteModelCommandOutput) => void
288
- ): void;
289
- public deleteModel(
290
- args: DeleteModelCommandInput,
291
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteModelCommandOutput) => void),
292
- cb?: (err: any, data?: DeleteModelCommandOutput) => void
293
- ): Promise<DeleteModelCommandOutput> | void {
294
- const command = new DeleteModelCommand(args);
295
- if (typeof optionsOrCb === "function") {
296
- this.send(command, optionsOrCb);
297
- } else if (typeof cb === "function") {
298
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
- this.send(command, optionsOrCb || {}, cb);
300
- } else {
301
- return this.send(command, optionsOrCb);
302
- }
303
- }
304
-
305
- /**
306
- * <p>Provides information on a specific data ingestion job such as creation time, dataset
307
- * ARN, status, and so on. </p>
308
- */
309
- public describeDataIngestionJob(
310
- args: DescribeDataIngestionJobCommandInput,
311
- options?: __HttpHandlerOptions
312
- ): Promise<DescribeDataIngestionJobCommandOutput>;
313
- public describeDataIngestionJob(
314
- args: DescribeDataIngestionJobCommandInput,
315
- cb: (err: any, data?: DescribeDataIngestionJobCommandOutput) => void
316
- ): void;
317
- public describeDataIngestionJob(
318
- args: DescribeDataIngestionJobCommandInput,
319
- options: __HttpHandlerOptions,
320
- cb: (err: any, data?: DescribeDataIngestionJobCommandOutput) => void
321
- ): void;
322
- public describeDataIngestionJob(
323
- args: DescribeDataIngestionJobCommandInput,
324
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDataIngestionJobCommandOutput) => void),
325
- cb?: (err: any, data?: DescribeDataIngestionJobCommandOutput) => void
326
- ): Promise<DescribeDataIngestionJobCommandOutput> | void {
327
- const command = new DescribeDataIngestionJobCommand(args);
328
- if (typeof optionsOrCb === "function") {
329
- this.send(command, optionsOrCb);
330
- } else if (typeof cb === "function") {
331
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
- this.send(command, optionsOrCb || {}, cb);
333
- } else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
-
338
- /**
339
- * <p>Provides a JSON description of the data that is in each time series dataset, including names, column names, and data types.</p>
340
- */
341
- public describeDataset(
342
- args: DescribeDatasetCommandInput,
343
- options?: __HttpHandlerOptions
344
- ): Promise<DescribeDatasetCommandOutput>;
345
- public describeDataset(
346
- args: DescribeDatasetCommandInput,
347
- cb: (err: any, data?: DescribeDatasetCommandOutput) => void
348
- ): void;
349
- public describeDataset(
350
- args: DescribeDatasetCommandInput,
351
- options: __HttpHandlerOptions,
352
- cb: (err: any, data?: DescribeDatasetCommandOutput) => void
353
- ): void;
354
- public describeDataset(
355
- args: DescribeDatasetCommandInput,
356
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetCommandOutput) => void),
357
- cb?: (err: any, data?: DescribeDatasetCommandOutput) => void
358
- ): Promise<DescribeDatasetCommandOutput> | void {
359
- const command = new DescribeDatasetCommand(args);
360
- if (typeof optionsOrCb === "function") {
361
- this.send(command, optionsOrCb);
362
- } else if (typeof cb === "function") {
363
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
364
- this.send(command, optionsOrCb || {}, cb);
365
- } else {
366
- return this.send(command, optionsOrCb);
367
- }
368
- }
369
-
370
- /**
371
- * <p> Specifies information about the inference scheduler being used, including name, model,
372
- * status, and associated metadata </p>
373
- */
374
- public describeInferenceScheduler(
375
- args: DescribeInferenceSchedulerCommandInput,
376
- options?: __HttpHandlerOptions
377
- ): Promise<DescribeInferenceSchedulerCommandOutput>;
378
- public describeInferenceScheduler(
379
- args: DescribeInferenceSchedulerCommandInput,
380
- cb: (err: any, data?: DescribeInferenceSchedulerCommandOutput) => void
381
- ): void;
382
- public describeInferenceScheduler(
383
- args: DescribeInferenceSchedulerCommandInput,
384
- options: __HttpHandlerOptions,
385
- cb: (err: any, data?: DescribeInferenceSchedulerCommandOutput) => void
386
- ): void;
387
- public describeInferenceScheduler(
388
- args: DescribeInferenceSchedulerCommandInput,
389
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInferenceSchedulerCommandOutput) => void),
390
- cb?: (err: any, data?: DescribeInferenceSchedulerCommandOutput) => void
391
- ): Promise<DescribeInferenceSchedulerCommandOutput> | void {
392
- const command = new DescribeInferenceSchedulerCommand(args);
393
- if (typeof optionsOrCb === "function") {
394
- this.send(command, optionsOrCb);
395
- } else if (typeof cb === "function") {
396
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
- this.send(command, optionsOrCb || {}, cb);
398
- } else {
399
- return this.send(command, optionsOrCb);
400
- }
401
- }
402
-
403
- /**
404
- * <p>Provides a JSON containing the overall information about a specific ML model, including model name and ARN,
405
- * dataset, training and evaluation information, status, and so on. </p>
406
- */
407
- public describeModel(
408
- args: DescribeModelCommandInput,
409
- options?: __HttpHandlerOptions
410
- ): Promise<DescribeModelCommandOutput>;
411
- public describeModel(
412
- args: DescribeModelCommandInput,
413
- cb: (err: any, data?: DescribeModelCommandOutput) => void
414
- ): void;
415
- public describeModel(
416
- args: DescribeModelCommandInput,
417
- options: __HttpHandlerOptions,
418
- cb: (err: any, data?: DescribeModelCommandOutput) => void
419
- ): void;
420
- public describeModel(
421
- args: DescribeModelCommandInput,
422
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeModelCommandOutput) => void),
423
- cb?: (err: any, data?: DescribeModelCommandOutput) => void
424
- ): Promise<DescribeModelCommandOutput> | void {
425
- const command = new DescribeModelCommand(args);
426
- if (typeof optionsOrCb === "function") {
427
- this.send(command, optionsOrCb);
428
- } else if (typeof cb === "function") {
429
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
430
- this.send(command, optionsOrCb || {}, cb);
431
- } else {
432
- return this.send(command, optionsOrCb);
433
- }
434
- }
435
-
436
- /**
437
- * <p>Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location
438
- * of the input data, status, and so on. </p>
439
- */
440
- public listDataIngestionJobs(
441
- args: ListDataIngestionJobsCommandInput,
442
- options?: __HttpHandlerOptions
443
- ): Promise<ListDataIngestionJobsCommandOutput>;
444
- public listDataIngestionJobs(
445
- args: ListDataIngestionJobsCommandInput,
446
- cb: (err: any, data?: ListDataIngestionJobsCommandOutput) => void
447
- ): void;
448
- public listDataIngestionJobs(
449
- args: ListDataIngestionJobsCommandInput,
450
- options: __HttpHandlerOptions,
451
- cb: (err: any, data?: ListDataIngestionJobsCommandOutput) => void
452
- ): void;
453
- public listDataIngestionJobs(
454
- args: ListDataIngestionJobsCommandInput,
455
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDataIngestionJobsCommandOutput) => void),
456
- cb?: (err: any, data?: ListDataIngestionJobsCommandOutput) => void
457
- ): Promise<ListDataIngestionJobsCommandOutput> | void {
458
- const command = new ListDataIngestionJobsCommand(args);
459
- if (typeof optionsOrCb === "function") {
460
- this.send(command, optionsOrCb);
461
- } else if (typeof cb === "function") {
462
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
- this.send(command, optionsOrCb || {}, cb);
464
- } else {
465
- return this.send(command, optionsOrCb);
466
- }
467
- }
468
-
469
- /**
470
- * <p>Lists all datasets currently available in your account, filtering on the dataset name.
471
- * </p>
472
- */
473
- public listDatasets(
474
- args: ListDatasetsCommandInput,
475
- options?: __HttpHandlerOptions
476
- ): Promise<ListDatasetsCommandOutput>;
477
- public listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
478
- public listDatasets(
479
- args: ListDatasetsCommandInput,
480
- options: __HttpHandlerOptions,
481
- cb: (err: any, data?: ListDatasetsCommandOutput) => void
482
- ): void;
483
- public listDatasets(
484
- args: ListDatasetsCommandInput,
485
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetsCommandOutput) => void),
486
- cb?: (err: any, data?: ListDatasetsCommandOutput) => void
487
- ): Promise<ListDatasetsCommandOutput> | void {
488
- const command = new ListDatasetsCommand(args);
489
- if (typeof optionsOrCb === "function") {
490
- this.send(command, optionsOrCb);
491
- } else if (typeof cb === "function") {
492
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
493
- this.send(command, optionsOrCb || {}, cb);
494
- } else {
495
- return this.send(command, optionsOrCb);
496
- }
497
- }
498
-
499
- /**
500
- * <p> Lists all inference executions that have been performed by the specified inference
501
- * scheduler. </p>
502
- */
503
- public listInferenceExecutions(
504
- args: ListInferenceExecutionsCommandInput,
505
- options?: __HttpHandlerOptions
506
- ): Promise<ListInferenceExecutionsCommandOutput>;
507
- public listInferenceExecutions(
508
- args: ListInferenceExecutionsCommandInput,
509
- cb: (err: any, data?: ListInferenceExecutionsCommandOutput) => void
510
- ): void;
511
- public listInferenceExecutions(
512
- args: ListInferenceExecutionsCommandInput,
513
- options: __HttpHandlerOptions,
514
- cb: (err: any, data?: ListInferenceExecutionsCommandOutput) => void
515
- ): void;
516
- public listInferenceExecutions(
517
- args: ListInferenceExecutionsCommandInput,
518
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListInferenceExecutionsCommandOutput) => void),
519
- cb?: (err: any, data?: ListInferenceExecutionsCommandOutput) => void
520
- ): Promise<ListInferenceExecutionsCommandOutput> | void {
521
- const command = new ListInferenceExecutionsCommand(args);
522
- if (typeof optionsOrCb === "function") {
523
- this.send(command, optionsOrCb);
524
- } else if (typeof cb === "function") {
525
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
526
- this.send(command, optionsOrCb || {}, cb);
527
- } else {
528
- return this.send(command, optionsOrCb);
529
- }
530
- }
531
-
532
- /**
533
- * <p>Retrieves a list of all inference schedulers currently available for your account.
534
- * </p>
535
- */
536
- public listInferenceSchedulers(
537
- args: ListInferenceSchedulersCommandInput,
538
- options?: __HttpHandlerOptions
539
- ): Promise<ListInferenceSchedulersCommandOutput>;
540
- public listInferenceSchedulers(
541
- args: ListInferenceSchedulersCommandInput,
542
- cb: (err: any, data?: ListInferenceSchedulersCommandOutput) => void
543
- ): void;
544
- public listInferenceSchedulers(
545
- args: ListInferenceSchedulersCommandInput,
546
- options: __HttpHandlerOptions,
547
- cb: (err: any, data?: ListInferenceSchedulersCommandOutput) => void
548
- ): void;
549
- public listInferenceSchedulers(
550
- args: ListInferenceSchedulersCommandInput,
551
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListInferenceSchedulersCommandOutput) => void),
552
- cb?: (err: any, data?: ListInferenceSchedulersCommandOutput) => void
553
- ): Promise<ListInferenceSchedulersCommandOutput> | void {
554
- const command = new ListInferenceSchedulersCommand(args);
555
- if (typeof optionsOrCb === "function") {
556
- this.send(command, optionsOrCb);
557
- } else if (typeof cb === "function") {
558
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
559
- this.send(command, optionsOrCb || {}, cb);
560
- } else {
561
- return this.send(command, optionsOrCb);
562
- }
563
- }
564
-
565
- /**
566
- * <p>Generates a list of all models in the account, including model name and ARN, dataset,
567
- * and status. </p>
568
- */
569
- public listModels(args: ListModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelsCommandOutput>;
570
- public listModels(args: ListModelsCommandInput, cb: (err: any, data?: ListModelsCommandOutput) => void): void;
571
- public listModels(
572
- args: ListModelsCommandInput,
573
- options: __HttpHandlerOptions,
574
- cb: (err: any, data?: ListModelsCommandOutput) => void
575
- ): void;
576
- public listModels(
577
- args: ListModelsCommandInput,
578
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListModelsCommandOutput) => void),
579
- cb?: (err: any, data?: ListModelsCommandOutput) => void
580
- ): Promise<ListModelsCommandOutput> | void {
581
- const command = new ListModelsCommand(args);
582
- if (typeof optionsOrCb === "function") {
583
- this.send(command, optionsOrCb);
584
- } else if (typeof cb === "function") {
585
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
586
- this.send(command, optionsOrCb || {}, cb);
587
- } else {
588
- return this.send(command, optionsOrCb);
589
- }
590
- }
591
-
592
- /**
593
- * <p>Lists all the tags for a specified resource, including key and value. </p>
594
- */
595
- public listTagsForResource(
596
- args: ListTagsForResourceCommandInput,
597
- options?: __HttpHandlerOptions
598
- ): Promise<ListTagsForResourceCommandOutput>;
599
- public listTagsForResource(
600
- args: ListTagsForResourceCommandInput,
601
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
602
- ): void;
603
- public listTagsForResource(
604
- args: ListTagsForResourceCommandInput,
605
- options: __HttpHandlerOptions,
606
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
607
- ): void;
608
- public listTagsForResource(
609
- args: ListTagsForResourceCommandInput,
610
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
611
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
612
- ): Promise<ListTagsForResourceCommandOutput> | void {
613
- const command = new ListTagsForResourceCommand(args);
614
- if (typeof optionsOrCb === "function") {
615
- this.send(command, optionsOrCb);
616
- } else if (typeof cb === "function") {
617
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
618
- this.send(command, optionsOrCb || {}, cb);
619
- } else {
620
- return this.send(command, optionsOrCb);
621
- }
622
- }
623
-
624
- /**
625
- * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. </p>
626
- */
627
- public startDataIngestionJob(
628
- args: StartDataIngestionJobCommandInput,
629
- options?: __HttpHandlerOptions
630
- ): Promise<StartDataIngestionJobCommandOutput>;
631
- public startDataIngestionJob(
632
- args: StartDataIngestionJobCommandInput,
633
- cb: (err: any, data?: StartDataIngestionJobCommandOutput) => void
634
- ): void;
635
- public startDataIngestionJob(
636
- args: StartDataIngestionJobCommandInput,
637
- options: __HttpHandlerOptions,
638
- cb: (err: any, data?: StartDataIngestionJobCommandOutput) => void
639
- ): void;
640
- public startDataIngestionJob(
641
- args: StartDataIngestionJobCommandInput,
642
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDataIngestionJobCommandOutput) => void),
643
- cb?: (err: any, data?: StartDataIngestionJobCommandOutput) => void
644
- ): Promise<StartDataIngestionJobCommandOutput> | void {
645
- const command = new StartDataIngestionJobCommand(args);
646
- if (typeof optionsOrCb === "function") {
647
- this.send(command, optionsOrCb);
648
- } else if (typeof cb === "function") {
649
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
650
- this.send(command, optionsOrCb || {}, cb);
651
- } else {
652
- return this.send(command, optionsOrCb);
653
- }
654
- }
655
-
656
- /**
657
- * <p>Starts an inference scheduler. </p>
658
- */
659
- public startInferenceScheduler(
660
- args: StartInferenceSchedulerCommandInput,
661
- options?: __HttpHandlerOptions
662
- ): Promise<StartInferenceSchedulerCommandOutput>;
663
- public startInferenceScheduler(
664
- args: StartInferenceSchedulerCommandInput,
665
- cb: (err: any, data?: StartInferenceSchedulerCommandOutput) => void
666
- ): void;
667
- public startInferenceScheduler(
668
- args: StartInferenceSchedulerCommandInput,
669
- options: __HttpHandlerOptions,
670
- cb: (err: any, data?: StartInferenceSchedulerCommandOutput) => void
671
- ): void;
672
- public startInferenceScheduler(
673
- args: StartInferenceSchedulerCommandInput,
674
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartInferenceSchedulerCommandOutput) => void),
675
- cb?: (err: any, data?: StartInferenceSchedulerCommandOutput) => void
676
- ): Promise<StartInferenceSchedulerCommandOutput> | void {
677
- const command = new StartInferenceSchedulerCommand(args);
678
- if (typeof optionsOrCb === "function") {
679
- this.send(command, optionsOrCb);
680
- } else if (typeof cb === "function") {
681
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
682
- this.send(command, optionsOrCb || {}, cb);
683
- } else {
684
- return this.send(command, optionsOrCb);
685
- }
686
- }
687
-
688
- /**
689
- * <p>Stops an inference scheduler. </p>
690
- */
691
- public stopInferenceScheduler(
692
- args: StopInferenceSchedulerCommandInput,
693
- options?: __HttpHandlerOptions
694
- ): Promise<StopInferenceSchedulerCommandOutput>;
695
- public stopInferenceScheduler(
696
- args: StopInferenceSchedulerCommandInput,
697
- cb: (err: any, data?: StopInferenceSchedulerCommandOutput) => void
698
- ): void;
699
- public stopInferenceScheduler(
700
- args: StopInferenceSchedulerCommandInput,
701
- options: __HttpHandlerOptions,
702
- cb: (err: any, data?: StopInferenceSchedulerCommandOutput) => void
703
- ): void;
704
- public stopInferenceScheduler(
705
- args: StopInferenceSchedulerCommandInput,
706
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopInferenceSchedulerCommandOutput) => void),
707
- cb?: (err: any, data?: StopInferenceSchedulerCommandOutput) => void
708
- ): Promise<StopInferenceSchedulerCommandOutput> | void {
709
- const command = new StopInferenceSchedulerCommand(args);
710
- if (typeof optionsOrCb === "function") {
711
- this.send(command, optionsOrCb);
712
- } else if (typeof cb === "function") {
713
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
714
- this.send(command, optionsOrCb || {}, cb);
715
- } else {
716
- return this.send(command, optionsOrCb);
717
- }
718
- }
719
-
720
- /**
721
- * <p>Associates a given tag to a resource in your account. A tag is a key-value pair which
722
- * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your
723
- * resources as well as helping you to search and filter by tag. Multiple tags can be added to
724
- * a resource, either when you create it, or later. Up to 50 tags can be associated with each
725
- * resource. </p>
726
- */
727
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
728
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
729
- public tagResource(
730
- args: TagResourceCommandInput,
731
- options: __HttpHandlerOptions,
732
- cb: (err: any, data?: TagResourceCommandOutput) => void
733
- ): void;
734
- public tagResource(
735
- args: TagResourceCommandInput,
736
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
737
- cb?: (err: any, data?: TagResourceCommandOutput) => void
738
- ): Promise<TagResourceCommandOutput> | void {
739
- const command = new TagResourceCommand(args);
740
- if (typeof optionsOrCb === "function") {
741
- this.send(command, optionsOrCb);
742
- } else if (typeof cb === "function") {
743
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
744
- this.send(command, optionsOrCb || {}, cb);
745
- } else {
746
- return this.send(command, optionsOrCb);
747
- }
748
- }
749
-
750
- /**
751
- * <p>Removes a specific tag from a given resource. The tag is specified by its key. </p>
752
- */
753
- public untagResource(
754
- args: UntagResourceCommandInput,
755
- options?: __HttpHandlerOptions
756
- ): Promise<UntagResourceCommandOutput>;
757
- public untagResource(
758
- args: UntagResourceCommandInput,
759
- cb: (err: any, data?: UntagResourceCommandOutput) => void
760
- ): void;
761
- public untagResource(
762
- args: UntagResourceCommandInput,
763
- options: __HttpHandlerOptions,
764
- cb: (err: any, data?: UntagResourceCommandOutput) => void
765
- ): void;
766
- public untagResource(
767
- args: UntagResourceCommandInput,
768
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
769
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
770
- ): Promise<UntagResourceCommandOutput> | void {
771
- const command = new UntagResourceCommand(args);
772
- if (typeof optionsOrCb === "function") {
773
- this.send(command, optionsOrCb);
774
- } else if (typeof cb === "function") {
775
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
776
- this.send(command, optionsOrCb || {}, cb);
777
- } else {
778
- return this.send(command, optionsOrCb);
779
- }
780
- }
781
-
782
- /**
783
- * <p>Updates an inference scheduler. </p>
784
- */
785
- public updateInferenceScheduler(
786
- args: UpdateInferenceSchedulerCommandInput,
787
- options?: __HttpHandlerOptions
788
- ): Promise<UpdateInferenceSchedulerCommandOutput>;
789
- public updateInferenceScheduler(
790
- args: UpdateInferenceSchedulerCommandInput,
791
- cb: (err: any, data?: UpdateInferenceSchedulerCommandOutput) => void
792
- ): void;
793
- public updateInferenceScheduler(
794
- args: UpdateInferenceSchedulerCommandInput,
795
- options: __HttpHandlerOptions,
796
- cb: (err: any, data?: UpdateInferenceSchedulerCommandOutput) => void
797
- ): void;
798
- public updateInferenceScheduler(
799
- args: UpdateInferenceSchedulerCommandInput,
800
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateInferenceSchedulerCommandOutput) => void),
801
- cb?: (err: any, data?: UpdateInferenceSchedulerCommandOutput) => void
802
- ): Promise<UpdateInferenceSchedulerCommandOutput> | void {
803
- const command = new UpdateInferenceSchedulerCommand(args);
804
- if (typeof optionsOrCb === "function") {
805
- this.send(command, optionsOrCb);
806
- } else if (typeof cb === "function") {
807
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
808
- this.send(command, optionsOrCb || {}, cb);
809
- } else {
810
- return this.send(command, optionsOrCb);
811
- }
812
- }
813
- }