@aws-sdk/client-pipes 3.974.0 → 3.978.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
@@ -1339,6 +1339,8 @@ class UpdatePipeCommand extends smithyClient.Command
1339
1339
  .build() {
1340
1340
  }
1341
1341
 
1342
+ const paginateListPipes = core.createPaginator(PipesClient, ListPipesCommand, "NextToken", "NextToken", "Limit");
1343
+
1342
1344
  const commands = {
1343
1345
  CreatePipeCommand,
1344
1346
  DeletePipeCommand,
@@ -1351,11 +1353,12 @@ const commands = {
1351
1353
  UntagResourceCommand,
1352
1354
  UpdatePipeCommand,
1353
1355
  };
1356
+ const paginators = {
1357
+ paginateListPipes,
1358
+ };
1354
1359
  class Pipes extends PipesClient {
1355
1360
  }
1356
- smithyClient.createAggregatedClient(commands, Pipes);
1357
-
1358
- const paginateListPipes = core.createPaginator(PipesClient, ListPipesCommand, "NextToken", "NextToken", "Limit");
1361
+ smithyClient.createAggregatedClient(commands, Pipes, { paginators });
1359
1362
 
1360
1363
  const AssignPublicIp = {
1361
1364
  DISABLED: "DISABLED",
package/dist-es/Pipes.js CHANGED
@@ -9,6 +9,7 @@ import { StopPipeCommand } from "./commands/StopPipeCommand";
9
9
  import { TagResourceCommand } from "./commands/TagResourceCommand";
10
10
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
11
11
  import { UpdatePipeCommand } from "./commands/UpdatePipeCommand";
12
+ import { paginateListPipes } from "./pagination/ListPipesPaginator";
12
13
  import { PipesClient } from "./PipesClient";
13
14
  const commands = {
14
15
  CreatePipeCommand,
@@ -22,6 +23,9 @@ const commands = {
22
23
  UntagResourceCommand,
23
24
  UpdatePipeCommand,
24
25
  };
26
+ const paginators = {
27
+ paginateListPipes,
28
+ };
25
29
  export class Pipes extends PipesClient {
26
30
  }
27
- createAggregatedClient(commands, Pipes);
31
+ createAggregatedClient(commands, Pipes, { 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 { CreatePipeCommandInput, CreatePipeCommandOutput } from "./commands/CreatePipeCommand";
3
3
  import { DeletePipeCommandInput, DeletePipeCommandOutput } from "./commands/DeletePipeCommand";
4
4
  import { DescribePipeCommandInput, DescribePipeCommandOutput } from "./commands/DescribePipeCommand";
@@ -72,6 +72,13 @@ export interface Pipes {
72
72
  updatePipe(args: UpdatePipeCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipeCommandOutput>;
73
73
  updatePipe(args: UpdatePipeCommandInput, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
74
74
  updatePipe(args: UpdatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
75
+ /**
76
+ * @see {@link ListPipesCommand}
77
+ * @param args - command input.
78
+ * @param paginationConfig - optional pagination config.
79
+ * @returns AsyncIterable of {@link ListPipesCommandOutput}.
80
+ */
81
+ paginateListPipes(args?: ListPipesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipesCommandOutput>;
75
82
  }
76
83
  /**
77
84
  * <p>Amazon EventBridge Pipes connects event sources to targets. Pipes reduces the need
@@ -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
  CreatePipeCommandInput,
4
8
  CreatePipeCommandOutput,
@@ -172,5 +176,12 @@ export interface Pipes {
172
176
  options: __HttpHandlerOptions,
173
177
  cb: (err: any, data?: UpdatePipeCommandOutput) => void
174
178
  ): void;
179
+ paginateListPipes(
180
+ args?: ListPipesCommandInput,
181
+ paginationConfig?: Pick<
182
+ PaginationConfiguration,
183
+ Exclude<keyof PaginationConfiguration, "client">
184
+ >
185
+ ): Paginator<ListPipesCommandOutput>;
175
186
  }
176
187
  export declare class Pipes extends PipesClient implements Pipes {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pipes",
3
3
  "description": "AWS SDK for JavaScript Pipes Client for Node.js, Browser and React Native",
4
- "version": "3.974.0",
4
+ "version": "3.978.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-pipes",
@@ -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.0",
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.1",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
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",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.0",
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.10",
42
- "@smithy/middleware-retry": "^4.4.26",
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.11",
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.25",
55
- "@smithy/util-defaults-mode-node": "^4.2.28",
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",