@aws-sdk/client-migrationhuborchestrator 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
@@ -1351,6 +1351,20 @@ class UpdateWorkflowStepGroupCommand extends smithyClient.Command
1351
1351
  .build() {
1352
1352
  }
1353
1353
 
1354
+ const paginateListPlugins = core.createPaginator(MigrationHubOrchestratorClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults");
1355
+
1356
+ const paginateListTemplates = core.createPaginator(MigrationHubOrchestratorClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults");
1357
+
1358
+ const paginateListTemplateStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults");
1359
+
1360
+ const paginateListTemplateSteps = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults");
1361
+
1362
+ const paginateListWorkflows = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
1363
+
1364
+ const paginateListWorkflowStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults");
1365
+
1366
+ const paginateListWorkflowSteps = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
1367
+
1354
1368
  const commands = {
1355
1369
  CreateTemplateCommand,
1356
1370
  CreateWorkflowCommand,
@@ -1384,23 +1398,18 @@ const commands = {
1384
1398
  UpdateWorkflowStepCommand,
1385
1399
  UpdateWorkflowStepGroupCommand,
1386
1400
  };
1401
+ const paginators = {
1402
+ paginateListPlugins,
1403
+ paginateListTemplates,
1404
+ paginateListTemplateStepGroups,
1405
+ paginateListTemplateSteps,
1406
+ paginateListWorkflows,
1407
+ paginateListWorkflowStepGroups,
1408
+ paginateListWorkflowSteps,
1409
+ };
1387
1410
  class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
1388
1411
  }
1389
- smithyClient.createAggregatedClient(commands, MigrationHubOrchestrator);
1390
-
1391
- const paginateListPlugins = core.createPaginator(MigrationHubOrchestratorClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults");
1392
-
1393
- const paginateListTemplates = core.createPaginator(MigrationHubOrchestratorClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults");
1394
-
1395
- const paginateListTemplateStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults");
1396
-
1397
- const paginateListTemplateSteps = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults");
1398
-
1399
- const paginateListWorkflows = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
1400
-
1401
- const paginateListWorkflowStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults");
1402
-
1403
- const paginateListWorkflowSteps = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
1412
+ smithyClient.createAggregatedClient(commands, MigrationHubOrchestrator, { paginators });
1404
1413
 
1405
1414
  const MigrationWorkflowStatusEnum = {
1406
1415
  COMPLETED: "COMPLETED",
@@ -31,6 +31,13 @@ import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
31
31
  import { UpdateWorkflowStepCommand, } from "./commands/UpdateWorkflowStepCommand";
32
32
  import { UpdateWorkflowStepGroupCommand, } from "./commands/UpdateWorkflowStepGroupCommand";
33
33
  import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
34
+ import { paginateListPlugins } from "./pagination/ListPluginsPaginator";
35
+ import { paginateListTemplates } from "./pagination/ListTemplatesPaginator";
36
+ import { paginateListTemplateStepGroups } from "./pagination/ListTemplateStepGroupsPaginator";
37
+ import { paginateListTemplateSteps } from "./pagination/ListTemplateStepsPaginator";
38
+ import { paginateListWorkflows } from "./pagination/ListWorkflowsPaginator";
39
+ import { paginateListWorkflowStepGroups } from "./pagination/ListWorkflowStepGroupsPaginator";
40
+ import { paginateListWorkflowSteps } from "./pagination/ListWorkflowStepsPaginator";
34
41
  const commands = {
35
42
  CreateTemplateCommand,
36
43
  CreateWorkflowCommand,
@@ -64,6 +71,15 @@ const commands = {
64
71
  UpdateWorkflowStepCommand,
65
72
  UpdateWorkflowStepGroupCommand,
66
73
  };
74
+ const paginators = {
75
+ paginateListPlugins,
76
+ paginateListTemplates,
77
+ paginateListTemplateStepGroups,
78
+ paginateListTemplateSteps,
79
+ paginateListWorkflows,
80
+ paginateListWorkflowStepGroups,
81
+ paginateListWorkflowSteps,
82
+ };
67
83
  export class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
68
84
  }
69
- createAggregatedClient(commands, MigrationHubOrchestrator);
85
+ createAggregatedClient(commands, MigrationHubOrchestrator, { 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 { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
3
3
  import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
4
4
  import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "./commands/CreateWorkflowStepCommand";
@@ -221,6 +221,55 @@ export interface MigrationHubOrchestrator {
221
221
  updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowStepGroupCommandOutput>;
222
222
  updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
223
223
  updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
224
+ /**
225
+ * @see {@link ListPluginsCommand}
226
+ * @param args - command input.
227
+ * @param paginationConfig - optional pagination config.
228
+ * @returns AsyncIterable of {@link ListPluginsCommandOutput}.
229
+ */
230
+ paginateListPlugins(args?: ListPluginsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPluginsCommandOutput>;
231
+ /**
232
+ * @see {@link ListTemplatesCommand}
233
+ * @param args - command input.
234
+ * @param paginationConfig - optional pagination config.
235
+ * @returns AsyncIterable of {@link ListTemplatesCommandOutput}.
236
+ */
237
+ paginateListTemplates(args?: ListTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTemplatesCommandOutput>;
238
+ /**
239
+ * @see {@link ListTemplateStepGroupsCommand}
240
+ * @param args - command input.
241
+ * @param paginationConfig - optional pagination config.
242
+ * @returns AsyncIterable of {@link ListTemplateStepGroupsCommandOutput}.
243
+ */
244
+ paginateListTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTemplateStepGroupsCommandOutput>;
245
+ /**
246
+ * @see {@link ListTemplateStepsCommand}
247
+ * @param args - command input.
248
+ * @param paginationConfig - optional pagination config.
249
+ * @returns AsyncIterable of {@link ListTemplateStepsCommandOutput}.
250
+ */
251
+ paginateListTemplateSteps(args: ListTemplateStepsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTemplateStepsCommandOutput>;
252
+ /**
253
+ * @see {@link ListWorkflowsCommand}
254
+ * @param args - command input.
255
+ * @param paginationConfig - optional pagination config.
256
+ * @returns AsyncIterable of {@link ListWorkflowsCommandOutput}.
257
+ */
258
+ paginateListWorkflows(args?: ListWorkflowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowsCommandOutput>;
259
+ /**
260
+ * @see {@link ListWorkflowStepGroupsCommand}
261
+ * @param args - command input.
262
+ * @param paginationConfig - optional pagination config.
263
+ * @returns AsyncIterable of {@link ListWorkflowStepGroupsCommandOutput}.
264
+ */
265
+ paginateListWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowStepGroupsCommandOutput>;
266
+ /**
267
+ * @see {@link ListWorkflowStepsCommand}
268
+ * @param args - command input.
269
+ * @param paginationConfig - optional pagination config.
270
+ * @returns AsyncIterable of {@link ListWorkflowStepsCommandOutput}.
271
+ */
272
+ paginateListWorkflowSteps(args: ListWorkflowStepsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowStepsCommandOutput>;
224
273
  }
225
274
  /**
226
275
  * <p>This API reference provides descriptions, syntax, and other details about each of the
@@ -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
  CreateTemplateCommandInput,
4
8
  CreateTemplateCommandOutput,
@@ -531,6 +535,55 @@ export interface MigrationHubOrchestrator {
531
535
  options: __HttpHandlerOptions,
532
536
  cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void
533
537
  ): void;
538
+ paginateListPlugins(
539
+ args?: ListPluginsCommandInput,
540
+ paginationConfig?: Pick<
541
+ PaginationConfiguration,
542
+ Exclude<keyof PaginationConfiguration, "client">
543
+ >
544
+ ): Paginator<ListPluginsCommandOutput>;
545
+ paginateListTemplates(
546
+ args?: ListTemplatesCommandInput,
547
+ paginationConfig?: Pick<
548
+ PaginationConfiguration,
549
+ Exclude<keyof PaginationConfiguration, "client">
550
+ >
551
+ ): Paginator<ListTemplatesCommandOutput>;
552
+ paginateListTemplateStepGroups(
553
+ args: ListTemplateStepGroupsCommandInput,
554
+ paginationConfig?: Pick<
555
+ PaginationConfiguration,
556
+ Exclude<keyof PaginationConfiguration, "client">
557
+ >
558
+ ): Paginator<ListTemplateStepGroupsCommandOutput>;
559
+ paginateListTemplateSteps(
560
+ args: ListTemplateStepsCommandInput,
561
+ paginationConfig?: Pick<
562
+ PaginationConfiguration,
563
+ Exclude<keyof PaginationConfiguration, "client">
564
+ >
565
+ ): Paginator<ListTemplateStepsCommandOutput>;
566
+ paginateListWorkflows(
567
+ args?: ListWorkflowsCommandInput,
568
+ paginationConfig?: Pick<
569
+ PaginationConfiguration,
570
+ Exclude<keyof PaginationConfiguration, "client">
571
+ >
572
+ ): Paginator<ListWorkflowsCommandOutput>;
573
+ paginateListWorkflowStepGroups(
574
+ args: ListWorkflowStepGroupsCommandInput,
575
+ paginationConfig?: Pick<
576
+ PaginationConfiguration,
577
+ Exclude<keyof PaginationConfiguration, "client">
578
+ >
579
+ ): Paginator<ListWorkflowStepGroupsCommandOutput>;
580
+ paginateListWorkflowSteps(
581
+ args: ListWorkflowStepsCommandInput,
582
+ paginationConfig?: Pick<
583
+ PaginationConfiguration,
584
+ Exclude<keyof PaginationConfiguration, "client">
585
+ >
586
+ ): Paginator<ListWorkflowStepsCommandOutput>;
534
587
  }
535
588
  export declare class MigrationHubOrchestrator
536
589
  extends MigrationHubOrchestratorClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhuborchestrator",
3
3
  "description": "AWS SDK for JavaScript Migrationhuborchestrator 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-migrationhuborchestrator",
@@ -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",