@aws-sdk/client-migrationhubstrategy 3.431.0 → 3.435.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/README.md +8 -0
- package/dist-cjs/MigrationHubStrategy.js +2 -0
- package/dist-cjs/commands/ListAnalyzableServersCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +12 -6
- package/dist-cjs/pagination/ListAnalyzableServersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +69 -1
- package/dist-es/MigrationHubStrategy.js +2 -0
- package/dist-es/commands/ListAnalyzableServersCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +10 -4
- package/dist-es/pagination/ListAnalyzableServersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +66 -0
- package/dist-types/MigrationHubStrategy.d.ts +7 -0
- package/dist-types/MigrationHubStrategyClient.d.ts +3 -2
- package/dist-types/commands/ListAnalyzableServersCommand.d.ts +96 -0
- package/dist-types/commands/StartAssessmentCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +94 -12
- package/dist-types/pagination/ListAnalyzableServersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/MigrationHubStrategy.d.ts +17 -0
- package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListAnalyzableServersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -5
- package/dist-types/ts3.4/pagination/ListAnalyzableServersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +31 -31
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubStrategyClient";
|
|
5
|
+
import { ListAnalyzableServersRequest, ListAnalyzableServersResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAnalyzableServersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAnalyzableServersCommandInput extends ListAnalyzableServersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAnalyzableServersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAnalyzableServersCommandOutput extends ListAnalyzableServersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MigrationHubStrategyClient, ListAnalyzableServersCommand } from "@aws-sdk/client-migrationhubstrategy"; // ES Modules import
|
|
31
|
+
* // const { MigrationHubStrategyClient, ListAnalyzableServersCommand } = require("@aws-sdk/client-migrationhubstrategy"); // CommonJS import
|
|
32
|
+
* const client = new MigrationHubStrategyClient(config);
|
|
33
|
+
* const input = { // ListAnalyzableServersRequest
|
|
34
|
+
* sort: "STRING_VALUE",
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListAnalyzableServersCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListAnalyzableServersResponse
|
|
41
|
+
* // analyzableServers: [ // AnalyzableServerSummaryList
|
|
42
|
+
* // { // AnalyzableServerSummary
|
|
43
|
+
* // hostname: "STRING_VALUE",
|
|
44
|
+
* // ipAddress: "STRING_VALUE",
|
|
45
|
+
* // source: "STRING_VALUE",
|
|
46
|
+
* // vmId: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // nextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListAnalyzableServersCommandInput - {@link ListAnalyzableServersCommandInput}
|
|
55
|
+
* @returns {@link ListAnalyzableServersCommandOutput}
|
|
56
|
+
* @see {@link ListAnalyzableServersCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListAnalyzableServersCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p> The user does not have permission to perform the action. Check the
|
|
62
|
+
* AWS Identity and Access Management (IAM) policy associated with this user.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p> The server experienced an internal error. Try again. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p> The request was denied due to request throttling. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p> The request body isn't valid. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link MigrationHubStrategyServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from MigrationHubStrategy service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListAnalyzableServersCommand extends $Command<ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput, MigrationHubStrategyClientResolvedConfig> {
|
|
78
|
+
readonly input: ListAnalyzableServersCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ListAnalyzableServersCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubStrategyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -42,6 +42,7 @@ export interface StartAssessmentCommandOutput extends StartAssessmentResponse, _
|
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
+
* assessmentDataSourceType: "STRING_VALUE",
|
|
45
46
|
* };
|
|
46
47
|
* const command = new StartAssessmentCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -8,6 +8,7 @@ export * from "./GetPortfolioSummaryCommand";
|
|
|
8
8
|
export * from "./GetRecommendationReportDetailsCommand";
|
|
9
9
|
export * from "./GetServerDetailsCommand";
|
|
10
10
|
export * from "./GetServerStrategiesCommand";
|
|
11
|
+
export * from "./ListAnalyzableServersCommand";
|
|
11
12
|
export * from "./ListApplicationComponentsCommand";
|
|
12
13
|
export * from "./ListCollectorsCommand";
|
|
13
14
|
export * from "./ListImportFileTaskCommand";
|
|
@@ -100,6 +100,32 @@ export declare const AnalysisType: {
|
|
|
100
100
|
* @public
|
|
101
101
|
*/
|
|
102
102
|
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* Summary information about an analyzable server.
|
|
106
|
+
*/
|
|
107
|
+
export interface AnalyzableServerSummary {
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* The host name of the analyzable server.
|
|
111
|
+
*/
|
|
112
|
+
hostname?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* The ip address of the analyzable server.
|
|
116
|
+
*/
|
|
117
|
+
ipAddress?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
* The data source of the analyzable server.
|
|
121
|
+
*/
|
|
122
|
+
source?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* The virtual machine id of the analyzable server.
|
|
126
|
+
*/
|
|
127
|
+
vmId?: string;
|
|
128
|
+
}
|
|
103
129
|
/**
|
|
104
130
|
* @public
|
|
105
131
|
* @enum
|
|
@@ -900,6 +926,19 @@ export interface ApplicationPreferences {
|
|
|
900
926
|
*/
|
|
901
927
|
managementPreference?: ManagementPreference;
|
|
902
928
|
}
|
|
929
|
+
/**
|
|
930
|
+
* @public
|
|
931
|
+
* @enum
|
|
932
|
+
*/
|
|
933
|
+
export declare const AssessmentDataSourceType: {
|
|
934
|
+
readonly ADS: "ApplicationDiscoveryService";
|
|
935
|
+
readonly MANUAL_IMPORT: "ManualImport";
|
|
936
|
+
readonly SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector";
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
941
|
+
export type AssessmentDataSourceType = (typeof AssessmentDataSourceType)[keyof typeof AssessmentDataSourceType];
|
|
903
942
|
/**
|
|
904
943
|
* @public
|
|
905
944
|
* @enum
|
|
@@ -2021,6 +2060,55 @@ export interface GetServerStrategiesResponse {
|
|
|
2021
2060
|
*/
|
|
2022
2061
|
serverStrategies?: ServerStrategy[];
|
|
2023
2062
|
}
|
|
2063
|
+
/**
|
|
2064
|
+
* @public
|
|
2065
|
+
* @enum
|
|
2066
|
+
*/
|
|
2067
|
+
export declare const SortOrder: {
|
|
2068
|
+
readonly ASC: "ASC";
|
|
2069
|
+
readonly DESC: "DESC";
|
|
2070
|
+
};
|
|
2071
|
+
/**
|
|
2072
|
+
* @public
|
|
2073
|
+
*/
|
|
2074
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
2075
|
+
/**
|
|
2076
|
+
* @public
|
|
2077
|
+
* Represents input for ListAnalyzableServers operation.
|
|
2078
|
+
*/
|
|
2079
|
+
export interface ListAnalyzableServersRequest {
|
|
2080
|
+
/**
|
|
2081
|
+
* @public
|
|
2082
|
+
* Specifies whether to sort by ascending (ASC) or descending (DESC) order.
|
|
2083
|
+
*/
|
|
2084
|
+
sort?: SortOrder;
|
|
2085
|
+
/**
|
|
2086
|
+
* @public
|
|
2087
|
+
* The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
|
|
2088
|
+
*/
|
|
2089
|
+
nextToken?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* @public
|
|
2092
|
+
* The maximum number of items to include in the response. The maximum value is 100.
|
|
2093
|
+
*/
|
|
2094
|
+
maxResults?: number;
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* @public
|
|
2098
|
+
* Represents output for ListAnalyzableServers operation.
|
|
2099
|
+
*/
|
|
2100
|
+
export interface ListAnalyzableServersResponse {
|
|
2101
|
+
/**
|
|
2102
|
+
* @public
|
|
2103
|
+
* The list of analyzable servers with summary information about each server.
|
|
2104
|
+
*/
|
|
2105
|
+
analyzableServers?: AnalyzableServerSummary[];
|
|
2106
|
+
/**
|
|
2107
|
+
* @public
|
|
2108
|
+
* The token you use to retrieve the next set of results, or null if there are no more results.
|
|
2109
|
+
*/
|
|
2110
|
+
nextToken?: string;
|
|
2111
|
+
}
|
|
2024
2112
|
/**
|
|
2025
2113
|
* @public
|
|
2026
2114
|
* @enum
|
|
@@ -2049,18 +2137,6 @@ export interface Group {
|
|
|
2049
2137
|
*/
|
|
2050
2138
|
value?: string;
|
|
2051
2139
|
}
|
|
2052
|
-
/**
|
|
2053
|
-
* @public
|
|
2054
|
-
* @enum
|
|
2055
|
-
*/
|
|
2056
|
-
export declare const SortOrder: {
|
|
2057
|
-
readonly ASC: "ASC";
|
|
2058
|
-
readonly DESC: "DESC";
|
|
2059
|
-
};
|
|
2060
|
-
/**
|
|
2061
|
-
* @public
|
|
2062
|
-
*/
|
|
2063
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
2064
2140
|
/**
|
|
2065
2141
|
* @public
|
|
2066
2142
|
*/
|
|
@@ -2600,6 +2676,11 @@ export interface StartAssessmentRequest {
|
|
|
2600
2676
|
* <p>List of criteria for assessment.</p>
|
|
2601
2677
|
*/
|
|
2602
2678
|
assessmentTargets?: AssessmentTarget[];
|
|
2679
|
+
/**
|
|
2680
|
+
* @public
|
|
2681
|
+
* The data source type of an assessment to be started.
|
|
2682
|
+
*/
|
|
2683
|
+
assessmentDataSourceType?: AssessmentDataSourceType;
|
|
2603
2684
|
}
|
|
2604
2685
|
/**
|
|
2605
2686
|
* @public
|
|
@@ -2618,6 +2699,7 @@ export interface StartAssessmentResponse {
|
|
|
2618
2699
|
export declare const DataSourceType: {
|
|
2619
2700
|
readonly ADS: "ApplicationDiscoveryService";
|
|
2620
2701
|
readonly IMPORT: "Import";
|
|
2702
|
+
readonly MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector";
|
|
2621
2703
|
readonly MPA: "MPA";
|
|
2622
2704
|
};
|
|
2623
2705
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput } from "../commands/ListAnalyzableServersCommand";
|
|
3
|
+
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListAnalyzableServers(config: MigrationHubStrategyPaginationConfiguration, input: ListAnalyzableServersCommandInput, ...additionalArguments: any): Paginator<ListAnalyzableServersCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./GetServerDetailsPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
+
export * from "./ListAnalyzableServersPaginator";
|
|
3
4
|
export * from "./ListApplicationComponentsPaginator";
|
|
4
5
|
export * from "./ListCollectorsPaginator";
|
|
5
6
|
export * from "./ListImportFileTaskPaginator";
|
|
@@ -10,6 +10,7 @@ import { GetPortfolioSummaryCommandInput, GetPortfolioSummaryCommandOutput } fro
|
|
|
10
10
|
import { GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput } from "../commands/GetRecommendationReportDetailsCommand";
|
|
11
11
|
import { GetServerDetailsCommandInput, GetServerDetailsCommandOutput } from "../commands/GetServerDetailsCommand";
|
|
12
12
|
import { GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput } from "../commands/GetServerStrategiesCommand";
|
|
13
|
+
import { ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput } from "../commands/ListAnalyzableServersCommand";
|
|
13
14
|
import { ListApplicationComponentsCommandInput, ListApplicationComponentsCommandOutput } from "../commands/ListApplicationComponentsCommand";
|
|
14
15
|
import { ListCollectorsCommandInput, ListCollectorsCommandOutput } from "../commands/ListCollectorsCommand";
|
|
15
16
|
import { ListImportFileTaskCommandInput, ListImportFileTaskCommandOutput } from "../commands/ListImportFileTaskCommand";
|
|
@@ -61,6 +62,10 @@ export declare const se_GetServerDetailsCommand: (input: GetServerDetailsCommand
|
|
|
61
62
|
* serializeAws_restJson1GetServerStrategiesCommand
|
|
62
63
|
*/
|
|
63
64
|
export declare const se_GetServerStrategiesCommand: (input: GetServerStrategiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
|
+
/**
|
|
66
|
+
* serializeAws_restJson1ListAnalyzableServersCommand
|
|
67
|
+
*/
|
|
68
|
+
export declare const se_ListAnalyzableServersCommand: (input: ListAnalyzableServersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
69
|
/**
|
|
65
70
|
* serializeAws_restJson1ListApplicationComponentsCommand
|
|
66
71
|
*/
|
|
@@ -145,6 +150,10 @@ export declare const de_GetServerDetailsCommand: (output: __HttpResponse, contex
|
|
|
145
150
|
* deserializeAws_restJson1GetServerStrategiesCommand
|
|
146
151
|
*/
|
|
147
152
|
export declare const de_GetServerStrategiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServerStrategiesCommandOutput>;
|
|
153
|
+
/**
|
|
154
|
+
* deserializeAws_restJson1ListAnalyzableServersCommand
|
|
155
|
+
*/
|
|
156
|
+
export declare const de_ListAnalyzableServersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAnalyzableServersCommandOutput>;
|
|
148
157
|
/**
|
|
149
158
|
* deserializeAws_restJson1ListApplicationComponentsCommand
|
|
150
159
|
*/
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
GetServerStrategiesCommandInput,
|
|
40
40
|
GetServerStrategiesCommandOutput,
|
|
41
41
|
} from "./commands/GetServerStrategiesCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListAnalyzableServersCommandInput,
|
|
44
|
+
ListAnalyzableServersCommandOutput,
|
|
45
|
+
} from "./commands/ListAnalyzableServersCommand";
|
|
42
46
|
import {
|
|
43
47
|
ListApplicationComponentsCommandInput,
|
|
44
48
|
ListApplicationComponentsCommandOutput,
|
|
@@ -221,6 +225,19 @@ export interface MigrationHubStrategy {
|
|
|
221
225
|
options: __HttpHandlerOptions,
|
|
222
226
|
cb: (err: any, data?: GetServerStrategiesCommandOutput) => void
|
|
223
227
|
): void;
|
|
228
|
+
listAnalyzableServers(
|
|
229
|
+
args: ListAnalyzableServersCommandInput,
|
|
230
|
+
options?: __HttpHandlerOptions
|
|
231
|
+
): Promise<ListAnalyzableServersCommandOutput>;
|
|
232
|
+
listAnalyzableServers(
|
|
233
|
+
args: ListAnalyzableServersCommandInput,
|
|
234
|
+
cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void
|
|
235
|
+
): void;
|
|
236
|
+
listAnalyzableServers(
|
|
237
|
+
args: ListAnalyzableServersCommandInput,
|
|
238
|
+
options: __HttpHandlerOptions,
|
|
239
|
+
cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void
|
|
240
|
+
): void;
|
|
224
241
|
listApplicationComponents(
|
|
225
242
|
args: ListApplicationComponentsCommandInput,
|
|
226
243
|
options?: __HttpHandlerOptions
|
|
@@ -85,6 +85,10 @@ import {
|
|
|
85
85
|
GetServerStrategiesCommandInput,
|
|
86
86
|
GetServerStrategiesCommandOutput,
|
|
87
87
|
} from "./commands/GetServerStrategiesCommand";
|
|
88
|
+
import {
|
|
89
|
+
ListAnalyzableServersCommandInput,
|
|
90
|
+
ListAnalyzableServersCommandOutput,
|
|
91
|
+
} from "./commands/ListAnalyzableServersCommand";
|
|
88
92
|
import {
|
|
89
93
|
ListApplicationComponentsCommandInput,
|
|
90
94
|
ListApplicationComponentsCommandOutput,
|
|
@@ -147,6 +151,7 @@ export type ServiceInputTypes =
|
|
|
147
151
|
| GetRecommendationReportDetailsCommandInput
|
|
148
152
|
| GetServerDetailsCommandInput
|
|
149
153
|
| GetServerStrategiesCommandInput
|
|
154
|
+
| ListAnalyzableServersCommandInput
|
|
150
155
|
| ListApplicationComponentsCommandInput
|
|
151
156
|
| ListCollectorsCommandInput
|
|
152
157
|
| ListImportFileTaskCommandInput
|
|
@@ -169,6 +174,7 @@ export type ServiceOutputTypes =
|
|
|
169
174
|
| GetRecommendationReportDetailsCommandOutput
|
|
170
175
|
| GetServerDetailsCommandOutput
|
|
171
176
|
| GetServerStrategiesCommandOutput
|
|
177
|
+
| ListAnalyzableServersCommandOutput
|
|
172
178
|
| ListApplicationComponentsCommandOutput
|
|
173
179
|
| ListCollectorsCommandOutput
|
|
174
180
|
| ListImportFileTaskCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
MigrationHubStrategyClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../MigrationHubStrategyClient";
|
|
14
|
+
import {
|
|
15
|
+
ListAnalyzableServersRequest,
|
|
16
|
+
ListAnalyzableServersResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListAnalyzableServersCommandInput
|
|
20
|
+
extends ListAnalyzableServersRequest {}
|
|
21
|
+
export interface ListAnalyzableServersCommandOutput
|
|
22
|
+
extends ListAnalyzableServersResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListAnalyzableServersCommand extends $Command<
|
|
25
|
+
ListAnalyzableServersCommandInput,
|
|
26
|
+
ListAnalyzableServersCommandOutput,
|
|
27
|
+
MigrationHubStrategyClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListAnalyzableServersCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListAnalyzableServersCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: MigrationHubStrategyClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListAnalyzableServersCommandInput,
|
|
38
|
+
ListAnalyzableServersCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./GetPortfolioSummaryCommand";
|
|
|
8
8
|
export * from "./GetRecommendationReportDetailsCommand";
|
|
9
9
|
export * from "./GetServerDetailsCommand";
|
|
10
10
|
export * from "./GetServerStrategiesCommand";
|
|
11
|
+
export * from "./ListAnalyzableServersCommand";
|
|
11
12
|
export * from "./ListApplicationComponentsCommand";
|
|
12
13
|
export * from "./ListCollectorsCommand";
|
|
13
14
|
export * from "./ListImportFileTaskCommand";
|
|
@@ -60,6 +60,12 @@ export declare const AnalysisType: {
|
|
|
60
60
|
readonly SOURCE_CODE_ANALYSIS: "SOURCE_CODE_ANALYSIS";
|
|
61
61
|
};
|
|
62
62
|
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
63
|
+
export interface AnalyzableServerSummary {
|
|
64
|
+
hostname?: string;
|
|
65
|
+
ipAddress?: string;
|
|
66
|
+
source?: string;
|
|
67
|
+
vmId?: string;
|
|
68
|
+
}
|
|
63
69
|
export declare const BinaryAnalyzerName: {
|
|
64
70
|
readonly BYTECODE_ANALYZER: "BYTECODE_ANALYZER";
|
|
65
71
|
readonly DLL_ANALYZER: "DLL_ANALYZER";
|
|
@@ -405,6 +411,13 @@ export declare namespace ManagementPreference {
|
|
|
405
411
|
export interface ApplicationPreferences {
|
|
406
412
|
managementPreference?: ManagementPreference;
|
|
407
413
|
}
|
|
414
|
+
export declare const AssessmentDataSourceType: {
|
|
415
|
+
readonly ADS: "ApplicationDiscoveryService";
|
|
416
|
+
readonly MANUAL_IMPORT: "ManualImport";
|
|
417
|
+
readonly SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector";
|
|
418
|
+
};
|
|
419
|
+
export type AssessmentDataSourceType =
|
|
420
|
+
(typeof AssessmentDataSourceType)[keyof typeof AssessmentDataSourceType];
|
|
408
421
|
export declare const AssessmentStatus: {
|
|
409
422
|
readonly COMPLETE: "COMPLETE";
|
|
410
423
|
readonly FAILED: "FAILED";
|
|
@@ -786,6 +799,20 @@ export interface ServerStrategy {
|
|
|
786
799
|
export interface GetServerStrategiesResponse {
|
|
787
800
|
serverStrategies?: ServerStrategy[];
|
|
788
801
|
}
|
|
802
|
+
export declare const SortOrder: {
|
|
803
|
+
readonly ASC: "ASC";
|
|
804
|
+
readonly DESC: "DESC";
|
|
805
|
+
};
|
|
806
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
807
|
+
export interface ListAnalyzableServersRequest {
|
|
808
|
+
sort?: SortOrder;
|
|
809
|
+
nextToken?: string;
|
|
810
|
+
maxResults?: number;
|
|
811
|
+
}
|
|
812
|
+
export interface ListAnalyzableServersResponse {
|
|
813
|
+
analyzableServers?: AnalyzableServerSummary[];
|
|
814
|
+
nextToken?: string;
|
|
815
|
+
}
|
|
789
816
|
export declare const GroupName: {
|
|
790
817
|
readonly EXTERNAL_ID: "ExternalId";
|
|
791
818
|
readonly EXTERNAL_SOURCE_TYPE: "ExternalSourceType";
|
|
@@ -795,11 +822,6 @@ export interface Group {
|
|
|
795
822
|
name?: GroupName;
|
|
796
823
|
value?: string;
|
|
797
824
|
}
|
|
798
|
-
export declare const SortOrder: {
|
|
799
|
-
readonly ASC: "ASC";
|
|
800
|
-
readonly DESC: "DESC";
|
|
801
|
-
};
|
|
802
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
803
825
|
export interface ListApplicationComponentsRequest {
|
|
804
826
|
applicationComponentCriteria?: ApplicationComponentCriteria;
|
|
805
827
|
filterValue?: string;
|
|
@@ -951,6 +973,7 @@ export interface StartAssessmentRequest {
|
|
|
951
973
|
s3bucketForAnalysisData?: string;
|
|
952
974
|
s3bucketForReportData?: string;
|
|
953
975
|
assessmentTargets?: AssessmentTarget[];
|
|
976
|
+
assessmentDataSourceType?: AssessmentDataSourceType;
|
|
954
977
|
}
|
|
955
978
|
export interface StartAssessmentResponse {
|
|
956
979
|
assessmentId?: string;
|
|
@@ -958,6 +981,7 @@ export interface StartAssessmentResponse {
|
|
|
958
981
|
export declare const DataSourceType: {
|
|
959
982
|
readonly ADS: "ApplicationDiscoveryService";
|
|
960
983
|
readonly IMPORT: "Import";
|
|
984
|
+
readonly MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector";
|
|
961
985
|
readonly MPA: "MPA";
|
|
962
986
|
};
|
|
963
987
|
export type DataSourceType =
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAnalyzableServersCommandInput,
|
|
4
|
+
ListAnalyzableServersCommandOutput,
|
|
5
|
+
} from "../commands/ListAnalyzableServersCommand";
|
|
6
|
+
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAnalyzableServers(
|
|
8
|
+
config: MigrationHubStrategyPaginationConfiguration,
|
|
9
|
+
input: ListAnalyzableServersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAnalyzableServersCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./GetServerDetailsPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
+
export * from "./ListAnalyzableServersPaginator";
|
|
3
4
|
export * from "./ListApplicationComponentsPaginator";
|
|
4
5
|
export * from "./ListCollectorsPaginator";
|
|
5
6
|
export * from "./ListImportFileTaskPaginator";
|
|
@@ -43,6 +43,10 @@ import {
|
|
|
43
43
|
GetServerStrategiesCommandInput,
|
|
44
44
|
GetServerStrategiesCommandOutput,
|
|
45
45
|
} from "../commands/GetServerStrategiesCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListAnalyzableServersCommandInput,
|
|
48
|
+
ListAnalyzableServersCommandOutput,
|
|
49
|
+
} from "../commands/ListAnalyzableServersCommand";
|
|
46
50
|
import {
|
|
47
51
|
ListApplicationComponentsCommandInput,
|
|
48
52
|
ListApplicationComponentsCommandOutput,
|
|
@@ -127,6 +131,10 @@ export declare const se_GetServerStrategiesCommand: (
|
|
|
127
131
|
input: GetServerStrategiesCommandInput,
|
|
128
132
|
context: __SerdeContext
|
|
129
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const se_ListAnalyzableServersCommand: (
|
|
135
|
+
input: ListAnalyzableServersCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
130
138
|
export declare const se_ListApplicationComponentsCommand: (
|
|
131
139
|
input: ListApplicationComponentsCommandInput,
|
|
132
140
|
context: __SerdeContext
|
|
@@ -211,6 +219,10 @@ export declare const de_GetServerStrategiesCommand: (
|
|
|
211
219
|
output: __HttpResponse,
|
|
212
220
|
context: __SerdeContext
|
|
213
221
|
) => Promise<GetServerStrategiesCommandOutput>;
|
|
222
|
+
export declare const de_ListAnalyzableServersCommand: (
|
|
223
|
+
output: __HttpResponse,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<ListAnalyzableServersCommandOutput>;
|
|
214
226
|
export declare const de_ListApplicationComponentsCommand: (
|
|
215
227
|
output: __HttpResponse,
|
|
216
228
|
context: __SerdeContext
|
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.435.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.435.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.435.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
32
|
+
"@aws-sdk/types": "3.433.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
38
|
+
"@smithy/hash-node": "^2.0.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
49
|
+
"@smithy/types": "^2.4.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
56
|
+
"@smithy/util-retry": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|