@aws-sdk/client-appflow 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
@@ -2316,6 +2316,16 @@ class UpdateFlowCommand extends smithyClient.Command
2316
2316
  .build() {
2317
2317
  }
2318
2318
 
2319
+ const paginateDescribeConnectorProfiles = core.createPaginator(AppflowClient, DescribeConnectorProfilesCommand, "nextToken", "nextToken", "maxResults");
2320
+
2321
+ const paginateDescribeConnectors = core.createPaginator(AppflowClient, DescribeConnectorsCommand, "nextToken", "nextToken", "maxResults");
2322
+
2323
+ const paginateDescribeFlowExecutionRecords = core.createPaginator(AppflowClient, DescribeFlowExecutionRecordsCommand, "nextToken", "nextToken", "maxResults");
2324
+
2325
+ const paginateListConnectors = core.createPaginator(AppflowClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
2326
+
2327
+ const paginateListFlows = core.createPaginator(AppflowClient, ListFlowsCommand, "nextToken", "nextToken", "maxResults");
2328
+
2319
2329
  const commands = {
2320
2330
  CancelFlowExecutionsCommand,
2321
2331
  CreateConnectorProfileCommand,
@@ -2343,19 +2353,16 @@ const commands = {
2343
2353
  UpdateConnectorRegistrationCommand,
2344
2354
  UpdateFlowCommand,
2345
2355
  };
2356
+ const paginators = {
2357
+ paginateDescribeConnectorProfiles,
2358
+ paginateDescribeConnectors,
2359
+ paginateDescribeFlowExecutionRecords,
2360
+ paginateListConnectors,
2361
+ paginateListFlows,
2362
+ };
2346
2363
  class Appflow extends AppflowClient {
2347
2364
  }
2348
- smithyClient.createAggregatedClient(commands, Appflow);
2349
-
2350
- const paginateDescribeConnectorProfiles = core.createPaginator(AppflowClient, DescribeConnectorProfilesCommand, "nextToken", "nextToken", "maxResults");
2351
-
2352
- const paginateDescribeConnectors = core.createPaginator(AppflowClient, DescribeConnectorsCommand, "nextToken", "nextToken", "maxResults");
2353
-
2354
- const paginateDescribeFlowExecutionRecords = core.createPaginator(AppflowClient, DescribeFlowExecutionRecordsCommand, "nextToken", "nextToken", "maxResults");
2355
-
2356
- const paginateListConnectors = core.createPaginator(AppflowClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
2357
-
2358
- const paginateListFlows = core.createPaginator(AppflowClient, ListFlowsCommand, "nextToken", "nextToken", "maxResults");
2365
+ smithyClient.createAggregatedClient(commands, Appflow, { paginators });
2359
2366
 
2360
2367
  const AggregationType = {
2361
2368
  NONE: "None",
@@ -25,6 +25,11 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
25
  import { UpdateConnectorProfileCommand, } from "./commands/UpdateConnectorProfileCommand";
26
26
  import { UpdateConnectorRegistrationCommand, } from "./commands/UpdateConnectorRegistrationCommand";
27
27
  import { UpdateFlowCommand } from "./commands/UpdateFlowCommand";
28
+ import { paginateDescribeConnectorProfiles } from "./pagination/DescribeConnectorProfilesPaginator";
29
+ import { paginateDescribeConnectors } from "./pagination/DescribeConnectorsPaginator";
30
+ import { paginateDescribeFlowExecutionRecords } from "./pagination/DescribeFlowExecutionRecordsPaginator";
31
+ import { paginateListConnectors } from "./pagination/ListConnectorsPaginator";
32
+ import { paginateListFlows } from "./pagination/ListFlowsPaginator";
28
33
  const commands = {
29
34
  CancelFlowExecutionsCommand,
30
35
  CreateConnectorProfileCommand,
@@ -52,6 +57,13 @@ const commands = {
52
57
  UpdateConnectorRegistrationCommand,
53
58
  UpdateFlowCommand,
54
59
  };
60
+ const paginators = {
61
+ paginateDescribeConnectorProfiles,
62
+ paginateDescribeConnectors,
63
+ paginateDescribeFlowExecutionRecords,
64
+ paginateListConnectors,
65
+ paginateListFlows,
66
+ };
55
67
  export class Appflow extends AppflowClient {
56
68
  }
57
- createAggregatedClient(commands, Appflow);
69
+ createAggregatedClient(commands, Appflow, { 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 { AppflowClient } from "./AppflowClient";
3
3
  import { CancelFlowExecutionsCommandInput, CancelFlowExecutionsCommandOutput } from "./commands/CancelFlowExecutionsCommand";
4
4
  import { CreateConnectorProfileCommandInput, CreateConnectorProfileCommandOutput } from "./commands/CreateConnectorProfileCommand";
@@ -183,6 +183,41 @@ export interface Appflow {
183
183
  updateFlow(args: UpdateFlowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowCommandOutput>;
184
184
  updateFlow(args: UpdateFlowCommandInput, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
185
185
  updateFlow(args: UpdateFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
186
+ /**
187
+ * @see {@link DescribeConnectorProfilesCommand}
188
+ * @param args - command input.
189
+ * @param paginationConfig - optional pagination config.
190
+ * @returns AsyncIterable of {@link DescribeConnectorProfilesCommandOutput}.
191
+ */
192
+ paginateDescribeConnectorProfiles(args?: DescribeConnectorProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeConnectorProfilesCommandOutput>;
193
+ /**
194
+ * @see {@link DescribeConnectorsCommand}
195
+ * @param args - command input.
196
+ * @param paginationConfig - optional pagination config.
197
+ * @returns AsyncIterable of {@link DescribeConnectorsCommandOutput}.
198
+ */
199
+ paginateDescribeConnectors(args?: DescribeConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeConnectorsCommandOutput>;
200
+ /**
201
+ * @see {@link DescribeFlowExecutionRecordsCommand}
202
+ * @param args - command input.
203
+ * @param paginationConfig - optional pagination config.
204
+ * @returns AsyncIterable of {@link DescribeFlowExecutionRecordsCommandOutput}.
205
+ */
206
+ paginateDescribeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeFlowExecutionRecordsCommandOutput>;
207
+ /**
208
+ * @see {@link ListConnectorsCommand}
209
+ * @param args - command input.
210
+ * @param paginationConfig - optional pagination config.
211
+ * @returns AsyncIterable of {@link ListConnectorsCommandOutput}.
212
+ */
213
+ paginateListConnectors(args?: ListConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorsCommandOutput>;
214
+ /**
215
+ * @see {@link ListFlowsCommand}
216
+ * @param args - command input.
217
+ * @param paginationConfig - optional pagination config.
218
+ * @returns AsyncIterable of {@link ListFlowsCommandOutput}.
219
+ */
220
+ paginateListFlows(args?: ListFlowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFlowsCommandOutput>;
186
221
  }
187
222
  /**
188
223
  * <p>Welcome to the Amazon AppFlow API reference. This guide is for developers who 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 { AppflowClient } from "./AppflowClient";
3
7
  import {
4
8
  CancelFlowExecutionsCommandInput,
@@ -433,5 +437,40 @@ export interface Appflow {
433
437
  options: __HttpHandlerOptions,
434
438
  cb: (err: any, data?: UpdateFlowCommandOutput) => void
435
439
  ): void;
440
+ paginateDescribeConnectorProfiles(
441
+ args?: DescribeConnectorProfilesCommandInput,
442
+ paginationConfig?: Pick<
443
+ PaginationConfiguration,
444
+ Exclude<keyof PaginationConfiguration, "client">
445
+ >
446
+ ): Paginator<DescribeConnectorProfilesCommandOutput>;
447
+ paginateDescribeConnectors(
448
+ args?: DescribeConnectorsCommandInput,
449
+ paginationConfig?: Pick<
450
+ PaginationConfiguration,
451
+ Exclude<keyof PaginationConfiguration, "client">
452
+ >
453
+ ): Paginator<DescribeConnectorsCommandOutput>;
454
+ paginateDescribeFlowExecutionRecords(
455
+ args: DescribeFlowExecutionRecordsCommandInput,
456
+ paginationConfig?: Pick<
457
+ PaginationConfiguration,
458
+ Exclude<keyof PaginationConfiguration, "client">
459
+ >
460
+ ): Paginator<DescribeFlowExecutionRecordsCommandOutput>;
461
+ paginateListConnectors(
462
+ args?: ListConnectorsCommandInput,
463
+ paginationConfig?: Pick<
464
+ PaginationConfiguration,
465
+ Exclude<keyof PaginationConfiguration, "client">
466
+ >
467
+ ): Paginator<ListConnectorsCommandOutput>;
468
+ paginateListFlows(
469
+ args?: ListFlowsCommandInput,
470
+ paginationConfig?: Pick<
471
+ PaginationConfiguration,
472
+ Exclude<keyof PaginationConfiguration, "client">
473
+ >
474
+ ): Paginator<ListFlowsCommandOutput>;
436
475
  }
437
476
  export declare class Appflow extends AppflowClient implements Appflow {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appflow",
3
3
  "description": "AWS SDK for JavaScript Appflow 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-appflow",
@@ -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",