@aws-sdk/client-lookoutequipment 3.975.0 → 3.980.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/dist-cjs/index.js CHANGED
@@ -2023,6 +2023,28 @@ class UpdateRetrainingSchedulerCommand extends smithyClient.Command
2023
2023
  .build() {
2024
2024
  }
2025
2025
 
2026
+ const paginateListDataIngestionJobs = core.createPaginator(LookoutEquipmentClient, ListDataIngestionJobsCommand, "NextToken", "NextToken", "MaxResults");
2027
+
2028
+ const paginateListDatasets = core.createPaginator(LookoutEquipmentClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
2029
+
2030
+ const paginateListInferenceEvents = core.createPaginator(LookoutEquipmentClient, ListInferenceEventsCommand, "NextToken", "NextToken", "MaxResults");
2031
+
2032
+ const paginateListInferenceExecutions = core.createPaginator(LookoutEquipmentClient, ListInferenceExecutionsCommand, "NextToken", "NextToken", "MaxResults");
2033
+
2034
+ const paginateListInferenceSchedulers = core.createPaginator(LookoutEquipmentClient, ListInferenceSchedulersCommand, "NextToken", "NextToken", "MaxResults");
2035
+
2036
+ const paginateListLabelGroups = core.createPaginator(LookoutEquipmentClient, ListLabelGroupsCommand, "NextToken", "NextToken", "MaxResults");
2037
+
2038
+ const paginateListLabels = core.createPaginator(LookoutEquipmentClient, ListLabelsCommand, "NextToken", "NextToken", "MaxResults");
2039
+
2040
+ const paginateListModels = core.createPaginator(LookoutEquipmentClient, ListModelsCommand, "NextToken", "NextToken", "MaxResults");
2041
+
2042
+ const paginateListModelVersions = core.createPaginator(LookoutEquipmentClient, ListModelVersionsCommand, "NextToken", "NextToken", "MaxResults");
2043
+
2044
+ const paginateListRetrainingSchedulers = core.createPaginator(LookoutEquipmentClient, ListRetrainingSchedulersCommand, "NextToken", "NextToken", "MaxResults");
2045
+
2046
+ const paginateListSensorStatistics = core.createPaginator(LookoutEquipmentClient, ListSensorStatisticsCommand, "NextToken", "NextToken", "MaxResults");
2047
+
2026
2048
  const commands = {
2027
2049
  CreateDatasetCommand,
2028
2050
  CreateInferenceSchedulerCommand,
@@ -2074,31 +2096,22 @@ const commands = {
2074
2096
  UpdateModelCommand,
2075
2097
  UpdateRetrainingSchedulerCommand,
2076
2098
  };
2099
+ const paginators = {
2100
+ paginateListDataIngestionJobs,
2101
+ paginateListDatasets,
2102
+ paginateListInferenceEvents,
2103
+ paginateListInferenceExecutions,
2104
+ paginateListInferenceSchedulers,
2105
+ paginateListLabelGroups,
2106
+ paginateListLabels,
2107
+ paginateListModels,
2108
+ paginateListModelVersions,
2109
+ paginateListRetrainingSchedulers,
2110
+ paginateListSensorStatistics,
2111
+ };
2077
2112
  class LookoutEquipment extends LookoutEquipmentClient {
2078
2113
  }
2079
- smithyClient.createAggregatedClient(commands, LookoutEquipment);
2080
-
2081
- const paginateListDataIngestionJobs = core.createPaginator(LookoutEquipmentClient, ListDataIngestionJobsCommand, "NextToken", "NextToken", "MaxResults");
2082
-
2083
- const paginateListDatasets = core.createPaginator(LookoutEquipmentClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
2084
-
2085
- const paginateListInferenceEvents = core.createPaginator(LookoutEquipmentClient, ListInferenceEventsCommand, "NextToken", "NextToken", "MaxResults");
2086
-
2087
- const paginateListInferenceExecutions = core.createPaginator(LookoutEquipmentClient, ListInferenceExecutionsCommand, "NextToken", "NextToken", "MaxResults");
2088
-
2089
- const paginateListInferenceSchedulers = core.createPaginator(LookoutEquipmentClient, ListInferenceSchedulersCommand, "NextToken", "NextToken", "MaxResults");
2090
-
2091
- const paginateListLabelGroups = core.createPaginator(LookoutEquipmentClient, ListLabelGroupsCommand, "NextToken", "NextToken", "MaxResults");
2092
-
2093
- const paginateListLabels = core.createPaginator(LookoutEquipmentClient, ListLabelsCommand, "NextToken", "NextToken", "MaxResults");
2094
-
2095
- const paginateListModels = core.createPaginator(LookoutEquipmentClient, ListModelsCommand, "NextToken", "NextToken", "MaxResults");
2096
-
2097
- const paginateListModelVersions = core.createPaginator(LookoutEquipmentClient, ListModelVersionsCommand, "NextToken", "NextToken", "MaxResults");
2098
-
2099
- const paginateListRetrainingSchedulers = core.createPaginator(LookoutEquipmentClient, ListRetrainingSchedulersCommand, "NextToken", "NextToken", "MaxResults");
2100
-
2101
- const paginateListSensorStatistics = core.createPaginator(LookoutEquipmentClient, ListSensorStatisticsCommand, "NextToken", "NextToken", "MaxResults");
2114
+ smithyClient.createAggregatedClient(commands, LookoutEquipment, { paginators });
2102
2115
 
2103
2116
  const AutoPromotionResult = {
2104
2117
  MODEL_NOT_PROMOTED: "MODEL_NOT_PROMOTED",
@@ -49,6 +49,17 @@ import { UpdateLabelGroupCommand, } from "./commands/UpdateLabelGroupCommand";
49
49
  import { UpdateModelCommand } from "./commands/UpdateModelCommand";
50
50
  import { UpdateRetrainingSchedulerCommand, } from "./commands/UpdateRetrainingSchedulerCommand";
51
51
  import { LookoutEquipmentClient } from "./LookoutEquipmentClient";
52
+ import { paginateListDataIngestionJobs } from "./pagination/ListDataIngestionJobsPaginator";
53
+ import { paginateListDatasets } from "./pagination/ListDatasetsPaginator";
54
+ import { paginateListInferenceEvents } from "./pagination/ListInferenceEventsPaginator";
55
+ import { paginateListInferenceExecutions } from "./pagination/ListInferenceExecutionsPaginator";
56
+ import { paginateListInferenceSchedulers } from "./pagination/ListInferenceSchedulersPaginator";
57
+ import { paginateListLabelGroups } from "./pagination/ListLabelGroupsPaginator";
58
+ import { paginateListLabels } from "./pagination/ListLabelsPaginator";
59
+ import { paginateListModels } from "./pagination/ListModelsPaginator";
60
+ import { paginateListModelVersions } from "./pagination/ListModelVersionsPaginator";
61
+ import { paginateListRetrainingSchedulers } from "./pagination/ListRetrainingSchedulersPaginator";
62
+ import { paginateListSensorStatistics } from "./pagination/ListSensorStatisticsPaginator";
52
63
  const commands = {
53
64
  CreateDatasetCommand,
54
65
  CreateInferenceSchedulerCommand,
@@ -100,6 +111,19 @@ const commands = {
100
111
  UpdateModelCommand,
101
112
  UpdateRetrainingSchedulerCommand,
102
113
  };
114
+ const paginators = {
115
+ paginateListDataIngestionJobs,
116
+ paginateListDatasets,
117
+ paginateListInferenceEvents,
118
+ paginateListInferenceExecutions,
119
+ paginateListInferenceSchedulers,
120
+ paginateListLabelGroups,
121
+ paginateListLabels,
122
+ paginateListModels,
123
+ paginateListModelVersions,
124
+ paginateListRetrainingSchedulers,
125
+ paginateListSensorStatistics,
126
+ };
103
127
  export class LookoutEquipment extends LookoutEquipmentClient {
104
128
  }
105
- createAggregatedClient(commands, LookoutEquipment);
129
+ createAggregatedClient(commands, LookoutEquipment, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
3
3
  import { CreateInferenceSchedulerCommandInput, CreateInferenceSchedulerCommandOutput } from "./commands/CreateInferenceSchedulerCommand";
4
4
  import { CreateLabelCommandInput, CreateLabelCommandOutput } from "./commands/CreateLabelCommand";
@@ -350,6 +350,83 @@ export interface LookoutEquipment {
350
350
  updateRetrainingScheduler(args: UpdateRetrainingSchedulerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRetrainingSchedulerCommandOutput>;
351
351
  updateRetrainingScheduler(args: UpdateRetrainingSchedulerCommandInput, cb: (err: any, data?: UpdateRetrainingSchedulerCommandOutput) => void): void;
352
352
  updateRetrainingScheduler(args: UpdateRetrainingSchedulerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRetrainingSchedulerCommandOutput) => void): void;
353
+ /**
354
+ * @see {@link ListDataIngestionJobsCommand}
355
+ * @param args - command input.
356
+ * @param paginationConfig - optional pagination config.
357
+ * @returns AsyncIterable of {@link ListDataIngestionJobsCommandOutput}.
358
+ */
359
+ paginateListDataIngestionJobs(args?: ListDataIngestionJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataIngestionJobsCommandOutput>;
360
+ /**
361
+ * @see {@link ListDatasetsCommand}
362
+ * @param args - command input.
363
+ * @param paginationConfig - optional pagination config.
364
+ * @returns AsyncIterable of {@link ListDatasetsCommandOutput}.
365
+ */
366
+ paginateListDatasets(args?: ListDatasetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetsCommandOutput>;
367
+ /**
368
+ * @see {@link ListInferenceEventsCommand}
369
+ * @param args - command input.
370
+ * @param paginationConfig - optional pagination config.
371
+ * @returns AsyncIterable of {@link ListInferenceEventsCommandOutput}.
372
+ */
373
+ paginateListInferenceEvents(args: ListInferenceEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInferenceEventsCommandOutput>;
374
+ /**
375
+ * @see {@link ListInferenceExecutionsCommand}
376
+ * @param args - command input.
377
+ * @param paginationConfig - optional pagination config.
378
+ * @returns AsyncIterable of {@link ListInferenceExecutionsCommandOutput}.
379
+ */
380
+ paginateListInferenceExecutions(args: ListInferenceExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInferenceExecutionsCommandOutput>;
381
+ /**
382
+ * @see {@link ListInferenceSchedulersCommand}
383
+ * @param args - command input.
384
+ * @param paginationConfig - optional pagination config.
385
+ * @returns AsyncIterable of {@link ListInferenceSchedulersCommandOutput}.
386
+ */
387
+ paginateListInferenceSchedulers(args?: ListInferenceSchedulersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInferenceSchedulersCommandOutput>;
388
+ /**
389
+ * @see {@link ListLabelGroupsCommand}
390
+ * @param args - command input.
391
+ * @param paginationConfig - optional pagination config.
392
+ * @returns AsyncIterable of {@link ListLabelGroupsCommandOutput}.
393
+ */
394
+ paginateListLabelGroups(args?: ListLabelGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLabelGroupsCommandOutput>;
395
+ /**
396
+ * @see {@link ListLabelsCommand}
397
+ * @param args - command input.
398
+ * @param paginationConfig - optional pagination config.
399
+ * @returns AsyncIterable of {@link ListLabelsCommandOutput}.
400
+ */
401
+ paginateListLabels(args: ListLabelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLabelsCommandOutput>;
402
+ /**
403
+ * @see {@link ListModelsCommand}
404
+ * @param args - command input.
405
+ * @param paginationConfig - optional pagination config.
406
+ * @returns AsyncIterable of {@link ListModelsCommandOutput}.
407
+ */
408
+ paginateListModels(args?: ListModelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelsCommandOutput>;
409
+ /**
410
+ * @see {@link ListModelVersionsCommand}
411
+ * @param args - command input.
412
+ * @param paginationConfig - optional pagination config.
413
+ * @returns AsyncIterable of {@link ListModelVersionsCommandOutput}.
414
+ */
415
+ paginateListModelVersions(args: ListModelVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelVersionsCommandOutput>;
416
+ /**
417
+ * @see {@link ListRetrainingSchedulersCommand}
418
+ * @param args - command input.
419
+ * @param paginationConfig - optional pagination config.
420
+ * @returns AsyncIterable of {@link ListRetrainingSchedulersCommandOutput}.
421
+ */
422
+ paginateListRetrainingSchedulers(args?: ListRetrainingSchedulersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRetrainingSchedulersCommandOutput>;
423
+ /**
424
+ * @see {@link ListSensorStatisticsCommand}
425
+ * @param args - command input.
426
+ * @param paginationConfig - optional pagination config.
427
+ * @returns AsyncIterable of {@link ListSensorStatisticsCommandOutput}.
428
+ */
429
+ paginateListSensorStatistics(args: ListSensorStatisticsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSensorStatisticsCommandOutput>;
353
430
  }
354
431
  /**
355
432
  * <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CreateDatasetCommandInput,
4
8
  CreateDatasetCommandOutput,
@@ -840,6 +844,83 @@ export interface LookoutEquipment {
840
844
  options: __HttpHandlerOptions,
841
845
  cb: (err: any, data?: UpdateRetrainingSchedulerCommandOutput) => void
842
846
  ): void;
847
+ paginateListDataIngestionJobs(
848
+ args?: ListDataIngestionJobsCommandInput,
849
+ paginationConfig?: Pick<
850
+ PaginationConfiguration,
851
+ Exclude<keyof PaginationConfiguration, "client">
852
+ >
853
+ ): Paginator<ListDataIngestionJobsCommandOutput>;
854
+ paginateListDatasets(
855
+ args?: ListDatasetsCommandInput,
856
+ paginationConfig?: Pick<
857
+ PaginationConfiguration,
858
+ Exclude<keyof PaginationConfiguration, "client">
859
+ >
860
+ ): Paginator<ListDatasetsCommandOutput>;
861
+ paginateListInferenceEvents(
862
+ args: ListInferenceEventsCommandInput,
863
+ paginationConfig?: Pick<
864
+ PaginationConfiguration,
865
+ Exclude<keyof PaginationConfiguration, "client">
866
+ >
867
+ ): Paginator<ListInferenceEventsCommandOutput>;
868
+ paginateListInferenceExecutions(
869
+ args: ListInferenceExecutionsCommandInput,
870
+ paginationConfig?: Pick<
871
+ PaginationConfiguration,
872
+ Exclude<keyof PaginationConfiguration, "client">
873
+ >
874
+ ): Paginator<ListInferenceExecutionsCommandOutput>;
875
+ paginateListInferenceSchedulers(
876
+ args?: ListInferenceSchedulersCommandInput,
877
+ paginationConfig?: Pick<
878
+ PaginationConfiguration,
879
+ Exclude<keyof PaginationConfiguration, "client">
880
+ >
881
+ ): Paginator<ListInferenceSchedulersCommandOutput>;
882
+ paginateListLabelGroups(
883
+ args?: ListLabelGroupsCommandInput,
884
+ paginationConfig?: Pick<
885
+ PaginationConfiguration,
886
+ Exclude<keyof PaginationConfiguration, "client">
887
+ >
888
+ ): Paginator<ListLabelGroupsCommandOutput>;
889
+ paginateListLabels(
890
+ args: ListLabelsCommandInput,
891
+ paginationConfig?: Pick<
892
+ PaginationConfiguration,
893
+ Exclude<keyof PaginationConfiguration, "client">
894
+ >
895
+ ): Paginator<ListLabelsCommandOutput>;
896
+ paginateListModels(
897
+ args?: ListModelsCommandInput,
898
+ paginationConfig?: Pick<
899
+ PaginationConfiguration,
900
+ Exclude<keyof PaginationConfiguration, "client">
901
+ >
902
+ ): Paginator<ListModelsCommandOutput>;
903
+ paginateListModelVersions(
904
+ args: ListModelVersionsCommandInput,
905
+ paginationConfig?: Pick<
906
+ PaginationConfiguration,
907
+ Exclude<keyof PaginationConfiguration, "client">
908
+ >
909
+ ): Paginator<ListModelVersionsCommandOutput>;
910
+ paginateListRetrainingSchedulers(
911
+ args?: ListRetrainingSchedulersCommandInput,
912
+ paginationConfig?: Pick<
913
+ PaginationConfiguration,
914
+ Exclude<keyof PaginationConfiguration, "client">
915
+ >
916
+ ): Paginator<ListRetrainingSchedulersCommandOutput>;
917
+ paginateListSensorStatistics(
918
+ args: ListSensorStatisticsCommandInput,
919
+ paginationConfig?: Pick<
920
+ PaginationConfiguration,
921
+ Exclude<keyof PaginationConfiguration, "client">
922
+ >
923
+ ): Paginator<ListSensorStatisticsCommandOutput>;
843
924
  }
844
925
  export declare class LookoutEquipment
845
926
  extends LookoutEquipmentClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lookoutequipment",
3
3
  "description": "AWS SDK for JavaScript Lookoutequipment Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.980.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lookoutequipment",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
32
- "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/middleware-host-header": "^3.972.3",
27
+ "@aws-sdk/middleware-logger": "^3.972.3",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
30
+ "@aws-sdk/region-config-resolver": "^3.972.3",
31
+ "@aws-sdk/types": "^3.973.1",
32
+ "@aws-sdk/util-endpoints": "3.980.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",