@aws-sdk/client-supplychain 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
@@ -1438,6 +1438,18 @@ class UpdateInstanceCommand extends smithyClient.Command
1438
1438
  .build() {
1439
1439
  }
1440
1440
 
1441
+ const paginateListDataIntegrationEvents = core.createPaginator(SupplyChainClient, ListDataIntegrationEventsCommand, "nextToken", "nextToken", "maxResults");
1442
+
1443
+ const paginateListDataIntegrationFlowExecutions = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
1444
+
1445
+ const paginateListDataIntegrationFlows = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowsCommand, "nextToken", "nextToken", "maxResults");
1446
+
1447
+ const paginateListDataLakeDatasets = core.createPaginator(SupplyChainClient, ListDataLakeDatasetsCommand, "nextToken", "nextToken", "maxResults");
1448
+
1449
+ const paginateListDataLakeNamespaces = core.createPaginator(SupplyChainClient, ListDataLakeNamespacesCommand, "nextToken", "nextToken", "maxResults");
1450
+
1451
+ const paginateListInstances = core.createPaginator(SupplyChainClient, ListInstancesCommand, "nextToken", "nextToken", "maxResults");
1452
+
1441
1453
  const commands = {
1442
1454
  CreateBillOfMaterialsImportJobCommand,
1443
1455
  CreateDataIntegrationFlowCommand,
@@ -1470,21 +1482,17 @@ const commands = {
1470
1482
  UpdateDataLakeNamespaceCommand,
1471
1483
  UpdateInstanceCommand,
1472
1484
  };
1485
+ const paginators = {
1486
+ paginateListDataIntegrationEvents,
1487
+ paginateListDataIntegrationFlowExecutions,
1488
+ paginateListDataIntegrationFlows,
1489
+ paginateListDataLakeDatasets,
1490
+ paginateListDataLakeNamespaces,
1491
+ paginateListInstances,
1492
+ };
1473
1493
  class SupplyChain extends SupplyChainClient {
1474
1494
  }
1475
- smithyClient.createAggregatedClient(commands, SupplyChain);
1476
-
1477
- const paginateListDataIntegrationEvents = core.createPaginator(SupplyChainClient, ListDataIntegrationEventsCommand, "nextToken", "nextToken", "maxResults");
1478
-
1479
- const paginateListDataIntegrationFlowExecutions = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
1480
-
1481
- const paginateListDataIntegrationFlows = core.createPaginator(SupplyChainClient, ListDataIntegrationFlowsCommand, "nextToken", "nextToken", "maxResults");
1482
-
1483
- const paginateListDataLakeDatasets = core.createPaginator(SupplyChainClient, ListDataLakeDatasetsCommand, "nextToken", "nextToken", "maxResults");
1484
-
1485
- const paginateListDataLakeNamespaces = core.createPaginator(SupplyChainClient, ListDataLakeNamespacesCommand, "nextToken", "nextToken", "maxResults");
1486
-
1487
- const paginateListInstances = core.createPaginator(SupplyChainClient, ListInstancesCommand, "nextToken", "nextToken", "maxResults");
1495
+ smithyClient.createAggregatedClient(commands, SupplyChain, { paginators });
1488
1496
 
1489
1497
  const ConfigurationJobStatus = {
1490
1498
  FAILED: "FAILED",
@@ -29,6 +29,12 @@ import { UpdateDataIntegrationFlowCommand, } from "./commands/UpdateDataIntegrat
29
29
  import { UpdateDataLakeDatasetCommand, } from "./commands/UpdateDataLakeDatasetCommand";
30
30
  import { UpdateDataLakeNamespaceCommand, } from "./commands/UpdateDataLakeNamespaceCommand";
31
31
  import { UpdateInstanceCommand, } from "./commands/UpdateInstanceCommand";
32
+ import { paginateListDataIntegrationEvents } from "./pagination/ListDataIntegrationEventsPaginator";
33
+ import { paginateListDataIntegrationFlowExecutions } from "./pagination/ListDataIntegrationFlowExecutionsPaginator";
34
+ import { paginateListDataIntegrationFlows } from "./pagination/ListDataIntegrationFlowsPaginator";
35
+ import { paginateListDataLakeDatasets } from "./pagination/ListDataLakeDatasetsPaginator";
36
+ import { paginateListDataLakeNamespaces } from "./pagination/ListDataLakeNamespacesPaginator";
37
+ import { paginateListInstances } from "./pagination/ListInstancesPaginator";
32
38
  import { SupplyChainClient } from "./SupplyChainClient";
33
39
  const commands = {
34
40
  CreateBillOfMaterialsImportJobCommand,
@@ -62,6 +68,14 @@ const commands = {
62
68
  UpdateDataLakeNamespaceCommand,
63
69
  UpdateInstanceCommand,
64
70
  };
71
+ const paginators = {
72
+ paginateListDataIntegrationEvents,
73
+ paginateListDataIntegrationFlowExecutions,
74
+ paginateListDataIntegrationFlows,
75
+ paginateListDataLakeDatasets,
76
+ paginateListDataLakeNamespaces,
77
+ paginateListInstances,
78
+ };
65
79
  export class SupplyChain extends SupplyChainClient {
66
80
  }
67
- createAggregatedClient(commands, SupplyChain);
81
+ createAggregatedClient(commands, SupplyChain, { 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 { CreateBillOfMaterialsImportJobCommandInput, CreateBillOfMaterialsImportJobCommandOutput } from "./commands/CreateBillOfMaterialsImportJobCommand";
3
3
  import { CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput } from "./commands/CreateDataIntegrationFlowCommand";
4
4
  import { CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput } from "./commands/CreateDataLakeDatasetCommand";
@@ -213,6 +213,48 @@ export interface SupplyChain {
213
213
  updateInstance(args: UpdateInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInstanceCommandOutput>;
214
214
  updateInstance(args: UpdateInstanceCommandInput, cb: (err: any, data?: UpdateInstanceCommandOutput) => void): void;
215
215
  updateInstance(args: UpdateInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInstanceCommandOutput) => void): void;
216
+ /**
217
+ * @see {@link ListDataIntegrationEventsCommand}
218
+ * @param args - command input.
219
+ * @param paginationConfig - optional pagination config.
220
+ * @returns AsyncIterable of {@link ListDataIntegrationEventsCommandOutput}.
221
+ */
222
+ paginateListDataIntegrationEvents(args: ListDataIntegrationEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataIntegrationEventsCommandOutput>;
223
+ /**
224
+ * @see {@link ListDataIntegrationFlowExecutionsCommand}
225
+ * @param args - command input.
226
+ * @param paginationConfig - optional pagination config.
227
+ * @returns AsyncIterable of {@link ListDataIntegrationFlowExecutionsCommandOutput}.
228
+ */
229
+ paginateListDataIntegrationFlowExecutions(args: ListDataIntegrationFlowExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataIntegrationFlowExecutionsCommandOutput>;
230
+ /**
231
+ * @see {@link ListDataIntegrationFlowsCommand}
232
+ * @param args - command input.
233
+ * @param paginationConfig - optional pagination config.
234
+ * @returns AsyncIterable of {@link ListDataIntegrationFlowsCommandOutput}.
235
+ */
236
+ paginateListDataIntegrationFlows(args: ListDataIntegrationFlowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataIntegrationFlowsCommandOutput>;
237
+ /**
238
+ * @see {@link ListDataLakeDatasetsCommand}
239
+ * @param args - command input.
240
+ * @param paginationConfig - optional pagination config.
241
+ * @returns AsyncIterable of {@link ListDataLakeDatasetsCommandOutput}.
242
+ */
243
+ paginateListDataLakeDatasets(args: ListDataLakeDatasetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataLakeDatasetsCommandOutput>;
244
+ /**
245
+ * @see {@link ListDataLakeNamespacesCommand}
246
+ * @param args - command input.
247
+ * @param paginationConfig - optional pagination config.
248
+ * @returns AsyncIterable of {@link ListDataLakeNamespacesCommandOutput}.
249
+ */
250
+ paginateListDataLakeNamespaces(args: ListDataLakeNamespacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataLakeNamespacesCommandOutput>;
251
+ /**
252
+ * @see {@link ListInstancesCommand}
253
+ * @param args - command input.
254
+ * @param paginationConfig - optional pagination config.
255
+ * @returns AsyncIterable of {@link ListInstancesCommandOutput}.
256
+ */
257
+ paginateListInstances(args?: ListInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInstancesCommandOutput>;
216
258
  }
217
259
  /**
218
260
  * <p>
@@ -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
  CreateBillOfMaterialsImportJobCommandInput,
4
8
  CreateBillOfMaterialsImportJobCommandOutput,
@@ -519,6 +523,48 @@ export interface SupplyChain {
519
523
  options: __HttpHandlerOptions,
520
524
  cb: (err: any, data?: UpdateInstanceCommandOutput) => void
521
525
  ): void;
526
+ paginateListDataIntegrationEvents(
527
+ args: ListDataIntegrationEventsCommandInput,
528
+ paginationConfig?: Pick<
529
+ PaginationConfiguration,
530
+ Exclude<keyof PaginationConfiguration, "client">
531
+ >
532
+ ): Paginator<ListDataIntegrationEventsCommandOutput>;
533
+ paginateListDataIntegrationFlowExecutions(
534
+ args: ListDataIntegrationFlowExecutionsCommandInput,
535
+ paginationConfig?: Pick<
536
+ PaginationConfiguration,
537
+ Exclude<keyof PaginationConfiguration, "client">
538
+ >
539
+ ): Paginator<ListDataIntegrationFlowExecutionsCommandOutput>;
540
+ paginateListDataIntegrationFlows(
541
+ args: ListDataIntegrationFlowsCommandInput,
542
+ paginationConfig?: Pick<
543
+ PaginationConfiguration,
544
+ Exclude<keyof PaginationConfiguration, "client">
545
+ >
546
+ ): Paginator<ListDataIntegrationFlowsCommandOutput>;
547
+ paginateListDataLakeDatasets(
548
+ args: ListDataLakeDatasetsCommandInput,
549
+ paginationConfig?: Pick<
550
+ PaginationConfiguration,
551
+ Exclude<keyof PaginationConfiguration, "client">
552
+ >
553
+ ): Paginator<ListDataLakeDatasetsCommandOutput>;
554
+ paginateListDataLakeNamespaces(
555
+ args: ListDataLakeNamespacesCommandInput,
556
+ paginationConfig?: Pick<
557
+ PaginationConfiguration,
558
+ Exclude<keyof PaginationConfiguration, "client">
559
+ >
560
+ ): Paginator<ListDataLakeNamespacesCommandOutput>;
561
+ paginateListInstances(
562
+ args?: ListInstancesCommandInput,
563
+ paginationConfig?: Pick<
564
+ PaginationConfiguration,
565
+ Exclude<keyof PaginationConfiguration, "client">
566
+ >
567
+ ): Paginator<ListInstancesCommandOutput>;
522
568
  }
523
569
  export declare class SupplyChain
524
570
  extends SupplyChainClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-supplychain",
3
3
  "description": "AWS SDK for JavaScript Supplychain 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-supplychain",
@@ -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",