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