@aws-sdk/client-sfn 3.357.0 → 3.358.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.
Files changed (71) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/SFN.js +16 -0
  3. package/dist-cjs/commands/CreateStateMachineAliasCommand.js +47 -0
  4. package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +47 -0
  7. package/dist-cjs/commands/ListStateMachineAliasesCommand.js +46 -0
  8. package/dist-cjs/commands/ListStateMachineVersionsCommand.js +46 -0
  9. package/dist-cjs/commands/PublishStateMachineVersionCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/endpoint/ruleset.js +3 -3
  13. package/dist-cjs/models/models_0.js +66 -16
  14. package/dist-cjs/protocols/Aws_json1_0.js +510 -2
  15. package/dist-es/SFN.js +16 -0
  16. package/dist-es/commands/CreateStateMachineAliasCommand.js +43 -0
  17. package/dist-es/commands/DeleteStateMachineAliasCommand.js +42 -0
  18. package/dist-es/commands/DeleteStateMachineVersionCommand.js +42 -0
  19. package/dist-es/commands/DescribeStateMachineAliasCommand.js +43 -0
  20. package/dist-es/commands/ListStateMachineAliasesCommand.js +42 -0
  21. package/dist-es/commands/ListStateMachineVersionsCommand.js +42 -0
  22. package/dist-es/commands/PublishStateMachineVersionCommand.js +43 -0
  23. package/dist-es/commands/UpdateStateMachineAliasCommand.js +43 -0
  24. package/dist-es/commands/index.js +8 -0
  25. package/dist-es/endpoint/ruleset.js +3 -3
  26. package/dist-es/models/models_0.js +57 -13
  27. package/dist-es/protocols/Aws_json1_0.js +493 -1
  28. package/dist-types/SFN.d.ts +56 -0
  29. package/dist-types/SFNClient.d.ts +10 -2
  30. package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +144 -0
  31. package/dist-types/commands/CreateStateMachineCommand.d.ts +14 -2
  32. package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +112 -0
  33. package/dist-types/commands/DeleteStateMachineCommand.d.ts +21 -6
  34. package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +106 -0
  35. package/dist-types/commands/DescribeExecutionCommand.d.ts +9 -2
  36. package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +117 -0
  38. package/dist-types/commands/DescribeStateMachineCommand.d.ts +33 -4
  39. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +7 -1
  40. package/dist-types/commands/GetActivityTaskCommand.d.ts +0 -2
  41. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +2 -0
  42. package/dist-types/commands/ListExecutionsCommand.d.ts +4 -2
  43. package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +124 -0
  44. package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +108 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  46. package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +122 -0
  47. package/dist-types/commands/StartExecutionCommand.d.ts +37 -9
  48. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  49. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  50. package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -2
  51. package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +132 -0
  52. package/dist-types/commands/UpdateStateMachineCommand.d.ts +49 -7
  53. package/dist-types/commands/index.d.ts +8 -0
  54. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  55. package/dist-types/models/models_0.d.ts +475 -36
  56. package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
  57. package/dist-types/ts3.4/SFN.d.ts +136 -0
  58. package/dist-types/ts3.4/SFNClient.d.ts +48 -0
  59. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  68. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  69. package/dist-types/ts3.4/models/models_0.d.ts +130 -14
  70. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  71. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachinesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = exports.de_ListActivitiesCommand = exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachinesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0;
4
- exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = void 0;
3
+ exports.de_ListActivitiesCommand = exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineAliasCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineVersionCommand = exports.de_DeleteStateMachineAliasCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineAliasCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineAliasCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_PublishStateMachineVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachineVersionsCommand = exports.se_ListStateMachinesCommand = exports.se_ListStateMachineAliasesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineAliasCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineVersionCommand = exports.se_DeleteStateMachineAliasCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineAliasCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0;
4
+ exports.de_UpdateStateMachineAliasCommand = exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_PublishStateMachineVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachineVersionsCommand = exports.de_ListStateMachinesCommand = exports.de_ListStateMachineAliasesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const models_0_1 = require("../models/models_0");
@@ -20,6 +20,13 @@ const se_CreateStateMachineCommand = async (input, context) => {
20
20
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
21
21
  };
22
22
  exports.se_CreateStateMachineCommand = se_CreateStateMachineCommand;
23
+ const se_CreateStateMachineAliasCommand = async (input, context) => {
24
+ const headers = sharedHeaders("CreateStateMachineAlias");
25
+ let body;
26
+ body = JSON.stringify((0, smithy_client_1._json)(input));
27
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
28
+ };
29
+ exports.se_CreateStateMachineAliasCommand = se_CreateStateMachineAliasCommand;
23
30
  const se_DeleteActivityCommand = async (input, context) => {
24
31
  const headers = sharedHeaders("DeleteActivity");
25
32
  let body;
@@ -34,6 +41,20 @@ const se_DeleteStateMachineCommand = async (input, context) => {
34
41
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
35
42
  };
36
43
  exports.se_DeleteStateMachineCommand = se_DeleteStateMachineCommand;
44
+ const se_DeleteStateMachineAliasCommand = async (input, context) => {
45
+ const headers = sharedHeaders("DeleteStateMachineAlias");
46
+ let body;
47
+ body = JSON.stringify((0, smithy_client_1._json)(input));
48
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
+ };
50
+ exports.se_DeleteStateMachineAliasCommand = se_DeleteStateMachineAliasCommand;
51
+ const se_DeleteStateMachineVersionCommand = async (input, context) => {
52
+ const headers = sharedHeaders("DeleteStateMachineVersion");
53
+ let body;
54
+ body = JSON.stringify((0, smithy_client_1._json)(input));
55
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
56
+ };
57
+ exports.se_DeleteStateMachineVersionCommand = se_DeleteStateMachineVersionCommand;
37
58
  const se_DescribeActivityCommand = async (input, context) => {
38
59
  const headers = sharedHeaders("DescribeActivity");
39
60
  let body;
@@ -62,6 +83,13 @@ const se_DescribeStateMachineCommand = async (input, context) => {
62
83
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
63
84
  };
64
85
  exports.se_DescribeStateMachineCommand = se_DescribeStateMachineCommand;
86
+ const se_DescribeStateMachineAliasCommand = async (input, context) => {
87
+ const headers = sharedHeaders("DescribeStateMachineAlias");
88
+ let body;
89
+ body = JSON.stringify((0, smithy_client_1._json)(input));
90
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
91
+ };
92
+ exports.se_DescribeStateMachineAliasCommand = se_DescribeStateMachineAliasCommand;
65
93
  const se_DescribeStateMachineForExecutionCommand = async (input, context) => {
66
94
  const headers = sharedHeaders("DescribeStateMachineForExecution");
67
95
  let body;
@@ -104,6 +132,13 @@ const se_ListMapRunsCommand = async (input, context) => {
104
132
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
105
133
  };
106
134
  exports.se_ListMapRunsCommand = se_ListMapRunsCommand;
135
+ const se_ListStateMachineAliasesCommand = async (input, context) => {
136
+ const headers = sharedHeaders("ListStateMachineAliases");
137
+ let body;
138
+ body = JSON.stringify((0, smithy_client_1._json)(input));
139
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
140
+ };
141
+ exports.se_ListStateMachineAliasesCommand = se_ListStateMachineAliasesCommand;
107
142
  const se_ListStateMachinesCommand = async (input, context) => {
108
143
  const headers = sharedHeaders("ListStateMachines");
109
144
  let body;
@@ -111,6 +146,13 @@ const se_ListStateMachinesCommand = async (input, context) => {
111
146
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
147
  };
113
148
  exports.se_ListStateMachinesCommand = se_ListStateMachinesCommand;
149
+ const se_ListStateMachineVersionsCommand = async (input, context) => {
150
+ const headers = sharedHeaders("ListStateMachineVersions");
151
+ let body;
152
+ body = JSON.stringify((0, smithy_client_1._json)(input));
153
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
154
+ };
155
+ exports.se_ListStateMachineVersionsCommand = se_ListStateMachineVersionsCommand;
114
156
  const se_ListTagsForResourceCommand = async (input, context) => {
115
157
  const headers = sharedHeaders("ListTagsForResource");
116
158
  let body;
@@ -118,6 +160,13 @@ const se_ListTagsForResourceCommand = async (input, context) => {
118
160
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
161
  };
120
162
  exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
163
+ const se_PublishStateMachineVersionCommand = async (input, context) => {
164
+ const headers = sharedHeaders("PublishStateMachineVersion");
165
+ let body;
166
+ body = JSON.stringify((0, smithy_client_1._json)(input));
167
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
168
+ };
169
+ exports.se_PublishStateMachineVersionCommand = se_PublishStateMachineVersionCommand;
121
170
  const se_SendTaskFailureCommand = async (input, context) => {
122
171
  const headers = sharedHeaders("SendTaskFailure");
123
172
  let body;
@@ -195,6 +244,13 @@ const se_UpdateStateMachineCommand = async (input, context) => {
195
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
196
245
  };
197
246
  exports.se_UpdateStateMachineCommand = se_UpdateStateMachineCommand;
247
+ const se_UpdateStateMachineAliasCommand = async (input, context) => {
248
+ const headers = sharedHeaders("UpdateStateMachineAlias");
249
+ let body;
250
+ body = JSON.stringify((0, smithy_client_1._json)(input));
251
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
252
+ };
253
+ exports.se_UpdateStateMachineAliasCommand = se_UpdateStateMachineAliasCommand;
198
254
  const de_CreateActivityCommand = async (output, context) => {
199
255
  if (output.statusCode >= 300) {
200
256
  return de_CreateActivityCommandError(output, context);
@@ -255,6 +311,9 @@ const de_CreateStateMachineCommandError = async (output, context) => {
255
311
  };
256
312
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
257
313
  switch (errorCode) {
314
+ case "ConflictException":
315
+ case "com.amazonaws.sfn#ConflictException":
316
+ throw await de_ConflictExceptionRes(parsedOutput, context);
258
317
  case "InvalidArn":
259
318
  case "com.amazonaws.sfn#InvalidArn":
260
319
  throw await de_InvalidArnRes(parsedOutput, context);
@@ -285,6 +344,60 @@ const de_CreateStateMachineCommandError = async (output, context) => {
285
344
  case "TooManyTags":
286
345
  case "com.amazonaws.sfn#TooManyTags":
287
346
  throw await de_TooManyTagsRes(parsedOutput, context);
347
+ case "ValidationException":
348
+ case "com.amazonaws.sfn#ValidationException":
349
+ throw await de_ValidationExceptionRes(parsedOutput, context);
350
+ default:
351
+ const parsedBody = parsedOutput.body;
352
+ return throwDefaultError({
353
+ output,
354
+ parsedBody,
355
+ errorCode,
356
+ });
357
+ }
358
+ };
359
+ const de_CreateStateMachineAliasCommand = async (output, context) => {
360
+ if (output.statusCode >= 300) {
361
+ return de_CreateStateMachineAliasCommandError(output, context);
362
+ }
363
+ const data = await parseBody(output.body, context);
364
+ let contents = {};
365
+ contents = de_CreateStateMachineAliasOutput(data, context);
366
+ const response = {
367
+ $metadata: deserializeMetadata(output),
368
+ ...contents,
369
+ };
370
+ return response;
371
+ };
372
+ exports.de_CreateStateMachineAliasCommand = de_CreateStateMachineAliasCommand;
373
+ const de_CreateStateMachineAliasCommandError = async (output, context) => {
374
+ const parsedOutput = {
375
+ ...output,
376
+ body: await parseErrorBody(output.body, context),
377
+ };
378
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
379
+ switch (errorCode) {
380
+ case "ConflictException":
381
+ case "com.amazonaws.sfn#ConflictException":
382
+ throw await de_ConflictExceptionRes(parsedOutput, context);
383
+ case "InvalidArn":
384
+ case "com.amazonaws.sfn#InvalidArn":
385
+ throw await de_InvalidArnRes(parsedOutput, context);
386
+ case "InvalidName":
387
+ case "com.amazonaws.sfn#InvalidName":
388
+ throw await de_InvalidNameRes(parsedOutput, context);
389
+ case "ResourceNotFound":
390
+ case "com.amazonaws.sfn#ResourceNotFound":
391
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
392
+ case "ServiceQuotaExceededException":
393
+ case "com.amazonaws.sfn#ServiceQuotaExceededException":
394
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
395
+ case "StateMachineDeleting":
396
+ case "com.amazonaws.sfn#StateMachineDeleting":
397
+ throw await de_StateMachineDeletingRes(parsedOutput, context);
398
+ case "ValidationException":
399
+ case "com.amazonaws.sfn#ValidationException":
400
+ throw await de_ValidationExceptionRes(parsedOutput, context);
288
401
  default:
289
402
  const parsedBody = parsedOutput.body;
290
403
  return throwDefaultError({
@@ -363,6 +476,87 @@ const de_DeleteStateMachineCommandError = async (output, context) => {
363
476
  });
364
477
  }
365
478
  };
479
+ const de_DeleteStateMachineAliasCommand = async (output, context) => {
480
+ if (output.statusCode >= 300) {
481
+ return de_DeleteStateMachineAliasCommandError(output, context);
482
+ }
483
+ const data = await parseBody(output.body, context);
484
+ let contents = {};
485
+ contents = (0, smithy_client_1._json)(data);
486
+ const response = {
487
+ $metadata: deserializeMetadata(output),
488
+ ...contents,
489
+ };
490
+ return response;
491
+ };
492
+ exports.de_DeleteStateMachineAliasCommand = de_DeleteStateMachineAliasCommand;
493
+ const de_DeleteStateMachineAliasCommandError = async (output, context) => {
494
+ const parsedOutput = {
495
+ ...output,
496
+ body: await parseErrorBody(output.body, context),
497
+ };
498
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
499
+ switch (errorCode) {
500
+ case "ConflictException":
501
+ case "com.amazonaws.sfn#ConflictException":
502
+ throw await de_ConflictExceptionRes(parsedOutput, context);
503
+ case "InvalidArn":
504
+ case "com.amazonaws.sfn#InvalidArn":
505
+ throw await de_InvalidArnRes(parsedOutput, context);
506
+ case "ResourceNotFound":
507
+ case "com.amazonaws.sfn#ResourceNotFound":
508
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
509
+ case "ValidationException":
510
+ case "com.amazonaws.sfn#ValidationException":
511
+ throw await de_ValidationExceptionRes(parsedOutput, context);
512
+ default:
513
+ const parsedBody = parsedOutput.body;
514
+ return throwDefaultError({
515
+ output,
516
+ parsedBody,
517
+ errorCode,
518
+ });
519
+ }
520
+ };
521
+ const de_DeleteStateMachineVersionCommand = async (output, context) => {
522
+ if (output.statusCode >= 300) {
523
+ return de_DeleteStateMachineVersionCommandError(output, context);
524
+ }
525
+ const data = await parseBody(output.body, context);
526
+ let contents = {};
527
+ contents = (0, smithy_client_1._json)(data);
528
+ const response = {
529
+ $metadata: deserializeMetadata(output),
530
+ ...contents,
531
+ };
532
+ return response;
533
+ };
534
+ exports.de_DeleteStateMachineVersionCommand = de_DeleteStateMachineVersionCommand;
535
+ const de_DeleteStateMachineVersionCommandError = async (output, context) => {
536
+ const parsedOutput = {
537
+ ...output,
538
+ body: await parseErrorBody(output.body, context),
539
+ };
540
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
541
+ switch (errorCode) {
542
+ case "ConflictException":
543
+ case "com.amazonaws.sfn#ConflictException":
544
+ throw await de_ConflictExceptionRes(parsedOutput, context);
545
+ case "InvalidArn":
546
+ case "com.amazonaws.sfn#InvalidArn":
547
+ throw await de_InvalidArnRes(parsedOutput, context);
548
+ case "ValidationException":
549
+ case "com.amazonaws.sfn#ValidationException":
550
+ throw await de_ValidationExceptionRes(parsedOutput, context);
551
+ default:
552
+ const parsedBody = parsedOutput.body;
553
+ return throwDefaultError({
554
+ output,
555
+ parsedBody,
556
+ errorCode,
557
+ });
558
+ }
559
+ };
366
560
  const de_DescribeActivityCommand = async (output, context) => {
367
561
  if (output.statusCode >= 300) {
368
562
  return de_DescribeActivityCommandError(output, context);
@@ -507,6 +701,45 @@ const de_DescribeStateMachineCommandError = async (output, context) => {
507
701
  });
508
702
  }
509
703
  };
704
+ const de_DescribeStateMachineAliasCommand = async (output, context) => {
705
+ if (output.statusCode >= 300) {
706
+ return de_DescribeStateMachineAliasCommandError(output, context);
707
+ }
708
+ const data = await parseBody(output.body, context);
709
+ let contents = {};
710
+ contents = de_DescribeStateMachineAliasOutput(data, context);
711
+ const response = {
712
+ $metadata: deserializeMetadata(output),
713
+ ...contents,
714
+ };
715
+ return response;
716
+ };
717
+ exports.de_DescribeStateMachineAliasCommand = de_DescribeStateMachineAliasCommand;
718
+ const de_DescribeStateMachineAliasCommandError = async (output, context) => {
719
+ const parsedOutput = {
720
+ ...output,
721
+ body: await parseErrorBody(output.body, context),
722
+ };
723
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
724
+ switch (errorCode) {
725
+ case "InvalidArn":
726
+ case "com.amazonaws.sfn#InvalidArn":
727
+ throw await de_InvalidArnRes(parsedOutput, context);
728
+ case "ResourceNotFound":
729
+ case "com.amazonaws.sfn#ResourceNotFound":
730
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
731
+ case "ValidationException":
732
+ case "com.amazonaws.sfn#ValidationException":
733
+ throw await de_ValidationExceptionRes(parsedOutput, context);
734
+ default:
735
+ const parsedBody = parsedOutput.body;
736
+ return throwDefaultError({
737
+ output,
738
+ parsedBody,
739
+ errorCode,
740
+ });
741
+ }
742
+ };
510
743
  const de_DescribeStateMachineForExecutionCommand = async (output, context) => {
511
744
  if (output.statusCode >= 300) {
512
745
  return de_DescribeStateMachineForExecutionCommandError(output, context);
@@ -741,6 +974,51 @@ const de_ListMapRunsCommandError = async (output, context) => {
741
974
  });
742
975
  }
743
976
  };
977
+ const de_ListStateMachineAliasesCommand = async (output, context) => {
978
+ if (output.statusCode >= 300) {
979
+ return de_ListStateMachineAliasesCommandError(output, context);
980
+ }
981
+ const data = await parseBody(output.body, context);
982
+ let contents = {};
983
+ contents = de_ListStateMachineAliasesOutput(data, context);
984
+ const response = {
985
+ $metadata: deserializeMetadata(output),
986
+ ...contents,
987
+ };
988
+ return response;
989
+ };
990
+ exports.de_ListStateMachineAliasesCommand = de_ListStateMachineAliasesCommand;
991
+ const de_ListStateMachineAliasesCommandError = async (output, context) => {
992
+ const parsedOutput = {
993
+ ...output,
994
+ body: await parseErrorBody(output.body, context),
995
+ };
996
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
997
+ switch (errorCode) {
998
+ case "InvalidArn":
999
+ case "com.amazonaws.sfn#InvalidArn":
1000
+ throw await de_InvalidArnRes(parsedOutput, context);
1001
+ case "InvalidToken":
1002
+ case "com.amazonaws.sfn#InvalidToken":
1003
+ throw await de_InvalidTokenRes(parsedOutput, context);
1004
+ case "ResourceNotFound":
1005
+ case "com.amazonaws.sfn#ResourceNotFound":
1006
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
1007
+ case "StateMachineDeleting":
1008
+ case "com.amazonaws.sfn#StateMachineDeleting":
1009
+ throw await de_StateMachineDeletingRes(parsedOutput, context);
1010
+ case "StateMachineDoesNotExist":
1011
+ case "com.amazonaws.sfn#StateMachineDoesNotExist":
1012
+ throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
1013
+ default:
1014
+ const parsedBody = parsedOutput.body;
1015
+ return throwDefaultError({
1016
+ output,
1017
+ parsedBody,
1018
+ errorCode,
1019
+ });
1020
+ }
1021
+ };
744
1022
  const de_ListStateMachinesCommand = async (output, context) => {
745
1023
  if (output.statusCode >= 300) {
746
1024
  return de_ListStateMachinesCommandError(output, context);
@@ -774,6 +1052,45 @@ const de_ListStateMachinesCommandError = async (output, context) => {
774
1052
  });
775
1053
  }
776
1054
  };
1055
+ const de_ListStateMachineVersionsCommand = async (output, context) => {
1056
+ if (output.statusCode >= 300) {
1057
+ return de_ListStateMachineVersionsCommandError(output, context);
1058
+ }
1059
+ const data = await parseBody(output.body, context);
1060
+ let contents = {};
1061
+ contents = de_ListStateMachineVersionsOutput(data, context);
1062
+ const response = {
1063
+ $metadata: deserializeMetadata(output),
1064
+ ...contents,
1065
+ };
1066
+ return response;
1067
+ };
1068
+ exports.de_ListStateMachineVersionsCommand = de_ListStateMachineVersionsCommand;
1069
+ const de_ListStateMachineVersionsCommandError = async (output, context) => {
1070
+ const parsedOutput = {
1071
+ ...output,
1072
+ body: await parseErrorBody(output.body, context),
1073
+ };
1074
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1075
+ switch (errorCode) {
1076
+ case "InvalidArn":
1077
+ case "com.amazonaws.sfn#InvalidArn":
1078
+ throw await de_InvalidArnRes(parsedOutput, context);
1079
+ case "InvalidToken":
1080
+ case "com.amazonaws.sfn#InvalidToken":
1081
+ throw await de_InvalidTokenRes(parsedOutput, context);
1082
+ case "ValidationException":
1083
+ case "com.amazonaws.sfn#ValidationException":
1084
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1085
+ default:
1086
+ const parsedBody = parsedOutput.body;
1087
+ return throwDefaultError({
1088
+ output,
1089
+ parsedBody,
1090
+ errorCode,
1091
+ });
1092
+ }
1093
+ };
777
1094
  const de_ListTagsForResourceCommand = async (output, context) => {
778
1095
  if (output.statusCode >= 300) {
779
1096
  return de_ListTagsForResourceCommandError(output, context);
@@ -810,6 +1127,54 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
810
1127
  });
811
1128
  }
812
1129
  };
1130
+ const de_PublishStateMachineVersionCommand = async (output, context) => {
1131
+ if (output.statusCode >= 300) {
1132
+ return de_PublishStateMachineVersionCommandError(output, context);
1133
+ }
1134
+ const data = await parseBody(output.body, context);
1135
+ let contents = {};
1136
+ contents = de_PublishStateMachineVersionOutput(data, context);
1137
+ const response = {
1138
+ $metadata: deserializeMetadata(output),
1139
+ ...contents,
1140
+ };
1141
+ return response;
1142
+ };
1143
+ exports.de_PublishStateMachineVersionCommand = de_PublishStateMachineVersionCommand;
1144
+ const de_PublishStateMachineVersionCommandError = async (output, context) => {
1145
+ const parsedOutput = {
1146
+ ...output,
1147
+ body: await parseErrorBody(output.body, context),
1148
+ };
1149
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1150
+ switch (errorCode) {
1151
+ case "ConflictException":
1152
+ case "com.amazonaws.sfn#ConflictException":
1153
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1154
+ case "InvalidArn":
1155
+ case "com.amazonaws.sfn#InvalidArn":
1156
+ throw await de_InvalidArnRes(parsedOutput, context);
1157
+ case "ServiceQuotaExceededException":
1158
+ case "com.amazonaws.sfn#ServiceQuotaExceededException":
1159
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1160
+ case "StateMachineDeleting":
1161
+ case "com.amazonaws.sfn#StateMachineDeleting":
1162
+ throw await de_StateMachineDeletingRes(parsedOutput, context);
1163
+ case "StateMachineDoesNotExist":
1164
+ case "com.amazonaws.sfn#StateMachineDoesNotExist":
1165
+ throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
1166
+ case "ValidationException":
1167
+ case "com.amazonaws.sfn#ValidationException":
1168
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1169
+ default:
1170
+ const parsedBody = parsedOutput.body;
1171
+ return throwDefaultError({
1172
+ output,
1173
+ parsedBody,
1174
+ errorCode,
1175
+ });
1176
+ }
1177
+ };
813
1178
  const de_SendTaskFailureCommand = async (output, context) => {
814
1179
  if (output.statusCode >= 300) {
815
1180
  return de_SendTaskFailureCommandError(output, context);
@@ -1206,6 +1571,9 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
1206
1571
  };
1207
1572
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1208
1573
  switch (errorCode) {
1574
+ case "ConflictException":
1575
+ case "com.amazonaws.sfn#ConflictException":
1576
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1209
1577
  case "InvalidArn":
1210
1578
  case "com.amazonaws.sfn#InvalidArn":
1211
1579
  throw await de_InvalidArnRes(parsedOutput, context);
@@ -1221,6 +1589,9 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
1221
1589
  case "MissingRequiredParameter":
1222
1590
  case "com.amazonaws.sfn#MissingRequiredParameter":
1223
1591
  throw await de_MissingRequiredParameterRes(parsedOutput, context);
1592
+ case "ServiceQuotaExceededException":
1593
+ case "com.amazonaws.sfn#ServiceQuotaExceededException":
1594
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1224
1595
  case "StateMachineDeleting":
1225
1596
  case "com.amazonaws.sfn#StateMachineDeleting":
1226
1597
  throw await de_StateMachineDeletingRes(parsedOutput, context);
@@ -1239,6 +1610,48 @@ const de_UpdateStateMachineCommandError = async (output, context) => {
1239
1610
  });
1240
1611
  }
1241
1612
  };
1613
+ const de_UpdateStateMachineAliasCommand = async (output, context) => {
1614
+ if (output.statusCode >= 300) {
1615
+ return de_UpdateStateMachineAliasCommandError(output, context);
1616
+ }
1617
+ const data = await parseBody(output.body, context);
1618
+ let contents = {};
1619
+ contents = de_UpdateStateMachineAliasOutput(data, context);
1620
+ const response = {
1621
+ $metadata: deserializeMetadata(output),
1622
+ ...contents,
1623
+ };
1624
+ return response;
1625
+ };
1626
+ exports.de_UpdateStateMachineAliasCommand = de_UpdateStateMachineAliasCommand;
1627
+ const de_UpdateStateMachineAliasCommandError = async (output, context) => {
1628
+ const parsedOutput = {
1629
+ ...output,
1630
+ body: await parseErrorBody(output.body, context),
1631
+ };
1632
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1633
+ switch (errorCode) {
1634
+ case "ConflictException":
1635
+ case "com.amazonaws.sfn#ConflictException":
1636
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1637
+ case "InvalidArn":
1638
+ case "com.amazonaws.sfn#InvalidArn":
1639
+ throw await de_InvalidArnRes(parsedOutput, context);
1640
+ case "ResourceNotFound":
1641
+ case "com.amazonaws.sfn#ResourceNotFound":
1642
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
1643
+ case "ValidationException":
1644
+ case "com.amazonaws.sfn#ValidationException":
1645
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1646
+ default:
1647
+ const parsedBody = parsedOutput.body;
1648
+ return throwDefaultError({
1649
+ output,
1650
+ parsedBody,
1651
+ errorCode,
1652
+ });
1653
+ }
1654
+ };
1242
1655
  const de_ActivityDoesNotExistRes = async (parsedOutput, context) => {
1243
1656
  const body = parsedOutput.body;
1244
1657
  const deserialized = (0, smithy_client_1._json)(body);
@@ -1266,6 +1679,15 @@ const de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => {
1266
1679
  });
1267
1680
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1268
1681
  };
1682
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1683
+ const body = parsedOutput.body;
1684
+ const deserialized = (0, smithy_client_1._json)(body);
1685
+ const exception = new models_0_1.ConflictException({
1686
+ $metadata: deserializeMetadata(parsedOutput),
1687
+ ...deserialized,
1688
+ });
1689
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1690
+ };
1269
1691
  const de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => {
1270
1692
  const body = parsedOutput.body;
1271
1693
  const deserialized = (0, smithy_client_1._json)(body);
@@ -1383,6 +1805,15 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
1383
1805
  });
1384
1806
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1385
1807
  };
1808
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1809
+ const body = parsedOutput.body;
1810
+ const deserialized = (0, smithy_client_1._json)(body);
1811
+ const exception = new models_0_1.ServiceQuotaExceededException({
1812
+ $metadata: deserializeMetadata(parsedOutput),
1813
+ ...deserialized,
1814
+ });
1815
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1816
+ };
1386
1817
  const de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => {
1387
1818
  const body = parsedOutput.body;
1388
1819
  const deserialized = (0, smithy_client_1._json)(body);
@@ -1493,10 +1924,17 @@ const de_CreateActivityOutput = (output, context) => {
1493
1924
  creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1494
1925
  });
1495
1926
  };
1927
+ const de_CreateStateMachineAliasOutput = (output, context) => {
1928
+ return (0, smithy_client_1.take)(output, {
1929
+ creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1930
+ stateMachineAliasArn: smithy_client_1.expectString,
1931
+ });
1932
+ };
1496
1933
  const de_CreateStateMachineOutput = (output, context) => {
1497
1934
  return (0, smithy_client_1.take)(output, {
1498
1935
  creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1499
1936
  stateMachineArn: smithy_client_1.expectString,
1937
+ stateMachineVersionArn: smithy_client_1.expectString,
1500
1938
  });
1501
1939
  };
1502
1940
  const de_DescribeActivityOutput = (output, context) => {
@@ -1518,7 +1956,9 @@ const de_DescribeExecutionOutput = (output, context) => {
1518
1956
  output: smithy_client_1.expectString,
1519
1957
  outputDetails: smithy_client_1._json,
1520
1958
  startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1959
+ stateMachineAliasArn: smithy_client_1.expectString,
1521
1960
  stateMachineArn: smithy_client_1.expectString,
1961
+ stateMachineVersionArn: smithy_client_1.expectString,
1522
1962
  status: smithy_client_1.expectString,
1523
1963
  stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1524
1964
  traceHeader: smithy_client_1.expectString,
@@ -1538,6 +1978,16 @@ const de_DescribeMapRunOutput = (output, context) => {
1538
1978
  toleratedFailurePercentage: smithy_client_1.limitedParseFloat32,
1539
1979
  });
1540
1980
  };
1981
+ const de_DescribeStateMachineAliasOutput = (output, context) => {
1982
+ return (0, smithy_client_1.take)(output, {
1983
+ creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1984
+ description: smithy_client_1.expectString,
1985
+ name: smithy_client_1.expectString,
1986
+ routingConfiguration: smithy_client_1._json,
1987
+ stateMachineAliasArn: smithy_client_1.expectString,
1988
+ updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1989
+ });
1990
+ };
1541
1991
  const de_DescribeStateMachineForExecutionOutput = (output, context) => {
1542
1992
  return (0, smithy_client_1.take)(output, {
1543
1993
  definition: smithy_client_1.expectString,
@@ -1545,6 +1995,7 @@ const de_DescribeStateMachineForExecutionOutput = (output, context) => {
1545
1995
  loggingConfiguration: smithy_client_1._json,
1546
1996
  mapRunArn: smithy_client_1.expectString,
1547
1997
  name: smithy_client_1.expectString,
1998
+ revisionId: smithy_client_1.expectString,
1548
1999
  roleArn: smithy_client_1.expectString,
1549
2000
  stateMachineArn: smithy_client_1.expectString,
1550
2001
  tracingConfiguration: smithy_client_1._json,
@@ -1555,9 +2006,11 @@ const de_DescribeStateMachineOutput = (output, context) => {
1555
2006
  return (0, smithy_client_1.take)(output, {
1556
2007
  creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1557
2008
  definition: smithy_client_1.expectString,
2009
+ description: smithy_client_1.expectString,
1558
2010
  label: smithy_client_1.expectString,
1559
2011
  loggingConfiguration: smithy_client_1._json,
1560
2012
  name: smithy_client_1.expectString,
2013
+ revisionId: smithy_client_1.expectString,
1561
2014
  roleArn: smithy_client_1.expectString,
1562
2015
  stateMachineArn: smithy_client_1.expectString,
1563
2016
  status: smithy_client_1.expectString,
@@ -1580,7 +2033,9 @@ const de_ExecutionListItem = (output, context) => {
1580
2033
  mapRunArn: smithy_client_1.expectString,
1581
2034
  name: smithy_client_1.expectString,
1582
2035
  startDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2036
+ stateMachineAliasArn: smithy_client_1.expectString,
1583
2037
  stateMachineArn: smithy_client_1.expectString,
2038
+ stateMachineVersionArn: smithy_client_1.expectString,
1584
2039
  status: smithy_client_1.expectString,
1585
2040
  stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1586
2041
  });
@@ -1659,12 +2114,24 @@ const de_ListMapRunsOutput = (output, context) => {
1659
2114
  nextToken: smithy_client_1.expectString,
1660
2115
  });
1661
2116
  };
2117
+ const de_ListStateMachineAliasesOutput = (output, context) => {
2118
+ return (0, smithy_client_1.take)(output, {
2119
+ nextToken: smithy_client_1.expectString,
2120
+ stateMachineAliases: (_) => de_StateMachineAliasList(_, context),
2121
+ });
2122
+ };
1662
2123
  const de_ListStateMachinesOutput = (output, context) => {
1663
2124
  return (0, smithy_client_1.take)(output, {
1664
2125
  nextToken: smithy_client_1.expectString,
1665
2126
  stateMachines: (_) => de_StateMachineList(_, context),
1666
2127
  });
1667
2128
  };
2129
+ const de_ListStateMachineVersionsOutput = (output, context) => {
2130
+ return (0, smithy_client_1.take)(output, {
2131
+ nextToken: smithy_client_1.expectString,
2132
+ stateMachineVersions: (_) => de_StateMachineVersionList(_, context),
2133
+ });
2134
+ };
1668
2135
  const de_MapRunList = (output, context) => {
1669
2136
  const retVal = (output || [])
1670
2137
  .filter((e) => e != null)
@@ -1682,6 +2149,12 @@ const de_MapRunListItem = (output, context) => {
1682
2149
  stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1683
2150
  });
1684
2151
  };
2152
+ const de_PublishStateMachineVersionOutput = (output, context) => {
2153
+ return (0, smithy_client_1.take)(output, {
2154
+ creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2155
+ stateMachineVersionArn: smithy_client_1.expectString,
2156
+ });
2157
+ };
1685
2158
  const de_StartExecutionOutput = (output, context) => {
1686
2159
  return (0, smithy_client_1.take)(output, {
1687
2160
  executionArn: smithy_client_1.expectString,
@@ -1706,6 +2179,20 @@ const de_StartSyncExecutionOutput = (output, context) => {
1706
2179
  traceHeader: smithy_client_1.expectString,
1707
2180
  });
1708
2181
  };
2182
+ const de_StateMachineAliasList = (output, context) => {
2183
+ const retVal = (output || [])
2184
+ .filter((e) => e != null)
2185
+ .map((entry) => {
2186
+ return de_StateMachineAliasListItem(entry, context);
2187
+ });
2188
+ return retVal;
2189
+ };
2190
+ const de_StateMachineAliasListItem = (output, context) => {
2191
+ return (0, smithy_client_1.take)(output, {
2192
+ creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2193
+ stateMachineAliasArn: smithy_client_1.expectString,
2194
+ });
2195
+ };
1709
2196
  const de_StateMachineList = (output, context) => {
1710
2197
  const retVal = (output || [])
1711
2198
  .filter((e) => e != null)
@@ -1722,13 +2209,34 @@ const de_StateMachineListItem = (output, context) => {
1722
2209
  type: smithy_client_1.expectString,
1723
2210
  });
1724
2211
  };
2212
+ const de_StateMachineVersionList = (output, context) => {
2213
+ const retVal = (output || [])
2214
+ .filter((e) => e != null)
2215
+ .map((entry) => {
2216
+ return de_StateMachineVersionListItem(entry, context);
2217
+ });
2218
+ return retVal;
2219
+ };
2220
+ const de_StateMachineVersionListItem = (output, context) => {
2221
+ return (0, smithy_client_1.take)(output, {
2222
+ creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2223
+ stateMachineVersionArn: smithy_client_1.expectString,
2224
+ });
2225
+ };
1725
2226
  const de_StopExecutionOutput = (output, context) => {
1726
2227
  return (0, smithy_client_1.take)(output, {
1727
2228
  stopDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1728
2229
  });
1729
2230
  };
2231
+ const de_UpdateStateMachineAliasOutput = (output, context) => {
2232
+ return (0, smithy_client_1.take)(output, {
2233
+ updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2234
+ });
2235
+ };
1730
2236
  const de_UpdateStateMachineOutput = (output, context) => {
1731
2237
  return (0, smithy_client_1.take)(output, {
2238
+ revisionId: smithy_client_1.expectString,
2239
+ stateMachineVersionArn: smithy_client_1.expectString,
1732
2240
  updateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1733
2241
  });
1734
2242
  };