@aws-sdk/client-launch-wizard 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
@@ -783,6 +783,16 @@ class UpdateDeploymentCommand extends smithyClient.Command
783
783
  .build() {
784
784
  }
785
785
 
786
+ const paginateListDeploymentEvents = core.createPaginator(LaunchWizardClient, ListDeploymentEventsCommand, "nextToken", "nextToken", "maxResults");
787
+
788
+ const paginateListDeploymentPatternVersions = core.createPaginator(LaunchWizardClient, ListDeploymentPatternVersionsCommand, "nextToken", "nextToken", "maxResults");
789
+
790
+ const paginateListDeployments = core.createPaginator(LaunchWizardClient, ListDeploymentsCommand, "nextToken", "nextToken", "maxResults");
791
+
792
+ const paginateListWorkloadDeploymentPatterns = core.createPaginator(LaunchWizardClient, ListWorkloadDeploymentPatternsCommand, "nextToken", "nextToken", "maxResults");
793
+
794
+ const paginateListWorkloads = core.createPaginator(LaunchWizardClient, ListWorkloadsCommand, "nextToken", "nextToken", "maxResults");
795
+
786
796
  const commands = {
787
797
  CreateDeploymentCommand,
788
798
  DeleteDeploymentCommand,
@@ -800,19 +810,16 @@ const commands = {
800
810
  UntagResourceCommand,
801
811
  UpdateDeploymentCommand,
802
812
  };
813
+ const paginators = {
814
+ paginateListDeploymentEvents,
815
+ paginateListDeploymentPatternVersions,
816
+ paginateListDeployments,
817
+ paginateListWorkloadDeploymentPatterns,
818
+ paginateListWorkloads,
819
+ };
803
820
  class LaunchWizard extends LaunchWizardClient {
804
821
  }
805
- smithyClient.createAggregatedClient(commands, LaunchWizard);
806
-
807
- const paginateListDeploymentEvents = core.createPaginator(LaunchWizardClient, ListDeploymentEventsCommand, "nextToken", "nextToken", "maxResults");
808
-
809
- const paginateListDeploymentPatternVersions = core.createPaginator(LaunchWizardClient, ListDeploymentPatternVersionsCommand, "nextToken", "nextToken", "maxResults");
810
-
811
- const paginateListDeployments = core.createPaginator(LaunchWizardClient, ListDeploymentsCommand, "nextToken", "nextToken", "maxResults");
812
-
813
- const paginateListWorkloadDeploymentPatterns = core.createPaginator(LaunchWizardClient, ListWorkloadDeploymentPatternsCommand, "nextToken", "nextToken", "maxResults");
814
-
815
- const paginateListWorkloads = core.createPaginator(LaunchWizardClient, ListWorkloadsCommand, "nextToken", "nextToken", "maxResults");
822
+ smithyClient.createAggregatedClient(commands, LaunchWizard, { paginators });
816
823
 
817
824
  const DeploymentStatus = {
818
825
  COMPLETED: "COMPLETED",
@@ -15,6 +15,11 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
15
15
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
16
16
  import { UpdateDeploymentCommand, } from "./commands/UpdateDeploymentCommand";
17
17
  import { LaunchWizardClient } from "./LaunchWizardClient";
18
+ import { paginateListDeploymentEvents } from "./pagination/ListDeploymentEventsPaginator";
19
+ import { paginateListDeploymentPatternVersions } from "./pagination/ListDeploymentPatternVersionsPaginator";
20
+ import { paginateListDeployments } from "./pagination/ListDeploymentsPaginator";
21
+ import { paginateListWorkloadDeploymentPatterns } from "./pagination/ListWorkloadDeploymentPatternsPaginator";
22
+ import { paginateListWorkloads } from "./pagination/ListWorkloadsPaginator";
18
23
  const commands = {
19
24
  CreateDeploymentCommand,
20
25
  DeleteDeploymentCommand,
@@ -32,6 +37,13 @@ const commands = {
32
37
  UntagResourceCommand,
33
38
  UpdateDeploymentCommand,
34
39
  };
40
+ const paginators = {
41
+ paginateListDeploymentEvents,
42
+ paginateListDeploymentPatternVersions,
43
+ paginateListDeployments,
44
+ paginateListWorkloadDeploymentPatterns,
45
+ paginateListWorkloads,
46
+ };
35
47
  export class LaunchWizard extends LaunchWizardClient {
36
48
  }
37
- createAggregatedClient(commands, LaunchWizard);
49
+ createAggregatedClient(commands, LaunchWizard, { 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 { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
3
3
  import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
4
4
  import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
@@ -108,6 +108,41 @@ export interface LaunchWizard {
108
108
  updateDeployment(args: UpdateDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDeploymentCommandOutput>;
109
109
  updateDeployment(args: UpdateDeploymentCommandInput, cb: (err: any, data?: UpdateDeploymentCommandOutput) => void): void;
110
110
  updateDeployment(args: UpdateDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeploymentCommandOutput) => void): void;
111
+ /**
112
+ * @see {@link ListDeploymentEventsCommand}
113
+ * @param args - command input.
114
+ * @param paginationConfig - optional pagination config.
115
+ * @returns AsyncIterable of {@link ListDeploymentEventsCommandOutput}.
116
+ */
117
+ paginateListDeploymentEvents(args: ListDeploymentEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentEventsCommandOutput>;
118
+ /**
119
+ * @see {@link ListDeploymentPatternVersionsCommand}
120
+ * @param args - command input.
121
+ * @param paginationConfig - optional pagination config.
122
+ * @returns AsyncIterable of {@link ListDeploymentPatternVersionsCommandOutput}.
123
+ */
124
+ paginateListDeploymentPatternVersions(args: ListDeploymentPatternVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentPatternVersionsCommandOutput>;
125
+ /**
126
+ * @see {@link ListDeploymentsCommand}
127
+ * @param args - command input.
128
+ * @param paginationConfig - optional pagination config.
129
+ * @returns AsyncIterable of {@link ListDeploymentsCommandOutput}.
130
+ */
131
+ paginateListDeployments(args?: ListDeploymentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentsCommandOutput>;
132
+ /**
133
+ * @see {@link ListWorkloadDeploymentPatternsCommand}
134
+ * @param args - command input.
135
+ * @param paginationConfig - optional pagination config.
136
+ * @returns AsyncIterable of {@link ListWorkloadDeploymentPatternsCommandOutput}.
137
+ */
138
+ paginateListWorkloadDeploymentPatterns(args: ListWorkloadDeploymentPatternsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkloadDeploymentPatternsCommandOutput>;
139
+ /**
140
+ * @see {@link ListWorkloadsCommand}
141
+ * @param args - command input.
142
+ * @param paginationConfig - optional pagination config.
143
+ * @returns AsyncIterable of {@link ListWorkloadsCommandOutput}.
144
+ */
145
+ paginateListWorkloads(args?: ListWorkloadsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkloadsCommandOutput>;
111
146
  }
112
147
  /**
113
148
  * <p>Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for third party applications, such as Microsoft SQL Server Always On and HANA based SAP systems, without the need to manually identify and provision individual Amazon Web Services resources.</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
  CreateDeploymentCommandInput,
4
8
  CreateDeploymentCommandOutput,
@@ -258,6 +262,41 @@ export interface LaunchWizard {
258
262
  options: __HttpHandlerOptions,
259
263
  cb: (err: any, data?: UpdateDeploymentCommandOutput) => void
260
264
  ): void;
265
+ paginateListDeploymentEvents(
266
+ args: ListDeploymentEventsCommandInput,
267
+ paginationConfig?: Pick<
268
+ PaginationConfiguration,
269
+ Exclude<keyof PaginationConfiguration, "client">
270
+ >
271
+ ): Paginator<ListDeploymentEventsCommandOutput>;
272
+ paginateListDeploymentPatternVersions(
273
+ args: ListDeploymentPatternVersionsCommandInput,
274
+ paginationConfig?: Pick<
275
+ PaginationConfiguration,
276
+ Exclude<keyof PaginationConfiguration, "client">
277
+ >
278
+ ): Paginator<ListDeploymentPatternVersionsCommandOutput>;
279
+ paginateListDeployments(
280
+ args?: ListDeploymentsCommandInput,
281
+ paginationConfig?: Pick<
282
+ PaginationConfiguration,
283
+ Exclude<keyof PaginationConfiguration, "client">
284
+ >
285
+ ): Paginator<ListDeploymentsCommandOutput>;
286
+ paginateListWorkloadDeploymentPatterns(
287
+ args: ListWorkloadDeploymentPatternsCommandInput,
288
+ paginationConfig?: Pick<
289
+ PaginationConfiguration,
290
+ Exclude<keyof PaginationConfiguration, "client">
291
+ >
292
+ ): Paginator<ListWorkloadDeploymentPatternsCommandOutput>;
293
+ paginateListWorkloads(
294
+ args?: ListWorkloadsCommandInput,
295
+ paginationConfig?: Pick<
296
+ PaginationConfiguration,
297
+ Exclude<keyof PaginationConfiguration, "client">
298
+ >
299
+ ): Paginator<ListWorkloadsCommandOutput>;
261
300
  }
262
301
  export declare class LaunchWizard
263
302
  extends LaunchWizardClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-launch-wizard",
3
3
  "description": "AWS SDK for JavaScript Launch Wizard 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-launch-wizard",
@@ -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",