@aws-sdk/client-mgn 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +295 -786
- package/dist-es/protocols/Aws_restJson1.js +296 -787
- package/package.json +5 -4
|
@@ -1,122 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { MgnServiceException as __BaseException } from "../models/MgnServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_ArchiveApplicationCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
b.bp("/ArchiveApplication");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
accountID: [],
|
|
15
15
|
applicationID: [],
|
|
16
16
|
}));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
hostname,
|
|
20
|
-
port,
|
|
21
|
-
method: "POST",
|
|
22
|
-
headers,
|
|
23
|
-
path: resolvedPath,
|
|
24
|
-
body,
|
|
25
|
-
});
|
|
17
|
+
b.m("POST").h(headers).b(body);
|
|
18
|
+
return b.build();
|
|
26
19
|
};
|
|
27
20
|
export const se_ArchiveWaveCommand = async (input, context) => {
|
|
28
|
-
const
|
|
21
|
+
const b = rb(input, context);
|
|
29
22
|
const headers = {
|
|
30
23
|
"content-type": "application/json",
|
|
31
24
|
};
|
|
32
|
-
|
|
25
|
+
b.bp("/ArchiveWave");
|
|
33
26
|
let body;
|
|
34
27
|
body = JSON.stringify(take(input, {
|
|
35
28
|
accountID: [],
|
|
36
29
|
waveID: [],
|
|
37
30
|
}));
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
hostname,
|
|
41
|
-
port,
|
|
42
|
-
method: "POST",
|
|
43
|
-
headers,
|
|
44
|
-
path: resolvedPath,
|
|
45
|
-
body,
|
|
46
|
-
});
|
|
31
|
+
b.m("POST").h(headers).b(body);
|
|
32
|
+
return b.build();
|
|
47
33
|
};
|
|
48
34
|
export const se_AssociateApplicationsCommand = async (input, context) => {
|
|
49
|
-
const
|
|
35
|
+
const b = rb(input, context);
|
|
50
36
|
const headers = {
|
|
51
37
|
"content-type": "application/json",
|
|
52
38
|
};
|
|
53
|
-
|
|
39
|
+
b.bp("/AssociateApplications");
|
|
54
40
|
let body;
|
|
55
41
|
body = JSON.stringify(take(input, {
|
|
56
42
|
accountID: [],
|
|
57
43
|
applicationIDs: (_) => _json(_),
|
|
58
44
|
waveID: [],
|
|
59
45
|
}));
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
hostname,
|
|
63
|
-
port,
|
|
64
|
-
method: "POST",
|
|
65
|
-
headers,
|
|
66
|
-
path: resolvedPath,
|
|
67
|
-
body,
|
|
68
|
-
});
|
|
46
|
+
b.m("POST").h(headers).b(body);
|
|
47
|
+
return b.build();
|
|
69
48
|
};
|
|
70
49
|
export const se_AssociateSourceServersCommand = async (input, context) => {
|
|
71
|
-
const
|
|
50
|
+
const b = rb(input, context);
|
|
72
51
|
const headers = {
|
|
73
52
|
"content-type": "application/json",
|
|
74
53
|
};
|
|
75
|
-
|
|
54
|
+
b.bp("/AssociateSourceServers");
|
|
76
55
|
let body;
|
|
77
56
|
body = JSON.stringify(take(input, {
|
|
78
57
|
accountID: [],
|
|
79
58
|
applicationID: [],
|
|
80
59
|
sourceServerIDs: (_) => _json(_),
|
|
81
60
|
}));
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
hostname,
|
|
85
|
-
port,
|
|
86
|
-
method: "POST",
|
|
87
|
-
headers,
|
|
88
|
-
path: resolvedPath,
|
|
89
|
-
body,
|
|
90
|
-
});
|
|
61
|
+
b.m("POST").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
91
63
|
};
|
|
92
64
|
export const se_ChangeServerLifeCycleStateCommand = async (input, context) => {
|
|
93
|
-
const
|
|
65
|
+
const b = rb(input, context);
|
|
94
66
|
const headers = {
|
|
95
67
|
"content-type": "application/json",
|
|
96
68
|
};
|
|
97
|
-
|
|
69
|
+
b.bp("/ChangeServerLifeCycleState");
|
|
98
70
|
let body;
|
|
99
71
|
body = JSON.stringify(take(input, {
|
|
100
72
|
accountID: [],
|
|
101
73
|
lifeCycle: (_) => _json(_),
|
|
102
74
|
sourceServerID: [],
|
|
103
75
|
}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
hostname,
|
|
107
|
-
port,
|
|
108
|
-
method: "POST",
|
|
109
|
-
headers,
|
|
110
|
-
path: resolvedPath,
|
|
111
|
-
body,
|
|
112
|
-
});
|
|
76
|
+
b.m("POST").h(headers).b(body);
|
|
77
|
+
return b.build();
|
|
113
78
|
};
|
|
114
79
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
115
|
-
const
|
|
80
|
+
const b = rb(input, context);
|
|
116
81
|
const headers = {
|
|
117
82
|
"content-type": "application/json",
|
|
118
83
|
};
|
|
119
|
-
|
|
84
|
+
b.bp("/CreateApplication");
|
|
120
85
|
let body;
|
|
121
86
|
body = JSON.stringify(take(input, {
|
|
122
87
|
accountID: [],
|
|
@@ -124,22 +89,15 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
124
89
|
name: [],
|
|
125
90
|
tags: (_) => _json(_),
|
|
126
91
|
}));
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
hostname,
|
|
130
|
-
port,
|
|
131
|
-
method: "POST",
|
|
132
|
-
headers,
|
|
133
|
-
path: resolvedPath,
|
|
134
|
-
body,
|
|
135
|
-
});
|
|
92
|
+
b.m("POST").h(headers).b(body);
|
|
93
|
+
return b.build();
|
|
136
94
|
};
|
|
137
95
|
export const se_CreateConnectorCommand = async (input, context) => {
|
|
138
|
-
const
|
|
96
|
+
const b = rb(input, context);
|
|
139
97
|
const headers = {
|
|
140
98
|
"content-type": "application/json",
|
|
141
99
|
};
|
|
142
|
-
|
|
100
|
+
b.bp("/CreateConnector");
|
|
143
101
|
let body;
|
|
144
102
|
body = JSON.stringify(take(input, {
|
|
145
103
|
name: [],
|
|
@@ -147,22 +105,15 @@ export const se_CreateConnectorCommand = async (input, context) => {
|
|
|
147
105
|
ssmInstanceID: [],
|
|
148
106
|
tags: (_) => _json(_),
|
|
149
107
|
}));
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
hostname,
|
|
153
|
-
port,
|
|
154
|
-
method: "POST",
|
|
155
|
-
headers,
|
|
156
|
-
path: resolvedPath,
|
|
157
|
-
body,
|
|
158
|
-
});
|
|
108
|
+
b.m("POST").h(headers).b(body);
|
|
109
|
+
return b.build();
|
|
159
110
|
};
|
|
160
111
|
export const se_CreateLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
161
|
-
const
|
|
112
|
+
const b = rb(input, context);
|
|
162
113
|
const headers = {
|
|
163
114
|
"content-type": "application/json",
|
|
164
115
|
};
|
|
165
|
-
|
|
116
|
+
b.bp("/CreateLaunchConfigurationTemplate");
|
|
166
117
|
let body;
|
|
167
118
|
body = JSON.stringify(take(input, {
|
|
168
119
|
associatePublicIpAddress: [],
|
|
@@ -180,22 +131,15 @@ export const se_CreateLaunchConfigurationTemplateCommand = async (input, context
|
|
|
180
131
|
tags: (_) => _json(_),
|
|
181
132
|
targetInstanceTypeRightSizingMethod: [],
|
|
182
133
|
}));
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
hostname,
|
|
186
|
-
port,
|
|
187
|
-
method: "POST",
|
|
188
|
-
headers,
|
|
189
|
-
path: resolvedPath,
|
|
190
|
-
body,
|
|
191
|
-
});
|
|
134
|
+
b.m("POST").h(headers).b(body);
|
|
135
|
+
return b.build();
|
|
192
136
|
};
|
|
193
137
|
export const se_CreateReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
194
|
-
const
|
|
138
|
+
const b = rb(input, context);
|
|
195
139
|
const headers = {
|
|
196
140
|
"content-type": "application/json",
|
|
197
141
|
};
|
|
198
|
-
|
|
142
|
+
b.bp("/CreateReplicationConfigurationTemplate");
|
|
199
143
|
let body;
|
|
200
144
|
body = JSON.stringify(take(input, {
|
|
201
145
|
associateDefaultSecurityGroup: [],
|
|
@@ -213,22 +157,15 @@ export const se_CreateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
213
157
|
useDedicatedReplicationServer: [],
|
|
214
158
|
useFipsEndpoint: [],
|
|
215
159
|
}));
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
hostname,
|
|
219
|
-
port,
|
|
220
|
-
method: "POST",
|
|
221
|
-
headers,
|
|
222
|
-
path: resolvedPath,
|
|
223
|
-
body,
|
|
224
|
-
});
|
|
160
|
+
b.m("POST").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
225
162
|
};
|
|
226
163
|
export const se_CreateWaveCommand = async (input, context) => {
|
|
227
|
-
const
|
|
164
|
+
const b = rb(input, context);
|
|
228
165
|
const headers = {
|
|
229
166
|
"content-type": "application/json",
|
|
230
167
|
};
|
|
231
|
-
|
|
168
|
+
b.bp("/CreateWave");
|
|
232
169
|
let body;
|
|
233
170
|
body = JSON.stringify(take(input, {
|
|
234
171
|
accountID: [],
|
|
@@ -236,186 +173,123 @@ export const se_CreateWaveCommand = async (input, context) => {
|
|
|
236
173
|
name: [],
|
|
237
174
|
tags: (_) => _json(_),
|
|
238
175
|
}));
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
hostname,
|
|
242
|
-
port,
|
|
243
|
-
method: "POST",
|
|
244
|
-
headers,
|
|
245
|
-
path: resolvedPath,
|
|
246
|
-
body,
|
|
247
|
-
});
|
|
176
|
+
b.m("POST").h(headers).b(body);
|
|
177
|
+
return b.build();
|
|
248
178
|
};
|
|
249
179
|
export const se_DeleteApplicationCommand = async (input, context) => {
|
|
250
|
-
const
|
|
180
|
+
const b = rb(input, context);
|
|
251
181
|
const headers = {
|
|
252
182
|
"content-type": "application/json",
|
|
253
183
|
};
|
|
254
|
-
|
|
184
|
+
b.bp("/DeleteApplication");
|
|
255
185
|
let body;
|
|
256
186
|
body = JSON.stringify(take(input, {
|
|
257
187
|
accountID: [],
|
|
258
188
|
applicationID: [],
|
|
259
189
|
}));
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
hostname,
|
|
263
|
-
port,
|
|
264
|
-
method: "POST",
|
|
265
|
-
headers,
|
|
266
|
-
path: resolvedPath,
|
|
267
|
-
body,
|
|
268
|
-
});
|
|
190
|
+
b.m("POST").h(headers).b(body);
|
|
191
|
+
return b.build();
|
|
269
192
|
};
|
|
270
193
|
export const se_DeleteConnectorCommand = async (input, context) => {
|
|
271
|
-
const
|
|
194
|
+
const b = rb(input, context);
|
|
272
195
|
const headers = {
|
|
273
196
|
"content-type": "application/json",
|
|
274
197
|
};
|
|
275
|
-
|
|
198
|
+
b.bp("/DeleteConnector");
|
|
276
199
|
let body;
|
|
277
200
|
body = JSON.stringify(take(input, {
|
|
278
201
|
connectorID: [],
|
|
279
202
|
}));
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
hostname,
|
|
283
|
-
port,
|
|
284
|
-
method: "POST",
|
|
285
|
-
headers,
|
|
286
|
-
path: resolvedPath,
|
|
287
|
-
body,
|
|
288
|
-
});
|
|
203
|
+
b.m("POST").h(headers).b(body);
|
|
204
|
+
return b.build();
|
|
289
205
|
};
|
|
290
206
|
export const se_DeleteJobCommand = async (input, context) => {
|
|
291
|
-
const
|
|
207
|
+
const b = rb(input, context);
|
|
292
208
|
const headers = {
|
|
293
209
|
"content-type": "application/json",
|
|
294
210
|
};
|
|
295
|
-
|
|
211
|
+
b.bp("/DeleteJob");
|
|
296
212
|
let body;
|
|
297
213
|
body = JSON.stringify(take(input, {
|
|
298
214
|
accountID: [],
|
|
299
215
|
jobID: [],
|
|
300
216
|
}));
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
hostname,
|
|
304
|
-
port,
|
|
305
|
-
method: "POST",
|
|
306
|
-
headers,
|
|
307
|
-
path: resolvedPath,
|
|
308
|
-
body,
|
|
309
|
-
});
|
|
217
|
+
b.m("POST").h(headers).b(body);
|
|
218
|
+
return b.build();
|
|
310
219
|
};
|
|
311
220
|
export const se_DeleteLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
312
|
-
const
|
|
221
|
+
const b = rb(input, context);
|
|
313
222
|
const headers = {
|
|
314
223
|
"content-type": "application/json",
|
|
315
224
|
};
|
|
316
|
-
|
|
225
|
+
b.bp("/DeleteLaunchConfigurationTemplate");
|
|
317
226
|
let body;
|
|
318
227
|
body = JSON.stringify(take(input, {
|
|
319
228
|
launchConfigurationTemplateID: [],
|
|
320
229
|
}));
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
hostname,
|
|
324
|
-
port,
|
|
325
|
-
method: "POST",
|
|
326
|
-
headers,
|
|
327
|
-
path: resolvedPath,
|
|
328
|
-
body,
|
|
329
|
-
});
|
|
230
|
+
b.m("POST").h(headers).b(body);
|
|
231
|
+
return b.build();
|
|
330
232
|
};
|
|
331
233
|
export const se_DeleteReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
332
|
-
const
|
|
234
|
+
const b = rb(input, context);
|
|
333
235
|
const headers = {
|
|
334
236
|
"content-type": "application/json",
|
|
335
237
|
};
|
|
336
|
-
|
|
238
|
+
b.bp("/DeleteReplicationConfigurationTemplate");
|
|
337
239
|
let body;
|
|
338
240
|
body = JSON.stringify(take(input, {
|
|
339
241
|
replicationConfigurationTemplateID: [],
|
|
340
242
|
}));
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
hostname,
|
|
344
|
-
port,
|
|
345
|
-
method: "POST",
|
|
346
|
-
headers,
|
|
347
|
-
path: resolvedPath,
|
|
348
|
-
body,
|
|
349
|
-
});
|
|
243
|
+
b.m("POST").h(headers).b(body);
|
|
244
|
+
return b.build();
|
|
350
245
|
};
|
|
351
246
|
export const se_DeleteSourceServerCommand = async (input, context) => {
|
|
352
|
-
const
|
|
247
|
+
const b = rb(input, context);
|
|
353
248
|
const headers = {
|
|
354
249
|
"content-type": "application/json",
|
|
355
250
|
};
|
|
356
|
-
|
|
251
|
+
b.bp("/DeleteSourceServer");
|
|
357
252
|
let body;
|
|
358
253
|
body = JSON.stringify(take(input, {
|
|
359
254
|
accountID: [],
|
|
360
255
|
sourceServerID: [],
|
|
361
256
|
}));
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
hostname,
|
|
365
|
-
port,
|
|
366
|
-
method: "POST",
|
|
367
|
-
headers,
|
|
368
|
-
path: resolvedPath,
|
|
369
|
-
body,
|
|
370
|
-
});
|
|
257
|
+
b.m("POST").h(headers).b(body);
|
|
258
|
+
return b.build();
|
|
371
259
|
};
|
|
372
260
|
export const se_DeleteVcenterClientCommand = async (input, context) => {
|
|
373
|
-
const
|
|
261
|
+
const b = rb(input, context);
|
|
374
262
|
const headers = {
|
|
375
263
|
"content-type": "application/json",
|
|
376
264
|
};
|
|
377
|
-
|
|
265
|
+
b.bp("/DeleteVcenterClient");
|
|
378
266
|
let body;
|
|
379
267
|
body = JSON.stringify(take(input, {
|
|
380
268
|
vcenterClientID: [],
|
|
381
269
|
}));
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
hostname,
|
|
385
|
-
port,
|
|
386
|
-
method: "POST",
|
|
387
|
-
headers,
|
|
388
|
-
path: resolvedPath,
|
|
389
|
-
body,
|
|
390
|
-
});
|
|
270
|
+
b.m("POST").h(headers).b(body);
|
|
271
|
+
return b.build();
|
|
391
272
|
};
|
|
392
273
|
export const se_DeleteWaveCommand = async (input, context) => {
|
|
393
|
-
const
|
|
274
|
+
const b = rb(input, context);
|
|
394
275
|
const headers = {
|
|
395
276
|
"content-type": "application/json",
|
|
396
277
|
};
|
|
397
|
-
|
|
278
|
+
b.bp("/DeleteWave");
|
|
398
279
|
let body;
|
|
399
280
|
body = JSON.stringify(take(input, {
|
|
400
281
|
accountID: [],
|
|
401
282
|
waveID: [],
|
|
402
283
|
}));
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
hostname,
|
|
406
|
-
port,
|
|
407
|
-
method: "POST",
|
|
408
|
-
headers,
|
|
409
|
-
path: resolvedPath,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
284
|
+
b.m("POST").h(headers).b(body);
|
|
285
|
+
return b.build();
|
|
412
286
|
};
|
|
413
287
|
export const se_DescribeJobLogItemsCommand = async (input, context) => {
|
|
414
|
-
const
|
|
288
|
+
const b = rb(input, context);
|
|
415
289
|
const headers = {
|
|
416
290
|
"content-type": "application/json",
|
|
417
291
|
};
|
|
418
|
-
|
|
292
|
+
b.bp("/DescribeJobLogItems");
|
|
419
293
|
let body;
|
|
420
294
|
body = JSON.stringify(take(input, {
|
|
421
295
|
accountID: [],
|
|
@@ -423,22 +297,15 @@ export const se_DescribeJobLogItemsCommand = async (input, context) => {
|
|
|
423
297
|
maxResults: [],
|
|
424
298
|
nextToken: [],
|
|
425
299
|
}));
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
hostname,
|
|
429
|
-
port,
|
|
430
|
-
method: "POST",
|
|
431
|
-
headers,
|
|
432
|
-
path: resolvedPath,
|
|
433
|
-
body,
|
|
434
|
-
});
|
|
300
|
+
b.m("POST").h(headers).b(body);
|
|
301
|
+
return b.build();
|
|
435
302
|
};
|
|
436
303
|
export const se_DescribeJobsCommand = async (input, context) => {
|
|
437
|
-
const
|
|
304
|
+
const b = rb(input, context);
|
|
438
305
|
const headers = {
|
|
439
306
|
"content-type": "application/json",
|
|
440
307
|
};
|
|
441
|
-
|
|
308
|
+
b.bp("/DescribeJobs");
|
|
442
309
|
let body;
|
|
443
310
|
body = JSON.stringify(take(input, {
|
|
444
311
|
accountID: [],
|
|
@@ -446,67 +313,45 @@ export const se_DescribeJobsCommand = async (input, context) => {
|
|
|
446
313
|
maxResults: [],
|
|
447
314
|
nextToken: [],
|
|
448
315
|
}));
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
hostname,
|
|
452
|
-
port,
|
|
453
|
-
method: "POST",
|
|
454
|
-
headers,
|
|
455
|
-
path: resolvedPath,
|
|
456
|
-
body,
|
|
457
|
-
});
|
|
316
|
+
b.m("POST").h(headers).b(body);
|
|
317
|
+
return b.build();
|
|
458
318
|
};
|
|
459
319
|
export const se_DescribeLaunchConfigurationTemplatesCommand = async (input, context) => {
|
|
460
|
-
const
|
|
320
|
+
const b = rb(input, context);
|
|
461
321
|
const headers = {
|
|
462
322
|
"content-type": "application/json",
|
|
463
323
|
};
|
|
464
|
-
|
|
324
|
+
b.bp("/DescribeLaunchConfigurationTemplates");
|
|
465
325
|
let body;
|
|
466
326
|
body = JSON.stringify(take(input, {
|
|
467
327
|
launchConfigurationTemplateIDs: (_) => _json(_),
|
|
468
328
|
maxResults: [],
|
|
469
329
|
nextToken: [],
|
|
470
330
|
}));
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
hostname,
|
|
474
|
-
port,
|
|
475
|
-
method: "POST",
|
|
476
|
-
headers,
|
|
477
|
-
path: resolvedPath,
|
|
478
|
-
body,
|
|
479
|
-
});
|
|
331
|
+
b.m("POST").h(headers).b(body);
|
|
332
|
+
return b.build();
|
|
480
333
|
};
|
|
481
334
|
export const se_DescribeReplicationConfigurationTemplatesCommand = async (input, context) => {
|
|
482
|
-
const
|
|
335
|
+
const b = rb(input, context);
|
|
483
336
|
const headers = {
|
|
484
337
|
"content-type": "application/json",
|
|
485
338
|
};
|
|
486
|
-
|
|
487
|
-
"/DescribeReplicationConfigurationTemplates";
|
|
339
|
+
b.bp("/DescribeReplicationConfigurationTemplates");
|
|
488
340
|
let body;
|
|
489
341
|
body = JSON.stringify(take(input, {
|
|
490
342
|
maxResults: [],
|
|
491
343
|
nextToken: [],
|
|
492
344
|
replicationConfigurationTemplateIDs: (_) => _json(_),
|
|
493
345
|
}));
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
hostname,
|
|
497
|
-
port,
|
|
498
|
-
method: "POST",
|
|
499
|
-
headers,
|
|
500
|
-
path: resolvedPath,
|
|
501
|
-
body,
|
|
502
|
-
});
|
|
346
|
+
b.m("POST").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
503
348
|
};
|
|
504
349
|
export const se_DescribeSourceServersCommand = async (input, context) => {
|
|
505
|
-
const
|
|
350
|
+
const b = rb(input, context);
|
|
506
351
|
const headers = {
|
|
507
352
|
"content-type": "application/json",
|
|
508
353
|
};
|
|
509
|
-
|
|
354
|
+
b.bp("/DescribeSourceServers");
|
|
510
355
|
let body;
|
|
511
356
|
body = JSON.stringify(take(input, {
|
|
512
357
|
accountID: [],
|
|
@@ -514,188 +359,124 @@ export const se_DescribeSourceServersCommand = async (input, context) => {
|
|
|
514
359
|
maxResults: [],
|
|
515
360
|
nextToken: [],
|
|
516
361
|
}));
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
hostname,
|
|
520
|
-
port,
|
|
521
|
-
method: "POST",
|
|
522
|
-
headers,
|
|
523
|
-
path: resolvedPath,
|
|
524
|
-
body,
|
|
525
|
-
});
|
|
362
|
+
b.m("POST").h(headers).b(body);
|
|
363
|
+
return b.build();
|
|
526
364
|
};
|
|
527
365
|
export const se_DescribeVcenterClientsCommand = async (input, context) => {
|
|
528
|
-
const
|
|
366
|
+
const b = rb(input, context);
|
|
529
367
|
const headers = {};
|
|
530
|
-
|
|
368
|
+
b.bp("/DescribeVcenterClients");
|
|
531
369
|
const query = map({
|
|
532
|
-
|
|
533
|
-
|
|
370
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
371
|
+
[_nT]: [, input[_nT]],
|
|
534
372
|
});
|
|
535
373
|
let body;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
hostname,
|
|
539
|
-
port,
|
|
540
|
-
method: "GET",
|
|
541
|
-
headers,
|
|
542
|
-
path: resolvedPath,
|
|
543
|
-
query,
|
|
544
|
-
body,
|
|
545
|
-
});
|
|
374
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
375
|
+
return b.build();
|
|
546
376
|
};
|
|
547
377
|
export const se_DisassociateApplicationsCommand = async (input, context) => {
|
|
548
|
-
const
|
|
378
|
+
const b = rb(input, context);
|
|
549
379
|
const headers = {
|
|
550
380
|
"content-type": "application/json",
|
|
551
381
|
};
|
|
552
|
-
|
|
382
|
+
b.bp("/DisassociateApplications");
|
|
553
383
|
let body;
|
|
554
384
|
body = JSON.stringify(take(input, {
|
|
555
385
|
accountID: [],
|
|
556
386
|
applicationIDs: (_) => _json(_),
|
|
557
387
|
waveID: [],
|
|
558
388
|
}));
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
hostname,
|
|
562
|
-
port,
|
|
563
|
-
method: "POST",
|
|
564
|
-
headers,
|
|
565
|
-
path: resolvedPath,
|
|
566
|
-
body,
|
|
567
|
-
});
|
|
389
|
+
b.m("POST").h(headers).b(body);
|
|
390
|
+
return b.build();
|
|
568
391
|
};
|
|
569
392
|
export const se_DisassociateSourceServersCommand = async (input, context) => {
|
|
570
|
-
const
|
|
393
|
+
const b = rb(input, context);
|
|
571
394
|
const headers = {
|
|
572
395
|
"content-type": "application/json",
|
|
573
396
|
};
|
|
574
|
-
|
|
397
|
+
b.bp("/DisassociateSourceServers");
|
|
575
398
|
let body;
|
|
576
399
|
body = JSON.stringify(take(input, {
|
|
577
400
|
accountID: [],
|
|
578
401
|
applicationID: [],
|
|
579
402
|
sourceServerIDs: (_) => _json(_),
|
|
580
403
|
}));
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
hostname,
|
|
584
|
-
port,
|
|
585
|
-
method: "POST",
|
|
586
|
-
headers,
|
|
587
|
-
path: resolvedPath,
|
|
588
|
-
body,
|
|
589
|
-
});
|
|
404
|
+
b.m("POST").h(headers).b(body);
|
|
405
|
+
return b.build();
|
|
590
406
|
};
|
|
591
407
|
export const se_DisconnectFromServiceCommand = async (input, context) => {
|
|
592
|
-
const
|
|
408
|
+
const b = rb(input, context);
|
|
593
409
|
const headers = {
|
|
594
410
|
"content-type": "application/json",
|
|
595
411
|
};
|
|
596
|
-
|
|
412
|
+
b.bp("/DisconnectFromService");
|
|
597
413
|
let body;
|
|
598
414
|
body = JSON.stringify(take(input, {
|
|
599
415
|
accountID: [],
|
|
600
416
|
sourceServerID: [],
|
|
601
417
|
}));
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
hostname,
|
|
605
|
-
port,
|
|
606
|
-
method: "POST",
|
|
607
|
-
headers,
|
|
608
|
-
path: resolvedPath,
|
|
609
|
-
body,
|
|
610
|
-
});
|
|
418
|
+
b.m("POST").h(headers).b(body);
|
|
419
|
+
return b.build();
|
|
611
420
|
};
|
|
612
421
|
export const se_FinalizeCutoverCommand = async (input, context) => {
|
|
613
|
-
const
|
|
422
|
+
const b = rb(input, context);
|
|
614
423
|
const headers = {
|
|
615
424
|
"content-type": "application/json",
|
|
616
425
|
};
|
|
617
|
-
|
|
426
|
+
b.bp("/FinalizeCutover");
|
|
618
427
|
let body;
|
|
619
428
|
body = JSON.stringify(take(input, {
|
|
620
429
|
accountID: [],
|
|
621
430
|
sourceServerID: [],
|
|
622
431
|
}));
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
hostname,
|
|
626
|
-
port,
|
|
627
|
-
method: "POST",
|
|
628
|
-
headers,
|
|
629
|
-
path: resolvedPath,
|
|
630
|
-
body,
|
|
631
|
-
});
|
|
432
|
+
b.m("POST").h(headers).b(body);
|
|
433
|
+
return b.build();
|
|
632
434
|
};
|
|
633
435
|
export const se_GetLaunchConfigurationCommand = async (input, context) => {
|
|
634
|
-
const
|
|
436
|
+
const b = rb(input, context);
|
|
635
437
|
const headers = {
|
|
636
438
|
"content-type": "application/json",
|
|
637
439
|
};
|
|
638
|
-
|
|
440
|
+
b.bp("/GetLaunchConfiguration");
|
|
639
441
|
let body;
|
|
640
442
|
body = JSON.stringify(take(input, {
|
|
641
443
|
accountID: [],
|
|
642
444
|
sourceServerID: [],
|
|
643
445
|
}));
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
hostname,
|
|
647
|
-
port,
|
|
648
|
-
method: "POST",
|
|
649
|
-
headers,
|
|
650
|
-
path: resolvedPath,
|
|
651
|
-
body,
|
|
652
|
-
});
|
|
446
|
+
b.m("POST").h(headers).b(body);
|
|
447
|
+
return b.build();
|
|
653
448
|
};
|
|
654
449
|
export const se_GetReplicationConfigurationCommand = async (input, context) => {
|
|
655
|
-
const
|
|
450
|
+
const b = rb(input, context);
|
|
656
451
|
const headers = {
|
|
657
452
|
"content-type": "application/json",
|
|
658
453
|
};
|
|
659
|
-
|
|
454
|
+
b.bp("/GetReplicationConfiguration");
|
|
660
455
|
let body;
|
|
661
456
|
body = JSON.stringify(take(input, {
|
|
662
457
|
accountID: [],
|
|
663
458
|
sourceServerID: [],
|
|
664
459
|
}));
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
hostname,
|
|
668
|
-
port,
|
|
669
|
-
method: "POST",
|
|
670
|
-
headers,
|
|
671
|
-
path: resolvedPath,
|
|
672
|
-
body,
|
|
673
|
-
});
|
|
460
|
+
b.m("POST").h(headers).b(body);
|
|
461
|
+
return b.build();
|
|
674
462
|
};
|
|
675
463
|
export const se_InitializeServiceCommand = async (input, context) => {
|
|
676
|
-
const
|
|
464
|
+
const b = rb(input, context);
|
|
677
465
|
const headers = {
|
|
678
466
|
"content-type": "application/json",
|
|
679
467
|
};
|
|
680
|
-
|
|
468
|
+
b.bp("/InitializeService");
|
|
681
469
|
let body;
|
|
682
470
|
body = "";
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
hostname,
|
|
686
|
-
port,
|
|
687
|
-
method: "POST",
|
|
688
|
-
headers,
|
|
689
|
-
path: resolvedPath,
|
|
690
|
-
body,
|
|
691
|
-
});
|
|
471
|
+
b.m("POST").h(headers).b(body);
|
|
472
|
+
return b.build();
|
|
692
473
|
};
|
|
693
474
|
export const se_ListApplicationsCommand = async (input, context) => {
|
|
694
|
-
const
|
|
475
|
+
const b = rb(input, context);
|
|
695
476
|
const headers = {
|
|
696
477
|
"content-type": "application/json",
|
|
697
478
|
};
|
|
698
|
-
|
|
479
|
+
b.bp("/ListApplications");
|
|
699
480
|
let body;
|
|
700
481
|
body = JSON.stringify(take(input, {
|
|
701
482
|
accountID: [],
|
|
@@ -703,153 +484,104 @@ export const se_ListApplicationsCommand = async (input, context) => {
|
|
|
703
484
|
maxResults: [],
|
|
704
485
|
nextToken: [],
|
|
705
486
|
}));
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
hostname,
|
|
709
|
-
port,
|
|
710
|
-
method: "POST",
|
|
711
|
-
headers,
|
|
712
|
-
path: resolvedPath,
|
|
713
|
-
body,
|
|
714
|
-
});
|
|
487
|
+
b.m("POST").h(headers).b(body);
|
|
488
|
+
return b.build();
|
|
715
489
|
};
|
|
716
490
|
export const se_ListConnectorsCommand = async (input, context) => {
|
|
717
|
-
const
|
|
491
|
+
const b = rb(input, context);
|
|
718
492
|
const headers = {
|
|
719
493
|
"content-type": "application/json",
|
|
720
494
|
};
|
|
721
|
-
|
|
495
|
+
b.bp("/ListConnectors");
|
|
722
496
|
let body;
|
|
723
497
|
body = JSON.stringify(take(input, {
|
|
724
498
|
filters: (_) => _json(_),
|
|
725
499
|
maxResults: [],
|
|
726
500
|
nextToken: [],
|
|
727
501
|
}));
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
hostname,
|
|
731
|
-
port,
|
|
732
|
-
method: "POST",
|
|
733
|
-
headers,
|
|
734
|
-
path: resolvedPath,
|
|
735
|
-
body,
|
|
736
|
-
});
|
|
502
|
+
b.m("POST").h(headers).b(body);
|
|
503
|
+
return b.build();
|
|
737
504
|
};
|
|
738
505
|
export const se_ListExportErrorsCommand = async (input, context) => {
|
|
739
|
-
const
|
|
506
|
+
const b = rb(input, context);
|
|
740
507
|
const headers = {
|
|
741
508
|
"content-type": "application/json",
|
|
742
509
|
};
|
|
743
|
-
|
|
510
|
+
b.bp("/ListExportErrors");
|
|
744
511
|
let body;
|
|
745
512
|
body = JSON.stringify(take(input, {
|
|
746
513
|
exportID: [],
|
|
747
514
|
maxResults: [],
|
|
748
515
|
nextToken: [],
|
|
749
516
|
}));
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
hostname,
|
|
753
|
-
port,
|
|
754
|
-
method: "POST",
|
|
755
|
-
headers,
|
|
756
|
-
path: resolvedPath,
|
|
757
|
-
body,
|
|
758
|
-
});
|
|
517
|
+
b.m("POST").h(headers).b(body);
|
|
518
|
+
return b.build();
|
|
759
519
|
};
|
|
760
520
|
export const se_ListExportsCommand = async (input, context) => {
|
|
761
|
-
const
|
|
521
|
+
const b = rb(input, context);
|
|
762
522
|
const headers = {
|
|
763
523
|
"content-type": "application/json",
|
|
764
524
|
};
|
|
765
|
-
|
|
525
|
+
b.bp("/ListExports");
|
|
766
526
|
let body;
|
|
767
527
|
body = JSON.stringify(take(input, {
|
|
768
528
|
filters: (_) => _json(_),
|
|
769
529
|
maxResults: [],
|
|
770
530
|
nextToken: [],
|
|
771
531
|
}));
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
hostname,
|
|
775
|
-
port,
|
|
776
|
-
method: "POST",
|
|
777
|
-
headers,
|
|
778
|
-
path: resolvedPath,
|
|
779
|
-
body,
|
|
780
|
-
});
|
|
532
|
+
b.m("POST").h(headers).b(body);
|
|
533
|
+
return b.build();
|
|
781
534
|
};
|
|
782
535
|
export const se_ListImportErrorsCommand = async (input, context) => {
|
|
783
|
-
const
|
|
536
|
+
const b = rb(input, context);
|
|
784
537
|
const headers = {
|
|
785
538
|
"content-type": "application/json",
|
|
786
539
|
};
|
|
787
|
-
|
|
540
|
+
b.bp("/ListImportErrors");
|
|
788
541
|
let body;
|
|
789
542
|
body = JSON.stringify(take(input, {
|
|
790
543
|
importID: [],
|
|
791
544
|
maxResults: [],
|
|
792
545
|
nextToken: [],
|
|
793
546
|
}));
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
hostname,
|
|
797
|
-
port,
|
|
798
|
-
method: "POST",
|
|
799
|
-
headers,
|
|
800
|
-
path: resolvedPath,
|
|
801
|
-
body,
|
|
802
|
-
});
|
|
547
|
+
b.m("POST").h(headers).b(body);
|
|
548
|
+
return b.build();
|
|
803
549
|
};
|
|
804
550
|
export const se_ListImportsCommand = async (input, context) => {
|
|
805
|
-
const
|
|
551
|
+
const b = rb(input, context);
|
|
806
552
|
const headers = {
|
|
807
553
|
"content-type": "application/json",
|
|
808
554
|
};
|
|
809
|
-
|
|
555
|
+
b.bp("/ListImports");
|
|
810
556
|
let body;
|
|
811
557
|
body = JSON.stringify(take(input, {
|
|
812
558
|
filters: (_) => _json(_),
|
|
813
559
|
maxResults: [],
|
|
814
560
|
nextToken: [],
|
|
815
561
|
}));
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
hostname,
|
|
819
|
-
port,
|
|
820
|
-
method: "POST",
|
|
821
|
-
headers,
|
|
822
|
-
path: resolvedPath,
|
|
823
|
-
body,
|
|
824
|
-
});
|
|
562
|
+
b.m("POST").h(headers).b(body);
|
|
563
|
+
return b.build();
|
|
825
564
|
};
|
|
826
565
|
export const se_ListManagedAccountsCommand = async (input, context) => {
|
|
827
|
-
const
|
|
566
|
+
const b = rb(input, context);
|
|
828
567
|
const headers = {
|
|
829
568
|
"content-type": "application/json",
|
|
830
569
|
};
|
|
831
|
-
|
|
570
|
+
b.bp("/ListManagedAccounts");
|
|
832
571
|
let body;
|
|
833
572
|
body = JSON.stringify(take(input, {
|
|
834
573
|
maxResults: [],
|
|
835
574
|
nextToken: [],
|
|
836
575
|
}));
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
hostname,
|
|
840
|
-
port,
|
|
841
|
-
method: "POST",
|
|
842
|
-
headers,
|
|
843
|
-
path: resolvedPath,
|
|
844
|
-
body,
|
|
845
|
-
});
|
|
576
|
+
b.m("POST").h(headers).b(body);
|
|
577
|
+
return b.build();
|
|
846
578
|
};
|
|
847
579
|
export const se_ListSourceServerActionsCommand = async (input, context) => {
|
|
848
|
-
const
|
|
580
|
+
const b = rb(input, context);
|
|
849
581
|
const headers = {
|
|
850
582
|
"content-type": "application/json",
|
|
851
583
|
};
|
|
852
|
-
|
|
584
|
+
b.bp("/ListSourceServerActions");
|
|
853
585
|
let body;
|
|
854
586
|
body = JSON.stringify(take(input, {
|
|
855
587
|
accountID: [],
|
|
@@ -858,38 +590,24 @@ export const se_ListSourceServerActionsCommand = async (input, context) => {
|
|
|
858
590
|
nextToken: [],
|
|
859
591
|
sourceServerID: [],
|
|
860
592
|
}));
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
hostname,
|
|
864
|
-
port,
|
|
865
|
-
method: "POST",
|
|
866
|
-
headers,
|
|
867
|
-
path: resolvedPath,
|
|
868
|
-
body,
|
|
869
|
-
});
|
|
593
|
+
b.m("POST").h(headers).b(body);
|
|
594
|
+
return b.build();
|
|
870
595
|
};
|
|
871
596
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
872
|
-
const
|
|
597
|
+
const b = rb(input, context);
|
|
873
598
|
const headers = {};
|
|
874
|
-
|
|
875
|
-
|
|
599
|
+
b.bp("/tags/{resourceArn}");
|
|
600
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
876
601
|
let body;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
hostname,
|
|
880
|
-
port,
|
|
881
|
-
method: "GET",
|
|
882
|
-
headers,
|
|
883
|
-
path: resolvedPath,
|
|
884
|
-
body,
|
|
885
|
-
});
|
|
602
|
+
b.m("GET").h(headers).b(body);
|
|
603
|
+
return b.build();
|
|
886
604
|
};
|
|
887
605
|
export const se_ListTemplateActionsCommand = async (input, context) => {
|
|
888
|
-
const
|
|
606
|
+
const b = rb(input, context);
|
|
889
607
|
const headers = {
|
|
890
608
|
"content-type": "application/json",
|
|
891
609
|
};
|
|
892
|
-
|
|
610
|
+
b.bp("/ListTemplateActions");
|
|
893
611
|
let body;
|
|
894
612
|
body = JSON.stringify(take(input, {
|
|
895
613
|
filters: (_) => _json(_),
|
|
@@ -897,22 +615,15 @@ export const se_ListTemplateActionsCommand = async (input, context) => {
|
|
|
897
615
|
maxResults: [],
|
|
898
616
|
nextToken: [],
|
|
899
617
|
}));
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
hostname,
|
|
903
|
-
port,
|
|
904
|
-
method: "POST",
|
|
905
|
-
headers,
|
|
906
|
-
path: resolvedPath,
|
|
907
|
-
body,
|
|
908
|
-
});
|
|
618
|
+
b.m("POST").h(headers).b(body);
|
|
619
|
+
return b.build();
|
|
909
620
|
};
|
|
910
621
|
export const se_ListWavesCommand = async (input, context) => {
|
|
911
|
-
const
|
|
622
|
+
const b = rb(input, context);
|
|
912
623
|
const headers = {
|
|
913
624
|
"content-type": "application/json",
|
|
914
625
|
};
|
|
915
|
-
|
|
626
|
+
b.bp("/ListWaves");
|
|
916
627
|
let body;
|
|
917
628
|
body = JSON.stringify(take(input, {
|
|
918
629
|
accountID: [],
|
|
@@ -920,64 +631,43 @@ export const se_ListWavesCommand = async (input, context) => {
|
|
|
920
631
|
maxResults: [],
|
|
921
632
|
nextToken: [],
|
|
922
633
|
}));
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
hostname,
|
|
926
|
-
port,
|
|
927
|
-
method: "POST",
|
|
928
|
-
headers,
|
|
929
|
-
path: resolvedPath,
|
|
930
|
-
body,
|
|
931
|
-
});
|
|
634
|
+
b.m("POST").h(headers).b(body);
|
|
635
|
+
return b.build();
|
|
932
636
|
};
|
|
933
637
|
export const se_MarkAsArchivedCommand = async (input, context) => {
|
|
934
|
-
const
|
|
638
|
+
const b = rb(input, context);
|
|
935
639
|
const headers = {
|
|
936
640
|
"content-type": "application/json",
|
|
937
641
|
};
|
|
938
|
-
|
|
642
|
+
b.bp("/MarkAsArchived");
|
|
939
643
|
let body;
|
|
940
644
|
body = JSON.stringify(take(input, {
|
|
941
645
|
accountID: [],
|
|
942
646
|
sourceServerID: [],
|
|
943
647
|
}));
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
hostname,
|
|
947
|
-
port,
|
|
948
|
-
method: "POST",
|
|
949
|
-
headers,
|
|
950
|
-
path: resolvedPath,
|
|
951
|
-
body,
|
|
952
|
-
});
|
|
648
|
+
b.m("POST").h(headers).b(body);
|
|
649
|
+
return b.build();
|
|
953
650
|
};
|
|
954
651
|
export const se_PauseReplicationCommand = async (input, context) => {
|
|
955
|
-
const
|
|
652
|
+
const b = rb(input, context);
|
|
956
653
|
const headers = {
|
|
957
654
|
"content-type": "application/json",
|
|
958
655
|
};
|
|
959
|
-
|
|
656
|
+
b.bp("/PauseReplication");
|
|
960
657
|
let body;
|
|
961
658
|
body = JSON.stringify(take(input, {
|
|
962
659
|
accountID: [],
|
|
963
660
|
sourceServerID: [],
|
|
964
661
|
}));
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
hostname,
|
|
968
|
-
port,
|
|
969
|
-
method: "POST",
|
|
970
|
-
headers,
|
|
971
|
-
path: resolvedPath,
|
|
972
|
-
body,
|
|
973
|
-
});
|
|
662
|
+
b.m("POST").h(headers).b(body);
|
|
663
|
+
return b.build();
|
|
974
664
|
};
|
|
975
665
|
export const se_PutSourceServerActionCommand = async (input, context) => {
|
|
976
|
-
const
|
|
666
|
+
const b = rb(input, context);
|
|
977
667
|
const headers = {
|
|
978
668
|
"content-type": "application/json",
|
|
979
669
|
};
|
|
980
|
-
|
|
670
|
+
b.bp("/PutSourceServerAction");
|
|
981
671
|
let body;
|
|
982
672
|
body = JSON.stringify(take(input, {
|
|
983
673
|
accountID: [],
|
|
@@ -995,22 +685,15 @@ export const se_PutSourceServerActionCommand = async (input, context) => {
|
|
|
995
685
|
sourceServerID: [],
|
|
996
686
|
timeoutSeconds: [],
|
|
997
687
|
}));
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
hostname,
|
|
1001
|
-
port,
|
|
1002
|
-
method: "POST",
|
|
1003
|
-
headers,
|
|
1004
|
-
path: resolvedPath,
|
|
1005
|
-
body,
|
|
1006
|
-
});
|
|
688
|
+
b.m("POST").h(headers).b(body);
|
|
689
|
+
return b.build();
|
|
1007
690
|
};
|
|
1008
691
|
export const se_PutTemplateActionCommand = async (input, context) => {
|
|
1009
|
-
const
|
|
692
|
+
const b = rb(input, context);
|
|
1010
693
|
const headers = {
|
|
1011
694
|
"content-type": "application/json",
|
|
1012
695
|
};
|
|
1013
|
-
|
|
696
|
+
b.bp("/PutTemplateAction");
|
|
1014
697
|
let body;
|
|
1015
698
|
body = JSON.stringify(take(input, {
|
|
1016
699
|
actionID: [],
|
|
@@ -1028,344 +711,231 @@ export const se_PutTemplateActionCommand = async (input, context) => {
|
|
|
1028
711
|
parameters: (_) => _json(_),
|
|
1029
712
|
timeoutSeconds: [],
|
|
1030
713
|
}));
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
hostname,
|
|
1034
|
-
port,
|
|
1035
|
-
method: "POST",
|
|
1036
|
-
headers,
|
|
1037
|
-
path: resolvedPath,
|
|
1038
|
-
body,
|
|
1039
|
-
});
|
|
714
|
+
b.m("POST").h(headers).b(body);
|
|
715
|
+
return b.build();
|
|
1040
716
|
};
|
|
1041
717
|
export const se_RemoveSourceServerActionCommand = async (input, context) => {
|
|
1042
|
-
const
|
|
718
|
+
const b = rb(input, context);
|
|
1043
719
|
const headers = {
|
|
1044
720
|
"content-type": "application/json",
|
|
1045
721
|
};
|
|
1046
|
-
|
|
722
|
+
b.bp("/RemoveSourceServerAction");
|
|
1047
723
|
let body;
|
|
1048
724
|
body = JSON.stringify(take(input, {
|
|
1049
725
|
accountID: [],
|
|
1050
726
|
actionID: [],
|
|
1051
727
|
sourceServerID: [],
|
|
1052
728
|
}));
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
hostname,
|
|
1056
|
-
port,
|
|
1057
|
-
method: "POST",
|
|
1058
|
-
headers,
|
|
1059
|
-
path: resolvedPath,
|
|
1060
|
-
body,
|
|
1061
|
-
});
|
|
729
|
+
b.m("POST").h(headers).b(body);
|
|
730
|
+
return b.build();
|
|
1062
731
|
};
|
|
1063
732
|
export const se_RemoveTemplateActionCommand = async (input, context) => {
|
|
1064
|
-
const
|
|
733
|
+
const b = rb(input, context);
|
|
1065
734
|
const headers = {
|
|
1066
735
|
"content-type": "application/json",
|
|
1067
736
|
};
|
|
1068
|
-
|
|
737
|
+
b.bp("/RemoveTemplateAction");
|
|
1069
738
|
let body;
|
|
1070
739
|
body = JSON.stringify(take(input, {
|
|
1071
740
|
actionID: [],
|
|
1072
741
|
launchConfigurationTemplateID: [],
|
|
1073
742
|
}));
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
hostname,
|
|
1077
|
-
port,
|
|
1078
|
-
method: "POST",
|
|
1079
|
-
headers,
|
|
1080
|
-
path: resolvedPath,
|
|
1081
|
-
body,
|
|
1082
|
-
});
|
|
743
|
+
b.m("POST").h(headers).b(body);
|
|
744
|
+
return b.build();
|
|
1083
745
|
};
|
|
1084
746
|
export const se_ResumeReplicationCommand = async (input, context) => {
|
|
1085
|
-
const
|
|
747
|
+
const b = rb(input, context);
|
|
1086
748
|
const headers = {
|
|
1087
749
|
"content-type": "application/json",
|
|
1088
750
|
};
|
|
1089
|
-
|
|
751
|
+
b.bp("/ResumeReplication");
|
|
1090
752
|
let body;
|
|
1091
753
|
body = JSON.stringify(take(input, {
|
|
1092
754
|
accountID: [],
|
|
1093
755
|
sourceServerID: [],
|
|
1094
756
|
}));
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
hostname,
|
|
1098
|
-
port,
|
|
1099
|
-
method: "POST",
|
|
1100
|
-
headers,
|
|
1101
|
-
path: resolvedPath,
|
|
1102
|
-
body,
|
|
1103
|
-
});
|
|
757
|
+
b.m("POST").h(headers).b(body);
|
|
758
|
+
return b.build();
|
|
1104
759
|
};
|
|
1105
760
|
export const se_RetryDataReplicationCommand = async (input, context) => {
|
|
1106
|
-
const
|
|
761
|
+
const b = rb(input, context);
|
|
1107
762
|
const headers = {
|
|
1108
763
|
"content-type": "application/json",
|
|
1109
764
|
};
|
|
1110
|
-
|
|
765
|
+
b.bp("/RetryDataReplication");
|
|
1111
766
|
let body;
|
|
1112
767
|
body = JSON.stringify(take(input, {
|
|
1113
768
|
accountID: [],
|
|
1114
769
|
sourceServerID: [],
|
|
1115
770
|
}));
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
hostname,
|
|
1119
|
-
port,
|
|
1120
|
-
method: "POST",
|
|
1121
|
-
headers,
|
|
1122
|
-
path: resolvedPath,
|
|
1123
|
-
body,
|
|
1124
|
-
});
|
|
771
|
+
b.m("POST").h(headers).b(body);
|
|
772
|
+
return b.build();
|
|
1125
773
|
};
|
|
1126
774
|
export const se_StartCutoverCommand = async (input, context) => {
|
|
1127
|
-
const
|
|
775
|
+
const b = rb(input, context);
|
|
1128
776
|
const headers = {
|
|
1129
777
|
"content-type": "application/json",
|
|
1130
778
|
};
|
|
1131
|
-
|
|
779
|
+
b.bp("/StartCutover");
|
|
1132
780
|
let body;
|
|
1133
781
|
body = JSON.stringify(take(input, {
|
|
1134
782
|
accountID: [],
|
|
1135
783
|
sourceServerIDs: (_) => _json(_),
|
|
1136
784
|
tags: (_) => _json(_),
|
|
1137
785
|
}));
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
hostname,
|
|
1141
|
-
port,
|
|
1142
|
-
method: "POST",
|
|
1143
|
-
headers,
|
|
1144
|
-
path: resolvedPath,
|
|
1145
|
-
body,
|
|
1146
|
-
});
|
|
786
|
+
b.m("POST").h(headers).b(body);
|
|
787
|
+
return b.build();
|
|
1147
788
|
};
|
|
1148
789
|
export const se_StartExportCommand = async (input, context) => {
|
|
1149
|
-
const
|
|
790
|
+
const b = rb(input, context);
|
|
1150
791
|
const headers = {
|
|
1151
792
|
"content-type": "application/json",
|
|
1152
793
|
};
|
|
1153
|
-
|
|
794
|
+
b.bp("/StartExport");
|
|
1154
795
|
let body;
|
|
1155
796
|
body = JSON.stringify(take(input, {
|
|
1156
797
|
s3Bucket: [],
|
|
1157
798
|
s3BucketOwner: [],
|
|
1158
799
|
s3Key: [],
|
|
1159
800
|
}));
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
hostname,
|
|
1163
|
-
port,
|
|
1164
|
-
method: "POST",
|
|
1165
|
-
headers,
|
|
1166
|
-
path: resolvedPath,
|
|
1167
|
-
body,
|
|
1168
|
-
});
|
|
801
|
+
b.m("POST").h(headers).b(body);
|
|
802
|
+
return b.build();
|
|
1169
803
|
};
|
|
1170
804
|
export const se_StartImportCommand = async (input, context) => {
|
|
1171
|
-
const
|
|
805
|
+
const b = rb(input, context);
|
|
1172
806
|
const headers = {
|
|
1173
807
|
"content-type": "application/json",
|
|
1174
808
|
};
|
|
1175
|
-
|
|
809
|
+
b.bp("/StartImport");
|
|
1176
810
|
let body;
|
|
1177
811
|
body = JSON.stringify(take(input, {
|
|
1178
812
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1179
813
|
s3BucketSource: (_) => _json(_),
|
|
1180
814
|
}));
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
hostname,
|
|
1184
|
-
port,
|
|
1185
|
-
method: "POST",
|
|
1186
|
-
headers,
|
|
1187
|
-
path: resolvedPath,
|
|
1188
|
-
body,
|
|
1189
|
-
});
|
|
815
|
+
b.m("POST").h(headers).b(body);
|
|
816
|
+
return b.build();
|
|
1190
817
|
};
|
|
1191
818
|
export const se_StartReplicationCommand = async (input, context) => {
|
|
1192
|
-
const
|
|
819
|
+
const b = rb(input, context);
|
|
1193
820
|
const headers = {
|
|
1194
821
|
"content-type": "application/json",
|
|
1195
822
|
};
|
|
1196
|
-
|
|
823
|
+
b.bp("/StartReplication");
|
|
1197
824
|
let body;
|
|
1198
825
|
body = JSON.stringify(take(input, {
|
|
1199
826
|
accountID: [],
|
|
1200
827
|
sourceServerID: [],
|
|
1201
828
|
}));
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
hostname,
|
|
1205
|
-
port,
|
|
1206
|
-
method: "POST",
|
|
1207
|
-
headers,
|
|
1208
|
-
path: resolvedPath,
|
|
1209
|
-
body,
|
|
1210
|
-
});
|
|
829
|
+
b.m("POST").h(headers).b(body);
|
|
830
|
+
return b.build();
|
|
1211
831
|
};
|
|
1212
832
|
export const se_StartTestCommand = async (input, context) => {
|
|
1213
|
-
const
|
|
833
|
+
const b = rb(input, context);
|
|
1214
834
|
const headers = {
|
|
1215
835
|
"content-type": "application/json",
|
|
1216
836
|
};
|
|
1217
|
-
|
|
837
|
+
b.bp("/StartTest");
|
|
1218
838
|
let body;
|
|
1219
839
|
body = JSON.stringify(take(input, {
|
|
1220
840
|
accountID: [],
|
|
1221
841
|
sourceServerIDs: (_) => _json(_),
|
|
1222
842
|
tags: (_) => _json(_),
|
|
1223
843
|
}));
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
hostname,
|
|
1227
|
-
port,
|
|
1228
|
-
method: "POST",
|
|
1229
|
-
headers,
|
|
1230
|
-
path: resolvedPath,
|
|
1231
|
-
body,
|
|
1232
|
-
});
|
|
844
|
+
b.m("POST").h(headers).b(body);
|
|
845
|
+
return b.build();
|
|
1233
846
|
};
|
|
1234
847
|
export const se_StopReplicationCommand = async (input, context) => {
|
|
1235
|
-
const
|
|
848
|
+
const b = rb(input, context);
|
|
1236
849
|
const headers = {
|
|
1237
850
|
"content-type": "application/json",
|
|
1238
851
|
};
|
|
1239
|
-
|
|
852
|
+
b.bp("/StopReplication");
|
|
1240
853
|
let body;
|
|
1241
854
|
body = JSON.stringify(take(input, {
|
|
1242
855
|
accountID: [],
|
|
1243
856
|
sourceServerID: [],
|
|
1244
857
|
}));
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
hostname,
|
|
1248
|
-
port,
|
|
1249
|
-
method: "POST",
|
|
1250
|
-
headers,
|
|
1251
|
-
path: resolvedPath,
|
|
1252
|
-
body,
|
|
1253
|
-
});
|
|
858
|
+
b.m("POST").h(headers).b(body);
|
|
859
|
+
return b.build();
|
|
1254
860
|
};
|
|
1255
861
|
export const se_TagResourceCommand = async (input, context) => {
|
|
1256
|
-
const
|
|
862
|
+
const b = rb(input, context);
|
|
1257
863
|
const headers = {
|
|
1258
864
|
"content-type": "application/json",
|
|
1259
865
|
};
|
|
1260
|
-
|
|
1261
|
-
|
|
866
|
+
b.bp("/tags/{resourceArn}");
|
|
867
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1262
868
|
let body;
|
|
1263
869
|
body = JSON.stringify(take(input, {
|
|
1264
870
|
tags: (_) => _json(_),
|
|
1265
871
|
}));
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
hostname,
|
|
1269
|
-
port,
|
|
1270
|
-
method: "POST",
|
|
1271
|
-
headers,
|
|
1272
|
-
path: resolvedPath,
|
|
1273
|
-
body,
|
|
1274
|
-
});
|
|
872
|
+
b.m("POST").h(headers).b(body);
|
|
873
|
+
return b.build();
|
|
1275
874
|
};
|
|
1276
875
|
export const se_TerminateTargetInstancesCommand = async (input, context) => {
|
|
1277
|
-
const
|
|
876
|
+
const b = rb(input, context);
|
|
1278
877
|
const headers = {
|
|
1279
878
|
"content-type": "application/json",
|
|
1280
879
|
};
|
|
1281
|
-
|
|
880
|
+
b.bp("/TerminateTargetInstances");
|
|
1282
881
|
let body;
|
|
1283
882
|
body = JSON.stringify(take(input, {
|
|
1284
883
|
accountID: [],
|
|
1285
884
|
sourceServerIDs: (_) => _json(_),
|
|
1286
885
|
tags: (_) => _json(_),
|
|
1287
886
|
}));
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
hostname,
|
|
1291
|
-
port,
|
|
1292
|
-
method: "POST",
|
|
1293
|
-
headers,
|
|
1294
|
-
path: resolvedPath,
|
|
1295
|
-
body,
|
|
1296
|
-
});
|
|
887
|
+
b.m("POST").h(headers).b(body);
|
|
888
|
+
return b.build();
|
|
1297
889
|
};
|
|
1298
890
|
export const se_UnarchiveApplicationCommand = async (input, context) => {
|
|
1299
|
-
const
|
|
891
|
+
const b = rb(input, context);
|
|
1300
892
|
const headers = {
|
|
1301
893
|
"content-type": "application/json",
|
|
1302
894
|
};
|
|
1303
|
-
|
|
895
|
+
b.bp("/UnarchiveApplication");
|
|
1304
896
|
let body;
|
|
1305
897
|
body = JSON.stringify(take(input, {
|
|
1306
898
|
accountID: [],
|
|
1307
899
|
applicationID: [],
|
|
1308
900
|
}));
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
hostname,
|
|
1312
|
-
port,
|
|
1313
|
-
method: "POST",
|
|
1314
|
-
headers,
|
|
1315
|
-
path: resolvedPath,
|
|
1316
|
-
body,
|
|
1317
|
-
});
|
|
901
|
+
b.m("POST").h(headers).b(body);
|
|
902
|
+
return b.build();
|
|
1318
903
|
};
|
|
1319
904
|
export const se_UnarchiveWaveCommand = async (input, context) => {
|
|
1320
|
-
const
|
|
905
|
+
const b = rb(input, context);
|
|
1321
906
|
const headers = {
|
|
1322
907
|
"content-type": "application/json",
|
|
1323
908
|
};
|
|
1324
|
-
|
|
909
|
+
b.bp("/UnarchiveWave");
|
|
1325
910
|
let body;
|
|
1326
911
|
body = JSON.stringify(take(input, {
|
|
1327
912
|
accountID: [],
|
|
1328
913
|
waveID: [],
|
|
1329
914
|
}));
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
hostname,
|
|
1333
|
-
port,
|
|
1334
|
-
method: "POST",
|
|
1335
|
-
headers,
|
|
1336
|
-
path: resolvedPath,
|
|
1337
|
-
body,
|
|
1338
|
-
});
|
|
915
|
+
b.m("POST").h(headers).b(body);
|
|
916
|
+
return b.build();
|
|
1339
917
|
};
|
|
1340
918
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
1341
|
-
const
|
|
919
|
+
const b = rb(input, context);
|
|
1342
920
|
const headers = {};
|
|
1343
|
-
|
|
1344
|
-
|
|
921
|
+
b.bp("/tags/{resourceArn}");
|
|
922
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1345
923
|
const query = map({
|
|
1346
|
-
|
|
924
|
+
[_tK]: [
|
|
1347
925
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
1348
|
-
() => (input
|
|
926
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1349
927
|
],
|
|
1350
928
|
});
|
|
1351
929
|
let body;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
hostname,
|
|
1355
|
-
port,
|
|
1356
|
-
method: "DELETE",
|
|
1357
|
-
headers,
|
|
1358
|
-
path: resolvedPath,
|
|
1359
|
-
query,
|
|
1360
|
-
body,
|
|
1361
|
-
});
|
|
930
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
931
|
+
return b.build();
|
|
1362
932
|
};
|
|
1363
933
|
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
1364
|
-
const
|
|
934
|
+
const b = rb(input, context);
|
|
1365
935
|
const headers = {
|
|
1366
936
|
"content-type": "application/json",
|
|
1367
937
|
};
|
|
1368
|
-
|
|
938
|
+
b.bp("/UpdateApplication");
|
|
1369
939
|
let body;
|
|
1370
940
|
body = JSON.stringify(take(input, {
|
|
1371
941
|
accountID: [],
|
|
@@ -1373,44 +943,30 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
1373
943
|
description: [],
|
|
1374
944
|
name: [],
|
|
1375
945
|
}));
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
hostname,
|
|
1379
|
-
port,
|
|
1380
|
-
method: "POST",
|
|
1381
|
-
headers,
|
|
1382
|
-
path: resolvedPath,
|
|
1383
|
-
body,
|
|
1384
|
-
});
|
|
946
|
+
b.m("POST").h(headers).b(body);
|
|
947
|
+
return b.build();
|
|
1385
948
|
};
|
|
1386
949
|
export const se_UpdateConnectorCommand = async (input, context) => {
|
|
1387
|
-
const
|
|
950
|
+
const b = rb(input, context);
|
|
1388
951
|
const headers = {
|
|
1389
952
|
"content-type": "application/json",
|
|
1390
953
|
};
|
|
1391
|
-
|
|
954
|
+
b.bp("/UpdateConnector");
|
|
1392
955
|
let body;
|
|
1393
956
|
body = JSON.stringify(take(input, {
|
|
1394
957
|
connectorID: [],
|
|
1395
958
|
name: [],
|
|
1396
959
|
ssmCommandConfig: (_) => _json(_),
|
|
1397
960
|
}));
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
hostname,
|
|
1401
|
-
port,
|
|
1402
|
-
method: "POST",
|
|
1403
|
-
headers,
|
|
1404
|
-
path: resolvedPath,
|
|
1405
|
-
body,
|
|
1406
|
-
});
|
|
961
|
+
b.m("POST").h(headers).b(body);
|
|
962
|
+
return b.build();
|
|
1407
963
|
};
|
|
1408
964
|
export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
|
|
1409
|
-
const
|
|
965
|
+
const b = rb(input, context);
|
|
1410
966
|
const headers = {
|
|
1411
967
|
"content-type": "application/json",
|
|
1412
968
|
};
|
|
1413
|
-
|
|
969
|
+
b.bp("/UpdateLaunchConfiguration");
|
|
1414
970
|
let body;
|
|
1415
971
|
body = JSON.stringify(take(input, {
|
|
1416
972
|
accountID: [],
|
|
@@ -1426,22 +982,15 @@ export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
|
|
|
1426
982
|
sourceServerID: [],
|
|
1427
983
|
targetInstanceTypeRightSizingMethod: [],
|
|
1428
984
|
}));
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
hostname,
|
|
1432
|
-
port,
|
|
1433
|
-
method: "POST",
|
|
1434
|
-
headers,
|
|
1435
|
-
path: resolvedPath,
|
|
1436
|
-
body,
|
|
1437
|
-
});
|
|
985
|
+
b.m("POST").h(headers).b(body);
|
|
986
|
+
return b.build();
|
|
1438
987
|
};
|
|
1439
988
|
export const se_UpdateLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
1440
|
-
const
|
|
989
|
+
const b = rb(input, context);
|
|
1441
990
|
const headers = {
|
|
1442
991
|
"content-type": "application/json",
|
|
1443
992
|
};
|
|
1444
|
-
|
|
993
|
+
b.bp("/UpdateLaunchConfigurationTemplate");
|
|
1445
994
|
let body;
|
|
1446
995
|
body = JSON.stringify(take(input, {
|
|
1447
996
|
associatePublicIpAddress: [],
|
|
@@ -1459,22 +1008,15 @@ export const se_UpdateLaunchConfigurationTemplateCommand = async (input, context
|
|
|
1459
1008
|
smallVolumeMaxSize: [],
|
|
1460
1009
|
targetInstanceTypeRightSizingMethod: [],
|
|
1461
1010
|
}));
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
hostname,
|
|
1465
|
-
port,
|
|
1466
|
-
method: "POST",
|
|
1467
|
-
headers,
|
|
1468
|
-
path: resolvedPath,
|
|
1469
|
-
body,
|
|
1470
|
-
});
|
|
1011
|
+
b.m("POST").h(headers).b(body);
|
|
1012
|
+
return b.build();
|
|
1471
1013
|
};
|
|
1472
1014
|
export const se_UpdateReplicationConfigurationCommand = async (input, context) => {
|
|
1473
|
-
const
|
|
1015
|
+
const b = rb(input, context);
|
|
1474
1016
|
const headers = {
|
|
1475
1017
|
"content-type": "application/json",
|
|
1476
1018
|
};
|
|
1477
|
-
|
|
1019
|
+
b.bp("/UpdateReplicationConfiguration");
|
|
1478
1020
|
let body;
|
|
1479
1021
|
body = JSON.stringify(take(input, {
|
|
1480
1022
|
accountID: [],
|
|
@@ -1495,22 +1037,15 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
|
|
|
1495
1037
|
useDedicatedReplicationServer: [],
|
|
1496
1038
|
useFipsEndpoint: [],
|
|
1497
1039
|
}));
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
hostname,
|
|
1501
|
-
port,
|
|
1502
|
-
method: "POST",
|
|
1503
|
-
headers,
|
|
1504
|
-
path: resolvedPath,
|
|
1505
|
-
body,
|
|
1506
|
-
});
|
|
1040
|
+
b.m("POST").h(headers).b(body);
|
|
1041
|
+
return b.build();
|
|
1507
1042
|
};
|
|
1508
1043
|
export const se_UpdateReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
1509
|
-
const
|
|
1044
|
+
const b = rb(input, context);
|
|
1510
1045
|
const headers = {
|
|
1511
1046
|
"content-type": "application/json",
|
|
1512
1047
|
};
|
|
1513
|
-
|
|
1048
|
+
b.bp("/UpdateReplicationConfigurationTemplate");
|
|
1514
1049
|
let body;
|
|
1515
1050
|
body = JSON.stringify(take(input, {
|
|
1516
1051
|
arn: [],
|
|
@@ -1529,66 +1064,45 @@ export const se_UpdateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
1529
1064
|
useDedicatedReplicationServer: [],
|
|
1530
1065
|
useFipsEndpoint: [],
|
|
1531
1066
|
}));
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
hostname,
|
|
1535
|
-
port,
|
|
1536
|
-
method: "POST",
|
|
1537
|
-
headers,
|
|
1538
|
-
path: resolvedPath,
|
|
1539
|
-
body,
|
|
1540
|
-
});
|
|
1067
|
+
b.m("POST").h(headers).b(body);
|
|
1068
|
+
return b.build();
|
|
1541
1069
|
};
|
|
1542
1070
|
export const se_UpdateSourceServerCommand = async (input, context) => {
|
|
1543
|
-
const
|
|
1071
|
+
const b = rb(input, context);
|
|
1544
1072
|
const headers = {
|
|
1545
1073
|
"content-type": "application/json",
|
|
1546
1074
|
};
|
|
1547
|
-
|
|
1075
|
+
b.bp("/UpdateSourceServer");
|
|
1548
1076
|
let body;
|
|
1549
1077
|
body = JSON.stringify(take(input, {
|
|
1550
1078
|
accountID: [],
|
|
1551
1079
|
connectorAction: (_) => _json(_),
|
|
1552
1080
|
sourceServerID: [],
|
|
1553
1081
|
}));
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
hostname,
|
|
1557
|
-
port,
|
|
1558
|
-
method: "POST",
|
|
1559
|
-
headers,
|
|
1560
|
-
path: resolvedPath,
|
|
1561
|
-
body,
|
|
1562
|
-
});
|
|
1082
|
+
b.m("POST").h(headers).b(body);
|
|
1083
|
+
return b.build();
|
|
1563
1084
|
};
|
|
1564
1085
|
export const se_UpdateSourceServerReplicationTypeCommand = async (input, context) => {
|
|
1565
|
-
const
|
|
1086
|
+
const b = rb(input, context);
|
|
1566
1087
|
const headers = {
|
|
1567
1088
|
"content-type": "application/json",
|
|
1568
1089
|
};
|
|
1569
|
-
|
|
1090
|
+
b.bp("/UpdateSourceServerReplicationType");
|
|
1570
1091
|
let body;
|
|
1571
1092
|
body = JSON.stringify(take(input, {
|
|
1572
1093
|
accountID: [],
|
|
1573
1094
|
replicationType: [],
|
|
1574
1095
|
sourceServerID: [],
|
|
1575
1096
|
}));
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
hostname,
|
|
1579
|
-
port,
|
|
1580
|
-
method: "POST",
|
|
1581
|
-
headers,
|
|
1582
|
-
path: resolvedPath,
|
|
1583
|
-
body,
|
|
1584
|
-
});
|
|
1097
|
+
b.m("POST").h(headers).b(body);
|
|
1098
|
+
return b.build();
|
|
1585
1099
|
};
|
|
1586
1100
|
export const se_UpdateWaveCommand = async (input, context) => {
|
|
1587
|
-
const
|
|
1101
|
+
const b = rb(input, context);
|
|
1588
1102
|
const headers = {
|
|
1589
1103
|
"content-type": "application/json",
|
|
1590
1104
|
};
|
|
1591
|
-
|
|
1105
|
+
b.bp("/UpdateWave");
|
|
1592
1106
|
let body;
|
|
1593
1107
|
body = JSON.stringify(take(input, {
|
|
1594
1108
|
accountID: [],
|
|
@@ -1596,15 +1110,8 @@ export const se_UpdateWaveCommand = async (input, context) => {
|
|
|
1596
1110
|
name: [],
|
|
1597
1111
|
waveID: [],
|
|
1598
1112
|
}));
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
hostname,
|
|
1602
|
-
port,
|
|
1603
|
-
method: "POST",
|
|
1604
|
-
headers,
|
|
1605
|
-
path: resolvedPath,
|
|
1606
|
-
body,
|
|
1607
|
-
});
|
|
1113
|
+
b.m("POST").h(headers).b(body);
|
|
1114
|
+
return b.build();
|
|
1608
1115
|
};
|
|
1609
1116
|
export const de_ArchiveApplicationCommand = async (output, context) => {
|
|
1610
1117
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -4706,10 +4213,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
4706
4213
|
};
|
|
4707
4214
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
4708
4215
|
const contents = map({
|
|
4709
|
-
|
|
4710
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
4711
|
-
() => __strictParseLong(parsedOutput.headers["retry-after"]),
|
|
4712
|
-
],
|
|
4216
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseLong(parsedOutput.headers[_ra])],
|
|
4713
4217
|
});
|
|
4714
4218
|
const data = parsedOutput.body;
|
|
4715
4219
|
const doc = take(data, {
|
|
@@ -4759,7 +4263,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4759
4263
|
};
|
|
4760
4264
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
4761
4265
|
const contents = map({
|
|
4762
|
-
|
|
4266
|
+
[_rAS]: [, parsedOutput.headers[_ra]],
|
|
4763
4267
|
});
|
|
4764
4268
|
const data = parsedOutput.body;
|
|
4765
4269
|
const doc = take(data, {
|
|
@@ -4864,6 +4368,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4864
4368
|
value !== "" &&
|
|
4865
4369
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4866
4370
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
4371
|
+
const _mR = "maxResults";
|
|
4372
|
+
const _nT = "nextToken";
|
|
4373
|
+
const _rAS = "retryAfterSeconds";
|
|
4374
|
+
const _ra = "retry-after";
|
|
4375
|
+
const _tK = "tagKeys";
|
|
4867
4376
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4868
4377
|
if (encoded.length) {
|
|
4869
4378
|
return JSON.parse(encoded);
|