@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
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DataSyncServiceException as __BaseException } from "../models/DataSyncServiceException";
|
|
4
4
|
import { InternalException, InvalidRequestException, } from "../models/models_0";
|
|
5
5
|
export const se_CancelTaskExecutionCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("CancelTaskExecution");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_CreateAgentCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateAgent");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_CreateLocationEfsCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateLocationEfs");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CreateLocationFsxLustreCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateLocationFsxLustre");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreateLocationFsxOntapCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateLocationFsxOntap");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_CreateLocationFsxOpenZfsCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateLocationFsxOpenZfs");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_CreateLocationFsxWindowsCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateLocationFsxWindows");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_CreateLocationHdfsCommand = async (input, context) => {
|
|
@@ -53,7 +53,7 @@ export const se_CreateLocationHdfsCommand = async (input, context) => {
|
|
|
53
53
|
export const se_CreateLocationNfsCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateLocationNfs");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_CreateLocationObjectStorageCommand = async (input, context) => {
|
|
@@ -65,169 +65,169 @@ export const se_CreateLocationObjectStorageCommand = async (input, context) => {
|
|
|
65
65
|
export const se_CreateLocationS3Command = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreateLocationS3");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_CreateLocationSmbCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("CreateLocationSmb");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_CreateTaskCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("CreateTask");
|
|
79
79
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
82
|
};
|
|
83
83
|
export const se_DeleteAgentCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("DeleteAgent");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DeleteLocationCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DeleteLocation");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DeleteTaskCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeleteTask");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_DescribeAgentCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DescribeAgent");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_DescribeLocationEfsCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DescribeLocationEfs");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_DescribeLocationFsxLustreCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("DescribeLocationFsxLustre");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_DescribeLocationFsxOntapCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("DescribeLocationFsxOntap");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_DescribeLocationFsxOpenZfsCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("DescribeLocationFsxOpenZfs");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_DescribeLocationFsxWindowsCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("DescribeLocationFsxWindows");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_DescribeLocationHdfsCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DescribeLocationHdfs");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_DescribeLocationNfsCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DescribeLocationNfs");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_DescribeLocationObjectStorageCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DescribeLocationObjectStorage");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_DescribeLocationS3Command = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("DescribeLocationS3");
|
|
157
157
|
let body;
|
|
158
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
160
|
};
|
|
161
161
|
export const se_DescribeLocationSmbCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("DescribeLocationSmb");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_DescribeTaskCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("DescribeTask");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_DescribeTaskExecutionCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("DescribeTaskExecution");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_ListAgentsCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("ListAgents");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_ListLocationsCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("ListLocations");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("ListTagsForResource");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_ListTaskExecutionsCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("ListTaskExecutions");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_ListTasksCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("ListTasks");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_StartTaskExecutionCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("StartTaskExecution");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const se_TagResourceCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("TagResource");
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
221
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("UntagResource");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
export const se_UpdateAgentCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("UpdateAgent");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify(_json(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
export const se_UpdateLocationHdfsCommand = async (input, context) => {
|
|
@@ -239,7 +239,7 @@ export const se_UpdateLocationHdfsCommand = async (input, context) => {
|
|
|
239
239
|
export const se_UpdateLocationNfsCommand = async (input, context) => {
|
|
240
240
|
const headers = sharedHeaders("UpdateLocationNfs");
|
|
241
241
|
let body;
|
|
242
|
-
body = JSON.stringify(
|
|
242
|
+
body = JSON.stringify(_json(input));
|
|
243
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
244
|
};
|
|
245
245
|
export const se_UpdateLocationObjectStorageCommand = async (input, context) => {
|
|
@@ -251,19 +251,19 @@ export const se_UpdateLocationObjectStorageCommand = async (input, context) => {
|
|
|
251
251
|
export const se_UpdateLocationSmbCommand = async (input, context) => {
|
|
252
252
|
const headers = sharedHeaders("UpdateLocationSmb");
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(_json(input));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
257
|
export const se_UpdateTaskCommand = async (input, context) => {
|
|
258
258
|
const headers = sharedHeaders("UpdateTask");
|
|
259
259
|
let body;
|
|
260
|
-
body = JSON.stringify(
|
|
260
|
+
body = JSON.stringify(_json(input));
|
|
261
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
262
|
};
|
|
263
263
|
export const se_UpdateTaskExecutionCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("UpdateTaskExecution");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify(_json(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
export const de_CancelTaskExecutionCommand = async (output, context) => {
|
|
@@ -272,12 +272,12 @@ export const de_CancelTaskExecutionCommand = async (output, context) => {
|
|
|
272
272
|
}
|
|
273
273
|
const data = await parseBody(output.body, context);
|
|
274
274
|
let contents = {};
|
|
275
|
-
contents =
|
|
275
|
+
contents = _json(data);
|
|
276
276
|
const response = {
|
|
277
277
|
$metadata: deserializeMetadata(output),
|
|
278
278
|
...contents,
|
|
279
279
|
};
|
|
280
|
-
return
|
|
280
|
+
return response;
|
|
281
281
|
};
|
|
282
282
|
const de_CancelTaskExecutionCommandError = async (output, context) => {
|
|
283
283
|
const parsedOutput = {
|
|
@@ -294,10 +294,9 @@ const de_CancelTaskExecutionCommandError = async (output, context) => {
|
|
|
294
294
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
295
295
|
default:
|
|
296
296
|
const parsedBody = parsedOutput.body;
|
|
297
|
-
throwDefaultError({
|
|
297
|
+
return throwDefaultError({
|
|
298
298
|
output,
|
|
299
299
|
parsedBody,
|
|
300
|
-
exceptionCtor: __BaseException,
|
|
301
300
|
errorCode,
|
|
302
301
|
});
|
|
303
302
|
}
|
|
@@ -308,12 +307,12 @@ export const de_CreateAgentCommand = async (output, context) => {
|
|
|
308
307
|
}
|
|
309
308
|
const data = await parseBody(output.body, context);
|
|
310
309
|
let contents = {};
|
|
311
|
-
contents =
|
|
310
|
+
contents = _json(data);
|
|
312
311
|
const response = {
|
|
313
312
|
$metadata: deserializeMetadata(output),
|
|
314
313
|
...contents,
|
|
315
314
|
};
|
|
316
|
-
return
|
|
315
|
+
return response;
|
|
317
316
|
};
|
|
318
317
|
const de_CreateAgentCommandError = async (output, context) => {
|
|
319
318
|
const parsedOutput = {
|
|
@@ -330,10 +329,9 @@ const de_CreateAgentCommandError = async (output, context) => {
|
|
|
330
329
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
331
330
|
default:
|
|
332
331
|
const parsedBody = parsedOutput.body;
|
|
333
|
-
throwDefaultError({
|
|
332
|
+
return throwDefaultError({
|
|
334
333
|
output,
|
|
335
334
|
parsedBody,
|
|
336
|
-
exceptionCtor: __BaseException,
|
|
337
335
|
errorCode,
|
|
338
336
|
});
|
|
339
337
|
}
|
|
@@ -344,12 +342,12 @@ export const de_CreateLocationEfsCommand = async (output, context) => {
|
|
|
344
342
|
}
|
|
345
343
|
const data = await parseBody(output.body, context);
|
|
346
344
|
let contents = {};
|
|
347
|
-
contents =
|
|
345
|
+
contents = _json(data);
|
|
348
346
|
const response = {
|
|
349
347
|
$metadata: deserializeMetadata(output),
|
|
350
348
|
...contents,
|
|
351
349
|
};
|
|
352
|
-
return
|
|
350
|
+
return response;
|
|
353
351
|
};
|
|
354
352
|
const de_CreateLocationEfsCommandError = async (output, context) => {
|
|
355
353
|
const parsedOutput = {
|
|
@@ -366,10 +364,9 @@ const de_CreateLocationEfsCommandError = async (output, context) => {
|
|
|
366
364
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
367
365
|
default:
|
|
368
366
|
const parsedBody = parsedOutput.body;
|
|
369
|
-
throwDefaultError({
|
|
367
|
+
return throwDefaultError({
|
|
370
368
|
output,
|
|
371
369
|
parsedBody,
|
|
372
|
-
exceptionCtor: __BaseException,
|
|
373
370
|
errorCode,
|
|
374
371
|
});
|
|
375
372
|
}
|
|
@@ -380,12 +377,12 @@ export const de_CreateLocationFsxLustreCommand = async (output, context) => {
|
|
|
380
377
|
}
|
|
381
378
|
const data = await parseBody(output.body, context);
|
|
382
379
|
let contents = {};
|
|
383
|
-
contents =
|
|
380
|
+
contents = _json(data);
|
|
384
381
|
const response = {
|
|
385
382
|
$metadata: deserializeMetadata(output),
|
|
386
383
|
...contents,
|
|
387
384
|
};
|
|
388
|
-
return
|
|
385
|
+
return response;
|
|
389
386
|
};
|
|
390
387
|
const de_CreateLocationFsxLustreCommandError = async (output, context) => {
|
|
391
388
|
const parsedOutput = {
|
|
@@ -402,10 +399,9 @@ const de_CreateLocationFsxLustreCommandError = async (output, context) => {
|
|
|
402
399
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
403
400
|
default:
|
|
404
401
|
const parsedBody = parsedOutput.body;
|
|
405
|
-
throwDefaultError({
|
|
402
|
+
return throwDefaultError({
|
|
406
403
|
output,
|
|
407
404
|
parsedBody,
|
|
408
|
-
exceptionCtor: __BaseException,
|
|
409
405
|
errorCode,
|
|
410
406
|
});
|
|
411
407
|
}
|
|
@@ -416,12 +412,12 @@ export const de_CreateLocationFsxOntapCommand = async (output, context) => {
|
|
|
416
412
|
}
|
|
417
413
|
const data = await parseBody(output.body, context);
|
|
418
414
|
let contents = {};
|
|
419
|
-
contents =
|
|
415
|
+
contents = _json(data);
|
|
420
416
|
const response = {
|
|
421
417
|
$metadata: deserializeMetadata(output),
|
|
422
418
|
...contents,
|
|
423
419
|
};
|
|
424
|
-
return
|
|
420
|
+
return response;
|
|
425
421
|
};
|
|
426
422
|
const de_CreateLocationFsxOntapCommandError = async (output, context) => {
|
|
427
423
|
const parsedOutput = {
|
|
@@ -438,10 +434,9 @@ const de_CreateLocationFsxOntapCommandError = async (output, context) => {
|
|
|
438
434
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
439
435
|
default:
|
|
440
436
|
const parsedBody = parsedOutput.body;
|
|
441
|
-
throwDefaultError({
|
|
437
|
+
return throwDefaultError({
|
|
442
438
|
output,
|
|
443
439
|
parsedBody,
|
|
444
|
-
exceptionCtor: __BaseException,
|
|
445
440
|
errorCode,
|
|
446
441
|
});
|
|
447
442
|
}
|
|
@@ -452,12 +447,12 @@ export const de_CreateLocationFsxOpenZfsCommand = async (output, context) => {
|
|
|
452
447
|
}
|
|
453
448
|
const data = await parseBody(output.body, context);
|
|
454
449
|
let contents = {};
|
|
455
|
-
contents =
|
|
450
|
+
contents = _json(data);
|
|
456
451
|
const response = {
|
|
457
452
|
$metadata: deserializeMetadata(output),
|
|
458
453
|
...contents,
|
|
459
454
|
};
|
|
460
|
-
return
|
|
455
|
+
return response;
|
|
461
456
|
};
|
|
462
457
|
const de_CreateLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
463
458
|
const parsedOutput = {
|
|
@@ -474,10 +469,9 @@ const de_CreateLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
|
474
469
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
475
470
|
default:
|
|
476
471
|
const parsedBody = parsedOutput.body;
|
|
477
|
-
throwDefaultError({
|
|
472
|
+
return throwDefaultError({
|
|
478
473
|
output,
|
|
479
474
|
parsedBody,
|
|
480
|
-
exceptionCtor: __BaseException,
|
|
481
475
|
errorCode,
|
|
482
476
|
});
|
|
483
477
|
}
|
|
@@ -488,12 +482,12 @@ export const de_CreateLocationFsxWindowsCommand = async (output, context) => {
|
|
|
488
482
|
}
|
|
489
483
|
const data = await parseBody(output.body, context);
|
|
490
484
|
let contents = {};
|
|
491
|
-
contents =
|
|
485
|
+
contents = _json(data);
|
|
492
486
|
const response = {
|
|
493
487
|
$metadata: deserializeMetadata(output),
|
|
494
488
|
...contents,
|
|
495
489
|
};
|
|
496
|
-
return
|
|
490
|
+
return response;
|
|
497
491
|
};
|
|
498
492
|
const de_CreateLocationFsxWindowsCommandError = async (output, context) => {
|
|
499
493
|
const parsedOutput = {
|
|
@@ -510,10 +504,9 @@ const de_CreateLocationFsxWindowsCommandError = async (output, context) => {
|
|
|
510
504
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
511
505
|
default:
|
|
512
506
|
const parsedBody = parsedOutput.body;
|
|
513
|
-
throwDefaultError({
|
|
507
|
+
return throwDefaultError({
|
|
514
508
|
output,
|
|
515
509
|
parsedBody,
|
|
516
|
-
exceptionCtor: __BaseException,
|
|
517
510
|
errorCode,
|
|
518
511
|
});
|
|
519
512
|
}
|
|
@@ -524,12 +517,12 @@ export const de_CreateLocationHdfsCommand = async (output, context) => {
|
|
|
524
517
|
}
|
|
525
518
|
const data = await parseBody(output.body, context);
|
|
526
519
|
let contents = {};
|
|
527
|
-
contents =
|
|
520
|
+
contents = _json(data);
|
|
528
521
|
const response = {
|
|
529
522
|
$metadata: deserializeMetadata(output),
|
|
530
523
|
...contents,
|
|
531
524
|
};
|
|
532
|
-
return
|
|
525
|
+
return response;
|
|
533
526
|
};
|
|
534
527
|
const de_CreateLocationHdfsCommandError = async (output, context) => {
|
|
535
528
|
const parsedOutput = {
|
|
@@ -546,10 +539,9 @@ const de_CreateLocationHdfsCommandError = async (output, context) => {
|
|
|
546
539
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
547
540
|
default:
|
|
548
541
|
const parsedBody = parsedOutput.body;
|
|
549
|
-
throwDefaultError({
|
|
542
|
+
return throwDefaultError({
|
|
550
543
|
output,
|
|
551
544
|
parsedBody,
|
|
552
|
-
exceptionCtor: __BaseException,
|
|
553
545
|
errorCode,
|
|
554
546
|
});
|
|
555
547
|
}
|
|
@@ -560,12 +552,12 @@ export const de_CreateLocationNfsCommand = async (output, context) => {
|
|
|
560
552
|
}
|
|
561
553
|
const data = await parseBody(output.body, context);
|
|
562
554
|
let contents = {};
|
|
563
|
-
contents =
|
|
555
|
+
contents = _json(data);
|
|
564
556
|
const response = {
|
|
565
557
|
$metadata: deserializeMetadata(output),
|
|
566
558
|
...contents,
|
|
567
559
|
};
|
|
568
|
-
return
|
|
560
|
+
return response;
|
|
569
561
|
};
|
|
570
562
|
const de_CreateLocationNfsCommandError = async (output, context) => {
|
|
571
563
|
const parsedOutput = {
|
|
@@ -582,10 +574,9 @@ const de_CreateLocationNfsCommandError = async (output, context) => {
|
|
|
582
574
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
583
575
|
default:
|
|
584
576
|
const parsedBody = parsedOutput.body;
|
|
585
|
-
throwDefaultError({
|
|
577
|
+
return throwDefaultError({
|
|
586
578
|
output,
|
|
587
579
|
parsedBody,
|
|
588
|
-
exceptionCtor: __BaseException,
|
|
589
580
|
errorCode,
|
|
590
581
|
});
|
|
591
582
|
}
|
|
@@ -596,12 +587,12 @@ export const de_CreateLocationObjectStorageCommand = async (output, context) =>
|
|
|
596
587
|
}
|
|
597
588
|
const data = await parseBody(output.body, context);
|
|
598
589
|
let contents = {};
|
|
599
|
-
contents =
|
|
590
|
+
contents = _json(data);
|
|
600
591
|
const response = {
|
|
601
592
|
$metadata: deserializeMetadata(output),
|
|
602
593
|
...contents,
|
|
603
594
|
};
|
|
604
|
-
return
|
|
595
|
+
return response;
|
|
605
596
|
};
|
|
606
597
|
const de_CreateLocationObjectStorageCommandError = async (output, context) => {
|
|
607
598
|
const parsedOutput = {
|
|
@@ -618,10 +609,9 @@ const de_CreateLocationObjectStorageCommandError = async (output, context) => {
|
|
|
618
609
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
619
610
|
default:
|
|
620
611
|
const parsedBody = parsedOutput.body;
|
|
621
|
-
throwDefaultError({
|
|
612
|
+
return throwDefaultError({
|
|
622
613
|
output,
|
|
623
614
|
parsedBody,
|
|
624
|
-
exceptionCtor: __BaseException,
|
|
625
615
|
errorCode,
|
|
626
616
|
});
|
|
627
617
|
}
|
|
@@ -632,12 +622,12 @@ export const de_CreateLocationS3Command = async (output, context) => {
|
|
|
632
622
|
}
|
|
633
623
|
const data = await parseBody(output.body, context);
|
|
634
624
|
let contents = {};
|
|
635
|
-
contents =
|
|
625
|
+
contents = _json(data);
|
|
636
626
|
const response = {
|
|
637
627
|
$metadata: deserializeMetadata(output),
|
|
638
628
|
...contents,
|
|
639
629
|
};
|
|
640
|
-
return
|
|
630
|
+
return response;
|
|
641
631
|
};
|
|
642
632
|
const de_CreateLocationS3CommandError = async (output, context) => {
|
|
643
633
|
const parsedOutput = {
|
|
@@ -654,10 +644,9 @@ const de_CreateLocationS3CommandError = async (output, context) => {
|
|
|
654
644
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
655
645
|
default:
|
|
656
646
|
const parsedBody = parsedOutput.body;
|
|
657
|
-
throwDefaultError({
|
|
647
|
+
return throwDefaultError({
|
|
658
648
|
output,
|
|
659
649
|
parsedBody,
|
|
660
|
-
exceptionCtor: __BaseException,
|
|
661
650
|
errorCode,
|
|
662
651
|
});
|
|
663
652
|
}
|
|
@@ -668,12 +657,12 @@ export const de_CreateLocationSmbCommand = async (output, context) => {
|
|
|
668
657
|
}
|
|
669
658
|
const data = await parseBody(output.body, context);
|
|
670
659
|
let contents = {};
|
|
671
|
-
contents =
|
|
660
|
+
contents = _json(data);
|
|
672
661
|
const response = {
|
|
673
662
|
$metadata: deserializeMetadata(output),
|
|
674
663
|
...contents,
|
|
675
664
|
};
|
|
676
|
-
return
|
|
665
|
+
return response;
|
|
677
666
|
};
|
|
678
667
|
const de_CreateLocationSmbCommandError = async (output, context) => {
|
|
679
668
|
const parsedOutput = {
|
|
@@ -690,10 +679,9 @@ const de_CreateLocationSmbCommandError = async (output, context) => {
|
|
|
690
679
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
691
680
|
default:
|
|
692
681
|
const parsedBody = parsedOutput.body;
|
|
693
|
-
throwDefaultError({
|
|
682
|
+
return throwDefaultError({
|
|
694
683
|
output,
|
|
695
684
|
parsedBody,
|
|
696
|
-
exceptionCtor: __BaseException,
|
|
697
685
|
errorCode,
|
|
698
686
|
});
|
|
699
687
|
}
|
|
@@ -704,12 +692,12 @@ export const de_CreateTaskCommand = async (output, context) => {
|
|
|
704
692
|
}
|
|
705
693
|
const data = await parseBody(output.body, context);
|
|
706
694
|
let contents = {};
|
|
707
|
-
contents =
|
|
695
|
+
contents = _json(data);
|
|
708
696
|
const response = {
|
|
709
697
|
$metadata: deserializeMetadata(output),
|
|
710
698
|
...contents,
|
|
711
699
|
};
|
|
712
|
-
return
|
|
700
|
+
return response;
|
|
713
701
|
};
|
|
714
702
|
const de_CreateTaskCommandError = async (output, context) => {
|
|
715
703
|
const parsedOutput = {
|
|
@@ -726,10 +714,9 @@ const de_CreateTaskCommandError = async (output, context) => {
|
|
|
726
714
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
727
715
|
default:
|
|
728
716
|
const parsedBody = parsedOutput.body;
|
|
729
|
-
throwDefaultError({
|
|
717
|
+
return throwDefaultError({
|
|
730
718
|
output,
|
|
731
719
|
parsedBody,
|
|
732
|
-
exceptionCtor: __BaseException,
|
|
733
720
|
errorCode,
|
|
734
721
|
});
|
|
735
722
|
}
|
|
@@ -740,12 +727,12 @@ export const de_DeleteAgentCommand = async (output, context) => {
|
|
|
740
727
|
}
|
|
741
728
|
const data = await parseBody(output.body, context);
|
|
742
729
|
let contents = {};
|
|
743
|
-
contents =
|
|
730
|
+
contents = _json(data);
|
|
744
731
|
const response = {
|
|
745
732
|
$metadata: deserializeMetadata(output),
|
|
746
733
|
...contents,
|
|
747
734
|
};
|
|
748
|
-
return
|
|
735
|
+
return response;
|
|
749
736
|
};
|
|
750
737
|
const de_DeleteAgentCommandError = async (output, context) => {
|
|
751
738
|
const parsedOutput = {
|
|
@@ -762,10 +749,9 @@ const de_DeleteAgentCommandError = async (output, context) => {
|
|
|
762
749
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
763
750
|
default:
|
|
764
751
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
throwDefaultError({
|
|
752
|
+
return throwDefaultError({
|
|
766
753
|
output,
|
|
767
754
|
parsedBody,
|
|
768
|
-
exceptionCtor: __BaseException,
|
|
769
755
|
errorCode,
|
|
770
756
|
});
|
|
771
757
|
}
|
|
@@ -776,12 +762,12 @@ export const de_DeleteLocationCommand = async (output, context) => {
|
|
|
776
762
|
}
|
|
777
763
|
const data = await parseBody(output.body, context);
|
|
778
764
|
let contents = {};
|
|
779
|
-
contents =
|
|
765
|
+
contents = _json(data);
|
|
780
766
|
const response = {
|
|
781
767
|
$metadata: deserializeMetadata(output),
|
|
782
768
|
...contents,
|
|
783
769
|
};
|
|
784
|
-
return
|
|
770
|
+
return response;
|
|
785
771
|
};
|
|
786
772
|
const de_DeleteLocationCommandError = async (output, context) => {
|
|
787
773
|
const parsedOutput = {
|
|
@@ -798,10 +784,9 @@ const de_DeleteLocationCommandError = async (output, context) => {
|
|
|
798
784
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
799
785
|
default:
|
|
800
786
|
const parsedBody = parsedOutput.body;
|
|
801
|
-
throwDefaultError({
|
|
787
|
+
return throwDefaultError({
|
|
802
788
|
output,
|
|
803
789
|
parsedBody,
|
|
804
|
-
exceptionCtor: __BaseException,
|
|
805
790
|
errorCode,
|
|
806
791
|
});
|
|
807
792
|
}
|
|
@@ -812,12 +797,12 @@ export const de_DeleteTaskCommand = async (output, context) => {
|
|
|
812
797
|
}
|
|
813
798
|
const data = await parseBody(output.body, context);
|
|
814
799
|
let contents = {};
|
|
815
|
-
contents =
|
|
800
|
+
contents = _json(data);
|
|
816
801
|
const response = {
|
|
817
802
|
$metadata: deserializeMetadata(output),
|
|
818
803
|
...contents,
|
|
819
804
|
};
|
|
820
|
-
return
|
|
805
|
+
return response;
|
|
821
806
|
};
|
|
822
807
|
const de_DeleteTaskCommandError = async (output, context) => {
|
|
823
808
|
const parsedOutput = {
|
|
@@ -834,10 +819,9 @@ const de_DeleteTaskCommandError = async (output, context) => {
|
|
|
834
819
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
835
820
|
default:
|
|
836
821
|
const parsedBody = parsedOutput.body;
|
|
837
|
-
throwDefaultError({
|
|
822
|
+
return throwDefaultError({
|
|
838
823
|
output,
|
|
839
824
|
parsedBody,
|
|
840
|
-
exceptionCtor: __BaseException,
|
|
841
825
|
errorCode,
|
|
842
826
|
});
|
|
843
827
|
}
|
|
@@ -853,7 +837,7 @@ export const de_DescribeAgentCommand = async (output, context) => {
|
|
|
853
837
|
$metadata: deserializeMetadata(output),
|
|
854
838
|
...contents,
|
|
855
839
|
};
|
|
856
|
-
return
|
|
840
|
+
return response;
|
|
857
841
|
};
|
|
858
842
|
const de_DescribeAgentCommandError = async (output, context) => {
|
|
859
843
|
const parsedOutput = {
|
|
@@ -870,10 +854,9 @@ const de_DescribeAgentCommandError = async (output, context) => {
|
|
|
870
854
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
871
855
|
default:
|
|
872
856
|
const parsedBody = parsedOutput.body;
|
|
873
|
-
throwDefaultError({
|
|
857
|
+
return throwDefaultError({
|
|
874
858
|
output,
|
|
875
859
|
parsedBody,
|
|
876
|
-
exceptionCtor: __BaseException,
|
|
877
860
|
errorCode,
|
|
878
861
|
});
|
|
879
862
|
}
|
|
@@ -889,7 +872,7 @@ export const de_DescribeLocationEfsCommand = async (output, context) => {
|
|
|
889
872
|
$metadata: deserializeMetadata(output),
|
|
890
873
|
...contents,
|
|
891
874
|
};
|
|
892
|
-
return
|
|
875
|
+
return response;
|
|
893
876
|
};
|
|
894
877
|
const de_DescribeLocationEfsCommandError = async (output, context) => {
|
|
895
878
|
const parsedOutput = {
|
|
@@ -906,10 +889,9 @@ const de_DescribeLocationEfsCommandError = async (output, context) => {
|
|
|
906
889
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
907
890
|
default:
|
|
908
891
|
const parsedBody = parsedOutput.body;
|
|
909
|
-
throwDefaultError({
|
|
892
|
+
return throwDefaultError({
|
|
910
893
|
output,
|
|
911
894
|
parsedBody,
|
|
912
|
-
exceptionCtor: __BaseException,
|
|
913
895
|
errorCode,
|
|
914
896
|
});
|
|
915
897
|
}
|
|
@@ -925,7 +907,7 @@ export const de_DescribeLocationFsxLustreCommand = async (output, context) => {
|
|
|
925
907
|
$metadata: deserializeMetadata(output),
|
|
926
908
|
...contents,
|
|
927
909
|
};
|
|
928
|
-
return
|
|
910
|
+
return response;
|
|
929
911
|
};
|
|
930
912
|
const de_DescribeLocationFsxLustreCommandError = async (output, context) => {
|
|
931
913
|
const parsedOutput = {
|
|
@@ -942,10 +924,9 @@ const de_DescribeLocationFsxLustreCommandError = async (output, context) => {
|
|
|
942
924
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
943
925
|
default:
|
|
944
926
|
const parsedBody = parsedOutput.body;
|
|
945
|
-
throwDefaultError({
|
|
927
|
+
return throwDefaultError({
|
|
946
928
|
output,
|
|
947
929
|
parsedBody,
|
|
948
|
-
exceptionCtor: __BaseException,
|
|
949
930
|
errorCode,
|
|
950
931
|
});
|
|
951
932
|
}
|
|
@@ -961,7 +942,7 @@ export const de_DescribeLocationFsxOntapCommand = async (output, context) => {
|
|
|
961
942
|
$metadata: deserializeMetadata(output),
|
|
962
943
|
...contents,
|
|
963
944
|
};
|
|
964
|
-
return
|
|
945
|
+
return response;
|
|
965
946
|
};
|
|
966
947
|
const de_DescribeLocationFsxOntapCommandError = async (output, context) => {
|
|
967
948
|
const parsedOutput = {
|
|
@@ -978,10 +959,9 @@ const de_DescribeLocationFsxOntapCommandError = async (output, context) => {
|
|
|
978
959
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
979
960
|
default:
|
|
980
961
|
const parsedBody = parsedOutput.body;
|
|
981
|
-
throwDefaultError({
|
|
962
|
+
return throwDefaultError({
|
|
982
963
|
output,
|
|
983
964
|
parsedBody,
|
|
984
|
-
exceptionCtor: __BaseException,
|
|
985
965
|
errorCode,
|
|
986
966
|
});
|
|
987
967
|
}
|
|
@@ -997,7 +977,7 @@ export const de_DescribeLocationFsxOpenZfsCommand = async (output, context) => {
|
|
|
997
977
|
$metadata: deserializeMetadata(output),
|
|
998
978
|
...contents,
|
|
999
979
|
};
|
|
1000
|
-
return
|
|
980
|
+
return response;
|
|
1001
981
|
};
|
|
1002
982
|
const de_DescribeLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
1003
983
|
const parsedOutput = {
|
|
@@ -1014,10 +994,9 @@ const de_DescribeLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
|
1014
994
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1015
995
|
default:
|
|
1016
996
|
const parsedBody = parsedOutput.body;
|
|
1017
|
-
throwDefaultError({
|
|
997
|
+
return throwDefaultError({
|
|
1018
998
|
output,
|
|
1019
999
|
parsedBody,
|
|
1020
|
-
exceptionCtor: __BaseException,
|
|
1021
1000
|
errorCode,
|
|
1022
1001
|
});
|
|
1023
1002
|
}
|
|
@@ -1033,7 +1012,7 @@ export const de_DescribeLocationFsxWindowsCommand = async (output, context) => {
|
|
|
1033
1012
|
$metadata: deserializeMetadata(output),
|
|
1034
1013
|
...contents,
|
|
1035
1014
|
};
|
|
1036
|
-
return
|
|
1015
|
+
return response;
|
|
1037
1016
|
};
|
|
1038
1017
|
const de_DescribeLocationFsxWindowsCommandError = async (output, context) => {
|
|
1039
1018
|
const parsedOutput = {
|
|
@@ -1050,10 +1029,9 @@ const de_DescribeLocationFsxWindowsCommandError = async (output, context) => {
|
|
|
1050
1029
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1051
1030
|
default:
|
|
1052
1031
|
const parsedBody = parsedOutput.body;
|
|
1053
|
-
throwDefaultError({
|
|
1032
|
+
return throwDefaultError({
|
|
1054
1033
|
output,
|
|
1055
1034
|
parsedBody,
|
|
1056
|
-
exceptionCtor: __BaseException,
|
|
1057
1035
|
errorCode,
|
|
1058
1036
|
});
|
|
1059
1037
|
}
|
|
@@ -1069,7 +1047,7 @@ export const de_DescribeLocationHdfsCommand = async (output, context) => {
|
|
|
1069
1047
|
$metadata: deserializeMetadata(output),
|
|
1070
1048
|
...contents,
|
|
1071
1049
|
};
|
|
1072
|
-
return
|
|
1050
|
+
return response;
|
|
1073
1051
|
};
|
|
1074
1052
|
const de_DescribeLocationHdfsCommandError = async (output, context) => {
|
|
1075
1053
|
const parsedOutput = {
|
|
@@ -1086,10 +1064,9 @@ const de_DescribeLocationHdfsCommandError = async (output, context) => {
|
|
|
1086
1064
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1087
1065
|
default:
|
|
1088
1066
|
const parsedBody = parsedOutput.body;
|
|
1089
|
-
throwDefaultError({
|
|
1067
|
+
return throwDefaultError({
|
|
1090
1068
|
output,
|
|
1091
1069
|
parsedBody,
|
|
1092
|
-
exceptionCtor: __BaseException,
|
|
1093
1070
|
errorCode,
|
|
1094
1071
|
});
|
|
1095
1072
|
}
|
|
@@ -1105,7 +1082,7 @@ export const de_DescribeLocationNfsCommand = async (output, context) => {
|
|
|
1105
1082
|
$metadata: deserializeMetadata(output),
|
|
1106
1083
|
...contents,
|
|
1107
1084
|
};
|
|
1108
|
-
return
|
|
1085
|
+
return response;
|
|
1109
1086
|
};
|
|
1110
1087
|
const de_DescribeLocationNfsCommandError = async (output, context) => {
|
|
1111
1088
|
const parsedOutput = {
|
|
@@ -1122,10 +1099,9 @@ const de_DescribeLocationNfsCommandError = async (output, context) => {
|
|
|
1122
1099
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1123
1100
|
default:
|
|
1124
1101
|
const parsedBody = parsedOutput.body;
|
|
1125
|
-
throwDefaultError({
|
|
1102
|
+
return throwDefaultError({
|
|
1126
1103
|
output,
|
|
1127
1104
|
parsedBody,
|
|
1128
|
-
exceptionCtor: __BaseException,
|
|
1129
1105
|
errorCode,
|
|
1130
1106
|
});
|
|
1131
1107
|
}
|
|
@@ -1141,7 +1117,7 @@ export const de_DescribeLocationObjectStorageCommand = async (output, context) =
|
|
|
1141
1117
|
$metadata: deserializeMetadata(output),
|
|
1142
1118
|
...contents,
|
|
1143
1119
|
};
|
|
1144
|
-
return
|
|
1120
|
+
return response;
|
|
1145
1121
|
};
|
|
1146
1122
|
const de_DescribeLocationObjectStorageCommandError = async (output, context) => {
|
|
1147
1123
|
const parsedOutput = {
|
|
@@ -1158,10 +1134,9 @@ const de_DescribeLocationObjectStorageCommandError = async (output, context) =>
|
|
|
1158
1134
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1159
1135
|
default:
|
|
1160
1136
|
const parsedBody = parsedOutput.body;
|
|
1161
|
-
throwDefaultError({
|
|
1137
|
+
return throwDefaultError({
|
|
1162
1138
|
output,
|
|
1163
1139
|
parsedBody,
|
|
1164
|
-
exceptionCtor: __BaseException,
|
|
1165
1140
|
errorCode,
|
|
1166
1141
|
});
|
|
1167
1142
|
}
|
|
@@ -1177,7 +1152,7 @@ export const de_DescribeLocationS3Command = async (output, context) => {
|
|
|
1177
1152
|
$metadata: deserializeMetadata(output),
|
|
1178
1153
|
...contents,
|
|
1179
1154
|
};
|
|
1180
|
-
return
|
|
1155
|
+
return response;
|
|
1181
1156
|
};
|
|
1182
1157
|
const de_DescribeLocationS3CommandError = async (output, context) => {
|
|
1183
1158
|
const parsedOutput = {
|
|
@@ -1194,10 +1169,9 @@ const de_DescribeLocationS3CommandError = async (output, context) => {
|
|
|
1194
1169
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1195
1170
|
default:
|
|
1196
1171
|
const parsedBody = parsedOutput.body;
|
|
1197
|
-
throwDefaultError({
|
|
1172
|
+
return throwDefaultError({
|
|
1198
1173
|
output,
|
|
1199
1174
|
parsedBody,
|
|
1200
|
-
exceptionCtor: __BaseException,
|
|
1201
1175
|
errorCode,
|
|
1202
1176
|
});
|
|
1203
1177
|
}
|
|
@@ -1213,7 +1187,7 @@ export const de_DescribeLocationSmbCommand = async (output, context) => {
|
|
|
1213
1187
|
$metadata: deserializeMetadata(output),
|
|
1214
1188
|
...contents,
|
|
1215
1189
|
};
|
|
1216
|
-
return
|
|
1190
|
+
return response;
|
|
1217
1191
|
};
|
|
1218
1192
|
const de_DescribeLocationSmbCommandError = async (output, context) => {
|
|
1219
1193
|
const parsedOutput = {
|
|
@@ -1230,10 +1204,9 @@ const de_DescribeLocationSmbCommandError = async (output, context) => {
|
|
|
1230
1204
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1231
1205
|
default:
|
|
1232
1206
|
const parsedBody = parsedOutput.body;
|
|
1233
|
-
throwDefaultError({
|
|
1207
|
+
return throwDefaultError({
|
|
1234
1208
|
output,
|
|
1235
1209
|
parsedBody,
|
|
1236
|
-
exceptionCtor: __BaseException,
|
|
1237
1210
|
errorCode,
|
|
1238
1211
|
});
|
|
1239
1212
|
}
|
|
@@ -1249,7 +1222,7 @@ export const de_DescribeTaskCommand = async (output, context) => {
|
|
|
1249
1222
|
$metadata: deserializeMetadata(output),
|
|
1250
1223
|
...contents,
|
|
1251
1224
|
};
|
|
1252
|
-
return
|
|
1225
|
+
return response;
|
|
1253
1226
|
};
|
|
1254
1227
|
const de_DescribeTaskCommandError = async (output, context) => {
|
|
1255
1228
|
const parsedOutput = {
|
|
@@ -1266,10 +1239,9 @@ const de_DescribeTaskCommandError = async (output, context) => {
|
|
|
1266
1239
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1267
1240
|
default:
|
|
1268
1241
|
const parsedBody = parsedOutput.body;
|
|
1269
|
-
throwDefaultError({
|
|
1242
|
+
return throwDefaultError({
|
|
1270
1243
|
output,
|
|
1271
1244
|
parsedBody,
|
|
1272
|
-
exceptionCtor: __BaseException,
|
|
1273
1245
|
errorCode,
|
|
1274
1246
|
});
|
|
1275
1247
|
}
|
|
@@ -1285,7 +1257,7 @@ export const de_DescribeTaskExecutionCommand = async (output, context) => {
|
|
|
1285
1257
|
$metadata: deserializeMetadata(output),
|
|
1286
1258
|
...contents,
|
|
1287
1259
|
};
|
|
1288
|
-
return
|
|
1260
|
+
return response;
|
|
1289
1261
|
};
|
|
1290
1262
|
const de_DescribeTaskExecutionCommandError = async (output, context) => {
|
|
1291
1263
|
const parsedOutput = {
|
|
@@ -1302,10 +1274,9 @@ const de_DescribeTaskExecutionCommandError = async (output, context) => {
|
|
|
1302
1274
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1303
1275
|
default:
|
|
1304
1276
|
const parsedBody = parsedOutput.body;
|
|
1305
|
-
throwDefaultError({
|
|
1277
|
+
return throwDefaultError({
|
|
1306
1278
|
output,
|
|
1307
1279
|
parsedBody,
|
|
1308
|
-
exceptionCtor: __BaseException,
|
|
1309
1280
|
errorCode,
|
|
1310
1281
|
});
|
|
1311
1282
|
}
|
|
@@ -1316,12 +1287,12 @@ export const de_ListAgentsCommand = async (output, context) => {
|
|
|
1316
1287
|
}
|
|
1317
1288
|
const data = await parseBody(output.body, context);
|
|
1318
1289
|
let contents = {};
|
|
1319
|
-
contents =
|
|
1290
|
+
contents = _json(data);
|
|
1320
1291
|
const response = {
|
|
1321
1292
|
$metadata: deserializeMetadata(output),
|
|
1322
1293
|
...contents,
|
|
1323
1294
|
};
|
|
1324
|
-
return
|
|
1295
|
+
return response;
|
|
1325
1296
|
};
|
|
1326
1297
|
const de_ListAgentsCommandError = async (output, context) => {
|
|
1327
1298
|
const parsedOutput = {
|
|
@@ -1338,10 +1309,9 @@ const de_ListAgentsCommandError = async (output, context) => {
|
|
|
1338
1309
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1339
1310
|
default:
|
|
1340
1311
|
const parsedBody = parsedOutput.body;
|
|
1341
|
-
throwDefaultError({
|
|
1312
|
+
return throwDefaultError({
|
|
1342
1313
|
output,
|
|
1343
1314
|
parsedBody,
|
|
1344
|
-
exceptionCtor: __BaseException,
|
|
1345
1315
|
errorCode,
|
|
1346
1316
|
});
|
|
1347
1317
|
}
|
|
@@ -1352,12 +1322,12 @@ export const de_ListLocationsCommand = async (output, context) => {
|
|
|
1352
1322
|
}
|
|
1353
1323
|
const data = await parseBody(output.body, context);
|
|
1354
1324
|
let contents = {};
|
|
1355
|
-
contents =
|
|
1325
|
+
contents = _json(data);
|
|
1356
1326
|
const response = {
|
|
1357
1327
|
$metadata: deserializeMetadata(output),
|
|
1358
1328
|
...contents,
|
|
1359
1329
|
};
|
|
1360
|
-
return
|
|
1330
|
+
return response;
|
|
1361
1331
|
};
|
|
1362
1332
|
const de_ListLocationsCommandError = async (output, context) => {
|
|
1363
1333
|
const parsedOutput = {
|
|
@@ -1374,10 +1344,9 @@ const de_ListLocationsCommandError = async (output, context) => {
|
|
|
1374
1344
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1375
1345
|
default:
|
|
1376
1346
|
const parsedBody = parsedOutput.body;
|
|
1377
|
-
throwDefaultError({
|
|
1347
|
+
return throwDefaultError({
|
|
1378
1348
|
output,
|
|
1379
1349
|
parsedBody,
|
|
1380
|
-
exceptionCtor: __BaseException,
|
|
1381
1350
|
errorCode,
|
|
1382
1351
|
});
|
|
1383
1352
|
}
|
|
@@ -1388,12 +1357,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1388
1357
|
}
|
|
1389
1358
|
const data = await parseBody(output.body, context);
|
|
1390
1359
|
let contents = {};
|
|
1391
|
-
contents =
|
|
1360
|
+
contents = _json(data);
|
|
1392
1361
|
const response = {
|
|
1393
1362
|
$metadata: deserializeMetadata(output),
|
|
1394
1363
|
...contents,
|
|
1395
1364
|
};
|
|
1396
|
-
return
|
|
1365
|
+
return response;
|
|
1397
1366
|
};
|
|
1398
1367
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1399
1368
|
const parsedOutput = {
|
|
@@ -1410,10 +1379,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1410
1379
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1411
1380
|
default:
|
|
1412
1381
|
const parsedBody = parsedOutput.body;
|
|
1413
|
-
throwDefaultError({
|
|
1382
|
+
return throwDefaultError({
|
|
1414
1383
|
output,
|
|
1415
1384
|
parsedBody,
|
|
1416
|
-
exceptionCtor: __BaseException,
|
|
1417
1385
|
errorCode,
|
|
1418
1386
|
});
|
|
1419
1387
|
}
|
|
@@ -1424,12 +1392,12 @@ export const de_ListTaskExecutionsCommand = async (output, context) => {
|
|
|
1424
1392
|
}
|
|
1425
1393
|
const data = await parseBody(output.body, context);
|
|
1426
1394
|
let contents = {};
|
|
1427
|
-
contents =
|
|
1395
|
+
contents = _json(data);
|
|
1428
1396
|
const response = {
|
|
1429
1397
|
$metadata: deserializeMetadata(output),
|
|
1430
1398
|
...contents,
|
|
1431
1399
|
};
|
|
1432
|
-
return
|
|
1400
|
+
return response;
|
|
1433
1401
|
};
|
|
1434
1402
|
const de_ListTaskExecutionsCommandError = async (output, context) => {
|
|
1435
1403
|
const parsedOutput = {
|
|
@@ -1446,10 +1414,9 @@ const de_ListTaskExecutionsCommandError = async (output, context) => {
|
|
|
1446
1414
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1447
1415
|
default:
|
|
1448
1416
|
const parsedBody = parsedOutput.body;
|
|
1449
|
-
throwDefaultError({
|
|
1417
|
+
return throwDefaultError({
|
|
1450
1418
|
output,
|
|
1451
1419
|
parsedBody,
|
|
1452
|
-
exceptionCtor: __BaseException,
|
|
1453
1420
|
errorCode,
|
|
1454
1421
|
});
|
|
1455
1422
|
}
|
|
@@ -1460,12 +1427,12 @@ export const de_ListTasksCommand = async (output, context) => {
|
|
|
1460
1427
|
}
|
|
1461
1428
|
const data = await parseBody(output.body, context);
|
|
1462
1429
|
let contents = {};
|
|
1463
|
-
contents =
|
|
1430
|
+
contents = _json(data);
|
|
1464
1431
|
const response = {
|
|
1465
1432
|
$metadata: deserializeMetadata(output),
|
|
1466
1433
|
...contents,
|
|
1467
1434
|
};
|
|
1468
|
-
return
|
|
1435
|
+
return response;
|
|
1469
1436
|
};
|
|
1470
1437
|
const de_ListTasksCommandError = async (output, context) => {
|
|
1471
1438
|
const parsedOutput = {
|
|
@@ -1482,10 +1449,9 @@ const de_ListTasksCommandError = async (output, context) => {
|
|
|
1482
1449
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1483
1450
|
default:
|
|
1484
1451
|
const parsedBody = parsedOutput.body;
|
|
1485
|
-
throwDefaultError({
|
|
1452
|
+
return throwDefaultError({
|
|
1486
1453
|
output,
|
|
1487
1454
|
parsedBody,
|
|
1488
|
-
exceptionCtor: __BaseException,
|
|
1489
1455
|
errorCode,
|
|
1490
1456
|
});
|
|
1491
1457
|
}
|
|
@@ -1496,12 +1462,12 @@ export const de_StartTaskExecutionCommand = async (output, context) => {
|
|
|
1496
1462
|
}
|
|
1497
1463
|
const data = await parseBody(output.body, context);
|
|
1498
1464
|
let contents = {};
|
|
1499
|
-
contents =
|
|
1465
|
+
contents = _json(data);
|
|
1500
1466
|
const response = {
|
|
1501
1467
|
$metadata: deserializeMetadata(output),
|
|
1502
1468
|
...contents,
|
|
1503
1469
|
};
|
|
1504
|
-
return
|
|
1470
|
+
return response;
|
|
1505
1471
|
};
|
|
1506
1472
|
const de_StartTaskExecutionCommandError = async (output, context) => {
|
|
1507
1473
|
const parsedOutput = {
|
|
@@ -1518,10 +1484,9 @@ const de_StartTaskExecutionCommandError = async (output, context) => {
|
|
|
1518
1484
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1519
1485
|
default:
|
|
1520
1486
|
const parsedBody = parsedOutput.body;
|
|
1521
|
-
throwDefaultError({
|
|
1487
|
+
return throwDefaultError({
|
|
1522
1488
|
output,
|
|
1523
1489
|
parsedBody,
|
|
1524
|
-
exceptionCtor: __BaseException,
|
|
1525
1490
|
errorCode,
|
|
1526
1491
|
});
|
|
1527
1492
|
}
|
|
@@ -1532,12 +1497,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1532
1497
|
}
|
|
1533
1498
|
const data = await parseBody(output.body, context);
|
|
1534
1499
|
let contents = {};
|
|
1535
|
-
contents =
|
|
1500
|
+
contents = _json(data);
|
|
1536
1501
|
const response = {
|
|
1537
1502
|
$metadata: deserializeMetadata(output),
|
|
1538
1503
|
...contents,
|
|
1539
1504
|
};
|
|
1540
|
-
return
|
|
1505
|
+
return response;
|
|
1541
1506
|
};
|
|
1542
1507
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1543
1508
|
const parsedOutput = {
|
|
@@ -1554,10 +1519,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1554
1519
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1555
1520
|
default:
|
|
1556
1521
|
const parsedBody = parsedOutput.body;
|
|
1557
|
-
throwDefaultError({
|
|
1522
|
+
return throwDefaultError({
|
|
1558
1523
|
output,
|
|
1559
1524
|
parsedBody,
|
|
1560
|
-
exceptionCtor: __BaseException,
|
|
1561
1525
|
errorCode,
|
|
1562
1526
|
});
|
|
1563
1527
|
}
|
|
@@ -1568,12 +1532,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1568
1532
|
}
|
|
1569
1533
|
const data = await parseBody(output.body, context);
|
|
1570
1534
|
let contents = {};
|
|
1571
|
-
contents =
|
|
1535
|
+
contents = _json(data);
|
|
1572
1536
|
const response = {
|
|
1573
1537
|
$metadata: deserializeMetadata(output),
|
|
1574
1538
|
...contents,
|
|
1575
1539
|
};
|
|
1576
|
-
return
|
|
1540
|
+
return response;
|
|
1577
1541
|
};
|
|
1578
1542
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1579
1543
|
const parsedOutput = {
|
|
@@ -1590,10 +1554,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1590
1554
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1591
1555
|
default:
|
|
1592
1556
|
const parsedBody = parsedOutput.body;
|
|
1593
|
-
throwDefaultError({
|
|
1557
|
+
return throwDefaultError({
|
|
1594
1558
|
output,
|
|
1595
1559
|
parsedBody,
|
|
1596
|
-
exceptionCtor: __BaseException,
|
|
1597
1560
|
errorCode,
|
|
1598
1561
|
});
|
|
1599
1562
|
}
|
|
@@ -1604,12 +1567,12 @@ export const de_UpdateAgentCommand = async (output, context) => {
|
|
|
1604
1567
|
}
|
|
1605
1568
|
const data = await parseBody(output.body, context);
|
|
1606
1569
|
let contents = {};
|
|
1607
|
-
contents =
|
|
1570
|
+
contents = _json(data);
|
|
1608
1571
|
const response = {
|
|
1609
1572
|
$metadata: deserializeMetadata(output),
|
|
1610
1573
|
...contents,
|
|
1611
1574
|
};
|
|
1612
|
-
return
|
|
1575
|
+
return response;
|
|
1613
1576
|
};
|
|
1614
1577
|
const de_UpdateAgentCommandError = async (output, context) => {
|
|
1615
1578
|
const parsedOutput = {
|
|
@@ -1626,10 +1589,9 @@ const de_UpdateAgentCommandError = async (output, context) => {
|
|
|
1626
1589
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1627
1590
|
default:
|
|
1628
1591
|
const parsedBody = parsedOutput.body;
|
|
1629
|
-
throwDefaultError({
|
|
1592
|
+
return throwDefaultError({
|
|
1630
1593
|
output,
|
|
1631
1594
|
parsedBody,
|
|
1632
|
-
exceptionCtor: __BaseException,
|
|
1633
1595
|
errorCode,
|
|
1634
1596
|
});
|
|
1635
1597
|
}
|
|
@@ -1640,12 +1602,12 @@ export const de_UpdateLocationHdfsCommand = async (output, context) => {
|
|
|
1640
1602
|
}
|
|
1641
1603
|
const data = await parseBody(output.body, context);
|
|
1642
1604
|
let contents = {};
|
|
1643
|
-
contents =
|
|
1605
|
+
contents = _json(data);
|
|
1644
1606
|
const response = {
|
|
1645
1607
|
$metadata: deserializeMetadata(output),
|
|
1646
1608
|
...contents,
|
|
1647
1609
|
};
|
|
1648
|
-
return
|
|
1610
|
+
return response;
|
|
1649
1611
|
};
|
|
1650
1612
|
const de_UpdateLocationHdfsCommandError = async (output, context) => {
|
|
1651
1613
|
const parsedOutput = {
|
|
@@ -1662,10 +1624,9 @@ const de_UpdateLocationHdfsCommandError = async (output, context) => {
|
|
|
1662
1624
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1663
1625
|
default:
|
|
1664
1626
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
throwDefaultError({
|
|
1627
|
+
return throwDefaultError({
|
|
1666
1628
|
output,
|
|
1667
1629
|
parsedBody,
|
|
1668
|
-
exceptionCtor: __BaseException,
|
|
1669
1630
|
errorCode,
|
|
1670
1631
|
});
|
|
1671
1632
|
}
|
|
@@ -1676,12 +1637,12 @@ export const de_UpdateLocationNfsCommand = async (output, context) => {
|
|
|
1676
1637
|
}
|
|
1677
1638
|
const data = await parseBody(output.body, context);
|
|
1678
1639
|
let contents = {};
|
|
1679
|
-
contents =
|
|
1640
|
+
contents = _json(data);
|
|
1680
1641
|
const response = {
|
|
1681
1642
|
$metadata: deserializeMetadata(output),
|
|
1682
1643
|
...contents,
|
|
1683
1644
|
};
|
|
1684
|
-
return
|
|
1645
|
+
return response;
|
|
1685
1646
|
};
|
|
1686
1647
|
const de_UpdateLocationNfsCommandError = async (output, context) => {
|
|
1687
1648
|
const parsedOutput = {
|
|
@@ -1698,10 +1659,9 @@ const de_UpdateLocationNfsCommandError = async (output, context) => {
|
|
|
1698
1659
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1699
1660
|
default:
|
|
1700
1661
|
const parsedBody = parsedOutput.body;
|
|
1701
|
-
throwDefaultError({
|
|
1662
|
+
return throwDefaultError({
|
|
1702
1663
|
output,
|
|
1703
1664
|
parsedBody,
|
|
1704
|
-
exceptionCtor: __BaseException,
|
|
1705
1665
|
errorCode,
|
|
1706
1666
|
});
|
|
1707
1667
|
}
|
|
@@ -1712,12 +1672,12 @@ export const de_UpdateLocationObjectStorageCommand = async (output, context) =>
|
|
|
1712
1672
|
}
|
|
1713
1673
|
const data = await parseBody(output.body, context);
|
|
1714
1674
|
let contents = {};
|
|
1715
|
-
contents =
|
|
1675
|
+
contents = _json(data);
|
|
1716
1676
|
const response = {
|
|
1717
1677
|
$metadata: deserializeMetadata(output),
|
|
1718
1678
|
...contents,
|
|
1719
1679
|
};
|
|
1720
|
-
return
|
|
1680
|
+
return response;
|
|
1721
1681
|
};
|
|
1722
1682
|
const de_UpdateLocationObjectStorageCommandError = async (output, context) => {
|
|
1723
1683
|
const parsedOutput = {
|
|
@@ -1734,10 +1694,9 @@ const de_UpdateLocationObjectStorageCommandError = async (output, context) => {
|
|
|
1734
1694
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1735
1695
|
default:
|
|
1736
1696
|
const parsedBody = parsedOutput.body;
|
|
1737
|
-
throwDefaultError({
|
|
1697
|
+
return throwDefaultError({
|
|
1738
1698
|
output,
|
|
1739
1699
|
parsedBody,
|
|
1740
|
-
exceptionCtor: __BaseException,
|
|
1741
1700
|
errorCode,
|
|
1742
1701
|
});
|
|
1743
1702
|
}
|
|
@@ -1748,12 +1707,12 @@ export const de_UpdateLocationSmbCommand = async (output, context) => {
|
|
|
1748
1707
|
}
|
|
1749
1708
|
const data = await parseBody(output.body, context);
|
|
1750
1709
|
let contents = {};
|
|
1751
|
-
contents =
|
|
1710
|
+
contents = _json(data);
|
|
1752
1711
|
const response = {
|
|
1753
1712
|
$metadata: deserializeMetadata(output),
|
|
1754
1713
|
...contents,
|
|
1755
1714
|
};
|
|
1756
|
-
return
|
|
1715
|
+
return response;
|
|
1757
1716
|
};
|
|
1758
1717
|
const de_UpdateLocationSmbCommandError = async (output, context) => {
|
|
1759
1718
|
const parsedOutput = {
|
|
@@ -1770,10 +1729,9 @@ const de_UpdateLocationSmbCommandError = async (output, context) => {
|
|
|
1770
1729
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1771
1730
|
default:
|
|
1772
1731
|
const parsedBody = parsedOutput.body;
|
|
1773
|
-
throwDefaultError({
|
|
1732
|
+
return throwDefaultError({
|
|
1774
1733
|
output,
|
|
1775
1734
|
parsedBody,
|
|
1776
|
-
exceptionCtor: __BaseException,
|
|
1777
1735
|
errorCode,
|
|
1778
1736
|
});
|
|
1779
1737
|
}
|
|
@@ -1784,12 +1742,12 @@ export const de_UpdateTaskCommand = async (output, context) => {
|
|
|
1784
1742
|
}
|
|
1785
1743
|
const data = await parseBody(output.body, context);
|
|
1786
1744
|
let contents = {};
|
|
1787
|
-
contents =
|
|
1745
|
+
contents = _json(data);
|
|
1788
1746
|
const response = {
|
|
1789
1747
|
$metadata: deserializeMetadata(output),
|
|
1790
1748
|
...contents,
|
|
1791
1749
|
};
|
|
1792
|
-
return
|
|
1750
|
+
return response;
|
|
1793
1751
|
};
|
|
1794
1752
|
const de_UpdateTaskCommandError = async (output, context) => {
|
|
1795
1753
|
const parsedOutput = {
|
|
@@ -1806,10 +1764,9 @@ const de_UpdateTaskCommandError = async (output, context) => {
|
|
|
1806
1764
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1807
1765
|
default:
|
|
1808
1766
|
const parsedBody = parsedOutput.body;
|
|
1809
|
-
throwDefaultError({
|
|
1767
|
+
return throwDefaultError({
|
|
1810
1768
|
output,
|
|
1811
1769
|
parsedBody,
|
|
1812
|
-
exceptionCtor: __BaseException,
|
|
1813
1770
|
errorCode,
|
|
1814
1771
|
});
|
|
1815
1772
|
}
|
|
@@ -1820,12 +1777,12 @@ export const de_UpdateTaskExecutionCommand = async (output, context) => {
|
|
|
1820
1777
|
}
|
|
1821
1778
|
const data = await parseBody(output.body, context);
|
|
1822
1779
|
let contents = {};
|
|
1823
|
-
contents =
|
|
1780
|
+
contents = _json(data);
|
|
1824
1781
|
const response = {
|
|
1825
1782
|
$metadata: deserializeMetadata(output),
|
|
1826
1783
|
...contents,
|
|
1827
1784
|
};
|
|
1828
|
-
return
|
|
1785
|
+
return response;
|
|
1829
1786
|
};
|
|
1830
1787
|
const de_UpdateTaskExecutionCommandError = async (output, context) => {
|
|
1831
1788
|
const parsedOutput = {
|
|
@@ -1842,17 +1799,16 @@ const de_UpdateTaskExecutionCommandError = async (output, context) => {
|
|
|
1842
1799
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1843
1800
|
default:
|
|
1844
1801
|
const parsedBody = parsedOutput.body;
|
|
1845
|
-
throwDefaultError({
|
|
1802
|
+
return throwDefaultError({
|
|
1846
1803
|
output,
|
|
1847
1804
|
parsedBody,
|
|
1848
|
-
exceptionCtor: __BaseException,
|
|
1849
1805
|
errorCode,
|
|
1850
1806
|
});
|
|
1851
1807
|
}
|
|
1852
1808
|
};
|
|
1853
1809
|
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
1854
1810
|
const body = parsedOutput.body;
|
|
1855
|
-
const deserialized =
|
|
1811
|
+
const deserialized = _json(body);
|
|
1856
1812
|
const exception = new InternalException({
|
|
1857
1813
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1858
1814
|
...deserialized,
|
|
@@ -1861,1169 +1817,227 @@ const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
|
1861
1817
|
};
|
|
1862
1818
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1863
1819
|
const body = parsedOutput.body;
|
|
1864
|
-
const deserialized =
|
|
1820
|
+
const deserialized = _json(body);
|
|
1865
1821
|
const exception = new InvalidRequestException({
|
|
1866
1822
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1867
1823
|
...deserialized,
|
|
1868
1824
|
});
|
|
1869
1825
|
return __decorateServiceException(exception, body);
|
|
1870
1826
|
};
|
|
1871
|
-
const se_AgentArnList = (input, context) => {
|
|
1872
|
-
return input
|
|
1873
|
-
.filter((e) => e != null)
|
|
1874
|
-
.map((entry) => {
|
|
1875
|
-
return entry;
|
|
1876
|
-
});
|
|
1877
|
-
};
|
|
1878
|
-
const se_CancelTaskExecutionRequest = (input, context) => {
|
|
1879
|
-
return {
|
|
1880
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
1881
|
-
};
|
|
1882
|
-
};
|
|
1883
|
-
const se_CreateAgentRequest = (input, context) => {
|
|
1884
|
-
return {
|
|
1885
|
-
...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
|
|
1886
|
-
...(input.AgentName != null && { AgentName: input.AgentName }),
|
|
1887
|
-
...(input.SecurityGroupArns != null && {
|
|
1888
|
-
SecurityGroupArns: se_PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1889
|
-
}),
|
|
1890
|
-
...(input.SubnetArns != null && { SubnetArns: se_PLSubnetArnList(input.SubnetArns, context) }),
|
|
1891
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1892
|
-
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
1893
|
-
};
|
|
1894
|
-
};
|
|
1895
|
-
const se_CreateLocationEfsRequest = (input, context) => {
|
|
1896
|
-
return {
|
|
1897
|
-
...(input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn }),
|
|
1898
|
-
...(input.Ec2Config != null && { Ec2Config: se_Ec2Config(input.Ec2Config, context) }),
|
|
1899
|
-
...(input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn }),
|
|
1900
|
-
...(input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
|
|
1901
|
-
...(input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption }),
|
|
1902
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1903
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
|
-
const se_CreateLocationFsxLustreRequest = (input, context) => {
|
|
1907
|
-
return {
|
|
1908
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
1909
|
-
...(input.SecurityGroupArns != null && {
|
|
1910
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1911
|
-
}),
|
|
1912
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1913
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1914
|
-
};
|
|
1915
|
-
};
|
|
1916
|
-
const se_CreateLocationFsxOntapRequest = (input, context) => {
|
|
1917
|
-
return {
|
|
1918
|
-
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
1919
|
-
...(input.SecurityGroupArns != null && {
|
|
1920
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1921
|
-
}),
|
|
1922
|
-
...(input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn }),
|
|
1923
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1924
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1925
|
-
};
|
|
1926
|
-
};
|
|
1927
|
-
const se_CreateLocationFsxOpenZfsRequest = (input, context) => {
|
|
1928
|
-
return {
|
|
1929
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
1930
|
-
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
1931
|
-
...(input.SecurityGroupArns != null && {
|
|
1932
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1933
|
-
}),
|
|
1934
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1935
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1936
|
-
};
|
|
1937
|
-
};
|
|
1938
|
-
const se_CreateLocationFsxWindowsRequest = (input, context) => {
|
|
1939
|
-
return {
|
|
1940
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
1941
|
-
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
1942
|
-
...(input.Password != null && { Password: input.Password }),
|
|
1943
|
-
...(input.SecurityGroupArns != null && {
|
|
1944
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
1945
|
-
}),
|
|
1946
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1947
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1948
|
-
...(input.User != null && { User: input.User }),
|
|
1949
|
-
};
|
|
1950
|
-
};
|
|
1951
1827
|
const se_CreateLocationHdfsRequest = (input, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
};
|
|
1967
|
-
};
|
|
1968
|
-
const se_CreateLocationNfsRequest = (input, context) => {
|
|
1969
|
-
return {
|
|
1970
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
1971
|
-
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
1972
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
1973
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1974
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1975
|
-
};
|
|
1976
|
-
};
|
|
1977
|
-
const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
1978
|
-
return {
|
|
1979
|
-
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
1980
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
1981
|
-
...(input.BucketName != null && { BucketName: input.BucketName }),
|
|
1982
|
-
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
1983
|
-
...(input.ServerCertificate != null && { ServerCertificate: context.base64Encoder(input.ServerCertificate) }),
|
|
1984
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
1985
|
-
...(input.ServerPort != null && { ServerPort: input.ServerPort }),
|
|
1986
|
-
...(input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol }),
|
|
1987
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1988
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1989
|
-
};
|
|
1990
|
-
};
|
|
1991
|
-
const se_CreateLocationS3Request = (input, context) => {
|
|
1992
|
-
return {
|
|
1993
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
1994
|
-
...(input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn }),
|
|
1995
|
-
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
1996
|
-
...(input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass }),
|
|
1997
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
1998
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
1999
|
-
};
|
|
2000
|
-
};
|
|
2001
|
-
const se_CreateLocationSmbRequest = (input, context) => {
|
|
2002
|
-
return {
|
|
2003
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2004
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2005
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2006
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2007
|
-
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2008
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2009
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2010
|
-
...(input.User != null && { User: input.User }),
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
|
-
const se_CreateTaskRequest = (input, context) => {
|
|
2014
|
-
return {
|
|
2015
|
-
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2016
|
-
...(input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn }),
|
|
2017
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2018
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2019
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2020
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2021
|
-
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2022
|
-
...(input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn }),
|
|
2023
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2024
|
-
};
|
|
2025
|
-
};
|
|
2026
|
-
const se_DeleteAgentRequest = (input, context) => {
|
|
2027
|
-
return {
|
|
2028
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2029
|
-
};
|
|
2030
|
-
};
|
|
2031
|
-
const se_DeleteLocationRequest = (input, context) => {
|
|
2032
|
-
return {
|
|
2033
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2034
|
-
};
|
|
2035
|
-
};
|
|
2036
|
-
const se_DeleteTaskRequest = (input, context) => {
|
|
2037
|
-
return {
|
|
2038
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2039
|
-
};
|
|
2040
|
-
};
|
|
2041
|
-
const se_DescribeAgentRequest = (input, context) => {
|
|
2042
|
-
return {
|
|
2043
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2044
|
-
};
|
|
2045
|
-
};
|
|
2046
|
-
const se_DescribeLocationEfsRequest = (input, context) => {
|
|
2047
|
-
return {
|
|
2048
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2049
|
-
};
|
|
2050
|
-
};
|
|
2051
|
-
const se_DescribeLocationFsxLustreRequest = (input, context) => {
|
|
2052
|
-
return {
|
|
2053
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
const se_DescribeLocationFsxOntapRequest = (input, context) => {
|
|
2057
|
-
return {
|
|
2058
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
const se_DescribeLocationFsxOpenZfsRequest = (input, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2064
|
-
};
|
|
2065
|
-
};
|
|
2066
|
-
const se_DescribeLocationFsxWindowsRequest = (input, context) => {
|
|
2067
|
-
return {
|
|
2068
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
const se_DescribeLocationHdfsRequest = (input, context) => {
|
|
2072
|
-
return {
|
|
2073
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
|
-
const se_DescribeLocationNfsRequest = (input, context) => {
|
|
2077
|
-
return {
|
|
2078
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2079
|
-
};
|
|
2080
|
-
};
|
|
2081
|
-
const se_DescribeLocationObjectStorageRequest = (input, context) => {
|
|
2082
|
-
return {
|
|
2083
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
|
-
const se_DescribeLocationS3Request = (input, context) => {
|
|
2087
|
-
return {
|
|
2088
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2089
|
-
};
|
|
2090
|
-
};
|
|
2091
|
-
const se_DescribeLocationSmbRequest = (input, context) => {
|
|
2092
|
-
return {
|
|
2093
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2094
|
-
};
|
|
2095
|
-
};
|
|
2096
|
-
const se_DescribeTaskExecutionRequest = (input, context) => {
|
|
2097
|
-
return {
|
|
2098
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2099
|
-
};
|
|
2100
|
-
};
|
|
2101
|
-
const se_DescribeTaskRequest = (input, context) => {
|
|
2102
|
-
return {
|
|
2103
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2104
|
-
};
|
|
2105
|
-
};
|
|
2106
|
-
const se_Ec2Config = (input, context) => {
|
|
2107
|
-
return {
|
|
2108
|
-
...(input.SecurityGroupArns != null && {
|
|
2109
|
-
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2110
|
-
}),
|
|
2111
|
-
...(input.SubnetArn != null && { SubnetArn: input.SubnetArn }),
|
|
2112
|
-
};
|
|
2113
|
-
};
|
|
2114
|
-
const se_Ec2SecurityGroupArnList = (input, context) => {
|
|
2115
|
-
return input
|
|
2116
|
-
.filter((e) => e != null)
|
|
2117
|
-
.map((entry) => {
|
|
2118
|
-
return entry;
|
|
2119
|
-
});
|
|
2120
|
-
};
|
|
2121
|
-
const se_FilterList = (input, context) => {
|
|
2122
|
-
return input
|
|
2123
|
-
.filter((e) => e != null)
|
|
2124
|
-
.map((entry) => {
|
|
2125
|
-
return se_FilterRule(entry, context);
|
|
2126
|
-
});
|
|
2127
|
-
};
|
|
2128
|
-
const se_FilterRule = (input, context) => {
|
|
2129
|
-
return {
|
|
2130
|
-
...(input.FilterType != null && { FilterType: input.FilterType }),
|
|
2131
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2132
|
-
};
|
|
2133
|
-
};
|
|
2134
|
-
const se_FilterValues = (input, context) => {
|
|
2135
|
-
return input
|
|
2136
|
-
.filter((e) => e != null)
|
|
2137
|
-
.map((entry) => {
|
|
2138
|
-
return entry;
|
|
2139
|
-
});
|
|
2140
|
-
};
|
|
2141
|
-
const se_FsxProtocol = (input, context) => {
|
|
2142
|
-
return {
|
|
2143
|
-
...(input.NFS != null && { NFS: se_FsxProtocolNfs(input.NFS, context) }),
|
|
2144
|
-
...(input.SMB != null && { SMB: se_FsxProtocolSmb(input.SMB, context) }),
|
|
2145
|
-
};
|
|
2146
|
-
};
|
|
2147
|
-
const se_FsxProtocolNfs = (input, context) => {
|
|
2148
|
-
return {
|
|
2149
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2150
|
-
};
|
|
2151
|
-
};
|
|
2152
|
-
const se_FsxProtocolSmb = (input, context) => {
|
|
2153
|
-
return {
|
|
2154
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2155
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2156
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2157
|
-
...(input.User != null && { User: input.User }),
|
|
2158
|
-
};
|
|
2159
|
-
};
|
|
2160
|
-
const se_HdfsNameNode = (input, context) => {
|
|
2161
|
-
return {
|
|
2162
|
-
...(input.Hostname != null && { Hostname: input.Hostname }),
|
|
2163
|
-
...(input.Port != null && { Port: input.Port }),
|
|
2164
|
-
};
|
|
2165
|
-
};
|
|
2166
|
-
const se_HdfsNameNodeList = (input, context) => {
|
|
2167
|
-
return input
|
|
2168
|
-
.filter((e) => e != null)
|
|
2169
|
-
.map((entry) => {
|
|
2170
|
-
return se_HdfsNameNode(entry, context);
|
|
2171
|
-
});
|
|
2172
|
-
};
|
|
2173
|
-
const se_InputTagList = (input, context) => {
|
|
2174
|
-
return input
|
|
2175
|
-
.filter((e) => e != null)
|
|
2176
|
-
.map((entry) => {
|
|
2177
|
-
return se_TagListEntry(entry, context);
|
|
2178
|
-
});
|
|
2179
|
-
};
|
|
2180
|
-
const se_ListAgentsRequest = (input, context) => {
|
|
2181
|
-
return {
|
|
2182
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2183
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2184
|
-
};
|
|
2185
|
-
};
|
|
2186
|
-
const se_ListLocationsRequest = (input, context) => {
|
|
2187
|
-
return {
|
|
2188
|
-
...(input.Filters != null && { Filters: se_LocationFilters(input.Filters, context) }),
|
|
2189
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2190
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2191
|
-
};
|
|
2192
|
-
};
|
|
2193
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2194
|
-
return {
|
|
2195
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2196
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2197
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2198
|
-
};
|
|
2199
|
-
};
|
|
2200
|
-
const se_ListTaskExecutionsRequest = (input, context) => {
|
|
2201
|
-
return {
|
|
2202
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2203
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2204
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
const se_ListTasksRequest = (input, context) => {
|
|
2208
|
-
return {
|
|
2209
|
-
...(input.Filters != null && { Filters: se_TaskFilters(input.Filters, context) }),
|
|
2210
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2211
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2212
|
-
};
|
|
2213
|
-
};
|
|
2214
|
-
const se_LocationFilter = (input, context) => {
|
|
2215
|
-
return {
|
|
2216
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2217
|
-
...(input.Operator != null && { Operator: input.Operator }),
|
|
2218
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2219
|
-
};
|
|
2220
|
-
};
|
|
2221
|
-
const se_LocationFilters = (input, context) => {
|
|
2222
|
-
return input
|
|
2223
|
-
.filter((e) => e != null)
|
|
2224
|
-
.map((entry) => {
|
|
2225
|
-
return se_LocationFilter(entry, context);
|
|
1828
|
+
return take(input, {
|
|
1829
|
+
AgentArns: _json,
|
|
1830
|
+
AuthenticationType: [],
|
|
1831
|
+
BlockSize: [],
|
|
1832
|
+
KerberosKeytab: context.base64Encoder,
|
|
1833
|
+
KerberosKrb5Conf: context.base64Encoder,
|
|
1834
|
+
KerberosPrincipal: [],
|
|
1835
|
+
KmsKeyProviderUri: [],
|
|
1836
|
+
NameNodes: _json,
|
|
1837
|
+
QopConfiguration: _json,
|
|
1838
|
+
ReplicationFactor: [],
|
|
1839
|
+
SimpleUser: [],
|
|
1840
|
+
Subdirectory: [],
|
|
1841
|
+
Tags: _json,
|
|
2226
1842
|
});
|
|
2227
1843
|
};
|
|
2228
|
-
const
|
|
2229
|
-
return {
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
...(input.Atime != null && { Atime: input.Atime }),
|
|
2241
|
-
...(input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond }),
|
|
2242
|
-
...(input.Gid != null && { Gid: input.Gid }),
|
|
2243
|
-
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
2244
|
-
...(input.Mtime != null && { Mtime: input.Mtime }),
|
|
2245
|
-
...(input.ObjectTags != null && { ObjectTags: input.ObjectTags }),
|
|
2246
|
-
...(input.OverwriteMode != null && { OverwriteMode: input.OverwriteMode }),
|
|
2247
|
-
...(input.PosixPermissions != null && { PosixPermissions: input.PosixPermissions }),
|
|
2248
|
-
...(input.PreserveDeletedFiles != null && { PreserveDeletedFiles: input.PreserveDeletedFiles }),
|
|
2249
|
-
...(input.PreserveDevices != null && { PreserveDevices: input.PreserveDevices }),
|
|
2250
|
-
...(input.SecurityDescriptorCopyFlags != null && {
|
|
2251
|
-
SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags,
|
|
2252
|
-
}),
|
|
2253
|
-
...(input.TaskQueueing != null && { TaskQueueing: input.TaskQueueing }),
|
|
2254
|
-
...(input.TransferMode != null && { TransferMode: input.TransferMode }),
|
|
2255
|
-
...(input.Uid != null && { Uid: input.Uid }),
|
|
2256
|
-
...(input.VerifyMode != null && { VerifyMode: input.VerifyMode }),
|
|
2257
|
-
};
|
|
2258
|
-
};
|
|
2259
|
-
const se_PLSecurityGroupArnList = (input, context) => {
|
|
2260
|
-
return input
|
|
2261
|
-
.filter((e) => e != null)
|
|
2262
|
-
.map((entry) => {
|
|
2263
|
-
return entry;
|
|
2264
|
-
});
|
|
2265
|
-
};
|
|
2266
|
-
const se_PLSubnetArnList = (input, context) => {
|
|
2267
|
-
return input
|
|
2268
|
-
.filter((e) => e != null)
|
|
2269
|
-
.map((entry) => {
|
|
2270
|
-
return entry;
|
|
2271
|
-
});
|
|
2272
|
-
};
|
|
2273
|
-
const se_QopConfiguration = (input, context) => {
|
|
2274
|
-
return {
|
|
2275
|
-
...(input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection }),
|
|
2276
|
-
...(input.RpcProtection != null && { RpcProtection: input.RpcProtection }),
|
|
2277
|
-
};
|
|
2278
|
-
};
|
|
2279
|
-
const se_S3Config = (input, context) => {
|
|
2280
|
-
return {
|
|
2281
|
-
...(input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }),
|
|
2282
|
-
};
|
|
2283
|
-
};
|
|
2284
|
-
const se_SmbMountOptions = (input, context) => {
|
|
2285
|
-
return {
|
|
2286
|
-
...(input.Version != null && { Version: input.Version }),
|
|
2287
|
-
};
|
|
2288
|
-
};
|
|
2289
|
-
const se_StartTaskExecutionRequest = (input, context) => {
|
|
2290
|
-
return {
|
|
2291
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2292
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2293
|
-
...(input.OverrideOptions != null && { OverrideOptions: se_Options(input.OverrideOptions, context) }),
|
|
2294
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2295
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2296
|
-
};
|
|
2297
|
-
};
|
|
2298
|
-
const se_TagKeyList = (input, context) => {
|
|
2299
|
-
return input
|
|
2300
|
-
.filter((e) => e != null)
|
|
2301
|
-
.map((entry) => {
|
|
2302
|
-
return entry;
|
|
2303
|
-
});
|
|
2304
|
-
};
|
|
2305
|
-
const se_TagListEntry = (input, context) => {
|
|
2306
|
-
return {
|
|
2307
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2308
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2309
|
-
};
|
|
2310
|
-
};
|
|
2311
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2312
|
-
return {
|
|
2313
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2314
|
-
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2315
|
-
};
|
|
2316
|
-
};
|
|
2317
|
-
const se_TaskFilter = (input, context) => {
|
|
2318
|
-
return {
|
|
2319
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2320
|
-
...(input.Operator != null && { Operator: input.Operator }),
|
|
2321
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2322
|
-
};
|
|
2323
|
-
};
|
|
2324
|
-
const se_TaskFilters = (input, context) => {
|
|
2325
|
-
return input
|
|
2326
|
-
.filter((e) => e != null)
|
|
2327
|
-
.map((entry) => {
|
|
2328
|
-
return se_TaskFilter(entry, context);
|
|
1844
|
+
const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
1845
|
+
return take(input, {
|
|
1846
|
+
AccessKey: [],
|
|
1847
|
+
AgentArns: _json,
|
|
1848
|
+
BucketName: [],
|
|
1849
|
+
SecretKey: [],
|
|
1850
|
+
ServerCertificate: context.base64Encoder,
|
|
1851
|
+
ServerHostname: [],
|
|
1852
|
+
ServerPort: [],
|
|
1853
|
+
ServerProtocol: [],
|
|
1854
|
+
Subdirectory: [],
|
|
1855
|
+
Tags: _json,
|
|
2329
1856
|
});
|
|
2330
1857
|
};
|
|
2331
|
-
const se_TaskSchedule = (input, context) => {
|
|
2332
|
-
return {
|
|
2333
|
-
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
2334
|
-
};
|
|
2335
|
-
};
|
|
2336
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2337
|
-
return {
|
|
2338
|
-
...(input.Keys != null && { Keys: se_TagKeyList(input.Keys, context) }),
|
|
2339
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2340
|
-
};
|
|
2341
|
-
};
|
|
2342
|
-
const se_UpdateAgentRequest = (input, context) => {
|
|
2343
|
-
return {
|
|
2344
|
-
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2345
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2346
|
-
};
|
|
2347
|
-
};
|
|
2348
1858
|
const se_UpdateLocationHdfsRequest = (input, context) => {
|
|
2349
|
-
return {
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
};
|
|
2364
|
-
};
|
|
2365
|
-
const se_UpdateLocationNfsRequest = (input, context) => {
|
|
2366
|
-
return {
|
|
2367
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2368
|
-
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2369
|
-
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
2370
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2371
|
-
};
|
|
1859
|
+
return take(input, {
|
|
1860
|
+
AgentArns: _json,
|
|
1861
|
+
AuthenticationType: [],
|
|
1862
|
+
BlockSize: [],
|
|
1863
|
+
KerberosKeytab: context.base64Encoder,
|
|
1864
|
+
KerberosKrb5Conf: context.base64Encoder,
|
|
1865
|
+
KerberosPrincipal: [],
|
|
1866
|
+
KmsKeyProviderUri: [],
|
|
1867
|
+
LocationArn: [],
|
|
1868
|
+
NameNodes: _json,
|
|
1869
|
+
QopConfiguration: _json,
|
|
1870
|
+
ReplicationFactor: [],
|
|
1871
|
+
SimpleUser: [],
|
|
1872
|
+
Subdirectory: [],
|
|
1873
|
+
});
|
|
2372
1874
|
};
|
|
2373
1875
|
const se_UpdateLocationObjectStorageRequest = (input, context) => {
|
|
2374
|
-
return {
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
};
|
|
2384
|
-
};
|
|
2385
|
-
const se_UpdateLocationSmbRequest = (input, context) => {
|
|
2386
|
-
return {
|
|
2387
|
-
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2388
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
2389
|
-
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2390
|
-
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2391
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2392
|
-
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2393
|
-
...(input.User != null && { User: input.User }),
|
|
2394
|
-
};
|
|
2395
|
-
};
|
|
2396
|
-
const se_UpdateTaskExecutionRequest = (input, context) => {
|
|
2397
|
-
return {
|
|
2398
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2399
|
-
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
const se_UpdateTaskRequest = (input, context) => {
|
|
2403
|
-
return {
|
|
2404
|
-
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2405
|
-
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2406
|
-
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2407
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2408
|
-
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2409
|
-
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2410
|
-
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
const de_AgentArnList = (output, context) => {
|
|
2414
|
-
const retVal = (output || [])
|
|
2415
|
-
.filter((e) => e != null)
|
|
2416
|
-
.map((entry) => {
|
|
2417
|
-
if (entry === null) {
|
|
2418
|
-
return null;
|
|
2419
|
-
}
|
|
2420
|
-
return __expectString(entry);
|
|
2421
|
-
});
|
|
2422
|
-
return retVal;
|
|
2423
|
-
};
|
|
2424
|
-
const de_AgentList = (output, context) => {
|
|
2425
|
-
const retVal = (output || [])
|
|
2426
|
-
.filter((e) => e != null)
|
|
2427
|
-
.map((entry) => {
|
|
2428
|
-
if (entry === null) {
|
|
2429
|
-
return null;
|
|
2430
|
-
}
|
|
2431
|
-
return de_AgentListEntry(entry, context);
|
|
1876
|
+
return take(input, {
|
|
1877
|
+
AccessKey: [],
|
|
1878
|
+
AgentArns: _json,
|
|
1879
|
+
LocationArn: [],
|
|
1880
|
+
SecretKey: [],
|
|
1881
|
+
ServerCertificate: context.base64Encoder,
|
|
1882
|
+
ServerPort: [],
|
|
1883
|
+
ServerProtocol: [],
|
|
1884
|
+
Subdirectory: [],
|
|
2432
1885
|
});
|
|
2433
|
-
return retVal;
|
|
2434
|
-
};
|
|
2435
|
-
const de_AgentListEntry = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
AgentArn: __expectString(output.AgentArn),
|
|
2438
|
-
Name: __expectString(output.Name),
|
|
2439
|
-
Status: __expectString(output.Status),
|
|
2440
|
-
};
|
|
2441
|
-
};
|
|
2442
|
-
const de_CancelTaskExecutionResponse = (output, context) => {
|
|
2443
|
-
return {};
|
|
2444
|
-
};
|
|
2445
|
-
const de_CreateAgentResponse = (output, context) => {
|
|
2446
|
-
return {
|
|
2447
|
-
AgentArn: __expectString(output.AgentArn),
|
|
2448
|
-
};
|
|
2449
|
-
};
|
|
2450
|
-
const de_CreateLocationEfsResponse = (output, context) => {
|
|
2451
|
-
return {
|
|
2452
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
|
-
const de_CreateLocationFsxLustreResponse = (output, context) => {
|
|
2456
|
-
return {
|
|
2457
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2458
|
-
};
|
|
2459
|
-
};
|
|
2460
|
-
const de_CreateLocationFsxOntapResponse = (output, context) => {
|
|
2461
|
-
return {
|
|
2462
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2463
|
-
};
|
|
2464
|
-
};
|
|
2465
|
-
const de_CreateLocationFsxOpenZfsResponse = (output, context) => {
|
|
2466
|
-
return {
|
|
2467
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2468
|
-
};
|
|
2469
|
-
};
|
|
2470
|
-
const de_CreateLocationFsxWindowsResponse = (output, context) => {
|
|
2471
|
-
return {
|
|
2472
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2473
|
-
};
|
|
2474
|
-
};
|
|
2475
|
-
const de_CreateLocationHdfsResponse = (output, context) => {
|
|
2476
|
-
return {
|
|
2477
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2478
|
-
};
|
|
2479
|
-
};
|
|
2480
|
-
const de_CreateLocationNfsResponse = (output, context) => {
|
|
2481
|
-
return {
|
|
2482
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2483
|
-
};
|
|
2484
|
-
};
|
|
2485
|
-
const de_CreateLocationObjectStorageResponse = (output, context) => {
|
|
2486
|
-
return {
|
|
2487
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
const de_CreateLocationS3Response = (output, context) => {
|
|
2491
|
-
return {
|
|
2492
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2493
|
-
};
|
|
2494
|
-
};
|
|
2495
|
-
const de_CreateLocationSmbResponse = (output, context) => {
|
|
2496
|
-
return {
|
|
2497
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2498
|
-
};
|
|
2499
|
-
};
|
|
2500
|
-
const de_CreateTaskResponse = (output, context) => {
|
|
2501
|
-
return {
|
|
2502
|
-
TaskArn: __expectString(output.TaskArn),
|
|
2503
|
-
};
|
|
2504
|
-
};
|
|
2505
|
-
const de_DeleteAgentResponse = (output, context) => {
|
|
2506
|
-
return {};
|
|
2507
|
-
};
|
|
2508
|
-
const de_DeleteLocationResponse = (output, context) => {
|
|
2509
|
-
return {};
|
|
2510
|
-
};
|
|
2511
|
-
const de_DeleteTaskResponse = (output, context) => {
|
|
2512
|
-
return {};
|
|
2513
1886
|
};
|
|
2514
1887
|
const de_DescribeAgentResponse = (output, context) => {
|
|
2515
|
-
return {
|
|
2516
|
-
AgentArn: __expectString
|
|
2517
|
-
CreationTime:
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
Name: __expectString(output.Name),
|
|
2525
|
-
PrivateLinkConfig: output.PrivateLinkConfig != null ? de_PrivateLinkConfig(output.PrivateLinkConfig, context) : undefined,
|
|
2526
|
-
Status: __expectString(output.Status),
|
|
2527
|
-
};
|
|
1888
|
+
return take(output, {
|
|
1889
|
+
AgentArn: __expectString,
|
|
1890
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1891
|
+
EndpointType: __expectString,
|
|
1892
|
+
LastConnectionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1893
|
+
Name: __expectString,
|
|
1894
|
+
PrivateLinkConfig: _json,
|
|
1895
|
+
Status: __expectString,
|
|
1896
|
+
});
|
|
2528
1897
|
};
|
|
2529
1898
|
const de_DescribeLocationEfsResponse = (output, context) => {
|
|
2530
|
-
return {
|
|
2531
|
-
AccessPointArn: __expectString
|
|
2532
|
-
CreationTime:
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2540
|
-
};
|
|
1899
|
+
return take(output, {
|
|
1900
|
+
AccessPointArn: __expectString,
|
|
1901
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1902
|
+
Ec2Config: _json,
|
|
1903
|
+
FileSystemAccessRoleArn: __expectString,
|
|
1904
|
+
InTransitEncryption: __expectString,
|
|
1905
|
+
LocationArn: __expectString,
|
|
1906
|
+
LocationUri: __expectString,
|
|
1907
|
+
});
|
|
2541
1908
|
};
|
|
2542
1909
|
const de_DescribeLocationFsxLustreResponse = (output, context) => {
|
|
2543
|
-
return {
|
|
2544
|
-
CreationTime:
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2550
|
-
};
|
|
1910
|
+
return take(output, {
|
|
1911
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1912
|
+
LocationArn: __expectString,
|
|
1913
|
+
LocationUri: __expectString,
|
|
1914
|
+
SecurityGroupArns: _json,
|
|
1915
|
+
});
|
|
2551
1916
|
};
|
|
2552
1917
|
const de_DescribeLocationFsxOntapResponse = (output, context) => {
|
|
2553
|
-
return {
|
|
2554
|
-
CreationTime:
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
StorageVirtualMachineArn: __expectString(output.StorageVirtualMachineArn),
|
|
2563
|
-
};
|
|
1918
|
+
return take(output, {
|
|
1919
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1920
|
+
FsxFilesystemArn: __expectString,
|
|
1921
|
+
LocationArn: __expectString,
|
|
1922
|
+
LocationUri: __expectString,
|
|
1923
|
+
Protocol: _json,
|
|
1924
|
+
SecurityGroupArns: _json,
|
|
1925
|
+
StorageVirtualMachineArn: __expectString,
|
|
1926
|
+
});
|
|
2564
1927
|
};
|
|
2565
1928
|
const de_DescribeLocationFsxOpenZfsResponse = (output, context) => {
|
|
2566
|
-
return {
|
|
2567
|
-
CreationTime:
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2574
|
-
};
|
|
1929
|
+
return take(output, {
|
|
1930
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1931
|
+
LocationArn: __expectString,
|
|
1932
|
+
LocationUri: __expectString,
|
|
1933
|
+
Protocol: _json,
|
|
1934
|
+
SecurityGroupArns: _json,
|
|
1935
|
+
});
|
|
2575
1936
|
};
|
|
2576
1937
|
const de_DescribeLocationFsxWindowsResponse = (output, context) => {
|
|
2577
|
-
return {
|
|
2578
|
-
CreationTime:
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2585
|
-
User: __expectString(output.User),
|
|
2586
|
-
};
|
|
2587
|
-
};
|
|
2588
|
-
const de_DescribeLocationHdfsResponse = (output, context) => {
|
|
2589
|
-
return {
|
|
2590
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2591
|
-
AuthenticationType: __expectString(output.AuthenticationType),
|
|
2592
|
-
BlockSize: __expectInt32(output.BlockSize),
|
|
2593
|
-
CreationTime: output.CreationTime != null
|
|
2594
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2595
|
-
: undefined,
|
|
2596
|
-
KerberosPrincipal: __expectString(output.KerberosPrincipal),
|
|
2597
|
-
KmsKeyProviderUri: __expectString(output.KmsKeyProviderUri),
|
|
2598
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2599
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2600
|
-
NameNodes: output.NameNodes != null ? de_HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
2601
|
-
QopConfiguration: output.QopConfiguration != null ? de_QopConfiguration(output.QopConfiguration, context) : undefined,
|
|
2602
|
-
ReplicationFactor: __expectInt32(output.ReplicationFactor),
|
|
2603
|
-
SimpleUser: __expectString(output.SimpleUser),
|
|
2604
|
-
};
|
|
2605
|
-
};
|
|
2606
|
-
const de_DescribeLocationNfsResponse = (output, context) => {
|
|
2607
|
-
return {
|
|
2608
|
-
CreationTime: output.CreationTime != null
|
|
2609
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2610
|
-
: undefined,
|
|
2611
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2612
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2613
|
-
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2614
|
-
OnPremConfig: output.OnPremConfig != null ? de_OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
2615
|
-
};
|
|
2616
|
-
};
|
|
2617
|
-
const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
2618
|
-
return {
|
|
2619
|
-
AccessKey: __expectString(output.AccessKey),
|
|
2620
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2621
|
-
CreationTime: output.CreationTime != null
|
|
2622
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2623
|
-
: undefined,
|
|
2624
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2625
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2626
|
-
ServerCertificate: output.ServerCertificate != null ? context.base64Decoder(output.ServerCertificate) : undefined,
|
|
2627
|
-
ServerPort: __expectInt32(output.ServerPort),
|
|
2628
|
-
ServerProtocol: __expectString(output.ServerProtocol),
|
|
2629
|
-
};
|
|
2630
|
-
};
|
|
2631
|
-
const de_DescribeLocationS3Response = (output, context) => {
|
|
2632
|
-
return {
|
|
2633
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2634
|
-
CreationTime: output.CreationTime != null
|
|
2635
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2636
|
-
: undefined,
|
|
2637
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2638
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2639
|
-
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
2640
|
-
S3StorageClass: __expectString(output.S3StorageClass),
|
|
2641
|
-
};
|
|
2642
|
-
};
|
|
2643
|
-
const de_DescribeLocationSmbResponse = (output, context) => {
|
|
2644
|
-
return {
|
|
2645
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2646
|
-
CreationTime: output.CreationTime != null
|
|
2647
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2648
|
-
: undefined,
|
|
2649
|
-
Domain: __expectString(output.Domain),
|
|
2650
|
-
LocationArn: __expectString(output.LocationArn),
|
|
2651
|
-
LocationUri: __expectString(output.LocationUri),
|
|
2652
|
-
MountOptions: output.MountOptions != null ? de_SmbMountOptions(output.MountOptions, context) : undefined,
|
|
2653
|
-
User: __expectString(output.User),
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2656
|
-
const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
2657
|
-
return {
|
|
2658
|
-
BytesCompressed: __expectLong(output.BytesCompressed),
|
|
2659
|
-
BytesTransferred: __expectLong(output.BytesTransferred),
|
|
2660
|
-
BytesWritten: __expectLong(output.BytesWritten),
|
|
2661
|
-
EstimatedBytesToTransfer: __expectLong(output.EstimatedBytesToTransfer),
|
|
2662
|
-
EstimatedFilesToTransfer: __expectLong(output.EstimatedFilesToTransfer),
|
|
2663
|
-
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2664
|
-
FilesTransferred: __expectLong(output.FilesTransferred),
|
|
2665
|
-
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2666
|
-
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2667
|
-
Result: output.Result != null ? de_TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
2668
|
-
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2669
|
-
Status: __expectString(output.Status),
|
|
2670
|
-
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
2671
|
-
};
|
|
2672
|
-
};
|
|
2673
|
-
const de_DescribeTaskResponse = (output, context) => {
|
|
2674
|
-
return {
|
|
2675
|
-
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
2676
|
-
CreationTime: output.CreationTime != null
|
|
2677
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2678
|
-
: undefined,
|
|
2679
|
-
CurrentTaskExecutionArn: __expectString(output.CurrentTaskExecutionArn),
|
|
2680
|
-
DestinationLocationArn: __expectString(output.DestinationLocationArn),
|
|
2681
|
-
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
2682
|
-
? de_DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
2683
|
-
: undefined,
|
|
2684
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
2685
|
-
ErrorDetail: __expectString(output.ErrorDetail),
|
|
2686
|
-
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2687
|
-
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2688
|
-
Name: __expectString(output.Name),
|
|
2689
|
-
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2690
|
-
Schedule: output.Schedule != null ? de_TaskSchedule(output.Schedule, context) : undefined,
|
|
2691
|
-
SourceLocationArn: __expectString(output.SourceLocationArn),
|
|
2692
|
-
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
2693
|
-
? de_SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
2694
|
-
: undefined,
|
|
2695
|
-
Status: __expectString(output.Status),
|
|
2696
|
-
TaskArn: __expectString(output.TaskArn),
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
const de_DestinationNetworkInterfaceArns = (output, context) => {
|
|
2700
|
-
const retVal = (output || [])
|
|
2701
|
-
.filter((e) => e != null)
|
|
2702
|
-
.map((entry) => {
|
|
2703
|
-
if (entry === null) {
|
|
2704
|
-
return null;
|
|
2705
|
-
}
|
|
2706
|
-
return __expectString(entry);
|
|
1938
|
+
return take(output, {
|
|
1939
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1940
|
+
Domain: __expectString,
|
|
1941
|
+
LocationArn: __expectString,
|
|
1942
|
+
LocationUri: __expectString,
|
|
1943
|
+
SecurityGroupArns: _json,
|
|
1944
|
+
User: __expectString,
|
|
2707
1945
|
});
|
|
2708
|
-
return retVal;
|
|
2709
|
-
};
|
|
2710
|
-
const de_Ec2Config = (output, context) => {
|
|
2711
|
-
return {
|
|
2712
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2713
|
-
SubnetArn: __expectString(output.SubnetArn),
|
|
2714
|
-
};
|
|
2715
1946
|
};
|
|
2716
|
-
const
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
.map((entry) => {
|
|
2731
|
-
if (entry === null) {
|
|
2732
|
-
return null;
|
|
2733
|
-
}
|
|
2734
|
-
return de_FilterRule(entry, context);
|
|
1947
|
+
const de_DescribeLocationHdfsResponse = (output, context) => {
|
|
1948
|
+
return take(output, {
|
|
1949
|
+
AgentArns: _json,
|
|
1950
|
+
AuthenticationType: __expectString,
|
|
1951
|
+
BlockSize: __expectInt32,
|
|
1952
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1953
|
+
KerberosPrincipal: __expectString,
|
|
1954
|
+
KmsKeyProviderUri: __expectString,
|
|
1955
|
+
LocationArn: __expectString,
|
|
1956
|
+
LocationUri: __expectString,
|
|
1957
|
+
NameNodes: _json,
|
|
1958
|
+
QopConfiguration: _json,
|
|
1959
|
+
ReplicationFactor: __expectInt32,
|
|
1960
|
+
SimpleUser: __expectString,
|
|
2735
1961
|
});
|
|
2736
|
-
return retVal;
|
|
2737
|
-
};
|
|
2738
|
-
const de_FilterRule = (output, context) => {
|
|
2739
|
-
return {
|
|
2740
|
-
FilterType: __expectString(output.FilterType),
|
|
2741
|
-
Value: __expectString(output.Value),
|
|
2742
|
-
};
|
|
2743
|
-
};
|
|
2744
|
-
const de_FsxProtocol = (output, context) => {
|
|
2745
|
-
return {
|
|
2746
|
-
NFS: output.NFS != null ? de_FsxProtocolNfs(output.NFS, context) : undefined,
|
|
2747
|
-
SMB: output.SMB != null ? de_FsxProtocolSmb(output.SMB, context) : undefined,
|
|
2748
|
-
};
|
|
2749
|
-
};
|
|
2750
|
-
const de_FsxProtocolNfs = (output, context) => {
|
|
2751
|
-
return {
|
|
2752
|
-
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2753
|
-
};
|
|
2754
1962
|
};
|
|
2755
|
-
const
|
|
2756
|
-
return {
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
};
|
|
2763
|
-
const de_HdfsNameNode = (output, context) => {
|
|
2764
|
-
return {
|
|
2765
|
-
Hostname: __expectString(output.Hostname),
|
|
2766
|
-
Port: __expectInt32(output.Port),
|
|
2767
|
-
};
|
|
2768
|
-
};
|
|
2769
|
-
const de_HdfsNameNodeList = (output, context) => {
|
|
2770
|
-
const retVal = (output || [])
|
|
2771
|
-
.filter((e) => e != null)
|
|
2772
|
-
.map((entry) => {
|
|
2773
|
-
if (entry === null) {
|
|
2774
|
-
return null;
|
|
2775
|
-
}
|
|
2776
|
-
return de_HdfsNameNode(entry, context);
|
|
1963
|
+
const de_DescribeLocationNfsResponse = (output, context) => {
|
|
1964
|
+
return take(output, {
|
|
1965
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1966
|
+
LocationArn: __expectString,
|
|
1967
|
+
LocationUri: __expectString,
|
|
1968
|
+
MountOptions: _json,
|
|
1969
|
+
OnPremConfig: _json,
|
|
2777
1970
|
});
|
|
2778
|
-
return retVal;
|
|
2779
|
-
};
|
|
2780
|
-
const de_InternalException = (output, context) => {
|
|
2781
|
-
return {
|
|
2782
|
-
errorCode: __expectString(output.errorCode),
|
|
2783
|
-
message: __expectString(output.message),
|
|
2784
|
-
};
|
|
2785
|
-
};
|
|
2786
|
-
const de_InvalidRequestException = (output, context) => {
|
|
2787
|
-
return {
|
|
2788
|
-
datasyncErrorCode: __expectString(output.datasyncErrorCode),
|
|
2789
|
-
errorCode: __expectString(output.errorCode),
|
|
2790
|
-
message: __expectString(output.message),
|
|
2791
|
-
};
|
|
2792
|
-
};
|
|
2793
|
-
const de_ListAgentsResponse = (output, context) => {
|
|
2794
|
-
return {
|
|
2795
|
-
Agents: output.Agents != null ? de_AgentList(output.Agents, context) : undefined,
|
|
2796
|
-
NextToken: __expectString(output.NextToken),
|
|
2797
|
-
};
|
|
2798
|
-
};
|
|
2799
|
-
const de_ListLocationsResponse = (output, context) => {
|
|
2800
|
-
return {
|
|
2801
|
-
Locations: output.Locations != null ? de_LocationList(output.Locations, context) : undefined,
|
|
2802
|
-
NextToken: __expectString(output.NextToken),
|
|
2803
|
-
};
|
|
2804
|
-
};
|
|
2805
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2806
|
-
return {
|
|
2807
|
-
NextToken: __expectString(output.NextToken),
|
|
2808
|
-
Tags: output.Tags != null ? de_OutputTagList(output.Tags, context) : undefined,
|
|
2809
|
-
};
|
|
2810
|
-
};
|
|
2811
|
-
const de_ListTaskExecutionsResponse = (output, context) => {
|
|
2812
|
-
return {
|
|
2813
|
-
NextToken: __expectString(output.NextToken),
|
|
2814
|
-
TaskExecutions: output.TaskExecutions != null ? de_TaskExecutionList(output.TaskExecutions, context) : undefined,
|
|
2815
|
-
};
|
|
2816
|
-
};
|
|
2817
|
-
const de_ListTasksResponse = (output, context) => {
|
|
2818
|
-
return {
|
|
2819
|
-
NextToken: __expectString(output.NextToken),
|
|
2820
|
-
Tasks: output.Tasks != null ? de_TaskList(output.Tasks, context) : undefined,
|
|
2821
|
-
};
|
|
2822
1971
|
};
|
|
2823
|
-
const
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
1972
|
+
const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
1973
|
+
return take(output, {
|
|
1974
|
+
AccessKey: __expectString,
|
|
1975
|
+
AgentArns: _json,
|
|
1976
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1977
|
+
LocationArn: __expectString,
|
|
1978
|
+
LocationUri: __expectString,
|
|
1979
|
+
ServerCertificate: context.base64Decoder,
|
|
1980
|
+
ServerPort: __expectInt32,
|
|
1981
|
+
ServerProtocol: __expectString,
|
|
2831
1982
|
});
|
|
2832
|
-
return retVal;
|
|
2833
1983
|
};
|
|
2834
|
-
const
|
|
2835
|
-
return {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
Version: __expectString(output.Version),
|
|
2843
|
-
};
|
|
2844
|
-
};
|
|
2845
|
-
const de_OnPremConfig = (output, context) => {
|
|
2846
|
-
return {
|
|
2847
|
-
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
const de_Options = (output, context) => {
|
|
2851
|
-
return {
|
|
2852
|
-
Atime: __expectString(output.Atime),
|
|
2853
|
-
BytesPerSecond: __expectLong(output.BytesPerSecond),
|
|
2854
|
-
Gid: __expectString(output.Gid),
|
|
2855
|
-
LogLevel: __expectString(output.LogLevel),
|
|
2856
|
-
Mtime: __expectString(output.Mtime),
|
|
2857
|
-
ObjectTags: __expectString(output.ObjectTags),
|
|
2858
|
-
OverwriteMode: __expectString(output.OverwriteMode),
|
|
2859
|
-
PosixPermissions: __expectString(output.PosixPermissions),
|
|
2860
|
-
PreserveDeletedFiles: __expectString(output.PreserveDeletedFiles),
|
|
2861
|
-
PreserveDevices: __expectString(output.PreserveDevices),
|
|
2862
|
-
SecurityDescriptorCopyFlags: __expectString(output.SecurityDescriptorCopyFlags),
|
|
2863
|
-
TaskQueueing: __expectString(output.TaskQueueing),
|
|
2864
|
-
TransferMode: __expectString(output.TransferMode),
|
|
2865
|
-
Uid: __expectString(output.Uid),
|
|
2866
|
-
VerifyMode: __expectString(output.VerifyMode),
|
|
2867
|
-
};
|
|
2868
|
-
};
|
|
2869
|
-
const de_OutputTagList = (output, context) => {
|
|
2870
|
-
const retVal = (output || [])
|
|
2871
|
-
.filter((e) => e != null)
|
|
2872
|
-
.map((entry) => {
|
|
2873
|
-
if (entry === null) {
|
|
2874
|
-
return null;
|
|
2875
|
-
}
|
|
2876
|
-
return de_TagListEntry(entry, context);
|
|
2877
|
-
});
|
|
2878
|
-
return retVal;
|
|
2879
|
-
};
|
|
2880
|
-
const de_PLSecurityGroupArnList = (output, context) => {
|
|
2881
|
-
const retVal = (output || [])
|
|
2882
|
-
.filter((e) => e != null)
|
|
2883
|
-
.map((entry) => {
|
|
2884
|
-
if (entry === null) {
|
|
2885
|
-
return null;
|
|
2886
|
-
}
|
|
2887
|
-
return __expectString(entry);
|
|
2888
|
-
});
|
|
2889
|
-
return retVal;
|
|
2890
|
-
};
|
|
2891
|
-
const de_PLSubnetArnList = (output, context) => {
|
|
2892
|
-
const retVal = (output || [])
|
|
2893
|
-
.filter((e) => e != null)
|
|
2894
|
-
.map((entry) => {
|
|
2895
|
-
if (entry === null) {
|
|
2896
|
-
return null;
|
|
2897
|
-
}
|
|
2898
|
-
return __expectString(entry);
|
|
1984
|
+
const de_DescribeLocationS3Response = (output, context) => {
|
|
1985
|
+
return take(output, {
|
|
1986
|
+
AgentArns: _json,
|
|
1987
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1988
|
+
LocationArn: __expectString,
|
|
1989
|
+
LocationUri: __expectString,
|
|
1990
|
+
S3Config: _json,
|
|
1991
|
+
S3StorageClass: __expectString,
|
|
2899
1992
|
});
|
|
2900
|
-
return retVal;
|
|
2901
|
-
};
|
|
2902
|
-
const de_PrivateLinkConfig = (output, context) => {
|
|
2903
|
-
return {
|
|
2904
|
-
PrivateLinkEndpoint: __expectString(output.PrivateLinkEndpoint),
|
|
2905
|
-
SecurityGroupArns: output.SecurityGroupArns != null ? de_PLSecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2906
|
-
SubnetArns: output.SubnetArns != null ? de_PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
2907
|
-
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
2908
|
-
};
|
|
2909
1993
|
};
|
|
2910
|
-
const
|
|
2911
|
-
return {
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
const de_SmbMountOptions = (output, context) => {
|
|
2922
|
-
return {
|
|
2923
|
-
Version: __expectString(output.Version),
|
|
2924
|
-
};
|
|
2925
|
-
};
|
|
2926
|
-
const de_SourceNetworkInterfaceArns = (output, context) => {
|
|
2927
|
-
const retVal = (output || [])
|
|
2928
|
-
.filter((e) => e != null)
|
|
2929
|
-
.map((entry) => {
|
|
2930
|
-
if (entry === null) {
|
|
2931
|
-
return null;
|
|
2932
|
-
}
|
|
2933
|
-
return __expectString(entry);
|
|
1994
|
+
const de_DescribeLocationSmbResponse = (output, context) => {
|
|
1995
|
+
return take(output, {
|
|
1996
|
+
AgentArns: _json,
|
|
1997
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1998
|
+
Domain: __expectString,
|
|
1999
|
+
LocationArn: __expectString,
|
|
2000
|
+
LocationUri: __expectString,
|
|
2001
|
+
MountOptions: _json,
|
|
2002
|
+
User: __expectString,
|
|
2934
2003
|
});
|
|
2935
|
-
return retVal;
|
|
2936
2004
|
};
|
|
2937
|
-
const
|
|
2938
|
-
return {
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
const retVal = (output || [])
|
|
2953
|
-
.filter((e) => e != null)
|
|
2954
|
-
.map((entry) => {
|
|
2955
|
-
if (entry === null) {
|
|
2956
|
-
return null;
|
|
2957
|
-
}
|
|
2958
|
-
return de_TaskExecutionListEntry(entry, context);
|
|
2005
|
+
const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
2006
|
+
return take(output, {
|
|
2007
|
+
BytesCompressed: __expectLong,
|
|
2008
|
+
BytesTransferred: __expectLong,
|
|
2009
|
+
BytesWritten: __expectLong,
|
|
2010
|
+
EstimatedBytesToTransfer: __expectLong,
|
|
2011
|
+
EstimatedFilesToTransfer: __expectLong,
|
|
2012
|
+
Excludes: _json,
|
|
2013
|
+
FilesTransferred: __expectLong,
|
|
2014
|
+
Includes: _json,
|
|
2015
|
+
Options: _json,
|
|
2016
|
+
Result: _json,
|
|
2017
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2018
|
+
Status: __expectString,
|
|
2019
|
+
TaskExecutionArn: __expectString,
|
|
2959
2020
|
});
|
|
2960
|
-
return retVal;
|
|
2961
|
-
};
|
|
2962
|
-
const de_TaskExecutionListEntry = (output, context) => {
|
|
2963
|
-
return {
|
|
2964
|
-
Status: __expectString(output.Status),
|
|
2965
|
-
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
2966
|
-
};
|
|
2967
2021
|
};
|
|
2968
|
-
const
|
|
2969
|
-
return {
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
return null;
|
|
2987
|
-
}
|
|
2988
|
-
return de_TaskListEntry(entry, context);
|
|
2022
|
+
const de_DescribeTaskResponse = (output, context) => {
|
|
2023
|
+
return take(output, {
|
|
2024
|
+
CloudWatchLogGroupArn: __expectString,
|
|
2025
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2026
|
+
CurrentTaskExecutionArn: __expectString,
|
|
2027
|
+
DestinationLocationArn: __expectString,
|
|
2028
|
+
DestinationNetworkInterfaceArns: _json,
|
|
2029
|
+
ErrorCode: __expectString,
|
|
2030
|
+
ErrorDetail: __expectString,
|
|
2031
|
+
Excludes: _json,
|
|
2032
|
+
Includes: _json,
|
|
2033
|
+
Name: __expectString,
|
|
2034
|
+
Options: _json,
|
|
2035
|
+
Schedule: _json,
|
|
2036
|
+
SourceLocationArn: __expectString,
|
|
2037
|
+
SourceNetworkInterfaceArns: _json,
|
|
2038
|
+
Status: __expectString,
|
|
2039
|
+
TaskArn: __expectString,
|
|
2989
2040
|
});
|
|
2990
|
-
return retVal;
|
|
2991
|
-
};
|
|
2992
|
-
const de_TaskListEntry = (output, context) => {
|
|
2993
|
-
return {
|
|
2994
|
-
Name: __expectString(output.Name),
|
|
2995
|
-
Status: __expectString(output.Status),
|
|
2996
|
-
TaskArn: __expectString(output.TaskArn),
|
|
2997
|
-
};
|
|
2998
|
-
};
|
|
2999
|
-
const de_TaskSchedule = (output, context) => {
|
|
3000
|
-
return {
|
|
3001
|
-
ScheduleExpression: __expectString(output.ScheduleExpression),
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
3005
|
-
return {};
|
|
3006
|
-
};
|
|
3007
|
-
const de_UpdateAgentResponse = (output, context) => {
|
|
3008
|
-
return {};
|
|
3009
|
-
};
|
|
3010
|
-
const de_UpdateLocationHdfsResponse = (output, context) => {
|
|
3011
|
-
return {};
|
|
3012
|
-
};
|
|
3013
|
-
const de_UpdateLocationNfsResponse = (output, context) => {
|
|
3014
|
-
return {};
|
|
3015
|
-
};
|
|
3016
|
-
const de_UpdateLocationObjectStorageResponse = (output, context) => {
|
|
3017
|
-
return {};
|
|
3018
|
-
};
|
|
3019
|
-
const de_UpdateLocationSmbResponse = (output, context) => {
|
|
3020
|
-
return {};
|
|
3021
|
-
};
|
|
3022
|
-
const de_UpdateTaskExecutionResponse = (output, context) => {
|
|
3023
|
-
return {};
|
|
3024
|
-
};
|
|
3025
|
-
const de_UpdateTaskResponse = (output, context) => {
|
|
3026
|
-
return {};
|
|
3027
2041
|
};
|
|
3028
2042
|
const deserializeMetadata = (output) => ({
|
|
3029
2043
|
httpStatusCode: output.statusCode,
|
|
@@ -3038,6 +2052,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3038
2052
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3039
2053
|
};
|
|
3040
2054
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2055
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3041
2056
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3042
2057
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3043
2058
|
const contents = {
|