@aws-sdk/client-lookoutequipment 3.76.0 → 3.80.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.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/LookoutEquipment.js +15 -0
- package/dist-cjs/commands/ListSensorStatisticsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +121 -8
- package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -1
- package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelsPaginator.js +2 -1
- package/dist-cjs/pagination/ListSensorStatisticsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +264 -1
- package/dist-es/LookoutEquipment.js +15 -0
- package/dist-es/commands/ListSensorStatisticsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +83 -4
- package/dist-es/pagination/ListDataIngestionJobsPaginator.js +3 -2
- package/dist-es/pagination/ListDatasetsPaginator.js +3 -2
- package/dist-es/pagination/ListInferenceExecutionsPaginator.js +3 -2
- package/dist-es/pagination/ListInferenceSchedulersPaginator.js +3 -2
- package/dist-es/pagination/ListModelsPaginator.js +3 -2
- package/dist-es/pagination/ListSensorStatisticsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +278 -2
- package/dist-types/LookoutEquipment.d.ts +11 -2
- package/dist-types/LookoutEquipmentClient.d.ts +3 -2
- package/dist-types/commands/DescribeDataIngestionJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/ListSensorStatisticsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +656 -27
- package/dist-types/pagination/ListSensorStatisticsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
- package/dist-types/ts3.4/LookoutEquipment.d.ts +5 -0
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListSensorStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +54 -489
- package/dist-types/ts3.4/pagination/ListSensorStatisticsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.80.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.79.0...v3.80.0) (2022-04-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lookoutequipment
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-lookoutequipment:** This release adds the following new features: 1) Introduces an option for automatic schema creation 2) Now allows for Ingestion of data containing most common errors and allows automatic data cleaning 3) Introduces new API ListSensorStatistics that gives further information about the ingested data ([f35b0f3](https://github.com/aws/aws-sdk-js-v3/commit/f35b0f31b7cdbff7276da2ad6098895f3f0e22a6))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **types:** add pagination stopOnSameToken option ([#3524](https://github.com/aws/aws-sdk-js-v3/issues/3524)) ([9bf73e8](https://github.com/aws/aws-sdk-js-v3/commit/9bf73e81b8d9be9f12c72cbefbe26c502d1873c6))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-lookoutequipment
|
|
@@ -16,6 +16,7 @@ const ListDatasetsCommand_1 = require("./commands/ListDatasetsCommand");
|
|
|
16
16
|
const ListInferenceExecutionsCommand_1 = require("./commands/ListInferenceExecutionsCommand");
|
|
17
17
|
const ListInferenceSchedulersCommand_1 = require("./commands/ListInferenceSchedulersCommand");
|
|
18
18
|
const ListModelsCommand_1 = require("./commands/ListModelsCommand");
|
|
19
|
+
const ListSensorStatisticsCommand_1 = require("./commands/ListSensorStatisticsCommand");
|
|
19
20
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
20
21
|
const StartDataIngestionJobCommand_1 = require("./commands/StartDataIngestionJobCommand");
|
|
21
22
|
const StartInferenceSchedulerCommand_1 = require("./commands/StartInferenceSchedulerCommand");
|
|
@@ -235,6 +236,20 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
|
|
|
235
236
|
return this.send(command, optionsOrCb);
|
|
236
237
|
}
|
|
237
238
|
}
|
|
239
|
+
listSensorStatistics(args, optionsOrCb, cb) {
|
|
240
|
+
const command = new ListSensorStatisticsCommand_1.ListSensorStatisticsCommand(args);
|
|
241
|
+
if (typeof optionsOrCb === "function") {
|
|
242
|
+
this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
else if (typeof cb === "function") {
|
|
245
|
+
if (typeof optionsOrCb !== "object")
|
|
246
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
return this.send(command, optionsOrCb);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
238
253
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
239
254
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
240
255
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSensorStatisticsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class ListSensorStatisticsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LookoutEquipmentClient";
|
|
18
|
+
const commandName = "ListSensorStatisticsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListSensorStatisticsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListSensorStatisticsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListSensorStatisticsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListSensorStatisticsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListSensorStatisticsCommand = ListSensorStatisticsCommand;
|
|
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./ListDatasetsCommand"), exports);
|
|
|
16
16
|
tslib_1.__exportStar(require("./ListInferenceExecutionsCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./ListInferenceSchedulersCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./ListModelsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListSensorStatisticsCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./StartDataIngestionJobCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./StartInferenceSchedulerCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateInferenceSchedulerRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopInferenceSchedulerResponse = exports.StopInferenceSchedulerRequest = exports.StartInferenceSchedulerResponse = exports.StartInferenceSchedulerRequest = exports.StartDataIngestionJobResponse = exports.StartDataIngestionJobRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListModelsResponse = exports.ModelSummary = exports.ListModelsRequest = exports.ListInferenceSchedulersResponse = exports.InferenceSchedulerSummary = exports.ListInferenceSchedulersRequest = exports.ListInferenceExecutionsResponse = exports.InferenceExecutionSummary = exports.
|
|
3
|
+
exports.DescribeInferenceSchedulerResponse = exports.DescribeInferenceSchedulerRequest = exports.DescribeDatasetResponse = exports.DescribeDatasetRequest = exports.DescribeDataIngestionJobResponse = exports.IngestionJobStatus = exports.IngestionInputConfiguration = exports.IngestionS3InputConfiguration = exports.IngestedFilesSummary = exports.S3Object = exports.DataQualitySummary = exports.UnsupportedTimestamps = exports.MissingSensorData = exports.InvalidSensorData = exports.InsufficientSensorData = exports.SensorsWithShortDateRange = exports.MissingCompleteSensorData = exports.DuplicateTimestamps = exports.DescribeDataIngestionJobRequest = exports.DeleteModelRequest = exports.DeleteInferenceSchedulerRequest = exports.DeleteDatasetRequest = exports.CreateModelResponse = exports.ModelStatus = exports.CreateModelRequest = exports.LabelsInputConfiguration = exports.LabelsS3InputConfiguration = exports.DataPreProcessingConfiguration = exports.TargetSamplingRate = exports.ResourceNotFoundException = exports.CreateInferenceSchedulerResponse = exports.InferenceSchedulerStatus = exports.CreateInferenceSchedulerRequest = exports.DataUploadFrequency = exports.InferenceOutputConfiguration = exports.InferenceS3OutputConfiguration = exports.InferenceInputConfiguration = exports.InferenceS3InputConfiguration = exports.InferenceInputNameConfiguration = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.CreateDatasetResponse = exports.DatasetStatus = exports.CreateDatasetRequest = exports.Tag = exports.DatasetSchema = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateInferenceSchedulerRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopInferenceSchedulerResponse = exports.StopInferenceSchedulerRequest = exports.StartInferenceSchedulerResponse = exports.StartInferenceSchedulerRequest = exports.StartDataIngestionJobResponse = exports.StartDataIngestionJobRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSensorStatisticsResponse = exports.SensorStatisticsSummary = exports.MultipleOperatingModes = exports.MonotonicValues = exports.Monotonicity = exports.LargeTimestampGaps = exports.CountPercent = exports.CategoricalValues = exports.StatisticalIssueStatus = exports.ListSensorStatisticsRequest = exports.ListModelsResponse = exports.ModelSummary = exports.ListModelsRequest = exports.ListInferenceSchedulersResponse = exports.InferenceSchedulerSummary = exports.ListInferenceSchedulersRequest = exports.ListInferenceExecutionsResponse = exports.InferenceExecutionSummary = exports.ListInferenceExecutionsRequest = exports.InferenceExecutionStatus = exports.ListDatasetsResponse = exports.DatasetSummary = exports.ListDatasetsRequest = exports.ListDataIngestionJobsResponse = exports.DataIngestionJobSummary = exports.ListDataIngestionJobsRequest = exports.DescribeModelResponse = exports.DescribeModelRequest = void 0;
|
|
5
5
|
const LookoutEquipmentServiceException_1 = require("./LookoutEquipmentServiceException");
|
|
6
6
|
class AccessDeniedException extends LookoutEquipmentServiceException_1.LookoutEquipmentServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -262,6 +262,66 @@ var DescribeDataIngestionJobRequest;
|
|
|
262
262
|
...obj,
|
|
263
263
|
});
|
|
264
264
|
})(DescribeDataIngestionJobRequest = exports.DescribeDataIngestionJobRequest || (exports.DescribeDataIngestionJobRequest = {}));
|
|
265
|
+
var DuplicateTimestamps;
|
|
266
|
+
(function (DuplicateTimestamps) {
|
|
267
|
+
DuplicateTimestamps.filterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
})(DuplicateTimestamps = exports.DuplicateTimestamps || (exports.DuplicateTimestamps = {}));
|
|
271
|
+
var MissingCompleteSensorData;
|
|
272
|
+
(function (MissingCompleteSensorData) {
|
|
273
|
+
MissingCompleteSensorData.filterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
276
|
+
})(MissingCompleteSensorData = exports.MissingCompleteSensorData || (exports.MissingCompleteSensorData = {}));
|
|
277
|
+
var SensorsWithShortDateRange;
|
|
278
|
+
(function (SensorsWithShortDateRange) {
|
|
279
|
+
SensorsWithShortDateRange.filterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
})(SensorsWithShortDateRange = exports.SensorsWithShortDateRange || (exports.SensorsWithShortDateRange = {}));
|
|
283
|
+
var InsufficientSensorData;
|
|
284
|
+
(function (InsufficientSensorData) {
|
|
285
|
+
InsufficientSensorData.filterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
});
|
|
288
|
+
})(InsufficientSensorData = exports.InsufficientSensorData || (exports.InsufficientSensorData = {}));
|
|
289
|
+
var InvalidSensorData;
|
|
290
|
+
(function (InvalidSensorData) {
|
|
291
|
+
InvalidSensorData.filterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
})(InvalidSensorData = exports.InvalidSensorData || (exports.InvalidSensorData = {}));
|
|
295
|
+
var MissingSensorData;
|
|
296
|
+
(function (MissingSensorData) {
|
|
297
|
+
MissingSensorData.filterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
});
|
|
300
|
+
})(MissingSensorData = exports.MissingSensorData || (exports.MissingSensorData = {}));
|
|
301
|
+
var UnsupportedTimestamps;
|
|
302
|
+
(function (UnsupportedTimestamps) {
|
|
303
|
+
UnsupportedTimestamps.filterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
})(UnsupportedTimestamps = exports.UnsupportedTimestamps || (exports.UnsupportedTimestamps = {}));
|
|
307
|
+
var DataQualitySummary;
|
|
308
|
+
(function (DataQualitySummary) {
|
|
309
|
+
DataQualitySummary.filterSensitiveLog = (obj) => ({
|
|
310
|
+
...obj,
|
|
311
|
+
});
|
|
312
|
+
})(DataQualitySummary = exports.DataQualitySummary || (exports.DataQualitySummary = {}));
|
|
313
|
+
var S3Object;
|
|
314
|
+
(function (S3Object) {
|
|
315
|
+
S3Object.filterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
});
|
|
318
|
+
})(S3Object = exports.S3Object || (exports.S3Object = {}));
|
|
319
|
+
var IngestedFilesSummary;
|
|
320
|
+
(function (IngestedFilesSummary) {
|
|
321
|
+
IngestedFilesSummary.filterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
});
|
|
324
|
+
})(IngestedFilesSummary = exports.IngestedFilesSummary || (exports.IngestedFilesSummary = {}));
|
|
265
325
|
var IngestionS3InputConfiguration;
|
|
266
326
|
(function (IngestionS3InputConfiguration) {
|
|
267
327
|
IngestionS3InputConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -370,12 +430,6 @@ var ListInferenceExecutionsRequest;
|
|
|
370
430
|
...obj,
|
|
371
431
|
});
|
|
372
432
|
})(ListInferenceExecutionsRequest = exports.ListInferenceExecutionsRequest || (exports.ListInferenceExecutionsRequest = {}));
|
|
373
|
-
var S3Object;
|
|
374
|
-
(function (S3Object) {
|
|
375
|
-
S3Object.filterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
});
|
|
378
|
-
})(S3Object = exports.S3Object || (exports.S3Object = {}));
|
|
379
433
|
var InferenceExecutionSummary;
|
|
380
434
|
(function (InferenceExecutionSummary) {
|
|
381
435
|
InferenceExecutionSummary.filterSensitiveLog = (obj) => ({
|
|
@@ -424,6 +478,65 @@ var ListModelsResponse;
|
|
|
424
478
|
...obj,
|
|
425
479
|
});
|
|
426
480
|
})(ListModelsResponse = exports.ListModelsResponse || (exports.ListModelsResponse = {}));
|
|
481
|
+
var ListSensorStatisticsRequest;
|
|
482
|
+
(function (ListSensorStatisticsRequest) {
|
|
483
|
+
ListSensorStatisticsRequest.filterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
});
|
|
486
|
+
})(ListSensorStatisticsRequest = exports.ListSensorStatisticsRequest || (exports.ListSensorStatisticsRequest = {}));
|
|
487
|
+
var StatisticalIssueStatus;
|
|
488
|
+
(function (StatisticalIssueStatus) {
|
|
489
|
+
StatisticalIssueStatus["NO_ISSUE_DETECTED"] = "NO_ISSUE_DETECTED";
|
|
490
|
+
StatisticalIssueStatus["POTENTIAL_ISSUE_DETECTED"] = "POTENTIAL_ISSUE_DETECTED";
|
|
491
|
+
})(StatisticalIssueStatus = exports.StatisticalIssueStatus || (exports.StatisticalIssueStatus = {}));
|
|
492
|
+
var CategoricalValues;
|
|
493
|
+
(function (CategoricalValues) {
|
|
494
|
+
CategoricalValues.filterSensitiveLog = (obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
});
|
|
497
|
+
})(CategoricalValues = exports.CategoricalValues || (exports.CategoricalValues = {}));
|
|
498
|
+
var CountPercent;
|
|
499
|
+
(function (CountPercent) {
|
|
500
|
+
CountPercent.filterSensitiveLog = (obj) => ({
|
|
501
|
+
...obj,
|
|
502
|
+
});
|
|
503
|
+
})(CountPercent = exports.CountPercent || (exports.CountPercent = {}));
|
|
504
|
+
var LargeTimestampGaps;
|
|
505
|
+
(function (LargeTimestampGaps) {
|
|
506
|
+
LargeTimestampGaps.filterSensitiveLog = (obj) => ({
|
|
507
|
+
...obj,
|
|
508
|
+
});
|
|
509
|
+
})(LargeTimestampGaps = exports.LargeTimestampGaps || (exports.LargeTimestampGaps = {}));
|
|
510
|
+
var Monotonicity;
|
|
511
|
+
(function (Monotonicity) {
|
|
512
|
+
Monotonicity["DECREASING"] = "DECREASING";
|
|
513
|
+
Monotonicity["INCREASING"] = "INCREASING";
|
|
514
|
+
Monotonicity["STATIC"] = "STATIC";
|
|
515
|
+
})(Monotonicity = exports.Monotonicity || (exports.Monotonicity = {}));
|
|
516
|
+
var MonotonicValues;
|
|
517
|
+
(function (MonotonicValues) {
|
|
518
|
+
MonotonicValues.filterSensitiveLog = (obj) => ({
|
|
519
|
+
...obj,
|
|
520
|
+
});
|
|
521
|
+
})(MonotonicValues = exports.MonotonicValues || (exports.MonotonicValues = {}));
|
|
522
|
+
var MultipleOperatingModes;
|
|
523
|
+
(function (MultipleOperatingModes) {
|
|
524
|
+
MultipleOperatingModes.filterSensitiveLog = (obj) => ({
|
|
525
|
+
...obj,
|
|
526
|
+
});
|
|
527
|
+
})(MultipleOperatingModes = exports.MultipleOperatingModes || (exports.MultipleOperatingModes = {}));
|
|
528
|
+
var SensorStatisticsSummary;
|
|
529
|
+
(function (SensorStatisticsSummary) {
|
|
530
|
+
SensorStatisticsSummary.filterSensitiveLog = (obj) => ({
|
|
531
|
+
...obj,
|
|
532
|
+
});
|
|
533
|
+
})(SensorStatisticsSummary = exports.SensorStatisticsSummary || (exports.SensorStatisticsSummary = {}));
|
|
534
|
+
var ListSensorStatisticsResponse;
|
|
535
|
+
(function (ListSensorStatisticsResponse) {
|
|
536
|
+
ListSensorStatisticsResponse.filterSensitiveLog = (obj) => ({
|
|
537
|
+
...obj,
|
|
538
|
+
});
|
|
539
|
+
})(ListSensorStatisticsResponse = exports.ListSensorStatisticsResponse || (exports.ListSensorStatisticsResponse = {}));
|
|
427
540
|
var ListTagsForResourceRequest;
|
|
428
541
|
(function (ListTagsForResourceRequest) {
|
|
429
542
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -27,8 +27,9 @@ async function* paginateListDataIngestionJobs(config, input, ...additionalArgume
|
|
|
27
27
|
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateListDatasets(config, input, ...additionalArguments) {
|
|
|
27
27
|
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateListInferenceExecutions(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateListInferenceSchedulers(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateListModels(config, input, ...additionalArguments) {
|
|
|
27
27
|
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSensorStatistics = void 0;
|
|
4
|
+
const ListSensorStatisticsCommand_1 = require("../commands/ListSensorStatisticsCommand");
|
|
5
|
+
const LookoutEquipment_1 = require("../LookoutEquipment");
|
|
6
|
+
const LookoutEquipmentClient_1 = require("../LookoutEquipmentClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListSensorStatisticsCommand_1.ListSensorStatisticsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listSensorStatistics(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListSensorStatistics(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof LookoutEquipment_1.LookoutEquipment) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof LookoutEquipmentClient_1.LookoutEquipmentClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListSensorStatistics = paginateListSensorStatistics;
|
|
@@ -7,3 +7,4 @@ tslib_1.__exportStar(require("./ListDatasetsPaginator"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./ListInferenceExecutionsPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./ListInferenceSchedulersPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListModelsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListSensorStatisticsPaginator"), exports);
|