@aws-sdk/client-migrationhubstrategy 3.476.0 → 3.478.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/pagination/GetServerDetailsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnalyzableServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationComponentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCollectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportFileTaskPaginator.js +2 -24
- package/dist-cjs/pagination/ListServersPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +104 -261
- package/dist-es/pagination/GetServerDetailsPaginator.js +2 -23
- package/dist-es/pagination/ListAnalyzableServersPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationComponentsPaginator.js +2 -23
- package/dist-es/pagination/ListCollectorsPaginator.js +2 -23
- package/dist-es/pagination/ListImportFileTaskPaginator.js +2 -23
- package/dist-es/pagination/ListServersPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +105 -262
- package/dist-types/pagination/GetServerDetailsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnalyzableServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationComponentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCollectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportFileTaskPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetServerDetailsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnalyzableServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationComponentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCollectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportFileTaskPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServersPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,208 +1,128 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { MigrationHubStrategyServiceException as __BaseException } from "../models/MigrationHubStrategyServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, DependencyException, InternalServerException, ResourceNotFoundException, ServiceLinkedRoleLockClientException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_GetApplicationComponentDetailsCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
8
|
+
b.bp("/get-applicationcomponent-details/{applicationComponentId}");
|
|
9
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
11
10
|
let body;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
hostname,
|
|
15
|
-
port,
|
|
16
|
-
method: "GET",
|
|
17
|
-
headers,
|
|
18
|
-
path: resolvedPath,
|
|
19
|
-
body,
|
|
20
|
-
});
|
|
11
|
+
b.m("GET").h(headers).b(body);
|
|
12
|
+
return b.build();
|
|
21
13
|
};
|
|
22
14
|
export const se_GetApplicationComponentStrategiesCommand = async (input, context) => {
|
|
23
|
-
const
|
|
15
|
+
const b = rb(input, context);
|
|
24
16
|
const headers = {};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
17
|
+
b.bp("/get-applicationcomponent-strategies/{applicationComponentId}");
|
|
18
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
28
19
|
let body;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
hostname,
|
|
32
|
-
port,
|
|
33
|
-
method: "GET",
|
|
34
|
-
headers,
|
|
35
|
-
path: resolvedPath,
|
|
36
|
-
body,
|
|
37
|
-
});
|
|
20
|
+
b.m("GET").h(headers).b(body);
|
|
21
|
+
return b.build();
|
|
38
22
|
};
|
|
39
23
|
export const se_GetAssessmentCommand = async (input, context) => {
|
|
40
|
-
const
|
|
24
|
+
const b = rb(input, context);
|
|
41
25
|
const headers = {};
|
|
42
|
-
|
|
43
|
-
|
|
26
|
+
b.bp("/get-assessment/{id}");
|
|
27
|
+
b.p("id", () => input.id, "{id}", false);
|
|
44
28
|
let body;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
hostname,
|
|
48
|
-
port,
|
|
49
|
-
method: "GET",
|
|
50
|
-
headers,
|
|
51
|
-
path: resolvedPath,
|
|
52
|
-
body,
|
|
53
|
-
});
|
|
29
|
+
b.m("GET").h(headers).b(body);
|
|
30
|
+
return b.build();
|
|
54
31
|
};
|
|
55
32
|
export const se_GetImportFileTaskCommand = async (input, context) => {
|
|
56
|
-
const
|
|
33
|
+
const b = rb(input, context);
|
|
57
34
|
const headers = {};
|
|
58
|
-
|
|
59
|
-
|
|
35
|
+
b.bp("/get-import-file-task/{id}");
|
|
36
|
+
b.p("id", () => input.id, "{id}", false);
|
|
60
37
|
let body;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
hostname,
|
|
64
|
-
port,
|
|
65
|
-
method: "GET",
|
|
66
|
-
headers,
|
|
67
|
-
path: resolvedPath,
|
|
68
|
-
body,
|
|
69
|
-
});
|
|
38
|
+
b.m("GET").h(headers).b(body);
|
|
39
|
+
return b.build();
|
|
70
40
|
};
|
|
71
41
|
export const se_GetLatestAssessmentIdCommand = async (input, context) => {
|
|
72
|
-
const
|
|
42
|
+
const b = rb(input, context);
|
|
73
43
|
const headers = {
|
|
74
44
|
"content-type": "application/json",
|
|
75
45
|
};
|
|
76
|
-
|
|
46
|
+
b.bp("/get-latest-assessment-id");
|
|
77
47
|
let body;
|
|
78
48
|
body = "";
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
hostname,
|
|
82
|
-
port,
|
|
83
|
-
method: "GET",
|
|
84
|
-
headers,
|
|
85
|
-
path: resolvedPath,
|
|
86
|
-
body,
|
|
87
|
-
});
|
|
49
|
+
b.m("GET").h(headers).b(body);
|
|
50
|
+
return b.build();
|
|
88
51
|
};
|
|
89
52
|
export const se_GetPortfolioPreferencesCommand = async (input, context) => {
|
|
90
|
-
const
|
|
53
|
+
const b = rb(input, context);
|
|
91
54
|
const headers = {
|
|
92
55
|
"content-type": "application/json",
|
|
93
56
|
};
|
|
94
|
-
|
|
57
|
+
b.bp("/get-portfolio-preferences");
|
|
95
58
|
let body;
|
|
96
59
|
body = "";
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
hostname,
|
|
100
|
-
port,
|
|
101
|
-
method: "GET",
|
|
102
|
-
headers,
|
|
103
|
-
path: resolvedPath,
|
|
104
|
-
body,
|
|
105
|
-
});
|
|
60
|
+
b.m("GET").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
106
62
|
};
|
|
107
63
|
export const se_GetPortfolioSummaryCommand = async (input, context) => {
|
|
108
|
-
const
|
|
64
|
+
const b = rb(input, context);
|
|
109
65
|
const headers = {
|
|
110
66
|
"content-type": "application/json",
|
|
111
67
|
};
|
|
112
|
-
|
|
68
|
+
b.bp("/get-portfolio-summary");
|
|
113
69
|
let body;
|
|
114
70
|
body = "";
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
hostname,
|
|
118
|
-
port,
|
|
119
|
-
method: "GET",
|
|
120
|
-
headers,
|
|
121
|
-
path: resolvedPath,
|
|
122
|
-
body,
|
|
123
|
-
});
|
|
71
|
+
b.m("GET").h(headers).b(body);
|
|
72
|
+
return b.build();
|
|
124
73
|
};
|
|
125
74
|
export const se_GetRecommendationReportDetailsCommand = async (input, context) => {
|
|
126
|
-
const
|
|
75
|
+
const b = rb(input, context);
|
|
127
76
|
const headers = {};
|
|
128
|
-
|
|
129
|
-
|
|
77
|
+
b.bp("/get-recommendation-report-details/{id}");
|
|
78
|
+
b.p("id", () => input.id, "{id}", false);
|
|
130
79
|
let body;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
hostname,
|
|
134
|
-
port,
|
|
135
|
-
method: "GET",
|
|
136
|
-
headers,
|
|
137
|
-
path: resolvedPath,
|
|
138
|
-
body,
|
|
139
|
-
});
|
|
80
|
+
b.m("GET").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
140
82
|
};
|
|
141
83
|
export const se_GetServerDetailsCommand = async (input, context) => {
|
|
142
|
-
const
|
|
84
|
+
const b = rb(input, context);
|
|
143
85
|
const headers = {};
|
|
144
|
-
|
|
145
|
-
|
|
86
|
+
b.bp("/get-server-details/{serverId}");
|
|
87
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
146
88
|
const query = map({
|
|
147
|
-
|
|
148
|
-
|
|
89
|
+
[_nT]: [, input[_nT]],
|
|
90
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
149
91
|
});
|
|
150
92
|
let body;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
hostname,
|
|
154
|
-
port,
|
|
155
|
-
method: "GET",
|
|
156
|
-
headers,
|
|
157
|
-
path: resolvedPath,
|
|
158
|
-
query,
|
|
159
|
-
body,
|
|
160
|
-
});
|
|
93
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
94
|
+
return b.build();
|
|
161
95
|
};
|
|
162
96
|
export const se_GetServerStrategiesCommand = async (input, context) => {
|
|
163
|
-
const
|
|
97
|
+
const b = rb(input, context);
|
|
164
98
|
const headers = {};
|
|
165
|
-
|
|
166
|
-
|
|
99
|
+
b.bp("/get-server-strategies/{serverId}");
|
|
100
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
167
101
|
let body;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
hostname,
|
|
171
|
-
port,
|
|
172
|
-
method: "GET",
|
|
173
|
-
headers,
|
|
174
|
-
path: resolvedPath,
|
|
175
|
-
body,
|
|
176
|
-
});
|
|
102
|
+
b.m("GET").h(headers).b(body);
|
|
103
|
+
return b.build();
|
|
177
104
|
};
|
|
178
105
|
export const se_ListAnalyzableServersCommand = async (input, context) => {
|
|
179
|
-
const
|
|
106
|
+
const b = rb(input, context);
|
|
180
107
|
const headers = {
|
|
181
108
|
"content-type": "application/json",
|
|
182
109
|
};
|
|
183
|
-
|
|
110
|
+
b.bp("/list-analyzable-servers");
|
|
184
111
|
let body;
|
|
185
112
|
body = JSON.stringify(take(input, {
|
|
186
113
|
maxResults: [],
|
|
187
114
|
nextToken: [],
|
|
188
115
|
sort: [],
|
|
189
116
|
}));
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
hostname,
|
|
193
|
-
port,
|
|
194
|
-
method: "POST",
|
|
195
|
-
headers,
|
|
196
|
-
path: resolvedPath,
|
|
197
|
-
body,
|
|
198
|
-
});
|
|
117
|
+
b.m("POST").h(headers).b(body);
|
|
118
|
+
return b.build();
|
|
199
119
|
};
|
|
200
120
|
export const se_ListApplicationComponentsCommand = async (input, context) => {
|
|
201
|
-
const
|
|
121
|
+
const b = rb(input, context);
|
|
202
122
|
const headers = {
|
|
203
123
|
"content-type": "application/json",
|
|
204
124
|
};
|
|
205
|
-
|
|
125
|
+
b.bp("/list-applicationcomponents");
|
|
206
126
|
let body;
|
|
207
127
|
body = JSON.stringify(take(input, {
|
|
208
128
|
applicationComponentCriteria: [],
|
|
@@ -212,62 +132,39 @@ export const se_ListApplicationComponentsCommand = async (input, context) => {
|
|
|
212
132
|
nextToken: [],
|
|
213
133
|
sort: [],
|
|
214
134
|
}));
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
hostname,
|
|
218
|
-
port,
|
|
219
|
-
method: "POST",
|
|
220
|
-
headers,
|
|
221
|
-
path: resolvedPath,
|
|
222
|
-
body,
|
|
223
|
-
});
|
|
135
|
+
b.m("POST").h(headers).b(body);
|
|
136
|
+
return b.build();
|
|
224
137
|
};
|
|
225
138
|
export const se_ListCollectorsCommand = async (input, context) => {
|
|
226
|
-
const
|
|
139
|
+
const b = rb(input, context);
|
|
227
140
|
const headers = {};
|
|
228
|
-
|
|
141
|
+
b.bp("/list-collectors");
|
|
229
142
|
const query = map({
|
|
230
|
-
|
|
231
|
-
|
|
143
|
+
[_nT]: [, input[_nT]],
|
|
144
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
232
145
|
});
|
|
233
146
|
let body;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
hostname,
|
|
237
|
-
port,
|
|
238
|
-
method: "GET",
|
|
239
|
-
headers,
|
|
240
|
-
path: resolvedPath,
|
|
241
|
-
query,
|
|
242
|
-
body,
|
|
243
|
-
});
|
|
147
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
148
|
+
return b.build();
|
|
244
149
|
};
|
|
245
150
|
export const se_ListImportFileTaskCommand = async (input, context) => {
|
|
246
|
-
const
|
|
151
|
+
const b = rb(input, context);
|
|
247
152
|
const headers = {};
|
|
248
|
-
|
|
153
|
+
b.bp("/list-import-file-task");
|
|
249
154
|
const query = map({
|
|
250
|
-
|
|
251
|
-
|
|
155
|
+
[_nT]: [, input[_nT]],
|
|
156
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
252
157
|
});
|
|
253
158
|
let body;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
hostname,
|
|
257
|
-
port,
|
|
258
|
-
method: "GET",
|
|
259
|
-
headers,
|
|
260
|
-
path: resolvedPath,
|
|
261
|
-
query,
|
|
262
|
-
body,
|
|
263
|
-
});
|
|
159
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
160
|
+
return b.build();
|
|
264
161
|
};
|
|
265
162
|
export const se_ListServersCommand = async (input, context) => {
|
|
266
|
-
const
|
|
163
|
+
const b = rb(input, context);
|
|
267
164
|
const headers = {
|
|
268
165
|
"content-type": "application/json",
|
|
269
166
|
};
|
|
270
|
-
|
|
167
|
+
b.bp("/list-servers");
|
|
271
168
|
let body;
|
|
272
169
|
body = JSON.stringify(take(input, {
|
|
273
170
|
filterValue: [],
|
|
@@ -277,22 +174,15 @@ export const se_ListServersCommand = async (input, context) => {
|
|
|
277
174
|
serverCriteria: [],
|
|
278
175
|
sort: [],
|
|
279
176
|
}));
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
hostname,
|
|
283
|
-
port,
|
|
284
|
-
method: "POST",
|
|
285
|
-
headers,
|
|
286
|
-
path: resolvedPath,
|
|
287
|
-
body,
|
|
288
|
-
});
|
|
177
|
+
b.m("POST").h(headers).b(body);
|
|
178
|
+
return b.build();
|
|
289
179
|
};
|
|
290
180
|
export const se_PutPortfolioPreferencesCommand = async (input, context) => {
|
|
291
|
-
const
|
|
181
|
+
const b = rb(input, context);
|
|
292
182
|
const headers = {
|
|
293
183
|
"content-type": "application/json",
|
|
294
184
|
};
|
|
295
|
-
|
|
185
|
+
b.bp("/put-portfolio-preferences");
|
|
296
186
|
let body;
|
|
297
187
|
body = JSON.stringify(take(input, {
|
|
298
188
|
applicationMode: [],
|
|
@@ -300,22 +190,15 @@ export const se_PutPortfolioPreferencesCommand = async (input, context) => {
|
|
|
300
190
|
databasePreferences: (_) => _json(_),
|
|
301
191
|
prioritizeBusinessGoals: (_) => _json(_),
|
|
302
192
|
}));
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
hostname,
|
|
306
|
-
port,
|
|
307
|
-
method: "POST",
|
|
308
|
-
headers,
|
|
309
|
-
path: resolvedPath,
|
|
310
|
-
body,
|
|
311
|
-
});
|
|
193
|
+
b.m("POST").h(headers).b(body);
|
|
194
|
+
return b.build();
|
|
312
195
|
};
|
|
313
196
|
export const se_StartAssessmentCommand = async (input, context) => {
|
|
314
|
-
const
|
|
197
|
+
const b = rb(input, context);
|
|
315
198
|
const headers = {
|
|
316
199
|
"content-type": "application/json",
|
|
317
200
|
};
|
|
318
|
-
|
|
201
|
+
b.bp("/start-assessment");
|
|
319
202
|
let body;
|
|
320
203
|
body = JSON.stringify(take(input, {
|
|
321
204
|
assessmentDataSourceType: [],
|
|
@@ -323,22 +206,15 @@ export const se_StartAssessmentCommand = async (input, context) => {
|
|
|
323
206
|
s3bucketForAnalysisData: [],
|
|
324
207
|
s3bucketForReportData: [],
|
|
325
208
|
}));
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
hostname,
|
|
329
|
-
port,
|
|
330
|
-
method: "POST",
|
|
331
|
-
headers,
|
|
332
|
-
path: resolvedPath,
|
|
333
|
-
body,
|
|
334
|
-
});
|
|
209
|
+
b.m("POST").h(headers).b(body);
|
|
210
|
+
return b.build();
|
|
335
211
|
};
|
|
336
212
|
export const se_StartImportFileTaskCommand = async (input, context) => {
|
|
337
|
-
const
|
|
213
|
+
const b = rb(input, context);
|
|
338
214
|
const headers = {
|
|
339
215
|
"content-type": "application/json",
|
|
340
216
|
};
|
|
341
|
-
|
|
217
|
+
b.bp("/start-import-file-task");
|
|
342
218
|
let body;
|
|
343
219
|
body = JSON.stringify(take(input, {
|
|
344
220
|
S3Bucket: [],
|
|
@@ -348,63 +224,42 @@ export const se_StartImportFileTaskCommand = async (input, context) => {
|
|
|
348
224
|
s3bucketForReportData: [],
|
|
349
225
|
s3key: [],
|
|
350
226
|
}));
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
hostname,
|
|
354
|
-
port,
|
|
355
|
-
method: "POST",
|
|
356
|
-
headers,
|
|
357
|
-
path: resolvedPath,
|
|
358
|
-
body,
|
|
359
|
-
});
|
|
227
|
+
b.m("POST").h(headers).b(body);
|
|
228
|
+
return b.build();
|
|
360
229
|
};
|
|
361
230
|
export const se_StartRecommendationReportGenerationCommand = async (input, context) => {
|
|
362
|
-
const
|
|
231
|
+
const b = rb(input, context);
|
|
363
232
|
const headers = {
|
|
364
233
|
"content-type": "application/json",
|
|
365
234
|
};
|
|
366
|
-
|
|
235
|
+
b.bp("/start-recommendation-report-generation");
|
|
367
236
|
let body;
|
|
368
237
|
body = JSON.stringify(take(input, {
|
|
369
238
|
groupIdFilter: (_) => _json(_),
|
|
370
239
|
outputFormat: [],
|
|
371
240
|
}));
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
hostname,
|
|
375
|
-
port,
|
|
376
|
-
method: "POST",
|
|
377
|
-
headers,
|
|
378
|
-
path: resolvedPath,
|
|
379
|
-
body,
|
|
380
|
-
});
|
|
241
|
+
b.m("POST").h(headers).b(body);
|
|
242
|
+
return b.build();
|
|
381
243
|
};
|
|
382
244
|
export const se_StopAssessmentCommand = async (input, context) => {
|
|
383
|
-
const
|
|
245
|
+
const b = rb(input, context);
|
|
384
246
|
const headers = {
|
|
385
247
|
"content-type": "application/json",
|
|
386
248
|
};
|
|
387
|
-
|
|
249
|
+
b.bp("/stop-assessment");
|
|
388
250
|
let body;
|
|
389
251
|
body = JSON.stringify(take(input, {
|
|
390
252
|
assessmentId: [],
|
|
391
253
|
}));
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
hostname,
|
|
395
|
-
port,
|
|
396
|
-
method: "POST",
|
|
397
|
-
headers,
|
|
398
|
-
path: resolvedPath,
|
|
399
|
-
body,
|
|
400
|
-
});
|
|
254
|
+
b.m("POST").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
401
256
|
};
|
|
402
257
|
export const se_UpdateApplicationComponentConfigCommand = async (input, context) => {
|
|
403
|
-
const
|
|
258
|
+
const b = rb(input, context);
|
|
404
259
|
const headers = {
|
|
405
260
|
"content-type": "application/json",
|
|
406
261
|
};
|
|
407
|
-
|
|
262
|
+
b.bp("/update-applicationcomponent-config");
|
|
408
263
|
let body;
|
|
409
264
|
body = JSON.stringify(take(input, {
|
|
410
265
|
appType: [],
|
|
@@ -415,36 +270,22 @@ export const se_UpdateApplicationComponentConfigCommand = async (input, context)
|
|
|
415
270
|
sourceCodeList: (_) => _json(_),
|
|
416
271
|
strategyOption: (_) => _json(_),
|
|
417
272
|
}));
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
hostname,
|
|
421
|
-
port,
|
|
422
|
-
method: "POST",
|
|
423
|
-
headers,
|
|
424
|
-
path: resolvedPath,
|
|
425
|
-
body,
|
|
426
|
-
});
|
|
273
|
+
b.m("POST").h(headers).b(body);
|
|
274
|
+
return b.build();
|
|
427
275
|
};
|
|
428
276
|
export const se_UpdateServerConfigCommand = async (input, context) => {
|
|
429
|
-
const
|
|
277
|
+
const b = rb(input, context);
|
|
430
278
|
const headers = {
|
|
431
279
|
"content-type": "application/json",
|
|
432
280
|
};
|
|
433
|
-
|
|
281
|
+
b.bp("/update-server-config");
|
|
434
282
|
let body;
|
|
435
283
|
body = JSON.stringify(take(input, {
|
|
436
284
|
serverId: [],
|
|
437
285
|
strategyOption: (_) => _json(_),
|
|
438
286
|
}));
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
hostname,
|
|
442
|
-
port,
|
|
443
|
-
method: "POST",
|
|
444
|
-
headers,
|
|
445
|
-
path: resolvedPath,
|
|
446
|
-
body,
|
|
447
|
-
});
|
|
287
|
+
b.m("POST").h(headers).b(body);
|
|
288
|
+
return b.build();
|
|
448
289
|
};
|
|
449
290
|
export const de_GetApplicationComponentDetailsCommand = async (output, context) => {
|
|
450
291
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -1643,6 +1484,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1643
1484
|
value !== "" &&
|
|
1644
1485
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1645
1486
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1487
|
+
const _mR = "maxResults";
|
|
1488
|
+
const _nT = "nextToken";
|
|
1646
1489
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1647
1490
|
if (encoded.length) {
|
|
1648
1491
|
return JSON.parse(encoded);
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetServerDetails: (config: MigrationHubStrategyPaginationConfiguration, input: GetServerDetailsCommandInput, ...rest: any[]) => Paginator<GetServerDetailsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzableServers: (config: MigrationHubStrategyPaginationConfiguration, input: ListAnalyzableServersCommandInput, ...rest: any[]) => Paginator<ListAnalyzableServersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplicationComponents: (config: MigrationHubStrategyPaginationConfiguration, input: ListApplicationComponentsCommandInput, ...rest: any[]) => Paginator<ListApplicationComponentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCollectors: (config: MigrationHubStrategyPaginationConfiguration, input: ListCollectorsCommandInput, ...rest: any[]) => Paginator<ListCollectorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportFileTask: (config: MigrationHubStrategyPaginationConfiguration, input: ListImportFileTaskCommandInput, ...rest: any[]) => Paginator<ListImportFileTaskCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListServers: (config: MigrationHubStrategyPaginationConfiguration, input: ListServersCommandInput, ...rest: any[]) => Paginator<ListServersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetServerDetailsCommandOutput,
|
|
5
5
|
} from "../commands/GetServerDetailsCommand";
|
|
6
6
|
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetServerDetails: (
|
|
8
8
|
config: MigrationHubStrategyPaginationConfiguration,
|
|
9
9
|
input: GetServerDetailsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetServerDetailsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAnalyzableServersCommandOutput,
|
|
5
5
|
} from "../commands/ListAnalyzableServersCommand";
|
|
6
6
|
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzableServers: (
|
|
8
8
|
config: MigrationHubStrategyPaginationConfiguration,
|
|
9
9
|
input: ListAnalyzableServersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAnalyzableServersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListApplicationComponentsCommandOutput,
|
|
5
5
|
} from "../commands/ListApplicationComponentsCommand";
|
|
6
6
|
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplicationComponents: (
|
|
8
8
|
config: MigrationHubStrategyPaginationConfiguration,
|
|
9
9
|
input: ListApplicationComponentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListApplicationComponentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCollectorsCommandOutput,
|
|
5
5
|
} from "../commands/ListCollectorsCommand";
|
|
6
6
|
import { MigrationHubStrategyPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCollectors: (
|
|
8
8
|
config: MigrationHubStrategyPaginationConfiguration,
|
|
9
9
|
input: ListCollectorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCollectorsCommandOutput>;
|