@aws-sdk/client-sfn 3.357.0 → 3.359.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/README.md +64 -0
- package/dist-cjs/SFN.js +16 -0
- package/dist-cjs/commands/CreateStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +46 -0
- package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/ListStateMachineAliasesCommand.js +46 -0
- package/dist-cjs/commands/ListStateMachineVersionsCommand.js +46 -0
- package/dist-cjs/commands/PublishStateMachineVersionCommand.js +47 -0
- package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +66 -16
- package/dist-cjs/protocols/Aws_json1_0.js +510 -2
- package/dist-es/SFN.js +16 -0
- package/dist-es/commands/CreateStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/DeleteStateMachineAliasCommand.js +42 -0
- package/dist-es/commands/DeleteStateMachineVersionCommand.js +42 -0
- package/dist-es/commands/DescribeStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/ListStateMachineAliasesCommand.js +42 -0
- package/dist-es/commands/ListStateMachineVersionsCommand.js +42 -0
- package/dist-es/commands/PublishStateMachineVersionCommand.js +43 -0
- package/dist-es/commands/UpdateStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +57 -13
- package/dist-es/protocols/Aws_json1_0.js +493 -1
- package/dist-types/SFN.d.ts +56 -0
- package/dist-types/SFNClient.d.ts +10 -2
- package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +144 -0
- package/dist-types/commands/CreateStateMachineCommand.d.ts +14 -2
- package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +112 -0
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +21 -6
- package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +106 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +9 -2
- package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +117 -0
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +33 -4
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +7 -1
- package/dist-types/commands/GetActivityTaskCommand.d.ts +0 -2
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +2 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +124 -0
- package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +122 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +37 -9
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -2
- package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +132 -0
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +49 -7
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +475 -36
- package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
- package/dist-types/ts3.4/SFN.d.ts +136 -0
- package/dist-types/ts3.4/SFNClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +130 -14
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _json, collectBody, 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";
|
|
2
2
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
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";
|
|
3
|
+
import { ActivityDoesNotExist, ActivityLimitExceeded, ActivityWorkerLimitExceeded, ConflictException, ExecutionAlreadyExists, ExecutionDoesNotExist, ExecutionLimitExceeded, InvalidArn, InvalidDefinition, InvalidExecutionInput, InvalidLoggingConfiguration, InvalidName, InvalidOutput, InvalidToken, InvalidTracingConfiguration, MissingRequiredParameter, ResourceNotFound, ServiceQuotaExceededException, 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");
|
|
@@ -14,6 +14,12 @@ export const se_CreateStateMachineCommand = async (input, context) => {
|
|
|
14
14
|
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
+
export const se_CreateStateMachineAliasCommand = async (input, context) => {
|
|
18
|
+
const headers = sharedHeaders("CreateStateMachineAlias");
|
|
19
|
+
let body;
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
|
+
};
|
|
17
23
|
export const se_DeleteActivityCommand = async (input, context) => {
|
|
18
24
|
const headers = sharedHeaders("DeleteActivity");
|
|
19
25
|
let body;
|
|
@@ -26,6 +32,18 @@ export const se_DeleteStateMachineCommand = async (input, context) => {
|
|
|
26
32
|
body = JSON.stringify(_json(input));
|
|
27
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
34
|
};
|
|
35
|
+
export const se_DeleteStateMachineAliasCommand = async (input, context) => {
|
|
36
|
+
const headers = sharedHeaders("DeleteStateMachineAlias");
|
|
37
|
+
let body;
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
|
+
};
|
|
41
|
+
export const se_DeleteStateMachineVersionCommand = async (input, context) => {
|
|
42
|
+
const headers = sharedHeaders("DeleteStateMachineVersion");
|
|
43
|
+
let body;
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
|
+
};
|
|
29
47
|
export const se_DescribeActivityCommand = async (input, context) => {
|
|
30
48
|
const headers = sharedHeaders("DescribeActivity");
|
|
31
49
|
let body;
|
|
@@ -50,6 +68,12 @@ export const se_DescribeStateMachineCommand = async (input, context) => {
|
|
|
50
68
|
body = JSON.stringify(_json(input));
|
|
51
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
70
|
};
|
|
71
|
+
export const se_DescribeStateMachineAliasCommand = async (input, context) => {
|
|
72
|
+
const headers = sharedHeaders("DescribeStateMachineAlias");
|
|
73
|
+
let body;
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
|
+
};
|
|
53
77
|
export const se_DescribeStateMachineForExecutionCommand = async (input, context) => {
|
|
54
78
|
const headers = sharedHeaders("DescribeStateMachineForExecution");
|
|
55
79
|
let body;
|
|
@@ -86,18 +110,36 @@ export const se_ListMapRunsCommand = async (input, context) => {
|
|
|
86
110
|
body = JSON.stringify(_json(input));
|
|
87
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
112
|
};
|
|
113
|
+
export const se_ListStateMachineAliasesCommand = async (input, context) => {
|
|
114
|
+
const headers = sharedHeaders("ListStateMachineAliases");
|
|
115
|
+
let body;
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
|
+
};
|
|
89
119
|
export const se_ListStateMachinesCommand = async (input, context) => {
|
|
90
120
|
const headers = sharedHeaders("ListStateMachines");
|
|
91
121
|
let body;
|
|
92
122
|
body = JSON.stringify(_json(input));
|
|
93
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
124
|
};
|
|
125
|
+
export const se_ListStateMachineVersionsCommand = async (input, context) => {
|
|
126
|
+
const headers = sharedHeaders("ListStateMachineVersions");
|
|
127
|
+
let body;
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
|
+
};
|
|
95
131
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
96
132
|
const headers = sharedHeaders("ListTagsForResource");
|
|
97
133
|
let body;
|
|
98
134
|
body = JSON.stringify(_json(input));
|
|
99
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
136
|
};
|
|
137
|
+
export const se_PublishStateMachineVersionCommand = async (input, context) => {
|
|
138
|
+
const headers = sharedHeaders("PublishStateMachineVersion");
|
|
139
|
+
let body;
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
|
+
};
|
|
101
143
|
export const se_SendTaskFailureCommand = async (input, context) => {
|
|
102
144
|
const headers = sharedHeaders("SendTaskFailure");
|
|
103
145
|
let body;
|
|
@@ -165,6 +207,12 @@ export const se_UpdateStateMachineCommand = async (input, context) => {
|
|
|
165
207
|
body = JSON.stringify(_json(input));
|
|
166
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
209
|
};
|
|
210
|
+
export const se_UpdateStateMachineAliasCommand = async (input, context) => {
|
|
211
|
+
const headers = sharedHeaders("UpdateStateMachineAlias");
|
|
212
|
+
let body;
|
|
213
|
+
body = JSON.stringify(_json(input));
|
|
214
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
+
};
|
|
168
216
|
export const de_CreateActivityCommand = async (output, context) => {
|
|
169
217
|
if (output.statusCode >= 300) {
|
|
170
218
|
return de_CreateActivityCommandError(output, context);
|
|
@@ -223,6 +271,9 @@ const de_CreateStateMachineCommandError = async (output, context) => {
|
|
|
223
271
|
};
|
|
224
272
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
225
273
|
switch (errorCode) {
|
|
274
|
+
case "ConflictException":
|
|
275
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
276
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
226
277
|
case "InvalidArn":
|
|
227
278
|
case "com.amazonaws.sfn#InvalidArn":
|
|
228
279
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
@@ -253,6 +304,59 @@ const de_CreateStateMachineCommandError = async (output, context) => {
|
|
|
253
304
|
case "TooManyTags":
|
|
254
305
|
case "com.amazonaws.sfn#TooManyTags":
|
|
255
306
|
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
307
|
+
case "ValidationException":
|
|
308
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
309
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
310
|
+
default:
|
|
311
|
+
const parsedBody = parsedOutput.body;
|
|
312
|
+
return throwDefaultError({
|
|
313
|
+
output,
|
|
314
|
+
parsedBody,
|
|
315
|
+
errorCode,
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
export const de_CreateStateMachineAliasCommand = async (output, context) => {
|
|
320
|
+
if (output.statusCode >= 300) {
|
|
321
|
+
return de_CreateStateMachineAliasCommandError(output, context);
|
|
322
|
+
}
|
|
323
|
+
const data = await parseBody(output.body, context);
|
|
324
|
+
let contents = {};
|
|
325
|
+
contents = de_CreateStateMachineAliasOutput(data, context);
|
|
326
|
+
const response = {
|
|
327
|
+
$metadata: deserializeMetadata(output),
|
|
328
|
+
...contents,
|
|
329
|
+
};
|
|
330
|
+
return response;
|
|
331
|
+
};
|
|
332
|
+
const de_CreateStateMachineAliasCommandError = async (output, context) => {
|
|
333
|
+
const parsedOutput = {
|
|
334
|
+
...output,
|
|
335
|
+
body: await parseErrorBody(output.body, context),
|
|
336
|
+
};
|
|
337
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
338
|
+
switch (errorCode) {
|
|
339
|
+
case "ConflictException":
|
|
340
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
341
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
342
|
+
case "InvalidArn":
|
|
343
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
344
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
345
|
+
case "InvalidName":
|
|
346
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
347
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
348
|
+
case "ResourceNotFound":
|
|
349
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
350
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
351
|
+
case "ServiceQuotaExceededException":
|
|
352
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
353
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
354
|
+
case "StateMachineDeleting":
|
|
355
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
356
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
357
|
+
case "ValidationException":
|
|
358
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
359
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
256
360
|
default:
|
|
257
361
|
const parsedBody = parsedOutput.body;
|
|
258
362
|
return throwDefaultError({
|
|
@@ -329,6 +433,85 @@ const de_DeleteStateMachineCommandError = async (output, context) => {
|
|
|
329
433
|
});
|
|
330
434
|
}
|
|
331
435
|
};
|
|
436
|
+
export const de_DeleteStateMachineAliasCommand = async (output, context) => {
|
|
437
|
+
if (output.statusCode >= 300) {
|
|
438
|
+
return de_DeleteStateMachineAliasCommandError(output, context);
|
|
439
|
+
}
|
|
440
|
+
const data = await parseBody(output.body, context);
|
|
441
|
+
let contents = {};
|
|
442
|
+
contents = _json(data);
|
|
443
|
+
const response = {
|
|
444
|
+
$metadata: deserializeMetadata(output),
|
|
445
|
+
...contents,
|
|
446
|
+
};
|
|
447
|
+
return response;
|
|
448
|
+
};
|
|
449
|
+
const de_DeleteStateMachineAliasCommandError = async (output, context) => {
|
|
450
|
+
const parsedOutput = {
|
|
451
|
+
...output,
|
|
452
|
+
body: await parseErrorBody(output.body, context),
|
|
453
|
+
};
|
|
454
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
455
|
+
switch (errorCode) {
|
|
456
|
+
case "ConflictException":
|
|
457
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
458
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
459
|
+
case "InvalidArn":
|
|
460
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
461
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
462
|
+
case "ResourceNotFound":
|
|
463
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
464
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
465
|
+
case "ValidationException":
|
|
466
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
467
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
468
|
+
default:
|
|
469
|
+
const parsedBody = parsedOutput.body;
|
|
470
|
+
return throwDefaultError({
|
|
471
|
+
output,
|
|
472
|
+
parsedBody,
|
|
473
|
+
errorCode,
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
export const de_DeleteStateMachineVersionCommand = async (output, context) => {
|
|
478
|
+
if (output.statusCode >= 300) {
|
|
479
|
+
return de_DeleteStateMachineVersionCommandError(output, context);
|
|
480
|
+
}
|
|
481
|
+
const data = await parseBody(output.body, context);
|
|
482
|
+
let contents = {};
|
|
483
|
+
contents = _json(data);
|
|
484
|
+
const response = {
|
|
485
|
+
$metadata: deserializeMetadata(output),
|
|
486
|
+
...contents,
|
|
487
|
+
};
|
|
488
|
+
return response;
|
|
489
|
+
};
|
|
490
|
+
const de_DeleteStateMachineVersionCommandError = async (output, context) => {
|
|
491
|
+
const parsedOutput = {
|
|
492
|
+
...output,
|
|
493
|
+
body: await parseErrorBody(output.body, context),
|
|
494
|
+
};
|
|
495
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
496
|
+
switch (errorCode) {
|
|
497
|
+
case "ConflictException":
|
|
498
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
499
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
500
|
+
case "InvalidArn":
|
|
501
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
502
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
503
|
+
case "ValidationException":
|
|
504
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
505
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
506
|
+
default:
|
|
507
|
+
const parsedBody = parsedOutput.body;
|
|
508
|
+
return throwDefaultError({
|
|
509
|
+
output,
|
|
510
|
+
parsedBody,
|
|
511
|
+
errorCode,
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
};
|
|
332
515
|
export const de_DescribeActivityCommand = async (output, context) => {
|
|
333
516
|
if (output.statusCode >= 300) {
|
|
334
517
|
return de_DescribeActivityCommandError(output, context);
|
|
@@ -469,6 +652,44 @@ const de_DescribeStateMachineCommandError = async (output, context) => {
|
|
|
469
652
|
});
|
|
470
653
|
}
|
|
471
654
|
};
|
|
655
|
+
export const de_DescribeStateMachineAliasCommand = async (output, context) => {
|
|
656
|
+
if (output.statusCode >= 300) {
|
|
657
|
+
return de_DescribeStateMachineAliasCommandError(output, context);
|
|
658
|
+
}
|
|
659
|
+
const data = await parseBody(output.body, context);
|
|
660
|
+
let contents = {};
|
|
661
|
+
contents = de_DescribeStateMachineAliasOutput(data, context);
|
|
662
|
+
const response = {
|
|
663
|
+
$metadata: deserializeMetadata(output),
|
|
664
|
+
...contents,
|
|
665
|
+
};
|
|
666
|
+
return response;
|
|
667
|
+
};
|
|
668
|
+
const de_DescribeStateMachineAliasCommandError = async (output, context) => {
|
|
669
|
+
const parsedOutput = {
|
|
670
|
+
...output,
|
|
671
|
+
body: await parseErrorBody(output.body, context),
|
|
672
|
+
};
|
|
673
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
674
|
+
switch (errorCode) {
|
|
675
|
+
case "InvalidArn":
|
|
676
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
677
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
678
|
+
case "ResourceNotFound":
|
|
679
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
680
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
681
|
+
case "ValidationException":
|
|
682
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
683
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
684
|
+
default:
|
|
685
|
+
const parsedBody = parsedOutput.body;
|
|
686
|
+
return throwDefaultError({
|
|
687
|
+
output,
|
|
688
|
+
parsedBody,
|
|
689
|
+
errorCode,
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
};
|
|
472
693
|
export const de_DescribeStateMachineForExecutionCommand = async (output, context) => {
|
|
473
694
|
if (output.statusCode >= 300) {
|
|
474
695
|
return de_DescribeStateMachineForExecutionCommandError(output, context);
|
|
@@ -697,6 +918,50 @@ const de_ListMapRunsCommandError = async (output, context) => {
|
|
|
697
918
|
});
|
|
698
919
|
}
|
|
699
920
|
};
|
|
921
|
+
export const de_ListStateMachineAliasesCommand = async (output, context) => {
|
|
922
|
+
if (output.statusCode >= 300) {
|
|
923
|
+
return de_ListStateMachineAliasesCommandError(output, context);
|
|
924
|
+
}
|
|
925
|
+
const data = await parseBody(output.body, context);
|
|
926
|
+
let contents = {};
|
|
927
|
+
contents = de_ListStateMachineAliasesOutput(data, context);
|
|
928
|
+
const response = {
|
|
929
|
+
$metadata: deserializeMetadata(output),
|
|
930
|
+
...contents,
|
|
931
|
+
};
|
|
932
|
+
return response;
|
|
933
|
+
};
|
|
934
|
+
const de_ListStateMachineAliasesCommandError = async (output, context) => {
|
|
935
|
+
const parsedOutput = {
|
|
936
|
+
...output,
|
|
937
|
+
body: await parseErrorBody(output.body, context),
|
|
938
|
+
};
|
|
939
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
940
|
+
switch (errorCode) {
|
|
941
|
+
case "InvalidArn":
|
|
942
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
943
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
944
|
+
case "InvalidToken":
|
|
945
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
946
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
947
|
+
case "ResourceNotFound":
|
|
948
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
949
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
950
|
+
case "StateMachineDeleting":
|
|
951
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
952
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
953
|
+
case "StateMachineDoesNotExist":
|
|
954
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
955
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
956
|
+
default:
|
|
957
|
+
const parsedBody = parsedOutput.body;
|
|
958
|
+
return throwDefaultError({
|
|
959
|
+
output,
|
|
960
|
+
parsedBody,
|
|
961
|
+
errorCode,
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
};
|
|
700
965
|
export const de_ListStateMachinesCommand = async (output, context) => {
|
|
701
966
|
if (output.statusCode >= 300) {
|
|
702
967
|
return de_ListStateMachinesCommandError(output, context);
|
|
@@ -729,6 +994,44 @@ const de_ListStateMachinesCommandError = async (output, context) => {
|
|
|
729
994
|
});
|
|
730
995
|
}
|
|
731
996
|
};
|
|
997
|
+
export const de_ListStateMachineVersionsCommand = async (output, context) => {
|
|
998
|
+
if (output.statusCode >= 300) {
|
|
999
|
+
return de_ListStateMachineVersionsCommandError(output, context);
|
|
1000
|
+
}
|
|
1001
|
+
const data = await parseBody(output.body, context);
|
|
1002
|
+
let contents = {};
|
|
1003
|
+
contents = de_ListStateMachineVersionsOutput(data, context);
|
|
1004
|
+
const response = {
|
|
1005
|
+
$metadata: deserializeMetadata(output),
|
|
1006
|
+
...contents,
|
|
1007
|
+
};
|
|
1008
|
+
return response;
|
|
1009
|
+
};
|
|
1010
|
+
const de_ListStateMachineVersionsCommandError = async (output, context) => {
|
|
1011
|
+
const parsedOutput = {
|
|
1012
|
+
...output,
|
|
1013
|
+
body: await parseErrorBody(output.body, context),
|
|
1014
|
+
};
|
|
1015
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1016
|
+
switch (errorCode) {
|
|
1017
|
+
case "InvalidArn":
|
|
1018
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1019
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1020
|
+
case "InvalidToken":
|
|
1021
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
1022
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
1023
|
+
case "ValidationException":
|
|
1024
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1025
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1026
|
+
default:
|
|
1027
|
+
const parsedBody = parsedOutput.body;
|
|
1028
|
+
return throwDefaultError({
|
|
1029
|
+
output,
|
|
1030
|
+
parsedBody,
|
|
1031
|
+
errorCode,
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
};
|
|
732
1035
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
733
1036
|
if (output.statusCode >= 300) {
|
|
734
1037
|
return de_ListTagsForResourceCommandError(output, context);
|
|
@@ -764,6 +1067,53 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
764
1067
|
});
|
|
765
1068
|
}
|
|
766
1069
|
};
|
|
1070
|
+
export const de_PublishStateMachineVersionCommand = async (output, context) => {
|
|
1071
|
+
if (output.statusCode >= 300) {
|
|
1072
|
+
return de_PublishStateMachineVersionCommandError(output, context);
|
|
1073
|
+
}
|
|
1074
|
+
const data = await parseBody(output.body, context);
|
|
1075
|
+
let contents = {};
|
|
1076
|
+
contents = de_PublishStateMachineVersionOutput(data, context);
|
|
1077
|
+
const response = {
|
|
1078
|
+
$metadata: deserializeMetadata(output),
|
|
1079
|
+
...contents,
|
|
1080
|
+
};
|
|
1081
|
+
return response;
|
|
1082
|
+
};
|
|
1083
|
+
const de_PublishStateMachineVersionCommandError = async (output, context) => {
|
|
1084
|
+
const parsedOutput = {
|
|
1085
|
+
...output,
|
|
1086
|
+
body: await parseErrorBody(output.body, context),
|
|
1087
|
+
};
|
|
1088
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
|
+
switch (errorCode) {
|
|
1090
|
+
case "ConflictException":
|
|
1091
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1092
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1093
|
+
case "InvalidArn":
|
|
1094
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1095
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1096
|
+
case "ServiceQuotaExceededException":
|
|
1097
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
1098
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "StateMachineDeleting":
|
|
1100
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1101
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1102
|
+
case "StateMachineDoesNotExist":
|
|
1103
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1104
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1105
|
+
case "ValidationException":
|
|
1106
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1107
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1108
|
+
default:
|
|
1109
|
+
const parsedBody = parsedOutput.body;
|
|
1110
|
+
return throwDefaultError({
|
|
1111
|
+
output,
|
|
1112
|
+
parsedBody,
|
|
1113
|
+
errorCode,
|
|
1114
|
+
});
|
|
1115
|
+
}
|
|
1116
|
+
};
|
|
767
1117
|
export const de_SendTaskFailureCommand = async (output, context) => {
|
|
768
1118
|
if (output.statusCode >= 300) {
|
|
769
1119
|
return de_SendTaskFailureCommandError(output, context);
|
|
@@ -1150,6 +1500,9 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
|
1150
1500
|
};
|
|
1151
1501
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1152
1502
|
switch (errorCode) {
|
|
1503
|
+
case "ConflictException":
|
|
1504
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1505
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1153
1506
|
case "InvalidArn":
|
|
1154
1507
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1155
1508
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
@@ -1165,6 +1518,9 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
|
1165
1518
|
case "MissingRequiredParameter":
|
|
1166
1519
|
case "com.amazonaws.sfn#MissingRequiredParameter":
|
|
1167
1520
|
throw await de_MissingRequiredParameterRes(parsedOutput, context);
|
|
1521
|
+
case "ServiceQuotaExceededException":
|
|
1522
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
1523
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1168
1524
|
case "StateMachineDeleting":
|
|
1169
1525
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1170
1526
|
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
@@ -1183,6 +1539,47 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
|
1183
1539
|
});
|
|
1184
1540
|
}
|
|
1185
1541
|
};
|
|
1542
|
+
export const de_UpdateStateMachineAliasCommand = async (output, context) => {
|
|
1543
|
+
if (output.statusCode >= 300) {
|
|
1544
|
+
return de_UpdateStateMachineAliasCommandError(output, context);
|
|
1545
|
+
}
|
|
1546
|
+
const data = await parseBody(output.body, context);
|
|
1547
|
+
let contents = {};
|
|
1548
|
+
contents = de_UpdateStateMachineAliasOutput(data, context);
|
|
1549
|
+
const response = {
|
|
1550
|
+
$metadata: deserializeMetadata(output),
|
|
1551
|
+
...contents,
|
|
1552
|
+
};
|
|
1553
|
+
return response;
|
|
1554
|
+
};
|
|
1555
|
+
const de_UpdateStateMachineAliasCommandError = async (output, context) => {
|
|
1556
|
+
const parsedOutput = {
|
|
1557
|
+
...output,
|
|
1558
|
+
body: await parseErrorBody(output.body, context),
|
|
1559
|
+
};
|
|
1560
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1561
|
+
switch (errorCode) {
|
|
1562
|
+
case "ConflictException":
|
|
1563
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1564
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1565
|
+
case "InvalidArn":
|
|
1566
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1567
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1568
|
+
case "ResourceNotFound":
|
|
1569
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1570
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1571
|
+
case "ValidationException":
|
|
1572
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1573
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1574
|
+
default:
|
|
1575
|
+
const parsedBody = parsedOutput.body;
|
|
1576
|
+
return throwDefaultError({
|
|
1577
|
+
output,
|
|
1578
|
+
parsedBody,
|
|
1579
|
+
errorCode,
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
};
|
|
1186
1583
|
const de_ActivityDoesNotExistRes = async (parsedOutput, context) => {
|
|
1187
1584
|
const body = parsedOutput.body;
|
|
1188
1585
|
const deserialized = _json(body);
|
|
@@ -1210,6 +1607,15 @@ const de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => {
|
|
|
1210
1607
|
});
|
|
1211
1608
|
return __decorateServiceException(exception, body);
|
|
1212
1609
|
};
|
|
1610
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1611
|
+
const body = parsedOutput.body;
|
|
1612
|
+
const deserialized = _json(body);
|
|
1613
|
+
const exception = new ConflictException({
|
|
1614
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1615
|
+
...deserialized,
|
|
1616
|
+
});
|
|
1617
|
+
return __decorateServiceException(exception, body);
|
|
1618
|
+
};
|
|
1213
1619
|
const de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1214
1620
|
const body = parsedOutput.body;
|
|
1215
1621
|
const deserialized = _json(body);
|
|
@@ -1327,6 +1733,15 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
|
1327
1733
|
});
|
|
1328
1734
|
return __decorateServiceException(exception, body);
|
|
1329
1735
|
};
|
|
1736
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1737
|
+
const body = parsedOutput.body;
|
|
1738
|
+
const deserialized = _json(body);
|
|
1739
|
+
const exception = new ServiceQuotaExceededException({
|
|
1740
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1741
|
+
...deserialized,
|
|
1742
|
+
});
|
|
1743
|
+
return __decorateServiceException(exception, body);
|
|
1744
|
+
};
|
|
1330
1745
|
const de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1331
1746
|
const body = parsedOutput.body;
|
|
1332
1747
|
const deserialized = _json(body);
|
|
@@ -1437,10 +1852,17 @@ const de_CreateActivityOutput = (output, context) => {
|
|
|
1437
1852
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1438
1853
|
});
|
|
1439
1854
|
};
|
|
1855
|
+
const de_CreateStateMachineAliasOutput = (output, context) => {
|
|
1856
|
+
return take(output, {
|
|
1857
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1858
|
+
stateMachineAliasArn: __expectString,
|
|
1859
|
+
});
|
|
1860
|
+
};
|
|
1440
1861
|
const de_CreateStateMachineOutput = (output, context) => {
|
|
1441
1862
|
return take(output, {
|
|
1442
1863
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1443
1864
|
stateMachineArn: __expectString,
|
|
1865
|
+
stateMachineVersionArn: __expectString,
|
|
1444
1866
|
});
|
|
1445
1867
|
};
|
|
1446
1868
|
const de_DescribeActivityOutput = (output, context) => {
|
|
@@ -1462,7 +1884,9 @@ const de_DescribeExecutionOutput = (output, context) => {
|
|
|
1462
1884
|
output: __expectString,
|
|
1463
1885
|
outputDetails: _json,
|
|
1464
1886
|
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1887
|
+
stateMachineAliasArn: __expectString,
|
|
1465
1888
|
stateMachineArn: __expectString,
|
|
1889
|
+
stateMachineVersionArn: __expectString,
|
|
1466
1890
|
status: __expectString,
|
|
1467
1891
|
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1468
1892
|
traceHeader: __expectString,
|
|
@@ -1482,6 +1906,16 @@ const de_DescribeMapRunOutput = (output, context) => {
|
|
|
1482
1906
|
toleratedFailurePercentage: __limitedParseFloat32,
|
|
1483
1907
|
});
|
|
1484
1908
|
};
|
|
1909
|
+
const de_DescribeStateMachineAliasOutput = (output, context) => {
|
|
1910
|
+
return take(output, {
|
|
1911
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1912
|
+
description: __expectString,
|
|
1913
|
+
name: __expectString,
|
|
1914
|
+
routingConfiguration: _json,
|
|
1915
|
+
stateMachineAliasArn: __expectString,
|
|
1916
|
+
updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1917
|
+
});
|
|
1918
|
+
};
|
|
1485
1919
|
const de_DescribeStateMachineForExecutionOutput = (output, context) => {
|
|
1486
1920
|
return take(output, {
|
|
1487
1921
|
definition: __expectString,
|
|
@@ -1489,6 +1923,7 @@ const de_DescribeStateMachineForExecutionOutput = (output, context) => {
|
|
|
1489
1923
|
loggingConfiguration: _json,
|
|
1490
1924
|
mapRunArn: __expectString,
|
|
1491
1925
|
name: __expectString,
|
|
1926
|
+
revisionId: __expectString,
|
|
1492
1927
|
roleArn: __expectString,
|
|
1493
1928
|
stateMachineArn: __expectString,
|
|
1494
1929
|
tracingConfiguration: _json,
|
|
@@ -1499,9 +1934,11 @@ const de_DescribeStateMachineOutput = (output, context) => {
|
|
|
1499
1934
|
return take(output, {
|
|
1500
1935
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1501
1936
|
definition: __expectString,
|
|
1937
|
+
description: __expectString,
|
|
1502
1938
|
label: __expectString,
|
|
1503
1939
|
loggingConfiguration: _json,
|
|
1504
1940
|
name: __expectString,
|
|
1941
|
+
revisionId: __expectString,
|
|
1505
1942
|
roleArn: __expectString,
|
|
1506
1943
|
stateMachineArn: __expectString,
|
|
1507
1944
|
status: __expectString,
|
|
@@ -1524,7 +1961,9 @@ const de_ExecutionListItem = (output, context) => {
|
|
|
1524
1961
|
mapRunArn: __expectString,
|
|
1525
1962
|
name: __expectString,
|
|
1526
1963
|
startDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1964
|
+
stateMachineAliasArn: __expectString,
|
|
1527
1965
|
stateMachineArn: __expectString,
|
|
1966
|
+
stateMachineVersionArn: __expectString,
|
|
1528
1967
|
status: __expectString,
|
|
1529
1968
|
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1530
1969
|
});
|
|
@@ -1603,12 +2042,24 @@ const de_ListMapRunsOutput = (output, context) => {
|
|
|
1603
2042
|
nextToken: __expectString,
|
|
1604
2043
|
});
|
|
1605
2044
|
};
|
|
2045
|
+
const de_ListStateMachineAliasesOutput = (output, context) => {
|
|
2046
|
+
return take(output, {
|
|
2047
|
+
nextToken: __expectString,
|
|
2048
|
+
stateMachineAliases: (_) => de_StateMachineAliasList(_, context),
|
|
2049
|
+
});
|
|
2050
|
+
};
|
|
1606
2051
|
const de_ListStateMachinesOutput = (output, context) => {
|
|
1607
2052
|
return take(output, {
|
|
1608
2053
|
nextToken: __expectString,
|
|
1609
2054
|
stateMachines: (_) => de_StateMachineList(_, context),
|
|
1610
2055
|
});
|
|
1611
2056
|
};
|
|
2057
|
+
const de_ListStateMachineVersionsOutput = (output, context) => {
|
|
2058
|
+
return take(output, {
|
|
2059
|
+
nextToken: __expectString,
|
|
2060
|
+
stateMachineVersions: (_) => de_StateMachineVersionList(_, context),
|
|
2061
|
+
});
|
|
2062
|
+
};
|
|
1612
2063
|
const de_MapRunList = (output, context) => {
|
|
1613
2064
|
const retVal = (output || [])
|
|
1614
2065
|
.filter((e) => e != null)
|
|
@@ -1626,6 +2077,12 @@ const de_MapRunListItem = (output, context) => {
|
|
|
1626
2077
|
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1627
2078
|
});
|
|
1628
2079
|
};
|
|
2080
|
+
const de_PublishStateMachineVersionOutput = (output, context) => {
|
|
2081
|
+
return take(output, {
|
|
2082
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2083
|
+
stateMachineVersionArn: __expectString,
|
|
2084
|
+
});
|
|
2085
|
+
};
|
|
1629
2086
|
const de_StartExecutionOutput = (output, context) => {
|
|
1630
2087
|
return take(output, {
|
|
1631
2088
|
executionArn: __expectString,
|
|
@@ -1650,6 +2107,20 @@ const de_StartSyncExecutionOutput = (output, context) => {
|
|
|
1650
2107
|
traceHeader: __expectString,
|
|
1651
2108
|
});
|
|
1652
2109
|
};
|
|
2110
|
+
const de_StateMachineAliasList = (output, context) => {
|
|
2111
|
+
const retVal = (output || [])
|
|
2112
|
+
.filter((e) => e != null)
|
|
2113
|
+
.map((entry) => {
|
|
2114
|
+
return de_StateMachineAliasListItem(entry, context);
|
|
2115
|
+
});
|
|
2116
|
+
return retVal;
|
|
2117
|
+
};
|
|
2118
|
+
const de_StateMachineAliasListItem = (output, context) => {
|
|
2119
|
+
return take(output, {
|
|
2120
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2121
|
+
stateMachineAliasArn: __expectString,
|
|
2122
|
+
});
|
|
2123
|
+
};
|
|
1653
2124
|
const de_StateMachineList = (output, context) => {
|
|
1654
2125
|
const retVal = (output || [])
|
|
1655
2126
|
.filter((e) => e != null)
|
|
@@ -1666,13 +2137,34 @@ const de_StateMachineListItem = (output, context) => {
|
|
|
1666
2137
|
type: __expectString,
|
|
1667
2138
|
});
|
|
1668
2139
|
};
|
|
2140
|
+
const de_StateMachineVersionList = (output, context) => {
|
|
2141
|
+
const retVal = (output || [])
|
|
2142
|
+
.filter((e) => e != null)
|
|
2143
|
+
.map((entry) => {
|
|
2144
|
+
return de_StateMachineVersionListItem(entry, context);
|
|
2145
|
+
});
|
|
2146
|
+
return retVal;
|
|
2147
|
+
};
|
|
2148
|
+
const de_StateMachineVersionListItem = (output, context) => {
|
|
2149
|
+
return take(output, {
|
|
2150
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2151
|
+
stateMachineVersionArn: __expectString,
|
|
2152
|
+
});
|
|
2153
|
+
};
|
|
1669
2154
|
const de_StopExecutionOutput = (output, context) => {
|
|
1670
2155
|
return take(output, {
|
|
1671
2156
|
stopDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1672
2157
|
});
|
|
1673
2158
|
};
|
|
2159
|
+
const de_UpdateStateMachineAliasOutput = (output, context) => {
|
|
2160
|
+
return take(output, {
|
|
2161
|
+
updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2162
|
+
});
|
|
2163
|
+
};
|
|
1674
2164
|
const de_UpdateStateMachineOutput = (output, context) => {
|
|
1675
2165
|
return take(output, {
|
|
2166
|
+
revisionId: __expectString,
|
|
2167
|
+
stateMachineVersionArn: __expectString,
|
|
1676
2168
|
updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1677
2169
|
});
|
|
1678
2170
|
};
|