@aws-sdk/client-datasync 3.312.0 → 3.315.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_json1_1.js +340 -1325
- package/dist-es/protocols/Aws_json1_1.js +341 -1326
- package/package.json +6 -6
|
@@ -9,49 +9,49 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_CancelTaskExecutionCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("CancelTaskExecution");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_CancelTaskExecutionCommand = se_CancelTaskExecutionCommand;
|
|
16
16
|
const se_CreateAgentCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("CreateAgent");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_CreateAgentCommand = se_CreateAgentCommand;
|
|
23
23
|
const se_CreateLocationEfsCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateLocationEfs");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CreateLocationEfsCommand = se_CreateLocationEfsCommand;
|
|
30
30
|
const se_CreateLocationFsxLustreCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateLocationFsxLustre");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateLocationFsxLustreCommand = se_CreateLocationFsxLustreCommand;
|
|
37
37
|
const se_CreateLocationFsxOntapCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("CreateLocationFsxOntap");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_CreateLocationFsxOntapCommand = se_CreateLocationFsxOntapCommand;
|
|
44
44
|
const se_CreateLocationFsxOpenZfsCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("CreateLocationFsxOpenZfs");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_CreateLocationFsxOpenZfsCommand = se_CreateLocationFsxOpenZfsCommand;
|
|
51
51
|
const se_CreateLocationFsxWindowsCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("CreateLocationFsxWindows");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_CreateLocationFsxWindowsCommand = se_CreateLocationFsxWindowsCommand;
|
|
@@ -65,7 +65,7 @@ exports.se_CreateLocationHdfsCommand = se_CreateLocationHdfsCommand;
|
|
|
65
65
|
const se_CreateLocationNfsCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreateLocationNfs");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_CreateLocationNfsCommand = se_CreateLocationNfsCommand;
|
|
@@ -79,196 +79,196 @@ exports.se_CreateLocationObjectStorageCommand = se_CreateLocationObjectStorageCo
|
|
|
79
79
|
const se_CreateLocationS3Command = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("CreateLocationS3");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_CreateLocationS3Command = se_CreateLocationS3Command;
|
|
86
86
|
const se_CreateLocationSmbCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("CreateLocationSmb");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_CreateLocationSmbCommand = se_CreateLocationSmbCommand;
|
|
93
93
|
const se_CreateTaskCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("CreateTask");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_CreateTaskCommand = se_CreateTaskCommand;
|
|
100
100
|
const se_DeleteAgentCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("DeleteAgent");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_DeleteAgentCommand = se_DeleteAgentCommand;
|
|
107
107
|
const se_DeleteLocationCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DeleteLocation");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_DeleteLocationCommand = se_DeleteLocationCommand;
|
|
114
114
|
const se_DeleteTaskCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("DeleteTask");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_DeleteTaskCommand = se_DeleteTaskCommand;
|
|
121
121
|
const se_DescribeAgentCommand = async (input, context) => {
|
|
122
122
|
const headers = sharedHeaders("DescribeAgent");
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
127
|
exports.se_DescribeAgentCommand = se_DescribeAgentCommand;
|
|
128
128
|
const se_DescribeLocationEfsCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("DescribeLocationEfs");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_DescribeLocationEfsCommand = se_DescribeLocationEfsCommand;
|
|
135
135
|
const se_DescribeLocationFsxLustreCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("DescribeLocationFsxLustre");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_DescribeLocationFsxLustreCommand = se_DescribeLocationFsxLustreCommand;
|
|
142
142
|
const se_DescribeLocationFsxOntapCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("DescribeLocationFsxOntap");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_DescribeLocationFsxOntapCommand = se_DescribeLocationFsxOntapCommand;
|
|
149
149
|
const se_DescribeLocationFsxOpenZfsCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DescribeLocationFsxOpenZfs");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_DescribeLocationFsxOpenZfsCommand = se_DescribeLocationFsxOpenZfsCommand;
|
|
156
156
|
const se_DescribeLocationFsxWindowsCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("DescribeLocationFsxWindows");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_DescribeLocationFsxWindowsCommand = se_DescribeLocationFsxWindowsCommand;
|
|
163
163
|
const se_DescribeLocationHdfsCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("DescribeLocationHdfs");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_DescribeLocationHdfsCommand = se_DescribeLocationHdfsCommand;
|
|
170
170
|
const se_DescribeLocationNfsCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("DescribeLocationNfs");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_DescribeLocationNfsCommand = se_DescribeLocationNfsCommand;
|
|
177
177
|
const se_DescribeLocationObjectStorageCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("DescribeLocationObjectStorage");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_DescribeLocationObjectStorageCommand = se_DescribeLocationObjectStorageCommand;
|
|
184
184
|
const se_DescribeLocationS3Command = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("DescribeLocationS3");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_DescribeLocationS3Command = se_DescribeLocationS3Command;
|
|
191
191
|
const se_DescribeLocationSmbCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("DescribeLocationSmb");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_DescribeLocationSmbCommand = se_DescribeLocationSmbCommand;
|
|
198
198
|
const se_DescribeTaskCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("DescribeTask");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_DescribeTaskCommand = se_DescribeTaskCommand;
|
|
205
205
|
const se_DescribeTaskExecutionCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("DescribeTaskExecution");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_DescribeTaskExecutionCommand = se_DescribeTaskExecutionCommand;
|
|
212
212
|
const se_ListAgentsCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("ListAgents");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_ListAgentsCommand = se_ListAgentsCommand;
|
|
219
219
|
const se_ListLocationsCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("ListLocations");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_ListLocationsCommand = se_ListLocationsCommand;
|
|
226
226
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("ListTagsForResource");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
233
233
|
const se_ListTaskExecutionsCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("ListTaskExecutions");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_ListTaskExecutionsCommand = se_ListTaskExecutionsCommand;
|
|
240
240
|
const se_ListTasksCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("ListTasks");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_ListTasksCommand = se_ListTasksCommand;
|
|
247
247
|
const se_StartTaskExecutionCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("StartTaskExecution");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_StartTaskExecutionCommand = se_StartTaskExecutionCommand;
|
|
254
254
|
const se_TagResourceCommand = async (input, context) => {
|
|
255
255
|
const headers = sharedHeaders("TagResource");
|
|
256
256
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
259
|
};
|
|
260
260
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
261
261
|
const se_UntagResourceCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("UntagResource");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
268
268
|
const se_UpdateAgentCommand = async (input, context) => {
|
|
269
269
|
const headers = sharedHeaders("UpdateAgent");
|
|
270
270
|
let body;
|
|
271
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
272
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
273
|
};
|
|
274
274
|
exports.se_UpdateAgentCommand = se_UpdateAgentCommand;
|
|
@@ -282,7 +282,7 @@ exports.se_UpdateLocationHdfsCommand = se_UpdateLocationHdfsCommand;
|
|
|
282
282
|
const se_UpdateLocationNfsCommand = async (input, context) => {
|
|
283
283
|
const headers = sharedHeaders("UpdateLocationNfs");
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
288
|
exports.se_UpdateLocationNfsCommand = se_UpdateLocationNfsCommand;
|
|
@@ -296,21 +296,21 @@ exports.se_UpdateLocationObjectStorageCommand = se_UpdateLocationObjectStorageCo
|
|
|
296
296
|
const se_UpdateLocationSmbCommand = async (input, context) => {
|
|
297
297
|
const headers = sharedHeaders("UpdateLocationSmb");
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
302
|
exports.se_UpdateLocationSmbCommand = se_UpdateLocationSmbCommand;
|
|
303
303
|
const se_UpdateTaskCommand = async (input, context) => {
|
|
304
304
|
const headers = sharedHeaders("UpdateTask");
|
|
305
305
|
let body;
|
|
306
|
-
body = JSON.stringify(
|
|
306
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
307
307
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
308
|
};
|
|
309
309
|
exports.se_UpdateTaskCommand = se_UpdateTaskCommand;
|
|
310
310
|
const se_UpdateTaskExecutionCommand = async (input, context) => {
|
|
311
311
|
const headers = sharedHeaders("UpdateTaskExecution");
|
|
312
312
|
let body;
|
|
313
|
-
body = JSON.stringify(
|
|
313
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
314
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
315
|
};
|
|
316
316
|
exports.se_UpdateTaskExecutionCommand = se_UpdateTaskExecutionCommand;
|
|
@@ -320,12 +320,12 @@ const de_CancelTaskExecutionCommand = async (output, context) => {
|
|
|
320
320
|
}
|
|
321
321
|
const data = await parseBody(output.body, context);
|
|
322
322
|
let contents = {};
|
|
323
|
-
contents =
|
|
323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
324
324
|
const response = {
|
|
325
325
|
$metadata: deserializeMetadata(output),
|
|
326
326
|
...contents,
|
|
327
327
|
};
|
|
328
|
-
return
|
|
328
|
+
return response;
|
|
329
329
|
};
|
|
330
330
|
exports.de_CancelTaskExecutionCommand = de_CancelTaskExecutionCommand;
|
|
331
331
|
const de_CancelTaskExecutionCommandError = async (output, context) => {
|
|
@@ -343,10 +343,9 @@ const de_CancelTaskExecutionCommandError = async (output, context) => {
|
|
|
343
343
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
344
344
|
default:
|
|
345
345
|
const parsedBody = parsedOutput.body;
|
|
346
|
-
|
|
346
|
+
return throwDefaultError({
|
|
347
347
|
output,
|
|
348
348
|
parsedBody,
|
|
349
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
350
349
|
errorCode,
|
|
351
350
|
});
|
|
352
351
|
}
|
|
@@ -357,12 +356,12 @@ const de_CreateAgentCommand = async (output, context) => {
|
|
|
357
356
|
}
|
|
358
357
|
const data = await parseBody(output.body, context);
|
|
359
358
|
let contents = {};
|
|
360
|
-
contents =
|
|
359
|
+
contents = (0, smithy_client_1._json)(data);
|
|
361
360
|
const response = {
|
|
362
361
|
$metadata: deserializeMetadata(output),
|
|
363
362
|
...contents,
|
|
364
363
|
};
|
|
365
|
-
return
|
|
364
|
+
return response;
|
|
366
365
|
};
|
|
367
366
|
exports.de_CreateAgentCommand = de_CreateAgentCommand;
|
|
368
367
|
const de_CreateAgentCommandError = async (output, context) => {
|
|
@@ -380,10 +379,9 @@ const de_CreateAgentCommandError = async (output, context) => {
|
|
|
380
379
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
381
380
|
default:
|
|
382
381
|
const parsedBody = parsedOutput.body;
|
|
383
|
-
|
|
382
|
+
return throwDefaultError({
|
|
384
383
|
output,
|
|
385
384
|
parsedBody,
|
|
386
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
387
385
|
errorCode,
|
|
388
386
|
});
|
|
389
387
|
}
|
|
@@ -394,12 +392,12 @@ const de_CreateLocationEfsCommand = async (output, context) => {
|
|
|
394
392
|
}
|
|
395
393
|
const data = await parseBody(output.body, context);
|
|
396
394
|
let contents = {};
|
|
397
|
-
contents =
|
|
395
|
+
contents = (0, smithy_client_1._json)(data);
|
|
398
396
|
const response = {
|
|
399
397
|
$metadata: deserializeMetadata(output),
|
|
400
398
|
...contents,
|
|
401
399
|
};
|
|
402
|
-
return
|
|
400
|
+
return response;
|
|
403
401
|
};
|
|
404
402
|
exports.de_CreateLocationEfsCommand = de_CreateLocationEfsCommand;
|
|
405
403
|
const de_CreateLocationEfsCommandError = async (output, context) => {
|
|
@@ -417,10 +415,9 @@ const de_CreateLocationEfsCommandError = async (output, context) => {
|
|
|
417
415
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
418
416
|
default:
|
|
419
417
|
const parsedBody = parsedOutput.body;
|
|
420
|
-
|
|
418
|
+
return throwDefaultError({
|
|
421
419
|
output,
|
|
422
420
|
parsedBody,
|
|
423
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
424
421
|
errorCode,
|
|
425
422
|
});
|
|
426
423
|
}
|
|
@@ -431,12 +428,12 @@ const de_CreateLocationFsxLustreCommand = async (output, context) => {
|
|
|
431
428
|
}
|
|
432
429
|
const data = await parseBody(output.body, context);
|
|
433
430
|
let contents = {};
|
|
434
|
-
contents =
|
|
431
|
+
contents = (0, smithy_client_1._json)(data);
|
|
435
432
|
const response = {
|
|
436
433
|
$metadata: deserializeMetadata(output),
|
|
437
434
|
...contents,
|
|
438
435
|
};
|
|
439
|
-
return
|
|
436
|
+
return response;
|
|
440
437
|
};
|
|
441
438
|
exports.de_CreateLocationFsxLustreCommand = de_CreateLocationFsxLustreCommand;
|
|
442
439
|
const de_CreateLocationFsxLustreCommandError = async (output, context) => {
|
|
@@ -454,10 +451,9 @@ const de_CreateLocationFsxLustreCommandError = async (output, context) => {
|
|
|
454
451
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
455
452
|
default:
|
|
456
453
|
const parsedBody = parsedOutput.body;
|
|
457
|
-
|
|
454
|
+
return throwDefaultError({
|
|
458
455
|
output,
|
|
459
456
|
parsedBody,
|
|
460
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
461
457
|
errorCode,
|
|
462
458
|
});
|
|
463
459
|
}
|
|
@@ -468,12 +464,12 @@ const de_CreateLocationFsxOntapCommand = async (output, context) => {
|
|
|
468
464
|
}
|
|
469
465
|
const data = await parseBody(output.body, context);
|
|
470
466
|
let contents = {};
|
|
471
|
-
contents =
|
|
467
|
+
contents = (0, smithy_client_1._json)(data);
|
|
472
468
|
const response = {
|
|
473
469
|
$metadata: deserializeMetadata(output),
|
|
474
470
|
...contents,
|
|
475
471
|
};
|
|
476
|
-
return
|
|
472
|
+
return response;
|
|
477
473
|
};
|
|
478
474
|
exports.de_CreateLocationFsxOntapCommand = de_CreateLocationFsxOntapCommand;
|
|
479
475
|
const de_CreateLocationFsxOntapCommandError = async (output, context) => {
|
|
@@ -491,10 +487,9 @@ const de_CreateLocationFsxOntapCommandError = async (output, context) => {
|
|
|
491
487
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
492
488
|
default:
|
|
493
489
|
const parsedBody = parsedOutput.body;
|
|
494
|
-
|
|
490
|
+
return throwDefaultError({
|
|
495
491
|
output,
|
|
496
492
|
parsedBody,
|
|
497
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
498
493
|
errorCode,
|
|
499
494
|
});
|
|
500
495
|
}
|
|
@@ -505,12 +500,12 @@ const de_CreateLocationFsxOpenZfsCommand = async (output, context) => {
|
|
|
505
500
|
}
|
|
506
501
|
const data = await parseBody(output.body, context);
|
|
507
502
|
let contents = {};
|
|
508
|
-
contents =
|
|
503
|
+
contents = (0, smithy_client_1._json)(data);
|
|
509
504
|
const response = {
|
|
510
505
|
$metadata: deserializeMetadata(output),
|
|
511
506
|
...contents,
|
|
512
507
|
};
|
|
513
|
-
return
|
|
508
|
+
return response;
|
|
514
509
|
};
|
|
515
510
|
exports.de_CreateLocationFsxOpenZfsCommand = de_CreateLocationFsxOpenZfsCommand;
|
|
516
511
|
const de_CreateLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
@@ -528,10 +523,9 @@ const de_CreateLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
|
528
523
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
529
524
|
default:
|
|
530
525
|
const parsedBody = parsedOutput.body;
|
|
531
|
-
|
|
526
|
+
return throwDefaultError({
|
|
532
527
|
output,
|
|
533
528
|
parsedBody,
|
|
534
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
535
529
|
errorCode,
|
|
536
530
|
});
|
|
537
531
|
}
|
|
@@ -542,12 +536,12 @@ const de_CreateLocationFsxWindowsCommand = async (output, context) => {
|
|
|
542
536
|
}
|
|
543
537
|
const data = await parseBody(output.body, context);
|
|
544
538
|
let contents = {};
|
|
545
|
-
contents =
|
|
539
|
+
contents = (0, smithy_client_1._json)(data);
|
|
546
540
|
const response = {
|
|
547
541
|
$metadata: deserializeMetadata(output),
|
|
548
542
|
...contents,
|
|
549
543
|
};
|
|
550
|
-
return
|
|
544
|
+
return response;
|
|
551
545
|
};
|
|
552
546
|
exports.de_CreateLocationFsxWindowsCommand = de_CreateLocationFsxWindowsCommand;
|
|
553
547
|
const de_CreateLocationFsxWindowsCommandError = async (output, context) => {
|
|
@@ -565,10 +559,9 @@ const de_CreateLocationFsxWindowsCommandError = async (output, context) => {
|
|
|
565
559
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
566
560
|
default:
|
|
567
561
|
const parsedBody = parsedOutput.body;
|
|
568
|
-
|
|
562
|
+
return throwDefaultError({
|
|
569
563
|
output,
|
|
570
564
|
parsedBody,
|
|
571
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
572
565
|
errorCode,
|
|
573
566
|
});
|
|
574
567
|
}
|
|
@@ -579,12 +572,12 @@ const de_CreateLocationHdfsCommand = async (output, context) => {
|
|
|
579
572
|
}
|
|
580
573
|
const data = await parseBody(output.body, context);
|
|
581
574
|
let contents = {};
|
|
582
|
-
contents =
|
|
575
|
+
contents = (0, smithy_client_1._json)(data);
|
|
583
576
|
const response = {
|
|
584
577
|
$metadata: deserializeMetadata(output),
|
|
585
578
|
...contents,
|
|
586
579
|
};
|
|
587
|
-
return
|
|
580
|
+
return response;
|
|
588
581
|
};
|
|
589
582
|
exports.de_CreateLocationHdfsCommand = de_CreateLocationHdfsCommand;
|
|
590
583
|
const de_CreateLocationHdfsCommandError = async (output, context) => {
|
|
@@ -602,10 +595,9 @@ const de_CreateLocationHdfsCommandError = async (output, context) => {
|
|
|
602
595
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
603
596
|
default:
|
|
604
597
|
const parsedBody = parsedOutput.body;
|
|
605
|
-
|
|
598
|
+
return throwDefaultError({
|
|
606
599
|
output,
|
|
607
600
|
parsedBody,
|
|
608
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
609
601
|
errorCode,
|
|
610
602
|
});
|
|
611
603
|
}
|
|
@@ -616,12 +608,12 @@ const de_CreateLocationNfsCommand = async (output, context) => {
|
|
|
616
608
|
}
|
|
617
609
|
const data = await parseBody(output.body, context);
|
|
618
610
|
let contents = {};
|
|
619
|
-
contents =
|
|
611
|
+
contents = (0, smithy_client_1._json)(data);
|
|
620
612
|
const response = {
|
|
621
613
|
$metadata: deserializeMetadata(output),
|
|
622
614
|
...contents,
|
|
623
615
|
};
|
|
624
|
-
return
|
|
616
|
+
return response;
|
|
625
617
|
};
|
|
626
618
|
exports.de_CreateLocationNfsCommand = de_CreateLocationNfsCommand;
|
|
627
619
|
const de_CreateLocationNfsCommandError = async (output, context) => {
|
|
@@ -639,10 +631,9 @@ const de_CreateLocationNfsCommandError = async (output, context) => {
|
|
|
639
631
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
640
632
|
default:
|
|
641
633
|
const parsedBody = parsedOutput.body;
|
|
642
|
-
|
|
634
|
+
return throwDefaultError({
|
|
643
635
|
output,
|
|
644
636
|
parsedBody,
|
|
645
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
646
637
|
errorCode,
|
|
647
638
|
});
|
|
648
639
|
}
|
|
@@ -653,12 +644,12 @@ const de_CreateLocationObjectStorageCommand = async (output, context) => {
|
|
|
653
644
|
}
|
|
654
645
|
const data = await parseBody(output.body, context);
|
|
655
646
|
let contents = {};
|
|
656
|
-
contents =
|
|
647
|
+
contents = (0, smithy_client_1._json)(data);
|
|
657
648
|
const response = {
|
|
658
649
|
$metadata: deserializeMetadata(output),
|
|
659
650
|
...contents,
|
|
660
651
|
};
|
|
661
|
-
return
|
|
652
|
+
return response;
|
|
662
653
|
};
|
|
663
654
|
exports.de_CreateLocationObjectStorageCommand = de_CreateLocationObjectStorageCommand;
|
|
664
655
|
const de_CreateLocationObjectStorageCommandError = async (output, context) => {
|
|
@@ -676,10 +667,9 @@ const de_CreateLocationObjectStorageCommandError = async (output, context) => {
|
|
|
676
667
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
677
668
|
default:
|
|
678
669
|
const parsedBody = parsedOutput.body;
|
|
679
|
-
|
|
670
|
+
return throwDefaultError({
|
|
680
671
|
output,
|
|
681
672
|
parsedBody,
|
|
682
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
683
673
|
errorCode,
|
|
684
674
|
});
|
|
685
675
|
}
|
|
@@ -690,12 +680,12 @@ const de_CreateLocationS3Command = async (output, context) => {
|
|
|
690
680
|
}
|
|
691
681
|
const data = await parseBody(output.body, context);
|
|
692
682
|
let contents = {};
|
|
693
|
-
contents =
|
|
683
|
+
contents = (0, smithy_client_1._json)(data);
|
|
694
684
|
const response = {
|
|
695
685
|
$metadata: deserializeMetadata(output),
|
|
696
686
|
...contents,
|
|
697
687
|
};
|
|
698
|
-
return
|
|
688
|
+
return response;
|
|
699
689
|
};
|
|
700
690
|
exports.de_CreateLocationS3Command = de_CreateLocationS3Command;
|
|
701
691
|
const de_CreateLocationS3CommandError = async (output, context) => {
|
|
@@ -713,10 +703,9 @@ const de_CreateLocationS3CommandError = async (output, context) => {
|
|
|
713
703
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
714
704
|
default:
|
|
715
705
|
const parsedBody = parsedOutput.body;
|
|
716
|
-
|
|
706
|
+
return throwDefaultError({
|
|
717
707
|
output,
|
|
718
708
|
parsedBody,
|
|
719
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
720
709
|
errorCode,
|
|
721
710
|
});
|
|
722
711
|
}
|
|
@@ -727,12 +716,12 @@ const de_CreateLocationSmbCommand = async (output, context) => {
|
|
|
727
716
|
}
|
|
728
717
|
const data = await parseBody(output.body, context);
|
|
729
718
|
let contents = {};
|
|
730
|
-
contents =
|
|
719
|
+
contents = (0, smithy_client_1._json)(data);
|
|
731
720
|
const response = {
|
|
732
721
|
$metadata: deserializeMetadata(output),
|
|
733
722
|
...contents,
|
|
734
723
|
};
|
|
735
|
-
return
|
|
724
|
+
return response;
|
|
736
725
|
};
|
|
737
726
|
exports.de_CreateLocationSmbCommand = de_CreateLocationSmbCommand;
|
|
738
727
|
const de_CreateLocationSmbCommandError = async (output, context) => {
|
|
@@ -750,10 +739,9 @@ const de_CreateLocationSmbCommandError = async (output, context) => {
|
|
|
750
739
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
751
740
|
default:
|
|
752
741
|
const parsedBody = parsedOutput.body;
|
|
753
|
-
|
|
742
|
+
return throwDefaultError({
|
|
754
743
|
output,
|
|
755
744
|
parsedBody,
|
|
756
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
757
745
|
errorCode,
|
|
758
746
|
});
|
|
759
747
|
}
|
|
@@ -764,12 +752,12 @@ const de_CreateTaskCommand = async (output, context) => {
|
|
|
764
752
|
}
|
|
765
753
|
const data = await parseBody(output.body, context);
|
|
766
754
|
let contents = {};
|
|
767
|
-
contents =
|
|
755
|
+
contents = (0, smithy_client_1._json)(data);
|
|
768
756
|
const response = {
|
|
769
757
|
$metadata: deserializeMetadata(output),
|
|
770
758
|
...contents,
|
|
771
759
|
};
|
|
772
|
-
return
|
|
760
|
+
return response;
|
|
773
761
|
};
|
|
774
762
|
exports.de_CreateTaskCommand = de_CreateTaskCommand;
|
|
775
763
|
const de_CreateTaskCommandError = async (output, context) => {
|
|
@@ -787,10 +775,9 @@ const de_CreateTaskCommandError = async (output, context) => {
|
|
|
787
775
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
788
776
|
default:
|
|
789
777
|
const parsedBody = parsedOutput.body;
|
|
790
|
-
|
|
778
|
+
return throwDefaultError({
|
|
791
779
|
output,
|
|
792
780
|
parsedBody,
|
|
793
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
794
781
|
errorCode,
|
|
795
782
|
});
|
|
796
783
|
}
|
|
@@ -801,12 +788,12 @@ const de_DeleteAgentCommand = async (output, context) => {
|
|
|
801
788
|
}
|
|
802
789
|
const data = await parseBody(output.body, context);
|
|
803
790
|
let contents = {};
|
|
804
|
-
contents =
|
|
791
|
+
contents = (0, smithy_client_1._json)(data);
|
|
805
792
|
const response = {
|
|
806
793
|
$metadata: deserializeMetadata(output),
|
|
807
794
|
...contents,
|
|
808
795
|
};
|
|
809
|
-
return
|
|
796
|
+
return response;
|
|
810
797
|
};
|
|
811
798
|
exports.de_DeleteAgentCommand = de_DeleteAgentCommand;
|
|
812
799
|
const de_DeleteAgentCommandError = async (output, context) => {
|
|
@@ -824,10 +811,9 @@ const de_DeleteAgentCommandError = async (output, context) => {
|
|
|
824
811
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
825
812
|
default:
|
|
826
813
|
const parsedBody = parsedOutput.body;
|
|
827
|
-
|
|
814
|
+
return throwDefaultError({
|
|
828
815
|
output,
|
|
829
816
|
parsedBody,
|
|
830
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
831
817
|
errorCode,
|
|
832
818
|
});
|
|
833
819
|
}
|
|
@@ -838,12 +824,12 @@ const de_DeleteLocationCommand = async (output, context) => {
|
|
|
838
824
|
}
|
|
839
825
|
const data = await parseBody(output.body, context);
|
|
840
826
|
let contents = {};
|
|
841
|
-
contents =
|
|
827
|
+
contents = (0, smithy_client_1._json)(data);
|
|
842
828
|
const response = {
|
|
843
829
|
$metadata: deserializeMetadata(output),
|
|
844
830
|
...contents,
|
|
845
831
|
};
|
|
846
|
-
return
|
|
832
|
+
return response;
|
|
847
833
|
};
|
|
848
834
|
exports.de_DeleteLocationCommand = de_DeleteLocationCommand;
|
|
849
835
|
const de_DeleteLocationCommandError = async (output, context) => {
|
|
@@ -861,10 +847,9 @@ const de_DeleteLocationCommandError = async (output, context) => {
|
|
|
861
847
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
862
848
|
default:
|
|
863
849
|
const parsedBody = parsedOutput.body;
|
|
864
|
-
|
|
850
|
+
return throwDefaultError({
|
|
865
851
|
output,
|
|
866
852
|
parsedBody,
|
|
867
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
868
853
|
errorCode,
|
|
869
854
|
});
|
|
870
855
|
}
|
|
@@ -875,12 +860,12 @@ const de_DeleteTaskCommand = async (output, context) => {
|
|
|
875
860
|
}
|
|
876
861
|
const data = await parseBody(output.body, context);
|
|
877
862
|
let contents = {};
|
|
878
|
-
contents =
|
|
863
|
+
contents = (0, smithy_client_1._json)(data);
|
|
879
864
|
const response = {
|
|
880
865
|
$metadata: deserializeMetadata(output),
|
|
881
866
|
...contents,
|
|
882
867
|
};
|
|
883
|
-
return
|
|
868
|
+
return response;
|
|
884
869
|
};
|
|
885
870
|
exports.de_DeleteTaskCommand = de_DeleteTaskCommand;
|
|
886
871
|
const de_DeleteTaskCommandError = async (output, context) => {
|
|
@@ -898,10 +883,9 @@ const de_DeleteTaskCommandError = async (output, context) => {
|
|
|
898
883
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
899
884
|
default:
|
|
900
885
|
const parsedBody = parsedOutput.body;
|
|
901
|
-
|
|
886
|
+
return throwDefaultError({
|
|
902
887
|
output,
|
|
903
888
|
parsedBody,
|
|
904
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
905
889
|
errorCode,
|
|
906
890
|
});
|
|
907
891
|
}
|
|
@@ -917,7 +901,7 @@ const de_DescribeAgentCommand = async (output, context) => {
|
|
|
917
901
|
$metadata: deserializeMetadata(output),
|
|
918
902
|
...contents,
|
|
919
903
|
};
|
|
920
|
-
return
|
|
904
|
+
return response;
|
|
921
905
|
};
|
|
922
906
|
exports.de_DescribeAgentCommand = de_DescribeAgentCommand;
|
|
923
907
|
const de_DescribeAgentCommandError = async (output, context) => {
|
|
@@ -935,10 +919,9 @@ const de_DescribeAgentCommandError = async (output, context) => {
|
|
|
935
919
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
936
920
|
default:
|
|
937
921
|
const parsedBody = parsedOutput.body;
|
|
938
|
-
|
|
922
|
+
return throwDefaultError({
|
|
939
923
|
output,
|
|
940
924
|
parsedBody,
|
|
941
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
942
925
|
errorCode,
|
|
943
926
|
});
|
|
944
927
|
}
|
|
@@ -954,7 +937,7 @@ const de_DescribeLocationEfsCommand = async (output, context) => {
|
|
|
954
937
|
$metadata: deserializeMetadata(output),
|
|
955
938
|
...contents,
|
|
956
939
|
};
|
|
957
|
-
return
|
|
940
|
+
return response;
|
|
958
941
|
};
|
|
959
942
|
exports.de_DescribeLocationEfsCommand = de_DescribeLocationEfsCommand;
|
|
960
943
|
const de_DescribeLocationEfsCommandError = async (output, context) => {
|
|
@@ -972,10 +955,9 @@ const de_DescribeLocationEfsCommandError = async (output, context) => {
|
|
|
972
955
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
973
956
|
default:
|
|
974
957
|
const parsedBody = parsedOutput.body;
|
|
975
|
-
|
|
958
|
+
return throwDefaultError({
|
|
976
959
|
output,
|
|
977
960
|
parsedBody,
|
|
978
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
979
961
|
errorCode,
|
|
980
962
|
});
|
|
981
963
|
}
|
|
@@ -991,7 +973,7 @@ const de_DescribeLocationFsxLustreCommand = async (output, context) => {
|
|
|
991
973
|
$metadata: deserializeMetadata(output),
|
|
992
974
|
...contents,
|
|
993
975
|
};
|
|
994
|
-
return
|
|
976
|
+
return response;
|
|
995
977
|
};
|
|
996
978
|
exports.de_DescribeLocationFsxLustreCommand = de_DescribeLocationFsxLustreCommand;
|
|
997
979
|
const de_DescribeLocationFsxLustreCommandError = async (output, context) => {
|
|
@@ -1009,10 +991,9 @@ const de_DescribeLocationFsxLustreCommandError = async (output, context) => {
|
|
|
1009
991
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1010
992
|
default:
|
|
1011
993
|
const parsedBody = parsedOutput.body;
|
|
1012
|
-
|
|
994
|
+
return throwDefaultError({
|
|
1013
995
|
output,
|
|
1014
996
|
parsedBody,
|
|
1015
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1016
997
|
errorCode,
|
|
1017
998
|
});
|
|
1018
999
|
}
|
|
@@ -1028,7 +1009,7 @@ const de_DescribeLocationFsxOntapCommand = async (output, context) => {
|
|
|
1028
1009
|
$metadata: deserializeMetadata(output),
|
|
1029
1010
|
...contents,
|
|
1030
1011
|
};
|
|
1031
|
-
return
|
|
1012
|
+
return response;
|
|
1032
1013
|
};
|
|
1033
1014
|
exports.de_DescribeLocationFsxOntapCommand = de_DescribeLocationFsxOntapCommand;
|
|
1034
1015
|
const de_DescribeLocationFsxOntapCommandError = async (output, context) => {
|
|
@@ -1046,10 +1027,9 @@ const de_DescribeLocationFsxOntapCommandError = async (output, context) => {
|
|
|
1046
1027
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1047
1028
|
default:
|
|
1048
1029
|
const parsedBody = parsedOutput.body;
|
|
1049
|
-
|
|
1030
|
+
return throwDefaultError({
|
|
1050
1031
|
output,
|
|
1051
1032
|
parsedBody,
|
|
1052
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1053
1033
|
errorCode,
|
|
1054
1034
|
});
|
|
1055
1035
|
}
|
|
@@ -1065,7 +1045,7 @@ const de_DescribeLocationFsxOpenZfsCommand = async (output, context) => {
|
|
|
1065
1045
|
$metadata: deserializeMetadata(output),
|
|
1066
1046
|
...contents,
|
|
1067
1047
|
};
|
|
1068
|
-
return
|
|
1048
|
+
return response;
|
|
1069
1049
|
};
|
|
1070
1050
|
exports.de_DescribeLocationFsxOpenZfsCommand = de_DescribeLocationFsxOpenZfsCommand;
|
|
1071
1051
|
const de_DescribeLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
@@ -1083,10 +1063,9 @@ const de_DescribeLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
|
1083
1063
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1084
1064
|
default:
|
|
1085
1065
|
const parsedBody = parsedOutput.body;
|
|
1086
|
-
|
|
1066
|
+
return throwDefaultError({
|
|
1087
1067
|
output,
|
|
1088
1068
|
parsedBody,
|
|
1089
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1090
1069
|
errorCode,
|
|
1091
1070
|
});
|
|
1092
1071
|
}
|
|
@@ -1102,7 +1081,7 @@ const de_DescribeLocationFsxWindowsCommand = async (output, context) => {
|
|
|
1102
1081
|
$metadata: deserializeMetadata(output),
|
|
1103
1082
|
...contents,
|
|
1104
1083
|
};
|
|
1105
|
-
return
|
|
1084
|
+
return response;
|
|
1106
1085
|
};
|
|
1107
1086
|
exports.de_DescribeLocationFsxWindowsCommand = de_DescribeLocationFsxWindowsCommand;
|
|
1108
1087
|
const de_DescribeLocationFsxWindowsCommandError = async (output, context) => {
|
|
@@ -1120,10 +1099,9 @@ const de_DescribeLocationFsxWindowsCommandError = async (output, context) => {
|
|
|
1120
1099
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1121
1100
|
default:
|
|
1122
1101
|
const parsedBody = parsedOutput.body;
|
|
1123
|
-
|
|
1102
|
+
return throwDefaultError({
|
|
1124
1103
|
output,
|
|
1125
1104
|
parsedBody,
|
|
1126
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1127
1105
|
errorCode,
|
|
1128
1106
|
});
|
|
1129
1107
|
}
|
|
@@ -1139,7 +1117,7 @@ const de_DescribeLocationHdfsCommand = async (output, context) => {
|
|
|
1139
1117
|
$metadata: deserializeMetadata(output),
|
|
1140
1118
|
...contents,
|
|
1141
1119
|
};
|
|
1142
|
-
return
|
|
1120
|
+
return response;
|
|
1143
1121
|
};
|
|
1144
1122
|
exports.de_DescribeLocationHdfsCommand = de_DescribeLocationHdfsCommand;
|
|
1145
1123
|
const de_DescribeLocationHdfsCommandError = async (output, context) => {
|
|
@@ -1157,10 +1135,9 @@ const de_DescribeLocationHdfsCommandError = async (output, context) => {
|
|
|
1157
1135
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1158
1136
|
default:
|
|
1159
1137
|
const parsedBody = parsedOutput.body;
|
|
1160
|
-
|
|
1138
|
+
return throwDefaultError({
|
|
1161
1139
|
output,
|
|
1162
1140
|
parsedBody,
|
|
1163
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1164
1141
|
errorCode,
|
|
1165
1142
|
});
|
|
1166
1143
|
}
|
|
@@ -1176,7 +1153,7 @@ const de_DescribeLocationNfsCommand = async (output, context) => {
|
|
|
1176
1153
|
$metadata: deserializeMetadata(output),
|
|
1177
1154
|
...contents,
|
|
1178
1155
|
};
|
|
1179
|
-
return
|
|
1156
|
+
return response;
|
|
1180
1157
|
};
|
|
1181
1158
|
exports.de_DescribeLocationNfsCommand = de_DescribeLocationNfsCommand;
|
|
1182
1159
|
const de_DescribeLocationNfsCommandError = async (output, context) => {
|
|
@@ -1194,10 +1171,9 @@ const de_DescribeLocationNfsCommandError = async (output, context) => {
|
|
|
1194
1171
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1195
1172
|
default:
|
|
1196
1173
|
const parsedBody = parsedOutput.body;
|
|
1197
|
-
|
|
1174
|
+
return throwDefaultError({
|
|
1198
1175
|
output,
|
|
1199
1176
|
parsedBody,
|
|
1200
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1201
1177
|
errorCode,
|
|
1202
1178
|
});
|
|
1203
1179
|
}
|
|
@@ -1213,7 +1189,7 @@ const de_DescribeLocationObjectStorageCommand = async (output, context) => {
|
|
|
1213
1189
|
$metadata: deserializeMetadata(output),
|
|
1214
1190
|
...contents,
|
|
1215
1191
|
};
|
|
1216
|
-
return
|
|
1192
|
+
return response;
|
|
1217
1193
|
};
|
|
1218
1194
|
exports.de_DescribeLocationObjectStorageCommand = de_DescribeLocationObjectStorageCommand;
|
|
1219
1195
|
const de_DescribeLocationObjectStorageCommandError = async (output, context) => {
|
|
@@ -1231,10 +1207,9 @@ const de_DescribeLocationObjectStorageCommandError = async (output, context) =>
|
|
|
1231
1207
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1232
1208
|
default:
|
|
1233
1209
|
const parsedBody = parsedOutput.body;
|
|
1234
|
-
|
|
1210
|
+
return throwDefaultError({
|
|
1235
1211
|
output,
|
|
1236
1212
|
parsedBody,
|
|
1237
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1238
1213
|
errorCode,
|
|
1239
1214
|
});
|
|
1240
1215
|
}
|
|
@@ -1250,7 +1225,7 @@ const de_DescribeLocationS3Command = async (output, context) => {
|
|
|
1250
1225
|
$metadata: deserializeMetadata(output),
|
|
1251
1226
|
...contents,
|
|
1252
1227
|
};
|
|
1253
|
-
return
|
|
1228
|
+
return response;
|
|
1254
1229
|
};
|
|
1255
1230
|
exports.de_DescribeLocationS3Command = de_DescribeLocationS3Command;
|
|
1256
1231
|
const de_DescribeLocationS3CommandError = async (output, context) => {
|
|
@@ -1268,10 +1243,9 @@ const de_DescribeLocationS3CommandError = async (output, context) => {
|
|
|
1268
1243
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1269
1244
|
default:
|
|
1270
1245
|
const parsedBody = parsedOutput.body;
|
|
1271
|
-
|
|
1246
|
+
return throwDefaultError({
|
|
1272
1247
|
output,
|
|
1273
1248
|
parsedBody,
|
|
1274
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1275
1249
|
errorCode,
|
|
1276
1250
|
});
|
|
1277
1251
|
}
|
|
@@ -1287,7 +1261,7 @@ const de_DescribeLocationSmbCommand = async (output, context) => {
|
|
|
1287
1261
|
$metadata: deserializeMetadata(output),
|
|
1288
1262
|
...contents,
|
|
1289
1263
|
};
|
|
1290
|
-
return
|
|
1264
|
+
return response;
|
|
1291
1265
|
};
|
|
1292
1266
|
exports.de_DescribeLocationSmbCommand = de_DescribeLocationSmbCommand;
|
|
1293
1267
|
const de_DescribeLocationSmbCommandError = async (output, context) => {
|
|
@@ -1305,10 +1279,9 @@ const de_DescribeLocationSmbCommandError = async (output, context) => {
|
|
|
1305
1279
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1306
1280
|
default:
|
|
1307
1281
|
const parsedBody = parsedOutput.body;
|
|
1308
|
-
|
|
1282
|
+
return throwDefaultError({
|
|
1309
1283
|
output,
|
|
1310
1284
|
parsedBody,
|
|
1311
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1312
1285
|
errorCode,
|
|
1313
1286
|
});
|
|
1314
1287
|
}
|
|
@@ -1324,7 +1297,7 @@ const de_DescribeTaskCommand = async (output, context) => {
|
|
|
1324
1297
|
$metadata: deserializeMetadata(output),
|
|
1325
1298
|
...contents,
|
|
1326
1299
|
};
|
|
1327
|
-
return
|
|
1300
|
+
return response;
|
|
1328
1301
|
};
|
|
1329
1302
|
exports.de_DescribeTaskCommand = de_DescribeTaskCommand;
|
|
1330
1303
|
const de_DescribeTaskCommandError = async (output, context) => {
|
|
@@ -1342,10 +1315,9 @@ const de_DescribeTaskCommandError = async (output, context) => {
|
|
|
1342
1315
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1343
1316
|
default:
|
|
1344
1317
|
const parsedBody = parsedOutput.body;
|
|
1345
|
-
|
|
1318
|
+
return throwDefaultError({
|
|
1346
1319
|
output,
|
|
1347
1320
|
parsedBody,
|
|
1348
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1349
1321
|
errorCode,
|
|
1350
1322
|
});
|
|
1351
1323
|
}
|
|
@@ -1361,7 +1333,7 @@ const de_DescribeTaskExecutionCommand = async (output, context) => {
|
|
|
1361
1333
|
$metadata: deserializeMetadata(output),
|
|
1362
1334
|
...contents,
|
|
1363
1335
|
};
|
|
1364
|
-
return
|
|
1336
|
+
return response;
|
|
1365
1337
|
};
|
|
1366
1338
|
exports.de_DescribeTaskExecutionCommand = de_DescribeTaskExecutionCommand;
|
|
1367
1339
|
const de_DescribeTaskExecutionCommandError = async (output, context) => {
|
|
@@ -1379,10 +1351,9 @@ const de_DescribeTaskExecutionCommandError = async (output, context) => {
|
|
|
1379
1351
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1380
1352
|
default:
|
|
1381
1353
|
const parsedBody = parsedOutput.body;
|
|
1382
|
-
|
|
1354
|
+
return throwDefaultError({
|
|
1383
1355
|
output,
|
|
1384
1356
|
parsedBody,
|
|
1385
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1386
1357
|
errorCode,
|
|
1387
1358
|
});
|
|
1388
1359
|
}
|
|
@@ -1393,12 +1364,12 @@ const de_ListAgentsCommand = async (output, context) => {
|
|
|
1393
1364
|
}
|
|
1394
1365
|
const data = await parseBody(output.body, context);
|
|
1395
1366
|
let contents = {};
|
|
1396
|
-
contents =
|
|
1367
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1397
1368
|
const response = {
|
|
1398
1369
|
$metadata: deserializeMetadata(output),
|
|
1399
1370
|
...contents,
|
|
1400
1371
|
};
|
|
1401
|
-
return
|
|
1372
|
+
return response;
|
|
1402
1373
|
};
|
|
1403
1374
|
exports.de_ListAgentsCommand = de_ListAgentsCommand;
|
|
1404
1375
|
const de_ListAgentsCommandError = async (output, context) => {
|
|
@@ -1416,10 +1387,9 @@ const de_ListAgentsCommandError = async (output, context) => {
|
|
|
1416
1387
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1417
1388
|
default:
|
|
1418
1389
|
const parsedBody = parsedOutput.body;
|
|
1419
|
-
|
|
1390
|
+
return throwDefaultError({
|
|
1420
1391
|
output,
|
|
1421
1392
|
parsedBody,
|
|
1422
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1423
1393
|
errorCode,
|
|
1424
1394
|
});
|
|
1425
1395
|
}
|
|
@@ -1430,12 +1400,12 @@ const de_ListLocationsCommand = async (output, context) => {
|
|
|
1430
1400
|
}
|
|
1431
1401
|
const data = await parseBody(output.body, context);
|
|
1432
1402
|
let contents = {};
|
|
1433
|
-
contents =
|
|
1403
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1434
1404
|
const response = {
|
|
1435
1405
|
$metadata: deserializeMetadata(output),
|
|
1436
1406
|
...contents,
|
|
1437
1407
|
};
|
|
1438
|
-
return
|
|
1408
|
+
return response;
|
|
1439
1409
|
};
|
|
1440
1410
|
exports.de_ListLocationsCommand = de_ListLocationsCommand;
|
|
1441
1411
|
const de_ListLocationsCommandError = async (output, context) => {
|
|
@@ -1453,10 +1423,9 @@ const de_ListLocationsCommandError = async (output, context) => {
|
|
|
1453
1423
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1454
1424
|
default:
|
|
1455
1425
|
const parsedBody = parsedOutput.body;
|
|
1456
|
-
|
|
1426
|
+
return throwDefaultError({
|
|
1457
1427
|
output,
|
|
1458
1428
|
parsedBody,
|
|
1459
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1460
1429
|
errorCode,
|
|
1461
1430
|
});
|
|
1462
1431
|
}
|
|
@@ -1467,12 +1436,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1467
1436
|
}
|
|
1468
1437
|
const data = await parseBody(output.body, context);
|
|
1469
1438
|
let contents = {};
|
|
1470
|
-
contents =
|
|
1439
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1471
1440
|
const response = {
|
|
1472
1441
|
$metadata: deserializeMetadata(output),
|
|
1473
1442
|
...contents,
|
|
1474
1443
|
};
|
|
1475
|
-
return
|
|
1444
|
+
return response;
|
|
1476
1445
|
};
|
|
1477
1446
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1478
1447
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1490,10 +1459,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1490
1459
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1491
1460
|
default:
|
|
1492
1461
|
const parsedBody = parsedOutput.body;
|
|
1493
|
-
|
|
1462
|
+
return throwDefaultError({
|
|
1494
1463
|
output,
|
|
1495
1464
|
parsedBody,
|
|
1496
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1497
1465
|
errorCode,
|
|
1498
1466
|
});
|
|
1499
1467
|
}
|
|
@@ -1504,12 +1472,12 @@ const de_ListTaskExecutionsCommand = async (output, context) => {
|
|
|
1504
1472
|
}
|
|
1505
1473
|
const data = await parseBody(output.body, context);
|
|
1506
1474
|
let contents = {};
|
|
1507
|
-
contents =
|
|
1475
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1508
1476
|
const response = {
|
|
1509
1477
|
$metadata: deserializeMetadata(output),
|
|
1510
1478
|
...contents,
|
|
1511
1479
|
};
|
|
1512
|
-
return
|
|
1480
|
+
return response;
|
|
1513
1481
|
};
|
|
1514
1482
|
exports.de_ListTaskExecutionsCommand = de_ListTaskExecutionsCommand;
|
|
1515
1483
|
const de_ListTaskExecutionsCommandError = async (output, context) => {
|
|
@@ -1527,10 +1495,9 @@ const de_ListTaskExecutionsCommandError = async (output, context) => {
|
|
|
1527
1495
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1528
1496
|
default:
|
|
1529
1497
|
const parsedBody = parsedOutput.body;
|
|
1530
|
-
|
|
1498
|
+
return throwDefaultError({
|
|
1531
1499
|
output,
|
|
1532
1500
|
parsedBody,
|
|
1533
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1534
1501
|
errorCode,
|
|
1535
1502
|
});
|
|
1536
1503
|
}
|
|
@@ -1541,12 +1508,12 @@ const de_ListTasksCommand = async (output, context) => {
|
|
|
1541
1508
|
}
|
|
1542
1509
|
const data = await parseBody(output.body, context);
|
|
1543
1510
|
let contents = {};
|
|
1544
|
-
contents =
|
|
1511
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1545
1512
|
const response = {
|
|
1546
1513
|
$metadata: deserializeMetadata(output),
|
|
1547
1514
|
...contents,
|
|
1548
1515
|
};
|
|
1549
|
-
return
|
|
1516
|
+
return response;
|
|
1550
1517
|
};
|
|
1551
1518
|
exports.de_ListTasksCommand = de_ListTasksCommand;
|
|
1552
1519
|
const de_ListTasksCommandError = async (output, context) => {
|
|
@@ -1564,10 +1531,9 @@ const de_ListTasksCommandError = async (output, context) => {
|
|
|
1564
1531
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1565
1532
|
default:
|
|
1566
1533
|
const parsedBody = parsedOutput.body;
|
|
1567
|
-
|
|
1534
|
+
return throwDefaultError({
|
|
1568
1535
|
output,
|
|
1569
1536
|
parsedBody,
|
|
1570
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1571
1537
|
errorCode,
|
|
1572
1538
|
});
|
|
1573
1539
|
}
|
|
@@ -1578,12 +1544,12 @@ const de_StartTaskExecutionCommand = async (output, context) => {
|
|
|
1578
1544
|
}
|
|
1579
1545
|
const data = await parseBody(output.body, context);
|
|
1580
1546
|
let contents = {};
|
|
1581
|
-
contents =
|
|
1547
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1582
1548
|
const response = {
|
|
1583
1549
|
$metadata: deserializeMetadata(output),
|
|
1584
1550
|
...contents,
|
|
1585
1551
|
};
|
|
1586
|
-
return
|
|
1552
|
+
return response;
|
|
1587
1553
|
};
|
|
1588
1554
|
exports.de_StartTaskExecutionCommand = de_StartTaskExecutionCommand;
|
|
1589
1555
|
const de_StartTaskExecutionCommandError = async (output, context) => {
|
|
@@ -1601,10 +1567,9 @@ const de_StartTaskExecutionCommandError = async (output, context) => {
|
|
|
1601
1567
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1602
1568
|
default:
|
|
1603
1569
|
const parsedBody = parsedOutput.body;
|
|
1604
|
-
|
|
1570
|
+
return throwDefaultError({
|
|
1605
1571
|
output,
|
|
1606
1572
|
parsedBody,
|
|
1607
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1608
1573
|
errorCode,
|
|
1609
1574
|
});
|
|
1610
1575
|
}
|
|
@@ -1615,12 +1580,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1615
1580
|
}
|
|
1616
1581
|
const data = await parseBody(output.body, context);
|
|
1617
1582
|
let contents = {};
|
|
1618
|
-
contents =
|
|
1583
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1619
1584
|
const response = {
|
|
1620
1585
|
$metadata: deserializeMetadata(output),
|
|
1621
1586
|
...contents,
|
|
1622
1587
|
};
|
|
1623
|
-
return
|
|
1588
|
+
return response;
|
|
1624
1589
|
};
|
|
1625
1590
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1626
1591
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1638,10 +1603,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1638
1603
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1639
1604
|
default:
|
|
1640
1605
|
const parsedBody = parsedOutput.body;
|
|
1641
|
-
|
|
1606
|
+
return throwDefaultError({
|
|
1642
1607
|
output,
|
|
1643
1608
|
parsedBody,
|
|
1644
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1645
1609
|
errorCode,
|
|
1646
1610
|
});
|
|
1647
1611
|
}
|
|
@@ -1652,12 +1616,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1652
1616
|
}
|
|
1653
1617
|
const data = await parseBody(output.body, context);
|
|
1654
1618
|
let contents = {};
|
|
1655
|
-
contents =
|
|
1619
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1656
1620
|
const response = {
|
|
1657
1621
|
$metadata: deserializeMetadata(output),
|
|
1658
1622
|
...contents,
|
|
1659
1623
|
};
|
|
1660
|
-
return
|
|
1624
|
+
return response;
|
|
1661
1625
|
};
|
|
1662
1626
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1663
1627
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1675,10 +1639,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1675
1639
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1676
1640
|
default:
|
|
1677
1641
|
const parsedBody = parsedOutput.body;
|
|
1678
|
-
|
|
1642
|
+
return throwDefaultError({
|
|
1679
1643
|
output,
|
|
1680
1644
|
parsedBody,
|
|
1681
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1682
1645
|
errorCode,
|
|
1683
1646
|
});
|
|
1684
1647
|
}
|
|
@@ -1689,12 +1652,12 @@ const de_UpdateAgentCommand = async (output, context) => {
|
|
|
1689
1652
|
}
|
|
1690
1653
|
const data = await parseBody(output.body, context);
|
|
1691
1654
|
let contents = {};
|
|
1692
|
-
contents =
|
|
1655
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1693
1656
|
const response = {
|
|
1694
1657
|
$metadata: deserializeMetadata(output),
|
|
1695
1658
|
...contents,
|
|
1696
1659
|
};
|
|
1697
|
-
return
|
|
1660
|
+
return response;
|
|
1698
1661
|
};
|
|
1699
1662
|
exports.de_UpdateAgentCommand = de_UpdateAgentCommand;
|
|
1700
1663
|
const de_UpdateAgentCommandError = async (output, context) => {
|
|
@@ -1712,10 +1675,9 @@ const de_UpdateAgentCommandError = async (output, context) => {
|
|
|
1712
1675
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1713
1676
|
default:
|
|
1714
1677
|
const parsedBody = parsedOutput.body;
|
|
1715
|
-
|
|
1678
|
+
return throwDefaultError({
|
|
1716
1679
|
output,
|
|
1717
1680
|
parsedBody,
|
|
1718
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1719
1681
|
errorCode,
|
|
1720
1682
|
});
|
|
1721
1683
|
}
|
|
@@ -1726,12 +1688,12 @@ const de_UpdateLocationHdfsCommand = async (output, context) => {
|
|
|
1726
1688
|
}
|
|
1727
1689
|
const data = await parseBody(output.body, context);
|
|
1728
1690
|
let contents = {};
|
|
1729
|
-
contents =
|
|
1691
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1730
1692
|
const response = {
|
|
1731
1693
|
$metadata: deserializeMetadata(output),
|
|
1732
1694
|
...contents,
|
|
1733
1695
|
};
|
|
1734
|
-
return
|
|
1696
|
+
return response;
|
|
1735
1697
|
};
|
|
1736
1698
|
exports.de_UpdateLocationHdfsCommand = de_UpdateLocationHdfsCommand;
|
|
1737
1699
|
const de_UpdateLocationHdfsCommandError = async (output, context) => {
|
|
@@ -1749,10 +1711,9 @@ const de_UpdateLocationHdfsCommandError = async (output, context) => {
|
|
|
1749
1711
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1750
1712
|
default:
|
|
1751
1713
|
const parsedBody = parsedOutput.body;
|
|
1752
|
-
|
|
1714
|
+
return throwDefaultError({
|
|
1753
1715
|
output,
|
|
1754
1716
|
parsedBody,
|
|
1755
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1756
1717
|
errorCode,
|
|
1757
1718
|
});
|
|
1758
1719
|
}
|
|
@@ -1763,12 +1724,12 @@ const de_UpdateLocationNfsCommand = async (output, context) => {
|
|
|
1763
1724
|
}
|
|
1764
1725
|
const data = await parseBody(output.body, context);
|
|
1765
1726
|
let contents = {};
|
|
1766
|
-
contents =
|
|
1727
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1767
1728
|
const response = {
|
|
1768
1729
|
$metadata: deserializeMetadata(output),
|
|
1769
1730
|
...contents,
|
|
1770
1731
|
};
|
|
1771
|
-
return
|
|
1732
|
+
return response;
|
|
1772
1733
|
};
|
|
1773
1734
|
exports.de_UpdateLocationNfsCommand = de_UpdateLocationNfsCommand;
|
|
1774
1735
|
const de_UpdateLocationNfsCommandError = async (output, context) => {
|
|
@@ -1786,10 +1747,9 @@ const de_UpdateLocationNfsCommandError = async (output, context) => {
|
|
|
1786
1747
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1787
1748
|
default:
|
|
1788
1749
|
const parsedBody = parsedOutput.body;
|
|
1789
|
-
|
|
1750
|
+
return throwDefaultError({
|
|
1790
1751
|
output,
|
|
1791
1752
|
parsedBody,
|
|
1792
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1793
1753
|
errorCode,
|
|
1794
1754
|
});
|
|
1795
1755
|
}
|
|
@@ -1800,12 +1760,12 @@ const de_UpdateLocationObjectStorageCommand = async (output, context) => {
|
|
|
1800
1760
|
}
|
|
1801
1761
|
const data = await parseBody(output.body, context);
|
|
1802
1762
|
let contents = {};
|
|
1803
|
-
contents =
|
|
1763
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1804
1764
|
const response = {
|
|
1805
1765
|
$metadata: deserializeMetadata(output),
|
|
1806
1766
|
...contents,
|
|
1807
1767
|
};
|
|
1808
|
-
return
|
|
1768
|
+
return response;
|
|
1809
1769
|
};
|
|
1810
1770
|
exports.de_UpdateLocationObjectStorageCommand = de_UpdateLocationObjectStorageCommand;
|
|
1811
1771
|
const de_UpdateLocationObjectStorageCommandError = async (output, context) => {
|
|
@@ -1823,10 +1783,9 @@ const de_UpdateLocationObjectStorageCommandError = async (output, context) => {
|
|
|
1823
1783
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1824
1784
|
default:
|
|
1825
1785
|
const parsedBody = parsedOutput.body;
|
|
1826
|
-
|
|
1786
|
+
return throwDefaultError({
|
|
1827
1787
|
output,
|
|
1828
1788
|
parsedBody,
|
|
1829
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1830
1789
|
errorCode,
|
|
1831
1790
|
});
|
|
1832
1791
|
}
|
|
@@ -1837,12 +1796,12 @@ const de_UpdateLocationSmbCommand = async (output, context) => {
|
|
|
1837
1796
|
}
|
|
1838
1797
|
const data = await parseBody(output.body, context);
|
|
1839
1798
|
let contents = {};
|
|
1840
|
-
contents =
|
|
1799
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1841
1800
|
const response = {
|
|
1842
1801
|
$metadata: deserializeMetadata(output),
|
|
1843
1802
|
...contents,
|
|
1844
1803
|
};
|
|
1845
|
-
return
|
|
1804
|
+
return response;
|
|
1846
1805
|
};
|
|
1847
1806
|
exports.de_UpdateLocationSmbCommand = de_UpdateLocationSmbCommand;
|
|
1848
1807
|
const de_UpdateLocationSmbCommandError = async (output, context) => {
|
|
@@ -1860,10 +1819,9 @@ const de_UpdateLocationSmbCommandError = async (output, context) => {
|
|
|
1860
1819
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1861
1820
|
default:
|
|
1862
1821
|
const parsedBody = parsedOutput.body;
|
|
1863
|
-
|
|
1822
|
+
return throwDefaultError({
|
|
1864
1823
|
output,
|
|
1865
1824
|
parsedBody,
|
|
1866
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1867
1825
|
errorCode,
|
|
1868
1826
|
});
|
|
1869
1827
|
}
|
|
@@ -1874,12 +1832,12 @@ const de_UpdateTaskCommand = async (output, context) => {
|
|
|
1874
1832
|
}
|
|
1875
1833
|
const data = await parseBody(output.body, context);
|
|
1876
1834
|
let contents = {};
|
|
1877
|
-
contents =
|
|
1835
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1878
1836
|
const response = {
|
|
1879
1837
|
$metadata: deserializeMetadata(output),
|
|
1880
1838
|
...contents,
|
|
1881
1839
|
};
|
|
1882
|
-
return
|
|
1840
|
+
return response;
|
|
1883
1841
|
};
|
|
1884
1842
|
exports.de_UpdateTaskCommand = de_UpdateTaskCommand;
|
|
1885
1843
|
const de_UpdateTaskCommandError = async (output, context) => {
|
|
@@ -1897,10 +1855,9 @@ const de_UpdateTaskCommandError = async (output, context) => {
|
|
|
1897
1855
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1898
1856
|
default:
|
|
1899
1857
|
const parsedBody = parsedOutput.body;
|
|
1900
|
-
|
|
1858
|
+
return throwDefaultError({
|
|
1901
1859
|
output,
|
|
1902
1860
|
parsedBody,
|
|
1903
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1904
1861
|
errorCode,
|
|
1905
1862
|
});
|
|
1906
1863
|
}
|
|
@@ -1911,12 +1868,12 @@ const de_UpdateTaskExecutionCommand = async (output, context) => {
|
|
|
1911
1868
|
}
|
|
1912
1869
|
const data = await parseBody(output.body, context);
|
|
1913
1870
|
let contents = {};
|
|
1914
|
-
contents =
|
|
1871
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1915
1872
|
const response = {
|
|
1916
1873
|
$metadata: deserializeMetadata(output),
|
|
1917
1874
|
...contents,
|
|
1918
1875
|
};
|
|
1919
|
-
return
|
|
1876
|
+
return response;
|
|
1920
1877
|
};
|
|
1921
1878
|
exports.de_UpdateTaskExecutionCommand = de_UpdateTaskExecutionCommand;
|
|
1922
1879
|
const de_UpdateTaskExecutionCommandError = async (output, context) => {
|
|
@@ -1934,17 +1891,16 @@ const de_UpdateTaskExecutionCommandError = async (output, context) => {
|
|
|
1934
1891
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1935
1892
|
default:
|
|
1936
1893
|
const parsedBody = parsedOutput.body;
|
|
1937
|
-
|
|
1894
|
+
return throwDefaultError({
|
|
1938
1895
|
output,
|
|
1939
1896
|
parsedBody,
|
|
1940
|
-
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1941
1897
|
errorCode,
|
|
1942
1898
|
});
|
|
1943
1899
|
}
|
|
1944
1900
|
};
|
|
1945
1901
|
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
1946
1902
|
const body = parsedOutput.body;
|
|
1947
|
-
const deserialized =
|
|
1903
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1948
1904
|
const exception = new models_0_1.InternalException({
|
|
1949
1905
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1950
1906
|
...deserialized,
|
|
@@ -1953,1169 +1909,227 @@ const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
|
1953
1909
|
};
|
|
1954
1910
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1955
1911
|
const body = parsedOutput.body;
|
|
1956
|
-
const deserialized =
|
|
1912
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1957
1913
|
const exception = new models_0_1.InvalidRequestException({
|
|
1958
1914
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1959
1915
|
...deserialized,
|
|
1960
1916
|
});
|
|
1961
1917
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1962
1918
|
};
|
|
1963
|
-
const se_AgentArnList = (input, context) => {
|
|
1964
|
-
return input
|
|
1965
|
-
.filter((e) => e != null)
|
|
1966
|
-
.map((entry) => {
|
|
1967
|
-
return entry;
|
|
1968
|
-
});
|
|
1969
|
-
};
|
|
1970
|
-
const se_CancelTaskExecutionRequest = (input, context) => {
|
|
1971
|
-
return {
|
|
1972
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
const se_CreateAgentRequest = (input, context) => {
|
|
1976
|
-
return {
|
|
1977
|
-
...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
|
|
1978
|
-
...(input.AgentName != null && { AgentName: input.AgentName }),
|
|
1979
|
-
...(input.SecurityGroupArns != null && {
|
|
1980
|
-
SecurityGroupArns: se_PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1981
|
-
}),
|
|
1982
|
-
...(input.SubnetArns != null && { SubnetArns: se_PLSubnetArnList(input.SubnetArns, context) }),
|
|
1983
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1984
|
-
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
1985
|
-
};
|
|
1986
|
-
};
|
|
1987
|
-
const se_CreateLocationEfsRequest = (input, context) => {
|
|
1988
|
-
return {
|
|
1989
|
-
...(input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn }),
|
|
1990
|
-
...(input.Ec2Config != null && { Ec2Config: se_Ec2Config(input.Ec2Config, context) }),
|
|
1991
|
-
...(input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn }),
|
|
1992
|
-
...(input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
|
|
1993
|
-
...(input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption }),
|
|
1994
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1995
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1996
|
-
};
|
|
1997
|
-
};
|
|
1998
|
-
const se_CreateLocationFsxLustreRequest = (input, context) => {
|
|
1999
|
-
return {
|
|
2000
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2001
|
-
...(input.SecurityGroupArns != null && {
|
|
2002
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2003
|
-
}),
|
|
2004
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2005
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2006
|
-
};
|
|
2007
|
-
};
|
|
2008
|
-
const se_CreateLocationFsxOntapRequest = (input, context) => {
|
|
2009
|
-
return {
|
|
2010
|
-
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
2011
|
-
...(input.SecurityGroupArns != null && {
|
|
2012
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2013
|
-
}),
|
|
2014
|
-
...(input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn }),
|
|
2015
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2016
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2017
|
-
};
|
|
2018
|
-
};
|
|
2019
|
-
const se_CreateLocationFsxOpenZfsRequest = (input, context) => {
|
|
2020
|
-
return {
|
|
2021
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2022
|
-
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
2023
|
-
...(input.SecurityGroupArns != null && {
|
|
2024
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2025
|
-
}),
|
|
2026
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2027
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2028
|
-
};
|
|
2029
|
-
};
|
|
2030
|
-
const se_CreateLocationFsxWindowsRequest = (input, context) => {
|
|
2031
|
-
return {
|
|
2032
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2033
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2034
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2035
|
-
...(input.SecurityGroupArns != null && {
|
|
2036
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2037
|
-
}),
|
|
2038
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2039
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2040
|
-
...(input.User != null && { User: input.User }),
|
|
2041
|
-
};
|
|
2042
|
-
};
|
|
2043
1919
|
const se_CreateLocationHdfsRequest = (input, context) => {
|
|
2044
|
-
return {
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
};
|
|
2059
|
-
};
|
|
2060
|
-
const se_CreateLocationNfsRequest = (input, context) => {
|
|
2061
|
-
return {
|
|
2062
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2063
|
-
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
2064
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2065
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2066
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2067
|
-
};
|
|
2068
|
-
};
|
|
2069
|
-
const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
2070
|
-
return {
|
|
2071
|
-
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
2072
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2073
|
-
...(input.BucketName != null && { BucketName: input.BucketName }),
|
|
2074
|
-
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
2075
|
-
...(input.ServerCertificate != null && { ServerCertificate: context.base64Encoder(input.ServerCertificate) }),
|
|
2076
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2077
|
-
...(input.ServerPort != null && { ServerPort: input.ServerPort }),
|
|
2078
|
-
...(input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol }),
|
|
2079
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2080
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const se_CreateLocationS3Request = (input, context) => {
|
|
2084
|
-
return {
|
|
2085
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2086
|
-
...(input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn }),
|
|
2087
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
2088
|
-
...(input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass }),
|
|
2089
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2090
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2091
|
-
};
|
|
2092
|
-
};
|
|
2093
|
-
const se_CreateLocationSmbRequest = (input, context) => {
|
|
2094
|
-
return {
|
|
2095
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2096
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2097
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2098
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2099
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2100
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2101
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2102
|
-
...(input.User != null && { User: input.User }),
|
|
2103
|
-
};
|
|
2104
|
-
};
|
|
2105
|
-
const se_CreateTaskRequest = (input, context) => {
|
|
2106
|
-
return {
|
|
2107
|
-
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2108
|
-
...(input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn }),
|
|
2109
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2110
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2111
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2112
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2113
|
-
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2114
|
-
...(input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn }),
|
|
2115
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2116
|
-
};
|
|
2117
|
-
};
|
|
2118
|
-
const se_DeleteAgentRequest = (input, context) => {
|
|
2119
|
-
return {
|
|
2120
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
const se_DeleteLocationRequest = (input, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2126
|
-
};
|
|
2127
|
-
};
|
|
2128
|
-
const se_DeleteTaskRequest = (input, context) => {
|
|
2129
|
-
return {
|
|
2130
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2131
|
-
};
|
|
2132
|
-
};
|
|
2133
|
-
const se_DescribeAgentRequest = (input, context) => {
|
|
2134
|
-
return {
|
|
2135
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2136
|
-
};
|
|
2137
|
-
};
|
|
2138
|
-
const se_DescribeLocationEfsRequest = (input, context) => {
|
|
2139
|
-
return {
|
|
2140
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2141
|
-
};
|
|
2142
|
-
};
|
|
2143
|
-
const se_DescribeLocationFsxLustreRequest = (input, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const se_DescribeLocationFsxOntapRequest = (input, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2151
|
-
};
|
|
2152
|
-
};
|
|
2153
|
-
const se_DescribeLocationFsxOpenZfsRequest = (input, context) => {
|
|
2154
|
-
return {
|
|
2155
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2156
|
-
};
|
|
2157
|
-
};
|
|
2158
|
-
const se_DescribeLocationFsxWindowsRequest = (input, context) => {
|
|
2159
|
-
return {
|
|
2160
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
const se_DescribeLocationHdfsRequest = (input, context) => {
|
|
2164
|
-
return {
|
|
2165
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2166
|
-
};
|
|
2167
|
-
};
|
|
2168
|
-
const se_DescribeLocationNfsRequest = (input, context) => {
|
|
2169
|
-
return {
|
|
2170
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2171
|
-
};
|
|
2172
|
-
};
|
|
2173
|
-
const se_DescribeLocationObjectStorageRequest = (input, context) => {
|
|
2174
|
-
return {
|
|
2175
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2176
|
-
};
|
|
2177
|
-
};
|
|
2178
|
-
const se_DescribeLocationS3Request = (input, context) => {
|
|
2179
|
-
return {
|
|
2180
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2181
|
-
};
|
|
2182
|
-
};
|
|
2183
|
-
const se_DescribeLocationSmbRequest = (input, context) => {
|
|
2184
|
-
return {
|
|
2185
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2186
|
-
};
|
|
2187
|
-
};
|
|
2188
|
-
const se_DescribeTaskExecutionRequest = (input, context) => {
|
|
2189
|
-
return {
|
|
2190
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2191
|
-
};
|
|
2192
|
-
};
|
|
2193
|
-
const se_DescribeTaskRequest = (input, context) => {
|
|
2194
|
-
return {
|
|
2195
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2196
|
-
};
|
|
2197
|
-
};
|
|
2198
|
-
const se_Ec2Config = (input, context) => {
|
|
2199
|
-
return {
|
|
2200
|
-
...(input.SecurityGroupArns != null && {
|
|
2201
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2202
|
-
}),
|
|
2203
|
-
...(input.SubnetArn != null && { SubnetArn: input.SubnetArn }),
|
|
2204
|
-
};
|
|
2205
|
-
};
|
|
2206
|
-
const se_Ec2SecurityGroupArnList = (input, context) => {
|
|
2207
|
-
return input
|
|
2208
|
-
.filter((e) => e != null)
|
|
2209
|
-
.map((entry) => {
|
|
2210
|
-
return entry;
|
|
2211
|
-
});
|
|
2212
|
-
};
|
|
2213
|
-
const se_FilterList = (input, context) => {
|
|
2214
|
-
return input
|
|
2215
|
-
.filter((e) => e != null)
|
|
2216
|
-
.map((entry) => {
|
|
2217
|
-
return se_FilterRule(entry, context);
|
|
2218
|
-
});
|
|
2219
|
-
};
|
|
2220
|
-
const se_FilterRule = (input, context) => {
|
|
2221
|
-
return {
|
|
2222
|
-
...(input.FilterType != null && { FilterType: input.FilterType }),
|
|
2223
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2224
|
-
};
|
|
2225
|
-
};
|
|
2226
|
-
const se_FilterValues = (input, context) => {
|
|
2227
|
-
return input
|
|
2228
|
-
.filter((e) => e != null)
|
|
2229
|
-
.map((entry) => {
|
|
2230
|
-
return entry;
|
|
2231
|
-
});
|
|
2232
|
-
};
|
|
2233
|
-
const se_FsxProtocol = (input, context) => {
|
|
2234
|
-
return {
|
|
2235
|
-
...(input.NFS != null && { NFS: se_FsxProtocolNfs(input.NFS, context) }),
|
|
2236
|
-
...(input.SMB != null && { SMB: se_FsxProtocolSmb(input.SMB, context) }),
|
|
2237
|
-
};
|
|
2238
|
-
};
|
|
2239
|
-
const se_FsxProtocolNfs = (input, context) => {
|
|
2240
|
-
return {
|
|
2241
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2242
|
-
};
|
|
2243
|
-
};
|
|
2244
|
-
const se_FsxProtocolSmb = (input, context) => {
|
|
2245
|
-
return {
|
|
2246
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2247
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2248
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2249
|
-
...(input.User != null && { User: input.User }),
|
|
2250
|
-
};
|
|
2251
|
-
};
|
|
2252
|
-
const se_HdfsNameNode = (input, context) => {
|
|
2253
|
-
return {
|
|
2254
|
-
...(input.Hostname != null && { Hostname: input.Hostname }),
|
|
2255
|
-
...(input.Port != null && { Port: input.Port }),
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
const se_HdfsNameNodeList = (input, context) => {
|
|
2259
|
-
return input
|
|
2260
|
-
.filter((e) => e != null)
|
|
2261
|
-
.map((entry) => {
|
|
2262
|
-
return se_HdfsNameNode(entry, context);
|
|
2263
|
-
});
|
|
2264
|
-
};
|
|
2265
|
-
const se_InputTagList = (input, context) => {
|
|
2266
|
-
return input
|
|
2267
|
-
.filter((e) => e != null)
|
|
2268
|
-
.map((entry) => {
|
|
2269
|
-
return se_TagListEntry(entry, context);
|
|
2270
|
-
});
|
|
2271
|
-
};
|
|
2272
|
-
const se_ListAgentsRequest = (input, context) => {
|
|
2273
|
-
return {
|
|
2274
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2275
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2276
|
-
};
|
|
2277
|
-
};
|
|
2278
|
-
const se_ListLocationsRequest = (input, context) => {
|
|
2279
|
-
return {
|
|
2280
|
-
...(input.Filters != null && { Filters: se_LocationFilters(input.Filters, context) }),
|
|
2281
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2282
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2286
|
-
return {
|
|
2287
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2288
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2289
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2290
|
-
};
|
|
2291
|
-
};
|
|
2292
|
-
const se_ListTaskExecutionsRequest = (input, context) => {
|
|
2293
|
-
return {
|
|
2294
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2295
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2296
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
|
-
const se_ListTasksRequest = (input, context) => {
|
|
2300
|
-
return {
|
|
2301
|
-
...(input.Filters != null && { Filters: se_TaskFilters(input.Filters, context) }),
|
|
2302
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2303
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
const se_LocationFilter = (input, context) => {
|
|
2307
|
-
return {
|
|
2308
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2309
|
-
...(input.Operator != null && { Operator: input.Operator }),
|
|
2310
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2311
|
-
};
|
|
2312
|
-
};
|
|
2313
|
-
const se_LocationFilters = (input, context) => {
|
|
2314
|
-
return input
|
|
2315
|
-
.filter((e) => e != null)
|
|
2316
|
-
.map((entry) => {
|
|
2317
|
-
return se_LocationFilter(entry, context);
|
|
1920
|
+
return (0, smithy_client_1.take)(input, {
|
|
1921
|
+
AgentArns: smithy_client_1._json,
|
|
1922
|
+
AuthenticationType: [],
|
|
1923
|
+
BlockSize: [],
|
|
1924
|
+
KerberosKeytab: context.base64Encoder,
|
|
1925
|
+
KerberosKrb5Conf: context.base64Encoder,
|
|
1926
|
+
KerberosPrincipal: [],
|
|
1927
|
+
KmsKeyProviderUri: [],
|
|
1928
|
+
NameNodes: smithy_client_1._json,
|
|
1929
|
+
QopConfiguration: smithy_client_1._json,
|
|
1930
|
+
ReplicationFactor: [],
|
|
1931
|
+
SimpleUser: [],
|
|
1932
|
+
Subdirectory: [],
|
|
1933
|
+
Tags: smithy_client_1._json,
|
|
2318
1934
|
});
|
|
2319
1935
|
};
|
|
2320
|
-
const
|
|
2321
|
-
return {
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
...(input.Atime != null && { Atime: input.Atime }),
|
|
2333
|
-
...(input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond }),
|
|
2334
|
-
...(input.Gid != null && { Gid: input.Gid }),
|
|
2335
|
-
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
2336
|
-
...(input.Mtime != null && { Mtime: input.Mtime }),
|
|
2337
|
-
...(input.ObjectTags != null && { ObjectTags: input.ObjectTags }),
|
|
2338
|
-
...(input.OverwriteMode != null && { OverwriteMode: input.OverwriteMode }),
|
|
2339
|
-
...(input.PosixPermissions != null && { PosixPermissions: input.PosixPermissions }),
|
|
2340
|
-
...(input.PreserveDeletedFiles != null && { PreserveDeletedFiles: input.PreserveDeletedFiles }),
|
|
2341
|
-
...(input.PreserveDevices != null && { PreserveDevices: input.PreserveDevices }),
|
|
2342
|
-
...(input.SecurityDescriptorCopyFlags != null && {
|
|
2343
|
-
SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags,
|
|
2344
|
-
}),
|
|
2345
|
-
...(input.TaskQueueing != null && { TaskQueueing: input.TaskQueueing }),
|
|
2346
|
-
...(input.TransferMode != null && { TransferMode: input.TransferMode }),
|
|
2347
|
-
...(input.Uid != null && { Uid: input.Uid }),
|
|
2348
|
-
...(input.VerifyMode != null && { VerifyMode: input.VerifyMode }),
|
|
2349
|
-
};
|
|
2350
|
-
};
|
|
2351
|
-
const se_PLSecurityGroupArnList = (input, context) => {
|
|
2352
|
-
return input
|
|
2353
|
-
.filter((e) => e != null)
|
|
2354
|
-
.map((entry) => {
|
|
2355
|
-
return entry;
|
|
2356
|
-
});
|
|
2357
|
-
};
|
|
2358
|
-
const se_PLSubnetArnList = (input, context) => {
|
|
2359
|
-
return input
|
|
2360
|
-
.filter((e) => e != null)
|
|
2361
|
-
.map((entry) => {
|
|
2362
|
-
return entry;
|
|
2363
|
-
});
|
|
2364
|
-
};
|
|
2365
|
-
const se_QopConfiguration = (input, context) => {
|
|
2366
|
-
return {
|
|
2367
|
-
...(input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection }),
|
|
2368
|
-
...(input.RpcProtection != null && { RpcProtection: input.RpcProtection }),
|
|
2369
|
-
};
|
|
2370
|
-
};
|
|
2371
|
-
const se_S3Config = (input, context) => {
|
|
2372
|
-
return {
|
|
2373
|
-
...(input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }),
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
const se_SmbMountOptions = (input, context) => {
|
|
2377
|
-
return {
|
|
2378
|
-
...(input.Version != null && { Version: input.Version }),
|
|
2379
|
-
};
|
|
2380
|
-
};
|
|
2381
|
-
const se_StartTaskExecutionRequest = (input, context) => {
|
|
2382
|
-
return {
|
|
2383
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2384
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2385
|
-
...(input.OverrideOptions != null && { OverrideOptions: se_Options(input.OverrideOptions, context) }),
|
|
2386
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2387
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2388
|
-
};
|
|
2389
|
-
};
|
|
2390
|
-
const se_TagKeyList = (input, context) => {
|
|
2391
|
-
return input
|
|
2392
|
-
.filter((e) => e != null)
|
|
2393
|
-
.map((entry) => {
|
|
2394
|
-
return entry;
|
|
2395
|
-
});
|
|
2396
|
-
};
|
|
2397
|
-
const se_TagListEntry = (input, context) => {
|
|
2398
|
-
return {
|
|
2399
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2400
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2401
|
-
};
|
|
2402
|
-
};
|
|
2403
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2404
|
-
return {
|
|
2405
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2406
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2407
|
-
};
|
|
2408
|
-
};
|
|
2409
|
-
const se_TaskFilter = (input, context) => {
|
|
2410
|
-
return {
|
|
2411
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2412
|
-
...(input.Operator != null && { Operator: input.Operator }),
|
|
2413
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2414
|
-
};
|
|
2415
|
-
};
|
|
2416
|
-
const se_TaskFilters = (input, context) => {
|
|
2417
|
-
return input
|
|
2418
|
-
.filter((e) => e != null)
|
|
2419
|
-
.map((entry) => {
|
|
2420
|
-
return se_TaskFilter(entry, context);
|
|
1936
|
+
const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
1937
|
+
return (0, smithy_client_1.take)(input, {
|
|
1938
|
+
AccessKey: [],
|
|
1939
|
+
AgentArns: smithy_client_1._json,
|
|
1940
|
+
BucketName: [],
|
|
1941
|
+
SecretKey: [],
|
|
1942
|
+
ServerCertificate: context.base64Encoder,
|
|
1943
|
+
ServerHostname: [],
|
|
1944
|
+
ServerPort: [],
|
|
1945
|
+
ServerProtocol: [],
|
|
1946
|
+
Subdirectory: [],
|
|
1947
|
+
Tags: smithy_client_1._json,
|
|
2421
1948
|
});
|
|
2422
1949
|
};
|
|
2423
|
-
const se_TaskSchedule = (input, context) => {
|
|
2424
|
-
return {
|
|
2425
|
-
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
2426
|
-
};
|
|
2427
|
-
};
|
|
2428
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2429
|
-
return {
|
|
2430
|
-
...(input.Keys != null && { Keys: se_TagKeyList(input.Keys, context) }),
|
|
2431
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2432
|
-
};
|
|
2433
|
-
};
|
|
2434
|
-
const se_UpdateAgentRequest = (input, context) => {
|
|
2435
|
-
return {
|
|
2436
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2437
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2438
|
-
};
|
|
2439
|
-
};
|
|
2440
1950
|
const se_UpdateLocationHdfsRequest = (input, context) => {
|
|
2441
|
-
return {
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
};
|
|
2456
|
-
};
|
|
2457
|
-
const se_UpdateLocationNfsRequest = (input, context) => {
|
|
2458
|
-
return {
|
|
2459
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2460
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2461
|
-
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
2462
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2463
|
-
};
|
|
1951
|
+
return (0, smithy_client_1.take)(input, {
|
|
1952
|
+
AgentArns: smithy_client_1._json,
|
|
1953
|
+
AuthenticationType: [],
|
|
1954
|
+
BlockSize: [],
|
|
1955
|
+
KerberosKeytab: context.base64Encoder,
|
|
1956
|
+
KerberosKrb5Conf: context.base64Encoder,
|
|
1957
|
+
KerberosPrincipal: [],
|
|
1958
|
+
KmsKeyProviderUri: [],
|
|
1959
|
+
LocationArn: [],
|
|
1960
|
+
NameNodes: smithy_client_1._json,
|
|
1961
|
+
QopConfiguration: smithy_client_1._json,
|
|
1962
|
+
ReplicationFactor: [],
|
|
1963
|
+
SimpleUser: [],
|
|
1964
|
+
Subdirectory: [],
|
|
1965
|
+
});
|
|
2464
1966
|
};
|
|
2465
1967
|
const se_UpdateLocationObjectStorageRequest = (input, context) => {
|
|
2466
|
-
return {
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
};
|
|
2476
|
-
};
|
|
2477
|
-
const se_UpdateLocationSmbRequest = (input, context) => {
|
|
2478
|
-
return {
|
|
2479
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2480
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2481
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2482
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2483
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2484
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2485
|
-
...(input.User != null && { User: input.User }),
|
|
2486
|
-
};
|
|
2487
|
-
};
|
|
2488
|
-
const se_UpdateTaskExecutionRequest = (input, context) => {
|
|
2489
|
-
return {
|
|
2490
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2491
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2492
|
-
};
|
|
2493
|
-
};
|
|
2494
|
-
const se_UpdateTaskRequest = (input, context) => {
|
|
2495
|
-
return {
|
|
2496
|
-
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2497
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2498
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2499
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2500
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2501
|
-
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2502
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2503
|
-
};
|
|
2504
|
-
};
|
|
2505
|
-
const de_AgentArnList = (output, context) => {
|
|
2506
|
-
const retVal = (output || [])
|
|
2507
|
-
.filter((e) => e != null)
|
|
2508
|
-
.map((entry) => {
|
|
2509
|
-
if (entry === null) {
|
|
2510
|
-
return null;
|
|
2511
|
-
}
|
|
2512
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2513
|
-
});
|
|
2514
|
-
return retVal;
|
|
2515
|
-
};
|
|
2516
|
-
const de_AgentList = (output, context) => {
|
|
2517
|
-
const retVal = (output || [])
|
|
2518
|
-
.filter((e) => e != null)
|
|
2519
|
-
.map((entry) => {
|
|
2520
|
-
if (entry === null) {
|
|
2521
|
-
return null;
|
|
2522
|
-
}
|
|
2523
|
-
return de_AgentListEntry(entry, context);
|
|
1968
|
+
return (0, smithy_client_1.take)(input, {
|
|
1969
|
+
AccessKey: [],
|
|
1970
|
+
AgentArns: smithy_client_1._json,
|
|
1971
|
+
LocationArn: [],
|
|
1972
|
+
SecretKey: [],
|
|
1973
|
+
ServerCertificate: context.base64Encoder,
|
|
1974
|
+
ServerPort: [],
|
|
1975
|
+
ServerProtocol: [],
|
|
1976
|
+
Subdirectory: [],
|
|
2524
1977
|
});
|
|
2525
|
-
return retVal;
|
|
2526
|
-
};
|
|
2527
|
-
const de_AgentListEntry = (output, context) => {
|
|
2528
|
-
return {
|
|
2529
|
-
AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
|
|
2530
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2531
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2532
|
-
};
|
|
2533
|
-
};
|
|
2534
|
-
const de_CancelTaskExecutionResponse = (output, context) => {
|
|
2535
|
-
return {};
|
|
2536
|
-
};
|
|
2537
|
-
const de_CreateAgentResponse = (output, context) => {
|
|
2538
|
-
return {
|
|
2539
|
-
AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
|
|
2540
|
-
};
|
|
2541
|
-
};
|
|
2542
|
-
const de_CreateLocationEfsResponse = (output, context) => {
|
|
2543
|
-
return {
|
|
2544
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
const de_CreateLocationFsxLustreResponse = (output, context) => {
|
|
2548
|
-
return {
|
|
2549
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2550
|
-
};
|
|
2551
|
-
};
|
|
2552
|
-
const de_CreateLocationFsxOntapResponse = (output, context) => {
|
|
2553
|
-
return {
|
|
2554
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
const de_CreateLocationFsxOpenZfsResponse = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2560
|
-
};
|
|
2561
|
-
};
|
|
2562
|
-
const de_CreateLocationFsxWindowsResponse = (output, context) => {
|
|
2563
|
-
return {
|
|
2564
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
const de_CreateLocationHdfsResponse = (output, context) => {
|
|
2568
|
-
return {
|
|
2569
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2570
|
-
};
|
|
2571
|
-
};
|
|
2572
|
-
const de_CreateLocationNfsResponse = (output, context) => {
|
|
2573
|
-
return {
|
|
2574
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2575
|
-
};
|
|
2576
|
-
};
|
|
2577
|
-
const de_CreateLocationObjectStorageResponse = (output, context) => {
|
|
2578
|
-
return {
|
|
2579
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2580
|
-
};
|
|
2581
|
-
};
|
|
2582
|
-
const de_CreateLocationS3Response = (output, context) => {
|
|
2583
|
-
return {
|
|
2584
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2585
|
-
};
|
|
2586
|
-
};
|
|
2587
|
-
const de_CreateLocationSmbResponse = (output, context) => {
|
|
2588
|
-
return {
|
|
2589
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2590
|
-
};
|
|
2591
|
-
};
|
|
2592
|
-
const de_CreateTaskResponse = (output, context) => {
|
|
2593
|
-
return {
|
|
2594
|
-
TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
|
|
2595
|
-
};
|
|
2596
|
-
};
|
|
2597
|
-
const de_DeleteAgentResponse = (output, context) => {
|
|
2598
|
-
return {};
|
|
2599
|
-
};
|
|
2600
|
-
const de_DeleteLocationResponse = (output, context) => {
|
|
2601
|
-
return {};
|
|
2602
|
-
};
|
|
2603
|
-
const de_DeleteTaskResponse = (output, context) => {
|
|
2604
|
-
return {};
|
|
2605
1978
|
};
|
|
2606
1979
|
const de_DescribeAgentResponse = (output, context) => {
|
|
2607
|
-
return {
|
|
2608
|
-
AgentArn:
|
|
2609
|
-
CreationTime:
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2617
|
-
PrivateLinkConfig: output.PrivateLinkConfig != null ? de_PrivateLinkConfig(output.PrivateLinkConfig, context) : undefined,
|
|
2618
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2619
|
-
};
|
|
1980
|
+
return (0, smithy_client_1.take)(output, {
|
|
1981
|
+
AgentArn: smithy_client_1.expectString,
|
|
1982
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1983
|
+
EndpointType: smithy_client_1.expectString,
|
|
1984
|
+
LastConnectionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1985
|
+
Name: smithy_client_1.expectString,
|
|
1986
|
+
PrivateLinkConfig: smithy_client_1._json,
|
|
1987
|
+
Status: smithy_client_1.expectString,
|
|
1988
|
+
});
|
|
2620
1989
|
};
|
|
2621
1990
|
const de_DescribeLocationEfsResponse = (output, context) => {
|
|
2622
|
-
return {
|
|
2623
|
-
AccessPointArn:
|
|
2624
|
-
CreationTime:
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2632
|
-
};
|
|
1991
|
+
return (0, smithy_client_1.take)(output, {
|
|
1992
|
+
AccessPointArn: smithy_client_1.expectString,
|
|
1993
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1994
|
+
Ec2Config: smithy_client_1._json,
|
|
1995
|
+
FileSystemAccessRoleArn: smithy_client_1.expectString,
|
|
1996
|
+
InTransitEncryption: smithy_client_1.expectString,
|
|
1997
|
+
LocationArn: smithy_client_1.expectString,
|
|
1998
|
+
LocationUri: smithy_client_1.expectString,
|
|
1999
|
+
});
|
|
2633
2000
|
};
|
|
2634
2001
|
const de_DescribeLocationFsxLustreResponse = (output, context) => {
|
|
2635
|
-
return {
|
|
2636
|
-
CreationTime:
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2642
|
-
};
|
|
2002
|
+
return (0, smithy_client_1.take)(output, {
|
|
2003
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2004
|
+
LocationArn: smithy_client_1.expectString,
|
|
2005
|
+
LocationUri: smithy_client_1.expectString,
|
|
2006
|
+
SecurityGroupArns: smithy_client_1._json,
|
|
2007
|
+
});
|
|
2643
2008
|
};
|
|
2644
2009
|
const de_DescribeLocationFsxOntapResponse = (output, context) => {
|
|
2645
|
-
return {
|
|
2646
|
-
CreationTime:
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
StorageVirtualMachineArn: (0, smithy_client_1.expectString)(output.StorageVirtualMachineArn),
|
|
2655
|
-
};
|
|
2010
|
+
return (0, smithy_client_1.take)(output, {
|
|
2011
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2012
|
+
FsxFilesystemArn: smithy_client_1.expectString,
|
|
2013
|
+
LocationArn: smithy_client_1.expectString,
|
|
2014
|
+
LocationUri: smithy_client_1.expectString,
|
|
2015
|
+
Protocol: smithy_client_1._json,
|
|
2016
|
+
SecurityGroupArns: smithy_client_1._json,
|
|
2017
|
+
StorageVirtualMachineArn: smithy_client_1.expectString,
|
|
2018
|
+
});
|
|
2656
2019
|
};
|
|
2657
2020
|
const de_DescribeLocationFsxOpenZfsResponse = (output, context) => {
|
|
2658
|
-
return {
|
|
2659
|
-
CreationTime:
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2666
|
-
};
|
|
2021
|
+
return (0, smithy_client_1.take)(output, {
|
|
2022
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2023
|
+
LocationArn: smithy_client_1.expectString,
|
|
2024
|
+
LocationUri: smithy_client_1.expectString,
|
|
2025
|
+
Protocol: smithy_client_1._json,
|
|
2026
|
+
SecurityGroupArns: smithy_client_1._json,
|
|
2027
|
+
});
|
|
2667
2028
|
};
|
|
2668
2029
|
const de_DescribeLocationFsxWindowsResponse = (output, context) => {
|
|
2669
|
-
return {
|
|
2670
|
-
CreationTime:
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2677
|
-
User: (0, smithy_client_1.expectString)(output.User),
|
|
2678
|
-
};
|
|
2679
|
-
};
|
|
2680
|
-
const de_DescribeLocationHdfsResponse = (output, context) => {
|
|
2681
|
-
return {
|
|
2682
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2683
|
-
AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
|
|
2684
|
-
BlockSize: (0, smithy_client_1.expectInt32)(output.BlockSize),
|
|
2685
|
-
CreationTime: output.CreationTime != null
|
|
2686
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2687
|
-
: undefined,
|
|
2688
|
-
KerberosPrincipal: (0, smithy_client_1.expectString)(output.KerberosPrincipal),
|
|
2689
|
-
KmsKeyProviderUri: (0, smithy_client_1.expectString)(output.KmsKeyProviderUri),
|
|
2690
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2691
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2692
|
-
NameNodes: output.NameNodes != null ? de_HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
2693
|
-
QopConfiguration: output.QopConfiguration != null ? de_QopConfiguration(output.QopConfiguration, context) : undefined,
|
|
2694
|
-
ReplicationFactor: (0, smithy_client_1.expectInt32)(output.ReplicationFactor),
|
|
2695
|
-
SimpleUser: (0, smithy_client_1.expectString)(output.SimpleUser),
|
|
2696
|
-
};
|
|
2697
|
-
};
|
|
2698
|
-
const de_DescribeLocationNfsResponse = (output, context) => {
|
|
2699
|
-
return {
|
|
2700
|
-
CreationTime: output.CreationTime != null
|
|
2701
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2702
|
-
: undefined,
|
|
2703
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2704
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2705
|
-
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2706
|
-
OnPremConfig: output.OnPremConfig != null ? de_OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
2710
|
-
return {
|
|
2711
|
-
AccessKey: (0, smithy_client_1.expectString)(output.AccessKey),
|
|
2712
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2713
|
-
CreationTime: output.CreationTime != null
|
|
2714
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2715
|
-
: undefined,
|
|
2716
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2717
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2718
|
-
ServerCertificate: output.ServerCertificate != null ? context.base64Decoder(output.ServerCertificate) : undefined,
|
|
2719
|
-
ServerPort: (0, smithy_client_1.expectInt32)(output.ServerPort),
|
|
2720
|
-
ServerProtocol: (0, smithy_client_1.expectString)(output.ServerProtocol),
|
|
2721
|
-
};
|
|
2722
|
-
};
|
|
2723
|
-
const de_DescribeLocationS3Response = (output, context) => {
|
|
2724
|
-
return {
|
|
2725
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2726
|
-
CreationTime: output.CreationTime != null
|
|
2727
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2728
|
-
: undefined,
|
|
2729
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2730
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2731
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
2732
|
-
S3StorageClass: (0, smithy_client_1.expectString)(output.S3StorageClass),
|
|
2733
|
-
};
|
|
2734
|
-
};
|
|
2735
|
-
const de_DescribeLocationSmbResponse = (output, context) => {
|
|
2736
|
-
return {
|
|
2737
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2738
|
-
CreationTime: output.CreationTime != null
|
|
2739
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2740
|
-
: undefined,
|
|
2741
|
-
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
2742
|
-
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
2743
|
-
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
2744
|
-
MountOptions: output.MountOptions != null ? de_SmbMountOptions(output.MountOptions, context) : undefined,
|
|
2745
|
-
User: (0, smithy_client_1.expectString)(output.User),
|
|
2746
|
-
};
|
|
2747
|
-
};
|
|
2748
|
-
const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
2749
|
-
return {
|
|
2750
|
-
BytesCompressed: (0, smithy_client_1.expectLong)(output.BytesCompressed),
|
|
2751
|
-
BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
|
|
2752
|
-
BytesWritten: (0, smithy_client_1.expectLong)(output.BytesWritten),
|
|
2753
|
-
EstimatedBytesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedBytesToTransfer),
|
|
2754
|
-
EstimatedFilesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedFilesToTransfer),
|
|
2755
|
-
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2756
|
-
FilesTransferred: (0, smithy_client_1.expectLong)(output.FilesTransferred),
|
|
2757
|
-
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2758
|
-
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2759
|
-
Result: output.Result != null ? de_TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
2760
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
2761
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2762
|
-
TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
const de_DescribeTaskResponse = (output, context) => {
|
|
2766
|
-
return {
|
|
2767
|
-
CloudWatchLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogGroupArn),
|
|
2768
|
-
CreationTime: output.CreationTime != null
|
|
2769
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2770
|
-
: undefined,
|
|
2771
|
-
CurrentTaskExecutionArn: (0, smithy_client_1.expectString)(output.CurrentTaskExecutionArn),
|
|
2772
|
-
DestinationLocationArn: (0, smithy_client_1.expectString)(output.DestinationLocationArn),
|
|
2773
|
-
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
2774
|
-
? de_DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
2775
|
-
: undefined,
|
|
2776
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
2777
|
-
ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
|
|
2778
|
-
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2779
|
-
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2780
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2781
|
-
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2782
|
-
Schedule: output.Schedule != null ? de_TaskSchedule(output.Schedule, context) : undefined,
|
|
2783
|
-
SourceLocationArn: (0, smithy_client_1.expectString)(output.SourceLocationArn),
|
|
2784
|
-
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
2785
|
-
? de_SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
2786
|
-
: undefined,
|
|
2787
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2788
|
-
TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
|
|
2789
|
-
};
|
|
2790
|
-
};
|
|
2791
|
-
const de_DestinationNetworkInterfaceArns = (output, context) => {
|
|
2792
|
-
const retVal = (output || [])
|
|
2793
|
-
.filter((e) => e != null)
|
|
2794
|
-
.map((entry) => {
|
|
2795
|
-
if (entry === null) {
|
|
2796
|
-
return null;
|
|
2797
|
-
}
|
|
2798
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2030
|
+
return (0, smithy_client_1.take)(output, {
|
|
2031
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2032
|
+
Domain: smithy_client_1.expectString,
|
|
2033
|
+
LocationArn: smithy_client_1.expectString,
|
|
2034
|
+
LocationUri: smithy_client_1.expectString,
|
|
2035
|
+
SecurityGroupArns: smithy_client_1._json,
|
|
2036
|
+
User: smithy_client_1.expectString,
|
|
2799
2037
|
});
|
|
2800
|
-
return retVal;
|
|
2801
|
-
};
|
|
2802
|
-
const de_Ec2Config = (output, context) => {
|
|
2803
|
-
return {
|
|
2804
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2805
|
-
SubnetArn: (0, smithy_client_1.expectString)(output.SubnetArn),
|
|
2806
|
-
};
|
|
2807
2038
|
};
|
|
2808
|
-
const
|
|
2809
|
-
|
|
2810
|
-
.
|
|
2811
|
-
.
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
.
|
|
2822
|
-
.map((entry) => {
|
|
2823
|
-
if (entry === null) {
|
|
2824
|
-
return null;
|
|
2825
|
-
}
|
|
2826
|
-
return de_FilterRule(entry, context);
|
|
2039
|
+
const de_DescribeLocationHdfsResponse = (output, context) => {
|
|
2040
|
+
return (0, smithy_client_1.take)(output, {
|
|
2041
|
+
AgentArns: smithy_client_1._json,
|
|
2042
|
+
AuthenticationType: smithy_client_1.expectString,
|
|
2043
|
+
BlockSize: smithy_client_1.expectInt32,
|
|
2044
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2045
|
+
KerberosPrincipal: smithy_client_1.expectString,
|
|
2046
|
+
KmsKeyProviderUri: smithy_client_1.expectString,
|
|
2047
|
+
LocationArn: smithy_client_1.expectString,
|
|
2048
|
+
LocationUri: smithy_client_1.expectString,
|
|
2049
|
+
NameNodes: smithy_client_1._json,
|
|
2050
|
+
QopConfiguration: smithy_client_1._json,
|
|
2051
|
+
ReplicationFactor: smithy_client_1.expectInt32,
|
|
2052
|
+
SimpleUser: smithy_client_1.expectString,
|
|
2827
2053
|
});
|
|
2828
|
-
return retVal;
|
|
2829
|
-
};
|
|
2830
|
-
const de_FilterRule = (output, context) => {
|
|
2831
|
-
return {
|
|
2832
|
-
FilterType: (0, smithy_client_1.expectString)(output.FilterType),
|
|
2833
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
const de_FsxProtocol = (output, context) => {
|
|
2837
|
-
return {
|
|
2838
|
-
NFS: output.NFS != null ? de_FsxProtocolNfs(output.NFS, context) : undefined,
|
|
2839
|
-
SMB: output.SMB != null ? de_FsxProtocolSmb(output.SMB, context) : undefined,
|
|
2840
|
-
};
|
|
2841
|
-
};
|
|
2842
|
-
const de_FsxProtocolNfs = (output, context) => {
|
|
2843
|
-
return {
|
|
2844
|
-
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2845
|
-
};
|
|
2846
2054
|
};
|
|
2847
|
-
const
|
|
2848
|
-
return {
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
};
|
|
2855
|
-
const de_HdfsNameNode = (output, context) => {
|
|
2856
|
-
return {
|
|
2857
|
-
Hostname: (0, smithy_client_1.expectString)(output.Hostname),
|
|
2858
|
-
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
2859
|
-
};
|
|
2860
|
-
};
|
|
2861
|
-
const de_HdfsNameNodeList = (output, context) => {
|
|
2862
|
-
const retVal = (output || [])
|
|
2863
|
-
.filter((e) => e != null)
|
|
2864
|
-
.map((entry) => {
|
|
2865
|
-
if (entry === null) {
|
|
2866
|
-
return null;
|
|
2867
|
-
}
|
|
2868
|
-
return de_HdfsNameNode(entry, context);
|
|
2055
|
+
const de_DescribeLocationNfsResponse = (output, context) => {
|
|
2056
|
+
return (0, smithy_client_1.take)(output, {
|
|
2057
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2058
|
+
LocationArn: smithy_client_1.expectString,
|
|
2059
|
+
LocationUri: smithy_client_1.expectString,
|
|
2060
|
+
MountOptions: smithy_client_1._json,
|
|
2061
|
+
OnPremConfig: smithy_client_1._json,
|
|
2869
2062
|
});
|
|
2870
|
-
return retVal;
|
|
2871
|
-
};
|
|
2872
|
-
const de_InternalException = (output, context) => {
|
|
2873
|
-
return {
|
|
2874
|
-
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
2875
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2876
|
-
};
|
|
2877
|
-
};
|
|
2878
|
-
const de_InvalidRequestException = (output, context) => {
|
|
2879
|
-
return {
|
|
2880
|
-
datasyncErrorCode: (0, smithy_client_1.expectString)(output.datasyncErrorCode),
|
|
2881
|
-
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
2882
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const de_ListAgentsResponse = (output, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
Agents: output.Agents != null ? de_AgentList(output.Agents, context) : undefined,
|
|
2888
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2889
|
-
};
|
|
2890
|
-
};
|
|
2891
|
-
const de_ListLocationsResponse = (output, context) => {
|
|
2892
|
-
return {
|
|
2893
|
-
Locations: output.Locations != null ? de_LocationList(output.Locations, context) : undefined,
|
|
2894
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2898
|
-
return {
|
|
2899
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2900
|
-
Tags: output.Tags != null ? de_OutputTagList(output.Tags, context) : undefined,
|
|
2901
|
-
};
|
|
2902
|
-
};
|
|
2903
|
-
const de_ListTaskExecutionsResponse = (output, context) => {
|
|
2904
|
-
return {
|
|
2905
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2906
|
-
TaskExecutions: output.TaskExecutions != null ? de_TaskExecutionList(output.TaskExecutions, context) : undefined,
|
|
2907
|
-
};
|
|
2908
|
-
};
|
|
2909
|
-
const de_ListTasksResponse = (output, context) => {
|
|
2910
|
-
return {
|
|
2911
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2912
|
-
Tasks: output.Tasks != null ? de_TaskList(output.Tasks, context) : undefined,
|
|
2913
|
-
};
|
|
2914
2063
|
};
|
|
2915
|
-
const
|
|
2916
|
-
|
|
2917
|
-
.
|
|
2918
|
-
.
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2064
|
+
const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
2065
|
+
return (0, smithy_client_1.take)(output, {
|
|
2066
|
+
AccessKey: smithy_client_1.expectString,
|
|
2067
|
+
AgentArns: smithy_client_1._json,
|
|
2068
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2069
|
+
LocationArn: smithy_client_1.expectString,
|
|
2070
|
+
LocationUri: smithy_client_1.expectString,
|
|
2071
|
+
ServerCertificate: context.base64Decoder,
|
|
2072
|
+
ServerPort: smithy_client_1.expectInt32,
|
|
2073
|
+
ServerProtocol: smithy_client_1.expectString,
|
|
2923
2074
|
});
|
|
2924
|
-
return retVal;
|
|
2925
2075
|
};
|
|
2926
|
-
const
|
|
2927
|
-
return {
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
2935
|
-
};
|
|
2936
|
-
};
|
|
2937
|
-
const de_OnPremConfig = (output, context) => {
|
|
2938
|
-
return {
|
|
2939
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2940
|
-
};
|
|
2941
|
-
};
|
|
2942
|
-
const de_Options = (output, context) => {
|
|
2943
|
-
return {
|
|
2944
|
-
Atime: (0, smithy_client_1.expectString)(output.Atime),
|
|
2945
|
-
BytesPerSecond: (0, smithy_client_1.expectLong)(output.BytesPerSecond),
|
|
2946
|
-
Gid: (0, smithy_client_1.expectString)(output.Gid),
|
|
2947
|
-
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
2948
|
-
Mtime: (0, smithy_client_1.expectString)(output.Mtime),
|
|
2949
|
-
ObjectTags: (0, smithy_client_1.expectString)(output.ObjectTags),
|
|
2950
|
-
OverwriteMode: (0, smithy_client_1.expectString)(output.OverwriteMode),
|
|
2951
|
-
PosixPermissions: (0, smithy_client_1.expectString)(output.PosixPermissions),
|
|
2952
|
-
PreserveDeletedFiles: (0, smithy_client_1.expectString)(output.PreserveDeletedFiles),
|
|
2953
|
-
PreserveDevices: (0, smithy_client_1.expectString)(output.PreserveDevices),
|
|
2954
|
-
SecurityDescriptorCopyFlags: (0, smithy_client_1.expectString)(output.SecurityDescriptorCopyFlags),
|
|
2955
|
-
TaskQueueing: (0, smithy_client_1.expectString)(output.TaskQueueing),
|
|
2956
|
-
TransferMode: (0, smithy_client_1.expectString)(output.TransferMode),
|
|
2957
|
-
Uid: (0, smithy_client_1.expectString)(output.Uid),
|
|
2958
|
-
VerifyMode: (0, smithy_client_1.expectString)(output.VerifyMode),
|
|
2959
|
-
};
|
|
2960
|
-
};
|
|
2961
|
-
const de_OutputTagList = (output, context) => {
|
|
2962
|
-
const retVal = (output || [])
|
|
2963
|
-
.filter((e) => e != null)
|
|
2964
|
-
.map((entry) => {
|
|
2965
|
-
if (entry === null) {
|
|
2966
|
-
return null;
|
|
2967
|
-
}
|
|
2968
|
-
return de_TagListEntry(entry, context);
|
|
2969
|
-
});
|
|
2970
|
-
return retVal;
|
|
2971
|
-
};
|
|
2972
|
-
const de_PLSecurityGroupArnList = (output, context) => {
|
|
2973
|
-
const retVal = (output || [])
|
|
2974
|
-
.filter((e) => e != null)
|
|
2975
|
-
.map((entry) => {
|
|
2976
|
-
if (entry === null) {
|
|
2977
|
-
return null;
|
|
2978
|
-
}
|
|
2979
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2980
|
-
});
|
|
2981
|
-
return retVal;
|
|
2982
|
-
};
|
|
2983
|
-
const de_PLSubnetArnList = (output, context) => {
|
|
2984
|
-
const retVal = (output || [])
|
|
2985
|
-
.filter((e) => e != null)
|
|
2986
|
-
.map((entry) => {
|
|
2987
|
-
if (entry === null) {
|
|
2988
|
-
return null;
|
|
2989
|
-
}
|
|
2990
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2076
|
+
const de_DescribeLocationS3Response = (output, context) => {
|
|
2077
|
+
return (0, smithy_client_1.take)(output, {
|
|
2078
|
+
AgentArns: smithy_client_1._json,
|
|
2079
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2080
|
+
LocationArn: smithy_client_1.expectString,
|
|
2081
|
+
LocationUri: smithy_client_1.expectString,
|
|
2082
|
+
S3Config: smithy_client_1._json,
|
|
2083
|
+
S3StorageClass: smithy_client_1.expectString,
|
|
2991
2084
|
});
|
|
2992
|
-
return retVal;
|
|
2993
|
-
};
|
|
2994
|
-
const de_PrivateLinkConfig = (output, context) => {
|
|
2995
|
-
return {
|
|
2996
|
-
PrivateLinkEndpoint: (0, smithy_client_1.expectString)(output.PrivateLinkEndpoint),
|
|
2997
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_PLSecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2998
|
-
SubnetArns: output.SubnetArns != null ? de_PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
2999
|
-
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
3000
|
-
};
|
|
3001
2085
|
};
|
|
3002
|
-
const
|
|
3003
|
-
return {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
};
|
|
3012
|
-
};
|
|
3013
|
-
const de_SmbMountOptions = (output, context) => {
|
|
3014
|
-
return {
|
|
3015
|
-
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
3016
|
-
};
|
|
3017
|
-
};
|
|
3018
|
-
const de_SourceNetworkInterfaceArns = (output, context) => {
|
|
3019
|
-
const retVal = (output || [])
|
|
3020
|
-
.filter((e) => e != null)
|
|
3021
|
-
.map((entry) => {
|
|
3022
|
-
if (entry === null) {
|
|
3023
|
-
return null;
|
|
3024
|
-
}
|
|
3025
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2086
|
+
const de_DescribeLocationSmbResponse = (output, context) => {
|
|
2087
|
+
return (0, smithy_client_1.take)(output, {
|
|
2088
|
+
AgentArns: smithy_client_1._json,
|
|
2089
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2090
|
+
Domain: smithy_client_1.expectString,
|
|
2091
|
+
LocationArn: smithy_client_1.expectString,
|
|
2092
|
+
LocationUri: smithy_client_1.expectString,
|
|
2093
|
+
MountOptions: smithy_client_1._json,
|
|
2094
|
+
User: smithy_client_1.expectString,
|
|
3026
2095
|
});
|
|
3027
|
-
return retVal;
|
|
3028
2096
|
};
|
|
3029
|
-
const
|
|
3030
|
-
return {
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
const retVal = (output || [])
|
|
3045
|
-
.filter((e) => e != null)
|
|
3046
|
-
.map((entry) => {
|
|
3047
|
-
if (entry === null) {
|
|
3048
|
-
return null;
|
|
3049
|
-
}
|
|
3050
|
-
return de_TaskExecutionListEntry(entry, context);
|
|
2097
|
+
const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
2098
|
+
return (0, smithy_client_1.take)(output, {
|
|
2099
|
+
BytesCompressed: smithy_client_1.expectLong,
|
|
2100
|
+
BytesTransferred: smithy_client_1.expectLong,
|
|
2101
|
+
BytesWritten: smithy_client_1.expectLong,
|
|
2102
|
+
EstimatedBytesToTransfer: smithy_client_1.expectLong,
|
|
2103
|
+
EstimatedFilesToTransfer: smithy_client_1.expectLong,
|
|
2104
|
+
Excludes: smithy_client_1._json,
|
|
2105
|
+
FilesTransferred: smithy_client_1.expectLong,
|
|
2106
|
+
Includes: smithy_client_1._json,
|
|
2107
|
+
Options: smithy_client_1._json,
|
|
2108
|
+
Result: smithy_client_1._json,
|
|
2109
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2110
|
+
Status: smithy_client_1.expectString,
|
|
2111
|
+
TaskExecutionArn: smithy_client_1.expectString,
|
|
3051
2112
|
});
|
|
3052
|
-
return retVal;
|
|
3053
|
-
};
|
|
3054
|
-
const de_TaskExecutionListEntry = (output, context) => {
|
|
3055
|
-
return {
|
|
3056
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3057
|
-
TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
|
|
3058
|
-
};
|
|
3059
2113
|
};
|
|
3060
|
-
const
|
|
3061
|
-
return {
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
.
|
|
3076
|
-
.
|
|
3077
|
-
|
|
3078
|
-
return null;
|
|
3079
|
-
}
|
|
3080
|
-
return de_TaskListEntry(entry, context);
|
|
2114
|
+
const de_DescribeTaskResponse = (output, context) => {
|
|
2115
|
+
return (0, smithy_client_1.take)(output, {
|
|
2116
|
+
CloudWatchLogGroupArn: smithy_client_1.expectString,
|
|
2117
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2118
|
+
CurrentTaskExecutionArn: smithy_client_1.expectString,
|
|
2119
|
+
DestinationLocationArn: smithy_client_1.expectString,
|
|
2120
|
+
DestinationNetworkInterfaceArns: smithy_client_1._json,
|
|
2121
|
+
ErrorCode: smithy_client_1.expectString,
|
|
2122
|
+
ErrorDetail: smithy_client_1.expectString,
|
|
2123
|
+
Excludes: smithy_client_1._json,
|
|
2124
|
+
Includes: smithy_client_1._json,
|
|
2125
|
+
Name: smithy_client_1.expectString,
|
|
2126
|
+
Options: smithy_client_1._json,
|
|
2127
|
+
Schedule: smithy_client_1._json,
|
|
2128
|
+
SourceLocationArn: smithy_client_1.expectString,
|
|
2129
|
+
SourceNetworkInterfaceArns: smithy_client_1._json,
|
|
2130
|
+
Status: smithy_client_1.expectString,
|
|
2131
|
+
TaskArn: smithy_client_1.expectString,
|
|
3081
2132
|
});
|
|
3082
|
-
return retVal;
|
|
3083
|
-
};
|
|
3084
|
-
const de_TaskListEntry = (output, context) => {
|
|
3085
|
-
return {
|
|
3086
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3087
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3088
|
-
TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
|
|
3089
|
-
};
|
|
3090
|
-
};
|
|
3091
|
-
const de_TaskSchedule = (output, context) => {
|
|
3092
|
-
return {
|
|
3093
|
-
ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
|
|
3094
|
-
};
|
|
3095
|
-
};
|
|
3096
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
3097
|
-
return {};
|
|
3098
|
-
};
|
|
3099
|
-
const de_UpdateAgentResponse = (output, context) => {
|
|
3100
|
-
return {};
|
|
3101
|
-
};
|
|
3102
|
-
const de_UpdateLocationHdfsResponse = (output, context) => {
|
|
3103
|
-
return {};
|
|
3104
|
-
};
|
|
3105
|
-
const de_UpdateLocationNfsResponse = (output, context) => {
|
|
3106
|
-
return {};
|
|
3107
|
-
};
|
|
3108
|
-
const de_UpdateLocationObjectStorageResponse = (output, context) => {
|
|
3109
|
-
return {};
|
|
3110
|
-
};
|
|
3111
|
-
const de_UpdateLocationSmbResponse = (output, context) => {
|
|
3112
|
-
return {};
|
|
3113
|
-
};
|
|
3114
|
-
const de_UpdateTaskExecutionResponse = (output, context) => {
|
|
3115
|
-
return {};
|
|
3116
|
-
};
|
|
3117
|
-
const de_UpdateTaskResponse = (output, context) => {
|
|
3118
|
-
return {};
|
|
3119
2133
|
};
|
|
3120
2134
|
const deserializeMetadata = (output) => ({
|
|
3121
2135
|
httpStatusCode: output.statusCode,
|
|
@@ -3130,6 +2144,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3130
2144
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3131
2145
|
};
|
|
3132
2146
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2147
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(DataSyncServiceException_1.DataSyncServiceException);
|
|
3133
2148
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3134
2149
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3135
2150
|
const contents = {
|