@aws-sdk/client-migration-hub-refactor-spaces 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
|
@@ -1196,6 +1196,16 @@ class UpdateRouteCommand extends smithyClient.Command
|
|
|
1196
1196
|
.build() {
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
+
const paginateListApplications = core.createPaginator(MigrationHubRefactorSpacesClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1200
|
+
|
|
1201
|
+
const paginateListEnvironments = core.createPaginator(MigrationHubRefactorSpacesClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1202
|
+
|
|
1203
|
+
const paginateListEnvironmentVpcs = core.createPaginator(MigrationHubRefactorSpacesClient, ListEnvironmentVpcsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1204
|
+
|
|
1205
|
+
const paginateListRoutes = core.createPaginator(MigrationHubRefactorSpacesClient, ListRoutesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1206
|
+
|
|
1207
|
+
const paginateListServices = core.createPaginator(MigrationHubRefactorSpacesClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1208
|
+
|
|
1199
1209
|
const commands = {
|
|
1200
1210
|
CreateApplicationCommand,
|
|
1201
1211
|
CreateEnvironmentCommand,
|
|
@@ -1222,19 +1232,16 @@ const commands = {
|
|
|
1222
1232
|
UntagResourceCommand,
|
|
1223
1233
|
UpdateRouteCommand,
|
|
1224
1234
|
};
|
|
1235
|
+
const paginators = {
|
|
1236
|
+
paginateListApplications,
|
|
1237
|
+
paginateListEnvironments,
|
|
1238
|
+
paginateListEnvironmentVpcs,
|
|
1239
|
+
paginateListRoutes,
|
|
1240
|
+
paginateListServices,
|
|
1241
|
+
};
|
|
1225
1242
|
class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient {
|
|
1226
1243
|
}
|
|
1227
|
-
smithyClient.createAggregatedClient(commands, MigrationHubRefactorSpaces);
|
|
1228
|
-
|
|
1229
|
-
const paginateListApplications = core.createPaginator(MigrationHubRefactorSpacesClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1230
|
-
|
|
1231
|
-
const paginateListEnvironments = core.createPaginator(MigrationHubRefactorSpacesClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1232
|
-
|
|
1233
|
-
const paginateListEnvironmentVpcs = core.createPaginator(MigrationHubRefactorSpacesClient, ListEnvironmentVpcsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1234
|
-
|
|
1235
|
-
const paginateListRoutes = core.createPaginator(MigrationHubRefactorSpacesClient, ListRoutesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1236
|
-
|
|
1237
|
-
const paginateListServices = core.createPaginator(MigrationHubRefactorSpacesClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1244
|
+
smithyClient.createAggregatedClient(commands, MigrationHubRefactorSpaces, { paginators });
|
|
1238
1245
|
|
|
1239
1246
|
const ApiGatewayEndpointType = {
|
|
1240
1247
|
PRIVATE: "PRIVATE",
|
|
@@ -24,6 +24,11 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
24
24
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
25
|
import { UpdateRouteCommand } from "./commands/UpdateRouteCommand";
|
|
26
26
|
import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesClient";
|
|
27
|
+
import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
|
|
28
|
+
import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
|
|
29
|
+
import { paginateListEnvironmentVpcs } from "./pagination/ListEnvironmentVpcsPaginator";
|
|
30
|
+
import { paginateListRoutes } from "./pagination/ListRoutesPaginator";
|
|
31
|
+
import { paginateListServices } from "./pagination/ListServicesPaginator";
|
|
27
32
|
const commands = {
|
|
28
33
|
CreateApplicationCommand,
|
|
29
34
|
CreateEnvironmentCommand,
|
|
@@ -50,6 +55,13 @@ const commands = {
|
|
|
50
55
|
UntagResourceCommand,
|
|
51
56
|
UpdateRouteCommand,
|
|
52
57
|
};
|
|
58
|
+
const paginators = {
|
|
59
|
+
paginateListApplications,
|
|
60
|
+
paginateListEnvironments,
|
|
61
|
+
paginateListEnvironmentVpcs,
|
|
62
|
+
paginateListRoutes,
|
|
63
|
+
paginateListServices,
|
|
64
|
+
};
|
|
53
65
|
export class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient {
|
|
54
66
|
}
|
|
55
|
-
createAggregatedClient(commands, MigrationHubRefactorSpaces);
|
|
67
|
+
createAggregatedClient(commands, MigrationHubRefactorSpaces, { 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 { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
3
3
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
4
4
|
import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
|
|
@@ -170,6 +170,41 @@ export interface MigrationHubRefactorSpaces {
|
|
|
170
170
|
updateRoute(args: UpdateRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRouteCommandOutput>;
|
|
171
171
|
updateRoute(args: UpdateRouteCommandInput, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
|
|
172
172
|
updateRoute(args: UpdateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link ListApplicationsCommand}
|
|
175
|
+
* @param args - command input.
|
|
176
|
+
* @param paginationConfig - optional pagination config.
|
|
177
|
+
* @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
|
|
178
|
+
*/
|
|
179
|
+
paginateListApplications(args: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
|
|
180
|
+
/**
|
|
181
|
+
* @see {@link ListEnvironmentsCommand}
|
|
182
|
+
* @param args - command input.
|
|
183
|
+
* @param paginationConfig - optional pagination config.
|
|
184
|
+
* @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
|
|
185
|
+
*/
|
|
186
|
+
paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
|
|
187
|
+
/**
|
|
188
|
+
* @see {@link ListEnvironmentVpcsCommand}
|
|
189
|
+
* @param args - command input.
|
|
190
|
+
* @param paginationConfig - optional pagination config.
|
|
191
|
+
* @returns AsyncIterable of {@link ListEnvironmentVpcsCommandOutput}.
|
|
192
|
+
*/
|
|
193
|
+
paginateListEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentVpcsCommandOutput>;
|
|
194
|
+
/**
|
|
195
|
+
* @see {@link ListRoutesCommand}
|
|
196
|
+
* @param args - command input.
|
|
197
|
+
* @param paginationConfig - optional pagination config.
|
|
198
|
+
* @returns AsyncIterable of {@link ListRoutesCommandOutput}.
|
|
199
|
+
*/
|
|
200
|
+
paginateListRoutes(args: ListRoutesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRoutesCommandOutput>;
|
|
201
|
+
/**
|
|
202
|
+
* @see {@link ListServicesCommand}
|
|
203
|
+
* @param args - command input.
|
|
204
|
+
* @param paginationConfig - optional pagination config.
|
|
205
|
+
* @returns AsyncIterable of {@link ListServicesCommandOutput}.
|
|
206
|
+
*/
|
|
207
|
+
paginateListServices(args: ListServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServicesCommandOutput>;
|
|
173
208
|
}
|
|
174
209
|
/**
|
|
175
210
|
* <fullname>Amazon Web Services Migration Hub Refactor Spaces</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateApplicationCommandInput,
|
|
4
8
|
CreateApplicationCommandOutput,
|
|
@@ -410,6 +414,41 @@ export interface MigrationHubRefactorSpaces {
|
|
|
410
414
|
options: __HttpHandlerOptions,
|
|
411
415
|
cb: (err: any, data?: UpdateRouteCommandOutput) => void
|
|
412
416
|
): void;
|
|
417
|
+
paginateListApplications(
|
|
418
|
+
args: ListApplicationsCommandInput,
|
|
419
|
+
paginationConfig?: Pick<
|
|
420
|
+
PaginationConfiguration,
|
|
421
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
422
|
+
>
|
|
423
|
+
): Paginator<ListApplicationsCommandOutput>;
|
|
424
|
+
paginateListEnvironments(
|
|
425
|
+
args?: ListEnvironmentsCommandInput,
|
|
426
|
+
paginationConfig?: Pick<
|
|
427
|
+
PaginationConfiguration,
|
|
428
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
429
|
+
>
|
|
430
|
+
): Paginator<ListEnvironmentsCommandOutput>;
|
|
431
|
+
paginateListEnvironmentVpcs(
|
|
432
|
+
args: ListEnvironmentVpcsCommandInput,
|
|
433
|
+
paginationConfig?: Pick<
|
|
434
|
+
PaginationConfiguration,
|
|
435
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
436
|
+
>
|
|
437
|
+
): Paginator<ListEnvironmentVpcsCommandOutput>;
|
|
438
|
+
paginateListRoutes(
|
|
439
|
+
args: ListRoutesCommandInput,
|
|
440
|
+
paginationConfig?: Pick<
|
|
441
|
+
PaginationConfiguration,
|
|
442
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
443
|
+
>
|
|
444
|
+
): Paginator<ListRoutesCommandOutput>;
|
|
445
|
+
paginateListServices(
|
|
446
|
+
args: ListServicesCommandInput,
|
|
447
|
+
paginationConfig?: Pick<
|
|
448
|
+
PaginationConfiguration,
|
|
449
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
450
|
+
>
|
|
451
|
+
): Paginator<ListServicesCommandOutput>;
|
|
413
452
|
}
|
|
414
453
|
export declare class MigrationHubRefactorSpaces
|
|
415
454
|
extends MigrationHubRefactorSpacesClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migration-hub-refactor-spaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-migration-hub-refactor-spaces",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
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.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
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.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|