@aws-sdk/client-migrationhubstrategy 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
|
@@ -1510,6 +1510,18 @@ class UpdateServerConfigCommand extends smithyClient.Command
|
|
|
1510
1510
|
.build() {
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
|
+
const paginateGetServerDetails = core.createPaginator(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults");
|
|
1514
|
+
|
|
1515
|
+
const paginateListAnalyzableServers = core.createPaginator(MigrationHubStrategyClient, ListAnalyzableServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1516
|
+
|
|
1517
|
+
const paginateListApplicationComponents = core.createPaginator(MigrationHubStrategyClient, ListApplicationComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1518
|
+
|
|
1519
|
+
const paginateListCollectors = core.createPaginator(MigrationHubStrategyClient, ListCollectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1520
|
+
|
|
1521
|
+
const paginateListImportFileTask = core.createPaginator(MigrationHubStrategyClient, ListImportFileTaskCommand, "nextToken", "nextToken", "maxResults");
|
|
1522
|
+
|
|
1523
|
+
const paginateListServers = core.createPaginator(MigrationHubStrategyClient, ListServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1524
|
+
|
|
1513
1525
|
const commands = {
|
|
1514
1526
|
GetApplicationComponentDetailsCommand,
|
|
1515
1527
|
GetApplicationComponentStrategiesCommand,
|
|
@@ -1534,21 +1546,17 @@ const commands = {
|
|
|
1534
1546
|
UpdateApplicationComponentConfigCommand,
|
|
1535
1547
|
UpdateServerConfigCommand,
|
|
1536
1548
|
};
|
|
1549
|
+
const paginators = {
|
|
1550
|
+
paginateGetServerDetails,
|
|
1551
|
+
paginateListAnalyzableServers,
|
|
1552
|
+
paginateListApplicationComponents,
|
|
1553
|
+
paginateListCollectors,
|
|
1554
|
+
paginateListImportFileTask,
|
|
1555
|
+
paginateListServers,
|
|
1556
|
+
};
|
|
1537
1557
|
class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
1538
1558
|
}
|
|
1539
|
-
smithyClient.createAggregatedClient(commands, MigrationHubStrategy);
|
|
1540
|
-
|
|
1541
|
-
const paginateGetServerDetails = core.createPaginator(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults");
|
|
1542
|
-
|
|
1543
|
-
const paginateListAnalyzableServers = core.createPaginator(MigrationHubStrategyClient, ListAnalyzableServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1544
|
-
|
|
1545
|
-
const paginateListApplicationComponents = core.createPaginator(MigrationHubStrategyClient, ListApplicationComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1546
|
-
|
|
1547
|
-
const paginateListCollectors = core.createPaginator(MigrationHubStrategyClient, ListCollectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1548
|
-
|
|
1549
|
-
const paginateListImportFileTask = core.createPaginator(MigrationHubStrategyClient, ListImportFileTaskCommand, "nextToken", "nextToken", "maxResults");
|
|
1550
|
-
|
|
1551
|
-
const paginateListServers = core.createPaginator(MigrationHubStrategyClient, ListServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1559
|
+
smithyClient.createAggregatedClient(commands, MigrationHubStrategy, { paginators });
|
|
1552
1560
|
|
|
1553
1561
|
const RuntimeAnalysisStatus = {
|
|
1554
1562
|
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
@@ -22,6 +22,12 @@ import { StopAssessmentCommand, } from "./commands/StopAssessmentCommand";
|
|
|
22
22
|
import { UpdateApplicationComponentConfigCommand, } from "./commands/UpdateApplicationComponentConfigCommand";
|
|
23
23
|
import { UpdateServerConfigCommand, } from "./commands/UpdateServerConfigCommand";
|
|
24
24
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
25
|
+
import { paginateGetServerDetails } from "./pagination/GetServerDetailsPaginator";
|
|
26
|
+
import { paginateListAnalyzableServers } from "./pagination/ListAnalyzableServersPaginator";
|
|
27
|
+
import { paginateListApplicationComponents } from "./pagination/ListApplicationComponentsPaginator";
|
|
28
|
+
import { paginateListCollectors } from "./pagination/ListCollectorsPaginator";
|
|
29
|
+
import { paginateListImportFileTask } from "./pagination/ListImportFileTaskPaginator";
|
|
30
|
+
import { paginateListServers } from "./pagination/ListServersPaginator";
|
|
25
31
|
const commands = {
|
|
26
32
|
GetApplicationComponentDetailsCommand,
|
|
27
33
|
GetApplicationComponentStrategiesCommand,
|
|
@@ -46,6 +52,14 @@ const commands = {
|
|
|
46
52
|
UpdateApplicationComponentConfigCommand,
|
|
47
53
|
UpdateServerConfigCommand,
|
|
48
54
|
};
|
|
55
|
+
const paginators = {
|
|
56
|
+
paginateGetServerDetails,
|
|
57
|
+
paginateListAnalyzableServers,
|
|
58
|
+
paginateListApplicationComponents,
|
|
59
|
+
paginateListCollectors,
|
|
60
|
+
paginateListImportFileTask,
|
|
61
|
+
paginateListServers,
|
|
62
|
+
};
|
|
49
63
|
export class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
50
64
|
}
|
|
51
|
-
createAggregatedClient(commands, MigrationHubStrategy);
|
|
65
|
+
createAggregatedClient(commands, MigrationHubStrategy, { 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 { GetApplicationComponentDetailsCommandInput, GetApplicationComponentDetailsCommandOutput } from "./commands/GetApplicationComponentDetailsCommand";
|
|
3
3
|
import { GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput } from "./commands/GetApplicationComponentStrategiesCommand";
|
|
4
4
|
import { GetAssessmentCommandInput, GetAssessmentCommandOutput } from "./commands/GetAssessmentCommand";
|
|
@@ -166,6 +166,48 @@ export interface MigrationHubStrategy {
|
|
|
166
166
|
updateServerConfig(args: UpdateServerConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServerConfigCommandOutput>;
|
|
167
167
|
updateServerConfig(args: UpdateServerConfigCommandInput, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
168
168
|
updateServerConfig(args: UpdateServerConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
169
|
+
/**
|
|
170
|
+
* @see {@link GetServerDetailsCommand}
|
|
171
|
+
* @param args - command input.
|
|
172
|
+
* @param paginationConfig - optional pagination config.
|
|
173
|
+
* @returns AsyncIterable of {@link GetServerDetailsCommandOutput}.
|
|
174
|
+
*/
|
|
175
|
+
paginateGetServerDetails(args: GetServerDetailsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetServerDetailsCommandOutput>;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link ListAnalyzableServersCommand}
|
|
178
|
+
* @param args - command input.
|
|
179
|
+
* @param paginationConfig - optional pagination config.
|
|
180
|
+
* @returns AsyncIterable of {@link ListAnalyzableServersCommandOutput}.
|
|
181
|
+
*/
|
|
182
|
+
paginateListAnalyzableServers(args?: ListAnalyzableServersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAnalyzableServersCommandOutput>;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link ListApplicationComponentsCommand}
|
|
185
|
+
* @param args - command input.
|
|
186
|
+
* @param paginationConfig - optional pagination config.
|
|
187
|
+
* @returns AsyncIterable of {@link ListApplicationComponentsCommandOutput}.
|
|
188
|
+
*/
|
|
189
|
+
paginateListApplicationComponents(args?: ListApplicationComponentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationComponentsCommandOutput>;
|
|
190
|
+
/**
|
|
191
|
+
* @see {@link ListCollectorsCommand}
|
|
192
|
+
* @param args - command input.
|
|
193
|
+
* @param paginationConfig - optional pagination config.
|
|
194
|
+
* @returns AsyncIterable of {@link ListCollectorsCommandOutput}.
|
|
195
|
+
*/
|
|
196
|
+
paginateListCollectors(args?: ListCollectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCollectorsCommandOutput>;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link ListImportFileTaskCommand}
|
|
199
|
+
* @param args - command input.
|
|
200
|
+
* @param paginationConfig - optional pagination config.
|
|
201
|
+
* @returns AsyncIterable of {@link ListImportFileTaskCommandOutput}.
|
|
202
|
+
*/
|
|
203
|
+
paginateListImportFileTask(args?: ListImportFileTaskCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListImportFileTaskCommandOutput>;
|
|
204
|
+
/**
|
|
205
|
+
* @see {@link ListServersCommand}
|
|
206
|
+
* @param args - command input.
|
|
207
|
+
* @param paginationConfig - optional pagination config.
|
|
208
|
+
* @returns AsyncIterable of {@link ListServersCommandOutput}.
|
|
209
|
+
*/
|
|
210
|
+
paginateListServers(args?: ListServersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServersCommandOutput>;
|
|
169
211
|
}
|
|
170
212
|
/**
|
|
171
213
|
* <fullname>Migration Hub Strategy Recommendations</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
|
GetApplicationComponentDetailsCommandInput,
|
|
4
8
|
GetApplicationComponentDetailsCommandOutput,
|
|
@@ -398,6 +402,48 @@ export interface MigrationHubStrategy {
|
|
|
398
402
|
options: __HttpHandlerOptions,
|
|
399
403
|
cb: (err: any, data?: UpdateServerConfigCommandOutput) => void
|
|
400
404
|
): void;
|
|
405
|
+
paginateGetServerDetails(
|
|
406
|
+
args: GetServerDetailsCommandInput,
|
|
407
|
+
paginationConfig?: Pick<
|
|
408
|
+
PaginationConfiguration,
|
|
409
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
410
|
+
>
|
|
411
|
+
): Paginator<GetServerDetailsCommandOutput>;
|
|
412
|
+
paginateListAnalyzableServers(
|
|
413
|
+
args?: ListAnalyzableServersCommandInput,
|
|
414
|
+
paginationConfig?: Pick<
|
|
415
|
+
PaginationConfiguration,
|
|
416
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
417
|
+
>
|
|
418
|
+
): Paginator<ListAnalyzableServersCommandOutput>;
|
|
419
|
+
paginateListApplicationComponents(
|
|
420
|
+
args?: ListApplicationComponentsCommandInput,
|
|
421
|
+
paginationConfig?: Pick<
|
|
422
|
+
PaginationConfiguration,
|
|
423
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
424
|
+
>
|
|
425
|
+
): Paginator<ListApplicationComponentsCommandOutput>;
|
|
426
|
+
paginateListCollectors(
|
|
427
|
+
args?: ListCollectorsCommandInput,
|
|
428
|
+
paginationConfig?: Pick<
|
|
429
|
+
PaginationConfiguration,
|
|
430
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
431
|
+
>
|
|
432
|
+
): Paginator<ListCollectorsCommandOutput>;
|
|
433
|
+
paginateListImportFileTask(
|
|
434
|
+
args?: ListImportFileTaskCommandInput,
|
|
435
|
+
paginationConfig?: Pick<
|
|
436
|
+
PaginationConfiguration,
|
|
437
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
438
|
+
>
|
|
439
|
+
): Paginator<ListImportFileTaskCommandOutput>;
|
|
440
|
+
paginateListServers(
|
|
441
|
+
args?: ListServersCommandInput,
|
|
442
|
+
paginationConfig?: Pick<
|
|
443
|
+
PaginationConfiguration,
|
|
444
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
445
|
+
>
|
|
446
|
+
): Paginator<ListServersCommandOutput>;
|
|
401
447
|
}
|
|
402
448
|
export declare class MigrationHubStrategy
|
|
403
449
|
extends MigrationHubStrategyClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhubstrategy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhubstrategy 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-migrationhubstrategy",
|
|
@@ -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",
|