@aws-sdk/client-lookoutequipment 3.109.0 → 3.117.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 (39) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +3 -2
  3. package/dist-cjs/LookoutEquipment.js +15 -0
  4. package/dist-cjs/commands/ListInferenceEventsCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +19 -1
  7. package/dist-cjs/pagination/ListInferenceEventsPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_json1_0.js +104 -1
  10. package/dist-es/LookoutEquipment.js +15 -0
  11. package/dist-es/commands/ListInferenceEventsCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/models/models_0.js +12 -0
  14. package/dist-es/pagination/ListInferenceEventsPaginator.js +75 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_json1_0.js +116 -0
  17. package/dist-types/LookoutEquipment.d.ts +32 -19
  18. package/dist-types/LookoutEquipmentClient.d.ts +6 -4
  19. package/dist-types/commands/CreateModelCommand.d.ts +4 -4
  20. package/dist-types/commands/DeleteModelCommand.d.ts +3 -2
  21. package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeModelCommand.d.ts +3 -2
  23. package/dist-types/commands/ListInferenceEventsCommand.d.ts +36 -0
  24. package/dist-types/commands/ListSensorStatisticsCommand.d.ts +3 -3
  25. package/dist-types/commands/StartDataIngestionJobCommand.d.ts +2 -1
  26. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  27. package/dist-types/commands/index.d.ts +1 -0
  28. package/dist-types/models/models_0.d.ts +310 -349
  29. package/dist-types/pagination/ListInferenceEventsPaginator.d.ts +4 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  32. package/dist-types/ts3.4/LookoutEquipment.d.ts +5 -0
  33. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +3 -2
  34. package/dist-types/ts3.4/commands/ListInferenceEventsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/pagination/ListInferenceEventsPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
  39. package/package.json +26 -26
@@ -136,6 +136,17 @@ export var serializeAws_json1_0ListDatasetsCommand = function (input, context) {
136
136
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
137
137
  });
138
138
  }); };
139
+ export var serializeAws_json1_0ListInferenceEventsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
140
+ var headers, body;
141
+ return __generator(this, function (_a) {
142
+ headers = {
143
+ "content-type": "application/x-amz-json-1.0",
144
+ "x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceEvents",
145
+ };
146
+ body = JSON.stringify(serializeAws_json1_0ListInferenceEventsRequest(input, context));
147
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
148
+ });
149
+ }); };
139
150
  export var serializeAws_json1_0ListInferenceExecutionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
140
151
  var headers, body;
141
152
  return __generator(this, function (_a) {
@@ -1065,6 +1076,72 @@ var deserializeAws_json1_0ListDatasetsCommandError = function (output, context)
1065
1076
  }
1066
1077
  });
1067
1078
  }); };
1079
+ export var deserializeAws_json1_0ListInferenceEventsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1080
+ var data, contents, response;
1081
+ return __generator(this, function (_a) {
1082
+ switch (_a.label) {
1083
+ case 0:
1084
+ if (output.statusCode >= 300) {
1085
+ return [2, deserializeAws_json1_0ListInferenceEventsCommandError(output, context)];
1086
+ }
1087
+ return [4, parseBody(output.body, context)];
1088
+ case 1:
1089
+ data = _a.sent();
1090
+ contents = {};
1091
+ contents = deserializeAws_json1_0ListInferenceEventsResponse(data, context);
1092
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
1093
+ return [2, Promise.resolve(response)];
1094
+ }
1095
+ });
1096
+ }); };
1097
+ var deserializeAws_json1_0ListInferenceEventsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1098
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
1099
+ var _c;
1100
+ return __generator(this, function (_d) {
1101
+ switch (_d.label) {
1102
+ case 0:
1103
+ _a = [__assign({}, output)];
1104
+ _c = {};
1105
+ return [4, parseBody(output.body, context)];
1106
+ case 1:
1107
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1108
+ errorCode = "UnknownError";
1109
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1110
+ _b = errorCode;
1111
+ switch (_b) {
1112
+ case "AccessDeniedException": return [3, 2];
1113
+ case "com.amazonaws.lookoutequipment#AccessDeniedException": return [3, 2];
1114
+ case "InternalServerException": return [3, 4];
1115
+ case "com.amazonaws.lookoutequipment#InternalServerException": return [3, 4];
1116
+ case "ResourceNotFoundException": return [3, 6];
1117
+ case "com.amazonaws.lookoutequipment#ResourceNotFoundException": return [3, 6];
1118
+ case "ThrottlingException": return [3, 8];
1119
+ case "com.amazonaws.lookoutequipment#ThrottlingException": return [3, 8];
1120
+ case "ValidationException": return [3, 10];
1121
+ case "com.amazonaws.lookoutequipment#ValidationException": return [3, 10];
1122
+ }
1123
+ return [3, 12];
1124
+ case 2: return [4, deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context)];
1125
+ case 3: throw _d.sent();
1126
+ case 4: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
1127
+ case 5: throw _d.sent();
1128
+ case 6: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
1129
+ case 7: throw _d.sent();
1130
+ case 8: return [4, deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)];
1131
+ case 9: throw _d.sent();
1132
+ case 10: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
1133
+ case 11: throw _d.sent();
1134
+ case 12:
1135
+ parsedBody = parsedOutput.body;
1136
+ response = new __BaseException({
1137
+ name: parsedBody.code || parsedBody.Code || errorCode,
1138
+ $fault: "client",
1139
+ $metadata: deserializeMetadata(output),
1140
+ });
1141
+ throw __decorateServiceException(response, parsedBody);
1142
+ }
1143
+ });
1144
+ }); };
1068
1145
  export var deserializeAws_json1_0ListInferenceExecutionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1069
1146
  var data, contents, response;
1070
1147
  return __generator(this, function (_a) {
@@ -2001,6 +2078,12 @@ var serializeAws_json1_0ListDatasetsRequest = function (input, context) {
2001
2078
  return __assign(__assign(__assign({}, (input.DatasetNameBeginsWith !== undefined &&
2002
2079
  input.DatasetNameBeginsWith !== null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
2003
2080
  };
2081
+ var serializeAws_json1_0ListInferenceEventsRequest = function (input, context) {
2082
+ return __assign(__assign(__assign(__assign(__assign({}, (input.InferenceSchedulerName !== undefined &&
2083
+ input.InferenceSchedulerName !== null && { InferenceSchedulerName: input.InferenceSchedulerName })), (input.IntervalEndTime !== undefined &&
2084
+ input.IntervalEndTime !== null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) })), (input.IntervalStartTime !== undefined &&
2085
+ input.IntervalStartTime !== null && { IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
2086
+ };
2004
2087
  var serializeAws_json1_0ListInferenceExecutionsRequest = function (input, context) {
2005
2088
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataEndTimeBefore !== undefined &&
2006
2089
  input.DataEndTimeBefore !== null && { DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000) })), (input.DataStartTimeAfter !== undefined &&
@@ -2330,6 +2413,31 @@ var deserializeAws_json1_0DuplicateTimestamps = function (output, context) {
2330
2413
  TotalNumberOfDuplicateTimestamps: __expectInt32(output.TotalNumberOfDuplicateTimestamps),
2331
2414
  };
2332
2415
  };
2416
+ var deserializeAws_json1_0InferenceEventSummaries = function (output, context) {
2417
+ var retVal = (output || [])
2418
+ .filter(function (e) { return e != null; })
2419
+ .map(function (entry) {
2420
+ if (entry === null) {
2421
+ return null;
2422
+ }
2423
+ return deserializeAws_json1_0InferenceEventSummary(entry, context);
2424
+ });
2425
+ return retVal;
2426
+ };
2427
+ var deserializeAws_json1_0InferenceEventSummary = function (output, context) {
2428
+ return {
2429
+ Diagnostics: __expectString(output.Diagnostics),
2430
+ EventDurationInSeconds: __expectLong(output.EventDurationInSeconds),
2431
+ EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
2432
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventEndTime)))
2433
+ : undefined,
2434
+ EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
2435
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventStartTime)))
2436
+ : undefined,
2437
+ InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
2438
+ InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
2439
+ };
2440
+ };
2333
2441
  var deserializeAws_json1_0InferenceExecutionSummaries = function (output, context) {
2334
2442
  var retVal = (output || [])
2335
2443
  .filter(function (e) { return e != null; })
@@ -2508,6 +2616,14 @@ var deserializeAws_json1_0ListDatasetsResponse = function (output, context) {
2508
2616
  NextToken: __expectString(output.NextToken),
2509
2617
  };
2510
2618
  };
2619
+ var deserializeAws_json1_0ListInferenceEventsResponse = function (output, context) {
2620
+ return {
2621
+ InferenceEventSummaries: output.InferenceEventSummaries !== undefined && output.InferenceEventSummaries !== null
2622
+ ? deserializeAws_json1_0InferenceEventSummaries(output.InferenceEventSummaries, context)
2623
+ : undefined,
2624
+ NextToken: __expectString(output.NextToken),
2625
+ };
2626
+ };
2511
2627
  var deserializeAws_json1_0ListInferenceExecutionsResponse = function (output, context) {
2512
2628
  return {
2513
2629
  InferenceExecutionSummaries: output.InferenceExecutionSummaries !== undefined && output.InferenceExecutionSummaries !== null
@@ -11,6 +11,7 @@ import { DescribeInferenceSchedulerCommandInput, DescribeInferenceSchedulerComma
11
11
  import { DescribeModelCommandInput, DescribeModelCommandOutput } from "./commands/DescribeModelCommand";
12
12
  import { ListDataIngestionJobsCommandInput, ListDataIngestionJobsCommandOutput } from "./commands/ListDataIngestionJobsCommand";
13
13
  import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
14
+ import { ListInferenceEventsCommandInput, ListInferenceEventsCommandOutput } from "./commands/ListInferenceEventsCommand";
14
15
  import { ListInferenceExecutionsCommandInput, ListInferenceExecutionsCommandOutput } from "./commands/ListInferenceExecutionsCommand";
15
16
  import { ListInferenceSchedulersCommandInput, ListInferenceSchedulersCommandOutput } from "./commands/ListInferenceSchedulersCommand";
16
17
  import { ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
@@ -24,8 +25,9 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
24
25
  import { UpdateInferenceSchedulerCommandInput, UpdateInferenceSchedulerCommandOutput } from "./commands/UpdateInferenceSchedulerCommand";
25
26
  import { LookoutEquipmentClient } from "./LookoutEquipmentClient";
26
27
  /**
27
- * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
28
- * anomalies in machines from sensor data for use in predictive maintenance. </p>
28
+ * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics
29
+ * to identify anomalies in machines from sensor data for use in predictive maintenance.
30
+ * </p>
29
31
  */
30
32
  export declare class LookoutEquipment extends LookoutEquipmentClient {
31
33
  /**
@@ -50,10 +52,10 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
50
52
  /**
51
53
  * <p>Creates an ML model for data inference. </p>
52
54
  * <p>A machine-learning (ML) model is a mathematical model that finds patterns in your data.
53
- * In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal
54
- * behavior that could be potential equipment failure (or maintenance events). The models are
55
- * made by analyzing normal data and abnormalities in machine behavior that have already
56
- * occurred.</p>
55
+ * In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and
56
+ * detects abnormal behavior that could be potential equipment failure (or maintenance
57
+ * events). The models are made by analyzing normal data and abnormalities in machine behavior
58
+ * that have already occurred.</p>
57
59
  * <p>Your model is trained using a portion of the data from your dataset and uses that data
58
60
  * to learn patterns of normal behavior and abnormal patterns that lead to equipment failure.
59
61
  * Another portion of the data is used to evaluate the model's accuracy. </p>
@@ -79,8 +81,9 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
79
81
  deleteInferenceScheduler(args: DeleteInferenceSchedulerCommandInput, cb: (err: any, data?: DeleteInferenceSchedulerCommandOutput) => void): void;
80
82
  deleteInferenceScheduler(args: DeleteInferenceSchedulerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInferenceSchedulerCommandOutput) => void): void;
81
83
  /**
82
- * <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from
83
- * being used with an inference scheduler, even one that is already set up. </p>
84
+ * <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will
85
+ * prevent it from being used with an inference scheduler, even one that is already set up.
86
+ * </p>
84
87
  */
85
88
  deleteModel(args: DeleteModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelCommandOutput>;
86
89
  deleteModel(args: DeleteModelCommandInput, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
@@ -93,7 +96,8 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
93
96
  describeDataIngestionJob(args: DescribeDataIngestionJobCommandInput, cb: (err: any, data?: DescribeDataIngestionJobCommandOutput) => void): void;
94
97
  describeDataIngestionJob(args: DescribeDataIngestionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataIngestionJobCommandOutput) => void): void;
95
98
  /**
96
- * <p>Provides a JSON description of the data in each time series dataset, including names, column names, and data types.</p>
99
+ * <p>Provides a JSON description of the data in each time series dataset, including names,
100
+ * column names, and data types.</p>
97
101
  */
98
102
  describeDataset(args: DescribeDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatasetCommandOutput>;
99
103
  describeDataset(args: DescribeDatasetCommandInput, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
@@ -106,8 +110,9 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
106
110
  describeInferenceScheduler(args: DescribeInferenceSchedulerCommandInput, cb: (err: any, data?: DescribeInferenceSchedulerCommandOutput) => void): void;
107
111
  describeInferenceScheduler(args: DescribeInferenceSchedulerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInferenceSchedulerCommandOutput) => void): void;
108
112
  /**
109
- * <p>Provides a JSON containing the overall information about a specific ML model, including model name and ARN,
110
- * dataset, training and evaluation information, status, and so on. </p>
113
+ * <p>Provides a JSON containing the overall information about a specific ML model, including
114
+ * model name and ARN, dataset, training and evaluation information, status, and so on.
115
+ * </p>
111
116
  */
112
117
  describeModel(args: DescribeModelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeModelCommandOutput>;
113
118
  describeModel(args: DescribeModelCommandInput, cb: (err: any, data?: DescribeModelCommandOutput) => void): void;
@@ -126,6 +131,13 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
126
131
  listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
127
132
  listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
128
133
  listDatasets(args: ListDatasetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
134
+ /**
135
+ * <p> Lists all inference events that have been found for the specified inference
136
+ * scheduler. </p>
137
+ */
138
+ listInferenceEvents(args: ListInferenceEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListInferenceEventsCommandOutput>;
139
+ listInferenceEvents(args: ListInferenceEventsCommandInput, cb: (err: any, data?: ListInferenceEventsCommandOutput) => void): void;
140
+ listInferenceEvents(args: ListInferenceEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInferenceEventsCommandOutput) => void): void;
129
141
  /**
130
142
  * <p> Lists all inference executions that have been performed by the specified inference
131
143
  * scheduler. </p>
@@ -148,9 +160,9 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
148
160
  listModels(args: ListModelsCommandInput, cb: (err: any, data?: ListModelsCommandOutput) => void): void;
149
161
  listModels(args: ListModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelsCommandOutput) => void): void;
150
162
  /**
151
- * <p>
152
- * Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job.
153
- * </p>
163
+ * <p> Lists statistics about the data collected for each of the sensors that have been
164
+ * successfully ingested in the particular dataset. Can also be used to retreive Sensor
165
+ * Statistics for a previous ingestion job. </p>
154
166
  */
155
167
  listSensorStatistics(args: ListSensorStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<ListSensorStatisticsCommandOutput>;
156
168
  listSensorStatistics(args: ListSensorStatisticsCommandInput, cb: (err: any, data?: ListSensorStatisticsCommandOutput) => void): void;
@@ -162,7 +174,8 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
162
174
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
163
175
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
164
176
  /**
165
- * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. </p>
177
+ * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
178
+ * </p>
166
179
  */
167
180
  startDataIngestionJob(args: StartDataIngestionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartDataIngestionJobCommandOutput>;
168
181
  startDataIngestionJob(args: StartDataIngestionJobCommandInput, cb: (err: any, data?: StartDataIngestionJobCommandOutput) => void): void;
@@ -181,10 +194,10 @@ export declare class LookoutEquipment extends LookoutEquipmentClient {
181
194
  stopInferenceScheduler(args: StopInferenceSchedulerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopInferenceSchedulerCommandOutput) => void): void;
182
195
  /**
183
196
  * <p>Associates a given tag to a resource in your account. A tag is a key-value pair which
184
- * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your
185
- * resources as well as helping you to search and filter by tag. Multiple tags can be added to
186
- * a resource, either when you create it, or later. Up to 50 tags can be associated with each
187
- * resource. </p>
197
+ * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for
198
+ * organizing your resources as well as helping you to search and filter by tag. Multiple tags
199
+ * can be added to a resource, either when you create it, or later. Up to 50 tags can be
200
+ * associated with each resource. </p>
188
201
  */
189
202
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
190
203
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -18,6 +18,7 @@ import { DescribeInferenceSchedulerCommandInput, DescribeInferenceSchedulerComma
18
18
  import { DescribeModelCommandInput, DescribeModelCommandOutput } from "./commands/DescribeModelCommand";
19
19
  import { ListDataIngestionJobsCommandInput, ListDataIngestionJobsCommandOutput } from "./commands/ListDataIngestionJobsCommand";
20
20
  import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
21
+ import { ListInferenceEventsCommandInput, ListInferenceEventsCommandOutput } from "./commands/ListInferenceEventsCommand";
21
22
  import { ListInferenceExecutionsCommandInput, ListInferenceExecutionsCommandOutput } from "./commands/ListInferenceExecutionsCommand";
22
23
  import { ListInferenceSchedulersCommandInput, ListInferenceSchedulersCommandOutput } from "./commands/ListInferenceSchedulersCommand";
23
24
  import { ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
@@ -29,8 +30,8 @@ import { StopInferenceSchedulerCommandInput, StopInferenceSchedulerCommandOutput
29
30
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
30
31
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
32
  import { UpdateInferenceSchedulerCommandInput, UpdateInferenceSchedulerCommandOutput } from "./commands/UpdateInferenceSchedulerCommand";
32
- export declare type ServiceInputTypes = CreateDatasetCommandInput | CreateInferenceSchedulerCommandInput | CreateModelCommandInput | DeleteDatasetCommandInput | DeleteInferenceSchedulerCommandInput | DeleteModelCommandInput | DescribeDataIngestionJobCommandInput | DescribeDatasetCommandInput | DescribeInferenceSchedulerCommandInput | DescribeModelCommandInput | ListDataIngestionJobsCommandInput | ListDatasetsCommandInput | ListInferenceExecutionsCommandInput | ListInferenceSchedulersCommandInput | ListModelsCommandInput | ListSensorStatisticsCommandInput | ListTagsForResourceCommandInput | StartDataIngestionJobCommandInput | StartInferenceSchedulerCommandInput | StopInferenceSchedulerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateInferenceSchedulerCommandInput;
33
- export declare type ServiceOutputTypes = CreateDatasetCommandOutput | CreateInferenceSchedulerCommandOutput | CreateModelCommandOutput | DeleteDatasetCommandOutput | DeleteInferenceSchedulerCommandOutput | DeleteModelCommandOutput | DescribeDataIngestionJobCommandOutput | DescribeDatasetCommandOutput | DescribeInferenceSchedulerCommandOutput | DescribeModelCommandOutput | ListDataIngestionJobsCommandOutput | ListDatasetsCommandOutput | ListInferenceExecutionsCommandOutput | ListInferenceSchedulersCommandOutput | ListModelsCommandOutput | ListSensorStatisticsCommandOutput | ListTagsForResourceCommandOutput | StartDataIngestionJobCommandOutput | StartInferenceSchedulerCommandOutput | StopInferenceSchedulerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateInferenceSchedulerCommandOutput;
33
+ export declare type ServiceInputTypes = CreateDatasetCommandInput | CreateInferenceSchedulerCommandInput | CreateModelCommandInput | DeleteDatasetCommandInput | DeleteInferenceSchedulerCommandInput | DeleteModelCommandInput | DescribeDataIngestionJobCommandInput | DescribeDatasetCommandInput | DescribeInferenceSchedulerCommandInput | DescribeModelCommandInput | ListDataIngestionJobsCommandInput | ListDatasetsCommandInput | ListInferenceEventsCommandInput | ListInferenceExecutionsCommandInput | ListInferenceSchedulersCommandInput | ListModelsCommandInput | ListSensorStatisticsCommandInput | ListTagsForResourceCommandInput | StartDataIngestionJobCommandInput | StartInferenceSchedulerCommandInput | StopInferenceSchedulerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateInferenceSchedulerCommandInput;
34
+ export declare type ServiceOutputTypes = CreateDatasetCommandOutput | CreateInferenceSchedulerCommandOutput | CreateModelCommandOutput | DeleteDatasetCommandOutput | DeleteInferenceSchedulerCommandOutput | DeleteModelCommandOutput | DescribeDataIngestionJobCommandOutput | DescribeDatasetCommandOutput | DescribeInferenceSchedulerCommandOutput | DescribeModelCommandOutput | ListDataIngestionJobsCommandOutput | ListDatasetsCommandOutput | ListInferenceEventsCommandOutput | ListInferenceExecutionsCommandOutput | ListInferenceSchedulersCommandOutput | ListModelsCommandOutput | ListSensorStatisticsCommandOutput | ListTagsForResourceCommandOutput | StartDataIngestionJobCommandOutput | StartInferenceSchedulerCommandOutput | StopInferenceSchedulerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateInferenceSchedulerCommandOutput;
34
35
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
35
36
  /**
36
37
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -149,8 +150,9 @@ declare type LookoutEquipmentClientResolvedConfigType = __SmithyResolvedConfigur
149
150
  export interface LookoutEquipmentClientResolvedConfig extends LookoutEquipmentClientResolvedConfigType {
150
151
  }
151
152
  /**
152
- * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
153
- * anomalies in machines from sensor data for use in predictive maintenance. </p>
153
+ * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics
154
+ * to identify anomalies in machines from sensor data for use in predictive maintenance.
155
+ * </p>
154
156
  */
155
157
  export declare class LookoutEquipmentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LookoutEquipmentClientResolvedConfig> {
156
158
  /**
@@ -9,10 +9,10 @@ export interface CreateModelCommandOutput extends CreateModelResponse, __Metadat
9
9
  /**
10
10
  * <p>Creates an ML model for data inference. </p>
11
11
  * <p>A machine-learning (ML) model is a mathematical model that finds patterns in your data.
12
- * In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal
13
- * behavior that could be potential equipment failure (or maintenance events). The models are
14
- * made by analyzing normal data and abnormalities in machine behavior that have already
15
- * occurred.</p>
12
+ * In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and
13
+ * detects abnormal behavior that could be potential equipment failure (or maintenance
14
+ * events). The models are made by analyzing normal data and abnormalities in machine behavior
15
+ * that have already occurred.</p>
16
16
  * <p>Your model is trained using a portion of the data from your dataset and uses that data
17
17
  * to learn patterns of normal behavior and abnormal patterns that lead to equipment failure.
18
18
  * Another portion of the data is used to evaluate the model's accuracy. </p>
@@ -7,8 +7,9 @@ export interface DeleteModelCommandInput extends DeleteModelRequest {
7
7
  export interface DeleteModelCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from
11
- * being used with an inference scheduler, even one that is already set up. </p>
10
+ * <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will
11
+ * prevent it from being used with an inference scheduler, even one that is already set up.
12
+ * </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {
7
7
  export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides a JSON description of the data in each time series dataset, including names, column names, and data types.</p>
10
+ * <p>Provides a JSON description of the data in each time series dataset, including names,
11
+ * column names, and data types.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,8 +7,9 @@ export interface DescribeModelCommandInput extends DescribeModelRequest {
7
7
  export interface DescribeModelCommandOutput extends DescribeModelResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides a JSON containing the overall information about a specific ML model, including model name and ARN,
11
- * dataset, training and evaluation information, status, and so on. </p>
10
+ * <p>Provides a JSON containing the overall information about a specific ML model, including
11
+ * model name and ARN, dataset, training and evaluation information, status, and so on.
12
+ * </p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
4
+ import { ListInferenceEventsRequest, ListInferenceEventsResponse } from "../models/models_0";
5
+ export interface ListInferenceEventsCommandInput extends ListInferenceEventsRequest {
6
+ }
7
+ export interface ListInferenceEventsCommandOutput extends ListInferenceEventsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p> Lists all inference events that have been found for the specified inference
11
+ * scheduler. </p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { LookoutEquipmentClient, ListInferenceEventsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
16
+ * // const { LookoutEquipmentClient, ListInferenceEventsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
17
+ * const client = new LookoutEquipmentClient(config);
18
+ * const command = new ListInferenceEventsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListInferenceEventsCommandInput} for command's `input` shape.
23
+ * @see {@link ListInferenceEventsCommandOutput} for command's `response` shape.
24
+ * @see {@link LookoutEquipmentClientResolvedConfig | config} for LookoutEquipmentClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListInferenceEventsCommand extends $Command<ListInferenceEventsCommandInput, ListInferenceEventsCommandOutput, LookoutEquipmentClientResolvedConfig> {
28
+ readonly input: ListInferenceEventsCommandInput;
29
+ constructor(input: ListInferenceEventsCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LookoutEquipmentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInferenceEventsCommandInput, ListInferenceEventsCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -7,9 +7,9 @@ export interface ListSensorStatisticsCommandInput extends ListSensorStatisticsRe
7
7
  export interface ListSensorStatisticsCommandOutput extends ListSensorStatisticsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>
11
- * Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job.
12
- * </p>
10
+ * <p> Lists statistics about the data collected for each of the sensors that have been
11
+ * successfully ingested in the particular dataset. Can also be used to retreive Sensor
12
+ * Statistics for a previous ingestion job. </p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -7,7 +7,8 @@ export interface StartDataIngestionJobCommandInput extends StartDataIngestionJob
7
7
  export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJobResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. </p>
10
+ * <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
11
+ * </p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -8,10 +8,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
8
8
  }
9
9
  /**
10
10
  * <p>Associates a given tag to a resource in your account. A tag is a key-value pair which
11
- * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your
12
- * resources as well as helping you to search and filter by tag. Multiple tags can be added to
13
- * a resource, either when you create it, or later. Up to 50 tags can be associated with each
14
- * resource. </p>
11
+ * can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for
12
+ * organizing your resources as well as helping you to search and filter by tag. Multiple tags
13
+ * can be added to a resource, either when you create it, or later. Up to 50 tags can be
14
+ * associated with each resource. </p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -10,6 +10,7 @@ export * from "./DescribeInferenceSchedulerCommand";
10
10
  export * from "./DescribeModelCommand";
11
11
  export * from "./ListDataIngestionJobsCommand";
12
12
  export * from "./ListDatasetsCommand";
13
+ export * from "./ListInferenceEventsCommand";
13
14
  export * from "./ListInferenceExecutionsCommand";
14
15
  export * from "./ListInferenceSchedulersCommand";
15
16
  export * from "./ListModelsCommand";