@aws-sdk/client-drs 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/DescribeJobLogItemsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeJobsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRecoveryInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRecoverySnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSourceServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListExtensibleSourceServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListLaunchActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStagingAccountsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +215 -566
- package/dist-es/pagination/DescribeJobLogItemsPaginator.js +2 -23
- package/dist-es/pagination/DescribeJobsPaginator.js +2 -23
- package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSourceNetworksPaginator.js +2 -23
- package/dist-es/pagination/DescribeSourceServersPaginator.js +2 -23
- package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +2 -23
- package/dist-es/pagination/ListLaunchActionsPaginator.js +2 -23
- package/dist-es/pagination/ListStagingAccountsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +216 -567
- package/dist-types/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRecoveryInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRecoverySnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExtensibleSourceServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLaunchActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStagingAccountsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRecoveryInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRecoverySnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExtensibleSourceServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLaunchActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStagingAccountsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,55 +1,41 @@
|
|
|
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, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset,
|
|
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, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { DrsServiceException as __BaseException } from "../models/DrsServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateSourceNetworkStackCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
b.bp("/AssociateSourceNetworkStack");
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify(take(input, {
|
|
13
13
|
cfnStackName: [],
|
|
14
14
|
sourceNetworkID: [],
|
|
15
15
|
}));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
hostname,
|
|
19
|
-
port,
|
|
20
|
-
method: "POST",
|
|
21
|
-
headers,
|
|
22
|
-
path: resolvedPath,
|
|
23
|
-
body,
|
|
24
|
-
});
|
|
16
|
+
b.m("POST").h(headers).b(body);
|
|
17
|
+
return b.build();
|
|
25
18
|
};
|
|
26
19
|
export const se_CreateExtendedSourceServerCommand = async (input, context) => {
|
|
27
|
-
const
|
|
20
|
+
const b = rb(input, context);
|
|
28
21
|
const headers = {
|
|
29
22
|
"content-type": "application/json",
|
|
30
23
|
};
|
|
31
|
-
|
|
24
|
+
b.bp("/CreateExtendedSourceServer");
|
|
32
25
|
let body;
|
|
33
26
|
body = JSON.stringify(take(input, {
|
|
34
27
|
sourceServerArn: [],
|
|
35
28
|
tags: (_) => _json(_),
|
|
36
29
|
}));
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
hostname,
|
|
40
|
-
port,
|
|
41
|
-
method: "POST",
|
|
42
|
-
headers,
|
|
43
|
-
path: resolvedPath,
|
|
44
|
-
body,
|
|
45
|
-
});
|
|
30
|
+
b.m("POST").h(headers).b(body);
|
|
31
|
+
return b.build();
|
|
46
32
|
};
|
|
47
33
|
export const se_CreateLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
48
|
-
const
|
|
34
|
+
const b = rb(input, context);
|
|
49
35
|
const headers = {
|
|
50
36
|
"content-type": "application/json",
|
|
51
37
|
};
|
|
52
|
-
|
|
38
|
+
b.bp("/CreateLaunchConfigurationTemplate");
|
|
53
39
|
let body;
|
|
54
40
|
body = JSON.stringify(take(input, {
|
|
55
41
|
copyPrivateIp: [],
|
|
@@ -62,22 +48,15 @@ export const se_CreateLaunchConfigurationTemplateCommand = async (input, context
|
|
|
62
48
|
tags: (_) => _json(_),
|
|
63
49
|
targetInstanceTypeRightSizingMethod: [],
|
|
64
50
|
}));
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
hostname,
|
|
68
|
-
port,
|
|
69
|
-
method: "POST",
|
|
70
|
-
headers,
|
|
71
|
-
path: resolvedPath,
|
|
72
|
-
body,
|
|
73
|
-
});
|
|
51
|
+
b.m("POST").h(headers).b(body);
|
|
52
|
+
return b.build();
|
|
74
53
|
};
|
|
75
54
|
export const se_CreateReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
76
|
-
const
|
|
55
|
+
const b = rb(input, context);
|
|
77
56
|
const headers = {
|
|
78
57
|
"content-type": "application/json",
|
|
79
58
|
};
|
|
80
|
-
|
|
59
|
+
b.bp("/CreateReplicationConfigurationTemplate");
|
|
81
60
|
let body;
|
|
82
61
|
body = JSON.stringify(take(input, {
|
|
83
62
|
associateDefaultSecurityGroup: [],
|
|
@@ -96,22 +75,15 @@ export const se_CreateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
96
75
|
tags: (_) => _json(_),
|
|
97
76
|
useDedicatedReplicationServer: [],
|
|
98
77
|
}));
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
hostname,
|
|
102
|
-
port,
|
|
103
|
-
method: "POST",
|
|
104
|
-
headers,
|
|
105
|
-
path: resolvedPath,
|
|
106
|
-
body,
|
|
107
|
-
});
|
|
78
|
+
b.m("POST").h(headers).b(body);
|
|
79
|
+
return b.build();
|
|
108
80
|
};
|
|
109
81
|
export const se_CreateSourceNetworkCommand = async (input, context) => {
|
|
110
|
-
const
|
|
82
|
+
const b = rb(input, context);
|
|
111
83
|
const headers = {
|
|
112
84
|
"content-type": "application/json",
|
|
113
85
|
};
|
|
114
|
-
|
|
86
|
+
b.bp("/CreateSourceNetwork");
|
|
115
87
|
let body;
|
|
116
88
|
body = JSON.stringify(take(input, {
|
|
117
89
|
originAccountID: [],
|
|
@@ -119,251 +91,167 @@ export const se_CreateSourceNetworkCommand = async (input, context) => {
|
|
|
119
91
|
tags: (_) => _json(_),
|
|
120
92
|
vpcID: [],
|
|
121
93
|
}));
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
hostname,
|
|
125
|
-
port,
|
|
126
|
-
method: "POST",
|
|
127
|
-
headers,
|
|
128
|
-
path: resolvedPath,
|
|
129
|
-
body,
|
|
130
|
-
});
|
|
94
|
+
b.m("POST").h(headers).b(body);
|
|
95
|
+
return b.build();
|
|
131
96
|
};
|
|
132
97
|
export const se_DeleteJobCommand = async (input, context) => {
|
|
133
|
-
const
|
|
98
|
+
const b = rb(input, context);
|
|
134
99
|
const headers = {
|
|
135
100
|
"content-type": "application/json",
|
|
136
101
|
};
|
|
137
|
-
|
|
102
|
+
b.bp("/DeleteJob");
|
|
138
103
|
let body;
|
|
139
104
|
body = JSON.stringify(take(input, {
|
|
140
105
|
jobID: [],
|
|
141
106
|
}));
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
hostname,
|
|
145
|
-
port,
|
|
146
|
-
method: "POST",
|
|
147
|
-
headers,
|
|
148
|
-
path: resolvedPath,
|
|
149
|
-
body,
|
|
150
|
-
});
|
|
107
|
+
b.m("POST").h(headers).b(body);
|
|
108
|
+
return b.build();
|
|
151
109
|
};
|
|
152
110
|
export const se_DeleteLaunchActionCommand = async (input, context) => {
|
|
153
|
-
const
|
|
111
|
+
const b = rb(input, context);
|
|
154
112
|
const headers = {
|
|
155
113
|
"content-type": "application/json",
|
|
156
114
|
};
|
|
157
|
-
|
|
115
|
+
b.bp("/DeleteLaunchAction");
|
|
158
116
|
let body;
|
|
159
117
|
body = JSON.stringify(take(input, {
|
|
160
118
|
actionId: [],
|
|
161
119
|
resourceId: [],
|
|
162
120
|
}));
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
hostname,
|
|
166
|
-
port,
|
|
167
|
-
method: "POST",
|
|
168
|
-
headers,
|
|
169
|
-
path: resolvedPath,
|
|
170
|
-
body,
|
|
171
|
-
});
|
|
121
|
+
b.m("POST").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
172
123
|
};
|
|
173
124
|
export const se_DeleteLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
174
|
-
const
|
|
125
|
+
const b = rb(input, context);
|
|
175
126
|
const headers = {
|
|
176
127
|
"content-type": "application/json",
|
|
177
128
|
};
|
|
178
|
-
|
|
129
|
+
b.bp("/DeleteLaunchConfigurationTemplate");
|
|
179
130
|
let body;
|
|
180
131
|
body = JSON.stringify(take(input, {
|
|
181
132
|
launchConfigurationTemplateID: [],
|
|
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_DeleteRecoveryInstanceCommand = 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("/DeleteRecoveryInstance");
|
|
199
143
|
let body;
|
|
200
144
|
body = JSON.stringify(take(input, {
|
|
201
145
|
recoveryInstanceID: [],
|
|
202
146
|
}));
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
hostname,
|
|
206
|
-
port,
|
|
207
|
-
method: "POST",
|
|
208
|
-
headers,
|
|
209
|
-
path: resolvedPath,
|
|
210
|
-
body,
|
|
211
|
-
});
|
|
147
|
+
b.m("POST").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
212
149
|
};
|
|
213
150
|
export const se_DeleteReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
214
|
-
const
|
|
151
|
+
const b = rb(input, context);
|
|
215
152
|
const headers = {
|
|
216
153
|
"content-type": "application/json",
|
|
217
154
|
};
|
|
218
|
-
|
|
155
|
+
b.bp("/DeleteReplicationConfigurationTemplate");
|
|
219
156
|
let body;
|
|
220
157
|
body = JSON.stringify(take(input, {
|
|
221
158
|
replicationConfigurationTemplateID: [],
|
|
222
159
|
}));
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
hostname,
|
|
226
|
-
port,
|
|
227
|
-
method: "POST",
|
|
228
|
-
headers,
|
|
229
|
-
path: resolvedPath,
|
|
230
|
-
body,
|
|
231
|
-
});
|
|
160
|
+
b.m("POST").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
232
162
|
};
|
|
233
163
|
export const se_DeleteSourceNetworkCommand = async (input, context) => {
|
|
234
|
-
const
|
|
164
|
+
const b = rb(input, context);
|
|
235
165
|
const headers = {
|
|
236
166
|
"content-type": "application/json",
|
|
237
167
|
};
|
|
238
|
-
|
|
168
|
+
b.bp("/DeleteSourceNetwork");
|
|
239
169
|
let body;
|
|
240
170
|
body = JSON.stringify(take(input, {
|
|
241
171
|
sourceNetworkID: [],
|
|
242
172
|
}));
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
hostname,
|
|
246
|
-
port,
|
|
247
|
-
method: "POST",
|
|
248
|
-
headers,
|
|
249
|
-
path: resolvedPath,
|
|
250
|
-
body,
|
|
251
|
-
});
|
|
173
|
+
b.m("POST").h(headers).b(body);
|
|
174
|
+
return b.build();
|
|
252
175
|
};
|
|
253
176
|
export const se_DeleteSourceServerCommand = async (input, context) => {
|
|
254
|
-
const
|
|
177
|
+
const b = rb(input, context);
|
|
255
178
|
const headers = {
|
|
256
179
|
"content-type": "application/json",
|
|
257
180
|
};
|
|
258
|
-
|
|
181
|
+
b.bp("/DeleteSourceServer");
|
|
259
182
|
let body;
|
|
260
183
|
body = JSON.stringify(take(input, {
|
|
261
184
|
sourceServerID: [],
|
|
262
185
|
}));
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
hostname,
|
|
266
|
-
port,
|
|
267
|
-
method: "POST",
|
|
268
|
-
headers,
|
|
269
|
-
path: resolvedPath,
|
|
270
|
-
body,
|
|
271
|
-
});
|
|
186
|
+
b.m("POST").h(headers).b(body);
|
|
187
|
+
return b.build();
|
|
272
188
|
};
|
|
273
189
|
export const se_DescribeJobLogItemsCommand = async (input, context) => {
|
|
274
|
-
const
|
|
190
|
+
const b = rb(input, context);
|
|
275
191
|
const headers = {
|
|
276
192
|
"content-type": "application/json",
|
|
277
193
|
};
|
|
278
|
-
|
|
194
|
+
b.bp("/DescribeJobLogItems");
|
|
279
195
|
let body;
|
|
280
196
|
body = JSON.stringify(take(input, {
|
|
281
197
|
jobID: [],
|
|
282
198
|
maxResults: [],
|
|
283
199
|
nextToken: [],
|
|
284
200
|
}));
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
hostname,
|
|
288
|
-
port,
|
|
289
|
-
method: "POST",
|
|
290
|
-
headers,
|
|
291
|
-
path: resolvedPath,
|
|
292
|
-
body,
|
|
293
|
-
});
|
|
201
|
+
b.m("POST").h(headers).b(body);
|
|
202
|
+
return b.build();
|
|
294
203
|
};
|
|
295
204
|
export const se_DescribeJobsCommand = async (input, context) => {
|
|
296
|
-
const
|
|
205
|
+
const b = rb(input, context);
|
|
297
206
|
const headers = {
|
|
298
207
|
"content-type": "application/json",
|
|
299
208
|
};
|
|
300
|
-
|
|
209
|
+
b.bp("/DescribeJobs");
|
|
301
210
|
let body;
|
|
302
211
|
body = JSON.stringify(take(input, {
|
|
303
212
|
filters: (_) => _json(_),
|
|
304
213
|
maxResults: [],
|
|
305
214
|
nextToken: [],
|
|
306
215
|
}));
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
hostname,
|
|
310
|
-
port,
|
|
311
|
-
method: "POST",
|
|
312
|
-
headers,
|
|
313
|
-
path: resolvedPath,
|
|
314
|
-
body,
|
|
315
|
-
});
|
|
216
|
+
b.m("POST").h(headers).b(body);
|
|
217
|
+
return b.build();
|
|
316
218
|
};
|
|
317
219
|
export const se_DescribeLaunchConfigurationTemplatesCommand = async (input, context) => {
|
|
318
|
-
const
|
|
220
|
+
const b = rb(input, context);
|
|
319
221
|
const headers = {
|
|
320
222
|
"content-type": "application/json",
|
|
321
223
|
};
|
|
322
|
-
|
|
224
|
+
b.bp("/DescribeLaunchConfigurationTemplates");
|
|
323
225
|
let body;
|
|
324
226
|
body = JSON.stringify(take(input, {
|
|
325
227
|
launchConfigurationTemplateIDs: (_) => _json(_),
|
|
326
228
|
maxResults: [],
|
|
327
229
|
nextToken: [],
|
|
328
230
|
}));
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
hostname,
|
|
332
|
-
port,
|
|
333
|
-
method: "POST",
|
|
334
|
-
headers,
|
|
335
|
-
path: resolvedPath,
|
|
336
|
-
body,
|
|
337
|
-
});
|
|
231
|
+
b.m("POST").h(headers).b(body);
|
|
232
|
+
return b.build();
|
|
338
233
|
};
|
|
339
234
|
export const se_DescribeRecoveryInstancesCommand = async (input, context) => {
|
|
340
|
-
const
|
|
235
|
+
const b = rb(input, context);
|
|
341
236
|
const headers = {
|
|
342
237
|
"content-type": "application/json",
|
|
343
238
|
};
|
|
344
|
-
|
|
239
|
+
b.bp("/DescribeRecoveryInstances");
|
|
345
240
|
let body;
|
|
346
241
|
body = JSON.stringify(take(input, {
|
|
347
242
|
filters: (_) => _json(_),
|
|
348
243
|
maxResults: [],
|
|
349
244
|
nextToken: [],
|
|
350
245
|
}));
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
hostname,
|
|
354
|
-
port,
|
|
355
|
-
method: "POST",
|
|
356
|
-
headers,
|
|
357
|
-
path: resolvedPath,
|
|
358
|
-
body,
|
|
359
|
-
});
|
|
246
|
+
b.m("POST").h(headers).b(body);
|
|
247
|
+
return b.build();
|
|
360
248
|
};
|
|
361
249
|
export const se_DescribeRecoverySnapshotsCommand = async (input, context) => {
|
|
362
|
-
const
|
|
250
|
+
const b = rb(input, context);
|
|
363
251
|
const headers = {
|
|
364
252
|
"content-type": "application/json",
|
|
365
253
|
};
|
|
366
|
-
|
|
254
|
+
b.bp("/DescribeRecoverySnapshots");
|
|
367
255
|
let body;
|
|
368
256
|
body = JSON.stringify(take(input, {
|
|
369
257
|
filters: (_) => _json(_),
|
|
@@ -372,249 +260,164 @@ export const se_DescribeRecoverySnapshotsCommand = async (input, context) => {
|
|
|
372
260
|
order: [],
|
|
373
261
|
sourceServerID: [],
|
|
374
262
|
}));
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
hostname,
|
|
378
|
-
port,
|
|
379
|
-
method: "POST",
|
|
380
|
-
headers,
|
|
381
|
-
path: resolvedPath,
|
|
382
|
-
body,
|
|
383
|
-
});
|
|
263
|
+
b.m("POST").h(headers).b(body);
|
|
264
|
+
return b.build();
|
|
384
265
|
};
|
|
385
266
|
export const se_DescribeReplicationConfigurationTemplatesCommand = async (input, context) => {
|
|
386
|
-
const
|
|
267
|
+
const b = rb(input, context);
|
|
387
268
|
const headers = {
|
|
388
269
|
"content-type": "application/json",
|
|
389
270
|
};
|
|
390
|
-
|
|
391
|
-
"/DescribeReplicationConfigurationTemplates";
|
|
271
|
+
b.bp("/DescribeReplicationConfigurationTemplates");
|
|
392
272
|
let body;
|
|
393
273
|
body = JSON.stringify(take(input, {
|
|
394
274
|
maxResults: [],
|
|
395
275
|
nextToken: [],
|
|
396
276
|
replicationConfigurationTemplateIDs: (_) => _json(_),
|
|
397
277
|
}));
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
hostname,
|
|
401
|
-
port,
|
|
402
|
-
method: "POST",
|
|
403
|
-
headers,
|
|
404
|
-
path: resolvedPath,
|
|
405
|
-
body,
|
|
406
|
-
});
|
|
278
|
+
b.m("POST").h(headers).b(body);
|
|
279
|
+
return b.build();
|
|
407
280
|
};
|
|
408
281
|
export const se_DescribeSourceNetworksCommand = async (input, context) => {
|
|
409
|
-
const
|
|
282
|
+
const b = rb(input, context);
|
|
410
283
|
const headers = {
|
|
411
284
|
"content-type": "application/json",
|
|
412
285
|
};
|
|
413
|
-
|
|
286
|
+
b.bp("/DescribeSourceNetworks");
|
|
414
287
|
let body;
|
|
415
288
|
body = JSON.stringify(take(input, {
|
|
416
289
|
filters: (_) => _json(_),
|
|
417
290
|
maxResults: [],
|
|
418
291
|
nextToken: [],
|
|
419
292
|
}));
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
hostname,
|
|
423
|
-
port,
|
|
424
|
-
method: "POST",
|
|
425
|
-
headers,
|
|
426
|
-
path: resolvedPath,
|
|
427
|
-
body,
|
|
428
|
-
});
|
|
293
|
+
b.m("POST").h(headers).b(body);
|
|
294
|
+
return b.build();
|
|
429
295
|
};
|
|
430
296
|
export const se_DescribeSourceServersCommand = async (input, context) => {
|
|
431
|
-
const
|
|
297
|
+
const b = rb(input, context);
|
|
432
298
|
const headers = {
|
|
433
299
|
"content-type": "application/json",
|
|
434
300
|
};
|
|
435
|
-
|
|
301
|
+
b.bp("/DescribeSourceServers");
|
|
436
302
|
let body;
|
|
437
303
|
body = JSON.stringify(take(input, {
|
|
438
304
|
filters: (_) => _json(_),
|
|
439
305
|
maxResults: [],
|
|
440
306
|
nextToken: [],
|
|
441
307
|
}));
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
hostname,
|
|
445
|
-
port,
|
|
446
|
-
method: "POST",
|
|
447
|
-
headers,
|
|
448
|
-
path: resolvedPath,
|
|
449
|
-
body,
|
|
450
|
-
});
|
|
308
|
+
b.m("POST").h(headers).b(body);
|
|
309
|
+
return b.build();
|
|
451
310
|
};
|
|
452
311
|
export const se_DisconnectRecoveryInstanceCommand = async (input, context) => {
|
|
453
|
-
const
|
|
312
|
+
const b = rb(input, context);
|
|
454
313
|
const headers = {
|
|
455
314
|
"content-type": "application/json",
|
|
456
315
|
};
|
|
457
|
-
|
|
316
|
+
b.bp("/DisconnectRecoveryInstance");
|
|
458
317
|
let body;
|
|
459
318
|
body = JSON.stringify(take(input, {
|
|
460
319
|
recoveryInstanceID: [],
|
|
461
320
|
}));
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
hostname,
|
|
465
|
-
port,
|
|
466
|
-
method: "POST",
|
|
467
|
-
headers,
|
|
468
|
-
path: resolvedPath,
|
|
469
|
-
body,
|
|
470
|
-
});
|
|
321
|
+
b.m("POST").h(headers).b(body);
|
|
322
|
+
return b.build();
|
|
471
323
|
};
|
|
472
324
|
export const se_DisconnectSourceServerCommand = async (input, context) => {
|
|
473
|
-
const
|
|
325
|
+
const b = rb(input, context);
|
|
474
326
|
const headers = {
|
|
475
327
|
"content-type": "application/json",
|
|
476
328
|
};
|
|
477
|
-
|
|
329
|
+
b.bp("/DisconnectSourceServer");
|
|
478
330
|
let body;
|
|
479
331
|
body = JSON.stringify(take(input, {
|
|
480
332
|
sourceServerID: [],
|
|
481
333
|
}));
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
hostname,
|
|
485
|
-
port,
|
|
486
|
-
method: "POST",
|
|
487
|
-
headers,
|
|
488
|
-
path: resolvedPath,
|
|
489
|
-
body,
|
|
490
|
-
});
|
|
334
|
+
b.m("POST").h(headers).b(body);
|
|
335
|
+
return b.build();
|
|
491
336
|
};
|
|
492
337
|
export const se_ExportSourceNetworkCfnTemplateCommand = async (input, context) => {
|
|
493
|
-
const
|
|
338
|
+
const b = rb(input, context);
|
|
494
339
|
const headers = {
|
|
495
340
|
"content-type": "application/json",
|
|
496
341
|
};
|
|
497
|
-
|
|
342
|
+
b.bp("/ExportSourceNetworkCfnTemplate");
|
|
498
343
|
let body;
|
|
499
344
|
body = JSON.stringify(take(input, {
|
|
500
345
|
sourceNetworkID: [],
|
|
501
346
|
}));
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
hostname,
|
|
505
|
-
port,
|
|
506
|
-
method: "POST",
|
|
507
|
-
headers,
|
|
508
|
-
path: resolvedPath,
|
|
509
|
-
body,
|
|
510
|
-
});
|
|
347
|
+
b.m("POST").h(headers).b(body);
|
|
348
|
+
return b.build();
|
|
511
349
|
};
|
|
512
350
|
export const se_GetFailbackReplicationConfigurationCommand = async (input, context) => {
|
|
513
|
-
const
|
|
351
|
+
const b = rb(input, context);
|
|
514
352
|
const headers = {
|
|
515
353
|
"content-type": "application/json",
|
|
516
354
|
};
|
|
517
|
-
|
|
355
|
+
b.bp("/GetFailbackReplicationConfiguration");
|
|
518
356
|
let body;
|
|
519
357
|
body = JSON.stringify(take(input, {
|
|
520
358
|
recoveryInstanceID: [],
|
|
521
359
|
}));
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
hostname,
|
|
525
|
-
port,
|
|
526
|
-
method: "POST",
|
|
527
|
-
headers,
|
|
528
|
-
path: resolvedPath,
|
|
529
|
-
body,
|
|
530
|
-
});
|
|
360
|
+
b.m("POST").h(headers).b(body);
|
|
361
|
+
return b.build();
|
|
531
362
|
};
|
|
532
363
|
export const se_GetLaunchConfigurationCommand = async (input, context) => {
|
|
533
|
-
const
|
|
364
|
+
const b = rb(input, context);
|
|
534
365
|
const headers = {
|
|
535
366
|
"content-type": "application/json",
|
|
536
367
|
};
|
|
537
|
-
|
|
368
|
+
b.bp("/GetLaunchConfiguration");
|
|
538
369
|
let body;
|
|
539
370
|
body = JSON.stringify(take(input, {
|
|
540
371
|
sourceServerID: [],
|
|
541
372
|
}));
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
hostname,
|
|
545
|
-
port,
|
|
546
|
-
method: "POST",
|
|
547
|
-
headers,
|
|
548
|
-
path: resolvedPath,
|
|
549
|
-
body,
|
|
550
|
-
});
|
|
373
|
+
b.m("POST").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
551
375
|
};
|
|
552
376
|
export const se_GetReplicationConfigurationCommand = async (input, context) => {
|
|
553
|
-
const
|
|
377
|
+
const b = rb(input, context);
|
|
554
378
|
const headers = {
|
|
555
379
|
"content-type": "application/json",
|
|
556
380
|
};
|
|
557
|
-
|
|
381
|
+
b.bp("/GetReplicationConfiguration");
|
|
558
382
|
let body;
|
|
559
383
|
body = JSON.stringify(take(input, {
|
|
560
384
|
sourceServerID: [],
|
|
561
385
|
}));
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
hostname,
|
|
565
|
-
port,
|
|
566
|
-
method: "POST",
|
|
567
|
-
headers,
|
|
568
|
-
path: resolvedPath,
|
|
569
|
-
body,
|
|
570
|
-
});
|
|
386
|
+
b.m("POST").h(headers).b(body);
|
|
387
|
+
return b.build();
|
|
571
388
|
};
|
|
572
389
|
export const se_InitializeServiceCommand = async (input, context) => {
|
|
573
|
-
const
|
|
390
|
+
const b = rb(input, context);
|
|
574
391
|
const headers = {
|
|
575
392
|
"content-type": "application/json",
|
|
576
393
|
};
|
|
577
|
-
|
|
394
|
+
b.bp("/InitializeService");
|
|
578
395
|
let body;
|
|
579
396
|
body = "";
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
hostname,
|
|
583
|
-
port,
|
|
584
|
-
method: "POST",
|
|
585
|
-
headers,
|
|
586
|
-
path: resolvedPath,
|
|
587
|
-
body,
|
|
588
|
-
});
|
|
397
|
+
b.m("POST").h(headers).b(body);
|
|
398
|
+
return b.build();
|
|
589
399
|
};
|
|
590
400
|
export const se_ListExtensibleSourceServersCommand = async (input, context) => {
|
|
591
|
-
const
|
|
401
|
+
const b = rb(input, context);
|
|
592
402
|
const headers = {
|
|
593
403
|
"content-type": "application/json",
|
|
594
404
|
};
|
|
595
|
-
|
|
405
|
+
b.bp("/ListExtensibleSourceServers");
|
|
596
406
|
let body;
|
|
597
407
|
body = JSON.stringify(take(input, {
|
|
598
408
|
maxResults: [],
|
|
599
409
|
nextToken: [],
|
|
600
410
|
stagingAccountID: [],
|
|
601
411
|
}));
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
hostname,
|
|
605
|
-
port,
|
|
606
|
-
method: "POST",
|
|
607
|
-
headers,
|
|
608
|
-
path: resolvedPath,
|
|
609
|
-
body,
|
|
610
|
-
});
|
|
412
|
+
b.m("POST").h(headers).b(body);
|
|
413
|
+
return b.build();
|
|
611
414
|
};
|
|
612
415
|
export const se_ListLaunchActionsCommand = async (input, context) => {
|
|
613
|
-
const
|
|
416
|
+
const b = rb(input, context);
|
|
614
417
|
const headers = {
|
|
615
418
|
"content-type": "application/json",
|
|
616
419
|
};
|
|
617
|
-
|
|
420
|
+
b.bp("/ListLaunchActions");
|
|
618
421
|
let body;
|
|
619
422
|
body = JSON.stringify(take(input, {
|
|
620
423
|
filters: (_) => _json(_),
|
|
@@ -622,58 +425,36 @@ export const se_ListLaunchActionsCommand = async (input, context) => {
|
|
|
622
425
|
nextToken: [],
|
|
623
426
|
resourceId: [],
|
|
624
427
|
}));
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
hostname,
|
|
628
|
-
port,
|
|
629
|
-
method: "POST",
|
|
630
|
-
headers,
|
|
631
|
-
path: resolvedPath,
|
|
632
|
-
body,
|
|
633
|
-
});
|
|
428
|
+
b.m("POST").h(headers).b(body);
|
|
429
|
+
return b.build();
|
|
634
430
|
};
|
|
635
431
|
export const se_ListStagingAccountsCommand = async (input, context) => {
|
|
636
|
-
const
|
|
432
|
+
const b = rb(input, context);
|
|
637
433
|
const headers = {};
|
|
638
|
-
|
|
434
|
+
b.bp("/ListStagingAccounts");
|
|
639
435
|
const query = map({
|
|
640
|
-
|
|
641
|
-
|
|
436
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
437
|
+
[_nT]: [, input[_nT]],
|
|
642
438
|
});
|
|
643
439
|
let body;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
hostname,
|
|
647
|
-
port,
|
|
648
|
-
method: "GET",
|
|
649
|
-
headers,
|
|
650
|
-
path: resolvedPath,
|
|
651
|
-
query,
|
|
652
|
-
body,
|
|
653
|
-
});
|
|
440
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
441
|
+
return b.build();
|
|
654
442
|
};
|
|
655
443
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
656
|
-
const
|
|
444
|
+
const b = rb(input, context);
|
|
657
445
|
const headers = {};
|
|
658
|
-
|
|
659
|
-
|
|
446
|
+
b.bp("/tags/{resourceArn}");
|
|
447
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
660
448
|
let body;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
hostname,
|
|
664
|
-
port,
|
|
665
|
-
method: "GET",
|
|
666
|
-
headers,
|
|
667
|
-
path: resolvedPath,
|
|
668
|
-
body,
|
|
669
|
-
});
|
|
449
|
+
b.m("GET").h(headers).b(body);
|
|
450
|
+
return b.build();
|
|
670
451
|
};
|
|
671
452
|
export const se_PutLaunchActionCommand = async (input, context) => {
|
|
672
|
-
const
|
|
453
|
+
const b = rb(input, context);
|
|
673
454
|
const headers = {
|
|
674
455
|
"content-type": "application/json",
|
|
675
456
|
};
|
|
676
|
-
|
|
457
|
+
b.bp("/PutLaunchAction");
|
|
677
458
|
let body;
|
|
678
459
|
body = JSON.stringify(take(input, {
|
|
679
460
|
actionCode: [],
|
|
@@ -688,291 +469,192 @@ export const se_PutLaunchActionCommand = async (input, context) => {
|
|
|
688
469
|
parameters: (_) => _json(_),
|
|
689
470
|
resourceId: [],
|
|
690
471
|
}));
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
hostname,
|
|
694
|
-
port,
|
|
695
|
-
method: "POST",
|
|
696
|
-
headers,
|
|
697
|
-
path: resolvedPath,
|
|
698
|
-
body,
|
|
699
|
-
});
|
|
472
|
+
b.m("POST").h(headers).b(body);
|
|
473
|
+
return b.build();
|
|
700
474
|
};
|
|
701
475
|
export const se_RetryDataReplicationCommand = async (input, context) => {
|
|
702
|
-
const
|
|
476
|
+
const b = rb(input, context);
|
|
703
477
|
const headers = {
|
|
704
478
|
"content-type": "application/json",
|
|
705
479
|
};
|
|
706
|
-
|
|
480
|
+
b.bp("/RetryDataReplication");
|
|
707
481
|
let body;
|
|
708
482
|
body = JSON.stringify(take(input, {
|
|
709
483
|
sourceServerID: [],
|
|
710
484
|
}));
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
hostname,
|
|
714
|
-
port,
|
|
715
|
-
method: "POST",
|
|
716
|
-
headers,
|
|
717
|
-
path: resolvedPath,
|
|
718
|
-
body,
|
|
719
|
-
});
|
|
485
|
+
b.m("POST").h(headers).b(body);
|
|
486
|
+
return b.build();
|
|
720
487
|
};
|
|
721
488
|
export const se_ReverseReplicationCommand = async (input, context) => {
|
|
722
|
-
const
|
|
489
|
+
const b = rb(input, context);
|
|
723
490
|
const headers = {
|
|
724
491
|
"content-type": "application/json",
|
|
725
492
|
};
|
|
726
|
-
|
|
493
|
+
b.bp("/ReverseReplication");
|
|
727
494
|
let body;
|
|
728
495
|
body = JSON.stringify(take(input, {
|
|
729
496
|
recoveryInstanceID: [],
|
|
730
497
|
}));
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
hostname,
|
|
734
|
-
port,
|
|
735
|
-
method: "POST",
|
|
736
|
-
headers,
|
|
737
|
-
path: resolvedPath,
|
|
738
|
-
body,
|
|
739
|
-
});
|
|
498
|
+
b.m("POST").h(headers).b(body);
|
|
499
|
+
return b.build();
|
|
740
500
|
};
|
|
741
501
|
export const se_StartFailbackLaunchCommand = async (input, context) => {
|
|
742
|
-
const
|
|
502
|
+
const b = rb(input, context);
|
|
743
503
|
const headers = {
|
|
744
504
|
"content-type": "application/json",
|
|
745
505
|
};
|
|
746
|
-
|
|
506
|
+
b.bp("/StartFailbackLaunch");
|
|
747
507
|
let body;
|
|
748
508
|
body = JSON.stringify(take(input, {
|
|
749
509
|
recoveryInstanceIDs: (_) => _json(_),
|
|
750
510
|
tags: (_) => _json(_),
|
|
751
511
|
}));
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
hostname,
|
|
755
|
-
port,
|
|
756
|
-
method: "POST",
|
|
757
|
-
headers,
|
|
758
|
-
path: resolvedPath,
|
|
759
|
-
body,
|
|
760
|
-
});
|
|
512
|
+
b.m("POST").h(headers).b(body);
|
|
513
|
+
return b.build();
|
|
761
514
|
};
|
|
762
515
|
export const se_StartRecoveryCommand = async (input, context) => {
|
|
763
|
-
const
|
|
516
|
+
const b = rb(input, context);
|
|
764
517
|
const headers = {
|
|
765
518
|
"content-type": "application/json",
|
|
766
519
|
};
|
|
767
|
-
|
|
520
|
+
b.bp("/StartRecovery");
|
|
768
521
|
let body;
|
|
769
522
|
body = JSON.stringify(take(input, {
|
|
770
523
|
isDrill: [],
|
|
771
524
|
sourceServers: (_) => _json(_),
|
|
772
525
|
tags: (_) => _json(_),
|
|
773
526
|
}));
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
hostname,
|
|
777
|
-
port,
|
|
778
|
-
method: "POST",
|
|
779
|
-
headers,
|
|
780
|
-
path: resolvedPath,
|
|
781
|
-
body,
|
|
782
|
-
});
|
|
527
|
+
b.m("POST").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
783
529
|
};
|
|
784
530
|
export const se_StartReplicationCommand = async (input, context) => {
|
|
785
|
-
const
|
|
531
|
+
const b = rb(input, context);
|
|
786
532
|
const headers = {
|
|
787
533
|
"content-type": "application/json",
|
|
788
534
|
};
|
|
789
|
-
|
|
535
|
+
b.bp("/StartReplication");
|
|
790
536
|
let body;
|
|
791
537
|
body = JSON.stringify(take(input, {
|
|
792
538
|
sourceServerID: [],
|
|
793
539
|
}));
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
hostname,
|
|
797
|
-
port,
|
|
798
|
-
method: "POST",
|
|
799
|
-
headers,
|
|
800
|
-
path: resolvedPath,
|
|
801
|
-
body,
|
|
802
|
-
});
|
|
540
|
+
b.m("POST").h(headers).b(body);
|
|
541
|
+
return b.build();
|
|
803
542
|
};
|
|
804
543
|
export const se_StartSourceNetworkRecoveryCommand = async (input, context) => {
|
|
805
|
-
const
|
|
544
|
+
const b = rb(input, context);
|
|
806
545
|
const headers = {
|
|
807
546
|
"content-type": "application/json",
|
|
808
547
|
};
|
|
809
|
-
|
|
548
|
+
b.bp("/StartSourceNetworkRecovery");
|
|
810
549
|
let body;
|
|
811
550
|
body = JSON.stringify(take(input, {
|
|
812
551
|
deployAsNew: [],
|
|
813
552
|
sourceNetworks: (_) => _json(_),
|
|
814
553
|
tags: (_) => _json(_),
|
|
815
554
|
}));
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
hostname,
|
|
819
|
-
port,
|
|
820
|
-
method: "POST",
|
|
821
|
-
headers,
|
|
822
|
-
path: resolvedPath,
|
|
823
|
-
body,
|
|
824
|
-
});
|
|
555
|
+
b.m("POST").h(headers).b(body);
|
|
556
|
+
return b.build();
|
|
825
557
|
};
|
|
826
558
|
export const se_StartSourceNetworkReplicationCommand = async (input, context) => {
|
|
827
|
-
const
|
|
559
|
+
const b = rb(input, context);
|
|
828
560
|
const headers = {
|
|
829
561
|
"content-type": "application/json",
|
|
830
562
|
};
|
|
831
|
-
|
|
563
|
+
b.bp("/StartSourceNetworkReplication");
|
|
832
564
|
let body;
|
|
833
565
|
body = JSON.stringify(take(input, {
|
|
834
566
|
sourceNetworkID: [],
|
|
835
567
|
}));
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
hostname,
|
|
839
|
-
port,
|
|
840
|
-
method: "POST",
|
|
841
|
-
headers,
|
|
842
|
-
path: resolvedPath,
|
|
843
|
-
body,
|
|
844
|
-
});
|
|
568
|
+
b.m("POST").h(headers).b(body);
|
|
569
|
+
return b.build();
|
|
845
570
|
};
|
|
846
571
|
export const se_StopFailbackCommand = async (input, context) => {
|
|
847
|
-
const
|
|
572
|
+
const b = rb(input, context);
|
|
848
573
|
const headers = {
|
|
849
574
|
"content-type": "application/json",
|
|
850
575
|
};
|
|
851
|
-
|
|
576
|
+
b.bp("/StopFailback");
|
|
852
577
|
let body;
|
|
853
578
|
body = JSON.stringify(take(input, {
|
|
854
579
|
recoveryInstanceID: [],
|
|
855
580
|
}));
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
hostname,
|
|
859
|
-
port,
|
|
860
|
-
method: "POST",
|
|
861
|
-
headers,
|
|
862
|
-
path: resolvedPath,
|
|
863
|
-
body,
|
|
864
|
-
});
|
|
581
|
+
b.m("POST").h(headers).b(body);
|
|
582
|
+
return b.build();
|
|
865
583
|
};
|
|
866
584
|
export const se_StopReplicationCommand = async (input, context) => {
|
|
867
|
-
const
|
|
585
|
+
const b = rb(input, context);
|
|
868
586
|
const headers = {
|
|
869
587
|
"content-type": "application/json",
|
|
870
588
|
};
|
|
871
|
-
|
|
589
|
+
b.bp("/StopReplication");
|
|
872
590
|
let body;
|
|
873
591
|
body = JSON.stringify(take(input, {
|
|
874
592
|
sourceServerID: [],
|
|
875
593
|
}));
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
hostname,
|
|
879
|
-
port,
|
|
880
|
-
method: "POST",
|
|
881
|
-
headers,
|
|
882
|
-
path: resolvedPath,
|
|
883
|
-
body,
|
|
884
|
-
});
|
|
594
|
+
b.m("POST").h(headers).b(body);
|
|
595
|
+
return b.build();
|
|
885
596
|
};
|
|
886
597
|
export const se_StopSourceNetworkReplicationCommand = async (input, context) => {
|
|
887
|
-
const
|
|
598
|
+
const b = rb(input, context);
|
|
888
599
|
const headers = {
|
|
889
600
|
"content-type": "application/json",
|
|
890
601
|
};
|
|
891
|
-
|
|
602
|
+
b.bp("/StopSourceNetworkReplication");
|
|
892
603
|
let body;
|
|
893
604
|
body = JSON.stringify(take(input, {
|
|
894
605
|
sourceNetworkID: [],
|
|
895
606
|
}));
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
hostname,
|
|
899
|
-
port,
|
|
900
|
-
method: "POST",
|
|
901
|
-
headers,
|
|
902
|
-
path: resolvedPath,
|
|
903
|
-
body,
|
|
904
|
-
});
|
|
607
|
+
b.m("POST").h(headers).b(body);
|
|
608
|
+
return b.build();
|
|
905
609
|
};
|
|
906
610
|
export const se_TagResourceCommand = async (input, context) => {
|
|
907
|
-
const
|
|
611
|
+
const b = rb(input, context);
|
|
908
612
|
const headers = {
|
|
909
613
|
"content-type": "application/json",
|
|
910
614
|
};
|
|
911
|
-
|
|
912
|
-
|
|
615
|
+
b.bp("/tags/{resourceArn}");
|
|
616
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
913
617
|
let body;
|
|
914
618
|
body = JSON.stringify(take(input, {
|
|
915
619
|
tags: (_) => _json(_),
|
|
916
620
|
}));
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "POST",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
body,
|
|
925
|
-
});
|
|
621
|
+
b.m("POST").h(headers).b(body);
|
|
622
|
+
return b.build();
|
|
926
623
|
};
|
|
927
624
|
export const se_TerminateRecoveryInstancesCommand = async (input, context) => {
|
|
928
|
-
const
|
|
625
|
+
const b = rb(input, context);
|
|
929
626
|
const headers = {
|
|
930
627
|
"content-type": "application/json",
|
|
931
628
|
};
|
|
932
|
-
|
|
629
|
+
b.bp("/TerminateRecoveryInstances");
|
|
933
630
|
let body;
|
|
934
631
|
body = JSON.stringify(take(input, {
|
|
935
632
|
recoveryInstanceIDs: (_) => _json(_),
|
|
936
633
|
}));
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
hostname,
|
|
940
|
-
port,
|
|
941
|
-
method: "POST",
|
|
942
|
-
headers,
|
|
943
|
-
path: resolvedPath,
|
|
944
|
-
body,
|
|
945
|
-
});
|
|
634
|
+
b.m("POST").h(headers).b(body);
|
|
635
|
+
return b.build();
|
|
946
636
|
};
|
|
947
637
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
948
|
-
const
|
|
638
|
+
const b = rb(input, context);
|
|
949
639
|
const headers = {};
|
|
950
|
-
|
|
951
|
-
|
|
640
|
+
b.bp("/tags/{resourceArn}");
|
|
641
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
952
642
|
const query = map({
|
|
953
|
-
|
|
643
|
+
[_tK]: [
|
|
954
644
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
955
|
-
() => (input
|
|
645
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
956
646
|
],
|
|
957
647
|
});
|
|
958
648
|
let body;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
hostname,
|
|
962
|
-
port,
|
|
963
|
-
method: "DELETE",
|
|
964
|
-
headers,
|
|
965
|
-
path: resolvedPath,
|
|
966
|
-
query,
|
|
967
|
-
body,
|
|
968
|
-
});
|
|
649
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
650
|
+
return b.build();
|
|
969
651
|
};
|
|
970
652
|
export const se_UpdateFailbackReplicationConfigurationCommand = async (input, context) => {
|
|
971
|
-
const
|
|
653
|
+
const b = rb(input, context);
|
|
972
654
|
const headers = {
|
|
973
655
|
"content-type": "application/json",
|
|
974
656
|
};
|
|
975
|
-
|
|
657
|
+
b.bp("/UpdateFailbackReplicationConfiguration");
|
|
976
658
|
let body;
|
|
977
659
|
body = JSON.stringify(take(input, {
|
|
978
660
|
bandwidthThrottling: [],
|
|
@@ -980,22 +662,15 @@ export const se_UpdateFailbackReplicationConfigurationCommand = async (input, co
|
|
|
980
662
|
recoveryInstanceID: [],
|
|
981
663
|
usePrivateIP: [],
|
|
982
664
|
}));
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
hostname,
|
|
986
|
-
port,
|
|
987
|
-
method: "POST",
|
|
988
|
-
headers,
|
|
989
|
-
path: resolvedPath,
|
|
990
|
-
body,
|
|
991
|
-
});
|
|
665
|
+
b.m("POST").h(headers).b(body);
|
|
666
|
+
return b.build();
|
|
992
667
|
};
|
|
993
668
|
export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
|
|
994
|
-
const
|
|
669
|
+
const b = rb(input, context);
|
|
995
670
|
const headers = {
|
|
996
671
|
"content-type": "application/json",
|
|
997
672
|
};
|
|
998
|
-
|
|
673
|
+
b.bp("/UpdateLaunchConfiguration");
|
|
999
674
|
let body;
|
|
1000
675
|
body = JSON.stringify(take(input, {
|
|
1001
676
|
copyPrivateIp: [],
|
|
@@ -1008,22 +683,15 @@ export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
|
|
|
1008
683
|
sourceServerID: [],
|
|
1009
684
|
targetInstanceTypeRightSizingMethod: [],
|
|
1010
685
|
}));
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
hostname,
|
|
1014
|
-
port,
|
|
1015
|
-
method: "POST",
|
|
1016
|
-
headers,
|
|
1017
|
-
path: resolvedPath,
|
|
1018
|
-
body,
|
|
1019
|
-
});
|
|
686
|
+
b.m("POST").h(headers).b(body);
|
|
687
|
+
return b.build();
|
|
1020
688
|
};
|
|
1021
689
|
export const se_UpdateLaunchConfigurationTemplateCommand = async (input, context) => {
|
|
1022
|
-
const
|
|
690
|
+
const b = rb(input, context);
|
|
1023
691
|
const headers = {
|
|
1024
692
|
"content-type": "application/json",
|
|
1025
693
|
};
|
|
1026
|
-
|
|
694
|
+
b.bp("/UpdateLaunchConfigurationTemplate");
|
|
1027
695
|
let body;
|
|
1028
696
|
body = JSON.stringify(take(input, {
|
|
1029
697
|
copyPrivateIp: [],
|
|
@@ -1036,22 +704,15 @@ export const se_UpdateLaunchConfigurationTemplateCommand = async (input, context
|
|
|
1036
704
|
postLaunchEnabled: [],
|
|
1037
705
|
targetInstanceTypeRightSizingMethod: [],
|
|
1038
706
|
}));
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
hostname,
|
|
1042
|
-
port,
|
|
1043
|
-
method: "POST",
|
|
1044
|
-
headers,
|
|
1045
|
-
path: resolvedPath,
|
|
1046
|
-
body,
|
|
1047
|
-
});
|
|
707
|
+
b.m("POST").h(headers).b(body);
|
|
708
|
+
return b.build();
|
|
1048
709
|
};
|
|
1049
710
|
export const se_UpdateReplicationConfigurationCommand = async (input, context) => {
|
|
1050
|
-
const
|
|
711
|
+
const b = rb(input, context);
|
|
1051
712
|
const headers = {
|
|
1052
713
|
"content-type": "application/json",
|
|
1053
714
|
};
|
|
1054
|
-
|
|
715
|
+
b.bp("/UpdateReplicationConfiguration");
|
|
1055
716
|
let body;
|
|
1056
717
|
body = JSON.stringify(take(input, {
|
|
1057
718
|
associateDefaultSecurityGroup: [],
|
|
@@ -1072,22 +733,15 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
|
|
|
1072
733
|
stagingAreaTags: (_) => _json(_),
|
|
1073
734
|
useDedicatedReplicationServer: [],
|
|
1074
735
|
}));
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
hostname,
|
|
1078
|
-
port,
|
|
1079
|
-
method: "POST",
|
|
1080
|
-
headers,
|
|
1081
|
-
path: resolvedPath,
|
|
1082
|
-
body,
|
|
1083
|
-
});
|
|
736
|
+
b.m("POST").h(headers).b(body);
|
|
737
|
+
return b.build();
|
|
1084
738
|
};
|
|
1085
739
|
export const se_UpdateReplicationConfigurationTemplateCommand = async (input, context) => {
|
|
1086
|
-
const
|
|
740
|
+
const b = rb(input, context);
|
|
1087
741
|
const headers = {
|
|
1088
742
|
"content-type": "application/json",
|
|
1089
743
|
};
|
|
1090
|
-
|
|
744
|
+
b.bp("/UpdateReplicationConfigurationTemplate");
|
|
1091
745
|
let body;
|
|
1092
746
|
body = JSON.stringify(take(input, {
|
|
1093
747
|
arn: [],
|
|
@@ -1107,15 +761,8 @@ export const se_UpdateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
1107
761
|
stagingAreaTags: (_) => _json(_),
|
|
1108
762
|
useDedicatedReplicationServer: [],
|
|
1109
763
|
}));
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
hostname,
|
|
1113
|
-
port,
|
|
1114
|
-
method: "POST",
|
|
1115
|
-
headers,
|
|
1116
|
-
path: resolvedPath,
|
|
1117
|
-
body,
|
|
1118
|
-
});
|
|
764
|
+
b.m("POST").h(headers).b(body);
|
|
765
|
+
return b.build();
|
|
1119
766
|
};
|
|
1120
767
|
export const de_AssociateSourceNetworkStackCommand = async (output, context) => {
|
|
1121
768
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
@@ -3517,10 +3164,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3517
3164
|
};
|
|
3518
3165
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3519
3166
|
const contents = map({
|
|
3520
|
-
|
|
3521
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
3522
|
-
() => __strictParseLong(parsedOutput.headers["retry-after"]),
|
|
3523
|
-
],
|
|
3167
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseLong(parsedOutput.headers[_ra])],
|
|
3524
3168
|
});
|
|
3525
3169
|
const data = parsedOutput.body;
|
|
3526
3170
|
const doc = take(data, {
|
|
@@ -3569,7 +3213,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3569
3213
|
};
|
|
3570
3214
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3571
3215
|
const contents = map({
|
|
3572
|
-
|
|
3216
|
+
[_rAS]: [, parsedOutput.headers[_ra]],
|
|
3573
3217
|
});
|
|
3574
3218
|
const data = parsedOutput.body;
|
|
3575
3219
|
const doc = take(data, {
|
|
@@ -3656,6 +3300,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3656
3300
|
value !== "" &&
|
|
3657
3301
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3658
3302
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3303
|
+
const _mR = "maxResults";
|
|
3304
|
+
const _nT = "nextToken";
|
|
3305
|
+
const _rAS = "retryAfterSeconds";
|
|
3306
|
+
const _ra = "retry-after";
|
|
3307
|
+
const _tK = "tagKeys";
|
|
3659
3308
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3660
3309
|
if (encoded.length) {
|
|
3661
3310
|
return JSON.parse(encoded);
|