@aws-sdk/client-migrationhubstrategy 3.433.0 → 3.436.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.
Files changed (39) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/MigrationHubStrategy.js +2 -0
  3. package/dist-cjs/commands/ListAnalyzableServersCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +3 -3
  6. package/dist-cjs/models/models_0.js +12 -6
  7. package/dist-cjs/pagination/ListAnalyzableServersPaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +69 -1
  10. package/dist-cjs/runtimeConfig.js +2 -0
  11. package/dist-cjs/runtimeConfig.shared.js +15 -13
  12. package/dist-es/MigrationHubStrategy.js +2 -0
  13. package/dist-es/commands/ListAnalyzableServersCommand.js +47 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_0.js +10 -4
  17. package/dist-es/pagination/ListAnalyzableServersPaginator.js +25 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_restJson1.js +66 -0
  20. package/dist-es/runtimeConfig.js +2 -0
  21. package/dist-es/runtimeConfig.shared.js +15 -13
  22. package/dist-types/MigrationHubStrategy.d.ts +7 -0
  23. package/dist-types/MigrationHubStrategyClient.d.ts +3 -2
  24. package/dist-types/commands/ListAnalyzableServersCommand.d.ts +96 -0
  25. package/dist-types/commands/StartAssessmentCommand.d.ts +1 -0
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +94 -12
  28. package/dist-types/pagination/ListAnalyzableServersPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  31. package/dist-types/ts3.4/MigrationHubStrategy.d.ts +17 -0
  32. package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +6 -0
  33. package/dist-types/ts3.4/commands/ListAnalyzableServersCommand.d.ts +42 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +29 -5
  36. package/dist-types/ts3.4/pagination/ListAnalyzableServersPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  39. package/package.json +4 -3
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
18
19
  const defaultsMode = resolveDefaultsModeConfig(config);
19
20
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
21
  const clientSharedValues = getSharedRuntimeConfig(config);
22
+ awsCheckVersion(process.version);
21
23
  return {
22
24
  ...clientSharedValues,
23
25
  ...config,
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
3
3
  import { fromBase64, toBase64 } from "@smithy/util-base64";
4
4
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
- export const getRuntimeConfig = (config) => ({
7
- apiVersion: "2020-02-19",
8
- base64Decoder: config?.base64Decoder ?? fromBase64,
9
- base64Encoder: config?.base64Encoder ?? toBase64,
10
- disableHostPrefix: config?.disableHostPrefix ?? false,
11
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
- extensions: config?.extensions ?? [],
13
- logger: config?.logger ?? new NoOpLogger(),
14
- serviceId: config?.serviceId ?? "MigrationHubStrategy",
15
- urlParser: config?.urlParser ?? parseUrl,
16
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
17
- utf8Encoder: config?.utf8Encoder ?? toUtf8,
18
- });
6
+ export const getRuntimeConfig = (config) => {
7
+ return {
8
+ apiVersion: "2020-02-19",
9
+ base64Decoder: config?.base64Decoder ?? fromBase64,
10
+ base64Encoder: config?.base64Encoder ?? toBase64,
11
+ disableHostPrefix: config?.disableHostPrefix ?? false,
12
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
13
+ extensions: config?.extensions ?? [],
14
+ logger: config?.logger ?? new NoOpLogger(),
15
+ serviceId: config?.serviceId ?? "MigrationHubStrategy",
16
+ urlParser: config?.urlParser ?? parseUrl,
17
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
18
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
19
+ };
20
+ };
@@ -9,6 +9,7 @@ import { GetPortfolioSummaryCommandInput, GetPortfolioSummaryCommandOutput } fro
9
9
  import { GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput } from "./commands/GetRecommendationReportDetailsCommand";
10
10
  import { GetServerDetailsCommandInput, GetServerDetailsCommandOutput } from "./commands/GetServerDetailsCommand";
11
11
  import { GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput } from "./commands/GetServerStrategiesCommand";
12
+ import { ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput } from "./commands/ListAnalyzableServersCommand";
12
13
  import { ListApplicationComponentsCommandInput, ListApplicationComponentsCommandOutput } from "./commands/ListApplicationComponentsCommand";
13
14
  import { ListCollectorsCommandInput, ListCollectorsCommandOutput } from "./commands/ListCollectorsCommand";
14
15
  import { ListImportFileTaskCommandInput, ListImportFileTaskCommandOutput } from "./commands/ListImportFileTaskCommand";
@@ -82,6 +83,12 @@ export interface MigrationHubStrategy {
82
83
  getServerStrategies(args: GetServerStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetServerStrategiesCommandOutput>;
83
84
  getServerStrategies(args: GetServerStrategiesCommandInput, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
84
85
  getServerStrategies(args: GetServerStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
86
+ /**
87
+ * @see {@link ListAnalyzableServersCommand}
88
+ */
89
+ listAnalyzableServers(args: ListAnalyzableServersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzableServersCommandOutput>;
90
+ listAnalyzableServers(args: ListAnalyzableServersCommandInput, cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void): void;
91
+ listAnalyzableServers(args: ListAnalyzableServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void): void;
85
92
  /**
86
93
  * @see {@link ListApplicationComponentsCommand}
87
94
  */
@@ -18,6 +18,7 @@ import { GetPortfolioSummaryCommandInput, GetPortfolioSummaryCommandOutput } fro
18
18
  import { GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput } from "./commands/GetRecommendationReportDetailsCommand";
19
19
  import { GetServerDetailsCommandInput, GetServerDetailsCommandOutput } from "./commands/GetServerDetailsCommand";
20
20
  import { GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput } from "./commands/GetServerStrategiesCommand";
21
+ import { ListAnalyzableServersCommandInput, ListAnalyzableServersCommandOutput } from "./commands/ListAnalyzableServersCommand";
21
22
  import { ListApplicationComponentsCommandInput, ListApplicationComponentsCommandOutput } from "./commands/ListApplicationComponentsCommand";
22
23
  import { ListCollectorsCommandInput, ListCollectorsCommandOutput } from "./commands/ListCollectorsCommand";
23
24
  import { ListImportFileTaskCommandInput, ListImportFileTaskCommandOutput } from "./commands/ListImportFileTaskCommand";
@@ -35,11 +36,11 @@ export { __Client };
35
36
  /**
36
37
  * @public
37
38
  */
38
- export type ServiceInputTypes = GetApplicationComponentDetailsCommandInput | GetApplicationComponentStrategiesCommandInput | GetAssessmentCommandInput | GetImportFileTaskCommandInput | GetLatestAssessmentIdCommandInput | GetPortfolioPreferencesCommandInput | GetPortfolioSummaryCommandInput | GetRecommendationReportDetailsCommandInput | GetServerDetailsCommandInput | GetServerStrategiesCommandInput | ListApplicationComponentsCommandInput | ListCollectorsCommandInput | ListImportFileTaskCommandInput | ListServersCommandInput | PutPortfolioPreferencesCommandInput | StartAssessmentCommandInput | StartImportFileTaskCommandInput | StartRecommendationReportGenerationCommandInput | StopAssessmentCommandInput | UpdateApplicationComponentConfigCommandInput | UpdateServerConfigCommandInput;
39
+ export type ServiceInputTypes = GetApplicationComponentDetailsCommandInput | GetApplicationComponentStrategiesCommandInput | GetAssessmentCommandInput | GetImportFileTaskCommandInput | GetLatestAssessmentIdCommandInput | GetPortfolioPreferencesCommandInput | GetPortfolioSummaryCommandInput | GetRecommendationReportDetailsCommandInput | GetServerDetailsCommandInput | GetServerStrategiesCommandInput | ListAnalyzableServersCommandInput | ListApplicationComponentsCommandInput | ListCollectorsCommandInput | ListImportFileTaskCommandInput | ListServersCommandInput | PutPortfolioPreferencesCommandInput | StartAssessmentCommandInput | StartImportFileTaskCommandInput | StartRecommendationReportGenerationCommandInput | StopAssessmentCommandInput | UpdateApplicationComponentConfigCommandInput | UpdateServerConfigCommandInput;
39
40
  /**
40
41
  * @public
41
42
  */
42
- export type ServiceOutputTypes = GetApplicationComponentDetailsCommandOutput | GetApplicationComponentStrategiesCommandOutput | GetAssessmentCommandOutput | GetImportFileTaskCommandOutput | GetLatestAssessmentIdCommandOutput | GetPortfolioPreferencesCommandOutput | GetPortfolioSummaryCommandOutput | GetRecommendationReportDetailsCommandOutput | GetServerDetailsCommandOutput | GetServerStrategiesCommandOutput | ListApplicationComponentsCommandOutput | ListCollectorsCommandOutput | ListImportFileTaskCommandOutput | ListServersCommandOutput | PutPortfolioPreferencesCommandOutput | StartAssessmentCommandOutput | StartImportFileTaskCommandOutput | StartRecommendationReportGenerationCommandOutput | StopAssessmentCommandOutput | UpdateApplicationComponentConfigCommandOutput | UpdateServerConfigCommandOutput;
43
+ export type ServiceOutputTypes = GetApplicationComponentDetailsCommandOutput | GetApplicationComponentStrategiesCommandOutput | GetAssessmentCommandOutput | GetImportFileTaskCommandOutput | GetLatestAssessmentIdCommandOutput | GetPortfolioPreferencesCommandOutput | GetPortfolioSummaryCommandOutput | GetRecommendationReportDetailsCommandOutput | GetServerDetailsCommandOutput | GetServerStrategiesCommandOutput | ListAnalyzableServersCommandOutput | ListApplicationComponentsCommandOutput | ListCollectorsCommandOutput | ListImportFileTaskCommandOutput | ListServersCommandOutput | PutPortfolioPreferencesCommandOutput | StartAssessmentCommandOutput | StartImportFileTaskCommandOutput | StartRecommendationReportGenerationCommandOutput | StopAssessmentCommandOutput | UpdateApplicationComponentConfigCommandOutput | UpdateServerConfigCommandOutput;
43
44
  /**
44
45
  * @public
45
46
  */
@@ -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