@aws-sdk/client-migrationhubstrategy 3.312.0 → 3.316.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/MigrationHubStrategy.js +25 -294
- package/dist-cjs/protocols/Aws_restJson1.js +320 -1242
- package/dist-es/MigrationHubStrategy.js +25 -294
- package/dist-es/protocols/Aws_restJson1.js +289 -1211
- package/dist-types/MigrationHubStrategy.d.ts +33 -54
- package/dist-types/ts3.4/MigrationHubStrategy.d.ts +4 -1
- package/package.json +6 -6
|
@@ -21,163 +21,142 @@ import { StopAssessmentCommandInput, StopAssessmentCommandOutput } from "./comma
|
|
|
21
21
|
import { UpdateApplicationComponentConfigCommandInput, UpdateApplicationComponentConfigCommandOutput } from "./commands/UpdateApplicationComponentConfigCommand";
|
|
22
22
|
import { UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput } from "./commands/UpdateServerConfigCommand";
|
|
23
23
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
24
|
-
|
|
25
|
-
* @public
|
|
26
|
-
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
27
|
-
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
28
|
-
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
29
|
-
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
30
|
-
* access an API that is tailored to the programming language or platform that you're using. For
|
|
31
|
-
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
32
|
-
*/
|
|
33
|
-
export declare class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
24
|
+
export interface MigrationHubStrategy {
|
|
34
25
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p> Retrieves details about an application component. </p>
|
|
26
|
+
* @see {@link GetApplicationComponentDetailsCommand}
|
|
37
27
|
*/
|
|
38
28
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentDetailsCommandOutput>;
|
|
39
29
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
|
|
40
30
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
|
|
41
31
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p> Retrieves a list of all the recommended strategies and tools for an application component
|
|
44
|
-
* running on a server. </p>
|
|
32
|
+
* @see {@link GetApplicationComponentStrategiesCommand}
|
|
45
33
|
*/
|
|
46
34
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentStrategiesCommandOutput>;
|
|
47
35
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
|
|
48
36
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
|
|
49
37
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p> Retrieves the status of an on-going assessment. </p>
|
|
38
|
+
* @see {@link GetAssessmentCommand}
|
|
52
39
|
*/
|
|
53
40
|
getAssessment(args: GetAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentCommandOutput>;
|
|
54
41
|
getAssessment(args: GetAssessmentCommandInput, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
|
|
55
42
|
getAssessment(args: GetAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
|
|
56
43
|
/**
|
|
57
|
-
* @
|
|
58
|
-
* <p> Retrieves the details about a specific import task. </p>
|
|
44
|
+
* @see {@link GetImportFileTaskCommand}
|
|
59
45
|
*/
|
|
60
46
|
getImportFileTask(args: GetImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetImportFileTaskCommandOutput>;
|
|
61
47
|
getImportFileTask(args: GetImportFileTaskCommandInput, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
|
|
62
48
|
getImportFileTask(args: GetImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
|
|
63
49
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Retrieve the latest ID of a specific assessment task.</p>
|
|
50
|
+
* @see {@link GetLatestAssessmentIdCommand}
|
|
66
51
|
*/
|
|
67
52
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options?: __HttpHandlerOptions): Promise<GetLatestAssessmentIdCommandOutput>;
|
|
68
53
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
|
|
69
54
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
|
|
70
55
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p> Retrieves your migration and modernization preferences. </p>
|
|
56
|
+
* @see {@link GetPortfolioPreferencesCommand}
|
|
73
57
|
*/
|
|
74
58
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioPreferencesCommandOutput>;
|
|
75
59
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
|
|
76
60
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
|
|
77
61
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p> Retrieves overall summary including the number of servers to rehost and the overall
|
|
80
|
-
* number of anti-patterns. </p>
|
|
62
|
+
* @see {@link GetPortfolioSummaryCommand}
|
|
81
63
|
*/
|
|
82
64
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioSummaryCommandOutput>;
|
|
83
65
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
|
|
84
66
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
|
|
85
67
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p> Retrieves detailed information about the specified recommendation report. </p>
|
|
68
|
+
* @see {@link GetRecommendationReportDetailsCommand}
|
|
88
69
|
*/
|
|
89
70
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationReportDetailsCommandOutput>;
|
|
90
71
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
|
|
91
72
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
|
|
92
73
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p> Retrieves detailed information about a specified server. </p>
|
|
74
|
+
* @see {@link GetServerDetailsCommand}
|
|
95
75
|
*/
|
|
96
76
|
getServerDetails(args: GetServerDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetServerDetailsCommandOutput>;
|
|
97
77
|
getServerDetails(args: GetServerDetailsCommandInput, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
|
|
98
78
|
getServerDetails(args: GetServerDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
|
|
99
79
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p> Retrieves recommended strategies and tools for the specified server. </p>
|
|
80
|
+
* @see {@link GetServerStrategiesCommand}
|
|
102
81
|
*/
|
|
103
82
|
getServerStrategies(args: GetServerStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetServerStrategiesCommandOutput>;
|
|
104
83
|
getServerStrategies(args: GetServerStrategiesCommandInput, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
|
|
105
84
|
getServerStrategies(args: GetServerStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
|
|
106
85
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p> Retrieves a list of all the application components (processes). </p>
|
|
86
|
+
* @see {@link ListApplicationComponentsCommand}
|
|
109
87
|
*/
|
|
110
88
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationComponentsCommandOutput>;
|
|
111
89
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
|
|
112
90
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
|
|
113
91
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p> Retrieves a list of all the installed collectors. </p>
|
|
92
|
+
* @see {@link ListCollectorsCommand}
|
|
116
93
|
*/
|
|
117
94
|
listCollectors(args: ListCollectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectorsCommandOutput>;
|
|
118
95
|
listCollectors(args: ListCollectorsCommandInput, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
|
|
119
96
|
listCollectors(args: ListCollectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
|
|
120
97
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p> Retrieves a list of all the imports performed. </p>
|
|
98
|
+
* @see {@link ListImportFileTaskCommand}
|
|
123
99
|
*/
|
|
124
100
|
listImportFileTask(args: ListImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<ListImportFileTaskCommandOutput>;
|
|
125
101
|
listImportFileTask(args: ListImportFileTaskCommandInput, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
|
|
126
102
|
listImportFileTask(args: ListImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
|
|
127
103
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* <p> Returns a list of all the servers. </p>
|
|
104
|
+
* @see {@link ListServersCommand}
|
|
130
105
|
*/
|
|
131
106
|
listServers(args: ListServersCommandInput, options?: __HttpHandlerOptions): Promise<ListServersCommandOutput>;
|
|
132
107
|
listServers(args: ListServersCommandInput, cb: (err: any, data?: ListServersCommandOutput) => void): void;
|
|
133
108
|
listServers(args: ListServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServersCommandOutput) => void): void;
|
|
134
109
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* <p> Saves the specified migration and modernization preferences. </p>
|
|
110
|
+
* @see {@link PutPortfolioPreferencesCommand}
|
|
137
111
|
*/
|
|
138
112
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutPortfolioPreferencesCommandOutput>;
|
|
139
113
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
|
|
140
114
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
|
|
141
115
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p> Starts the assessment of an on-premises environment. </p>
|
|
116
|
+
* @see {@link StartAssessmentCommand}
|
|
144
117
|
*/
|
|
145
118
|
startAssessment(args: StartAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentCommandOutput>;
|
|
146
119
|
startAssessment(args: StartAssessmentCommandInput, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
|
|
147
120
|
startAssessment(args: StartAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
|
|
148
121
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p> Starts a file import. </p>
|
|
122
|
+
* @see {@link StartImportFileTaskCommand}
|
|
151
123
|
*/
|
|
152
124
|
startImportFileTask(args: StartImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartImportFileTaskCommandOutput>;
|
|
153
125
|
startImportFileTask(args: StartImportFileTaskCommandInput, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
|
|
154
126
|
startImportFileTask(args: StartImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
|
|
155
127
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p> Starts generating a recommendation report. </p>
|
|
128
|
+
* @see {@link StartRecommendationReportGenerationCommand}
|
|
158
129
|
*/
|
|
159
130
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommendationReportGenerationCommandOutput>;
|
|
160
131
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
|
|
161
132
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
|
|
162
133
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p> Stops the assessment of an on-premises environment. </p>
|
|
134
|
+
* @see {@link StopAssessmentCommand}
|
|
165
135
|
*/
|
|
166
136
|
stopAssessment(args: StopAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentCommandOutput>;
|
|
167
137
|
stopAssessment(args: StopAssessmentCommandInput, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
|
|
168
138
|
stopAssessment(args: StopAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
|
|
169
139
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p> Updates the configuration of an application component. </p>
|
|
140
|
+
* @see {@link UpdateApplicationComponentConfigCommand}
|
|
172
141
|
*/
|
|
173
142
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationComponentConfigCommandOutput>;
|
|
174
143
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
|
|
175
144
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
|
|
176
145
|
/**
|
|
177
|
-
* @
|
|
178
|
-
* <p> Updates the configuration of the specified server. </p>
|
|
146
|
+
* @see {@link UpdateServerConfigCommand}
|
|
179
147
|
*/
|
|
180
148
|
updateServerConfig(args: UpdateServerConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServerConfigCommandOutput>;
|
|
181
149
|
updateServerConfig(args: UpdateServerConfigCommandInput, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
182
150
|
updateServerConfig(args: UpdateServerConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
183
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
155
|
+
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
156
|
+
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
157
|
+
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
158
|
+
* access an API that is tailored to the programming language or platform that you're using. For
|
|
159
|
+
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
160
|
+
*/
|
|
161
|
+
export declare class MigrationHubStrategy extends MigrationHubStrategyClient implements MigrationHubStrategy {
|
|
162
|
+
}
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
UpdateServerConfigCommandOutput,
|
|
85
85
|
} from "./commands/UpdateServerConfigCommand";
|
|
86
86
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
87
|
-
export
|
|
87
|
+
export interface MigrationHubStrategy {
|
|
88
88
|
getApplicationComponentDetails(
|
|
89
89
|
args: GetApplicationComponentDetailsCommandInput,
|
|
90
90
|
options?: __HttpHandlerOptions
|
|
@@ -371,3 +371,6 @@ export declare class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
|
371
371
|
cb: (err: any, data?: UpdateServerConfigCommandOutput) => void
|
|
372
372
|
): void;
|
|
373
373
|
}
|
|
374
|
+
export declare class MigrationHubStrategy
|
|
375
|
+
extends MigrationHubStrategyClient
|
|
376
|
+
implements MigrationHubStrategy {}
|
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.316.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|