@aws-sdk/client-appfabric 3.975.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
@@ -1295,6 +1295,14 @@ class UpdateIngestionDestinationCommand extends smithyClient.Command
1295
1295
  .build() {
1296
1296
  }
1297
1297
 
1298
+ const paginateListAppAuthorizations = core.createPaginator(AppFabricClient, ListAppAuthorizationsCommand, "nextToken", "nextToken", "maxResults");
1299
+
1300
+ const paginateListAppBundles = core.createPaginator(AppFabricClient, ListAppBundlesCommand, "nextToken", "nextToken", "maxResults");
1301
+
1302
+ const paginateListIngestionDestinations = core.createPaginator(AppFabricClient, ListIngestionDestinationsCommand, "nextToken", "nextToken", "maxResults");
1303
+
1304
+ const paginateListIngestions = core.createPaginator(AppFabricClient, ListIngestionsCommand, "nextToken", "nextToken", "maxResults");
1305
+
1298
1306
  const commands = {
1299
1307
  BatchGetUserAccessTasksCommand,
1300
1308
  ConnectAppAuthorizationCommand,
@@ -1323,17 +1331,15 @@ const commands = {
1323
1331
  UpdateAppAuthorizationCommand,
1324
1332
  UpdateIngestionDestinationCommand,
1325
1333
  };
1334
+ const paginators = {
1335
+ paginateListAppAuthorizations,
1336
+ paginateListAppBundles,
1337
+ paginateListIngestionDestinations,
1338
+ paginateListIngestions,
1339
+ };
1326
1340
  class AppFabric extends AppFabricClient {
1327
1341
  }
1328
- smithyClient.createAggregatedClient(commands, AppFabric);
1329
-
1330
- const paginateListAppAuthorizations = core.createPaginator(AppFabricClient, ListAppAuthorizationsCommand, "nextToken", "nextToken", "maxResults");
1331
-
1332
- const paginateListAppBundles = core.createPaginator(AppFabricClient, ListAppBundlesCommand, "nextToken", "nextToken", "maxResults");
1333
-
1334
- const paginateListIngestionDestinations = core.createPaginator(AppFabricClient, ListIngestionDestinationsCommand, "nextToken", "nextToken", "maxResults");
1335
-
1336
- const paginateListIngestions = core.createPaginator(AppFabricClient, ListIngestionsCommand, "nextToken", "nextToken", "maxResults");
1342
+ smithyClient.createAggregatedClient(commands, AppFabric, { paginators });
1337
1343
 
1338
1344
  const AuthType = {
1339
1345
  API_KEY: "apiKey",
@@ -26,6 +26,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
26
26
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
27
27
  import { UpdateAppAuthorizationCommand, } from "./commands/UpdateAppAuthorizationCommand";
28
28
  import { UpdateIngestionDestinationCommand, } from "./commands/UpdateIngestionDestinationCommand";
29
+ import { paginateListAppAuthorizations } from "./pagination/ListAppAuthorizationsPaginator";
30
+ import { paginateListAppBundles } from "./pagination/ListAppBundlesPaginator";
31
+ import { paginateListIngestionDestinations } from "./pagination/ListIngestionDestinationsPaginator";
32
+ import { paginateListIngestions } from "./pagination/ListIngestionsPaginator";
29
33
  const commands = {
30
34
  BatchGetUserAccessTasksCommand,
31
35
  ConnectAppAuthorizationCommand,
@@ -54,6 +58,12 @@ const commands = {
54
58
  UpdateAppAuthorizationCommand,
55
59
  UpdateIngestionDestinationCommand,
56
60
  };
61
+ const paginators = {
62
+ paginateListAppAuthorizations,
63
+ paginateListAppBundles,
64
+ paginateListIngestionDestinations,
65
+ paginateListIngestions,
66
+ };
57
67
  export class AppFabric extends AppFabricClient {
58
68
  }
59
- createAggregatedClient(commands, AppFabric);
69
+ createAggregatedClient(commands, AppFabric, { 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 { AppFabricClient } from "./AppFabricClient";
3
3
  import { BatchGetUserAccessTasksCommandInput, BatchGetUserAccessTasksCommandOutput } from "./commands/BatchGetUserAccessTasksCommand";
4
4
  import { ConnectAppAuthorizationCommandInput, ConnectAppAuthorizationCommandOutput } from "./commands/ConnectAppAuthorizationCommand";
@@ -185,6 +185,34 @@ export interface AppFabric {
185
185
  updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIngestionDestinationCommandOutput>;
186
186
  updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, cb: (err: any, data?: UpdateIngestionDestinationCommandOutput) => void): void;
187
187
  updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIngestionDestinationCommandOutput) => void): void;
188
+ /**
189
+ * @see {@link ListAppAuthorizationsCommand}
190
+ * @param args - command input.
191
+ * @param paginationConfig - optional pagination config.
192
+ * @returns AsyncIterable of {@link ListAppAuthorizationsCommandOutput}.
193
+ */
194
+ paginateListAppAuthorizations(args: ListAppAuthorizationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppAuthorizationsCommandOutput>;
195
+ /**
196
+ * @see {@link ListAppBundlesCommand}
197
+ * @param args - command input.
198
+ * @param paginationConfig - optional pagination config.
199
+ * @returns AsyncIterable of {@link ListAppBundlesCommandOutput}.
200
+ */
201
+ paginateListAppBundles(args?: ListAppBundlesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppBundlesCommandOutput>;
202
+ /**
203
+ * @see {@link ListIngestionDestinationsCommand}
204
+ * @param args - command input.
205
+ * @param paginationConfig - optional pagination config.
206
+ * @returns AsyncIterable of {@link ListIngestionDestinationsCommandOutput}.
207
+ */
208
+ paginateListIngestionDestinations(args: ListIngestionDestinationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIngestionDestinationsCommandOutput>;
209
+ /**
210
+ * @see {@link ListIngestionsCommand}
211
+ * @param args - command input.
212
+ * @param paginationConfig - optional pagination config.
213
+ * @returns AsyncIterable of {@link ListIngestionsCommandOutput}.
214
+ */
215
+ paginateListIngestions(args: ListIngestionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIngestionsCommandOutput>;
188
216
  }
189
217
  /**
190
218
  * <p>Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications across your
@@ -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 { AppFabricClient } from "./AppFabricClient";
3
7
  import {
4
8
  BatchGetUserAccessTasksCommandInput,
@@ -445,5 +449,33 @@ export interface AppFabric {
445
449
  options: __HttpHandlerOptions,
446
450
  cb: (err: any, data?: UpdateIngestionDestinationCommandOutput) => void
447
451
  ): void;
452
+ paginateListAppAuthorizations(
453
+ args: ListAppAuthorizationsCommandInput,
454
+ paginationConfig?: Pick<
455
+ PaginationConfiguration,
456
+ Exclude<keyof PaginationConfiguration, "client">
457
+ >
458
+ ): Paginator<ListAppAuthorizationsCommandOutput>;
459
+ paginateListAppBundles(
460
+ args?: ListAppBundlesCommandInput,
461
+ paginationConfig?: Pick<
462
+ PaginationConfiguration,
463
+ Exclude<keyof PaginationConfiguration, "client">
464
+ >
465
+ ): Paginator<ListAppBundlesCommandOutput>;
466
+ paginateListIngestionDestinations(
467
+ args: ListIngestionDestinationsCommandInput,
468
+ paginationConfig?: Pick<
469
+ PaginationConfiguration,
470
+ Exclude<keyof PaginationConfiguration, "client">
471
+ >
472
+ ): Paginator<ListIngestionDestinationsCommandOutput>;
473
+ paginateListIngestions(
474
+ args: ListIngestionsCommandInput,
475
+ paginationConfig?: Pick<
476
+ PaginationConfiguration,
477
+ Exclude<keyof PaginationConfiguration, "client">
478
+ >
479
+ ): Paginator<ListIngestionsCommandOutput>;
448
480
  }
449
481
  export declare class AppFabric extends AppFabricClient implements AppFabric {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appfabric",
3
3
  "description": "AWS SDK for JavaScript Appfabric Client for Node.js, Browser and React Native",
4
- "version": "3.975.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-appfabric",
@@ -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",
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.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",