@aws-sdk/client-sfn 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_0.js +295 -1107
- package/dist-es/protocols/Aws_json1_0.js +296 -1108
- package/package.json +6 -6
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ActivityDoesNotExist, ActivityLimitExceeded, ActivityWorkerLimitExceeded, ExecutionAlreadyExists, ExecutionDoesNotExist, ExecutionLimitExceeded, InvalidArn, InvalidDefinition, InvalidExecutionInput, InvalidLoggingConfiguration, InvalidName, InvalidOutput, InvalidToken, InvalidTracingConfiguration, MissingRequiredParameter, ResourceNotFound, StateMachineAlreadyExists, StateMachineDeleting, StateMachineDoesNotExist, StateMachineLimitExceeded, StateMachineTypeNotSupported, TaskDoesNotExist, TaskTimedOut, TooManyTags, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SFNServiceException as __BaseException } from "../models/SFNServiceException";
|
|
5
5
|
export const se_CreateActivityCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("CreateActivity");
|
|
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_CreateStateMachineCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateStateMachine");
|
|
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_DeleteActivityCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("DeleteActivity");
|
|
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_DeleteStateMachineCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("DeleteStateMachine");
|
|
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_DescribeActivityCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("DescribeActivity");
|
|
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_DescribeExecutionCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("DescribeExecution");
|
|
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_DescribeMapRunCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("DescribeMapRun");
|
|
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_DescribeStateMachineCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("DescribeStateMachine");
|
|
49
49
|
let body;
|
|
50
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
53
|
export const se_DescribeStateMachineForExecutionCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("DescribeStateMachineForExecution");
|
|
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_GetActivityTaskCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("GetActivityTask");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_GetExecutionHistoryCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("GetExecutionHistory");
|
|
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_ListActivitiesCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("ListActivities");
|
|
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_ListExecutionsCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("ListExecutions");
|
|
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_ListMapRunsCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("ListMapRuns");
|
|
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_ListStateMachinesCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("ListStateMachines");
|
|
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_ListTagsForResourceCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("ListTagsForResource");
|
|
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_SendTaskFailureCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("SendTaskFailure");
|
|
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_SendTaskHeartbeatCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("SendTaskHeartbeat");
|
|
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_SendTaskSuccessCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("SendTaskSuccess");
|
|
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_StartExecutionCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("StartExecution");
|
|
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_StartSyncExecutionCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("StartSyncExecution");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
130
130
|
if (context.disableHostPrefix !== true) {
|
|
131
131
|
resolvedHostname = "sync-" + resolvedHostname;
|
|
@@ -138,19 +138,19 @@ export const se_StartSyncExecutionCommand = async (input, context) => {
|
|
|
138
138
|
export const se_StopExecutionCommand = async (input, context) => {
|
|
139
139
|
const headers = sharedHeaders("StopExecution");
|
|
140
140
|
let body;
|
|
141
|
-
body = JSON.stringify(
|
|
141
|
+
body = JSON.stringify(_json(input));
|
|
142
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
143
|
};
|
|
144
144
|
export const se_TagResourceCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("TagResource");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(_json(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("UntagResource");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
export const se_UpdateMapRunCommand = async (input, context) => {
|
|
@@ -162,7 +162,7 @@ export const se_UpdateMapRunCommand = async (input, context) => {
|
|
|
162
162
|
export const se_UpdateStateMachineCommand = async (input, context) => {
|
|
163
163
|
const headers = sharedHeaders("UpdateStateMachine");
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(_json(input));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
168
|
export const de_CreateActivityCommand = async (output, context) => {
|
|
@@ -176,7 +176,7 @@ export const de_CreateActivityCommand = async (output, context) => {
|
|
|
176
176
|
$metadata: deserializeMetadata(output),
|
|
177
177
|
...contents,
|
|
178
178
|
};
|
|
179
|
-
return
|
|
179
|
+
return response;
|
|
180
180
|
};
|
|
181
181
|
const de_CreateActivityCommandError = async (output, context) => {
|
|
182
182
|
const parsedOutput = {
|
|
@@ -196,10 +196,9 @@ const de_CreateActivityCommandError = async (output, context) => {
|
|
|
196
196
|
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
197
197
|
default:
|
|
198
198
|
const parsedBody = parsedOutput.body;
|
|
199
|
-
throwDefaultError({
|
|
199
|
+
return throwDefaultError({
|
|
200
200
|
output,
|
|
201
201
|
parsedBody,
|
|
202
|
-
exceptionCtor: __BaseException,
|
|
203
202
|
errorCode,
|
|
204
203
|
});
|
|
205
204
|
}
|
|
@@ -215,7 +214,7 @@ export const de_CreateStateMachineCommand = async (output, context) => {
|
|
|
215
214
|
$metadata: deserializeMetadata(output),
|
|
216
215
|
...contents,
|
|
217
216
|
};
|
|
218
|
-
return
|
|
217
|
+
return response;
|
|
219
218
|
};
|
|
220
219
|
const de_CreateStateMachineCommandError = async (output, context) => {
|
|
221
220
|
const parsedOutput = {
|
|
@@ -256,10 +255,9 @@ const de_CreateStateMachineCommandError = async (output, context) => {
|
|
|
256
255
|
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
257
256
|
default:
|
|
258
257
|
const parsedBody = parsedOutput.body;
|
|
259
|
-
throwDefaultError({
|
|
258
|
+
return throwDefaultError({
|
|
260
259
|
output,
|
|
261
260
|
parsedBody,
|
|
262
|
-
exceptionCtor: __BaseException,
|
|
263
261
|
errorCode,
|
|
264
262
|
});
|
|
265
263
|
}
|
|
@@ -270,12 +268,12 @@ export const de_DeleteActivityCommand = async (output, context) => {
|
|
|
270
268
|
}
|
|
271
269
|
const data = await parseBody(output.body, context);
|
|
272
270
|
let contents = {};
|
|
273
|
-
contents =
|
|
271
|
+
contents = _json(data);
|
|
274
272
|
const response = {
|
|
275
273
|
$metadata: deserializeMetadata(output),
|
|
276
274
|
...contents,
|
|
277
275
|
};
|
|
278
|
-
return
|
|
276
|
+
return response;
|
|
279
277
|
};
|
|
280
278
|
const de_DeleteActivityCommandError = async (output, context) => {
|
|
281
279
|
const parsedOutput = {
|
|
@@ -289,10 +287,9 @@ const de_DeleteActivityCommandError = async (output, context) => {
|
|
|
289
287
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
290
288
|
default:
|
|
291
289
|
const parsedBody = parsedOutput.body;
|
|
292
|
-
throwDefaultError({
|
|
290
|
+
return throwDefaultError({
|
|
293
291
|
output,
|
|
294
292
|
parsedBody,
|
|
295
|
-
exceptionCtor: __BaseException,
|
|
296
293
|
errorCode,
|
|
297
294
|
});
|
|
298
295
|
}
|
|
@@ -303,12 +300,12 @@ export const de_DeleteStateMachineCommand = async (output, context) => {
|
|
|
303
300
|
}
|
|
304
301
|
const data = await parseBody(output.body, context);
|
|
305
302
|
let contents = {};
|
|
306
|
-
contents =
|
|
303
|
+
contents = _json(data);
|
|
307
304
|
const response = {
|
|
308
305
|
$metadata: deserializeMetadata(output),
|
|
309
306
|
...contents,
|
|
310
307
|
};
|
|
311
|
-
return
|
|
308
|
+
return response;
|
|
312
309
|
};
|
|
313
310
|
const de_DeleteStateMachineCommandError = async (output, context) => {
|
|
314
311
|
const parsedOutput = {
|
|
@@ -325,10 +322,9 @@ const de_DeleteStateMachineCommandError = async (output, context) => {
|
|
|
325
322
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
326
323
|
default:
|
|
327
324
|
const parsedBody = parsedOutput.body;
|
|
328
|
-
throwDefaultError({
|
|
325
|
+
return throwDefaultError({
|
|
329
326
|
output,
|
|
330
327
|
parsedBody,
|
|
331
|
-
exceptionCtor: __BaseException,
|
|
332
328
|
errorCode,
|
|
333
329
|
});
|
|
334
330
|
}
|
|
@@ -344,7 +340,7 @@ export const de_DescribeActivityCommand = async (output, context) => {
|
|
|
344
340
|
$metadata: deserializeMetadata(output),
|
|
345
341
|
...contents,
|
|
346
342
|
};
|
|
347
|
-
return
|
|
343
|
+
return response;
|
|
348
344
|
};
|
|
349
345
|
const de_DescribeActivityCommandError = async (output, context) => {
|
|
350
346
|
const parsedOutput = {
|
|
@@ -361,10 +357,9 @@ const de_DescribeActivityCommandError = async (output, context) => {
|
|
|
361
357
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
362
358
|
default:
|
|
363
359
|
const parsedBody = parsedOutput.body;
|
|
364
|
-
throwDefaultError({
|
|
360
|
+
return throwDefaultError({
|
|
365
361
|
output,
|
|
366
362
|
parsedBody,
|
|
367
|
-
exceptionCtor: __BaseException,
|
|
368
363
|
errorCode,
|
|
369
364
|
});
|
|
370
365
|
}
|
|
@@ -380,7 +375,7 @@ export const de_DescribeExecutionCommand = async (output, context) => {
|
|
|
380
375
|
$metadata: deserializeMetadata(output),
|
|
381
376
|
...contents,
|
|
382
377
|
};
|
|
383
|
-
return
|
|
378
|
+
return response;
|
|
384
379
|
};
|
|
385
380
|
const de_DescribeExecutionCommandError = async (output, context) => {
|
|
386
381
|
const parsedOutput = {
|
|
@@ -397,10 +392,9 @@ const de_DescribeExecutionCommandError = async (output, context) => {
|
|
|
397
392
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
398
393
|
default:
|
|
399
394
|
const parsedBody = parsedOutput.body;
|
|
400
|
-
throwDefaultError({
|
|
395
|
+
return throwDefaultError({
|
|
401
396
|
output,
|
|
402
397
|
parsedBody,
|
|
403
|
-
exceptionCtor: __BaseException,
|
|
404
398
|
errorCode,
|
|
405
399
|
});
|
|
406
400
|
}
|
|
@@ -416,7 +410,7 @@ export const de_DescribeMapRunCommand = async (output, context) => {
|
|
|
416
410
|
$metadata: deserializeMetadata(output),
|
|
417
411
|
...contents,
|
|
418
412
|
};
|
|
419
|
-
return
|
|
413
|
+
return response;
|
|
420
414
|
};
|
|
421
415
|
const de_DescribeMapRunCommandError = async (output, context) => {
|
|
422
416
|
const parsedOutput = {
|
|
@@ -433,10 +427,9 @@ const de_DescribeMapRunCommandError = async (output, context) => {
|
|
|
433
427
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
434
428
|
default:
|
|
435
429
|
const parsedBody = parsedOutput.body;
|
|
436
|
-
throwDefaultError({
|
|
430
|
+
return throwDefaultError({
|
|
437
431
|
output,
|
|
438
432
|
parsedBody,
|
|
439
|
-
exceptionCtor: __BaseException,
|
|
440
433
|
errorCode,
|
|
441
434
|
});
|
|
442
435
|
}
|
|
@@ -452,7 +445,7 @@ export const de_DescribeStateMachineCommand = async (output, context) => {
|
|
|
452
445
|
$metadata: deserializeMetadata(output),
|
|
453
446
|
...contents,
|
|
454
447
|
};
|
|
455
|
-
return
|
|
448
|
+
return response;
|
|
456
449
|
};
|
|
457
450
|
const de_DescribeStateMachineCommandError = async (output, context) => {
|
|
458
451
|
const parsedOutput = {
|
|
@@ -469,10 +462,9 @@ const de_DescribeStateMachineCommandError = async (output, context) => {
|
|
|
469
462
|
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
470
463
|
default:
|
|
471
464
|
const parsedBody = parsedOutput.body;
|
|
472
|
-
throwDefaultError({
|
|
465
|
+
return throwDefaultError({
|
|
473
466
|
output,
|
|
474
467
|
parsedBody,
|
|
475
|
-
exceptionCtor: __BaseException,
|
|
476
468
|
errorCode,
|
|
477
469
|
});
|
|
478
470
|
}
|
|
@@ -488,7 +480,7 @@ export const de_DescribeStateMachineForExecutionCommand = async (output, context
|
|
|
488
480
|
$metadata: deserializeMetadata(output),
|
|
489
481
|
...contents,
|
|
490
482
|
};
|
|
491
|
-
return
|
|
483
|
+
return response;
|
|
492
484
|
};
|
|
493
485
|
const de_DescribeStateMachineForExecutionCommandError = async (output, context) => {
|
|
494
486
|
const parsedOutput = {
|
|
@@ -505,10 +497,9 @@ const de_DescribeStateMachineForExecutionCommandError = async (output, context)
|
|
|
505
497
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
506
498
|
default:
|
|
507
499
|
const parsedBody = parsedOutput.body;
|
|
508
|
-
throwDefaultError({
|
|
500
|
+
return throwDefaultError({
|
|
509
501
|
output,
|
|
510
502
|
parsedBody,
|
|
511
|
-
exceptionCtor: __BaseException,
|
|
512
503
|
errorCode,
|
|
513
504
|
});
|
|
514
505
|
}
|
|
@@ -519,12 +510,12 @@ export const de_GetActivityTaskCommand = async (output, context) => {
|
|
|
519
510
|
}
|
|
520
511
|
const data = await parseBody(output.body, context);
|
|
521
512
|
let contents = {};
|
|
522
|
-
contents =
|
|
513
|
+
contents = _json(data);
|
|
523
514
|
const response = {
|
|
524
515
|
$metadata: deserializeMetadata(output),
|
|
525
516
|
...contents,
|
|
526
517
|
};
|
|
527
|
-
return
|
|
518
|
+
return response;
|
|
528
519
|
};
|
|
529
520
|
const de_GetActivityTaskCommandError = async (output, context) => {
|
|
530
521
|
const parsedOutput = {
|
|
@@ -544,10 +535,9 @@ const de_GetActivityTaskCommandError = async (output, context) => {
|
|
|
544
535
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
545
536
|
default:
|
|
546
537
|
const parsedBody = parsedOutput.body;
|
|
547
|
-
throwDefaultError({
|
|
538
|
+
return throwDefaultError({
|
|
548
539
|
output,
|
|
549
540
|
parsedBody,
|
|
550
|
-
exceptionCtor: __BaseException,
|
|
551
541
|
errorCode,
|
|
552
542
|
});
|
|
553
543
|
}
|
|
@@ -563,7 +553,7 @@ export const de_GetExecutionHistoryCommand = async (output, context) => {
|
|
|
563
553
|
$metadata: deserializeMetadata(output),
|
|
564
554
|
...contents,
|
|
565
555
|
};
|
|
566
|
-
return
|
|
556
|
+
return response;
|
|
567
557
|
};
|
|
568
558
|
const de_GetExecutionHistoryCommandError = async (output, context) => {
|
|
569
559
|
const parsedOutput = {
|
|
@@ -583,10 +573,9 @@ const de_GetExecutionHistoryCommandError = async (output, context) => {
|
|
|
583
573
|
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
584
574
|
default:
|
|
585
575
|
const parsedBody = parsedOutput.body;
|
|
586
|
-
throwDefaultError({
|
|
576
|
+
return throwDefaultError({
|
|
587
577
|
output,
|
|
588
578
|
parsedBody,
|
|
589
|
-
exceptionCtor: __BaseException,
|
|
590
579
|
errorCode,
|
|
591
580
|
});
|
|
592
581
|
}
|
|
@@ -602,7 +591,7 @@ export const de_ListActivitiesCommand = async (output, context) => {
|
|
|
602
591
|
$metadata: deserializeMetadata(output),
|
|
603
592
|
...contents,
|
|
604
593
|
};
|
|
605
|
-
return
|
|
594
|
+
return response;
|
|
606
595
|
};
|
|
607
596
|
const de_ListActivitiesCommandError = async (output, context) => {
|
|
608
597
|
const parsedOutput = {
|
|
@@ -616,10 +605,9 @@ const de_ListActivitiesCommandError = async (output, context) => {
|
|
|
616
605
|
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
617
606
|
default:
|
|
618
607
|
const parsedBody = parsedOutput.body;
|
|
619
|
-
throwDefaultError({
|
|
608
|
+
return throwDefaultError({
|
|
620
609
|
output,
|
|
621
610
|
parsedBody,
|
|
622
|
-
exceptionCtor: __BaseException,
|
|
623
611
|
errorCode,
|
|
624
612
|
});
|
|
625
613
|
}
|
|
@@ -635,7 +623,7 @@ export const de_ListExecutionsCommand = async (output, context) => {
|
|
|
635
623
|
$metadata: deserializeMetadata(output),
|
|
636
624
|
...contents,
|
|
637
625
|
};
|
|
638
|
-
return
|
|
626
|
+
return response;
|
|
639
627
|
};
|
|
640
628
|
const de_ListExecutionsCommandError = async (output, context) => {
|
|
641
629
|
const parsedOutput = {
|
|
@@ -664,10 +652,9 @@ const de_ListExecutionsCommandError = async (output, context) => {
|
|
|
664
652
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
665
653
|
default:
|
|
666
654
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
throwDefaultError({
|
|
655
|
+
return throwDefaultError({
|
|
668
656
|
output,
|
|
669
657
|
parsedBody,
|
|
670
|
-
exceptionCtor: __BaseException,
|
|
671
658
|
errorCode,
|
|
672
659
|
});
|
|
673
660
|
}
|
|
@@ -683,7 +670,7 @@ export const de_ListMapRunsCommand = async (output, context) => {
|
|
|
683
670
|
$metadata: deserializeMetadata(output),
|
|
684
671
|
...contents,
|
|
685
672
|
};
|
|
686
|
-
return
|
|
673
|
+
return response;
|
|
687
674
|
};
|
|
688
675
|
const de_ListMapRunsCommandError = async (output, context) => {
|
|
689
676
|
const parsedOutput = {
|
|
@@ -703,10 +690,9 @@ const de_ListMapRunsCommandError = async (output, context) => {
|
|
|
703
690
|
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
704
691
|
default:
|
|
705
692
|
const parsedBody = parsedOutput.body;
|
|
706
|
-
throwDefaultError({
|
|
693
|
+
return throwDefaultError({
|
|
707
694
|
output,
|
|
708
695
|
parsedBody,
|
|
709
|
-
exceptionCtor: __BaseException,
|
|
710
696
|
errorCode,
|
|
711
697
|
});
|
|
712
698
|
}
|
|
@@ -722,7 +708,7 @@ export const de_ListStateMachinesCommand = async (output, context) => {
|
|
|
722
708
|
$metadata: deserializeMetadata(output),
|
|
723
709
|
...contents,
|
|
724
710
|
};
|
|
725
|
-
return
|
|
711
|
+
return response;
|
|
726
712
|
};
|
|
727
713
|
const de_ListStateMachinesCommandError = async (output, context) => {
|
|
728
714
|
const parsedOutput = {
|
|
@@ -736,10 +722,9 @@ const de_ListStateMachinesCommandError = async (output, context) => {
|
|
|
736
722
|
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
737
723
|
default:
|
|
738
724
|
const parsedBody = parsedOutput.body;
|
|
739
|
-
throwDefaultError({
|
|
725
|
+
return throwDefaultError({
|
|
740
726
|
output,
|
|
741
727
|
parsedBody,
|
|
742
|
-
exceptionCtor: __BaseException,
|
|
743
728
|
errorCode,
|
|
744
729
|
});
|
|
745
730
|
}
|
|
@@ -750,12 +735,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
750
735
|
}
|
|
751
736
|
const data = await parseBody(output.body, context);
|
|
752
737
|
let contents = {};
|
|
753
|
-
contents =
|
|
738
|
+
contents = _json(data);
|
|
754
739
|
const response = {
|
|
755
740
|
$metadata: deserializeMetadata(output),
|
|
756
741
|
...contents,
|
|
757
742
|
};
|
|
758
|
-
return
|
|
743
|
+
return response;
|
|
759
744
|
};
|
|
760
745
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
761
746
|
const parsedOutput = {
|
|
@@ -772,10 +757,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
772
757
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
773
758
|
default:
|
|
774
759
|
const parsedBody = parsedOutput.body;
|
|
775
|
-
throwDefaultError({
|
|
760
|
+
return throwDefaultError({
|
|
776
761
|
output,
|
|
777
762
|
parsedBody,
|
|
778
|
-
exceptionCtor: __BaseException,
|
|
779
763
|
errorCode,
|
|
780
764
|
});
|
|
781
765
|
}
|
|
@@ -786,12 +770,12 @@ export const de_SendTaskFailureCommand = async (output, context) => {
|
|
|
786
770
|
}
|
|
787
771
|
const data = await parseBody(output.body, context);
|
|
788
772
|
let contents = {};
|
|
789
|
-
contents =
|
|
773
|
+
contents = _json(data);
|
|
790
774
|
const response = {
|
|
791
775
|
$metadata: deserializeMetadata(output),
|
|
792
776
|
...contents,
|
|
793
777
|
};
|
|
794
|
-
return
|
|
778
|
+
return response;
|
|
795
779
|
};
|
|
796
780
|
const de_SendTaskFailureCommandError = async (output, context) => {
|
|
797
781
|
const parsedOutput = {
|
|
@@ -811,10 +795,9 @@ const de_SendTaskFailureCommandError = async (output, context) => {
|
|
|
811
795
|
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
812
796
|
default:
|
|
813
797
|
const parsedBody = parsedOutput.body;
|
|
814
|
-
throwDefaultError({
|
|
798
|
+
return throwDefaultError({
|
|
815
799
|
output,
|
|
816
800
|
parsedBody,
|
|
817
|
-
exceptionCtor: __BaseException,
|
|
818
801
|
errorCode,
|
|
819
802
|
});
|
|
820
803
|
}
|
|
@@ -825,12 +808,12 @@ export const de_SendTaskHeartbeatCommand = async (output, context) => {
|
|
|
825
808
|
}
|
|
826
809
|
const data = await parseBody(output.body, context);
|
|
827
810
|
let contents = {};
|
|
828
|
-
contents =
|
|
811
|
+
contents = _json(data);
|
|
829
812
|
const response = {
|
|
830
813
|
$metadata: deserializeMetadata(output),
|
|
831
814
|
...contents,
|
|
832
815
|
};
|
|
833
|
-
return
|
|
816
|
+
return response;
|
|
834
817
|
};
|
|
835
818
|
const de_SendTaskHeartbeatCommandError = async (output, context) => {
|
|
836
819
|
const parsedOutput = {
|
|
@@ -850,10 +833,9 @@ const de_SendTaskHeartbeatCommandError = async (output, context) => {
|
|
|
850
833
|
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
851
834
|
default:
|
|
852
835
|
const parsedBody = parsedOutput.body;
|
|
853
|
-
throwDefaultError({
|
|
836
|
+
return throwDefaultError({
|
|
854
837
|
output,
|
|
855
838
|
parsedBody,
|
|
856
|
-
exceptionCtor: __BaseException,
|
|
857
839
|
errorCode,
|
|
858
840
|
});
|
|
859
841
|
}
|
|
@@ -864,12 +846,12 @@ export const de_SendTaskSuccessCommand = async (output, context) => {
|
|
|
864
846
|
}
|
|
865
847
|
const data = await parseBody(output.body, context);
|
|
866
848
|
let contents = {};
|
|
867
|
-
contents =
|
|
849
|
+
contents = _json(data);
|
|
868
850
|
const response = {
|
|
869
851
|
$metadata: deserializeMetadata(output),
|
|
870
852
|
...contents,
|
|
871
853
|
};
|
|
872
|
-
return
|
|
854
|
+
return response;
|
|
873
855
|
};
|
|
874
856
|
const de_SendTaskSuccessCommandError = async (output, context) => {
|
|
875
857
|
const parsedOutput = {
|
|
@@ -892,10 +874,9 @@ const de_SendTaskSuccessCommandError = async (output, context) => {
|
|
|
892
874
|
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
893
875
|
default:
|
|
894
876
|
const parsedBody = parsedOutput.body;
|
|
895
|
-
throwDefaultError({
|
|
877
|
+
return throwDefaultError({
|
|
896
878
|
output,
|
|
897
879
|
parsedBody,
|
|
898
|
-
exceptionCtor: __BaseException,
|
|
899
880
|
errorCode,
|
|
900
881
|
});
|
|
901
882
|
}
|
|
@@ -911,7 +892,7 @@ export const de_StartExecutionCommand = async (output, context) => {
|
|
|
911
892
|
$metadata: deserializeMetadata(output),
|
|
912
893
|
...contents,
|
|
913
894
|
};
|
|
914
|
-
return
|
|
895
|
+
return response;
|
|
915
896
|
};
|
|
916
897
|
const de_StartExecutionCommandError = async (output, context) => {
|
|
917
898
|
const parsedOutput = {
|
|
@@ -946,10 +927,9 @@ const de_StartExecutionCommandError = async (output, context) => {
|
|
|
946
927
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
947
928
|
default:
|
|
948
929
|
const parsedBody = parsedOutput.body;
|
|
949
|
-
throwDefaultError({
|
|
930
|
+
return throwDefaultError({
|
|
950
931
|
output,
|
|
951
932
|
parsedBody,
|
|
952
|
-
exceptionCtor: __BaseException,
|
|
953
933
|
errorCode,
|
|
954
934
|
});
|
|
955
935
|
}
|
|
@@ -965,7 +945,7 @@ export const de_StartSyncExecutionCommand = async (output, context) => {
|
|
|
965
945
|
$metadata: deserializeMetadata(output),
|
|
966
946
|
...contents,
|
|
967
947
|
};
|
|
968
|
-
return
|
|
948
|
+
return response;
|
|
969
949
|
};
|
|
970
950
|
const de_StartSyncExecutionCommandError = async (output, context) => {
|
|
971
951
|
const parsedOutput = {
|
|
@@ -994,10 +974,9 @@ const de_StartSyncExecutionCommandError = async (output, context) => {
|
|
|
994
974
|
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
995
975
|
default:
|
|
996
976
|
const parsedBody = parsedOutput.body;
|
|
997
|
-
throwDefaultError({
|
|
977
|
+
return throwDefaultError({
|
|
998
978
|
output,
|
|
999
979
|
parsedBody,
|
|
1000
|
-
exceptionCtor: __BaseException,
|
|
1001
980
|
errorCode,
|
|
1002
981
|
});
|
|
1003
982
|
}
|
|
@@ -1013,7 +992,7 @@ export const de_StopExecutionCommand = async (output, context) => {
|
|
|
1013
992
|
$metadata: deserializeMetadata(output),
|
|
1014
993
|
...contents,
|
|
1015
994
|
};
|
|
1016
|
-
return
|
|
995
|
+
return response;
|
|
1017
996
|
};
|
|
1018
997
|
const de_StopExecutionCommandError = async (output, context) => {
|
|
1019
998
|
const parsedOutput = {
|
|
@@ -1033,10 +1012,9 @@ const de_StopExecutionCommandError = async (output, context) => {
|
|
|
1033
1012
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1034
1013
|
default:
|
|
1035
1014
|
const parsedBody = parsedOutput.body;
|
|
1036
|
-
throwDefaultError({
|
|
1015
|
+
return throwDefaultError({
|
|
1037
1016
|
output,
|
|
1038
1017
|
parsedBody,
|
|
1039
|
-
exceptionCtor: __BaseException,
|
|
1040
1018
|
errorCode,
|
|
1041
1019
|
});
|
|
1042
1020
|
}
|
|
@@ -1047,12 +1025,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1047
1025
|
}
|
|
1048
1026
|
const data = await parseBody(output.body, context);
|
|
1049
1027
|
let contents = {};
|
|
1050
|
-
contents =
|
|
1028
|
+
contents = _json(data);
|
|
1051
1029
|
const response = {
|
|
1052
1030
|
$metadata: deserializeMetadata(output),
|
|
1053
1031
|
...contents,
|
|
1054
1032
|
};
|
|
1055
|
-
return
|
|
1033
|
+
return response;
|
|
1056
1034
|
};
|
|
1057
1035
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1058
1036
|
const parsedOutput = {
|
|
@@ -1072,10 +1050,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1072
1050
|
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1073
1051
|
default:
|
|
1074
1052
|
const parsedBody = parsedOutput.body;
|
|
1075
|
-
throwDefaultError({
|
|
1053
|
+
return throwDefaultError({
|
|
1076
1054
|
output,
|
|
1077
1055
|
parsedBody,
|
|
1078
|
-
exceptionCtor: __BaseException,
|
|
1079
1056
|
errorCode,
|
|
1080
1057
|
});
|
|
1081
1058
|
}
|
|
@@ -1086,12 +1063,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1086
1063
|
}
|
|
1087
1064
|
const data = await parseBody(output.body, context);
|
|
1088
1065
|
let contents = {};
|
|
1089
|
-
contents =
|
|
1066
|
+
contents = _json(data);
|
|
1090
1067
|
const response = {
|
|
1091
1068
|
$metadata: deserializeMetadata(output),
|
|
1092
1069
|
...contents,
|
|
1093
1070
|
};
|
|
1094
|
-
return
|
|
1071
|
+
return response;
|
|
1095
1072
|
};
|
|
1096
1073
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1097
1074
|
const parsedOutput = {
|
|
@@ -1108,10 +1085,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1108
1085
|
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1109
1086
|
default:
|
|
1110
1087
|
const parsedBody = parsedOutput.body;
|
|
1111
|
-
throwDefaultError({
|
|
1088
|
+
return throwDefaultError({
|
|
1112
1089
|
output,
|
|
1113
1090
|
parsedBody,
|
|
1114
|
-
exceptionCtor: __BaseException,
|
|
1115
1091
|
errorCode,
|
|
1116
1092
|
});
|
|
1117
1093
|
}
|
|
@@ -1122,12 +1098,12 @@ export const de_UpdateMapRunCommand = async (output, context) => {
|
|
|
1122
1098
|
}
|
|
1123
1099
|
const data = await parseBody(output.body, context);
|
|
1124
1100
|
let contents = {};
|
|
1125
|
-
contents =
|
|
1101
|
+
contents = _json(data);
|
|
1126
1102
|
const response = {
|
|
1127
1103
|
$metadata: deserializeMetadata(output),
|
|
1128
1104
|
...contents,
|
|
1129
1105
|
};
|
|
1130
|
-
return
|
|
1106
|
+
return response;
|
|
1131
1107
|
};
|
|
1132
1108
|
const de_UpdateMapRunCommandError = async (output, context) => {
|
|
1133
1109
|
const parsedOutput = {
|
|
@@ -1147,10 +1123,9 @@ const de_UpdateMapRunCommandError = async (output, context) => {
|
|
|
1147
1123
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1148
1124
|
default:
|
|
1149
1125
|
const parsedBody = parsedOutput.body;
|
|
1150
|
-
throwDefaultError({
|
|
1126
|
+
return throwDefaultError({
|
|
1151
1127
|
output,
|
|
1152
1128
|
parsedBody,
|
|
1153
|
-
exceptionCtor: __BaseException,
|
|
1154
1129
|
errorCode,
|
|
1155
1130
|
});
|
|
1156
1131
|
}
|
|
@@ -1166,7 +1141,7 @@ export const de_UpdateStateMachineCommand = async (output, context) => {
|
|
|
1166
1141
|
$metadata: deserializeMetadata(output),
|
|
1167
1142
|
...contents,
|
|
1168
1143
|
};
|
|
1169
|
-
return
|
|
1144
|
+
return response;
|
|
1170
1145
|
};
|
|
1171
1146
|
const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
1172
1147
|
const parsedOutput = {
|
|
@@ -1201,17 +1176,16 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
|
1201
1176
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1202
1177
|
default:
|
|
1203
1178
|
const parsedBody = parsedOutput.body;
|
|
1204
|
-
throwDefaultError({
|
|
1179
|
+
return throwDefaultError({
|
|
1205
1180
|
output,
|
|
1206
1181
|
parsedBody,
|
|
1207
|
-
exceptionCtor: __BaseException,
|
|
1208
1182
|
errorCode,
|
|
1209
1183
|
});
|
|
1210
1184
|
}
|
|
1211
1185
|
};
|
|
1212
1186
|
const de_ActivityDoesNotExistRes = async (parsedOutput, context) => {
|
|
1213
1187
|
const body = parsedOutput.body;
|
|
1214
|
-
const deserialized =
|
|
1188
|
+
const deserialized = _json(body);
|
|
1215
1189
|
const exception = new ActivityDoesNotExist({
|
|
1216
1190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1217
1191
|
...deserialized,
|
|
@@ -1220,7 +1194,7 @@ const de_ActivityDoesNotExistRes = async (parsedOutput, context) => {
|
|
|
1220
1194
|
};
|
|
1221
1195
|
const de_ActivityLimitExceededRes = async (parsedOutput, context) => {
|
|
1222
1196
|
const body = parsedOutput.body;
|
|
1223
|
-
const deserialized =
|
|
1197
|
+
const deserialized = _json(body);
|
|
1224
1198
|
const exception = new ActivityLimitExceeded({
|
|
1225
1199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1226
1200
|
...deserialized,
|
|
@@ -1229,7 +1203,7 @@ const de_ActivityLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1229
1203
|
};
|
|
1230
1204
|
const de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => {
|
|
1231
1205
|
const body = parsedOutput.body;
|
|
1232
|
-
const deserialized =
|
|
1206
|
+
const deserialized = _json(body);
|
|
1233
1207
|
const exception = new ActivityWorkerLimitExceeded({
|
|
1234
1208
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1235
1209
|
...deserialized,
|
|
@@ -1238,7 +1212,7 @@ const de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1238
1212
|
};
|
|
1239
1213
|
const de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1240
1214
|
const body = parsedOutput.body;
|
|
1241
|
-
const deserialized =
|
|
1215
|
+
const deserialized = _json(body);
|
|
1242
1216
|
const exception = new ExecutionAlreadyExists({
|
|
1243
1217
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1244
1218
|
...deserialized,
|
|
@@ -1247,7 +1221,7 @@ const de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => {
|
|
|
1247
1221
|
};
|
|
1248
1222
|
const de_ExecutionDoesNotExistRes = async (parsedOutput, context) => {
|
|
1249
1223
|
const body = parsedOutput.body;
|
|
1250
|
-
const deserialized =
|
|
1224
|
+
const deserialized = _json(body);
|
|
1251
1225
|
const exception = new ExecutionDoesNotExist({
|
|
1252
1226
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1253
1227
|
...deserialized,
|
|
@@ -1256,7 +1230,7 @@ const de_ExecutionDoesNotExistRes = async (parsedOutput, context) => {
|
|
|
1256
1230
|
};
|
|
1257
1231
|
const de_ExecutionLimitExceededRes = async (parsedOutput, context) => {
|
|
1258
1232
|
const body = parsedOutput.body;
|
|
1259
|
-
const deserialized =
|
|
1233
|
+
const deserialized = _json(body);
|
|
1260
1234
|
const exception = new ExecutionLimitExceeded({
|
|
1261
1235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1262
1236
|
...deserialized,
|
|
@@ -1265,7 +1239,7 @@ const de_ExecutionLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1265
1239
|
};
|
|
1266
1240
|
const de_InvalidArnRes = async (parsedOutput, context) => {
|
|
1267
1241
|
const body = parsedOutput.body;
|
|
1268
|
-
const deserialized =
|
|
1242
|
+
const deserialized = _json(body);
|
|
1269
1243
|
const exception = new InvalidArn({
|
|
1270
1244
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1271
1245
|
...deserialized,
|
|
@@ -1274,7 +1248,7 @@ const de_InvalidArnRes = async (parsedOutput, context) => {
|
|
|
1274
1248
|
};
|
|
1275
1249
|
const de_InvalidDefinitionRes = async (parsedOutput, context) => {
|
|
1276
1250
|
const body = parsedOutput.body;
|
|
1277
|
-
const deserialized =
|
|
1251
|
+
const deserialized = _json(body);
|
|
1278
1252
|
const exception = new InvalidDefinition({
|
|
1279
1253
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1280
1254
|
...deserialized,
|
|
@@ -1283,7 +1257,7 @@ const de_InvalidDefinitionRes = async (parsedOutput, context) => {
|
|
|
1283
1257
|
};
|
|
1284
1258
|
const de_InvalidExecutionInputRes = async (parsedOutput, context) => {
|
|
1285
1259
|
const body = parsedOutput.body;
|
|
1286
|
-
const deserialized =
|
|
1260
|
+
const deserialized = _json(body);
|
|
1287
1261
|
const exception = new InvalidExecutionInput({
|
|
1288
1262
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1289
1263
|
...deserialized,
|
|
@@ -1292,7 +1266,7 @@ const de_InvalidExecutionInputRes = async (parsedOutput, context) => {
|
|
|
1292
1266
|
};
|
|
1293
1267
|
const de_InvalidLoggingConfigurationRes = async (parsedOutput, context) => {
|
|
1294
1268
|
const body = parsedOutput.body;
|
|
1295
|
-
const deserialized =
|
|
1269
|
+
const deserialized = _json(body);
|
|
1296
1270
|
const exception = new InvalidLoggingConfiguration({
|
|
1297
1271
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1298
1272
|
...deserialized,
|
|
@@ -1301,7 +1275,7 @@ const de_InvalidLoggingConfigurationRes = async (parsedOutput, context) => {
|
|
|
1301
1275
|
};
|
|
1302
1276
|
const de_InvalidNameRes = async (parsedOutput, context) => {
|
|
1303
1277
|
const body = parsedOutput.body;
|
|
1304
|
-
const deserialized =
|
|
1278
|
+
const deserialized = _json(body);
|
|
1305
1279
|
const exception = new InvalidName({
|
|
1306
1280
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1307
1281
|
...deserialized,
|
|
@@ -1310,7 +1284,7 @@ const de_InvalidNameRes = async (parsedOutput, context) => {
|
|
|
1310
1284
|
};
|
|
1311
1285
|
const de_InvalidOutputRes = async (parsedOutput, context) => {
|
|
1312
1286
|
const body = parsedOutput.body;
|
|
1313
|
-
const deserialized =
|
|
1287
|
+
const deserialized = _json(body);
|
|
1314
1288
|
const exception = new InvalidOutput({
|
|
1315
1289
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1316
1290
|
...deserialized,
|
|
@@ -1319,7 +1293,7 @@ const de_InvalidOutputRes = async (parsedOutput, context) => {
|
|
|
1319
1293
|
};
|
|
1320
1294
|
const de_InvalidTokenRes = async (parsedOutput, context) => {
|
|
1321
1295
|
const body = parsedOutput.body;
|
|
1322
|
-
const deserialized =
|
|
1296
|
+
const deserialized = _json(body);
|
|
1323
1297
|
const exception = new InvalidToken({
|
|
1324
1298
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1325
1299
|
...deserialized,
|
|
@@ -1328,7 +1302,7 @@ const de_InvalidTokenRes = async (parsedOutput, context) => {
|
|
|
1328
1302
|
};
|
|
1329
1303
|
const de_InvalidTracingConfigurationRes = async (parsedOutput, context) => {
|
|
1330
1304
|
const body = parsedOutput.body;
|
|
1331
|
-
const deserialized =
|
|
1305
|
+
const deserialized = _json(body);
|
|
1332
1306
|
const exception = new InvalidTracingConfiguration({
|
|
1333
1307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1334
1308
|
...deserialized,
|
|
@@ -1337,7 +1311,7 @@ const de_InvalidTracingConfigurationRes = async (parsedOutput, context) => {
|
|
|
1337
1311
|
};
|
|
1338
1312
|
const de_MissingRequiredParameterRes = async (parsedOutput, context) => {
|
|
1339
1313
|
const body = parsedOutput.body;
|
|
1340
|
-
const deserialized =
|
|
1314
|
+
const deserialized = _json(body);
|
|
1341
1315
|
const exception = new MissingRequiredParameter({
|
|
1342
1316
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1343
1317
|
...deserialized,
|
|
@@ -1346,7 +1320,7 @@ const de_MissingRequiredParameterRes = async (parsedOutput, context) => {
|
|
|
1346
1320
|
};
|
|
1347
1321
|
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
1348
1322
|
const body = parsedOutput.body;
|
|
1349
|
-
const deserialized =
|
|
1323
|
+
const deserialized = _json(body);
|
|
1350
1324
|
const exception = new ResourceNotFound({
|
|
1351
1325
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1352
1326
|
...deserialized,
|
|
@@ -1355,7 +1329,7 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
|
1355
1329
|
};
|
|
1356
1330
|
const de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1357
1331
|
const body = parsedOutput.body;
|
|
1358
|
-
const deserialized =
|
|
1332
|
+
const deserialized = _json(body);
|
|
1359
1333
|
const exception = new StateMachineAlreadyExists({
|
|
1360
1334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1361
1335
|
...deserialized,
|
|
@@ -1364,7 +1338,7 @@ const de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => {
|
|
|
1364
1338
|
};
|
|
1365
1339
|
const de_StateMachineDeletingRes = async (parsedOutput, context) => {
|
|
1366
1340
|
const body = parsedOutput.body;
|
|
1367
|
-
const deserialized =
|
|
1341
|
+
const deserialized = _json(body);
|
|
1368
1342
|
const exception = new StateMachineDeleting({
|
|
1369
1343
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1370
1344
|
...deserialized,
|
|
@@ -1373,7 +1347,7 @@ const de_StateMachineDeletingRes = async (parsedOutput, context) => {
|
|
|
1373
1347
|
};
|
|
1374
1348
|
const de_StateMachineDoesNotExistRes = async (parsedOutput, context) => {
|
|
1375
1349
|
const body = parsedOutput.body;
|
|
1376
|
-
const deserialized =
|
|
1350
|
+
const deserialized = _json(body);
|
|
1377
1351
|
const exception = new StateMachineDoesNotExist({
|
|
1378
1352
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1379
1353
|
...deserialized,
|
|
@@ -1382,7 +1356,7 @@ const de_StateMachineDoesNotExistRes = async (parsedOutput, context) => {
|
|
|
1382
1356
|
};
|
|
1383
1357
|
const de_StateMachineLimitExceededRes = async (parsedOutput, context) => {
|
|
1384
1358
|
const body = parsedOutput.body;
|
|
1385
|
-
const deserialized =
|
|
1359
|
+
const deserialized = _json(body);
|
|
1386
1360
|
const exception = new StateMachineLimitExceeded({
|
|
1387
1361
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1388
1362
|
...deserialized,
|
|
@@ -1391,7 +1365,7 @@ const de_StateMachineLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1391
1365
|
};
|
|
1392
1366
|
const de_StateMachineTypeNotSupportedRes = async (parsedOutput, context) => {
|
|
1393
1367
|
const body = parsedOutput.body;
|
|
1394
|
-
const deserialized =
|
|
1368
|
+
const deserialized = _json(body);
|
|
1395
1369
|
const exception = new StateMachineTypeNotSupported({
|
|
1396
1370
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1397
1371
|
...deserialized,
|
|
@@ -1400,7 +1374,7 @@ const de_StateMachineTypeNotSupportedRes = async (parsedOutput, context) => {
|
|
|
1400
1374
|
};
|
|
1401
1375
|
const de_TaskDoesNotExistRes = async (parsedOutput, context) => {
|
|
1402
1376
|
const body = parsedOutput.body;
|
|
1403
|
-
const deserialized =
|
|
1377
|
+
const deserialized = _json(body);
|
|
1404
1378
|
const exception = new TaskDoesNotExist({
|
|
1405
1379
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1406
1380
|
...deserialized,
|
|
@@ -1409,7 +1383,7 @@ const de_TaskDoesNotExistRes = async (parsedOutput, context) => {
|
|
|
1409
1383
|
};
|
|
1410
1384
|
const de_TaskTimedOutRes = async (parsedOutput, context) => {
|
|
1411
1385
|
const body = parsedOutput.body;
|
|
1412
|
-
const deserialized =
|
|
1386
|
+
const deserialized = _json(body);
|
|
1413
1387
|
const exception = new TaskTimedOut({
|
|
1414
1388
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1415
1389
|
...deserialized,
|
|
@@ -1418,7 +1392,7 @@ const de_TaskTimedOutRes = async (parsedOutput, context) => {
|
|
|
1418
1392
|
};
|
|
1419
1393
|
const de_TooManyTagsRes = async (parsedOutput, context) => {
|
|
1420
1394
|
const body = parsedOutput.body;
|
|
1421
|
-
const deserialized =
|
|
1395
|
+
const deserialized = _json(body);
|
|
1422
1396
|
const exception = new TooManyTags({
|
|
1423
1397
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1424
1398
|
...deserialized,
|
|
@@ -1427,1067 +1401,280 @@ const de_TooManyTagsRes = async (parsedOutput, context) => {
|
|
|
1427
1401
|
};
|
|
1428
1402
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1429
1403
|
const body = parsedOutput.body;
|
|
1430
|
-
const deserialized =
|
|
1404
|
+
const deserialized = _json(body);
|
|
1431
1405
|
const exception = new ValidationException({
|
|
1432
1406
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1433
1407
|
...deserialized,
|
|
1434
1408
|
});
|
|
1435
1409
|
return __decorateServiceException(exception, body);
|
|
1436
1410
|
};
|
|
1437
|
-
const se_CloudWatchLogsLogGroup = (input, context) => {
|
|
1438
|
-
return {
|
|
1439
|
-
...(input.logGroupArn != null && { logGroupArn: input.logGroupArn }),
|
|
1440
|
-
};
|
|
1441
|
-
};
|
|
1442
|
-
const se_CreateActivityInput = (input, context) => {
|
|
1443
|
-
return {
|
|
1444
|
-
...(input.name != null && { name: input.name }),
|
|
1445
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1446
|
-
};
|
|
1447
|
-
};
|
|
1448
|
-
const se_CreateStateMachineInput = (input, context) => {
|
|
1449
|
-
return {
|
|
1450
|
-
...(input.definition != null && { definition: input.definition }),
|
|
1451
|
-
...(input.loggingConfiguration != null && {
|
|
1452
|
-
loggingConfiguration: se_LoggingConfiguration(input.loggingConfiguration, context),
|
|
1453
|
-
}),
|
|
1454
|
-
...(input.name != null && { name: input.name }),
|
|
1455
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
1456
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1457
|
-
...(input.tracingConfiguration != null && {
|
|
1458
|
-
tracingConfiguration: se_TracingConfiguration(input.tracingConfiguration, context),
|
|
1459
|
-
}),
|
|
1460
|
-
...(input.type != null && { type: input.type }),
|
|
1461
|
-
};
|
|
1462
|
-
};
|
|
1463
|
-
const se_DeleteActivityInput = (input, context) => {
|
|
1464
|
-
return {
|
|
1465
|
-
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1466
|
-
};
|
|
1467
|
-
};
|
|
1468
|
-
const se_DeleteStateMachineInput = (input, context) => {
|
|
1469
|
-
return {
|
|
1470
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1471
|
-
};
|
|
1472
|
-
};
|
|
1473
|
-
const se_DescribeActivityInput = (input, context) => {
|
|
1474
|
-
return {
|
|
1475
|
-
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1476
|
-
};
|
|
1477
|
-
};
|
|
1478
|
-
const se_DescribeExecutionInput = (input, context) => {
|
|
1479
|
-
return {
|
|
1480
|
-
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1481
|
-
};
|
|
1482
|
-
};
|
|
1483
|
-
const se_DescribeMapRunInput = (input, context) => {
|
|
1484
|
-
return {
|
|
1485
|
-
...(input.mapRunArn != null && { mapRunArn: input.mapRunArn }),
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
const se_DescribeStateMachineForExecutionInput = (input, context) => {
|
|
1489
|
-
return {
|
|
1490
|
-
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
const se_DescribeStateMachineInput = (input, context) => {
|
|
1494
|
-
return {
|
|
1495
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1496
|
-
};
|
|
1497
|
-
};
|
|
1498
|
-
const se_GetActivityTaskInput = (input, context) => {
|
|
1499
|
-
return {
|
|
1500
|
-
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1501
|
-
...(input.workerName != null && { workerName: input.workerName }),
|
|
1502
|
-
};
|
|
1503
|
-
};
|
|
1504
|
-
const se_GetExecutionHistoryInput = (input, context) => {
|
|
1505
|
-
return {
|
|
1506
|
-
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1507
|
-
...(input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData }),
|
|
1508
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1509
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1510
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
const se_ListActivitiesInput = (input, context) => {
|
|
1514
|
-
return {
|
|
1515
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1516
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1517
|
-
};
|
|
1518
|
-
};
|
|
1519
|
-
const se_ListExecutionsInput = (input, context) => {
|
|
1520
|
-
return {
|
|
1521
|
-
...(input.mapRunArn != null && { mapRunArn: input.mapRunArn }),
|
|
1522
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1523
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1524
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1525
|
-
...(input.statusFilter != null && { statusFilter: input.statusFilter }),
|
|
1526
|
-
};
|
|
1527
|
-
};
|
|
1528
|
-
const se_ListMapRunsInput = (input, context) => {
|
|
1529
|
-
return {
|
|
1530
|
-
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1531
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1532
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1533
|
-
};
|
|
1534
|
-
};
|
|
1535
|
-
const se_ListStateMachinesInput = (input, context) => {
|
|
1536
|
-
return {
|
|
1537
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1538
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1539
|
-
};
|
|
1540
|
-
};
|
|
1541
|
-
const se_ListTagsForResourceInput = (input, context) => {
|
|
1542
|
-
return {
|
|
1543
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1544
|
-
};
|
|
1545
|
-
};
|
|
1546
|
-
const se_LogDestination = (input, context) => {
|
|
1547
|
-
return {
|
|
1548
|
-
...(input.cloudWatchLogsLogGroup != null && {
|
|
1549
|
-
cloudWatchLogsLogGroup: se_CloudWatchLogsLogGroup(input.cloudWatchLogsLogGroup, context),
|
|
1550
|
-
}),
|
|
1551
|
-
};
|
|
1552
|
-
};
|
|
1553
|
-
const se_LogDestinationList = (input, context) => {
|
|
1554
|
-
return input
|
|
1555
|
-
.filter((e) => e != null)
|
|
1556
|
-
.map((entry) => {
|
|
1557
|
-
return se_LogDestination(entry, context);
|
|
1558
|
-
});
|
|
1559
|
-
};
|
|
1560
|
-
const se_LoggingConfiguration = (input, context) => {
|
|
1561
|
-
return {
|
|
1562
|
-
...(input.destinations != null && { destinations: se_LogDestinationList(input.destinations, context) }),
|
|
1563
|
-
...(input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData }),
|
|
1564
|
-
...(input.level != null && { level: input.level }),
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1567
|
-
const se_SendTaskFailureInput = (input, context) => {
|
|
1568
|
-
return {
|
|
1569
|
-
...(input.cause != null && { cause: input.cause }),
|
|
1570
|
-
...(input.error != null && { error: input.error }),
|
|
1571
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1572
|
-
};
|
|
1573
|
-
};
|
|
1574
|
-
const se_SendTaskHeartbeatInput = (input, context) => {
|
|
1575
|
-
return {
|
|
1576
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1577
|
-
};
|
|
1578
|
-
};
|
|
1579
|
-
const se_SendTaskSuccessInput = (input, context) => {
|
|
1580
|
-
return {
|
|
1581
|
-
...(input.output != null && { output: input.output }),
|
|
1582
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1583
|
-
};
|
|
1584
|
-
};
|
|
1585
|
-
const se_StartExecutionInput = (input, context) => {
|
|
1586
|
-
return {
|
|
1587
|
-
...(input.input != null && { input: input.input }),
|
|
1588
|
-
...(input.name != null && { name: input.name }),
|
|
1589
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1590
|
-
...(input.traceHeader != null && { traceHeader: input.traceHeader }),
|
|
1591
|
-
};
|
|
1592
|
-
};
|
|
1593
|
-
const se_StartSyncExecutionInput = (input, context) => {
|
|
1594
|
-
return {
|
|
1595
|
-
...(input.input != null && { input: input.input }),
|
|
1596
|
-
...(input.name != null && { name: input.name }),
|
|
1597
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1598
|
-
...(input.traceHeader != null && { traceHeader: input.traceHeader }),
|
|
1599
|
-
};
|
|
1600
|
-
};
|
|
1601
|
-
const se_StopExecutionInput = (input, context) => {
|
|
1602
|
-
return {
|
|
1603
|
-
...(input.cause != null && { cause: input.cause }),
|
|
1604
|
-
...(input.error != null && { error: input.error }),
|
|
1605
|
-
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1606
|
-
};
|
|
1607
|
-
};
|
|
1608
|
-
const se_Tag = (input, context) => {
|
|
1609
|
-
return {
|
|
1610
|
-
...(input.key != null && { key: input.key }),
|
|
1611
|
-
...(input.value != null && { value: input.value }),
|
|
1612
|
-
};
|
|
1613
|
-
};
|
|
1614
|
-
const se_TagKeyList = (input, context) => {
|
|
1615
|
-
return input
|
|
1616
|
-
.filter((e) => e != null)
|
|
1617
|
-
.map((entry) => {
|
|
1618
|
-
return entry;
|
|
1619
|
-
});
|
|
1620
|
-
};
|
|
1621
|
-
const se_TagList = (input, context) => {
|
|
1622
|
-
return input
|
|
1623
|
-
.filter((e) => e != null)
|
|
1624
|
-
.map((entry) => {
|
|
1625
|
-
return se_Tag(entry, context);
|
|
1626
|
-
});
|
|
1627
|
-
};
|
|
1628
|
-
const se_TagResourceInput = (input, context) => {
|
|
1629
|
-
return {
|
|
1630
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1631
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
const se_TracingConfiguration = (input, context) => {
|
|
1635
|
-
return {
|
|
1636
|
-
...(input.enabled != null && { enabled: input.enabled }),
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
|
-
const se_UntagResourceInput = (input, context) => {
|
|
1640
|
-
return {
|
|
1641
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1642
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
1643
|
-
};
|
|
1644
|
-
};
|
|
1645
1411
|
const se_UpdateMapRunInput = (input, context) => {
|
|
1646
|
-
return {
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
}),
|
|
1653
|
-
};
|
|
1654
|
-
};
|
|
1655
|
-
const se_UpdateStateMachineInput = (input, context) => {
|
|
1656
|
-
return {
|
|
1657
|
-
...(input.definition != null && { definition: input.definition }),
|
|
1658
|
-
...(input.loggingConfiguration != null && {
|
|
1659
|
-
loggingConfiguration: se_LoggingConfiguration(input.loggingConfiguration, context),
|
|
1660
|
-
}),
|
|
1661
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
1662
|
-
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1663
|
-
...(input.tracingConfiguration != null && {
|
|
1664
|
-
tracingConfiguration: se_TracingConfiguration(input.tracingConfiguration, context),
|
|
1665
|
-
}),
|
|
1666
|
-
};
|
|
1667
|
-
};
|
|
1668
|
-
const de_ActivityDoesNotExist = (output, context) => {
|
|
1669
|
-
return {
|
|
1670
|
-
message: __expectString(output.message),
|
|
1671
|
-
};
|
|
1672
|
-
};
|
|
1673
|
-
const de_ActivityFailedEventDetails = (output, context) => {
|
|
1674
|
-
return {
|
|
1675
|
-
cause: __expectString(output.cause),
|
|
1676
|
-
error: __expectString(output.error),
|
|
1677
|
-
};
|
|
1678
|
-
};
|
|
1679
|
-
const de_ActivityLimitExceeded = (output, context) => {
|
|
1680
|
-
return {
|
|
1681
|
-
message: __expectString(output.message),
|
|
1682
|
-
};
|
|
1412
|
+
return take(input, {
|
|
1413
|
+
mapRunArn: [],
|
|
1414
|
+
maxConcurrency: [],
|
|
1415
|
+
toleratedFailureCount: [],
|
|
1416
|
+
toleratedFailurePercentage: __serializeFloat,
|
|
1417
|
+
});
|
|
1683
1418
|
};
|
|
1684
1419
|
const de_ActivityList = (output, context) => {
|
|
1685
1420
|
const retVal = (output || [])
|
|
1686
1421
|
.filter((e) => e != null)
|
|
1687
1422
|
.map((entry) => {
|
|
1688
|
-
if (entry === null) {
|
|
1689
|
-
return null;
|
|
1690
|
-
}
|
|
1691
1423
|
return de_ActivityListItem(entry, context);
|
|
1692
1424
|
});
|
|
1693
1425
|
return retVal;
|
|
1694
1426
|
};
|
|
1695
1427
|
const de_ActivityListItem = (output, context) => {
|
|
1696
|
-
return {
|
|
1697
|
-
activityArn: __expectString
|
|
1698
|
-
creationDate:
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
name: __expectString(output.name),
|
|
1702
|
-
};
|
|
1703
|
-
};
|
|
1704
|
-
const de_ActivityScheduledEventDetails = (output, context) => {
|
|
1705
|
-
return {
|
|
1706
|
-
heartbeatInSeconds: __expectLong(output.heartbeatInSeconds),
|
|
1707
|
-
input: __expectString(output.input),
|
|
1708
|
-
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
1709
|
-
resource: __expectString(output.resource),
|
|
1710
|
-
timeoutInSeconds: __expectLong(output.timeoutInSeconds),
|
|
1711
|
-
};
|
|
1712
|
-
};
|
|
1713
|
-
const de_ActivityScheduleFailedEventDetails = (output, context) => {
|
|
1714
|
-
return {
|
|
1715
|
-
cause: __expectString(output.cause),
|
|
1716
|
-
error: __expectString(output.error),
|
|
1717
|
-
};
|
|
1718
|
-
};
|
|
1719
|
-
const de_ActivityStartedEventDetails = (output, context) => {
|
|
1720
|
-
return {
|
|
1721
|
-
workerName: __expectString(output.workerName),
|
|
1722
|
-
};
|
|
1723
|
-
};
|
|
1724
|
-
const de_ActivitySucceededEventDetails = (output, context) => {
|
|
1725
|
-
return {
|
|
1726
|
-
output: __expectString(output.output),
|
|
1727
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
1730
|
-
const de_ActivityTimedOutEventDetails = (output, context) => {
|
|
1731
|
-
return {
|
|
1732
|
-
cause: __expectString(output.cause),
|
|
1733
|
-
error: __expectString(output.error),
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
const de_ActivityWorkerLimitExceeded = (output, context) => {
|
|
1737
|
-
return {
|
|
1738
|
-
message: __expectString(output.message),
|
|
1739
|
-
};
|
|
1740
|
-
};
|
|
1741
|
-
const de_BillingDetails = (output, context) => {
|
|
1742
|
-
return {
|
|
1743
|
-
billedDurationInMilliseconds: __expectLong(output.billedDurationInMilliseconds),
|
|
1744
|
-
billedMemoryUsedInMB: __expectLong(output.billedMemoryUsedInMB),
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
const de_CloudWatchEventsExecutionDataDetails = (output, context) => {
|
|
1748
|
-
return {
|
|
1749
|
-
included: __expectBoolean(output.included),
|
|
1750
|
-
};
|
|
1751
|
-
};
|
|
1752
|
-
const de_CloudWatchLogsLogGroup = (output, context) => {
|
|
1753
|
-
return {
|
|
1754
|
-
logGroupArn: __expectString(output.logGroupArn),
|
|
1755
|
-
};
|
|
1428
|
+
return take(output, {
|
|
1429
|
+
activityArn: __expectString,
|
|
1430
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1431
|
+
name: __expectString,
|
|
1432
|
+
});
|
|
1756
1433
|
};
|
|
1757
1434
|
const de_CreateActivityOutput = (output, context) => {
|
|
1758
|
-
return {
|
|
1759
|
-
activityArn: __expectString
|
|
1760
|
-
creationDate:
|
|
1761
|
-
|
|
1762
|
-
: undefined,
|
|
1763
|
-
};
|
|
1435
|
+
return take(output, {
|
|
1436
|
+
activityArn: __expectString,
|
|
1437
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1438
|
+
});
|
|
1764
1439
|
};
|
|
1765
1440
|
const de_CreateStateMachineOutput = (output, context) => {
|
|
1766
|
-
return {
|
|
1767
|
-
creationDate:
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
stateMachineArn: __expectString(output.stateMachineArn),
|
|
1771
|
-
};
|
|
1772
|
-
};
|
|
1773
|
-
const de_DeleteActivityOutput = (output, context) => {
|
|
1774
|
-
return {};
|
|
1775
|
-
};
|
|
1776
|
-
const de_DeleteStateMachineOutput = (output, context) => {
|
|
1777
|
-
return {};
|
|
1441
|
+
return take(output, {
|
|
1442
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1443
|
+
stateMachineArn: __expectString,
|
|
1444
|
+
});
|
|
1778
1445
|
};
|
|
1779
1446
|
const de_DescribeActivityOutput = (output, context) => {
|
|
1780
|
-
return {
|
|
1781
|
-
activityArn: __expectString
|
|
1782
|
-
creationDate:
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
name: __expectString(output.name),
|
|
1786
|
-
};
|
|
1447
|
+
return take(output, {
|
|
1448
|
+
activityArn: __expectString,
|
|
1449
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1450
|
+
name: __expectString,
|
|
1451
|
+
});
|
|
1787
1452
|
};
|
|
1788
1453
|
const de_DescribeExecutionOutput = (output, context) => {
|
|
1789
|
-
return {
|
|
1790
|
-
cause: __expectString
|
|
1791
|
-
error: __expectString
|
|
1792
|
-
executionArn: __expectString
|
|
1793
|
-
input: __expectString
|
|
1794
|
-
inputDetails:
|
|
1795
|
-
mapRunArn: __expectString
|
|
1796
|
-
name: __expectString
|
|
1797
|
-
output: __expectString
|
|
1798
|
-
outputDetails:
|
|
1799
|
-
startDate:
|
|
1800
|
-
stateMachineArn: __expectString
|
|
1801
|
-
status: __expectString
|
|
1802
|
-
stopDate:
|
|
1803
|
-
traceHeader: __expectString
|
|
1804
|
-
};
|
|
1454
|
+
return take(output, {
|
|
1455
|
+
cause: __expectString,
|
|
1456
|
+
error: __expectString,
|
|
1457
|
+
executionArn: __expectString,
|
|
1458
|
+
input: __expectString,
|
|
1459
|
+
inputDetails: _json,
|
|
1460
|
+
mapRunArn: __expectString,
|
|
1461
|
+
name: __expectString,
|
|
1462
|
+
output: __expectString,
|
|
1463
|
+
outputDetails: _json,
|
|
1464
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1465
|
+
stateMachineArn: __expectString,
|
|
1466
|
+
status: __expectString,
|
|
1467
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1468
|
+
traceHeader: __expectString,
|
|
1469
|
+
});
|
|
1805
1470
|
};
|
|
1806
1471
|
const de_DescribeMapRunOutput = (output, context) => {
|
|
1807
|
-
return {
|
|
1808
|
-
executionArn: __expectString
|
|
1809
|
-
executionCounts:
|
|
1810
|
-
itemCounts:
|
|
1811
|
-
mapRunArn: __expectString
|
|
1812
|
-
maxConcurrency: __expectInt32
|
|
1813
|
-
startDate:
|
|
1814
|
-
status: __expectString
|
|
1815
|
-
stopDate:
|
|
1816
|
-
toleratedFailureCount: __expectLong
|
|
1817
|
-
toleratedFailurePercentage: __limitedParseFloat32
|
|
1818
|
-
};
|
|
1472
|
+
return take(output, {
|
|
1473
|
+
executionArn: __expectString,
|
|
1474
|
+
executionCounts: _json,
|
|
1475
|
+
itemCounts: _json,
|
|
1476
|
+
mapRunArn: __expectString,
|
|
1477
|
+
maxConcurrency: __expectInt32,
|
|
1478
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1479
|
+
status: __expectString,
|
|
1480
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1481
|
+
toleratedFailureCount: __expectLong,
|
|
1482
|
+
toleratedFailurePercentage: __limitedParseFloat32,
|
|
1483
|
+
});
|
|
1819
1484
|
};
|
|
1820
1485
|
const de_DescribeStateMachineForExecutionOutput = (output, context) => {
|
|
1821
|
-
return {
|
|
1822
|
-
definition: __expectString
|
|
1823
|
-
label: __expectString
|
|
1824
|
-
loggingConfiguration:
|
|
1825
|
-
mapRunArn: __expectString
|
|
1826
|
-
name: __expectString
|
|
1827
|
-
roleArn: __expectString
|
|
1828
|
-
stateMachineArn: __expectString
|
|
1829
|
-
tracingConfiguration:
|
|
1830
|
-
updateDate:
|
|
1831
|
-
};
|
|
1486
|
+
return take(output, {
|
|
1487
|
+
definition: __expectString,
|
|
1488
|
+
label: __expectString,
|
|
1489
|
+
loggingConfiguration: _json,
|
|
1490
|
+
mapRunArn: __expectString,
|
|
1491
|
+
name: __expectString,
|
|
1492
|
+
roleArn: __expectString,
|
|
1493
|
+
stateMachineArn: __expectString,
|
|
1494
|
+
tracingConfiguration: _json,
|
|
1495
|
+
updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1496
|
+
});
|
|
1832
1497
|
};
|
|
1833
1498
|
const de_DescribeStateMachineOutput = (output, context) => {
|
|
1834
|
-
return {
|
|
1835
|
-
creationDate:
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
type: __expectString(output.type),
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
const de_ExecutionAbortedEventDetails = (output, context) => {
|
|
1850
|
-
return {
|
|
1851
|
-
cause: __expectString(output.cause),
|
|
1852
|
-
error: __expectString(output.error),
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
const de_ExecutionAlreadyExists = (output, context) => {
|
|
1856
|
-
return {
|
|
1857
|
-
message: __expectString(output.message),
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
const de_ExecutionDoesNotExist = (output, context) => {
|
|
1861
|
-
return {
|
|
1862
|
-
message: __expectString(output.message),
|
|
1863
|
-
};
|
|
1864
|
-
};
|
|
1865
|
-
const de_ExecutionFailedEventDetails = (output, context) => {
|
|
1866
|
-
return {
|
|
1867
|
-
cause: __expectString(output.cause),
|
|
1868
|
-
error: __expectString(output.error),
|
|
1869
|
-
};
|
|
1870
|
-
};
|
|
1871
|
-
const de_ExecutionLimitExceeded = (output, context) => {
|
|
1872
|
-
return {
|
|
1873
|
-
message: __expectString(output.message),
|
|
1874
|
-
};
|
|
1499
|
+
return take(output, {
|
|
1500
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1501
|
+
definition: __expectString,
|
|
1502
|
+
label: __expectString,
|
|
1503
|
+
loggingConfiguration: _json,
|
|
1504
|
+
name: __expectString,
|
|
1505
|
+
roleArn: __expectString,
|
|
1506
|
+
stateMachineArn: __expectString,
|
|
1507
|
+
status: __expectString,
|
|
1508
|
+
tracingConfiguration: _json,
|
|
1509
|
+
type: __expectString,
|
|
1510
|
+
});
|
|
1875
1511
|
};
|
|
1876
1512
|
const de_ExecutionList = (output, context) => {
|
|
1877
1513
|
const retVal = (output || [])
|
|
1878
1514
|
.filter((e) => e != null)
|
|
1879
1515
|
.map((entry) => {
|
|
1880
|
-
if (entry === null) {
|
|
1881
|
-
return null;
|
|
1882
|
-
}
|
|
1883
1516
|
return de_ExecutionListItem(entry, context);
|
|
1884
1517
|
});
|
|
1885
1518
|
return retVal;
|
|
1886
1519
|
};
|
|
1887
1520
|
const de_ExecutionListItem = (output, context) => {
|
|
1888
|
-
return {
|
|
1889
|
-
executionArn: __expectString
|
|
1890
|
-
itemCount: __expectInt32
|
|
1891
|
-
mapRunArn: __expectString
|
|
1892
|
-
name: __expectString
|
|
1893
|
-
startDate:
|
|
1894
|
-
stateMachineArn: __expectString
|
|
1895
|
-
status: __expectString
|
|
1896
|
-
stopDate:
|
|
1897
|
-
};
|
|
1898
|
-
};
|
|
1899
|
-
const de_ExecutionStartedEventDetails = (output, context) => {
|
|
1900
|
-
return {
|
|
1901
|
-
input: __expectString(output.input),
|
|
1902
|
-
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
1903
|
-
roleArn: __expectString(output.roleArn),
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
|
-
const de_ExecutionSucceededEventDetails = (output, context) => {
|
|
1907
|
-
return {
|
|
1908
|
-
output: __expectString(output.output),
|
|
1909
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
const de_ExecutionTimedOutEventDetails = (output, context) => {
|
|
1913
|
-
return {
|
|
1914
|
-
cause: __expectString(output.cause),
|
|
1915
|
-
error: __expectString(output.error),
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1918
|
-
const de_GetActivityTaskOutput = (output, context) => {
|
|
1919
|
-
return {
|
|
1920
|
-
input: __expectString(output.input),
|
|
1921
|
-
taskToken: __expectString(output.taskToken),
|
|
1922
|
-
};
|
|
1521
|
+
return take(output, {
|
|
1522
|
+
executionArn: __expectString,
|
|
1523
|
+
itemCount: __expectInt32,
|
|
1524
|
+
mapRunArn: __expectString,
|
|
1525
|
+
name: __expectString,
|
|
1526
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1527
|
+
stateMachineArn: __expectString,
|
|
1528
|
+
status: __expectString,
|
|
1529
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1530
|
+
});
|
|
1923
1531
|
};
|
|
1924
1532
|
const de_GetExecutionHistoryOutput = (output, context) => {
|
|
1925
|
-
return {
|
|
1926
|
-
events:
|
|
1927
|
-
nextToken: __expectString
|
|
1928
|
-
};
|
|
1533
|
+
return take(output, {
|
|
1534
|
+
events: (_) => de_HistoryEventList(_, context),
|
|
1535
|
+
nextToken: __expectString,
|
|
1536
|
+
});
|
|
1929
1537
|
};
|
|
1930
1538
|
const de_HistoryEvent = (output, context) => {
|
|
1931
|
-
return {
|
|
1932
|
-
activityFailedEventDetails:
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
: undefined,
|
|
1972
|
-
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails != null
|
|
1973
|
-
? de_LambdaFunctionScheduledEventDetails(output.lambdaFunctionScheduledEventDetails, context)
|
|
1974
|
-
: undefined,
|
|
1975
|
-
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails != null
|
|
1976
|
-
? de_LambdaFunctionStartFailedEventDetails(output.lambdaFunctionStartFailedEventDetails, context)
|
|
1977
|
-
: undefined,
|
|
1978
|
-
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails != null
|
|
1979
|
-
? de_LambdaFunctionSucceededEventDetails(output.lambdaFunctionSucceededEventDetails, context)
|
|
1980
|
-
: undefined,
|
|
1981
|
-
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails != null
|
|
1982
|
-
? de_LambdaFunctionTimedOutEventDetails(output.lambdaFunctionTimedOutEventDetails, context)
|
|
1983
|
-
: undefined,
|
|
1984
|
-
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails != null
|
|
1985
|
-
? de_MapIterationEventDetails(output.mapIterationAbortedEventDetails, context)
|
|
1986
|
-
: undefined,
|
|
1987
|
-
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails != null
|
|
1988
|
-
? de_MapIterationEventDetails(output.mapIterationFailedEventDetails, context)
|
|
1989
|
-
: undefined,
|
|
1990
|
-
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails != null
|
|
1991
|
-
? de_MapIterationEventDetails(output.mapIterationStartedEventDetails, context)
|
|
1992
|
-
: undefined,
|
|
1993
|
-
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails != null
|
|
1994
|
-
? de_MapIterationEventDetails(output.mapIterationSucceededEventDetails, context)
|
|
1995
|
-
: undefined,
|
|
1996
|
-
mapRunFailedEventDetails: output.mapRunFailedEventDetails != null
|
|
1997
|
-
? de_MapRunFailedEventDetails(output.mapRunFailedEventDetails, context)
|
|
1998
|
-
: undefined,
|
|
1999
|
-
mapRunStartedEventDetails: output.mapRunStartedEventDetails != null
|
|
2000
|
-
? de_MapRunStartedEventDetails(output.mapRunStartedEventDetails, context)
|
|
2001
|
-
: undefined,
|
|
2002
|
-
mapStateStartedEventDetails: output.mapStateStartedEventDetails != null
|
|
2003
|
-
? de_MapStateStartedEventDetails(output.mapStateStartedEventDetails, context)
|
|
2004
|
-
: undefined,
|
|
2005
|
-
previousEventId: __expectLong(output.previousEventId),
|
|
2006
|
-
stateEnteredEventDetails: output.stateEnteredEventDetails != null
|
|
2007
|
-
? de_StateEnteredEventDetails(output.stateEnteredEventDetails, context)
|
|
2008
|
-
: undefined,
|
|
2009
|
-
stateExitedEventDetails: output.stateExitedEventDetails != null
|
|
2010
|
-
? de_StateExitedEventDetails(output.stateExitedEventDetails, context)
|
|
2011
|
-
: undefined,
|
|
2012
|
-
taskFailedEventDetails: output.taskFailedEventDetails != null
|
|
2013
|
-
? de_TaskFailedEventDetails(output.taskFailedEventDetails, context)
|
|
2014
|
-
: undefined,
|
|
2015
|
-
taskScheduledEventDetails: output.taskScheduledEventDetails != null
|
|
2016
|
-
? de_TaskScheduledEventDetails(output.taskScheduledEventDetails, context)
|
|
2017
|
-
: undefined,
|
|
2018
|
-
taskStartFailedEventDetails: output.taskStartFailedEventDetails != null
|
|
2019
|
-
? de_TaskStartFailedEventDetails(output.taskStartFailedEventDetails, context)
|
|
2020
|
-
: undefined,
|
|
2021
|
-
taskStartedEventDetails: output.taskStartedEventDetails != null
|
|
2022
|
-
? de_TaskStartedEventDetails(output.taskStartedEventDetails, context)
|
|
2023
|
-
: undefined,
|
|
2024
|
-
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails != null
|
|
2025
|
-
? de_TaskSubmitFailedEventDetails(output.taskSubmitFailedEventDetails, context)
|
|
2026
|
-
: undefined,
|
|
2027
|
-
taskSubmittedEventDetails: output.taskSubmittedEventDetails != null
|
|
2028
|
-
? de_TaskSubmittedEventDetails(output.taskSubmittedEventDetails, context)
|
|
2029
|
-
: undefined,
|
|
2030
|
-
taskSucceededEventDetails: output.taskSucceededEventDetails != null
|
|
2031
|
-
? de_TaskSucceededEventDetails(output.taskSucceededEventDetails, context)
|
|
2032
|
-
: undefined,
|
|
2033
|
-
taskTimedOutEventDetails: output.taskTimedOutEventDetails != null
|
|
2034
|
-
? de_TaskTimedOutEventDetails(output.taskTimedOutEventDetails, context)
|
|
2035
|
-
: undefined,
|
|
2036
|
-
timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
2037
|
-
type: __expectString(output.type),
|
|
2038
|
-
};
|
|
2039
|
-
};
|
|
2040
|
-
const de_HistoryEventExecutionDataDetails = (output, context) => {
|
|
2041
|
-
return {
|
|
2042
|
-
truncated: __expectBoolean(output.truncated),
|
|
2043
|
-
};
|
|
1539
|
+
return take(output, {
|
|
1540
|
+
activityFailedEventDetails: _json,
|
|
1541
|
+
activityScheduleFailedEventDetails: _json,
|
|
1542
|
+
activityScheduledEventDetails: _json,
|
|
1543
|
+
activityStartedEventDetails: _json,
|
|
1544
|
+
activitySucceededEventDetails: _json,
|
|
1545
|
+
activityTimedOutEventDetails: _json,
|
|
1546
|
+
executionAbortedEventDetails: _json,
|
|
1547
|
+
executionFailedEventDetails: _json,
|
|
1548
|
+
executionStartedEventDetails: _json,
|
|
1549
|
+
executionSucceededEventDetails: _json,
|
|
1550
|
+
executionTimedOutEventDetails: _json,
|
|
1551
|
+
id: __expectLong,
|
|
1552
|
+
lambdaFunctionFailedEventDetails: _json,
|
|
1553
|
+
lambdaFunctionScheduleFailedEventDetails: _json,
|
|
1554
|
+
lambdaFunctionScheduledEventDetails: _json,
|
|
1555
|
+
lambdaFunctionStartFailedEventDetails: _json,
|
|
1556
|
+
lambdaFunctionSucceededEventDetails: _json,
|
|
1557
|
+
lambdaFunctionTimedOutEventDetails: _json,
|
|
1558
|
+
mapIterationAbortedEventDetails: _json,
|
|
1559
|
+
mapIterationFailedEventDetails: _json,
|
|
1560
|
+
mapIterationStartedEventDetails: _json,
|
|
1561
|
+
mapIterationSucceededEventDetails: _json,
|
|
1562
|
+
mapRunFailedEventDetails: _json,
|
|
1563
|
+
mapRunStartedEventDetails: _json,
|
|
1564
|
+
mapStateStartedEventDetails: _json,
|
|
1565
|
+
previousEventId: __expectLong,
|
|
1566
|
+
stateEnteredEventDetails: _json,
|
|
1567
|
+
stateExitedEventDetails: _json,
|
|
1568
|
+
taskFailedEventDetails: _json,
|
|
1569
|
+
taskScheduledEventDetails: _json,
|
|
1570
|
+
taskStartFailedEventDetails: _json,
|
|
1571
|
+
taskStartedEventDetails: _json,
|
|
1572
|
+
taskSubmitFailedEventDetails: _json,
|
|
1573
|
+
taskSubmittedEventDetails: _json,
|
|
1574
|
+
taskSucceededEventDetails: _json,
|
|
1575
|
+
taskTimedOutEventDetails: _json,
|
|
1576
|
+
timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1577
|
+
type: __expectString,
|
|
1578
|
+
});
|
|
2044
1579
|
};
|
|
2045
1580
|
const de_HistoryEventList = (output, context) => {
|
|
2046
1581
|
const retVal = (output || [])
|
|
2047
1582
|
.filter((e) => e != null)
|
|
2048
1583
|
.map((entry) => {
|
|
2049
|
-
if (entry === null) {
|
|
2050
|
-
return null;
|
|
2051
|
-
}
|
|
2052
1584
|
return de_HistoryEvent(entry, context);
|
|
2053
1585
|
});
|
|
2054
1586
|
return retVal;
|
|
2055
1587
|
};
|
|
2056
|
-
const de_InvalidArn = (output, context) => {
|
|
2057
|
-
return {
|
|
2058
|
-
message: __expectString(output.message),
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
const de_InvalidDefinition = (output, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
message: __expectString(output.message),
|
|
2064
|
-
};
|
|
2065
|
-
};
|
|
2066
|
-
const de_InvalidExecutionInput = (output, context) => {
|
|
2067
|
-
return {
|
|
2068
|
-
message: __expectString(output.message),
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
const de_InvalidLoggingConfiguration = (output, context) => {
|
|
2072
|
-
return {
|
|
2073
|
-
message: __expectString(output.message),
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
|
-
const de_InvalidName = (output, context) => {
|
|
2077
|
-
return {
|
|
2078
|
-
message: __expectString(output.message),
|
|
2079
|
-
};
|
|
2080
|
-
};
|
|
2081
|
-
const de_InvalidOutput = (output, context) => {
|
|
2082
|
-
return {
|
|
2083
|
-
message: __expectString(output.message),
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
|
-
const de_InvalidToken = (output, context) => {
|
|
2087
|
-
return {
|
|
2088
|
-
message: __expectString(output.message),
|
|
2089
|
-
};
|
|
2090
|
-
};
|
|
2091
|
-
const de_InvalidTracingConfiguration = (output, context) => {
|
|
2092
|
-
return {
|
|
2093
|
-
message: __expectString(output.message),
|
|
2094
|
-
};
|
|
2095
|
-
};
|
|
2096
|
-
const de_LambdaFunctionFailedEventDetails = (output, context) => {
|
|
2097
|
-
return {
|
|
2098
|
-
cause: __expectString(output.cause),
|
|
2099
|
-
error: __expectString(output.error),
|
|
2100
|
-
};
|
|
2101
|
-
};
|
|
2102
|
-
const de_LambdaFunctionScheduledEventDetails = (output, context) => {
|
|
2103
|
-
return {
|
|
2104
|
-
input: __expectString(output.input),
|
|
2105
|
-
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2106
|
-
resource: __expectString(output.resource),
|
|
2107
|
-
taskCredentials: output.taskCredentials != null ? de_TaskCredentials(output.taskCredentials, context) : undefined,
|
|
2108
|
-
timeoutInSeconds: __expectLong(output.timeoutInSeconds),
|
|
2109
|
-
};
|
|
2110
|
-
};
|
|
2111
|
-
const de_LambdaFunctionScheduleFailedEventDetails = (output, context) => {
|
|
2112
|
-
return {
|
|
2113
|
-
cause: __expectString(output.cause),
|
|
2114
|
-
error: __expectString(output.error),
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
const de_LambdaFunctionStartFailedEventDetails = (output, context) => {
|
|
2118
|
-
return {
|
|
2119
|
-
cause: __expectString(output.cause),
|
|
2120
|
-
error: __expectString(output.error),
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
const de_LambdaFunctionSucceededEventDetails = (output, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
output: __expectString(output.output),
|
|
2126
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const de_LambdaFunctionTimedOutEventDetails = (output, context) => {
|
|
2130
|
-
return {
|
|
2131
|
-
cause: __expectString(output.cause),
|
|
2132
|
-
error: __expectString(output.error),
|
|
2133
|
-
};
|
|
2134
|
-
};
|
|
2135
1588
|
const de_ListActivitiesOutput = (output, context) => {
|
|
2136
|
-
return {
|
|
2137
|
-
activities:
|
|
2138
|
-
nextToken: __expectString
|
|
2139
|
-
};
|
|
1589
|
+
return take(output, {
|
|
1590
|
+
activities: (_) => de_ActivityList(_, context),
|
|
1591
|
+
nextToken: __expectString,
|
|
1592
|
+
});
|
|
2140
1593
|
};
|
|
2141
1594
|
const de_ListExecutionsOutput = (output, context) => {
|
|
2142
|
-
return {
|
|
2143
|
-
executions:
|
|
2144
|
-
nextToken: __expectString
|
|
2145
|
-
};
|
|
1595
|
+
return take(output, {
|
|
1596
|
+
executions: (_) => de_ExecutionList(_, context),
|
|
1597
|
+
nextToken: __expectString,
|
|
1598
|
+
});
|
|
2146
1599
|
};
|
|
2147
1600
|
const de_ListMapRunsOutput = (output, context) => {
|
|
2148
|
-
return {
|
|
2149
|
-
mapRuns:
|
|
2150
|
-
nextToken: __expectString
|
|
2151
|
-
};
|
|
1601
|
+
return take(output, {
|
|
1602
|
+
mapRuns: (_) => de_MapRunList(_, context),
|
|
1603
|
+
nextToken: __expectString,
|
|
1604
|
+
});
|
|
2152
1605
|
};
|
|
2153
1606
|
const de_ListStateMachinesOutput = (output, context) => {
|
|
2154
|
-
return {
|
|
2155
|
-
nextToken: __expectString
|
|
2156
|
-
stateMachines:
|
|
2157
|
-
};
|
|
2158
|
-
};
|
|
2159
|
-
const de_ListTagsForResourceOutput = (output, context) => {
|
|
2160
|
-
return {
|
|
2161
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2162
|
-
};
|
|
2163
|
-
};
|
|
2164
|
-
const de_LogDestination = (output, context) => {
|
|
2165
|
-
return {
|
|
2166
|
-
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup != null
|
|
2167
|
-
? de_CloudWatchLogsLogGroup(output.cloudWatchLogsLogGroup, context)
|
|
2168
|
-
: undefined,
|
|
2169
|
-
};
|
|
2170
|
-
};
|
|
2171
|
-
const de_LogDestinationList = (output, context) => {
|
|
2172
|
-
const retVal = (output || [])
|
|
2173
|
-
.filter((e) => e != null)
|
|
2174
|
-
.map((entry) => {
|
|
2175
|
-
if (entry === null) {
|
|
2176
|
-
return null;
|
|
2177
|
-
}
|
|
2178
|
-
return de_LogDestination(entry, context);
|
|
1607
|
+
return take(output, {
|
|
1608
|
+
nextToken: __expectString,
|
|
1609
|
+
stateMachines: (_) => de_StateMachineList(_, context),
|
|
2179
1610
|
});
|
|
2180
|
-
return retVal;
|
|
2181
|
-
};
|
|
2182
|
-
const de_LoggingConfiguration = (output, context) => {
|
|
2183
|
-
return {
|
|
2184
|
-
destinations: output.destinations != null ? de_LogDestinationList(output.destinations, context) : undefined,
|
|
2185
|
-
includeExecutionData: __expectBoolean(output.includeExecutionData),
|
|
2186
|
-
level: __expectString(output.level),
|
|
2187
|
-
};
|
|
2188
|
-
};
|
|
2189
|
-
const de_MapIterationEventDetails = (output, context) => {
|
|
2190
|
-
return {
|
|
2191
|
-
index: __expectInt32(output.index),
|
|
2192
|
-
name: __expectString(output.name),
|
|
2193
|
-
};
|
|
2194
|
-
};
|
|
2195
|
-
const de_MapRunExecutionCounts = (output, context) => {
|
|
2196
|
-
return {
|
|
2197
|
-
aborted: __expectLong(output.aborted),
|
|
2198
|
-
failed: __expectLong(output.failed),
|
|
2199
|
-
pending: __expectLong(output.pending),
|
|
2200
|
-
resultsWritten: __expectLong(output.resultsWritten),
|
|
2201
|
-
running: __expectLong(output.running),
|
|
2202
|
-
succeeded: __expectLong(output.succeeded),
|
|
2203
|
-
timedOut: __expectLong(output.timedOut),
|
|
2204
|
-
total: __expectLong(output.total),
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
const de_MapRunFailedEventDetails = (output, context) => {
|
|
2208
|
-
return {
|
|
2209
|
-
cause: __expectString(output.cause),
|
|
2210
|
-
error: __expectString(output.error),
|
|
2211
|
-
};
|
|
2212
|
-
};
|
|
2213
|
-
const de_MapRunItemCounts = (output, context) => {
|
|
2214
|
-
return {
|
|
2215
|
-
aborted: __expectLong(output.aborted),
|
|
2216
|
-
failed: __expectLong(output.failed),
|
|
2217
|
-
pending: __expectLong(output.pending),
|
|
2218
|
-
resultsWritten: __expectLong(output.resultsWritten),
|
|
2219
|
-
running: __expectLong(output.running),
|
|
2220
|
-
succeeded: __expectLong(output.succeeded),
|
|
2221
|
-
timedOut: __expectLong(output.timedOut),
|
|
2222
|
-
total: __expectLong(output.total),
|
|
2223
|
-
};
|
|
2224
1611
|
};
|
|
2225
1612
|
const de_MapRunList = (output, context) => {
|
|
2226
1613
|
const retVal = (output || [])
|
|
2227
1614
|
.filter((e) => e != null)
|
|
2228
1615
|
.map((entry) => {
|
|
2229
|
-
if (entry === null) {
|
|
2230
|
-
return null;
|
|
2231
|
-
}
|
|
2232
1616
|
return de_MapRunListItem(entry, context);
|
|
2233
1617
|
});
|
|
2234
1618
|
return retVal;
|
|
2235
1619
|
};
|
|
2236
1620
|
const de_MapRunListItem = (output, context) => {
|
|
2237
|
-
return {
|
|
2238
|
-
executionArn: __expectString
|
|
2239
|
-
mapRunArn: __expectString
|
|
2240
|
-
startDate:
|
|
2241
|
-
stateMachineArn: __expectString
|
|
2242
|
-
stopDate:
|
|
2243
|
-
};
|
|
2244
|
-
};
|
|
2245
|
-
const de_MapRunStartedEventDetails = (output, context) => {
|
|
2246
|
-
return {
|
|
2247
|
-
mapRunArn: __expectString(output.mapRunArn),
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
const de_MapStateStartedEventDetails = (output, context) => {
|
|
2251
|
-
return {
|
|
2252
|
-
length: __expectInt32(output.length),
|
|
2253
|
-
};
|
|
2254
|
-
};
|
|
2255
|
-
const de_MissingRequiredParameter = (output, context) => {
|
|
2256
|
-
return {
|
|
2257
|
-
message: __expectString(output.message),
|
|
2258
|
-
};
|
|
2259
|
-
};
|
|
2260
|
-
const de_ResourceNotFound = (output, context) => {
|
|
2261
|
-
return {
|
|
2262
|
-
message: __expectString(output.message),
|
|
2263
|
-
resourceName: __expectString(output.resourceName),
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
const de_SendTaskFailureOutput = (output, context) => {
|
|
2267
|
-
return {};
|
|
2268
|
-
};
|
|
2269
|
-
const de_SendTaskHeartbeatOutput = (output, context) => {
|
|
2270
|
-
return {};
|
|
2271
|
-
};
|
|
2272
|
-
const de_SendTaskSuccessOutput = (output, context) => {
|
|
2273
|
-
return {};
|
|
1621
|
+
return take(output, {
|
|
1622
|
+
executionArn: __expectString,
|
|
1623
|
+
mapRunArn: __expectString,
|
|
1624
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1625
|
+
stateMachineArn: __expectString,
|
|
1626
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1627
|
+
});
|
|
2274
1628
|
};
|
|
2275
1629
|
const de_StartExecutionOutput = (output, context) => {
|
|
2276
|
-
return {
|
|
2277
|
-
executionArn: __expectString
|
|
2278
|
-
startDate:
|
|
2279
|
-
};
|
|
1630
|
+
return take(output, {
|
|
1631
|
+
executionArn: __expectString,
|
|
1632
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1633
|
+
});
|
|
2280
1634
|
};
|
|
2281
1635
|
const de_StartSyncExecutionOutput = (output, context) => {
|
|
2282
|
-
return {
|
|
2283
|
-
billingDetails:
|
|
2284
|
-
cause: __expectString
|
|
2285
|
-
error: __expectString
|
|
2286
|
-
executionArn: __expectString
|
|
2287
|
-
input: __expectString
|
|
2288
|
-
inputDetails:
|
|
2289
|
-
name: __expectString
|
|
2290
|
-
output: __expectString
|
|
2291
|
-
outputDetails:
|
|
2292
|
-
startDate:
|
|
2293
|
-
stateMachineArn: __expectString
|
|
2294
|
-
status: __expectString
|
|
2295
|
-
stopDate:
|
|
2296
|
-
traceHeader: __expectString
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
|
-
const de_StateEnteredEventDetails = (output, context) => {
|
|
2300
|
-
return {
|
|
2301
|
-
input: __expectString(output.input),
|
|
2302
|
-
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2303
|
-
name: __expectString(output.name),
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
const de_StateExitedEventDetails = (output, context) => {
|
|
2307
|
-
return {
|
|
2308
|
-
name: __expectString(output.name),
|
|
2309
|
-
output: __expectString(output.output),
|
|
2310
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2311
|
-
};
|
|
2312
|
-
};
|
|
2313
|
-
const de_StateMachineAlreadyExists = (output, context) => {
|
|
2314
|
-
return {
|
|
2315
|
-
message: __expectString(output.message),
|
|
2316
|
-
};
|
|
2317
|
-
};
|
|
2318
|
-
const de_StateMachineDeleting = (output, context) => {
|
|
2319
|
-
return {
|
|
2320
|
-
message: __expectString(output.message),
|
|
2321
|
-
};
|
|
2322
|
-
};
|
|
2323
|
-
const de_StateMachineDoesNotExist = (output, context) => {
|
|
2324
|
-
return {
|
|
2325
|
-
message: __expectString(output.message),
|
|
2326
|
-
};
|
|
2327
|
-
};
|
|
2328
|
-
const de_StateMachineLimitExceeded = (output, context) => {
|
|
2329
|
-
return {
|
|
2330
|
-
message: __expectString(output.message),
|
|
2331
|
-
};
|
|
1636
|
+
return take(output, {
|
|
1637
|
+
billingDetails: _json,
|
|
1638
|
+
cause: __expectString,
|
|
1639
|
+
error: __expectString,
|
|
1640
|
+
executionArn: __expectString,
|
|
1641
|
+
input: __expectString,
|
|
1642
|
+
inputDetails: _json,
|
|
1643
|
+
name: __expectString,
|
|
1644
|
+
output: __expectString,
|
|
1645
|
+
outputDetails: _json,
|
|
1646
|
+
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1647
|
+
stateMachineArn: __expectString,
|
|
1648
|
+
status: __expectString,
|
|
1649
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1650
|
+
traceHeader: __expectString,
|
|
1651
|
+
});
|
|
2332
1652
|
};
|
|
2333
1653
|
const de_StateMachineList = (output, context) => {
|
|
2334
1654
|
const retVal = (output || [])
|
|
2335
1655
|
.filter((e) => e != null)
|
|
2336
1656
|
.map((entry) => {
|
|
2337
|
-
if (entry === null) {
|
|
2338
|
-
return null;
|
|
2339
|
-
}
|
|
2340
1657
|
return de_StateMachineListItem(entry, context);
|
|
2341
1658
|
});
|
|
2342
1659
|
return retVal;
|
|
2343
1660
|
};
|
|
2344
1661
|
const de_StateMachineListItem = (output, context) => {
|
|
2345
|
-
return {
|
|
2346
|
-
creationDate:
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
type: __expectString(output.type),
|
|
2352
|
-
};
|
|
2353
|
-
};
|
|
2354
|
-
const de_StateMachineTypeNotSupported = (output, context) => {
|
|
2355
|
-
return {
|
|
2356
|
-
message: __expectString(output.message),
|
|
2357
|
-
};
|
|
1662
|
+
return take(output, {
|
|
1663
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1664
|
+
name: __expectString,
|
|
1665
|
+
stateMachineArn: __expectString,
|
|
1666
|
+
type: __expectString,
|
|
1667
|
+
});
|
|
2358
1668
|
};
|
|
2359
1669
|
const de_StopExecutionOutput = (output, context) => {
|
|
2360
|
-
return {
|
|
2361
|
-
stopDate:
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
const de_Tag = (output, context) => {
|
|
2365
|
-
return {
|
|
2366
|
-
key: __expectString(output.key),
|
|
2367
|
-
value: __expectString(output.value),
|
|
2368
|
-
};
|
|
2369
|
-
};
|
|
2370
|
-
const de_TagList = (output, context) => {
|
|
2371
|
-
const retVal = (output || [])
|
|
2372
|
-
.filter((e) => e != null)
|
|
2373
|
-
.map((entry) => {
|
|
2374
|
-
if (entry === null) {
|
|
2375
|
-
return null;
|
|
2376
|
-
}
|
|
2377
|
-
return de_Tag(entry, context);
|
|
1670
|
+
return take(output, {
|
|
1671
|
+
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2378
1672
|
});
|
|
2379
|
-
return retVal;
|
|
2380
|
-
};
|
|
2381
|
-
const de_TagResourceOutput = (output, context) => {
|
|
2382
|
-
return {};
|
|
2383
|
-
};
|
|
2384
|
-
const de_TaskCredentials = (output, context) => {
|
|
2385
|
-
return {
|
|
2386
|
-
roleArn: __expectString(output.roleArn),
|
|
2387
|
-
};
|
|
2388
|
-
};
|
|
2389
|
-
const de_TaskDoesNotExist = (output, context) => {
|
|
2390
|
-
return {
|
|
2391
|
-
message: __expectString(output.message),
|
|
2392
|
-
};
|
|
2393
|
-
};
|
|
2394
|
-
const de_TaskFailedEventDetails = (output, context) => {
|
|
2395
|
-
return {
|
|
2396
|
-
cause: __expectString(output.cause),
|
|
2397
|
-
error: __expectString(output.error),
|
|
2398
|
-
resource: __expectString(output.resource),
|
|
2399
|
-
resourceType: __expectString(output.resourceType),
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
const de_TaskScheduledEventDetails = (output, context) => {
|
|
2403
|
-
return {
|
|
2404
|
-
heartbeatInSeconds: __expectLong(output.heartbeatInSeconds),
|
|
2405
|
-
parameters: __expectString(output.parameters),
|
|
2406
|
-
region: __expectString(output.region),
|
|
2407
|
-
resource: __expectString(output.resource),
|
|
2408
|
-
resourceType: __expectString(output.resourceType),
|
|
2409
|
-
taskCredentials: output.taskCredentials != null ? de_TaskCredentials(output.taskCredentials, context) : undefined,
|
|
2410
|
-
timeoutInSeconds: __expectLong(output.timeoutInSeconds),
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
const de_TaskStartedEventDetails = (output, context) => {
|
|
2414
|
-
return {
|
|
2415
|
-
resource: __expectString(output.resource),
|
|
2416
|
-
resourceType: __expectString(output.resourceType),
|
|
2417
|
-
};
|
|
2418
|
-
};
|
|
2419
|
-
const de_TaskStartFailedEventDetails = (output, context) => {
|
|
2420
|
-
return {
|
|
2421
|
-
cause: __expectString(output.cause),
|
|
2422
|
-
error: __expectString(output.error),
|
|
2423
|
-
resource: __expectString(output.resource),
|
|
2424
|
-
resourceType: __expectString(output.resourceType),
|
|
2425
|
-
};
|
|
2426
|
-
};
|
|
2427
|
-
const de_TaskSubmitFailedEventDetails = (output, context) => {
|
|
2428
|
-
return {
|
|
2429
|
-
cause: __expectString(output.cause),
|
|
2430
|
-
error: __expectString(output.error),
|
|
2431
|
-
resource: __expectString(output.resource),
|
|
2432
|
-
resourceType: __expectString(output.resourceType),
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const de_TaskSubmittedEventDetails = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
output: __expectString(output.output),
|
|
2438
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2439
|
-
resource: __expectString(output.resource),
|
|
2440
|
-
resourceType: __expectString(output.resourceType),
|
|
2441
|
-
};
|
|
2442
|
-
};
|
|
2443
|
-
const de_TaskSucceededEventDetails = (output, context) => {
|
|
2444
|
-
return {
|
|
2445
|
-
output: __expectString(output.output),
|
|
2446
|
-
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2447
|
-
resource: __expectString(output.resource),
|
|
2448
|
-
resourceType: __expectString(output.resourceType),
|
|
2449
|
-
};
|
|
2450
|
-
};
|
|
2451
|
-
const de_TaskTimedOut = (output, context) => {
|
|
2452
|
-
return {
|
|
2453
|
-
message: __expectString(output.message),
|
|
2454
|
-
};
|
|
2455
|
-
};
|
|
2456
|
-
const de_TaskTimedOutEventDetails = (output, context) => {
|
|
2457
|
-
return {
|
|
2458
|
-
cause: __expectString(output.cause),
|
|
2459
|
-
error: __expectString(output.error),
|
|
2460
|
-
resource: __expectString(output.resource),
|
|
2461
|
-
resourceType: __expectString(output.resourceType),
|
|
2462
|
-
};
|
|
2463
|
-
};
|
|
2464
|
-
const de_TooManyTags = (output, context) => {
|
|
2465
|
-
return {
|
|
2466
|
-
message: __expectString(output.message),
|
|
2467
|
-
resourceName: __expectString(output.resourceName),
|
|
2468
|
-
};
|
|
2469
|
-
};
|
|
2470
|
-
const de_TracingConfiguration = (output, context) => {
|
|
2471
|
-
return {
|
|
2472
|
-
enabled: __expectBoolean(output.enabled),
|
|
2473
|
-
};
|
|
2474
|
-
};
|
|
2475
|
-
const de_UntagResourceOutput = (output, context) => {
|
|
2476
|
-
return {};
|
|
2477
|
-
};
|
|
2478
|
-
const de_UpdateMapRunOutput = (output, context) => {
|
|
2479
|
-
return {};
|
|
2480
1673
|
};
|
|
2481
1674
|
const de_UpdateStateMachineOutput = (output, context) => {
|
|
2482
|
-
return {
|
|
2483
|
-
updateDate:
|
|
2484
|
-
};
|
|
2485
|
-
};
|
|
2486
|
-
const de_ValidationException = (output, context) => {
|
|
2487
|
-
return {
|
|
2488
|
-
message: __expectString(output.message),
|
|
2489
|
-
reason: __expectString(output.reason),
|
|
2490
|
-
};
|
|
1675
|
+
return take(output, {
|
|
1676
|
+
updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1677
|
+
});
|
|
2491
1678
|
};
|
|
2492
1679
|
const deserializeMetadata = (output) => ({
|
|
2493
1680
|
httpStatusCode: output.statusCode,
|
|
@@ -2502,6 +1689,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2502
1689
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2503
1690
|
};
|
|
2504
1691
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1692
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2505
1693
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2506
1694
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2507
1695
|
const contents = {
|