@aws-sdk/client-swf 3.306.0 → 3.309.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 (79) hide show
  1. package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +2 -2
  2. package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +2 -2
  3. package/dist-cjs/commands/CountPendingActivityTasksCommand.js +2 -2
  4. package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +2 -2
  5. package/dist-cjs/commands/DeprecateActivityTypeCommand.js +2 -2
  6. package/dist-cjs/commands/DeprecateDomainCommand.js +2 -2
  7. package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeActivityTypeCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeDomainCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +2 -2
  12. package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +2 -2
  13. package/dist-cjs/commands/ListActivityTypesCommand.js +2 -2
  14. package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +2 -2
  15. package/dist-cjs/commands/ListDomainsCommand.js +2 -2
  16. package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +2 -2
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  18. package/dist-cjs/commands/ListWorkflowTypesCommand.js +2 -2
  19. package/dist-cjs/commands/PollForActivityTaskCommand.js +2 -2
  20. package/dist-cjs/commands/PollForDecisionTaskCommand.js +2 -2
  21. package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +2 -2
  22. package/dist-cjs/commands/RegisterActivityTypeCommand.js +2 -2
  23. package/dist-cjs/commands/RegisterDomainCommand.js +2 -2
  24. package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +2 -2
  25. package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +2 -2
  26. package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +2 -2
  27. package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +2 -2
  28. package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +2 -2
  29. package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +2 -2
  30. package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +2 -2
  31. package/dist-cjs/commands/StartWorkflowExecutionCommand.js +2 -2
  32. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  33. package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +2 -2
  34. package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +2 -2
  35. package/dist-cjs/commands/UndeprecateDomainCommand.js +2 -2
  36. package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +2 -2
  37. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  38. package/dist-cjs/protocols/Aws_json1_0.js +745 -793
  39. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +3 -3
  40. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +3 -3
  41. package/dist-es/commands/CountPendingActivityTasksCommand.js +3 -3
  42. package/dist-es/commands/CountPendingDecisionTasksCommand.js +3 -3
  43. package/dist-es/commands/DeprecateActivityTypeCommand.js +3 -3
  44. package/dist-es/commands/DeprecateDomainCommand.js +3 -3
  45. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +3 -3
  46. package/dist-es/commands/DescribeActivityTypeCommand.js +3 -3
  47. package/dist-es/commands/DescribeDomainCommand.js +3 -3
  48. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +3 -3
  49. package/dist-es/commands/DescribeWorkflowTypeCommand.js +3 -3
  50. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +3 -3
  51. package/dist-es/commands/ListActivityTypesCommand.js +3 -3
  52. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +3 -3
  53. package/dist-es/commands/ListDomainsCommand.js +3 -3
  54. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +3 -3
  55. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  56. package/dist-es/commands/ListWorkflowTypesCommand.js +3 -3
  57. package/dist-es/commands/PollForActivityTaskCommand.js +3 -3
  58. package/dist-es/commands/PollForDecisionTaskCommand.js +3 -3
  59. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +3 -3
  60. package/dist-es/commands/RegisterActivityTypeCommand.js +3 -3
  61. package/dist-es/commands/RegisterDomainCommand.js +3 -3
  62. package/dist-es/commands/RegisterWorkflowTypeCommand.js +3 -3
  63. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +3 -3
  64. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +3 -3
  65. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +3 -3
  66. package/dist-es/commands/RespondActivityTaskFailedCommand.js +3 -3
  67. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +3 -3
  68. package/dist-es/commands/SignalWorkflowExecutionCommand.js +3 -3
  69. package/dist-es/commands/StartWorkflowExecutionCommand.js +3 -3
  70. package/dist-es/commands/TagResourceCommand.js +3 -3
  71. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +3 -3
  72. package/dist-es/commands/UndeprecateActivityTypeCommand.js +3 -3
  73. package/dist-es/commands/UndeprecateDomainCommand.js +3 -3
  74. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +3 -3
  75. package/dist-es/commands/UntagResourceCommand.js +3 -3
  76. package/dist-es/protocols/Aws_json1_0.js +669 -717
  77. package/dist-types/protocols/Aws_json1_0.d.ts +296 -74
  78. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +74 -74
  79. package/package.json +6 -6
@@ -1,396 +1,396 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_0ListActivityTypesCommand = exports.deserializeAws_json1_0GetWorkflowExecutionHistoryCommand = exports.deserializeAws_json1_0DescribeWorkflowTypeCommand = exports.deserializeAws_json1_0DescribeWorkflowExecutionCommand = exports.deserializeAws_json1_0DescribeDomainCommand = exports.deserializeAws_json1_0DescribeActivityTypeCommand = exports.deserializeAws_json1_0DeprecateWorkflowTypeCommand = exports.deserializeAws_json1_0DeprecateDomainCommand = exports.deserializeAws_json1_0DeprecateActivityTypeCommand = exports.deserializeAws_json1_0CountPendingDecisionTasksCommand = exports.deserializeAws_json1_0CountPendingActivityTasksCommand = exports.deserializeAws_json1_0CountOpenWorkflowExecutionsCommand = exports.deserializeAws_json1_0CountClosedWorkflowExecutionsCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0UndeprecateWorkflowTypeCommand = exports.serializeAws_json1_0UndeprecateDomainCommand = exports.serializeAws_json1_0UndeprecateActivityTypeCommand = exports.serializeAws_json1_0TerminateWorkflowExecutionCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0StartWorkflowExecutionCommand = exports.serializeAws_json1_0SignalWorkflowExecutionCommand = exports.serializeAws_json1_0RespondDecisionTaskCompletedCommand = exports.serializeAws_json1_0RespondActivityTaskFailedCommand = exports.serializeAws_json1_0RespondActivityTaskCompletedCommand = exports.serializeAws_json1_0RespondActivityTaskCanceledCommand = exports.serializeAws_json1_0RequestCancelWorkflowExecutionCommand = exports.serializeAws_json1_0RegisterWorkflowTypeCommand = exports.serializeAws_json1_0RegisterDomainCommand = exports.serializeAws_json1_0RegisterActivityTypeCommand = exports.serializeAws_json1_0RecordActivityTaskHeartbeatCommand = exports.serializeAws_json1_0PollForDecisionTaskCommand = exports.serializeAws_json1_0PollForActivityTaskCommand = exports.serializeAws_json1_0ListWorkflowTypesCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListOpenWorkflowExecutionsCommand = exports.serializeAws_json1_0ListDomainsCommand = exports.serializeAws_json1_0ListClosedWorkflowExecutionsCommand = exports.serializeAws_json1_0ListActivityTypesCommand = exports.serializeAws_json1_0GetWorkflowExecutionHistoryCommand = exports.serializeAws_json1_0DescribeWorkflowTypeCommand = exports.serializeAws_json1_0DescribeWorkflowExecutionCommand = exports.serializeAws_json1_0DescribeDomainCommand = exports.serializeAws_json1_0DescribeActivityTypeCommand = exports.serializeAws_json1_0DeprecateWorkflowTypeCommand = exports.serializeAws_json1_0DeprecateDomainCommand = exports.serializeAws_json1_0DeprecateActivityTypeCommand = exports.serializeAws_json1_0CountPendingDecisionTasksCommand = exports.serializeAws_json1_0CountPendingActivityTasksCommand = exports.serializeAws_json1_0CountOpenWorkflowExecutionsCommand = exports.serializeAws_json1_0CountClosedWorkflowExecutionsCommand = void 0;
4
- exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0UndeprecateWorkflowTypeCommand = exports.deserializeAws_json1_0UndeprecateDomainCommand = exports.deserializeAws_json1_0UndeprecateActivityTypeCommand = exports.deserializeAws_json1_0TerminateWorkflowExecutionCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0StartWorkflowExecutionCommand = exports.deserializeAws_json1_0SignalWorkflowExecutionCommand = exports.deserializeAws_json1_0RespondDecisionTaskCompletedCommand = exports.deserializeAws_json1_0RespondActivityTaskFailedCommand = exports.deserializeAws_json1_0RespondActivityTaskCompletedCommand = exports.deserializeAws_json1_0RespondActivityTaskCanceledCommand = exports.deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = exports.deserializeAws_json1_0RegisterWorkflowTypeCommand = exports.deserializeAws_json1_0RegisterDomainCommand = exports.deserializeAws_json1_0RegisterActivityTypeCommand = exports.deserializeAws_json1_0RecordActivityTaskHeartbeatCommand = exports.deserializeAws_json1_0PollForDecisionTaskCommand = exports.deserializeAws_json1_0PollForActivityTaskCommand = exports.deserializeAws_json1_0ListWorkflowTypesCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListOpenWorkflowExecutionsCommand = exports.deserializeAws_json1_0ListDomainsCommand = exports.deserializeAws_json1_0ListClosedWorkflowExecutionsCommand = void 0;
3
+ exports.de_ListActivityTypesCommand = exports.de_GetWorkflowExecutionHistoryCommand = exports.de_DescribeWorkflowTypeCommand = exports.de_DescribeWorkflowExecutionCommand = exports.de_DescribeDomainCommand = exports.de_DescribeActivityTypeCommand = exports.de_DeprecateWorkflowTypeCommand = exports.de_DeprecateDomainCommand = exports.de_DeprecateActivityTypeCommand = exports.de_CountPendingDecisionTasksCommand = exports.de_CountPendingActivityTasksCommand = exports.de_CountOpenWorkflowExecutionsCommand = exports.de_CountClosedWorkflowExecutionsCommand = exports.se_UntagResourceCommand = exports.se_UndeprecateWorkflowTypeCommand = exports.se_UndeprecateDomainCommand = exports.se_UndeprecateActivityTypeCommand = exports.se_TerminateWorkflowExecutionCommand = exports.se_TagResourceCommand = exports.se_StartWorkflowExecutionCommand = exports.se_SignalWorkflowExecutionCommand = exports.se_RespondDecisionTaskCompletedCommand = exports.se_RespondActivityTaskFailedCommand = exports.se_RespondActivityTaskCompletedCommand = exports.se_RespondActivityTaskCanceledCommand = exports.se_RequestCancelWorkflowExecutionCommand = exports.se_RegisterWorkflowTypeCommand = exports.se_RegisterDomainCommand = exports.se_RegisterActivityTypeCommand = exports.se_RecordActivityTaskHeartbeatCommand = exports.se_PollForDecisionTaskCommand = exports.se_PollForActivityTaskCommand = exports.se_ListWorkflowTypesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListOpenWorkflowExecutionsCommand = exports.se_ListDomainsCommand = exports.se_ListClosedWorkflowExecutionsCommand = exports.se_ListActivityTypesCommand = exports.se_GetWorkflowExecutionHistoryCommand = exports.se_DescribeWorkflowTypeCommand = exports.se_DescribeWorkflowExecutionCommand = exports.se_DescribeDomainCommand = exports.se_DescribeActivityTypeCommand = exports.se_DeprecateWorkflowTypeCommand = exports.se_DeprecateDomainCommand = exports.se_DeprecateActivityTypeCommand = exports.se_CountPendingDecisionTasksCommand = exports.se_CountPendingActivityTasksCommand = exports.se_CountOpenWorkflowExecutionsCommand = exports.se_CountClosedWorkflowExecutionsCommand = void 0;
4
+ exports.de_UntagResourceCommand = exports.de_UndeprecateWorkflowTypeCommand = exports.de_UndeprecateDomainCommand = exports.de_UndeprecateActivityTypeCommand = exports.de_TerminateWorkflowExecutionCommand = exports.de_TagResourceCommand = exports.de_StartWorkflowExecutionCommand = exports.de_SignalWorkflowExecutionCommand = exports.de_RespondDecisionTaskCompletedCommand = exports.de_RespondActivityTaskFailedCommand = exports.de_RespondActivityTaskCompletedCommand = exports.de_RespondActivityTaskCanceledCommand = exports.de_RequestCancelWorkflowExecutionCommand = exports.de_RegisterWorkflowTypeCommand = exports.de_RegisterDomainCommand = exports.de_RegisterActivityTypeCommand = exports.de_RecordActivityTaskHeartbeatCommand = exports.de_PollForDecisionTaskCommand = exports.de_PollForActivityTaskCommand = exports.de_ListWorkflowTypesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListOpenWorkflowExecutionsCommand = exports.de_ListDomainsCommand = exports.de_ListClosedWorkflowExecutionsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const SWFServiceException_1 = require("../models/SWFServiceException");
9
- const serializeAws_json1_0CountClosedWorkflowExecutionsCommand = async (input, context) => {
9
+ const se_CountClosedWorkflowExecutionsCommand = async (input, context) => {
10
10
  const headers = {
11
11
  "content-type": "application/x-amz-json-1.0",
12
12
  "x-amz-target": "SimpleWorkflowService.CountClosedWorkflowExecutions",
13
13
  };
14
14
  let body;
15
- body = JSON.stringify(serializeAws_json1_0CountClosedWorkflowExecutionsInput(input, context));
15
+ body = JSON.stringify(se_CountClosedWorkflowExecutionsInput(input, context));
16
16
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
17
  };
18
- exports.serializeAws_json1_0CountClosedWorkflowExecutionsCommand = serializeAws_json1_0CountClosedWorkflowExecutionsCommand;
19
- const serializeAws_json1_0CountOpenWorkflowExecutionsCommand = async (input, context) => {
18
+ exports.se_CountClosedWorkflowExecutionsCommand = se_CountClosedWorkflowExecutionsCommand;
19
+ const se_CountOpenWorkflowExecutionsCommand = async (input, context) => {
20
20
  const headers = {
21
21
  "content-type": "application/x-amz-json-1.0",
22
22
  "x-amz-target": "SimpleWorkflowService.CountOpenWorkflowExecutions",
23
23
  };
24
24
  let body;
25
- body = JSON.stringify(serializeAws_json1_0CountOpenWorkflowExecutionsInput(input, context));
25
+ body = JSON.stringify(se_CountOpenWorkflowExecutionsInput(input, context));
26
26
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
27
27
  };
28
- exports.serializeAws_json1_0CountOpenWorkflowExecutionsCommand = serializeAws_json1_0CountOpenWorkflowExecutionsCommand;
29
- const serializeAws_json1_0CountPendingActivityTasksCommand = async (input, context) => {
28
+ exports.se_CountOpenWorkflowExecutionsCommand = se_CountOpenWorkflowExecutionsCommand;
29
+ const se_CountPendingActivityTasksCommand = async (input, context) => {
30
30
  const headers = {
31
31
  "content-type": "application/x-amz-json-1.0",
32
32
  "x-amz-target": "SimpleWorkflowService.CountPendingActivityTasks",
33
33
  };
34
34
  let body;
35
- body = JSON.stringify(serializeAws_json1_0CountPendingActivityTasksInput(input, context));
35
+ body = JSON.stringify(se_CountPendingActivityTasksInput(input, context));
36
36
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
37
37
  };
38
- exports.serializeAws_json1_0CountPendingActivityTasksCommand = serializeAws_json1_0CountPendingActivityTasksCommand;
39
- const serializeAws_json1_0CountPendingDecisionTasksCommand = async (input, context) => {
38
+ exports.se_CountPendingActivityTasksCommand = se_CountPendingActivityTasksCommand;
39
+ const se_CountPendingDecisionTasksCommand = async (input, context) => {
40
40
  const headers = {
41
41
  "content-type": "application/x-amz-json-1.0",
42
42
  "x-amz-target": "SimpleWorkflowService.CountPendingDecisionTasks",
43
43
  };
44
44
  let body;
45
- body = JSON.stringify(serializeAws_json1_0CountPendingDecisionTasksInput(input, context));
45
+ body = JSON.stringify(se_CountPendingDecisionTasksInput(input, context));
46
46
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
47
  };
48
- exports.serializeAws_json1_0CountPendingDecisionTasksCommand = serializeAws_json1_0CountPendingDecisionTasksCommand;
49
- const serializeAws_json1_0DeprecateActivityTypeCommand = async (input, context) => {
48
+ exports.se_CountPendingDecisionTasksCommand = se_CountPendingDecisionTasksCommand;
49
+ const se_DeprecateActivityTypeCommand = async (input, context) => {
50
50
  const headers = {
51
51
  "content-type": "application/x-amz-json-1.0",
52
52
  "x-amz-target": "SimpleWorkflowService.DeprecateActivityType",
53
53
  };
54
54
  let body;
55
- body = JSON.stringify(serializeAws_json1_0DeprecateActivityTypeInput(input, context));
55
+ body = JSON.stringify(se_DeprecateActivityTypeInput(input, context));
56
56
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
57
57
  };
58
- exports.serializeAws_json1_0DeprecateActivityTypeCommand = serializeAws_json1_0DeprecateActivityTypeCommand;
59
- const serializeAws_json1_0DeprecateDomainCommand = async (input, context) => {
58
+ exports.se_DeprecateActivityTypeCommand = se_DeprecateActivityTypeCommand;
59
+ const se_DeprecateDomainCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.0",
62
62
  "x-amz-target": "SimpleWorkflowService.DeprecateDomain",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_0DeprecateDomainInput(input, context));
65
+ body = JSON.stringify(se_DeprecateDomainInput(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- exports.serializeAws_json1_0DeprecateDomainCommand = serializeAws_json1_0DeprecateDomainCommand;
69
- const serializeAws_json1_0DeprecateWorkflowTypeCommand = async (input, context) => {
68
+ exports.se_DeprecateDomainCommand = se_DeprecateDomainCommand;
69
+ const se_DeprecateWorkflowTypeCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/x-amz-json-1.0",
72
72
  "x-amz-target": "SimpleWorkflowService.DeprecateWorkflowType",
73
73
  };
74
74
  let body;
75
- body = JSON.stringify(serializeAws_json1_0DeprecateWorkflowTypeInput(input, context));
75
+ body = JSON.stringify(se_DeprecateWorkflowTypeInput(input, context));
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- exports.serializeAws_json1_0DeprecateWorkflowTypeCommand = serializeAws_json1_0DeprecateWorkflowTypeCommand;
79
- const serializeAws_json1_0DescribeActivityTypeCommand = async (input, context) => {
78
+ exports.se_DeprecateWorkflowTypeCommand = se_DeprecateWorkflowTypeCommand;
79
+ const se_DescribeActivityTypeCommand = async (input, context) => {
80
80
  const headers = {
81
81
  "content-type": "application/x-amz-json-1.0",
82
82
  "x-amz-target": "SimpleWorkflowService.DescribeActivityType",
83
83
  };
84
84
  let body;
85
- body = JSON.stringify(serializeAws_json1_0DescribeActivityTypeInput(input, context));
85
+ body = JSON.stringify(se_DescribeActivityTypeInput(input, context));
86
86
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
87
87
  };
88
- exports.serializeAws_json1_0DescribeActivityTypeCommand = serializeAws_json1_0DescribeActivityTypeCommand;
89
- const serializeAws_json1_0DescribeDomainCommand = async (input, context) => {
88
+ exports.se_DescribeActivityTypeCommand = se_DescribeActivityTypeCommand;
89
+ const se_DescribeDomainCommand = async (input, context) => {
90
90
  const headers = {
91
91
  "content-type": "application/x-amz-json-1.0",
92
92
  "x-amz-target": "SimpleWorkflowService.DescribeDomain",
93
93
  };
94
94
  let body;
95
- body = JSON.stringify(serializeAws_json1_0DescribeDomainInput(input, context));
95
+ body = JSON.stringify(se_DescribeDomainInput(input, context));
96
96
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
97
97
  };
98
- exports.serializeAws_json1_0DescribeDomainCommand = serializeAws_json1_0DescribeDomainCommand;
99
- const serializeAws_json1_0DescribeWorkflowExecutionCommand = async (input, context) => {
98
+ exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
99
+ const se_DescribeWorkflowExecutionCommand = async (input, context) => {
100
100
  const headers = {
101
101
  "content-type": "application/x-amz-json-1.0",
102
102
  "x-amz-target": "SimpleWorkflowService.DescribeWorkflowExecution",
103
103
  };
104
104
  let body;
105
- body = JSON.stringify(serializeAws_json1_0DescribeWorkflowExecutionInput(input, context));
105
+ body = JSON.stringify(se_DescribeWorkflowExecutionInput(input, context));
106
106
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
107
107
  };
108
- exports.serializeAws_json1_0DescribeWorkflowExecutionCommand = serializeAws_json1_0DescribeWorkflowExecutionCommand;
109
- const serializeAws_json1_0DescribeWorkflowTypeCommand = async (input, context) => {
108
+ exports.se_DescribeWorkflowExecutionCommand = se_DescribeWorkflowExecutionCommand;
109
+ const se_DescribeWorkflowTypeCommand = async (input, context) => {
110
110
  const headers = {
111
111
  "content-type": "application/x-amz-json-1.0",
112
112
  "x-amz-target": "SimpleWorkflowService.DescribeWorkflowType",
113
113
  };
114
114
  let body;
115
- body = JSON.stringify(serializeAws_json1_0DescribeWorkflowTypeInput(input, context));
115
+ body = JSON.stringify(se_DescribeWorkflowTypeInput(input, context));
116
116
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
117
117
  };
118
- exports.serializeAws_json1_0DescribeWorkflowTypeCommand = serializeAws_json1_0DescribeWorkflowTypeCommand;
119
- const serializeAws_json1_0GetWorkflowExecutionHistoryCommand = async (input, context) => {
118
+ exports.se_DescribeWorkflowTypeCommand = se_DescribeWorkflowTypeCommand;
119
+ const se_GetWorkflowExecutionHistoryCommand = async (input, context) => {
120
120
  const headers = {
121
121
  "content-type": "application/x-amz-json-1.0",
122
122
  "x-amz-target": "SimpleWorkflowService.GetWorkflowExecutionHistory",
123
123
  };
124
124
  let body;
125
- body = JSON.stringify(serializeAws_json1_0GetWorkflowExecutionHistoryInput(input, context));
125
+ body = JSON.stringify(se_GetWorkflowExecutionHistoryInput(input, context));
126
126
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
127
127
  };
128
- exports.serializeAws_json1_0GetWorkflowExecutionHistoryCommand = serializeAws_json1_0GetWorkflowExecutionHistoryCommand;
129
- const serializeAws_json1_0ListActivityTypesCommand = async (input, context) => {
128
+ exports.se_GetWorkflowExecutionHistoryCommand = se_GetWorkflowExecutionHistoryCommand;
129
+ const se_ListActivityTypesCommand = async (input, context) => {
130
130
  const headers = {
131
131
  "content-type": "application/x-amz-json-1.0",
132
132
  "x-amz-target": "SimpleWorkflowService.ListActivityTypes",
133
133
  };
134
134
  let body;
135
- body = JSON.stringify(serializeAws_json1_0ListActivityTypesInput(input, context));
135
+ body = JSON.stringify(se_ListActivityTypesInput(input, context));
136
136
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
137
137
  };
138
- exports.serializeAws_json1_0ListActivityTypesCommand = serializeAws_json1_0ListActivityTypesCommand;
139
- const serializeAws_json1_0ListClosedWorkflowExecutionsCommand = async (input, context) => {
138
+ exports.se_ListActivityTypesCommand = se_ListActivityTypesCommand;
139
+ const se_ListClosedWorkflowExecutionsCommand = async (input, context) => {
140
140
  const headers = {
141
141
  "content-type": "application/x-amz-json-1.0",
142
142
  "x-amz-target": "SimpleWorkflowService.ListClosedWorkflowExecutions",
143
143
  };
144
144
  let body;
145
- body = JSON.stringify(serializeAws_json1_0ListClosedWorkflowExecutionsInput(input, context));
145
+ body = JSON.stringify(se_ListClosedWorkflowExecutionsInput(input, context));
146
146
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
147
147
  };
148
- exports.serializeAws_json1_0ListClosedWorkflowExecutionsCommand = serializeAws_json1_0ListClosedWorkflowExecutionsCommand;
149
- const serializeAws_json1_0ListDomainsCommand = async (input, context) => {
148
+ exports.se_ListClosedWorkflowExecutionsCommand = se_ListClosedWorkflowExecutionsCommand;
149
+ const se_ListDomainsCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.0",
152
152
  "x-amz-target": "SimpleWorkflowService.ListDomains",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_0ListDomainsInput(input, context));
155
+ body = JSON.stringify(se_ListDomainsInput(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- exports.serializeAws_json1_0ListDomainsCommand = serializeAws_json1_0ListDomainsCommand;
159
- const serializeAws_json1_0ListOpenWorkflowExecutionsCommand = async (input, context) => {
158
+ exports.se_ListDomainsCommand = se_ListDomainsCommand;
159
+ const se_ListOpenWorkflowExecutionsCommand = async (input, context) => {
160
160
  const headers = {
161
161
  "content-type": "application/x-amz-json-1.0",
162
162
  "x-amz-target": "SimpleWorkflowService.ListOpenWorkflowExecutions",
163
163
  };
164
164
  let body;
165
- body = JSON.stringify(serializeAws_json1_0ListOpenWorkflowExecutionsInput(input, context));
165
+ body = JSON.stringify(se_ListOpenWorkflowExecutionsInput(input, context));
166
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
167
  };
168
- exports.serializeAws_json1_0ListOpenWorkflowExecutionsCommand = serializeAws_json1_0ListOpenWorkflowExecutionsCommand;
169
- const serializeAws_json1_0ListTagsForResourceCommand = async (input, context) => {
168
+ exports.se_ListOpenWorkflowExecutionsCommand = se_ListOpenWorkflowExecutionsCommand;
169
+ const se_ListTagsForResourceCommand = async (input, context) => {
170
170
  const headers = {
171
171
  "content-type": "application/x-amz-json-1.0",
172
172
  "x-amz-target": "SimpleWorkflowService.ListTagsForResource",
173
173
  };
174
174
  let body;
175
- body = JSON.stringify(serializeAws_json1_0ListTagsForResourceInput(input, context));
175
+ body = JSON.stringify(se_ListTagsForResourceInput(input, context));
176
176
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
177
177
  };
178
- exports.serializeAws_json1_0ListTagsForResourceCommand = serializeAws_json1_0ListTagsForResourceCommand;
179
- const serializeAws_json1_0ListWorkflowTypesCommand = async (input, context) => {
178
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
179
+ const se_ListWorkflowTypesCommand = async (input, context) => {
180
180
  const headers = {
181
181
  "content-type": "application/x-amz-json-1.0",
182
182
  "x-amz-target": "SimpleWorkflowService.ListWorkflowTypes",
183
183
  };
184
184
  let body;
185
- body = JSON.stringify(serializeAws_json1_0ListWorkflowTypesInput(input, context));
185
+ body = JSON.stringify(se_ListWorkflowTypesInput(input, context));
186
186
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
187
187
  };
188
- exports.serializeAws_json1_0ListWorkflowTypesCommand = serializeAws_json1_0ListWorkflowTypesCommand;
189
- const serializeAws_json1_0PollForActivityTaskCommand = async (input, context) => {
188
+ exports.se_ListWorkflowTypesCommand = se_ListWorkflowTypesCommand;
189
+ const se_PollForActivityTaskCommand = async (input, context) => {
190
190
  const headers = {
191
191
  "content-type": "application/x-amz-json-1.0",
192
192
  "x-amz-target": "SimpleWorkflowService.PollForActivityTask",
193
193
  };
194
194
  let body;
195
- body = JSON.stringify(serializeAws_json1_0PollForActivityTaskInput(input, context));
195
+ body = JSON.stringify(se_PollForActivityTaskInput(input, context));
196
196
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
197
197
  };
198
- exports.serializeAws_json1_0PollForActivityTaskCommand = serializeAws_json1_0PollForActivityTaskCommand;
199
- const serializeAws_json1_0PollForDecisionTaskCommand = async (input, context) => {
198
+ exports.se_PollForActivityTaskCommand = se_PollForActivityTaskCommand;
199
+ const se_PollForDecisionTaskCommand = async (input, context) => {
200
200
  const headers = {
201
201
  "content-type": "application/x-amz-json-1.0",
202
202
  "x-amz-target": "SimpleWorkflowService.PollForDecisionTask",
203
203
  };
204
204
  let body;
205
- body = JSON.stringify(serializeAws_json1_0PollForDecisionTaskInput(input, context));
205
+ body = JSON.stringify(se_PollForDecisionTaskInput(input, context));
206
206
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
207
207
  };
208
- exports.serializeAws_json1_0PollForDecisionTaskCommand = serializeAws_json1_0PollForDecisionTaskCommand;
209
- const serializeAws_json1_0RecordActivityTaskHeartbeatCommand = async (input, context) => {
208
+ exports.se_PollForDecisionTaskCommand = se_PollForDecisionTaskCommand;
209
+ const se_RecordActivityTaskHeartbeatCommand = async (input, context) => {
210
210
  const headers = {
211
211
  "content-type": "application/x-amz-json-1.0",
212
212
  "x-amz-target": "SimpleWorkflowService.RecordActivityTaskHeartbeat",
213
213
  };
214
214
  let body;
215
- body = JSON.stringify(serializeAws_json1_0RecordActivityTaskHeartbeatInput(input, context));
215
+ body = JSON.stringify(se_RecordActivityTaskHeartbeatInput(input, context));
216
216
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
217
217
  };
218
- exports.serializeAws_json1_0RecordActivityTaskHeartbeatCommand = serializeAws_json1_0RecordActivityTaskHeartbeatCommand;
219
- const serializeAws_json1_0RegisterActivityTypeCommand = async (input, context) => {
218
+ exports.se_RecordActivityTaskHeartbeatCommand = se_RecordActivityTaskHeartbeatCommand;
219
+ const se_RegisterActivityTypeCommand = async (input, context) => {
220
220
  const headers = {
221
221
  "content-type": "application/x-amz-json-1.0",
222
222
  "x-amz-target": "SimpleWorkflowService.RegisterActivityType",
223
223
  };
224
224
  let body;
225
- body = JSON.stringify(serializeAws_json1_0RegisterActivityTypeInput(input, context));
225
+ body = JSON.stringify(se_RegisterActivityTypeInput(input, context));
226
226
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
227
227
  };
228
- exports.serializeAws_json1_0RegisterActivityTypeCommand = serializeAws_json1_0RegisterActivityTypeCommand;
229
- const serializeAws_json1_0RegisterDomainCommand = async (input, context) => {
228
+ exports.se_RegisterActivityTypeCommand = se_RegisterActivityTypeCommand;
229
+ const se_RegisterDomainCommand = async (input, context) => {
230
230
  const headers = {
231
231
  "content-type": "application/x-amz-json-1.0",
232
232
  "x-amz-target": "SimpleWorkflowService.RegisterDomain",
233
233
  };
234
234
  let body;
235
- body = JSON.stringify(serializeAws_json1_0RegisterDomainInput(input, context));
235
+ body = JSON.stringify(se_RegisterDomainInput(input, context));
236
236
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
237
237
  };
238
- exports.serializeAws_json1_0RegisterDomainCommand = serializeAws_json1_0RegisterDomainCommand;
239
- const serializeAws_json1_0RegisterWorkflowTypeCommand = async (input, context) => {
238
+ exports.se_RegisterDomainCommand = se_RegisterDomainCommand;
239
+ const se_RegisterWorkflowTypeCommand = async (input, context) => {
240
240
  const headers = {
241
241
  "content-type": "application/x-amz-json-1.0",
242
242
  "x-amz-target": "SimpleWorkflowService.RegisterWorkflowType",
243
243
  };
244
244
  let body;
245
- body = JSON.stringify(serializeAws_json1_0RegisterWorkflowTypeInput(input, context));
245
+ body = JSON.stringify(se_RegisterWorkflowTypeInput(input, context));
246
246
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
247
  };
248
- exports.serializeAws_json1_0RegisterWorkflowTypeCommand = serializeAws_json1_0RegisterWorkflowTypeCommand;
249
- const serializeAws_json1_0RequestCancelWorkflowExecutionCommand = async (input, context) => {
248
+ exports.se_RegisterWorkflowTypeCommand = se_RegisterWorkflowTypeCommand;
249
+ const se_RequestCancelWorkflowExecutionCommand = async (input, context) => {
250
250
  const headers = {
251
251
  "content-type": "application/x-amz-json-1.0",
252
252
  "x-amz-target": "SimpleWorkflowService.RequestCancelWorkflowExecution",
253
253
  };
254
254
  let body;
255
- body = JSON.stringify(serializeAws_json1_0RequestCancelWorkflowExecutionInput(input, context));
255
+ body = JSON.stringify(se_RequestCancelWorkflowExecutionInput(input, context));
256
256
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
257
  };
258
- exports.serializeAws_json1_0RequestCancelWorkflowExecutionCommand = serializeAws_json1_0RequestCancelWorkflowExecutionCommand;
259
- const serializeAws_json1_0RespondActivityTaskCanceledCommand = async (input, context) => {
258
+ exports.se_RequestCancelWorkflowExecutionCommand = se_RequestCancelWorkflowExecutionCommand;
259
+ const se_RespondActivityTaskCanceledCommand = async (input, context) => {
260
260
  const headers = {
261
261
  "content-type": "application/x-amz-json-1.0",
262
262
  "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCanceled",
263
263
  };
264
264
  let body;
265
- body = JSON.stringify(serializeAws_json1_0RespondActivityTaskCanceledInput(input, context));
265
+ body = JSON.stringify(se_RespondActivityTaskCanceledInput(input, context));
266
266
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
267
267
  };
268
- exports.serializeAws_json1_0RespondActivityTaskCanceledCommand = serializeAws_json1_0RespondActivityTaskCanceledCommand;
269
- const serializeAws_json1_0RespondActivityTaskCompletedCommand = async (input, context) => {
268
+ exports.se_RespondActivityTaskCanceledCommand = se_RespondActivityTaskCanceledCommand;
269
+ const se_RespondActivityTaskCompletedCommand = async (input, context) => {
270
270
  const headers = {
271
271
  "content-type": "application/x-amz-json-1.0",
272
272
  "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCompleted",
273
273
  };
274
274
  let body;
275
- body = JSON.stringify(serializeAws_json1_0RespondActivityTaskCompletedInput(input, context));
275
+ body = JSON.stringify(se_RespondActivityTaskCompletedInput(input, context));
276
276
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
277
277
  };
278
- exports.serializeAws_json1_0RespondActivityTaskCompletedCommand = serializeAws_json1_0RespondActivityTaskCompletedCommand;
279
- const serializeAws_json1_0RespondActivityTaskFailedCommand = async (input, context) => {
278
+ exports.se_RespondActivityTaskCompletedCommand = se_RespondActivityTaskCompletedCommand;
279
+ const se_RespondActivityTaskFailedCommand = async (input, context) => {
280
280
  const headers = {
281
281
  "content-type": "application/x-amz-json-1.0",
282
282
  "x-amz-target": "SimpleWorkflowService.RespondActivityTaskFailed",
283
283
  };
284
284
  let body;
285
- body = JSON.stringify(serializeAws_json1_0RespondActivityTaskFailedInput(input, context));
285
+ body = JSON.stringify(se_RespondActivityTaskFailedInput(input, context));
286
286
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
287
287
  };
288
- exports.serializeAws_json1_0RespondActivityTaskFailedCommand = serializeAws_json1_0RespondActivityTaskFailedCommand;
289
- const serializeAws_json1_0RespondDecisionTaskCompletedCommand = async (input, context) => {
288
+ exports.se_RespondActivityTaskFailedCommand = se_RespondActivityTaskFailedCommand;
289
+ const se_RespondDecisionTaskCompletedCommand = async (input, context) => {
290
290
  const headers = {
291
291
  "content-type": "application/x-amz-json-1.0",
292
292
  "x-amz-target": "SimpleWorkflowService.RespondDecisionTaskCompleted",
293
293
  };
294
294
  let body;
295
- body = JSON.stringify(serializeAws_json1_0RespondDecisionTaskCompletedInput(input, context));
295
+ body = JSON.stringify(se_RespondDecisionTaskCompletedInput(input, context));
296
296
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
297
297
  };
298
- exports.serializeAws_json1_0RespondDecisionTaskCompletedCommand = serializeAws_json1_0RespondDecisionTaskCompletedCommand;
299
- const serializeAws_json1_0SignalWorkflowExecutionCommand = async (input, context) => {
298
+ exports.se_RespondDecisionTaskCompletedCommand = se_RespondDecisionTaskCompletedCommand;
299
+ const se_SignalWorkflowExecutionCommand = async (input, context) => {
300
300
  const headers = {
301
301
  "content-type": "application/x-amz-json-1.0",
302
302
  "x-amz-target": "SimpleWorkflowService.SignalWorkflowExecution",
303
303
  };
304
304
  let body;
305
- body = JSON.stringify(serializeAws_json1_0SignalWorkflowExecutionInput(input, context));
305
+ body = JSON.stringify(se_SignalWorkflowExecutionInput(input, context));
306
306
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
307
307
  };
308
- exports.serializeAws_json1_0SignalWorkflowExecutionCommand = serializeAws_json1_0SignalWorkflowExecutionCommand;
309
- const serializeAws_json1_0StartWorkflowExecutionCommand = async (input, context) => {
308
+ exports.se_SignalWorkflowExecutionCommand = se_SignalWorkflowExecutionCommand;
309
+ const se_StartWorkflowExecutionCommand = async (input, context) => {
310
310
  const headers = {
311
311
  "content-type": "application/x-amz-json-1.0",
312
312
  "x-amz-target": "SimpleWorkflowService.StartWorkflowExecution",
313
313
  };
314
314
  let body;
315
- body = JSON.stringify(serializeAws_json1_0StartWorkflowExecutionInput(input, context));
315
+ body = JSON.stringify(se_StartWorkflowExecutionInput(input, context));
316
316
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
317
317
  };
318
- exports.serializeAws_json1_0StartWorkflowExecutionCommand = serializeAws_json1_0StartWorkflowExecutionCommand;
319
- const serializeAws_json1_0TagResourceCommand = async (input, context) => {
318
+ exports.se_StartWorkflowExecutionCommand = se_StartWorkflowExecutionCommand;
319
+ const se_TagResourceCommand = async (input, context) => {
320
320
  const headers = {
321
321
  "content-type": "application/x-amz-json-1.0",
322
322
  "x-amz-target": "SimpleWorkflowService.TagResource",
323
323
  };
324
324
  let body;
325
- body = JSON.stringify(serializeAws_json1_0TagResourceInput(input, context));
325
+ body = JSON.stringify(se_TagResourceInput(input, context));
326
326
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
327
  };
328
- exports.serializeAws_json1_0TagResourceCommand = serializeAws_json1_0TagResourceCommand;
329
- const serializeAws_json1_0TerminateWorkflowExecutionCommand = async (input, context) => {
328
+ exports.se_TagResourceCommand = se_TagResourceCommand;
329
+ const se_TerminateWorkflowExecutionCommand = async (input, context) => {
330
330
  const headers = {
331
331
  "content-type": "application/x-amz-json-1.0",
332
332
  "x-amz-target": "SimpleWorkflowService.TerminateWorkflowExecution",
333
333
  };
334
334
  let body;
335
- body = JSON.stringify(serializeAws_json1_0TerminateWorkflowExecutionInput(input, context));
335
+ body = JSON.stringify(se_TerminateWorkflowExecutionInput(input, context));
336
336
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
337
  };
338
- exports.serializeAws_json1_0TerminateWorkflowExecutionCommand = serializeAws_json1_0TerminateWorkflowExecutionCommand;
339
- const serializeAws_json1_0UndeprecateActivityTypeCommand = async (input, context) => {
338
+ exports.se_TerminateWorkflowExecutionCommand = se_TerminateWorkflowExecutionCommand;
339
+ const se_UndeprecateActivityTypeCommand = async (input, context) => {
340
340
  const headers = {
341
341
  "content-type": "application/x-amz-json-1.0",
342
342
  "x-amz-target": "SimpleWorkflowService.UndeprecateActivityType",
343
343
  };
344
344
  let body;
345
- body = JSON.stringify(serializeAws_json1_0UndeprecateActivityTypeInput(input, context));
345
+ body = JSON.stringify(se_UndeprecateActivityTypeInput(input, context));
346
346
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
347
  };
348
- exports.serializeAws_json1_0UndeprecateActivityTypeCommand = serializeAws_json1_0UndeprecateActivityTypeCommand;
349
- const serializeAws_json1_0UndeprecateDomainCommand = async (input, context) => {
348
+ exports.se_UndeprecateActivityTypeCommand = se_UndeprecateActivityTypeCommand;
349
+ const se_UndeprecateDomainCommand = async (input, context) => {
350
350
  const headers = {
351
351
  "content-type": "application/x-amz-json-1.0",
352
352
  "x-amz-target": "SimpleWorkflowService.UndeprecateDomain",
353
353
  };
354
354
  let body;
355
- body = JSON.stringify(serializeAws_json1_0UndeprecateDomainInput(input, context));
355
+ body = JSON.stringify(se_UndeprecateDomainInput(input, context));
356
356
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
357
357
  };
358
- exports.serializeAws_json1_0UndeprecateDomainCommand = serializeAws_json1_0UndeprecateDomainCommand;
359
- const serializeAws_json1_0UndeprecateWorkflowTypeCommand = async (input, context) => {
358
+ exports.se_UndeprecateDomainCommand = se_UndeprecateDomainCommand;
359
+ const se_UndeprecateWorkflowTypeCommand = async (input, context) => {
360
360
  const headers = {
361
361
  "content-type": "application/x-amz-json-1.0",
362
362
  "x-amz-target": "SimpleWorkflowService.UndeprecateWorkflowType",
363
363
  };
364
364
  let body;
365
- body = JSON.stringify(serializeAws_json1_0UndeprecateWorkflowTypeInput(input, context));
365
+ body = JSON.stringify(se_UndeprecateWorkflowTypeInput(input, context));
366
366
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
367
367
  };
368
- exports.serializeAws_json1_0UndeprecateWorkflowTypeCommand = serializeAws_json1_0UndeprecateWorkflowTypeCommand;
369
- const serializeAws_json1_0UntagResourceCommand = async (input, context) => {
368
+ exports.se_UndeprecateWorkflowTypeCommand = se_UndeprecateWorkflowTypeCommand;
369
+ const se_UntagResourceCommand = async (input, context) => {
370
370
  const headers = {
371
371
  "content-type": "application/x-amz-json-1.0",
372
372
  "x-amz-target": "SimpleWorkflowService.UntagResource",
373
373
  };
374
374
  let body;
375
- body = JSON.stringify(serializeAws_json1_0UntagResourceInput(input, context));
375
+ body = JSON.stringify(se_UntagResourceInput(input, context));
376
376
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
377
377
  };
378
- exports.serializeAws_json1_0UntagResourceCommand = serializeAws_json1_0UntagResourceCommand;
379
- const deserializeAws_json1_0CountClosedWorkflowExecutionsCommand = async (output, context) => {
378
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
379
+ const de_CountClosedWorkflowExecutionsCommand = async (output, context) => {
380
380
  if (output.statusCode >= 300) {
381
- return deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError(output, context);
381
+ return de_CountClosedWorkflowExecutionsCommandError(output, context);
382
382
  }
383
383
  const data = await parseBody(output.body, context);
384
384
  let contents = {};
385
- contents = deserializeAws_json1_0WorkflowExecutionCount(data, context);
385
+ contents = de_WorkflowExecutionCount(data, context);
386
386
  const response = {
387
387
  $metadata: deserializeMetadata(output),
388
388
  ...contents,
389
389
  };
390
390
  return Promise.resolve(response);
391
391
  };
392
- exports.deserializeAws_json1_0CountClosedWorkflowExecutionsCommand = deserializeAws_json1_0CountClosedWorkflowExecutionsCommand;
393
- const deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = async (output, context) => {
392
+ exports.de_CountClosedWorkflowExecutionsCommand = de_CountClosedWorkflowExecutionsCommand;
393
+ const de_CountClosedWorkflowExecutionsCommandError = async (output, context) => {
394
394
  const parsedOutput = {
395
395
  ...output,
396
396
  body: await parseErrorBody(output.body, context),
@@ -399,10 +399,10 @@ const deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = async (o
399
399
  switch (errorCode) {
400
400
  case "OperationNotPermittedFault":
401
401
  case "com.amazonaws.swf#OperationNotPermittedFault":
402
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
402
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
403
403
  case "UnknownResourceFault":
404
404
  case "com.amazonaws.swf#UnknownResourceFault":
405
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
405
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
406
406
  default:
407
407
  const parsedBody = parsedOutput.body;
408
408
  (0, smithy_client_1.throwDefaultError)({
@@ -413,21 +413,21 @@ const deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = async (o
413
413
  });
414
414
  }
415
415
  };
416
- const deserializeAws_json1_0CountOpenWorkflowExecutionsCommand = async (output, context) => {
416
+ const de_CountOpenWorkflowExecutionsCommand = async (output, context) => {
417
417
  if (output.statusCode >= 300) {
418
- return deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError(output, context);
418
+ return de_CountOpenWorkflowExecutionsCommandError(output, context);
419
419
  }
420
420
  const data = await parseBody(output.body, context);
421
421
  let contents = {};
422
- contents = deserializeAws_json1_0WorkflowExecutionCount(data, context);
422
+ contents = de_WorkflowExecutionCount(data, context);
423
423
  const response = {
424
424
  $metadata: deserializeMetadata(output),
425
425
  ...contents,
426
426
  };
427
427
  return Promise.resolve(response);
428
428
  };
429
- exports.deserializeAws_json1_0CountOpenWorkflowExecutionsCommand = deserializeAws_json1_0CountOpenWorkflowExecutionsCommand;
430
- const deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = async (output, context) => {
429
+ exports.de_CountOpenWorkflowExecutionsCommand = de_CountOpenWorkflowExecutionsCommand;
430
+ const de_CountOpenWorkflowExecutionsCommandError = async (output, context) => {
431
431
  const parsedOutput = {
432
432
  ...output,
433
433
  body: await parseErrorBody(output.body, context),
@@ -436,10 +436,10 @@ const deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = async (out
436
436
  switch (errorCode) {
437
437
  case "OperationNotPermittedFault":
438
438
  case "com.amazonaws.swf#OperationNotPermittedFault":
439
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
439
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
440
440
  case "UnknownResourceFault":
441
441
  case "com.amazonaws.swf#UnknownResourceFault":
442
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
442
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
443
443
  default:
444
444
  const parsedBody = parsedOutput.body;
445
445
  (0, smithy_client_1.throwDefaultError)({
@@ -450,21 +450,21 @@ const deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = async (out
450
450
  });
451
451
  }
452
452
  };
453
- const deserializeAws_json1_0CountPendingActivityTasksCommand = async (output, context) => {
453
+ const de_CountPendingActivityTasksCommand = async (output, context) => {
454
454
  if (output.statusCode >= 300) {
455
- return deserializeAws_json1_0CountPendingActivityTasksCommandError(output, context);
455
+ return de_CountPendingActivityTasksCommandError(output, context);
456
456
  }
457
457
  const data = await parseBody(output.body, context);
458
458
  let contents = {};
459
- contents = deserializeAws_json1_0PendingTaskCount(data, context);
459
+ contents = de_PendingTaskCount(data, context);
460
460
  const response = {
461
461
  $metadata: deserializeMetadata(output),
462
462
  ...contents,
463
463
  };
464
464
  return Promise.resolve(response);
465
465
  };
466
- exports.deserializeAws_json1_0CountPendingActivityTasksCommand = deserializeAws_json1_0CountPendingActivityTasksCommand;
467
- const deserializeAws_json1_0CountPendingActivityTasksCommandError = async (output, context) => {
466
+ exports.de_CountPendingActivityTasksCommand = de_CountPendingActivityTasksCommand;
467
+ const de_CountPendingActivityTasksCommandError = async (output, context) => {
468
468
  const parsedOutput = {
469
469
  ...output,
470
470
  body: await parseErrorBody(output.body, context),
@@ -473,10 +473,10 @@ const deserializeAws_json1_0CountPendingActivityTasksCommandError = async (outpu
473
473
  switch (errorCode) {
474
474
  case "OperationNotPermittedFault":
475
475
  case "com.amazonaws.swf#OperationNotPermittedFault":
476
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
476
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
477
477
  case "UnknownResourceFault":
478
478
  case "com.amazonaws.swf#UnknownResourceFault":
479
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
479
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
480
480
  default:
481
481
  const parsedBody = parsedOutput.body;
482
482
  (0, smithy_client_1.throwDefaultError)({
@@ -487,21 +487,21 @@ const deserializeAws_json1_0CountPendingActivityTasksCommandError = async (outpu
487
487
  });
488
488
  }
489
489
  };
490
- const deserializeAws_json1_0CountPendingDecisionTasksCommand = async (output, context) => {
490
+ const de_CountPendingDecisionTasksCommand = async (output, context) => {
491
491
  if (output.statusCode >= 300) {
492
- return deserializeAws_json1_0CountPendingDecisionTasksCommandError(output, context);
492
+ return de_CountPendingDecisionTasksCommandError(output, context);
493
493
  }
494
494
  const data = await parseBody(output.body, context);
495
495
  let contents = {};
496
- contents = deserializeAws_json1_0PendingTaskCount(data, context);
496
+ contents = de_PendingTaskCount(data, context);
497
497
  const response = {
498
498
  $metadata: deserializeMetadata(output),
499
499
  ...contents,
500
500
  };
501
501
  return Promise.resolve(response);
502
502
  };
503
- exports.deserializeAws_json1_0CountPendingDecisionTasksCommand = deserializeAws_json1_0CountPendingDecisionTasksCommand;
504
- const deserializeAws_json1_0CountPendingDecisionTasksCommandError = async (output, context) => {
503
+ exports.de_CountPendingDecisionTasksCommand = de_CountPendingDecisionTasksCommand;
504
+ const de_CountPendingDecisionTasksCommandError = async (output, context) => {
505
505
  const parsedOutput = {
506
506
  ...output,
507
507
  body: await parseErrorBody(output.body, context),
@@ -510,10 +510,10 @@ const deserializeAws_json1_0CountPendingDecisionTasksCommandError = async (outpu
510
510
  switch (errorCode) {
511
511
  case "OperationNotPermittedFault":
512
512
  case "com.amazonaws.swf#OperationNotPermittedFault":
513
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
513
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
514
514
  case "UnknownResourceFault":
515
515
  case "com.amazonaws.swf#UnknownResourceFault":
516
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
516
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
517
517
  default:
518
518
  const parsedBody = parsedOutput.body;
519
519
  (0, smithy_client_1.throwDefaultError)({
@@ -524,9 +524,9 @@ const deserializeAws_json1_0CountPendingDecisionTasksCommandError = async (outpu
524
524
  });
525
525
  }
526
526
  };
527
- const deserializeAws_json1_0DeprecateActivityTypeCommand = async (output, context) => {
527
+ const de_DeprecateActivityTypeCommand = async (output, context) => {
528
528
  if (output.statusCode >= 300) {
529
- return deserializeAws_json1_0DeprecateActivityTypeCommandError(output, context);
529
+ return de_DeprecateActivityTypeCommandError(output, context);
530
530
  }
531
531
  await collectBody(output.body, context);
532
532
  const response = {
@@ -534,8 +534,8 @@ const deserializeAws_json1_0DeprecateActivityTypeCommand = async (output, contex
534
534
  };
535
535
  return Promise.resolve(response);
536
536
  };
537
- exports.deserializeAws_json1_0DeprecateActivityTypeCommand = deserializeAws_json1_0DeprecateActivityTypeCommand;
538
- const deserializeAws_json1_0DeprecateActivityTypeCommandError = async (output, context) => {
537
+ exports.de_DeprecateActivityTypeCommand = de_DeprecateActivityTypeCommand;
538
+ const de_DeprecateActivityTypeCommandError = async (output, context) => {
539
539
  const parsedOutput = {
540
540
  ...output,
541
541
  body: await parseErrorBody(output.body, context),
@@ -544,13 +544,13 @@ const deserializeAws_json1_0DeprecateActivityTypeCommandError = async (output, c
544
544
  switch (errorCode) {
545
545
  case "OperationNotPermittedFault":
546
546
  case "com.amazonaws.swf#OperationNotPermittedFault":
547
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
547
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
548
548
  case "TypeDeprecatedFault":
549
549
  case "com.amazonaws.swf#TypeDeprecatedFault":
550
- throw await deserializeAws_json1_0TypeDeprecatedFaultResponse(parsedOutput, context);
550
+ throw await de_TypeDeprecatedFaultRes(parsedOutput, context);
551
551
  case "UnknownResourceFault":
552
552
  case "com.amazonaws.swf#UnknownResourceFault":
553
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
553
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
554
554
  default:
555
555
  const parsedBody = parsedOutput.body;
556
556
  (0, smithy_client_1.throwDefaultError)({
@@ -561,9 +561,9 @@ const deserializeAws_json1_0DeprecateActivityTypeCommandError = async (output, c
561
561
  });
562
562
  }
563
563
  };
564
- const deserializeAws_json1_0DeprecateDomainCommand = async (output, context) => {
564
+ const de_DeprecateDomainCommand = async (output, context) => {
565
565
  if (output.statusCode >= 300) {
566
- return deserializeAws_json1_0DeprecateDomainCommandError(output, context);
566
+ return de_DeprecateDomainCommandError(output, context);
567
567
  }
568
568
  await collectBody(output.body, context);
569
569
  const response = {
@@ -571,8 +571,8 @@ const deserializeAws_json1_0DeprecateDomainCommand = async (output, context) =>
571
571
  };
572
572
  return Promise.resolve(response);
573
573
  };
574
- exports.deserializeAws_json1_0DeprecateDomainCommand = deserializeAws_json1_0DeprecateDomainCommand;
575
- const deserializeAws_json1_0DeprecateDomainCommandError = async (output, context) => {
574
+ exports.de_DeprecateDomainCommand = de_DeprecateDomainCommand;
575
+ const de_DeprecateDomainCommandError = async (output, context) => {
576
576
  const parsedOutput = {
577
577
  ...output,
578
578
  body: await parseErrorBody(output.body, context),
@@ -581,13 +581,13 @@ const deserializeAws_json1_0DeprecateDomainCommandError = async (output, context
581
581
  switch (errorCode) {
582
582
  case "DomainDeprecatedFault":
583
583
  case "com.amazonaws.swf#DomainDeprecatedFault":
584
- throw await deserializeAws_json1_0DomainDeprecatedFaultResponse(parsedOutput, context);
584
+ throw await de_DomainDeprecatedFaultRes(parsedOutput, context);
585
585
  case "OperationNotPermittedFault":
586
586
  case "com.amazonaws.swf#OperationNotPermittedFault":
587
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
587
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
588
588
  case "UnknownResourceFault":
589
589
  case "com.amazonaws.swf#UnknownResourceFault":
590
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
590
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
591
591
  default:
592
592
  const parsedBody = parsedOutput.body;
593
593
  (0, smithy_client_1.throwDefaultError)({
@@ -598,9 +598,9 @@ const deserializeAws_json1_0DeprecateDomainCommandError = async (output, context
598
598
  });
599
599
  }
600
600
  };
601
- const deserializeAws_json1_0DeprecateWorkflowTypeCommand = async (output, context) => {
601
+ const de_DeprecateWorkflowTypeCommand = async (output, context) => {
602
602
  if (output.statusCode >= 300) {
603
- return deserializeAws_json1_0DeprecateWorkflowTypeCommandError(output, context);
603
+ return de_DeprecateWorkflowTypeCommandError(output, context);
604
604
  }
605
605
  await collectBody(output.body, context);
606
606
  const response = {
@@ -608,8 +608,8 @@ const deserializeAws_json1_0DeprecateWorkflowTypeCommand = async (output, contex
608
608
  };
609
609
  return Promise.resolve(response);
610
610
  };
611
- exports.deserializeAws_json1_0DeprecateWorkflowTypeCommand = deserializeAws_json1_0DeprecateWorkflowTypeCommand;
612
- const deserializeAws_json1_0DeprecateWorkflowTypeCommandError = async (output, context) => {
611
+ exports.de_DeprecateWorkflowTypeCommand = de_DeprecateWorkflowTypeCommand;
612
+ const de_DeprecateWorkflowTypeCommandError = async (output, context) => {
613
613
  const parsedOutput = {
614
614
  ...output,
615
615
  body: await parseErrorBody(output.body, context),
@@ -618,13 +618,13 @@ const deserializeAws_json1_0DeprecateWorkflowTypeCommandError = async (output, c
618
618
  switch (errorCode) {
619
619
  case "OperationNotPermittedFault":
620
620
  case "com.amazonaws.swf#OperationNotPermittedFault":
621
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
621
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
622
622
  case "TypeDeprecatedFault":
623
623
  case "com.amazonaws.swf#TypeDeprecatedFault":
624
- throw await deserializeAws_json1_0TypeDeprecatedFaultResponse(parsedOutput, context);
624
+ throw await de_TypeDeprecatedFaultRes(parsedOutput, context);
625
625
  case "UnknownResourceFault":
626
626
  case "com.amazonaws.swf#UnknownResourceFault":
627
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
627
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
628
628
  default:
629
629
  const parsedBody = parsedOutput.body;
630
630
  (0, smithy_client_1.throwDefaultError)({
@@ -635,21 +635,21 @@ const deserializeAws_json1_0DeprecateWorkflowTypeCommandError = async (output, c
635
635
  });
636
636
  }
637
637
  };
638
- const deserializeAws_json1_0DescribeActivityTypeCommand = async (output, context) => {
638
+ const de_DescribeActivityTypeCommand = async (output, context) => {
639
639
  if (output.statusCode >= 300) {
640
- return deserializeAws_json1_0DescribeActivityTypeCommandError(output, context);
640
+ return de_DescribeActivityTypeCommandError(output, context);
641
641
  }
642
642
  const data = await parseBody(output.body, context);
643
643
  let contents = {};
644
- contents = deserializeAws_json1_0ActivityTypeDetail(data, context);
644
+ contents = de_ActivityTypeDetail(data, context);
645
645
  const response = {
646
646
  $metadata: deserializeMetadata(output),
647
647
  ...contents,
648
648
  };
649
649
  return Promise.resolve(response);
650
650
  };
651
- exports.deserializeAws_json1_0DescribeActivityTypeCommand = deserializeAws_json1_0DescribeActivityTypeCommand;
652
- const deserializeAws_json1_0DescribeActivityTypeCommandError = async (output, context) => {
651
+ exports.de_DescribeActivityTypeCommand = de_DescribeActivityTypeCommand;
652
+ const de_DescribeActivityTypeCommandError = async (output, context) => {
653
653
  const parsedOutput = {
654
654
  ...output,
655
655
  body: await parseErrorBody(output.body, context),
@@ -658,10 +658,10 @@ const deserializeAws_json1_0DescribeActivityTypeCommandError = async (output, co
658
658
  switch (errorCode) {
659
659
  case "OperationNotPermittedFault":
660
660
  case "com.amazonaws.swf#OperationNotPermittedFault":
661
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
661
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
662
662
  case "UnknownResourceFault":
663
663
  case "com.amazonaws.swf#UnknownResourceFault":
664
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
664
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
665
665
  default:
666
666
  const parsedBody = parsedOutput.body;
667
667
  (0, smithy_client_1.throwDefaultError)({
@@ -672,21 +672,21 @@ const deserializeAws_json1_0DescribeActivityTypeCommandError = async (output, co
672
672
  });
673
673
  }
674
674
  };
675
- const deserializeAws_json1_0DescribeDomainCommand = async (output, context) => {
675
+ const de_DescribeDomainCommand = async (output, context) => {
676
676
  if (output.statusCode >= 300) {
677
- return deserializeAws_json1_0DescribeDomainCommandError(output, context);
677
+ return de_DescribeDomainCommandError(output, context);
678
678
  }
679
679
  const data = await parseBody(output.body, context);
680
680
  let contents = {};
681
- contents = deserializeAws_json1_0DomainDetail(data, context);
681
+ contents = de_DomainDetail(data, context);
682
682
  const response = {
683
683
  $metadata: deserializeMetadata(output),
684
684
  ...contents,
685
685
  };
686
686
  return Promise.resolve(response);
687
687
  };
688
- exports.deserializeAws_json1_0DescribeDomainCommand = deserializeAws_json1_0DescribeDomainCommand;
689
- const deserializeAws_json1_0DescribeDomainCommandError = async (output, context) => {
688
+ exports.de_DescribeDomainCommand = de_DescribeDomainCommand;
689
+ const de_DescribeDomainCommandError = async (output, context) => {
690
690
  const parsedOutput = {
691
691
  ...output,
692
692
  body: await parseErrorBody(output.body, context),
@@ -695,10 +695,10 @@ const deserializeAws_json1_0DescribeDomainCommandError = async (output, context)
695
695
  switch (errorCode) {
696
696
  case "OperationNotPermittedFault":
697
697
  case "com.amazonaws.swf#OperationNotPermittedFault":
698
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
698
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
699
699
  case "UnknownResourceFault":
700
700
  case "com.amazonaws.swf#UnknownResourceFault":
701
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
701
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
702
702
  default:
703
703
  const parsedBody = parsedOutput.body;
704
704
  (0, smithy_client_1.throwDefaultError)({
@@ -709,21 +709,21 @@ const deserializeAws_json1_0DescribeDomainCommandError = async (output, context)
709
709
  });
710
710
  }
711
711
  };
712
- const deserializeAws_json1_0DescribeWorkflowExecutionCommand = async (output, context) => {
712
+ const de_DescribeWorkflowExecutionCommand = async (output, context) => {
713
713
  if (output.statusCode >= 300) {
714
- return deserializeAws_json1_0DescribeWorkflowExecutionCommandError(output, context);
714
+ return de_DescribeWorkflowExecutionCommandError(output, context);
715
715
  }
716
716
  const data = await parseBody(output.body, context);
717
717
  let contents = {};
718
- contents = deserializeAws_json1_0WorkflowExecutionDetail(data, context);
718
+ contents = de_WorkflowExecutionDetail(data, context);
719
719
  const response = {
720
720
  $metadata: deserializeMetadata(output),
721
721
  ...contents,
722
722
  };
723
723
  return Promise.resolve(response);
724
724
  };
725
- exports.deserializeAws_json1_0DescribeWorkflowExecutionCommand = deserializeAws_json1_0DescribeWorkflowExecutionCommand;
726
- const deserializeAws_json1_0DescribeWorkflowExecutionCommandError = async (output, context) => {
725
+ exports.de_DescribeWorkflowExecutionCommand = de_DescribeWorkflowExecutionCommand;
726
+ const de_DescribeWorkflowExecutionCommandError = async (output, context) => {
727
727
  const parsedOutput = {
728
728
  ...output,
729
729
  body: await parseErrorBody(output.body, context),
@@ -732,10 +732,10 @@ const deserializeAws_json1_0DescribeWorkflowExecutionCommandError = async (outpu
732
732
  switch (errorCode) {
733
733
  case "OperationNotPermittedFault":
734
734
  case "com.amazonaws.swf#OperationNotPermittedFault":
735
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
735
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
736
736
  case "UnknownResourceFault":
737
737
  case "com.amazonaws.swf#UnknownResourceFault":
738
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
738
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
739
739
  default:
740
740
  const parsedBody = parsedOutput.body;
741
741
  (0, smithy_client_1.throwDefaultError)({
@@ -746,21 +746,21 @@ const deserializeAws_json1_0DescribeWorkflowExecutionCommandError = async (outpu
746
746
  });
747
747
  }
748
748
  };
749
- const deserializeAws_json1_0DescribeWorkflowTypeCommand = async (output, context) => {
749
+ const de_DescribeWorkflowTypeCommand = async (output, context) => {
750
750
  if (output.statusCode >= 300) {
751
- return deserializeAws_json1_0DescribeWorkflowTypeCommandError(output, context);
751
+ return de_DescribeWorkflowTypeCommandError(output, context);
752
752
  }
753
753
  const data = await parseBody(output.body, context);
754
754
  let contents = {};
755
- contents = deserializeAws_json1_0WorkflowTypeDetail(data, context);
755
+ contents = de_WorkflowTypeDetail(data, context);
756
756
  const response = {
757
757
  $metadata: deserializeMetadata(output),
758
758
  ...contents,
759
759
  };
760
760
  return Promise.resolve(response);
761
761
  };
762
- exports.deserializeAws_json1_0DescribeWorkflowTypeCommand = deserializeAws_json1_0DescribeWorkflowTypeCommand;
763
- const deserializeAws_json1_0DescribeWorkflowTypeCommandError = async (output, context) => {
762
+ exports.de_DescribeWorkflowTypeCommand = de_DescribeWorkflowTypeCommand;
763
+ const de_DescribeWorkflowTypeCommandError = async (output, context) => {
764
764
  const parsedOutput = {
765
765
  ...output,
766
766
  body: await parseErrorBody(output.body, context),
@@ -769,10 +769,10 @@ const deserializeAws_json1_0DescribeWorkflowTypeCommandError = async (output, co
769
769
  switch (errorCode) {
770
770
  case "OperationNotPermittedFault":
771
771
  case "com.amazonaws.swf#OperationNotPermittedFault":
772
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
772
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
773
773
  case "UnknownResourceFault":
774
774
  case "com.amazonaws.swf#UnknownResourceFault":
775
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
775
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
776
776
  default:
777
777
  const parsedBody = parsedOutput.body;
778
778
  (0, smithy_client_1.throwDefaultError)({
@@ -783,21 +783,21 @@ const deserializeAws_json1_0DescribeWorkflowTypeCommandError = async (output, co
783
783
  });
784
784
  }
785
785
  };
786
- const deserializeAws_json1_0GetWorkflowExecutionHistoryCommand = async (output, context) => {
786
+ const de_GetWorkflowExecutionHistoryCommand = async (output, context) => {
787
787
  if (output.statusCode >= 300) {
788
- return deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError(output, context);
788
+ return de_GetWorkflowExecutionHistoryCommandError(output, context);
789
789
  }
790
790
  const data = await parseBody(output.body, context);
791
791
  let contents = {};
792
- contents = deserializeAws_json1_0History(data, context);
792
+ contents = de_History(data, context);
793
793
  const response = {
794
794
  $metadata: deserializeMetadata(output),
795
795
  ...contents,
796
796
  };
797
797
  return Promise.resolve(response);
798
798
  };
799
- exports.deserializeAws_json1_0GetWorkflowExecutionHistoryCommand = deserializeAws_json1_0GetWorkflowExecutionHistoryCommand;
800
- const deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = async (output, context) => {
799
+ exports.de_GetWorkflowExecutionHistoryCommand = de_GetWorkflowExecutionHistoryCommand;
800
+ const de_GetWorkflowExecutionHistoryCommandError = async (output, context) => {
801
801
  const parsedOutput = {
802
802
  ...output,
803
803
  body: await parseErrorBody(output.body, context),
@@ -806,10 +806,10 @@ const deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = async (out
806
806
  switch (errorCode) {
807
807
  case "OperationNotPermittedFault":
808
808
  case "com.amazonaws.swf#OperationNotPermittedFault":
809
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
809
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
810
810
  case "UnknownResourceFault":
811
811
  case "com.amazonaws.swf#UnknownResourceFault":
812
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
812
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
813
813
  default:
814
814
  const parsedBody = parsedOutput.body;
815
815
  (0, smithy_client_1.throwDefaultError)({
@@ -820,21 +820,21 @@ const deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = async (out
820
820
  });
821
821
  }
822
822
  };
823
- const deserializeAws_json1_0ListActivityTypesCommand = async (output, context) => {
823
+ const de_ListActivityTypesCommand = async (output, context) => {
824
824
  if (output.statusCode >= 300) {
825
- return deserializeAws_json1_0ListActivityTypesCommandError(output, context);
825
+ return de_ListActivityTypesCommandError(output, context);
826
826
  }
827
827
  const data = await parseBody(output.body, context);
828
828
  let contents = {};
829
- contents = deserializeAws_json1_0ActivityTypeInfos(data, context);
829
+ contents = de_ActivityTypeInfos(data, context);
830
830
  const response = {
831
831
  $metadata: deserializeMetadata(output),
832
832
  ...contents,
833
833
  };
834
834
  return Promise.resolve(response);
835
835
  };
836
- exports.deserializeAws_json1_0ListActivityTypesCommand = deserializeAws_json1_0ListActivityTypesCommand;
837
- const deserializeAws_json1_0ListActivityTypesCommandError = async (output, context) => {
836
+ exports.de_ListActivityTypesCommand = de_ListActivityTypesCommand;
837
+ const de_ListActivityTypesCommandError = async (output, context) => {
838
838
  const parsedOutput = {
839
839
  ...output,
840
840
  body: await parseErrorBody(output.body, context),
@@ -843,10 +843,10 @@ const deserializeAws_json1_0ListActivityTypesCommandError = async (output, conte
843
843
  switch (errorCode) {
844
844
  case "OperationNotPermittedFault":
845
845
  case "com.amazonaws.swf#OperationNotPermittedFault":
846
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
846
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
847
847
  case "UnknownResourceFault":
848
848
  case "com.amazonaws.swf#UnknownResourceFault":
849
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
849
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
850
850
  default:
851
851
  const parsedBody = parsedOutput.body;
852
852
  (0, smithy_client_1.throwDefaultError)({
@@ -857,21 +857,21 @@ const deserializeAws_json1_0ListActivityTypesCommandError = async (output, conte
857
857
  });
858
858
  }
859
859
  };
860
- const deserializeAws_json1_0ListClosedWorkflowExecutionsCommand = async (output, context) => {
860
+ const de_ListClosedWorkflowExecutionsCommand = async (output, context) => {
861
861
  if (output.statusCode >= 300) {
862
- return deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError(output, context);
862
+ return de_ListClosedWorkflowExecutionsCommandError(output, context);
863
863
  }
864
864
  const data = await parseBody(output.body, context);
865
865
  let contents = {};
866
- contents = deserializeAws_json1_0WorkflowExecutionInfos(data, context);
866
+ contents = de_WorkflowExecutionInfos(data, context);
867
867
  const response = {
868
868
  $metadata: deserializeMetadata(output),
869
869
  ...contents,
870
870
  };
871
871
  return Promise.resolve(response);
872
872
  };
873
- exports.deserializeAws_json1_0ListClosedWorkflowExecutionsCommand = deserializeAws_json1_0ListClosedWorkflowExecutionsCommand;
874
- const deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = async (output, context) => {
873
+ exports.de_ListClosedWorkflowExecutionsCommand = de_ListClosedWorkflowExecutionsCommand;
874
+ const de_ListClosedWorkflowExecutionsCommandError = async (output, context) => {
875
875
  const parsedOutput = {
876
876
  ...output,
877
877
  body: await parseErrorBody(output.body, context),
@@ -880,10 +880,10 @@ const deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = async (ou
880
880
  switch (errorCode) {
881
881
  case "OperationNotPermittedFault":
882
882
  case "com.amazonaws.swf#OperationNotPermittedFault":
883
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
883
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
884
884
  case "UnknownResourceFault":
885
885
  case "com.amazonaws.swf#UnknownResourceFault":
886
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
886
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
887
887
  default:
888
888
  const parsedBody = parsedOutput.body;
889
889
  (0, smithy_client_1.throwDefaultError)({
@@ -894,21 +894,21 @@ const deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = async (ou
894
894
  });
895
895
  }
896
896
  };
897
- const deserializeAws_json1_0ListDomainsCommand = async (output, context) => {
897
+ const de_ListDomainsCommand = async (output, context) => {
898
898
  if (output.statusCode >= 300) {
899
- return deserializeAws_json1_0ListDomainsCommandError(output, context);
899
+ return de_ListDomainsCommandError(output, context);
900
900
  }
901
901
  const data = await parseBody(output.body, context);
902
902
  let contents = {};
903
- contents = deserializeAws_json1_0DomainInfos(data, context);
903
+ contents = de_DomainInfos(data, context);
904
904
  const response = {
905
905
  $metadata: deserializeMetadata(output),
906
906
  ...contents,
907
907
  };
908
908
  return Promise.resolve(response);
909
909
  };
910
- exports.deserializeAws_json1_0ListDomainsCommand = deserializeAws_json1_0ListDomainsCommand;
911
- const deserializeAws_json1_0ListDomainsCommandError = async (output, context) => {
910
+ exports.de_ListDomainsCommand = de_ListDomainsCommand;
911
+ const de_ListDomainsCommandError = async (output, context) => {
912
912
  const parsedOutput = {
913
913
  ...output,
914
914
  body: await parseErrorBody(output.body, context),
@@ -917,7 +917,7 @@ const deserializeAws_json1_0ListDomainsCommandError = async (output, context) =>
917
917
  switch (errorCode) {
918
918
  case "OperationNotPermittedFault":
919
919
  case "com.amazonaws.swf#OperationNotPermittedFault":
920
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
920
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
921
921
  default:
922
922
  const parsedBody = parsedOutput.body;
923
923
  (0, smithy_client_1.throwDefaultError)({
@@ -928,21 +928,21 @@ const deserializeAws_json1_0ListDomainsCommandError = async (output, context) =>
928
928
  });
929
929
  }
930
930
  };
931
- const deserializeAws_json1_0ListOpenWorkflowExecutionsCommand = async (output, context) => {
931
+ const de_ListOpenWorkflowExecutionsCommand = async (output, context) => {
932
932
  if (output.statusCode >= 300) {
933
- return deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError(output, context);
933
+ return de_ListOpenWorkflowExecutionsCommandError(output, context);
934
934
  }
935
935
  const data = await parseBody(output.body, context);
936
936
  let contents = {};
937
- contents = deserializeAws_json1_0WorkflowExecutionInfos(data, context);
937
+ contents = de_WorkflowExecutionInfos(data, context);
938
938
  const response = {
939
939
  $metadata: deserializeMetadata(output),
940
940
  ...contents,
941
941
  };
942
942
  return Promise.resolve(response);
943
943
  };
944
- exports.deserializeAws_json1_0ListOpenWorkflowExecutionsCommand = deserializeAws_json1_0ListOpenWorkflowExecutionsCommand;
945
- const deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = async (output, context) => {
944
+ exports.de_ListOpenWorkflowExecutionsCommand = de_ListOpenWorkflowExecutionsCommand;
945
+ const de_ListOpenWorkflowExecutionsCommandError = async (output, context) => {
946
946
  const parsedOutput = {
947
947
  ...output,
948
948
  body: await parseErrorBody(output.body, context),
@@ -951,10 +951,10 @@ const deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = async (outp
951
951
  switch (errorCode) {
952
952
  case "OperationNotPermittedFault":
953
953
  case "com.amazonaws.swf#OperationNotPermittedFault":
954
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
954
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
955
955
  case "UnknownResourceFault":
956
956
  case "com.amazonaws.swf#UnknownResourceFault":
957
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
957
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
958
958
  default:
959
959
  const parsedBody = parsedOutput.body;
960
960
  (0, smithy_client_1.throwDefaultError)({
@@ -965,21 +965,21 @@ const deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = async (outp
965
965
  });
966
966
  }
967
967
  };
968
- const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
968
+ const de_ListTagsForResourceCommand = async (output, context) => {
969
969
  if (output.statusCode >= 300) {
970
- return deserializeAws_json1_0ListTagsForResourceCommandError(output, context);
970
+ return de_ListTagsForResourceCommandError(output, context);
971
971
  }
972
972
  const data = await parseBody(output.body, context);
973
973
  let contents = {};
974
- contents = deserializeAws_json1_0ListTagsForResourceOutput(data, context);
974
+ contents = de_ListTagsForResourceOutput(data, context);
975
975
  const response = {
976
976
  $metadata: deserializeMetadata(output),
977
977
  ...contents,
978
978
  };
979
979
  return Promise.resolve(response);
980
980
  };
981
- exports.deserializeAws_json1_0ListTagsForResourceCommand = deserializeAws_json1_0ListTagsForResourceCommand;
982
- const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, context) => {
981
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
982
+ const de_ListTagsForResourceCommandError = async (output, context) => {
983
983
  const parsedOutput = {
984
984
  ...output,
985
985
  body: await parseErrorBody(output.body, context),
@@ -988,13 +988,13 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
988
988
  switch (errorCode) {
989
989
  case "LimitExceededFault":
990
990
  case "com.amazonaws.swf#LimitExceededFault":
991
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
991
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
992
992
  case "OperationNotPermittedFault":
993
993
  case "com.amazonaws.swf#OperationNotPermittedFault":
994
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
994
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
995
995
  case "UnknownResourceFault":
996
996
  case "com.amazonaws.swf#UnknownResourceFault":
997
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
997
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
998
998
  default:
999
999
  const parsedBody = parsedOutput.body;
1000
1000
  (0, smithy_client_1.throwDefaultError)({
@@ -1005,21 +1005,21 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
1005
1005
  });
1006
1006
  }
1007
1007
  };
1008
- const deserializeAws_json1_0ListWorkflowTypesCommand = async (output, context) => {
1008
+ const de_ListWorkflowTypesCommand = async (output, context) => {
1009
1009
  if (output.statusCode >= 300) {
1010
- return deserializeAws_json1_0ListWorkflowTypesCommandError(output, context);
1010
+ return de_ListWorkflowTypesCommandError(output, context);
1011
1011
  }
1012
1012
  const data = await parseBody(output.body, context);
1013
1013
  let contents = {};
1014
- contents = deserializeAws_json1_0WorkflowTypeInfos(data, context);
1014
+ contents = de_WorkflowTypeInfos(data, context);
1015
1015
  const response = {
1016
1016
  $metadata: deserializeMetadata(output),
1017
1017
  ...contents,
1018
1018
  };
1019
1019
  return Promise.resolve(response);
1020
1020
  };
1021
- exports.deserializeAws_json1_0ListWorkflowTypesCommand = deserializeAws_json1_0ListWorkflowTypesCommand;
1022
- const deserializeAws_json1_0ListWorkflowTypesCommandError = async (output, context) => {
1021
+ exports.de_ListWorkflowTypesCommand = de_ListWorkflowTypesCommand;
1022
+ const de_ListWorkflowTypesCommandError = async (output, context) => {
1023
1023
  const parsedOutput = {
1024
1024
  ...output,
1025
1025
  body: await parseErrorBody(output.body, context),
@@ -1028,10 +1028,10 @@ const deserializeAws_json1_0ListWorkflowTypesCommandError = async (output, conte
1028
1028
  switch (errorCode) {
1029
1029
  case "OperationNotPermittedFault":
1030
1030
  case "com.amazonaws.swf#OperationNotPermittedFault":
1031
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1031
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1032
1032
  case "UnknownResourceFault":
1033
1033
  case "com.amazonaws.swf#UnknownResourceFault":
1034
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1034
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1035
1035
  default:
1036
1036
  const parsedBody = parsedOutput.body;
1037
1037
  (0, smithy_client_1.throwDefaultError)({
@@ -1042,21 +1042,21 @@ const deserializeAws_json1_0ListWorkflowTypesCommandError = async (output, conte
1042
1042
  });
1043
1043
  }
1044
1044
  };
1045
- const deserializeAws_json1_0PollForActivityTaskCommand = async (output, context) => {
1045
+ const de_PollForActivityTaskCommand = async (output, context) => {
1046
1046
  if (output.statusCode >= 300) {
1047
- return deserializeAws_json1_0PollForActivityTaskCommandError(output, context);
1047
+ return de_PollForActivityTaskCommandError(output, context);
1048
1048
  }
1049
1049
  const data = await parseBody(output.body, context);
1050
1050
  let contents = {};
1051
- contents = deserializeAws_json1_0ActivityTask(data, context);
1051
+ contents = de_ActivityTask(data, context);
1052
1052
  const response = {
1053
1053
  $metadata: deserializeMetadata(output),
1054
1054
  ...contents,
1055
1055
  };
1056
1056
  return Promise.resolve(response);
1057
1057
  };
1058
- exports.deserializeAws_json1_0PollForActivityTaskCommand = deserializeAws_json1_0PollForActivityTaskCommand;
1059
- const deserializeAws_json1_0PollForActivityTaskCommandError = async (output, context) => {
1058
+ exports.de_PollForActivityTaskCommand = de_PollForActivityTaskCommand;
1059
+ const de_PollForActivityTaskCommandError = async (output, context) => {
1060
1060
  const parsedOutput = {
1061
1061
  ...output,
1062
1062
  body: await parseErrorBody(output.body, context),
@@ -1065,13 +1065,13 @@ const deserializeAws_json1_0PollForActivityTaskCommandError = async (output, con
1065
1065
  switch (errorCode) {
1066
1066
  case "LimitExceededFault":
1067
1067
  case "com.amazonaws.swf#LimitExceededFault":
1068
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1068
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1069
1069
  case "OperationNotPermittedFault":
1070
1070
  case "com.amazonaws.swf#OperationNotPermittedFault":
1071
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1071
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1072
1072
  case "UnknownResourceFault":
1073
1073
  case "com.amazonaws.swf#UnknownResourceFault":
1074
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1074
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1075
1075
  default:
1076
1076
  const parsedBody = parsedOutput.body;
1077
1077
  (0, smithy_client_1.throwDefaultError)({
@@ -1082,21 +1082,21 @@ const deserializeAws_json1_0PollForActivityTaskCommandError = async (output, con
1082
1082
  });
1083
1083
  }
1084
1084
  };
1085
- const deserializeAws_json1_0PollForDecisionTaskCommand = async (output, context) => {
1085
+ const de_PollForDecisionTaskCommand = async (output, context) => {
1086
1086
  if (output.statusCode >= 300) {
1087
- return deserializeAws_json1_0PollForDecisionTaskCommandError(output, context);
1087
+ return de_PollForDecisionTaskCommandError(output, context);
1088
1088
  }
1089
1089
  const data = await parseBody(output.body, context);
1090
1090
  let contents = {};
1091
- contents = deserializeAws_json1_0DecisionTask(data, context);
1091
+ contents = de_DecisionTask(data, context);
1092
1092
  const response = {
1093
1093
  $metadata: deserializeMetadata(output),
1094
1094
  ...contents,
1095
1095
  };
1096
1096
  return Promise.resolve(response);
1097
1097
  };
1098
- exports.deserializeAws_json1_0PollForDecisionTaskCommand = deserializeAws_json1_0PollForDecisionTaskCommand;
1099
- const deserializeAws_json1_0PollForDecisionTaskCommandError = async (output, context) => {
1098
+ exports.de_PollForDecisionTaskCommand = de_PollForDecisionTaskCommand;
1099
+ const de_PollForDecisionTaskCommandError = async (output, context) => {
1100
1100
  const parsedOutput = {
1101
1101
  ...output,
1102
1102
  body: await parseErrorBody(output.body, context),
@@ -1105,13 +1105,13 @@ const deserializeAws_json1_0PollForDecisionTaskCommandError = async (output, con
1105
1105
  switch (errorCode) {
1106
1106
  case "LimitExceededFault":
1107
1107
  case "com.amazonaws.swf#LimitExceededFault":
1108
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1108
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1109
1109
  case "OperationNotPermittedFault":
1110
1110
  case "com.amazonaws.swf#OperationNotPermittedFault":
1111
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1111
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1112
1112
  case "UnknownResourceFault":
1113
1113
  case "com.amazonaws.swf#UnknownResourceFault":
1114
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1114
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1115
1115
  default:
1116
1116
  const parsedBody = parsedOutput.body;
1117
1117
  (0, smithy_client_1.throwDefaultError)({
@@ -1122,21 +1122,21 @@ const deserializeAws_json1_0PollForDecisionTaskCommandError = async (output, con
1122
1122
  });
1123
1123
  }
1124
1124
  };
1125
- const deserializeAws_json1_0RecordActivityTaskHeartbeatCommand = async (output, context) => {
1125
+ const de_RecordActivityTaskHeartbeatCommand = async (output, context) => {
1126
1126
  if (output.statusCode >= 300) {
1127
- return deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError(output, context);
1127
+ return de_RecordActivityTaskHeartbeatCommandError(output, context);
1128
1128
  }
1129
1129
  const data = await parseBody(output.body, context);
1130
1130
  let contents = {};
1131
- contents = deserializeAws_json1_0ActivityTaskStatus(data, context);
1131
+ contents = de_ActivityTaskStatus(data, context);
1132
1132
  const response = {
1133
1133
  $metadata: deserializeMetadata(output),
1134
1134
  ...contents,
1135
1135
  };
1136
1136
  return Promise.resolve(response);
1137
1137
  };
1138
- exports.deserializeAws_json1_0RecordActivityTaskHeartbeatCommand = deserializeAws_json1_0RecordActivityTaskHeartbeatCommand;
1139
- const deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = async (output, context) => {
1138
+ exports.de_RecordActivityTaskHeartbeatCommand = de_RecordActivityTaskHeartbeatCommand;
1139
+ const de_RecordActivityTaskHeartbeatCommandError = async (output, context) => {
1140
1140
  const parsedOutput = {
1141
1141
  ...output,
1142
1142
  body: await parseErrorBody(output.body, context),
@@ -1145,10 +1145,10 @@ const deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = async (out
1145
1145
  switch (errorCode) {
1146
1146
  case "OperationNotPermittedFault":
1147
1147
  case "com.amazonaws.swf#OperationNotPermittedFault":
1148
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1148
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1149
1149
  case "UnknownResourceFault":
1150
1150
  case "com.amazonaws.swf#UnknownResourceFault":
1151
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1151
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1152
1152
  default:
1153
1153
  const parsedBody = parsedOutput.body;
1154
1154
  (0, smithy_client_1.throwDefaultError)({
@@ -1159,9 +1159,9 @@ const deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = async (out
1159
1159
  });
1160
1160
  }
1161
1161
  };
1162
- const deserializeAws_json1_0RegisterActivityTypeCommand = async (output, context) => {
1162
+ const de_RegisterActivityTypeCommand = async (output, context) => {
1163
1163
  if (output.statusCode >= 300) {
1164
- return deserializeAws_json1_0RegisterActivityTypeCommandError(output, context);
1164
+ return de_RegisterActivityTypeCommandError(output, context);
1165
1165
  }
1166
1166
  await collectBody(output.body, context);
1167
1167
  const response = {
@@ -1169,8 +1169,8 @@ const deserializeAws_json1_0RegisterActivityTypeCommand = async (output, context
1169
1169
  };
1170
1170
  return Promise.resolve(response);
1171
1171
  };
1172
- exports.deserializeAws_json1_0RegisterActivityTypeCommand = deserializeAws_json1_0RegisterActivityTypeCommand;
1173
- const deserializeAws_json1_0RegisterActivityTypeCommandError = async (output, context) => {
1172
+ exports.de_RegisterActivityTypeCommand = de_RegisterActivityTypeCommand;
1173
+ const de_RegisterActivityTypeCommandError = async (output, context) => {
1174
1174
  const parsedOutput = {
1175
1175
  ...output,
1176
1176
  body: await parseErrorBody(output.body, context),
@@ -1179,16 +1179,16 @@ const deserializeAws_json1_0RegisterActivityTypeCommandError = async (output, co
1179
1179
  switch (errorCode) {
1180
1180
  case "LimitExceededFault":
1181
1181
  case "com.amazonaws.swf#LimitExceededFault":
1182
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1182
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1183
1183
  case "OperationNotPermittedFault":
1184
1184
  case "com.amazonaws.swf#OperationNotPermittedFault":
1185
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1185
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1186
1186
  case "TypeAlreadyExistsFault":
1187
1187
  case "com.amazonaws.swf#TypeAlreadyExistsFault":
1188
- throw await deserializeAws_json1_0TypeAlreadyExistsFaultResponse(parsedOutput, context);
1188
+ throw await de_TypeAlreadyExistsFaultRes(parsedOutput, context);
1189
1189
  case "UnknownResourceFault":
1190
1190
  case "com.amazonaws.swf#UnknownResourceFault":
1191
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1191
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1192
1192
  default:
1193
1193
  const parsedBody = parsedOutput.body;
1194
1194
  (0, smithy_client_1.throwDefaultError)({
@@ -1199,9 +1199,9 @@ const deserializeAws_json1_0RegisterActivityTypeCommandError = async (output, co
1199
1199
  });
1200
1200
  }
1201
1201
  };
1202
- const deserializeAws_json1_0RegisterDomainCommand = async (output, context) => {
1202
+ const de_RegisterDomainCommand = async (output, context) => {
1203
1203
  if (output.statusCode >= 300) {
1204
- return deserializeAws_json1_0RegisterDomainCommandError(output, context);
1204
+ return de_RegisterDomainCommandError(output, context);
1205
1205
  }
1206
1206
  await collectBody(output.body, context);
1207
1207
  const response = {
@@ -1209,8 +1209,8 @@ const deserializeAws_json1_0RegisterDomainCommand = async (output, context) => {
1209
1209
  };
1210
1210
  return Promise.resolve(response);
1211
1211
  };
1212
- exports.deserializeAws_json1_0RegisterDomainCommand = deserializeAws_json1_0RegisterDomainCommand;
1213
- const deserializeAws_json1_0RegisterDomainCommandError = async (output, context) => {
1212
+ exports.de_RegisterDomainCommand = de_RegisterDomainCommand;
1213
+ const de_RegisterDomainCommandError = async (output, context) => {
1214
1214
  const parsedOutput = {
1215
1215
  ...output,
1216
1216
  body: await parseErrorBody(output.body, context),
@@ -1219,16 +1219,16 @@ const deserializeAws_json1_0RegisterDomainCommandError = async (output, context)
1219
1219
  switch (errorCode) {
1220
1220
  case "DomainAlreadyExistsFault":
1221
1221
  case "com.amazonaws.swf#DomainAlreadyExistsFault":
1222
- throw await deserializeAws_json1_0DomainAlreadyExistsFaultResponse(parsedOutput, context);
1222
+ throw await de_DomainAlreadyExistsFaultRes(parsedOutput, context);
1223
1223
  case "LimitExceededFault":
1224
1224
  case "com.amazonaws.swf#LimitExceededFault":
1225
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1225
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1226
1226
  case "OperationNotPermittedFault":
1227
1227
  case "com.amazonaws.swf#OperationNotPermittedFault":
1228
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1228
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1229
1229
  case "TooManyTagsFault":
1230
1230
  case "com.amazonaws.swf#TooManyTagsFault":
1231
- throw await deserializeAws_json1_0TooManyTagsFaultResponse(parsedOutput, context);
1231
+ throw await de_TooManyTagsFaultRes(parsedOutput, context);
1232
1232
  default:
1233
1233
  const parsedBody = parsedOutput.body;
1234
1234
  (0, smithy_client_1.throwDefaultError)({
@@ -1239,9 +1239,9 @@ const deserializeAws_json1_0RegisterDomainCommandError = async (output, context)
1239
1239
  });
1240
1240
  }
1241
1241
  };
1242
- const deserializeAws_json1_0RegisterWorkflowTypeCommand = async (output, context) => {
1242
+ const de_RegisterWorkflowTypeCommand = async (output, context) => {
1243
1243
  if (output.statusCode >= 300) {
1244
- return deserializeAws_json1_0RegisterWorkflowTypeCommandError(output, context);
1244
+ return de_RegisterWorkflowTypeCommandError(output, context);
1245
1245
  }
1246
1246
  await collectBody(output.body, context);
1247
1247
  const response = {
@@ -1249,8 +1249,8 @@ const deserializeAws_json1_0RegisterWorkflowTypeCommand = async (output, context
1249
1249
  };
1250
1250
  return Promise.resolve(response);
1251
1251
  };
1252
- exports.deserializeAws_json1_0RegisterWorkflowTypeCommand = deserializeAws_json1_0RegisterWorkflowTypeCommand;
1253
- const deserializeAws_json1_0RegisterWorkflowTypeCommandError = async (output, context) => {
1252
+ exports.de_RegisterWorkflowTypeCommand = de_RegisterWorkflowTypeCommand;
1253
+ const de_RegisterWorkflowTypeCommandError = async (output, context) => {
1254
1254
  const parsedOutput = {
1255
1255
  ...output,
1256
1256
  body: await parseErrorBody(output.body, context),
@@ -1259,16 +1259,16 @@ const deserializeAws_json1_0RegisterWorkflowTypeCommandError = async (output, co
1259
1259
  switch (errorCode) {
1260
1260
  case "LimitExceededFault":
1261
1261
  case "com.amazonaws.swf#LimitExceededFault":
1262
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1262
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1263
1263
  case "OperationNotPermittedFault":
1264
1264
  case "com.amazonaws.swf#OperationNotPermittedFault":
1265
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1265
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1266
1266
  case "TypeAlreadyExistsFault":
1267
1267
  case "com.amazonaws.swf#TypeAlreadyExistsFault":
1268
- throw await deserializeAws_json1_0TypeAlreadyExistsFaultResponse(parsedOutput, context);
1268
+ throw await de_TypeAlreadyExistsFaultRes(parsedOutput, context);
1269
1269
  case "UnknownResourceFault":
1270
1270
  case "com.amazonaws.swf#UnknownResourceFault":
1271
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1271
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1272
1272
  default:
1273
1273
  const parsedBody = parsedOutput.body;
1274
1274
  (0, smithy_client_1.throwDefaultError)({
@@ -1279,9 +1279,9 @@ const deserializeAws_json1_0RegisterWorkflowTypeCommandError = async (output, co
1279
1279
  });
1280
1280
  }
1281
1281
  };
1282
- const deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = async (output, context) => {
1282
+ const de_RequestCancelWorkflowExecutionCommand = async (output, context) => {
1283
1283
  if (output.statusCode >= 300) {
1284
- return deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError(output, context);
1284
+ return de_RequestCancelWorkflowExecutionCommandError(output, context);
1285
1285
  }
1286
1286
  await collectBody(output.body, context);
1287
1287
  const response = {
@@ -1289,8 +1289,8 @@ const deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = async (outpu
1289
1289
  };
1290
1290
  return Promise.resolve(response);
1291
1291
  };
1292
- exports.deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = deserializeAws_json1_0RequestCancelWorkflowExecutionCommand;
1293
- const deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = async (output, context) => {
1292
+ exports.de_RequestCancelWorkflowExecutionCommand = de_RequestCancelWorkflowExecutionCommand;
1293
+ const de_RequestCancelWorkflowExecutionCommandError = async (output, context) => {
1294
1294
  const parsedOutput = {
1295
1295
  ...output,
1296
1296
  body: await parseErrorBody(output.body, context),
@@ -1299,10 +1299,10 @@ const deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = async (
1299
1299
  switch (errorCode) {
1300
1300
  case "OperationNotPermittedFault":
1301
1301
  case "com.amazonaws.swf#OperationNotPermittedFault":
1302
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1302
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1303
1303
  case "UnknownResourceFault":
1304
1304
  case "com.amazonaws.swf#UnknownResourceFault":
1305
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1305
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1306
1306
  default:
1307
1307
  const parsedBody = parsedOutput.body;
1308
1308
  (0, smithy_client_1.throwDefaultError)({
@@ -1313,9 +1313,9 @@ const deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = async (
1313
1313
  });
1314
1314
  }
1315
1315
  };
1316
- const deserializeAws_json1_0RespondActivityTaskCanceledCommand = async (output, context) => {
1316
+ const de_RespondActivityTaskCanceledCommand = async (output, context) => {
1317
1317
  if (output.statusCode >= 300) {
1318
- return deserializeAws_json1_0RespondActivityTaskCanceledCommandError(output, context);
1318
+ return de_RespondActivityTaskCanceledCommandError(output, context);
1319
1319
  }
1320
1320
  await collectBody(output.body, context);
1321
1321
  const response = {
@@ -1323,8 +1323,8 @@ const deserializeAws_json1_0RespondActivityTaskCanceledCommand = async (output,
1323
1323
  };
1324
1324
  return Promise.resolve(response);
1325
1325
  };
1326
- exports.deserializeAws_json1_0RespondActivityTaskCanceledCommand = deserializeAws_json1_0RespondActivityTaskCanceledCommand;
1327
- const deserializeAws_json1_0RespondActivityTaskCanceledCommandError = async (output, context) => {
1326
+ exports.de_RespondActivityTaskCanceledCommand = de_RespondActivityTaskCanceledCommand;
1327
+ const de_RespondActivityTaskCanceledCommandError = async (output, context) => {
1328
1328
  const parsedOutput = {
1329
1329
  ...output,
1330
1330
  body: await parseErrorBody(output.body, context),
@@ -1333,10 +1333,10 @@ const deserializeAws_json1_0RespondActivityTaskCanceledCommandError = async (out
1333
1333
  switch (errorCode) {
1334
1334
  case "OperationNotPermittedFault":
1335
1335
  case "com.amazonaws.swf#OperationNotPermittedFault":
1336
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1336
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1337
1337
  case "UnknownResourceFault":
1338
1338
  case "com.amazonaws.swf#UnknownResourceFault":
1339
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1339
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1340
1340
  default:
1341
1341
  const parsedBody = parsedOutput.body;
1342
1342
  (0, smithy_client_1.throwDefaultError)({
@@ -1347,9 +1347,9 @@ const deserializeAws_json1_0RespondActivityTaskCanceledCommandError = async (out
1347
1347
  });
1348
1348
  }
1349
1349
  };
1350
- const deserializeAws_json1_0RespondActivityTaskCompletedCommand = async (output, context) => {
1350
+ const de_RespondActivityTaskCompletedCommand = async (output, context) => {
1351
1351
  if (output.statusCode >= 300) {
1352
- return deserializeAws_json1_0RespondActivityTaskCompletedCommandError(output, context);
1352
+ return de_RespondActivityTaskCompletedCommandError(output, context);
1353
1353
  }
1354
1354
  await collectBody(output.body, context);
1355
1355
  const response = {
@@ -1357,8 +1357,8 @@ const deserializeAws_json1_0RespondActivityTaskCompletedCommand = async (output,
1357
1357
  };
1358
1358
  return Promise.resolve(response);
1359
1359
  };
1360
- exports.deserializeAws_json1_0RespondActivityTaskCompletedCommand = deserializeAws_json1_0RespondActivityTaskCompletedCommand;
1361
- const deserializeAws_json1_0RespondActivityTaskCompletedCommandError = async (output, context) => {
1360
+ exports.de_RespondActivityTaskCompletedCommand = de_RespondActivityTaskCompletedCommand;
1361
+ const de_RespondActivityTaskCompletedCommandError = async (output, context) => {
1362
1362
  const parsedOutput = {
1363
1363
  ...output,
1364
1364
  body: await parseErrorBody(output.body, context),
@@ -1367,10 +1367,10 @@ const deserializeAws_json1_0RespondActivityTaskCompletedCommandError = async (ou
1367
1367
  switch (errorCode) {
1368
1368
  case "OperationNotPermittedFault":
1369
1369
  case "com.amazonaws.swf#OperationNotPermittedFault":
1370
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1370
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1371
1371
  case "UnknownResourceFault":
1372
1372
  case "com.amazonaws.swf#UnknownResourceFault":
1373
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1373
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1374
1374
  default:
1375
1375
  const parsedBody = parsedOutput.body;
1376
1376
  (0, smithy_client_1.throwDefaultError)({
@@ -1381,9 +1381,9 @@ const deserializeAws_json1_0RespondActivityTaskCompletedCommandError = async (ou
1381
1381
  });
1382
1382
  }
1383
1383
  };
1384
- const deserializeAws_json1_0RespondActivityTaskFailedCommand = async (output, context) => {
1384
+ const de_RespondActivityTaskFailedCommand = async (output, context) => {
1385
1385
  if (output.statusCode >= 300) {
1386
- return deserializeAws_json1_0RespondActivityTaskFailedCommandError(output, context);
1386
+ return de_RespondActivityTaskFailedCommandError(output, context);
1387
1387
  }
1388
1388
  await collectBody(output.body, context);
1389
1389
  const response = {
@@ -1391,8 +1391,8 @@ const deserializeAws_json1_0RespondActivityTaskFailedCommand = async (output, co
1391
1391
  };
1392
1392
  return Promise.resolve(response);
1393
1393
  };
1394
- exports.deserializeAws_json1_0RespondActivityTaskFailedCommand = deserializeAws_json1_0RespondActivityTaskFailedCommand;
1395
- const deserializeAws_json1_0RespondActivityTaskFailedCommandError = async (output, context) => {
1394
+ exports.de_RespondActivityTaskFailedCommand = de_RespondActivityTaskFailedCommand;
1395
+ const de_RespondActivityTaskFailedCommandError = async (output, context) => {
1396
1396
  const parsedOutput = {
1397
1397
  ...output,
1398
1398
  body: await parseErrorBody(output.body, context),
@@ -1401,10 +1401,10 @@ const deserializeAws_json1_0RespondActivityTaskFailedCommandError = async (outpu
1401
1401
  switch (errorCode) {
1402
1402
  case "OperationNotPermittedFault":
1403
1403
  case "com.amazonaws.swf#OperationNotPermittedFault":
1404
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1404
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1405
1405
  case "UnknownResourceFault":
1406
1406
  case "com.amazonaws.swf#UnknownResourceFault":
1407
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1407
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1408
1408
  default:
1409
1409
  const parsedBody = parsedOutput.body;
1410
1410
  (0, smithy_client_1.throwDefaultError)({
@@ -1415,9 +1415,9 @@ const deserializeAws_json1_0RespondActivityTaskFailedCommandError = async (outpu
1415
1415
  });
1416
1416
  }
1417
1417
  };
1418
- const deserializeAws_json1_0RespondDecisionTaskCompletedCommand = async (output, context) => {
1418
+ const de_RespondDecisionTaskCompletedCommand = async (output, context) => {
1419
1419
  if (output.statusCode >= 300) {
1420
- return deserializeAws_json1_0RespondDecisionTaskCompletedCommandError(output, context);
1420
+ return de_RespondDecisionTaskCompletedCommandError(output, context);
1421
1421
  }
1422
1422
  await collectBody(output.body, context);
1423
1423
  const response = {
@@ -1425,8 +1425,8 @@ const deserializeAws_json1_0RespondDecisionTaskCompletedCommand = async (output,
1425
1425
  };
1426
1426
  return Promise.resolve(response);
1427
1427
  };
1428
- exports.deserializeAws_json1_0RespondDecisionTaskCompletedCommand = deserializeAws_json1_0RespondDecisionTaskCompletedCommand;
1429
- const deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = async (output, context) => {
1428
+ exports.de_RespondDecisionTaskCompletedCommand = de_RespondDecisionTaskCompletedCommand;
1429
+ const de_RespondDecisionTaskCompletedCommandError = async (output, context) => {
1430
1430
  const parsedOutput = {
1431
1431
  ...output,
1432
1432
  body: await parseErrorBody(output.body, context),
@@ -1435,10 +1435,10 @@ const deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = async (ou
1435
1435
  switch (errorCode) {
1436
1436
  case "OperationNotPermittedFault":
1437
1437
  case "com.amazonaws.swf#OperationNotPermittedFault":
1438
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1438
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1439
1439
  case "UnknownResourceFault":
1440
1440
  case "com.amazonaws.swf#UnknownResourceFault":
1441
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1441
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1442
1442
  default:
1443
1443
  const parsedBody = parsedOutput.body;
1444
1444
  (0, smithy_client_1.throwDefaultError)({
@@ -1449,9 +1449,9 @@ const deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = async (ou
1449
1449
  });
1450
1450
  }
1451
1451
  };
1452
- const deserializeAws_json1_0SignalWorkflowExecutionCommand = async (output, context) => {
1452
+ const de_SignalWorkflowExecutionCommand = async (output, context) => {
1453
1453
  if (output.statusCode >= 300) {
1454
- return deserializeAws_json1_0SignalWorkflowExecutionCommandError(output, context);
1454
+ return de_SignalWorkflowExecutionCommandError(output, context);
1455
1455
  }
1456
1456
  await collectBody(output.body, context);
1457
1457
  const response = {
@@ -1459,8 +1459,8 @@ const deserializeAws_json1_0SignalWorkflowExecutionCommand = async (output, cont
1459
1459
  };
1460
1460
  return Promise.resolve(response);
1461
1461
  };
1462
- exports.deserializeAws_json1_0SignalWorkflowExecutionCommand = deserializeAws_json1_0SignalWorkflowExecutionCommand;
1463
- const deserializeAws_json1_0SignalWorkflowExecutionCommandError = async (output, context) => {
1462
+ exports.de_SignalWorkflowExecutionCommand = de_SignalWorkflowExecutionCommand;
1463
+ const de_SignalWorkflowExecutionCommandError = async (output, context) => {
1464
1464
  const parsedOutput = {
1465
1465
  ...output,
1466
1466
  body: await parseErrorBody(output.body, context),
@@ -1469,10 +1469,10 @@ const deserializeAws_json1_0SignalWorkflowExecutionCommandError = async (output,
1469
1469
  switch (errorCode) {
1470
1470
  case "OperationNotPermittedFault":
1471
1471
  case "com.amazonaws.swf#OperationNotPermittedFault":
1472
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1472
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1473
1473
  case "UnknownResourceFault":
1474
1474
  case "com.amazonaws.swf#UnknownResourceFault":
1475
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1475
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1476
1476
  default:
1477
1477
  const parsedBody = parsedOutput.body;
1478
1478
  (0, smithy_client_1.throwDefaultError)({
@@ -1483,21 +1483,21 @@ const deserializeAws_json1_0SignalWorkflowExecutionCommandError = async (output,
1483
1483
  });
1484
1484
  }
1485
1485
  };
1486
- const deserializeAws_json1_0StartWorkflowExecutionCommand = async (output, context) => {
1486
+ const de_StartWorkflowExecutionCommand = async (output, context) => {
1487
1487
  if (output.statusCode >= 300) {
1488
- return deserializeAws_json1_0StartWorkflowExecutionCommandError(output, context);
1488
+ return de_StartWorkflowExecutionCommandError(output, context);
1489
1489
  }
1490
1490
  const data = await parseBody(output.body, context);
1491
1491
  let contents = {};
1492
- contents = deserializeAws_json1_0Run(data, context);
1492
+ contents = de_Run(data, context);
1493
1493
  const response = {
1494
1494
  $metadata: deserializeMetadata(output),
1495
1495
  ...contents,
1496
1496
  };
1497
1497
  return Promise.resolve(response);
1498
1498
  };
1499
- exports.deserializeAws_json1_0StartWorkflowExecutionCommand = deserializeAws_json1_0StartWorkflowExecutionCommand;
1500
- const deserializeAws_json1_0StartWorkflowExecutionCommandError = async (output, context) => {
1499
+ exports.de_StartWorkflowExecutionCommand = de_StartWorkflowExecutionCommand;
1500
+ const de_StartWorkflowExecutionCommandError = async (output, context) => {
1501
1501
  const parsedOutput = {
1502
1502
  ...output,
1503
1503
  body: await parseErrorBody(output.body, context),
@@ -1506,22 +1506,22 @@ const deserializeAws_json1_0StartWorkflowExecutionCommandError = async (output,
1506
1506
  switch (errorCode) {
1507
1507
  case "DefaultUndefinedFault":
1508
1508
  case "com.amazonaws.swf#DefaultUndefinedFault":
1509
- throw await deserializeAws_json1_0DefaultUndefinedFaultResponse(parsedOutput, context);
1509
+ throw await de_DefaultUndefinedFaultRes(parsedOutput, context);
1510
1510
  case "LimitExceededFault":
1511
1511
  case "com.amazonaws.swf#LimitExceededFault":
1512
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1512
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1513
1513
  case "OperationNotPermittedFault":
1514
1514
  case "com.amazonaws.swf#OperationNotPermittedFault":
1515
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1515
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1516
1516
  case "TypeDeprecatedFault":
1517
1517
  case "com.amazonaws.swf#TypeDeprecatedFault":
1518
- throw await deserializeAws_json1_0TypeDeprecatedFaultResponse(parsedOutput, context);
1518
+ throw await de_TypeDeprecatedFaultRes(parsedOutput, context);
1519
1519
  case "UnknownResourceFault":
1520
1520
  case "com.amazonaws.swf#UnknownResourceFault":
1521
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1521
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1522
1522
  case "WorkflowExecutionAlreadyStartedFault":
1523
1523
  case "com.amazonaws.swf#WorkflowExecutionAlreadyStartedFault":
1524
- throw await deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse(parsedOutput, context);
1524
+ throw await de_WorkflowExecutionAlreadyStartedFaultRes(parsedOutput, context);
1525
1525
  default:
1526
1526
  const parsedBody = parsedOutput.body;
1527
1527
  (0, smithy_client_1.throwDefaultError)({
@@ -1532,9 +1532,9 @@ const deserializeAws_json1_0StartWorkflowExecutionCommandError = async (output,
1532
1532
  });
1533
1533
  }
1534
1534
  };
1535
- const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
1535
+ const de_TagResourceCommand = async (output, context) => {
1536
1536
  if (output.statusCode >= 300) {
1537
- return deserializeAws_json1_0TagResourceCommandError(output, context);
1537
+ return de_TagResourceCommandError(output, context);
1538
1538
  }
1539
1539
  await collectBody(output.body, context);
1540
1540
  const response = {
@@ -1542,8 +1542,8 @@ const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
1542
1542
  };
1543
1543
  return Promise.resolve(response);
1544
1544
  };
1545
- exports.deserializeAws_json1_0TagResourceCommand = deserializeAws_json1_0TagResourceCommand;
1546
- const deserializeAws_json1_0TagResourceCommandError = async (output, context) => {
1545
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1546
+ const de_TagResourceCommandError = async (output, context) => {
1547
1547
  const parsedOutput = {
1548
1548
  ...output,
1549
1549
  body: await parseErrorBody(output.body, context),
@@ -1552,16 +1552,16 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1552
1552
  switch (errorCode) {
1553
1553
  case "LimitExceededFault":
1554
1554
  case "com.amazonaws.swf#LimitExceededFault":
1555
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1555
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1556
1556
  case "OperationNotPermittedFault":
1557
1557
  case "com.amazonaws.swf#OperationNotPermittedFault":
1558
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1558
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1559
1559
  case "TooManyTagsFault":
1560
1560
  case "com.amazonaws.swf#TooManyTagsFault":
1561
- throw await deserializeAws_json1_0TooManyTagsFaultResponse(parsedOutput, context);
1561
+ throw await de_TooManyTagsFaultRes(parsedOutput, context);
1562
1562
  case "UnknownResourceFault":
1563
1563
  case "com.amazonaws.swf#UnknownResourceFault":
1564
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1564
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1565
1565
  default:
1566
1566
  const parsedBody = parsedOutput.body;
1567
1567
  (0, smithy_client_1.throwDefaultError)({
@@ -1572,9 +1572,9 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1572
1572
  });
1573
1573
  }
1574
1574
  };
1575
- const deserializeAws_json1_0TerminateWorkflowExecutionCommand = async (output, context) => {
1575
+ const de_TerminateWorkflowExecutionCommand = async (output, context) => {
1576
1576
  if (output.statusCode >= 300) {
1577
- return deserializeAws_json1_0TerminateWorkflowExecutionCommandError(output, context);
1577
+ return de_TerminateWorkflowExecutionCommandError(output, context);
1578
1578
  }
1579
1579
  await collectBody(output.body, context);
1580
1580
  const response = {
@@ -1582,8 +1582,8 @@ const deserializeAws_json1_0TerminateWorkflowExecutionCommand = async (output, c
1582
1582
  };
1583
1583
  return Promise.resolve(response);
1584
1584
  };
1585
- exports.deserializeAws_json1_0TerminateWorkflowExecutionCommand = deserializeAws_json1_0TerminateWorkflowExecutionCommand;
1586
- const deserializeAws_json1_0TerminateWorkflowExecutionCommandError = async (output, context) => {
1585
+ exports.de_TerminateWorkflowExecutionCommand = de_TerminateWorkflowExecutionCommand;
1586
+ const de_TerminateWorkflowExecutionCommandError = async (output, context) => {
1587
1587
  const parsedOutput = {
1588
1588
  ...output,
1589
1589
  body: await parseErrorBody(output.body, context),
@@ -1592,10 +1592,10 @@ const deserializeAws_json1_0TerminateWorkflowExecutionCommandError = async (outp
1592
1592
  switch (errorCode) {
1593
1593
  case "OperationNotPermittedFault":
1594
1594
  case "com.amazonaws.swf#OperationNotPermittedFault":
1595
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1595
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1596
1596
  case "UnknownResourceFault":
1597
1597
  case "com.amazonaws.swf#UnknownResourceFault":
1598
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1598
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1599
1599
  default:
1600
1600
  const parsedBody = parsedOutput.body;
1601
1601
  (0, smithy_client_1.throwDefaultError)({
@@ -1606,9 +1606,9 @@ const deserializeAws_json1_0TerminateWorkflowExecutionCommandError = async (outp
1606
1606
  });
1607
1607
  }
1608
1608
  };
1609
- const deserializeAws_json1_0UndeprecateActivityTypeCommand = async (output, context) => {
1609
+ const de_UndeprecateActivityTypeCommand = async (output, context) => {
1610
1610
  if (output.statusCode >= 300) {
1611
- return deserializeAws_json1_0UndeprecateActivityTypeCommandError(output, context);
1611
+ return de_UndeprecateActivityTypeCommandError(output, context);
1612
1612
  }
1613
1613
  await collectBody(output.body, context);
1614
1614
  const response = {
@@ -1616,8 +1616,8 @@ const deserializeAws_json1_0UndeprecateActivityTypeCommand = async (output, cont
1616
1616
  };
1617
1617
  return Promise.resolve(response);
1618
1618
  };
1619
- exports.deserializeAws_json1_0UndeprecateActivityTypeCommand = deserializeAws_json1_0UndeprecateActivityTypeCommand;
1620
- const deserializeAws_json1_0UndeprecateActivityTypeCommandError = async (output, context) => {
1619
+ exports.de_UndeprecateActivityTypeCommand = de_UndeprecateActivityTypeCommand;
1620
+ const de_UndeprecateActivityTypeCommandError = async (output, context) => {
1621
1621
  const parsedOutput = {
1622
1622
  ...output,
1623
1623
  body: await parseErrorBody(output.body, context),
@@ -1626,13 +1626,13 @@ const deserializeAws_json1_0UndeprecateActivityTypeCommandError = async (output,
1626
1626
  switch (errorCode) {
1627
1627
  case "OperationNotPermittedFault":
1628
1628
  case "com.amazonaws.swf#OperationNotPermittedFault":
1629
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1629
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1630
1630
  case "TypeAlreadyExistsFault":
1631
1631
  case "com.amazonaws.swf#TypeAlreadyExistsFault":
1632
- throw await deserializeAws_json1_0TypeAlreadyExistsFaultResponse(parsedOutput, context);
1632
+ throw await de_TypeAlreadyExistsFaultRes(parsedOutput, context);
1633
1633
  case "UnknownResourceFault":
1634
1634
  case "com.amazonaws.swf#UnknownResourceFault":
1635
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1635
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1636
1636
  default:
1637
1637
  const parsedBody = parsedOutput.body;
1638
1638
  (0, smithy_client_1.throwDefaultError)({
@@ -1643,9 +1643,9 @@ const deserializeAws_json1_0UndeprecateActivityTypeCommandError = async (output,
1643
1643
  });
1644
1644
  }
1645
1645
  };
1646
- const deserializeAws_json1_0UndeprecateDomainCommand = async (output, context) => {
1646
+ const de_UndeprecateDomainCommand = async (output, context) => {
1647
1647
  if (output.statusCode >= 300) {
1648
- return deserializeAws_json1_0UndeprecateDomainCommandError(output, context);
1648
+ return de_UndeprecateDomainCommandError(output, context);
1649
1649
  }
1650
1650
  await collectBody(output.body, context);
1651
1651
  const response = {
@@ -1653,8 +1653,8 @@ const deserializeAws_json1_0UndeprecateDomainCommand = async (output, context) =
1653
1653
  };
1654
1654
  return Promise.resolve(response);
1655
1655
  };
1656
- exports.deserializeAws_json1_0UndeprecateDomainCommand = deserializeAws_json1_0UndeprecateDomainCommand;
1657
- const deserializeAws_json1_0UndeprecateDomainCommandError = async (output, context) => {
1656
+ exports.de_UndeprecateDomainCommand = de_UndeprecateDomainCommand;
1657
+ const de_UndeprecateDomainCommandError = async (output, context) => {
1658
1658
  const parsedOutput = {
1659
1659
  ...output,
1660
1660
  body: await parseErrorBody(output.body, context),
@@ -1663,13 +1663,13 @@ const deserializeAws_json1_0UndeprecateDomainCommandError = async (output, conte
1663
1663
  switch (errorCode) {
1664
1664
  case "DomainAlreadyExistsFault":
1665
1665
  case "com.amazonaws.swf#DomainAlreadyExistsFault":
1666
- throw await deserializeAws_json1_0DomainAlreadyExistsFaultResponse(parsedOutput, context);
1666
+ throw await de_DomainAlreadyExistsFaultRes(parsedOutput, context);
1667
1667
  case "OperationNotPermittedFault":
1668
1668
  case "com.amazonaws.swf#OperationNotPermittedFault":
1669
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1669
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1670
1670
  case "UnknownResourceFault":
1671
1671
  case "com.amazonaws.swf#UnknownResourceFault":
1672
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1672
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1673
1673
  default:
1674
1674
  const parsedBody = parsedOutput.body;
1675
1675
  (0, smithy_client_1.throwDefaultError)({
@@ -1680,9 +1680,9 @@ const deserializeAws_json1_0UndeprecateDomainCommandError = async (output, conte
1680
1680
  });
1681
1681
  }
1682
1682
  };
1683
- const deserializeAws_json1_0UndeprecateWorkflowTypeCommand = async (output, context) => {
1683
+ const de_UndeprecateWorkflowTypeCommand = async (output, context) => {
1684
1684
  if (output.statusCode >= 300) {
1685
- return deserializeAws_json1_0UndeprecateWorkflowTypeCommandError(output, context);
1685
+ return de_UndeprecateWorkflowTypeCommandError(output, context);
1686
1686
  }
1687
1687
  await collectBody(output.body, context);
1688
1688
  const response = {
@@ -1690,8 +1690,8 @@ const deserializeAws_json1_0UndeprecateWorkflowTypeCommand = async (output, cont
1690
1690
  };
1691
1691
  return Promise.resolve(response);
1692
1692
  };
1693
- exports.deserializeAws_json1_0UndeprecateWorkflowTypeCommand = deserializeAws_json1_0UndeprecateWorkflowTypeCommand;
1694
- const deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = async (output, context) => {
1693
+ exports.de_UndeprecateWorkflowTypeCommand = de_UndeprecateWorkflowTypeCommand;
1694
+ const de_UndeprecateWorkflowTypeCommandError = async (output, context) => {
1695
1695
  const parsedOutput = {
1696
1696
  ...output,
1697
1697
  body: await parseErrorBody(output.body, context),
@@ -1700,13 +1700,13 @@ const deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = async (output,
1700
1700
  switch (errorCode) {
1701
1701
  case "OperationNotPermittedFault":
1702
1702
  case "com.amazonaws.swf#OperationNotPermittedFault":
1703
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1703
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1704
1704
  case "TypeAlreadyExistsFault":
1705
1705
  case "com.amazonaws.swf#TypeAlreadyExistsFault":
1706
- throw await deserializeAws_json1_0TypeAlreadyExistsFaultResponse(parsedOutput, context);
1706
+ throw await de_TypeAlreadyExistsFaultRes(parsedOutput, context);
1707
1707
  case "UnknownResourceFault":
1708
1708
  case "com.amazonaws.swf#UnknownResourceFault":
1709
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1709
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1710
1710
  default:
1711
1711
  const parsedBody = parsedOutput.body;
1712
1712
  (0, smithy_client_1.throwDefaultError)({
@@ -1717,9 +1717,9 @@ const deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = async (output,
1717
1717
  });
1718
1718
  }
1719
1719
  };
1720
- const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
1720
+ const de_UntagResourceCommand = async (output, context) => {
1721
1721
  if (output.statusCode >= 300) {
1722
- return deserializeAws_json1_0UntagResourceCommandError(output, context);
1722
+ return de_UntagResourceCommandError(output, context);
1723
1723
  }
1724
1724
  await collectBody(output.body, context);
1725
1725
  const response = {
@@ -1727,8 +1727,8 @@ const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
1727
1727
  };
1728
1728
  return Promise.resolve(response);
1729
1729
  };
1730
- exports.deserializeAws_json1_0UntagResourceCommand = deserializeAws_json1_0UntagResourceCommand;
1731
- const deserializeAws_json1_0UntagResourceCommandError = async (output, context) => {
1730
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1731
+ const de_UntagResourceCommandError = async (output, context) => {
1732
1732
  const parsedOutput = {
1733
1733
  ...output,
1734
1734
  body: await parseErrorBody(output.body, context),
@@ -1737,13 +1737,13 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1737
1737
  switch (errorCode) {
1738
1738
  case "LimitExceededFault":
1739
1739
  case "com.amazonaws.swf#LimitExceededFault":
1740
- throw await deserializeAws_json1_0LimitExceededFaultResponse(parsedOutput, context);
1740
+ throw await de_LimitExceededFaultRes(parsedOutput, context);
1741
1741
  case "OperationNotPermittedFault":
1742
1742
  case "com.amazonaws.swf#OperationNotPermittedFault":
1743
- throw await deserializeAws_json1_0OperationNotPermittedFaultResponse(parsedOutput, context);
1743
+ throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
1744
1744
  case "UnknownResourceFault":
1745
1745
  case "com.amazonaws.swf#UnknownResourceFault":
1746
- throw await deserializeAws_json1_0UnknownResourceFaultResponse(parsedOutput, context);
1746
+ throw await de_UnknownResourceFaultRes(parsedOutput, context);
1747
1747
  default:
1748
1748
  const parsedBody = parsedOutput.body;
1749
1749
  (0, smithy_client_1.throwDefaultError)({
@@ -1754,123 +1754,123 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1754
1754
  });
1755
1755
  }
1756
1756
  };
1757
- const deserializeAws_json1_0DefaultUndefinedFaultResponse = async (parsedOutput, context) => {
1757
+ const de_DefaultUndefinedFaultRes = async (parsedOutput, context) => {
1758
1758
  const body = parsedOutput.body;
1759
- const deserialized = deserializeAws_json1_0DefaultUndefinedFault(body, context);
1759
+ const deserialized = de_DefaultUndefinedFault(body, context);
1760
1760
  const exception = new models_0_1.DefaultUndefinedFault({
1761
1761
  $metadata: deserializeMetadata(parsedOutput),
1762
1762
  ...deserialized,
1763
1763
  });
1764
1764
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1765
1765
  };
1766
- const deserializeAws_json1_0DomainAlreadyExistsFaultResponse = async (parsedOutput, context) => {
1766
+ const de_DomainAlreadyExistsFaultRes = async (parsedOutput, context) => {
1767
1767
  const body = parsedOutput.body;
1768
- const deserialized = deserializeAws_json1_0DomainAlreadyExistsFault(body, context);
1768
+ const deserialized = de_DomainAlreadyExistsFault(body, context);
1769
1769
  const exception = new models_0_1.DomainAlreadyExistsFault({
1770
1770
  $metadata: deserializeMetadata(parsedOutput),
1771
1771
  ...deserialized,
1772
1772
  });
1773
1773
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1774
1774
  };
1775
- const deserializeAws_json1_0DomainDeprecatedFaultResponse = async (parsedOutput, context) => {
1775
+ const de_DomainDeprecatedFaultRes = async (parsedOutput, context) => {
1776
1776
  const body = parsedOutput.body;
1777
- const deserialized = deserializeAws_json1_0DomainDeprecatedFault(body, context);
1777
+ const deserialized = de_DomainDeprecatedFault(body, context);
1778
1778
  const exception = new models_0_1.DomainDeprecatedFault({
1779
1779
  $metadata: deserializeMetadata(parsedOutput),
1780
1780
  ...deserialized,
1781
1781
  });
1782
1782
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1783
1783
  };
1784
- const deserializeAws_json1_0LimitExceededFaultResponse = async (parsedOutput, context) => {
1784
+ const de_LimitExceededFaultRes = async (parsedOutput, context) => {
1785
1785
  const body = parsedOutput.body;
1786
- const deserialized = deserializeAws_json1_0LimitExceededFault(body, context);
1786
+ const deserialized = de_LimitExceededFault(body, context);
1787
1787
  const exception = new models_0_1.LimitExceededFault({
1788
1788
  $metadata: deserializeMetadata(parsedOutput),
1789
1789
  ...deserialized,
1790
1790
  });
1791
1791
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1792
1792
  };
1793
- const deserializeAws_json1_0OperationNotPermittedFaultResponse = async (parsedOutput, context) => {
1793
+ const de_OperationNotPermittedFaultRes = async (parsedOutput, context) => {
1794
1794
  const body = parsedOutput.body;
1795
- const deserialized = deserializeAws_json1_0OperationNotPermittedFault(body, context);
1795
+ const deserialized = de_OperationNotPermittedFault(body, context);
1796
1796
  const exception = new models_0_1.OperationNotPermittedFault({
1797
1797
  $metadata: deserializeMetadata(parsedOutput),
1798
1798
  ...deserialized,
1799
1799
  });
1800
1800
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1801
1801
  };
1802
- const deserializeAws_json1_0TooManyTagsFaultResponse = async (parsedOutput, context) => {
1802
+ const de_TooManyTagsFaultRes = async (parsedOutput, context) => {
1803
1803
  const body = parsedOutput.body;
1804
- const deserialized = deserializeAws_json1_0TooManyTagsFault(body, context);
1804
+ const deserialized = de_TooManyTagsFault(body, context);
1805
1805
  const exception = new models_0_1.TooManyTagsFault({
1806
1806
  $metadata: deserializeMetadata(parsedOutput),
1807
1807
  ...deserialized,
1808
1808
  });
1809
1809
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1810
1810
  };
1811
- const deserializeAws_json1_0TypeAlreadyExistsFaultResponse = async (parsedOutput, context) => {
1811
+ const de_TypeAlreadyExistsFaultRes = async (parsedOutput, context) => {
1812
1812
  const body = parsedOutput.body;
1813
- const deserialized = deserializeAws_json1_0TypeAlreadyExistsFault(body, context);
1813
+ const deserialized = de_TypeAlreadyExistsFault(body, context);
1814
1814
  const exception = new models_0_1.TypeAlreadyExistsFault({
1815
1815
  $metadata: deserializeMetadata(parsedOutput),
1816
1816
  ...deserialized,
1817
1817
  });
1818
1818
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1819
1819
  };
1820
- const deserializeAws_json1_0TypeDeprecatedFaultResponse = async (parsedOutput, context) => {
1820
+ const de_TypeDeprecatedFaultRes = async (parsedOutput, context) => {
1821
1821
  const body = parsedOutput.body;
1822
- const deserialized = deserializeAws_json1_0TypeDeprecatedFault(body, context);
1822
+ const deserialized = de_TypeDeprecatedFault(body, context);
1823
1823
  const exception = new models_0_1.TypeDeprecatedFault({
1824
1824
  $metadata: deserializeMetadata(parsedOutput),
1825
1825
  ...deserialized,
1826
1826
  });
1827
1827
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1828
1828
  };
1829
- const deserializeAws_json1_0UnknownResourceFaultResponse = async (parsedOutput, context) => {
1829
+ const de_UnknownResourceFaultRes = async (parsedOutput, context) => {
1830
1830
  const body = parsedOutput.body;
1831
- const deserialized = deserializeAws_json1_0UnknownResourceFault(body, context);
1831
+ const deserialized = de_UnknownResourceFault(body, context);
1832
1832
  const exception = new models_0_1.UnknownResourceFault({
1833
1833
  $metadata: deserializeMetadata(parsedOutput),
1834
1834
  ...deserialized,
1835
1835
  });
1836
1836
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1837
1837
  };
1838
- const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = async (parsedOutput, context) => {
1838
+ const de_WorkflowExecutionAlreadyStartedFaultRes = async (parsedOutput, context) => {
1839
1839
  const body = parsedOutput.body;
1840
- const deserialized = deserializeAws_json1_0WorkflowExecutionAlreadyStartedFault(body, context);
1840
+ const deserialized = de_WorkflowExecutionAlreadyStartedFault(body, context);
1841
1841
  const exception = new models_0_1.WorkflowExecutionAlreadyStartedFault({
1842
1842
  $metadata: deserializeMetadata(parsedOutput),
1843
1843
  ...deserialized,
1844
1844
  });
1845
1845
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1846
1846
  };
1847
- const serializeAws_json1_0ActivityType = (input, context) => {
1847
+ const se_ActivityType = (input, context) => {
1848
1848
  return {
1849
1849
  ...(input.name != null && { name: input.name }),
1850
1850
  ...(input.version != null && { version: input.version }),
1851
1851
  };
1852
1852
  };
1853
- const serializeAws_json1_0CancelTimerDecisionAttributes = (input, context) => {
1853
+ const se_CancelTimerDecisionAttributes = (input, context) => {
1854
1854
  return {
1855
1855
  ...(input.timerId != null && { timerId: input.timerId }),
1856
1856
  };
1857
1857
  };
1858
- const serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes = (input, context) => {
1858
+ const se_CancelWorkflowExecutionDecisionAttributes = (input, context) => {
1859
1859
  return {
1860
1860
  ...(input.details != null && { details: input.details }),
1861
1861
  };
1862
1862
  };
1863
- const serializeAws_json1_0CloseStatusFilter = (input, context) => {
1863
+ const se_CloseStatusFilter = (input, context) => {
1864
1864
  return {
1865
1865
  ...(input.status != null && { status: input.status }),
1866
1866
  };
1867
1867
  };
1868
- const serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes = (input, context) => {
1868
+ const se_CompleteWorkflowExecutionDecisionAttributes = (input, context) => {
1869
1869
  return {
1870
1870
  ...(input.result != null && { result: input.result }),
1871
1871
  };
1872
1872
  };
1873
- const serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes = (input, context) => {
1873
+ const se_ContinueAsNewWorkflowExecutionDecisionAttributes = (input, context) => {
1874
1874
  return {
1875
1875
  ...(input.childPolicy != null && { childPolicy: input.childPolicy }),
1876
1876
  ...(input.executionStartToCloseTimeout != null && {
@@ -1878,170 +1878,164 @@ const serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes = (in
1878
1878
  }),
1879
1879
  ...(input.input != null && { input: input.input }),
1880
1880
  ...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
1881
- ...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
1882
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
1881
+ ...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
1882
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
1883
1883
  ...(input.taskPriority != null && { taskPriority: input.taskPriority }),
1884
1884
  ...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
1885
1885
  ...(input.workflowTypeVersion != null && { workflowTypeVersion: input.workflowTypeVersion }),
1886
1886
  };
1887
1887
  };
1888
- const serializeAws_json1_0CountClosedWorkflowExecutionsInput = (input, context) => {
1888
+ const se_CountClosedWorkflowExecutionsInput = (input, context) => {
1889
1889
  return {
1890
1890
  ...(input.closeStatusFilter != null && {
1891
- closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
1892
- }),
1893
- ...(input.closeTimeFilter != null && {
1894
- closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
1891
+ closeStatusFilter: se_CloseStatusFilter(input.closeStatusFilter, context),
1895
1892
  }),
1893
+ ...(input.closeTimeFilter != null && { closeTimeFilter: se_ExecutionTimeFilter(input.closeTimeFilter, context) }),
1896
1894
  ...(input.domain != null && { domain: input.domain }),
1897
1895
  ...(input.executionFilter != null && {
1898
- executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
1899
- }),
1900
- ...(input.startTimeFilter != null && {
1901
- startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
1896
+ executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
1902
1897
  }),
1903
- ...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
1904
- ...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
1898
+ ...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
1899
+ ...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
1900
+ ...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
1905
1901
  };
1906
1902
  };
1907
- const serializeAws_json1_0CountOpenWorkflowExecutionsInput = (input, context) => {
1903
+ const se_CountOpenWorkflowExecutionsInput = (input, context) => {
1908
1904
  return {
1909
1905
  ...(input.domain != null && { domain: input.domain }),
1910
1906
  ...(input.executionFilter != null && {
1911
- executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
1912
- }),
1913
- ...(input.startTimeFilter != null && {
1914
- startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
1907
+ executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
1915
1908
  }),
1916
- ...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
1917
- ...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
1909
+ ...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
1910
+ ...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
1911
+ ...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
1918
1912
  };
1919
1913
  };
1920
- const serializeAws_json1_0CountPendingActivityTasksInput = (input, context) => {
1914
+ const se_CountPendingActivityTasksInput = (input, context) => {
1921
1915
  return {
1922
1916
  ...(input.domain != null && { domain: input.domain }),
1923
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
1917
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
1924
1918
  };
1925
1919
  };
1926
- const serializeAws_json1_0CountPendingDecisionTasksInput = (input, context) => {
1920
+ const se_CountPendingDecisionTasksInput = (input, context) => {
1927
1921
  return {
1928
1922
  ...(input.domain != null && { domain: input.domain }),
1929
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
1923
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
1930
1924
  };
1931
1925
  };
1932
- const serializeAws_json1_0Decision = (input, context) => {
1926
+ const se_Decision = (input, context) => {
1933
1927
  return {
1934
1928
  ...(input.cancelTimerDecisionAttributes != null && {
1935
- cancelTimerDecisionAttributes: serializeAws_json1_0CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
1929
+ cancelTimerDecisionAttributes: se_CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
1936
1930
  }),
1937
1931
  ...(input.cancelWorkflowExecutionDecisionAttributes != null && {
1938
- cancelWorkflowExecutionDecisionAttributes: serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
1932
+ cancelWorkflowExecutionDecisionAttributes: se_CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
1939
1933
  }),
1940
1934
  ...(input.completeWorkflowExecutionDecisionAttributes != null && {
1941
- completeWorkflowExecutionDecisionAttributes: serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
1935
+ completeWorkflowExecutionDecisionAttributes: se_CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
1942
1936
  }),
1943
1937
  ...(input.continueAsNewWorkflowExecutionDecisionAttributes != null && {
1944
- continueAsNewWorkflowExecutionDecisionAttributes: serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
1938
+ continueAsNewWorkflowExecutionDecisionAttributes: se_ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
1945
1939
  }),
1946
1940
  ...(input.decisionType != null && { decisionType: input.decisionType }),
1947
1941
  ...(input.failWorkflowExecutionDecisionAttributes != null && {
1948
- failWorkflowExecutionDecisionAttributes: serializeAws_json1_0FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
1942
+ failWorkflowExecutionDecisionAttributes: se_FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
1949
1943
  }),
1950
1944
  ...(input.recordMarkerDecisionAttributes != null && {
1951
- recordMarkerDecisionAttributes: serializeAws_json1_0RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
1945
+ recordMarkerDecisionAttributes: se_RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
1952
1946
  }),
1953
1947
  ...(input.requestCancelActivityTaskDecisionAttributes != null && {
1954
- requestCancelActivityTaskDecisionAttributes: serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
1948
+ requestCancelActivityTaskDecisionAttributes: se_RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
1955
1949
  }),
1956
1950
  ...(input.requestCancelExternalWorkflowExecutionDecisionAttributes != null && {
1957
- requestCancelExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
1951
+ requestCancelExternalWorkflowExecutionDecisionAttributes: se_RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
1958
1952
  }),
1959
1953
  ...(input.scheduleActivityTaskDecisionAttributes != null && {
1960
- scheduleActivityTaskDecisionAttributes: serializeAws_json1_0ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
1954
+ scheduleActivityTaskDecisionAttributes: se_ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
1961
1955
  }),
1962
1956
  ...(input.scheduleLambdaFunctionDecisionAttributes != null && {
1963
- scheduleLambdaFunctionDecisionAttributes: serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
1957
+ scheduleLambdaFunctionDecisionAttributes: se_ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
1964
1958
  }),
1965
1959
  ...(input.signalExternalWorkflowExecutionDecisionAttributes != null && {
1966
- signalExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
1960
+ signalExternalWorkflowExecutionDecisionAttributes: se_SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
1967
1961
  }),
1968
1962
  ...(input.startChildWorkflowExecutionDecisionAttributes != null && {
1969
- startChildWorkflowExecutionDecisionAttributes: serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
1963
+ startChildWorkflowExecutionDecisionAttributes: se_StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
1970
1964
  }),
1971
1965
  ...(input.startTimerDecisionAttributes != null && {
1972
- startTimerDecisionAttributes: serializeAws_json1_0StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
1966
+ startTimerDecisionAttributes: se_StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
1973
1967
  }),
1974
1968
  };
1975
1969
  };
1976
- const serializeAws_json1_0DecisionList = (input, context) => {
1970
+ const se_DecisionList = (input, context) => {
1977
1971
  return input
1978
1972
  .filter((e) => e != null)
1979
1973
  .map((entry) => {
1980
- return serializeAws_json1_0Decision(entry, context);
1974
+ return se_Decision(entry, context);
1981
1975
  });
1982
1976
  };
1983
- const serializeAws_json1_0DeprecateActivityTypeInput = (input, context) => {
1977
+ const se_DeprecateActivityTypeInput = (input, context) => {
1984
1978
  return {
1985
- ...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
1979
+ ...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
1986
1980
  ...(input.domain != null && { domain: input.domain }),
1987
1981
  };
1988
1982
  };
1989
- const serializeAws_json1_0DeprecateDomainInput = (input, context) => {
1983
+ const se_DeprecateDomainInput = (input, context) => {
1990
1984
  return {
1991
1985
  ...(input.name != null && { name: input.name }),
1992
1986
  };
1993
1987
  };
1994
- const serializeAws_json1_0DeprecateWorkflowTypeInput = (input, context) => {
1988
+ const se_DeprecateWorkflowTypeInput = (input, context) => {
1995
1989
  return {
1996
1990
  ...(input.domain != null && { domain: input.domain }),
1997
- ...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
1991
+ ...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
1998
1992
  };
1999
1993
  };
2000
- const serializeAws_json1_0DescribeActivityTypeInput = (input, context) => {
1994
+ const se_DescribeActivityTypeInput = (input, context) => {
2001
1995
  return {
2002
- ...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
1996
+ ...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
2003
1997
  ...(input.domain != null && { domain: input.domain }),
2004
1998
  };
2005
1999
  };
2006
- const serializeAws_json1_0DescribeDomainInput = (input, context) => {
2000
+ const se_DescribeDomainInput = (input, context) => {
2007
2001
  return {
2008
2002
  ...(input.name != null && { name: input.name }),
2009
2003
  };
2010
2004
  };
2011
- const serializeAws_json1_0DescribeWorkflowExecutionInput = (input, context) => {
2005
+ const se_DescribeWorkflowExecutionInput = (input, context) => {
2012
2006
  return {
2013
2007
  ...(input.domain != null && { domain: input.domain }),
2014
- ...(input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }),
2008
+ ...(input.execution != null && { execution: se_WorkflowExecution(input.execution, context) }),
2015
2009
  };
2016
2010
  };
2017
- const serializeAws_json1_0DescribeWorkflowTypeInput = (input, context) => {
2011
+ const se_DescribeWorkflowTypeInput = (input, context) => {
2018
2012
  return {
2019
2013
  ...(input.domain != null && { domain: input.domain }),
2020
- ...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
2014
+ ...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
2021
2015
  };
2022
2016
  };
2023
- const serializeAws_json1_0ExecutionTimeFilter = (input, context) => {
2017
+ const se_ExecutionTimeFilter = (input, context) => {
2024
2018
  return {
2025
2019
  ...(input.latestDate != null && { latestDate: Math.round(input.latestDate.getTime() / 1000) }),
2026
2020
  ...(input.oldestDate != null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }),
2027
2021
  };
2028
2022
  };
2029
- const serializeAws_json1_0FailWorkflowExecutionDecisionAttributes = (input, context) => {
2023
+ const se_FailWorkflowExecutionDecisionAttributes = (input, context) => {
2030
2024
  return {
2031
2025
  ...(input.details != null && { details: input.details }),
2032
2026
  ...(input.reason != null && { reason: input.reason }),
2033
2027
  };
2034
2028
  };
2035
- const serializeAws_json1_0GetWorkflowExecutionHistoryInput = (input, context) => {
2029
+ const se_GetWorkflowExecutionHistoryInput = (input, context) => {
2036
2030
  return {
2037
2031
  ...(input.domain != null && { domain: input.domain }),
2038
- ...(input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }),
2032
+ ...(input.execution != null && { execution: se_WorkflowExecution(input.execution, context) }),
2039
2033
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
2040
2034
  ...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
2041
2035
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2042
2036
  };
2043
2037
  };
2044
- const serializeAws_json1_0ListActivityTypesInput = (input, context) => {
2038
+ const se_ListActivityTypesInput = (input, context) => {
2045
2039
  return {
2046
2040
  ...(input.domain != null && { domain: input.domain }),
2047
2041
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
@@ -2051,29 +2045,25 @@ const serializeAws_json1_0ListActivityTypesInput = (input, context) => {
2051
2045
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2052
2046
  };
2053
2047
  };
2054
- const serializeAws_json1_0ListClosedWorkflowExecutionsInput = (input, context) => {
2048
+ const se_ListClosedWorkflowExecutionsInput = (input, context) => {
2055
2049
  return {
2056
2050
  ...(input.closeStatusFilter != null && {
2057
- closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
2058
- }),
2059
- ...(input.closeTimeFilter != null && {
2060
- closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
2051
+ closeStatusFilter: se_CloseStatusFilter(input.closeStatusFilter, context),
2061
2052
  }),
2053
+ ...(input.closeTimeFilter != null && { closeTimeFilter: se_ExecutionTimeFilter(input.closeTimeFilter, context) }),
2062
2054
  ...(input.domain != null && { domain: input.domain }),
2063
2055
  ...(input.executionFilter != null && {
2064
- executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
2056
+ executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
2065
2057
  }),
2066
2058
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
2067
2059
  ...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
2068
2060
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2069
- ...(input.startTimeFilter != null && {
2070
- startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
2071
- }),
2072
- ...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
2073
- ...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
2061
+ ...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
2062
+ ...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
2063
+ ...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
2074
2064
  };
2075
2065
  };
2076
- const serializeAws_json1_0ListDomainsInput = (input, context) => {
2066
+ const se_ListDomainsInput = (input, context) => {
2077
2067
  return {
2078
2068
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
2079
2069
  ...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
@@ -2081,28 +2071,26 @@ const serializeAws_json1_0ListDomainsInput = (input, context) => {
2081
2071
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2082
2072
  };
2083
2073
  };
2084
- const serializeAws_json1_0ListOpenWorkflowExecutionsInput = (input, context) => {
2074
+ const se_ListOpenWorkflowExecutionsInput = (input, context) => {
2085
2075
  return {
2086
2076
  ...(input.domain != null && { domain: input.domain }),
2087
2077
  ...(input.executionFilter != null && {
2088
- executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
2078
+ executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
2089
2079
  }),
2090
2080
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
2091
2081
  ...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
2092
2082
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2093
- ...(input.startTimeFilter != null && {
2094
- startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
2095
- }),
2096
- ...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
2097
- ...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
2083
+ ...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
2084
+ ...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
2085
+ ...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
2098
2086
  };
2099
2087
  };
2100
- const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
2088
+ const se_ListTagsForResourceInput = (input, context) => {
2101
2089
  return {
2102
2090
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2103
2091
  };
2104
2092
  };
2105
- const serializeAws_json1_0ListWorkflowTypesInput = (input, context) => {
2093
+ const se_ListWorkflowTypesInput = (input, context) => {
2106
2094
  return {
2107
2095
  ...(input.domain != null && { domain: input.domain }),
2108
2096
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
@@ -2112,43 +2100,41 @@ const serializeAws_json1_0ListWorkflowTypesInput = (input, context) => {
2112
2100
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2113
2101
  };
2114
2102
  };
2115
- const serializeAws_json1_0PollForActivityTaskInput = (input, context) => {
2103
+ const se_PollForActivityTaskInput = (input, context) => {
2116
2104
  return {
2117
2105
  ...(input.domain != null && { domain: input.domain }),
2118
2106
  ...(input.identity != null && { identity: input.identity }),
2119
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
2107
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
2120
2108
  };
2121
2109
  };
2122
- const serializeAws_json1_0PollForDecisionTaskInput = (input, context) => {
2110
+ const se_PollForDecisionTaskInput = (input, context) => {
2123
2111
  return {
2124
2112
  ...(input.domain != null && { domain: input.domain }),
2125
2113
  ...(input.identity != null && { identity: input.identity }),
2126
2114
  ...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
2127
2115
  ...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
2128
2116
  ...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
2129
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
2117
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
2130
2118
  };
2131
2119
  };
2132
- const serializeAws_json1_0RecordActivityTaskHeartbeatInput = (input, context) => {
2120
+ const se_RecordActivityTaskHeartbeatInput = (input, context) => {
2133
2121
  return {
2134
2122
  ...(input.details != null && { details: input.details }),
2135
2123
  ...(input.taskToken != null && { taskToken: input.taskToken }),
2136
2124
  };
2137
2125
  };
2138
- const serializeAws_json1_0RecordMarkerDecisionAttributes = (input, context) => {
2126
+ const se_RecordMarkerDecisionAttributes = (input, context) => {
2139
2127
  return {
2140
2128
  ...(input.details != null && { details: input.details }),
2141
2129
  ...(input.markerName != null && { markerName: input.markerName }),
2142
2130
  };
2143
2131
  };
2144
- const serializeAws_json1_0RegisterActivityTypeInput = (input, context) => {
2132
+ const se_RegisterActivityTypeInput = (input, context) => {
2145
2133
  return {
2146
2134
  ...(input.defaultTaskHeartbeatTimeout != null && {
2147
2135
  defaultTaskHeartbeatTimeout: input.defaultTaskHeartbeatTimeout,
2148
2136
  }),
2149
- ...(input.defaultTaskList != null && {
2150
- defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
2151
- }),
2137
+ ...(input.defaultTaskList != null && { defaultTaskList: se_TaskList(input.defaultTaskList, context) }),
2152
2138
  ...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
2153
2139
  ...(input.defaultTaskScheduleToCloseTimeout != null && {
2154
2140
  defaultTaskScheduleToCloseTimeout: input.defaultTaskScheduleToCloseTimeout,
@@ -2165,26 +2151,24 @@ const serializeAws_json1_0RegisterActivityTypeInput = (input, context) => {
2165
2151
  ...(input.version != null && { version: input.version }),
2166
2152
  };
2167
2153
  };
2168
- const serializeAws_json1_0RegisterDomainInput = (input, context) => {
2154
+ const se_RegisterDomainInput = (input, context) => {
2169
2155
  return {
2170
2156
  ...(input.description != null && { description: input.description }),
2171
2157
  ...(input.name != null && { name: input.name }),
2172
- ...(input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }),
2158
+ ...(input.tags != null && { tags: se_ResourceTagList(input.tags, context) }),
2173
2159
  ...(input.workflowExecutionRetentionPeriodInDays != null && {
2174
2160
  workflowExecutionRetentionPeriodInDays: input.workflowExecutionRetentionPeriodInDays,
2175
2161
  }),
2176
2162
  };
2177
2163
  };
2178
- const serializeAws_json1_0RegisterWorkflowTypeInput = (input, context) => {
2164
+ const se_RegisterWorkflowTypeInput = (input, context) => {
2179
2165
  return {
2180
2166
  ...(input.defaultChildPolicy != null && { defaultChildPolicy: input.defaultChildPolicy }),
2181
2167
  ...(input.defaultExecutionStartToCloseTimeout != null && {
2182
2168
  defaultExecutionStartToCloseTimeout: input.defaultExecutionStartToCloseTimeout,
2183
2169
  }),
2184
2170
  ...(input.defaultLambdaRole != null && { defaultLambdaRole: input.defaultLambdaRole }),
2185
- ...(input.defaultTaskList != null && {
2186
- defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
2187
- }),
2171
+ ...(input.defaultTaskList != null && { defaultTaskList: se_TaskList(input.defaultTaskList, context) }),
2188
2172
  ...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
2189
2173
  ...(input.defaultTaskStartToCloseTimeout != null && {
2190
2174
  defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
@@ -2195,86 +2179,86 @@ const serializeAws_json1_0RegisterWorkflowTypeInput = (input, context) => {
2195
2179
  ...(input.version != null && { version: input.version }),
2196
2180
  };
2197
2181
  };
2198
- const serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes = (input, context) => {
2182
+ const se_RequestCancelActivityTaskDecisionAttributes = (input, context) => {
2199
2183
  return {
2200
2184
  ...(input.activityId != null && { activityId: input.activityId }),
2201
2185
  };
2202
2186
  };
2203
- const serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes = (input, context) => {
2187
+ const se_RequestCancelExternalWorkflowExecutionDecisionAttributes = (input, context) => {
2204
2188
  return {
2205
2189
  ...(input.control != null && { control: input.control }),
2206
2190
  ...(input.runId != null && { runId: input.runId }),
2207
2191
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2208
2192
  };
2209
2193
  };
2210
- const serializeAws_json1_0RequestCancelWorkflowExecutionInput = (input, context) => {
2194
+ const se_RequestCancelWorkflowExecutionInput = (input, context) => {
2211
2195
  return {
2212
2196
  ...(input.domain != null && { domain: input.domain }),
2213
2197
  ...(input.runId != null && { runId: input.runId }),
2214
2198
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2215
2199
  };
2216
2200
  };
2217
- const serializeAws_json1_0ResourceTag = (input, context) => {
2201
+ const se_ResourceTag = (input, context) => {
2218
2202
  return {
2219
2203
  ...(input.key != null && { key: input.key }),
2220
2204
  ...(input.value != null && { value: input.value }),
2221
2205
  };
2222
2206
  };
2223
- const serializeAws_json1_0ResourceTagKeyList = (input, context) => {
2207
+ const se_ResourceTagKeyList = (input, context) => {
2224
2208
  return input
2225
2209
  .filter((e) => e != null)
2226
2210
  .map((entry) => {
2227
2211
  return entry;
2228
2212
  });
2229
2213
  };
2230
- const serializeAws_json1_0ResourceTagList = (input, context) => {
2214
+ const se_ResourceTagList = (input, context) => {
2231
2215
  return input
2232
2216
  .filter((e) => e != null)
2233
2217
  .map((entry) => {
2234
- return serializeAws_json1_0ResourceTag(entry, context);
2218
+ return se_ResourceTag(entry, context);
2235
2219
  });
2236
2220
  };
2237
- const serializeAws_json1_0RespondActivityTaskCanceledInput = (input, context) => {
2221
+ const se_RespondActivityTaskCanceledInput = (input, context) => {
2238
2222
  return {
2239
2223
  ...(input.details != null && { details: input.details }),
2240
2224
  ...(input.taskToken != null && { taskToken: input.taskToken }),
2241
2225
  };
2242
2226
  };
2243
- const serializeAws_json1_0RespondActivityTaskCompletedInput = (input, context) => {
2227
+ const se_RespondActivityTaskCompletedInput = (input, context) => {
2244
2228
  return {
2245
2229
  ...(input.result != null && { result: input.result }),
2246
2230
  ...(input.taskToken != null && { taskToken: input.taskToken }),
2247
2231
  };
2248
2232
  };
2249
- const serializeAws_json1_0RespondActivityTaskFailedInput = (input, context) => {
2233
+ const se_RespondActivityTaskFailedInput = (input, context) => {
2250
2234
  return {
2251
2235
  ...(input.details != null && { details: input.details }),
2252
2236
  ...(input.reason != null && { reason: input.reason }),
2253
2237
  ...(input.taskToken != null && { taskToken: input.taskToken }),
2254
2238
  };
2255
2239
  };
2256
- const serializeAws_json1_0RespondDecisionTaskCompletedInput = (input, context) => {
2240
+ const se_RespondDecisionTaskCompletedInput = (input, context) => {
2257
2241
  return {
2258
- ...(input.decisions != null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) }),
2242
+ ...(input.decisions != null && { decisions: se_DecisionList(input.decisions, context) }),
2259
2243
  ...(input.executionContext != null && { executionContext: input.executionContext }),
2260
2244
  ...(input.taskToken != null && { taskToken: input.taskToken }),
2261
2245
  };
2262
2246
  };
2263
- const serializeAws_json1_0ScheduleActivityTaskDecisionAttributes = (input, context) => {
2247
+ const se_ScheduleActivityTaskDecisionAttributes = (input, context) => {
2264
2248
  return {
2265
2249
  ...(input.activityId != null && { activityId: input.activityId }),
2266
- ...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
2250
+ ...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
2267
2251
  ...(input.control != null && { control: input.control }),
2268
2252
  ...(input.heartbeatTimeout != null && { heartbeatTimeout: input.heartbeatTimeout }),
2269
2253
  ...(input.input != null && { input: input.input }),
2270
2254
  ...(input.scheduleToCloseTimeout != null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout }),
2271
2255
  ...(input.scheduleToStartTimeout != null && { scheduleToStartTimeout: input.scheduleToStartTimeout }),
2272
2256
  ...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
2273
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
2257
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
2274
2258
  ...(input.taskPriority != null && { taskPriority: input.taskPriority }),
2275
2259
  };
2276
2260
  };
2277
- const serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes = (input, context) => {
2261
+ const se_ScheduleLambdaFunctionDecisionAttributes = (input, context) => {
2278
2262
  return {
2279
2263
  ...(input.control != null && { control: input.control }),
2280
2264
  ...(input.id != null && { id: input.id }),
@@ -2283,7 +2267,7 @@ const serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes = (input, con
2283
2267
  ...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
2284
2268
  };
2285
2269
  };
2286
- const serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes = (input, context) => {
2270
+ const se_SignalExternalWorkflowExecutionDecisionAttributes = (input, context) => {
2287
2271
  return {
2288
2272
  ...(input.control != null && { control: input.control }),
2289
2273
  ...(input.input != null && { input: input.input }),
@@ -2292,7 +2276,7 @@ const serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes = (i
2292
2276
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2293
2277
  };
2294
2278
  };
2295
- const serializeAws_json1_0SignalWorkflowExecutionInput = (input, context) => {
2279
+ const se_SignalWorkflowExecutionInput = (input, context) => {
2296
2280
  return {
2297
2281
  ...(input.domain != null && { domain: input.domain }),
2298
2282
  ...(input.input != null && { input: input.input }),
@@ -2301,7 +2285,7 @@ const serializeAws_json1_0SignalWorkflowExecutionInput = (input, context) => {
2301
2285
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2302
2286
  };
2303
2287
  };
2304
- const serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes = (input, context) => {
2288
+ const se_StartChildWorkflowExecutionDecisionAttributes = (input, context) => {
2305
2289
  return {
2306
2290
  ...(input.childPolicy != null && { childPolicy: input.childPolicy }),
2307
2291
  ...(input.control != null && { control: input.control }),
@@ -2310,22 +2294,22 @@ const serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes = (input
2310
2294
  }),
2311
2295
  ...(input.input != null && { input: input.input }),
2312
2296
  ...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
2313
- ...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
2314
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
2297
+ ...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
2298
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
2315
2299
  ...(input.taskPriority != null && { taskPriority: input.taskPriority }),
2316
2300
  ...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
2317
2301
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2318
- ...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
2302
+ ...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
2319
2303
  };
2320
2304
  };
2321
- const serializeAws_json1_0StartTimerDecisionAttributes = (input, context) => {
2305
+ const se_StartTimerDecisionAttributes = (input, context) => {
2322
2306
  return {
2323
2307
  ...(input.control != null && { control: input.control }),
2324
2308
  ...(input.startToFireTimeout != null && { startToFireTimeout: input.startToFireTimeout }),
2325
2309
  ...(input.timerId != null && { timerId: input.timerId }),
2326
2310
  };
2327
2311
  };
2328
- const serializeAws_json1_0StartWorkflowExecutionInput = (input, context) => {
2312
+ const se_StartWorkflowExecutionInput = (input, context) => {
2329
2313
  return {
2330
2314
  ...(input.childPolicy != null && { childPolicy: input.childPolicy }),
2331
2315
  ...(input.domain != null && { domain: input.domain }),
@@ -2334,38 +2318,38 @@ const serializeAws_json1_0StartWorkflowExecutionInput = (input, context) => {
2334
2318
  }),
2335
2319
  ...(input.input != null && { input: input.input }),
2336
2320
  ...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
2337
- ...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
2338
- ...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
2321
+ ...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
2322
+ ...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
2339
2323
  ...(input.taskPriority != null && { taskPriority: input.taskPriority }),
2340
2324
  ...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
2341
2325
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2342
- ...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
2326
+ ...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
2343
2327
  };
2344
2328
  };
2345
- const serializeAws_json1_0TagFilter = (input, context) => {
2329
+ const se_TagFilter = (input, context) => {
2346
2330
  return {
2347
2331
  ...(input.tag != null && { tag: input.tag }),
2348
2332
  };
2349
2333
  };
2350
- const serializeAws_json1_0TagList = (input, context) => {
2334
+ const se_TagList = (input, context) => {
2351
2335
  return input
2352
2336
  .filter((e) => e != null)
2353
2337
  .map((entry) => {
2354
2338
  return entry;
2355
2339
  });
2356
2340
  };
2357
- const serializeAws_json1_0TagResourceInput = (input, context) => {
2341
+ const se_TagResourceInput = (input, context) => {
2358
2342
  return {
2359
2343
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2360
- ...(input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }),
2344
+ ...(input.tags != null && { tags: se_ResourceTagList(input.tags, context) }),
2361
2345
  };
2362
2346
  };
2363
- const serializeAws_json1_0TaskList = (input, context) => {
2347
+ const se_TaskList = (input, context) => {
2364
2348
  return {
2365
2349
  ...(input.name != null && { name: input.name }),
2366
2350
  };
2367
2351
  };
2368
- const serializeAws_json1_0TerminateWorkflowExecutionInput = (input, context) => {
2352
+ const se_TerminateWorkflowExecutionInput = (input, context) => {
2369
2353
  return {
2370
2354
  ...(input.childPolicy != null && { childPolicy: input.childPolicy }),
2371
2355
  ...(input.details != null && { details: input.details }),
@@ -2375,65 +2359,63 @@ const serializeAws_json1_0TerminateWorkflowExecutionInput = (input, context) =>
2375
2359
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2376
2360
  };
2377
2361
  };
2378
- const serializeAws_json1_0UndeprecateActivityTypeInput = (input, context) => {
2362
+ const se_UndeprecateActivityTypeInput = (input, context) => {
2379
2363
  return {
2380
- ...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
2364
+ ...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
2381
2365
  ...(input.domain != null && { domain: input.domain }),
2382
2366
  };
2383
2367
  };
2384
- const serializeAws_json1_0UndeprecateDomainInput = (input, context) => {
2368
+ const se_UndeprecateDomainInput = (input, context) => {
2385
2369
  return {
2386
2370
  ...(input.name != null && { name: input.name }),
2387
2371
  };
2388
2372
  };
2389
- const serializeAws_json1_0UndeprecateWorkflowTypeInput = (input, context) => {
2373
+ const se_UndeprecateWorkflowTypeInput = (input, context) => {
2390
2374
  return {
2391
2375
  ...(input.domain != null && { domain: input.domain }),
2392
- ...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
2376
+ ...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
2393
2377
  };
2394
2378
  };
2395
- const serializeAws_json1_0UntagResourceInput = (input, context) => {
2379
+ const se_UntagResourceInput = (input, context) => {
2396
2380
  return {
2397
2381
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2398
- ...(input.tagKeys != null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }),
2382
+ ...(input.tagKeys != null && { tagKeys: se_ResourceTagKeyList(input.tagKeys, context) }),
2399
2383
  };
2400
2384
  };
2401
- const serializeAws_json1_0WorkflowExecution = (input, context) => {
2385
+ const se_WorkflowExecution = (input, context) => {
2402
2386
  return {
2403
2387
  ...(input.runId != null && { runId: input.runId }),
2404
2388
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2405
2389
  };
2406
2390
  };
2407
- const serializeAws_json1_0WorkflowExecutionFilter = (input, context) => {
2391
+ const se_WorkflowExecutionFilter = (input, context) => {
2408
2392
  return {
2409
2393
  ...(input.workflowId != null && { workflowId: input.workflowId }),
2410
2394
  };
2411
2395
  };
2412
- const serializeAws_json1_0WorkflowType = (input, context) => {
2396
+ const se_WorkflowType = (input, context) => {
2413
2397
  return {
2414
2398
  ...(input.name != null && { name: input.name }),
2415
2399
  ...(input.version != null && { version: input.version }),
2416
2400
  };
2417
2401
  };
2418
- const serializeAws_json1_0WorkflowTypeFilter = (input, context) => {
2402
+ const se_WorkflowTypeFilter = (input, context) => {
2419
2403
  return {
2420
2404
  ...(input.name != null && { name: input.name }),
2421
2405
  ...(input.version != null && { version: input.version }),
2422
2406
  };
2423
2407
  };
2424
- const deserializeAws_json1_0ActivityTask = (output, context) => {
2408
+ const de_ActivityTask = (output, context) => {
2425
2409
  return {
2426
2410
  activityId: (0, smithy_client_1.expectString)(output.activityId),
2427
- activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
2411
+ activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
2428
2412
  input: (0, smithy_client_1.expectString)(output.input),
2429
2413
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2430
2414
  taskToken: (0, smithy_client_1.expectString)(output.taskToken),
2431
- workflowExecution: output.workflowExecution != null
2432
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2433
- : undefined,
2415
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2434
2416
  };
2435
2417
  };
2436
- const deserializeAws_json1_0ActivityTaskCanceledEventAttributes = (output, context) => {
2418
+ const de_ActivityTaskCanceledEventAttributes = (output, context) => {
2437
2419
  return {
2438
2420
  details: (0, smithy_client_1.expectString)(output.details),
2439
2421
  latestCancelRequestedEventId: (0, smithy_client_1.expectLong)(output.latestCancelRequestedEventId),
@@ -2441,20 +2423,20 @@ const deserializeAws_json1_0ActivityTaskCanceledEventAttributes = (output, conte
2441
2423
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2442
2424
  };
2443
2425
  };
2444
- const deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes = (output, context) => {
2426
+ const de_ActivityTaskCancelRequestedEventAttributes = (output, context) => {
2445
2427
  return {
2446
2428
  activityId: (0, smithy_client_1.expectString)(output.activityId),
2447
2429
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2448
2430
  };
2449
2431
  };
2450
- const deserializeAws_json1_0ActivityTaskCompletedEventAttributes = (output, context) => {
2432
+ const de_ActivityTaskCompletedEventAttributes = (output, context) => {
2451
2433
  return {
2452
2434
  result: (0, smithy_client_1.expectString)(output.result),
2453
2435
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2454
2436
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2455
2437
  };
2456
2438
  };
2457
- const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (output, context) => {
2439
+ const de_ActivityTaskFailedEventAttributes = (output, context) => {
2458
2440
  return {
2459
2441
  details: (0, smithy_client_1.expectString)(output.details),
2460
2442
  reason: (0, smithy_client_1.expectString)(output.reason),
@@ -2462,10 +2444,10 @@ const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (output, context
2462
2444
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2463
2445
  };
2464
2446
  };
2465
- const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, context) => {
2447
+ const de_ActivityTaskScheduledEventAttributes = (output, context) => {
2466
2448
  return {
2467
2449
  activityId: (0, smithy_client_1.expectString)(output.activityId),
2468
- activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
2450
+ activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
2469
2451
  control: (0, smithy_client_1.expectString)(output.control),
2470
2452
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2471
2453
  heartbeatTimeout: (0, smithy_client_1.expectString)(output.heartbeatTimeout),
@@ -2473,22 +2455,22 @@ const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, cont
2473
2455
  scheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.scheduleToCloseTimeout),
2474
2456
  scheduleToStartTimeout: (0, smithy_client_1.expectString)(output.scheduleToStartTimeout),
2475
2457
  startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
2476
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
2458
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
2477
2459
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
2478
2460
  };
2479
2461
  };
2480
- const deserializeAws_json1_0ActivityTaskStartedEventAttributes = (output, context) => {
2462
+ const de_ActivityTaskStartedEventAttributes = (output, context) => {
2481
2463
  return {
2482
2464
  identity: (0, smithy_client_1.expectString)(output.identity),
2483
2465
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2484
2466
  };
2485
2467
  };
2486
- const deserializeAws_json1_0ActivityTaskStatus = (output, context) => {
2468
+ const de_ActivityTaskStatus = (output, context) => {
2487
2469
  return {
2488
2470
  cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
2489
2471
  };
2490
2472
  };
2491
- const deserializeAws_json1_0ActivityTaskTimedOutEventAttributes = (output, context) => {
2473
+ const de_ActivityTaskTimedOutEventAttributes = (output, context) => {
2492
2474
  return {
2493
2475
  details: (0, smithy_client_1.expectString)(output.details),
2494
2476
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
@@ -2496,33 +2478,31 @@ const deserializeAws_json1_0ActivityTaskTimedOutEventAttributes = (output, conte
2496
2478
  timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2497
2479
  };
2498
2480
  };
2499
- const deserializeAws_json1_0ActivityType = (output, context) => {
2481
+ const de_ActivityType = (output, context) => {
2500
2482
  return {
2501
2483
  name: (0, smithy_client_1.expectString)(output.name),
2502
2484
  version: (0, smithy_client_1.expectString)(output.version),
2503
2485
  };
2504
2486
  };
2505
- const deserializeAws_json1_0ActivityTypeConfiguration = (output, context) => {
2487
+ const de_ActivityTypeConfiguration = (output, context) => {
2506
2488
  return {
2507
2489
  defaultTaskHeartbeatTimeout: (0, smithy_client_1.expectString)(output.defaultTaskHeartbeatTimeout),
2508
- defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
2490
+ defaultTaskList: output.defaultTaskList != null ? de_TaskList(output.defaultTaskList, context) : undefined,
2509
2491
  defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
2510
2492
  defaultTaskScheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToCloseTimeout),
2511
2493
  defaultTaskScheduleToStartTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToStartTimeout),
2512
2494
  defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
2513
2495
  };
2514
2496
  };
2515
- const deserializeAws_json1_0ActivityTypeDetail = (output, context) => {
2497
+ const de_ActivityTypeDetail = (output, context) => {
2516
2498
  return {
2517
- configuration: output.configuration != null
2518
- ? deserializeAws_json1_0ActivityTypeConfiguration(output.configuration, context)
2519
- : undefined,
2520
- typeInfo: output.typeInfo != null ? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context) : undefined,
2499
+ configuration: output.configuration != null ? de_ActivityTypeConfiguration(output.configuration, context) : undefined,
2500
+ typeInfo: output.typeInfo != null ? de_ActivityTypeInfo(output.typeInfo, context) : undefined,
2521
2501
  };
2522
2502
  };
2523
- const deserializeAws_json1_0ActivityTypeInfo = (output, context) => {
2503
+ const de_ActivityTypeInfo = (output, context) => {
2524
2504
  return {
2525
- activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
2505
+ activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
2526
2506
  creationDate: output.creationDate != null
2527
2507
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
2528
2508
  : undefined,
@@ -2533,181 +2513,165 @@ const deserializeAws_json1_0ActivityTypeInfo = (output, context) => {
2533
2513
  status: (0, smithy_client_1.expectString)(output.status),
2534
2514
  };
2535
2515
  };
2536
- const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
2516
+ const de_ActivityTypeInfoList = (output, context) => {
2537
2517
  const retVal = (output || [])
2538
2518
  .filter((e) => e != null)
2539
2519
  .map((entry) => {
2540
2520
  if (entry === null) {
2541
2521
  return null;
2542
2522
  }
2543
- return deserializeAws_json1_0ActivityTypeInfo(entry, context);
2523
+ return de_ActivityTypeInfo(entry, context);
2544
2524
  });
2545
2525
  return retVal;
2546
2526
  };
2547
- const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
2527
+ const de_ActivityTypeInfos = (output, context) => {
2548
2528
  return {
2549
2529
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2550
- typeInfos: output.typeInfos != null ? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context) : undefined,
2530
+ typeInfos: output.typeInfos != null ? de_ActivityTypeInfoList(output.typeInfos, context) : undefined,
2551
2531
  };
2552
2532
  };
2553
- const deserializeAws_json1_0CancelTimerFailedEventAttributes = (output, context) => {
2533
+ const de_CancelTimerFailedEventAttributes = (output, context) => {
2554
2534
  return {
2555
2535
  cause: (0, smithy_client_1.expectString)(output.cause),
2556
2536
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2557
2537
  timerId: (0, smithy_client_1.expectString)(output.timerId),
2558
2538
  };
2559
2539
  };
2560
- const deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes = (output, context) => {
2540
+ const de_CancelWorkflowExecutionFailedEventAttributes = (output, context) => {
2561
2541
  return {
2562
2542
  cause: (0, smithy_client_1.expectString)(output.cause),
2563
2543
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2564
2544
  };
2565
2545
  };
2566
- const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (output, context) => {
2546
+ const de_ChildWorkflowExecutionCanceledEventAttributes = (output, context) => {
2567
2547
  return {
2568
2548
  details: (0, smithy_client_1.expectString)(output.details),
2569
2549
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2570
2550
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2571
- workflowExecution: output.workflowExecution != null
2572
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2573
- : undefined,
2574
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2551
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2552
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2575
2553
  };
2576
2554
  };
2577
- const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
2555
+ const de_ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
2578
2556
  return {
2579
2557
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2580
2558
  result: (0, smithy_client_1.expectString)(output.result),
2581
2559
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2582
- workflowExecution: output.workflowExecution != null
2583
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2584
- : undefined,
2585
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2560
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2561
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2586
2562
  };
2587
2563
  };
2588
- const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
2564
+ const de_ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
2589
2565
  return {
2590
2566
  details: (0, smithy_client_1.expectString)(output.details),
2591
2567
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2592
2568
  reason: (0, smithy_client_1.expectString)(output.reason),
2593
2569
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2594
- workflowExecution: output.workflowExecution != null
2595
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2596
- : undefined,
2597
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2570
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2571
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2598
2572
  };
2599
2573
  };
2600
- const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
2574
+ const de_ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
2601
2575
  return {
2602
2576
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2603
- workflowExecution: output.workflowExecution != null
2604
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2605
- : undefined,
2606
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2577
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2578
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2607
2579
  };
2608
2580
  };
2609
- const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
2581
+ const de_ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
2610
2582
  return {
2611
2583
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2612
2584
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2613
- workflowExecution: output.workflowExecution != null
2614
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2615
- : undefined,
2616
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2585
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2586
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2617
2587
  };
2618
2588
  };
2619
- const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
2589
+ const de_ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
2620
2590
  return {
2621
2591
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2622
2592
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2623
2593
  timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2624
- workflowExecution: output.workflowExecution != null
2625
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2626
- : undefined,
2627
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2594
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2595
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2628
2596
  };
2629
2597
  };
2630
- const deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
2598
+ const de_CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
2631
2599
  return {
2632
2600
  cause: (0, smithy_client_1.expectString)(output.cause),
2633
2601
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2634
2602
  };
2635
2603
  };
2636
- const deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes = (output, context) => {
2604
+ const de_ContinueAsNewWorkflowExecutionFailedEventAttributes = (output, context) => {
2637
2605
  return {
2638
2606
  cause: (0, smithy_client_1.expectString)(output.cause),
2639
2607
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2640
2608
  };
2641
2609
  };
2642
- const deserializeAws_json1_0DecisionTask = (output, context) => {
2610
+ const de_DecisionTask = (output, context) => {
2643
2611
  return {
2644
- events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
2612
+ events: output.events != null ? de_HistoryEventList(output.events, context) : undefined,
2645
2613
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2646
2614
  previousStartedEventId: (0, smithy_client_1.expectLong)(output.previousStartedEventId),
2647
2615
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2648
2616
  taskToken: (0, smithy_client_1.expectString)(output.taskToken),
2649
- workflowExecution: output.workflowExecution != null
2650
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2651
- : undefined,
2652
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
2617
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2618
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
2653
2619
  };
2654
2620
  };
2655
- const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (output, context) => {
2621
+ const de_DecisionTaskCompletedEventAttributes = (output, context) => {
2656
2622
  return {
2657
2623
  executionContext: (0, smithy_client_1.expectString)(output.executionContext),
2658
2624
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2659
2625
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2660
2626
  };
2661
2627
  };
2662
- const deserializeAws_json1_0DecisionTaskScheduledEventAttributes = (output, context) => {
2628
+ const de_DecisionTaskScheduledEventAttributes = (output, context) => {
2663
2629
  return {
2664
2630
  startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
2665
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
2631
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
2666
2632
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
2667
2633
  };
2668
2634
  };
2669
- const deserializeAws_json1_0DecisionTaskStartedEventAttributes = (output, context) => {
2635
+ const de_DecisionTaskStartedEventAttributes = (output, context) => {
2670
2636
  return {
2671
2637
  identity: (0, smithy_client_1.expectString)(output.identity),
2672
2638
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2673
2639
  };
2674
2640
  };
2675
- const deserializeAws_json1_0DecisionTaskTimedOutEventAttributes = (output, context) => {
2641
+ const de_DecisionTaskTimedOutEventAttributes = (output, context) => {
2676
2642
  return {
2677
2643
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2678
2644
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2679
2645
  timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2680
2646
  };
2681
2647
  };
2682
- const deserializeAws_json1_0DefaultUndefinedFault = (output, context) => {
2648
+ const de_DefaultUndefinedFault = (output, context) => {
2683
2649
  return {
2684
2650
  message: (0, smithy_client_1.expectString)(output.message),
2685
2651
  };
2686
2652
  };
2687
- const deserializeAws_json1_0DomainAlreadyExistsFault = (output, context) => {
2653
+ const de_DomainAlreadyExistsFault = (output, context) => {
2688
2654
  return {
2689
2655
  message: (0, smithy_client_1.expectString)(output.message),
2690
2656
  };
2691
2657
  };
2692
- const deserializeAws_json1_0DomainConfiguration = (output, context) => {
2658
+ const de_DomainConfiguration = (output, context) => {
2693
2659
  return {
2694
2660
  workflowExecutionRetentionPeriodInDays: (0, smithy_client_1.expectString)(output.workflowExecutionRetentionPeriodInDays),
2695
2661
  };
2696
2662
  };
2697
- const deserializeAws_json1_0DomainDeprecatedFault = (output, context) => {
2663
+ const de_DomainDeprecatedFault = (output, context) => {
2698
2664
  return {
2699
2665
  message: (0, smithy_client_1.expectString)(output.message),
2700
2666
  };
2701
2667
  };
2702
- const deserializeAws_json1_0DomainDetail = (output, context) => {
2668
+ const de_DomainDetail = (output, context) => {
2703
2669
  return {
2704
- configuration: output.configuration != null
2705
- ? deserializeAws_json1_0DomainConfiguration(output.configuration, context)
2706
- : undefined,
2707
- domainInfo: output.domainInfo != null ? deserializeAws_json1_0DomainInfo(output.domainInfo, context) : undefined,
2670
+ configuration: output.configuration != null ? de_DomainConfiguration(output.configuration, context) : undefined,
2671
+ domainInfo: output.domainInfo != null ? de_DomainInfo(output.domainInfo, context) : undefined,
2708
2672
  };
2709
2673
  };
2710
- const deserializeAws_json1_0DomainInfo = (output, context) => {
2674
+ const de_DomainInfo = (output, context) => {
2711
2675
  return {
2712
2676
  arn: (0, smithy_client_1.expectString)(output.arn),
2713
2677
  description: (0, smithy_client_1.expectString)(output.description),
@@ -2715,115 +2679,111 @@ const deserializeAws_json1_0DomainInfo = (output, context) => {
2715
2679
  status: (0, smithy_client_1.expectString)(output.status),
2716
2680
  };
2717
2681
  };
2718
- const deserializeAws_json1_0DomainInfoList = (output, context) => {
2682
+ const de_DomainInfoList = (output, context) => {
2719
2683
  const retVal = (output || [])
2720
2684
  .filter((e) => e != null)
2721
2685
  .map((entry) => {
2722
2686
  if (entry === null) {
2723
2687
  return null;
2724
2688
  }
2725
- return deserializeAws_json1_0DomainInfo(entry, context);
2689
+ return de_DomainInfo(entry, context);
2726
2690
  });
2727
2691
  return retVal;
2728
2692
  };
2729
- const deserializeAws_json1_0DomainInfos = (output, context) => {
2693
+ const de_DomainInfos = (output, context) => {
2730
2694
  return {
2731
- domainInfos: output.domainInfos != null ? deserializeAws_json1_0DomainInfoList(output.domainInfos, context) : undefined,
2695
+ domainInfos: output.domainInfos != null ? de_DomainInfoList(output.domainInfos, context) : undefined,
2732
2696
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2733
2697
  };
2734
2698
  };
2735
- const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
2699
+ const de_ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
2736
2700
  return {
2737
2701
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2738
- workflowExecution: output.workflowExecution != null
2739
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2740
- : undefined,
2702
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2741
2703
  };
2742
2704
  };
2743
- const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
2705
+ const de_ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
2744
2706
  return {
2745
2707
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
2746
- workflowExecution: output.workflowExecution != null
2747
- ? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
2748
- : undefined,
2708
+ workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
2749
2709
  };
2750
2710
  };
2751
- const deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = (output, context) => {
2711
+ const de_FailWorkflowExecutionFailedEventAttributes = (output, context) => {
2752
2712
  return {
2753
2713
  cause: (0, smithy_client_1.expectString)(output.cause),
2754
2714
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2755
2715
  };
2756
2716
  };
2757
- const deserializeAws_json1_0History = (output, context) => {
2717
+ const de_History = (output, context) => {
2758
2718
  return {
2759
- events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
2719
+ events: output.events != null ? de_HistoryEventList(output.events, context) : undefined,
2760
2720
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
2761
2721
  };
2762
2722
  };
2763
- const deserializeAws_json1_0HistoryEvent = (output, context) => {
2723
+ const de_HistoryEvent = (output, context) => {
2764
2724
  return {
2765
2725
  activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes != null
2766
- ? deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes(output.activityTaskCancelRequestedEventAttributes, context)
2726
+ ? de_ActivityTaskCancelRequestedEventAttributes(output.activityTaskCancelRequestedEventAttributes, context)
2767
2727
  : undefined,
2768
2728
  activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes != null
2769
- ? deserializeAws_json1_0ActivityTaskCanceledEventAttributes(output.activityTaskCanceledEventAttributes, context)
2729
+ ? de_ActivityTaskCanceledEventAttributes(output.activityTaskCanceledEventAttributes, context)
2770
2730
  : undefined,
2771
2731
  activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes != null
2772
- ? deserializeAws_json1_0ActivityTaskCompletedEventAttributes(output.activityTaskCompletedEventAttributes, context)
2732
+ ? de_ActivityTaskCompletedEventAttributes(output.activityTaskCompletedEventAttributes, context)
2773
2733
  : undefined,
2774
2734
  activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes != null
2775
- ? deserializeAws_json1_0ActivityTaskFailedEventAttributes(output.activityTaskFailedEventAttributes, context)
2735
+ ? de_ActivityTaskFailedEventAttributes(output.activityTaskFailedEventAttributes, context)
2776
2736
  : undefined,
2777
2737
  activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes != null
2778
- ? deserializeAws_json1_0ActivityTaskScheduledEventAttributes(output.activityTaskScheduledEventAttributes, context)
2738
+ ? de_ActivityTaskScheduledEventAttributes(output.activityTaskScheduledEventAttributes, context)
2779
2739
  : undefined,
2780
2740
  activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes != null
2781
- ? deserializeAws_json1_0ActivityTaskStartedEventAttributes(output.activityTaskStartedEventAttributes, context)
2741
+ ? de_ActivityTaskStartedEventAttributes(output.activityTaskStartedEventAttributes, context)
2782
2742
  : undefined,
2783
2743
  activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes != null
2784
- ? deserializeAws_json1_0ActivityTaskTimedOutEventAttributes(output.activityTaskTimedOutEventAttributes, context)
2744
+ ? de_ActivityTaskTimedOutEventAttributes(output.activityTaskTimedOutEventAttributes, context)
2785
2745
  : undefined,
2786
2746
  cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes != null
2787
- ? deserializeAws_json1_0CancelTimerFailedEventAttributes(output.cancelTimerFailedEventAttributes, context)
2747
+ ? de_CancelTimerFailedEventAttributes(output.cancelTimerFailedEventAttributes, context)
2788
2748
  : undefined,
2789
2749
  cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes != null
2790
- ? deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes(output.cancelWorkflowExecutionFailedEventAttributes, context)
2750
+ ? de_CancelWorkflowExecutionFailedEventAttributes(output.cancelWorkflowExecutionFailedEventAttributes, context)
2791
2751
  : undefined,
2792
2752
  childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes != null
2793
- ? deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes(output.childWorkflowExecutionCanceledEventAttributes, context)
2753
+ ? de_ChildWorkflowExecutionCanceledEventAttributes(output.childWorkflowExecutionCanceledEventAttributes, context)
2794
2754
  : undefined,
2795
2755
  childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes != null
2796
- ? deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes(output.childWorkflowExecutionCompletedEventAttributes, context)
2756
+ ? de_ChildWorkflowExecutionCompletedEventAttributes(output.childWorkflowExecutionCompletedEventAttributes, context)
2797
2757
  : undefined,
2798
2758
  childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes != null
2799
- ? deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes(output.childWorkflowExecutionFailedEventAttributes, context)
2759
+ ? de_ChildWorkflowExecutionFailedEventAttributes(output.childWorkflowExecutionFailedEventAttributes, context)
2800
2760
  : undefined,
2801
2761
  childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes != null
2802
- ? deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes(output.childWorkflowExecutionStartedEventAttributes, context)
2762
+ ? de_ChildWorkflowExecutionStartedEventAttributes(output.childWorkflowExecutionStartedEventAttributes, context)
2803
2763
  : undefined,
2804
2764
  childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes != null
2805
- ? deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes(output.childWorkflowExecutionTerminatedEventAttributes, context)
2765
+ ? de_ChildWorkflowExecutionTerminatedEventAttributes(output.childWorkflowExecutionTerminatedEventAttributes, context)
2806
2766
  : undefined,
2807
2767
  childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes != null
2808
- ? deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes(output.childWorkflowExecutionTimedOutEventAttributes, context)
2768
+ ? de_ChildWorkflowExecutionTimedOutEventAttributes(output.childWorkflowExecutionTimedOutEventAttributes, context)
2809
2769
  : undefined,
2810
2770
  completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes != null
2811
- ? deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes(output.completeWorkflowExecutionFailedEventAttributes, context)
2771
+ ? de_CompleteWorkflowExecutionFailedEventAttributes(output.completeWorkflowExecutionFailedEventAttributes, context)
2812
2772
  : undefined,
2813
2773
  continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes != null
2814
- ? deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes(output.continueAsNewWorkflowExecutionFailedEventAttributes, context)
2774
+ ? de_ContinueAsNewWorkflowExecutionFailedEventAttributes(output.continueAsNewWorkflowExecutionFailedEventAttributes, context)
2815
2775
  : undefined,
2816
2776
  decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes != null
2817
- ? deserializeAws_json1_0DecisionTaskCompletedEventAttributes(output.decisionTaskCompletedEventAttributes, context)
2777
+ ? de_DecisionTaskCompletedEventAttributes(output.decisionTaskCompletedEventAttributes, context)
2818
2778
  : undefined,
2819
2779
  decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes != null
2820
- ? deserializeAws_json1_0DecisionTaskScheduledEventAttributes(output.decisionTaskScheduledEventAttributes, context)
2780
+ ? de_DecisionTaskScheduledEventAttributes(output.decisionTaskScheduledEventAttributes, context)
2821
2781
  : undefined,
2822
2782
  decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes != null
2823
- ? deserializeAws_json1_0DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
2783
+ ? de_DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
2824
2784
  : undefined,
2825
2785
  decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes != null
2826
- ? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
2786
+ ? de_DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
2827
2787
  : undefined,
2828
2788
  eventId: (0, smithy_client_1.expectLong)(output.eventId),
2829
2789
  eventTimestamp: output.eventTimestamp != null
@@ -2831,125 +2791,125 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
2831
2791
  : undefined,
2832
2792
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2833
2793
  externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes != null
2834
- ? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
2794
+ ? de_ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
2835
2795
  : undefined,
2836
2796
  externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes != null
2837
- ? deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
2797
+ ? de_ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
2838
2798
  : undefined,
2839
2799
  failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes != null
2840
- ? deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
2800
+ ? de_FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
2841
2801
  : undefined,
2842
2802
  lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes != null
2843
- ? deserializeAws_json1_0LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
2803
+ ? de_LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
2844
2804
  : undefined,
2845
2805
  lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes != null
2846
- ? deserializeAws_json1_0LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
2806
+ ? de_LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
2847
2807
  : undefined,
2848
2808
  lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes != null
2849
- ? deserializeAws_json1_0LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
2809
+ ? de_LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
2850
2810
  : undefined,
2851
2811
  lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes != null
2852
- ? deserializeAws_json1_0LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
2812
+ ? de_LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
2853
2813
  : undefined,
2854
2814
  lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes != null
2855
- ? deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
2815
+ ? de_LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
2856
2816
  : undefined,
2857
2817
  markerRecordedEventAttributes: output.markerRecordedEventAttributes != null
2858
- ? deserializeAws_json1_0MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
2818
+ ? de_MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
2859
2819
  : undefined,
2860
2820
  recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes != null
2861
- ? deserializeAws_json1_0RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
2821
+ ? de_RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
2862
2822
  : undefined,
2863
2823
  requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes != null
2864
- ? deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
2824
+ ? de_RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
2865
2825
  : undefined,
2866
2826
  requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes != null
2867
- ? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
2827
+ ? de_RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
2868
2828
  : undefined,
2869
2829
  requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes != null
2870
- ? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
2830
+ ? de_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
2871
2831
  : undefined,
2872
2832
  scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes != null
2873
- ? deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
2833
+ ? de_ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
2874
2834
  : undefined,
2875
2835
  scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes != null
2876
- ? deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
2836
+ ? de_ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
2877
2837
  : undefined,
2878
2838
  signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes != null
2879
- ? deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
2839
+ ? de_SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
2880
2840
  : undefined,
2881
2841
  signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes != null
2882
- ? deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
2842
+ ? de_SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
2883
2843
  : undefined,
2884
2844
  startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes != null
2885
- ? deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
2845
+ ? de_StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
2886
2846
  : undefined,
2887
2847
  startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes != null
2888
- ? deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
2848
+ ? de_StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
2889
2849
  : undefined,
2890
2850
  startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes != null
2891
- ? deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
2851
+ ? de_StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
2892
2852
  : undefined,
2893
2853
  startTimerFailedEventAttributes: output.startTimerFailedEventAttributes != null
2894
- ? deserializeAws_json1_0StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
2854
+ ? de_StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
2895
2855
  : undefined,
2896
2856
  timerCanceledEventAttributes: output.timerCanceledEventAttributes != null
2897
- ? deserializeAws_json1_0TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
2857
+ ? de_TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
2898
2858
  : undefined,
2899
2859
  timerFiredEventAttributes: output.timerFiredEventAttributes != null
2900
- ? deserializeAws_json1_0TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
2860
+ ? de_TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
2901
2861
  : undefined,
2902
2862
  timerStartedEventAttributes: output.timerStartedEventAttributes != null
2903
- ? deserializeAws_json1_0TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
2863
+ ? de_TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
2904
2864
  : undefined,
2905
2865
  workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes != null
2906
- ? deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
2866
+ ? de_WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
2907
2867
  : undefined,
2908
2868
  workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes != null
2909
- ? deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
2869
+ ? de_WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
2910
2870
  : undefined,
2911
2871
  workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes != null
2912
- ? deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
2872
+ ? de_WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
2913
2873
  : undefined,
2914
2874
  workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes != null
2915
- ? deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
2875
+ ? de_WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
2916
2876
  : undefined,
2917
2877
  workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes != null
2918
- ? deserializeAws_json1_0WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
2878
+ ? de_WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
2919
2879
  : undefined,
2920
2880
  workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes != null
2921
- ? deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
2881
+ ? de_WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
2922
2882
  : undefined,
2923
2883
  workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes != null
2924
- ? deserializeAws_json1_0WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
2884
+ ? de_WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
2925
2885
  : undefined,
2926
2886
  workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes != null
2927
- ? deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
2887
+ ? de_WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
2928
2888
  : undefined,
2929
2889
  workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes != null
2930
- ? deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
2890
+ ? de_WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
2931
2891
  : undefined,
2932
2892
  };
2933
2893
  };
2934
- const deserializeAws_json1_0HistoryEventList = (output, context) => {
2894
+ const de_HistoryEventList = (output, context) => {
2935
2895
  const retVal = (output || [])
2936
2896
  .filter((e) => e != null)
2937
2897
  .map((entry) => {
2938
2898
  if (entry === null) {
2939
2899
  return null;
2940
2900
  }
2941
- return deserializeAws_json1_0HistoryEvent(entry, context);
2901
+ return de_HistoryEvent(entry, context);
2942
2902
  });
2943
2903
  return retVal;
2944
2904
  };
2945
- const deserializeAws_json1_0LambdaFunctionCompletedEventAttributes = (output, context) => {
2905
+ const de_LambdaFunctionCompletedEventAttributes = (output, context) => {
2946
2906
  return {
2947
2907
  result: (0, smithy_client_1.expectString)(output.result),
2948
2908
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2949
2909
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2950
2910
  };
2951
2911
  };
2952
- const deserializeAws_json1_0LambdaFunctionFailedEventAttributes = (output, context) => {
2912
+ const de_LambdaFunctionFailedEventAttributes = (output, context) => {
2953
2913
  return {
2954
2914
  details: (0, smithy_client_1.expectString)(output.details),
2955
2915
  reason: (0, smithy_client_1.expectString)(output.reason),
@@ -2957,7 +2917,7 @@ const deserializeAws_json1_0LambdaFunctionFailedEventAttributes = (output, conte
2957
2917
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2958
2918
  };
2959
2919
  };
2960
- const deserializeAws_json1_0LambdaFunctionScheduledEventAttributes = (output, context) => {
2920
+ const de_LambdaFunctionScheduledEventAttributes = (output, context) => {
2961
2921
  return {
2962
2922
  control: (0, smithy_client_1.expectString)(output.control),
2963
2923
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -2967,61 +2927,61 @@ const deserializeAws_json1_0LambdaFunctionScheduledEventAttributes = (output, co
2967
2927
  startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
2968
2928
  };
2969
2929
  };
2970
- const deserializeAws_json1_0LambdaFunctionStartedEventAttributes = (output, context) => {
2930
+ const de_LambdaFunctionStartedEventAttributes = (output, context) => {
2971
2931
  return {
2972
2932
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2973
2933
  };
2974
2934
  };
2975
- const deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes = (output, context) => {
2935
+ const de_LambdaFunctionTimedOutEventAttributes = (output, context) => {
2976
2936
  return {
2977
2937
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
2978
2938
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
2979
2939
  timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
2980
2940
  };
2981
2941
  };
2982
- const deserializeAws_json1_0LimitExceededFault = (output, context) => {
2942
+ const de_LimitExceededFault = (output, context) => {
2983
2943
  return {
2984
2944
  message: (0, smithy_client_1.expectString)(output.message),
2985
2945
  };
2986
2946
  };
2987
- const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
2947
+ const de_ListTagsForResourceOutput = (output, context) => {
2988
2948
  return {
2989
- tags: output.tags != null ? deserializeAws_json1_0ResourceTagList(output.tags, context) : undefined,
2949
+ tags: output.tags != null ? de_ResourceTagList(output.tags, context) : undefined,
2990
2950
  };
2991
2951
  };
2992
- const deserializeAws_json1_0MarkerRecordedEventAttributes = (output, context) => {
2952
+ const de_MarkerRecordedEventAttributes = (output, context) => {
2993
2953
  return {
2994
2954
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
2995
2955
  details: (0, smithy_client_1.expectString)(output.details),
2996
2956
  markerName: (0, smithy_client_1.expectString)(output.markerName),
2997
2957
  };
2998
2958
  };
2999
- const deserializeAws_json1_0OperationNotPermittedFault = (output, context) => {
2959
+ const de_OperationNotPermittedFault = (output, context) => {
3000
2960
  return {
3001
2961
  message: (0, smithy_client_1.expectString)(output.message),
3002
2962
  };
3003
2963
  };
3004
- const deserializeAws_json1_0PendingTaskCount = (output, context) => {
2964
+ const de_PendingTaskCount = (output, context) => {
3005
2965
  return {
3006
2966
  count: (0, smithy_client_1.expectInt32)(output.count),
3007
2967
  truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
3008
2968
  };
3009
2969
  };
3010
- const deserializeAws_json1_0RecordMarkerFailedEventAttributes = (output, context) => {
2970
+ const de_RecordMarkerFailedEventAttributes = (output, context) => {
3011
2971
  return {
3012
2972
  cause: (0, smithy_client_1.expectString)(output.cause),
3013
2973
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3014
2974
  markerName: (0, smithy_client_1.expectString)(output.markerName),
3015
2975
  };
3016
2976
  };
3017
- const deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes = (output, context) => {
2977
+ const de_RequestCancelActivityTaskFailedEventAttributes = (output, context) => {
3018
2978
  return {
3019
2979
  activityId: (0, smithy_client_1.expectString)(output.activityId),
3020
2980
  cause: (0, smithy_client_1.expectString)(output.cause),
3021
2981
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3022
2982
  };
3023
2983
  };
3024
- const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
2984
+ const de_RequestCancelExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
3025
2985
  return {
3026
2986
  cause: (0, smithy_client_1.expectString)(output.cause),
3027
2987
  control: (0, smithy_client_1.expectString)(output.control),
@@ -3031,7 +2991,7 @@ const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAtt
3031
2991
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3032
2992
  };
3033
2993
  };
3034
- const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
2994
+ const de_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3035
2995
  return {
3036
2996
  control: (0, smithy_client_1.expectString)(output.control),
3037
2997
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -3039,37 +2999,37 @@ const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEvent
3039
2999
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3040
3000
  };
3041
3001
  };
3042
- const deserializeAws_json1_0ResourceTag = (output, context) => {
3002
+ const de_ResourceTag = (output, context) => {
3043
3003
  return {
3044
3004
  key: (0, smithy_client_1.expectString)(output.key),
3045
3005
  value: (0, smithy_client_1.expectString)(output.value),
3046
3006
  };
3047
3007
  };
3048
- const deserializeAws_json1_0ResourceTagList = (output, context) => {
3008
+ const de_ResourceTagList = (output, context) => {
3049
3009
  const retVal = (output || [])
3050
3010
  .filter((e) => e != null)
3051
3011
  .map((entry) => {
3052
3012
  if (entry === null) {
3053
3013
  return null;
3054
3014
  }
3055
- return deserializeAws_json1_0ResourceTag(entry, context);
3015
+ return de_ResourceTag(entry, context);
3056
3016
  });
3057
3017
  return retVal;
3058
3018
  };
3059
- const deserializeAws_json1_0Run = (output, context) => {
3019
+ const de_Run = (output, context) => {
3060
3020
  return {
3061
3021
  runId: (0, smithy_client_1.expectString)(output.runId),
3062
3022
  };
3063
3023
  };
3064
- const deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = (output, context) => {
3024
+ const de_ScheduleActivityTaskFailedEventAttributes = (output, context) => {
3065
3025
  return {
3066
3026
  activityId: (0, smithy_client_1.expectString)(output.activityId),
3067
- activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
3027
+ activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
3068
3028
  cause: (0, smithy_client_1.expectString)(output.cause),
3069
3029
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3070
3030
  };
3071
3031
  };
3072
- const deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes = (output, context) => {
3032
+ const de_ScheduleLambdaFunctionFailedEventAttributes = (output, context) => {
3073
3033
  return {
3074
3034
  cause: (0, smithy_client_1.expectString)(output.cause),
3075
3035
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -3077,7 +3037,7 @@ const deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes = (outpu
3077
3037
  name: (0, smithy_client_1.expectString)(output.name),
3078
3038
  };
3079
3039
  };
3080
- const deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
3040
+ const de_SignalExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
3081
3041
  return {
3082
3042
  cause: (0, smithy_client_1.expectString)(output.cause),
3083
3043
  control: (0, smithy_client_1.expectString)(output.control),
@@ -3087,7 +3047,7 @@ const deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes
3087
3047
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3088
3048
  };
3089
3049
  };
3090
- const deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3050
+ const de_SignalExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3091
3051
  return {
3092
3052
  control: (0, smithy_client_1.expectString)(output.control),
3093
3053
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -3097,17 +3057,17 @@ const deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttribu
3097
3057
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3098
3058
  };
3099
3059
  };
3100
- const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (output, context) => {
3060
+ const de_StartChildWorkflowExecutionFailedEventAttributes = (output, context) => {
3101
3061
  return {
3102
3062
  cause: (0, smithy_client_1.expectString)(output.cause),
3103
3063
  control: (0, smithy_client_1.expectString)(output.control),
3104
3064
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3105
3065
  initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
3106
3066
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3107
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3067
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3108
3068
  };
3109
3069
  };
3110
- const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3070
+ const de_StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
3111
3071
  return {
3112
3072
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3113
3073
  control: (0, smithy_client_1.expectString)(output.control),
@@ -3115,29 +3075,29 @@ const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes
3115
3075
  executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3116
3076
  input: (0, smithy_client_1.expectString)(output.input),
3117
3077
  lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3118
- tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
3119
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
3078
+ tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
3079
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
3120
3080
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3121
3081
  taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3122
3082
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3123
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3083
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3124
3084
  };
3125
3085
  };
3126
- const deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = (output, context) => {
3086
+ const de_StartLambdaFunctionFailedEventAttributes = (output, context) => {
3127
3087
  return {
3128
3088
  cause: (0, smithy_client_1.expectString)(output.cause),
3129
3089
  message: (0, smithy_client_1.expectString)(output.message),
3130
3090
  scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
3131
3091
  };
3132
3092
  };
3133
- const deserializeAws_json1_0StartTimerFailedEventAttributes = (output, context) => {
3093
+ const de_StartTimerFailedEventAttributes = (output, context) => {
3134
3094
  return {
3135
3095
  cause: (0, smithy_client_1.expectString)(output.cause),
3136
3096
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3137
3097
  timerId: (0, smithy_client_1.expectString)(output.timerId),
3138
3098
  };
3139
3099
  };
3140
- const deserializeAws_json1_0TagList = (output, context) => {
3100
+ const de_TagList = (output, context) => {
3141
3101
  const retVal = (output || [])
3142
3102
  .filter((e) => e != null)
3143
3103
  .map((entry) => {
@@ -3148,25 +3108,25 @@ const deserializeAws_json1_0TagList = (output, context) => {
3148
3108
  });
3149
3109
  return retVal;
3150
3110
  };
3151
- const deserializeAws_json1_0TaskList = (output, context) => {
3111
+ const de_TaskList = (output, context) => {
3152
3112
  return {
3153
3113
  name: (0, smithy_client_1.expectString)(output.name),
3154
3114
  };
3155
3115
  };
3156
- const deserializeAws_json1_0TimerCanceledEventAttributes = (output, context) => {
3116
+ const de_TimerCanceledEventAttributes = (output, context) => {
3157
3117
  return {
3158
3118
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3159
3119
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3160
3120
  timerId: (0, smithy_client_1.expectString)(output.timerId),
3161
3121
  };
3162
3122
  };
3163
- const deserializeAws_json1_0TimerFiredEventAttributes = (output, context) => {
3123
+ const de_TimerFiredEventAttributes = (output, context) => {
3164
3124
  return {
3165
3125
  startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
3166
3126
  timerId: (0, smithy_client_1.expectString)(output.timerId),
3167
3127
  };
3168
3128
  };
3169
- const deserializeAws_json1_0TimerStartedEventAttributes = (output, context) => {
3129
+ const de_TimerStartedEventAttributes = (output, context) => {
3170
3130
  return {
3171
3131
  control: (0, smithy_client_1.expectString)(output.control),
3172
3132
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -3174,69 +3134,69 @@ const deserializeAws_json1_0TimerStartedEventAttributes = (output, context) => {
3174
3134
  timerId: (0, smithy_client_1.expectString)(output.timerId),
3175
3135
  };
3176
3136
  };
3177
- const deserializeAws_json1_0TooManyTagsFault = (output, context) => {
3137
+ const de_TooManyTagsFault = (output, context) => {
3178
3138
  return {
3179
3139
  message: (0, smithy_client_1.expectString)(output.message),
3180
3140
  };
3181
3141
  };
3182
- const deserializeAws_json1_0TypeAlreadyExistsFault = (output, context) => {
3142
+ const de_TypeAlreadyExistsFault = (output, context) => {
3183
3143
  return {
3184
3144
  message: (0, smithy_client_1.expectString)(output.message),
3185
3145
  };
3186
3146
  };
3187
- const deserializeAws_json1_0TypeDeprecatedFault = (output, context) => {
3147
+ const de_TypeDeprecatedFault = (output, context) => {
3188
3148
  return {
3189
3149
  message: (0, smithy_client_1.expectString)(output.message),
3190
3150
  };
3191
3151
  };
3192
- const deserializeAws_json1_0UnknownResourceFault = (output, context) => {
3152
+ const de_UnknownResourceFault = (output, context) => {
3193
3153
  return {
3194
3154
  message: (0, smithy_client_1.expectString)(output.message),
3195
3155
  };
3196
3156
  };
3197
- const deserializeAws_json1_0WorkflowExecution = (output, context) => {
3157
+ const de_WorkflowExecution = (output, context) => {
3198
3158
  return {
3199
3159
  runId: (0, smithy_client_1.expectString)(output.runId),
3200
3160
  workflowId: (0, smithy_client_1.expectString)(output.workflowId),
3201
3161
  };
3202
3162
  };
3203
- const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFault = (output, context) => {
3163
+ const de_WorkflowExecutionAlreadyStartedFault = (output, context) => {
3204
3164
  return {
3205
3165
  message: (0, smithy_client_1.expectString)(output.message),
3206
3166
  };
3207
3167
  };
3208
- const deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes = (output, context) => {
3168
+ const de_WorkflowExecutionCanceledEventAttributes = (output, context) => {
3209
3169
  return {
3210
3170
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3211
3171
  details: (0, smithy_client_1.expectString)(output.details),
3212
3172
  };
3213
3173
  };
3214
- const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
3174
+ const de_WorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
3215
3175
  return {
3216
3176
  cause: (0, smithy_client_1.expectString)(output.cause),
3217
3177
  externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
3218
3178
  externalWorkflowExecution: output.externalWorkflowExecution != null
3219
- ? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
3179
+ ? de_WorkflowExecution(output.externalWorkflowExecution, context)
3220
3180
  : undefined,
3221
3181
  };
3222
3182
  };
3223
- const deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes = (output, context) => {
3183
+ const de_WorkflowExecutionCompletedEventAttributes = (output, context) => {
3224
3184
  return {
3225
3185
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3226
3186
  result: (0, smithy_client_1.expectString)(output.result),
3227
3187
  };
3228
3188
  };
3229
- const deserializeAws_json1_0WorkflowExecutionConfiguration = (output, context) => {
3189
+ const de_WorkflowExecutionConfiguration = (output, context) => {
3230
3190
  return {
3231
3191
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3232
3192
  executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
3233
3193
  lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3234
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
3194
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
3235
3195
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3236
3196
  taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3237
3197
  };
3238
3198
  };
3239
- const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (output, context) => {
3199
+ const de_WorkflowExecutionContinuedAsNewEventAttributes = (output, context) => {
3240
3200
  return {
3241
3201
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3242
3202
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
@@ -3244,80 +3204,74 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (ou
3244
3204
  input: (0, smithy_client_1.expectString)(output.input),
3245
3205
  lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3246
3206
  newExecutionRunId: (0, smithy_client_1.expectString)(output.newExecutionRunId),
3247
- tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
3248
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
3207
+ tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
3208
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
3249
3209
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3250
3210
  taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3251
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3211
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3252
3212
  };
3253
3213
  };
3254
- const deserializeAws_json1_0WorkflowExecutionCount = (output, context) => {
3214
+ const de_WorkflowExecutionCount = (output, context) => {
3255
3215
  return {
3256
3216
  count: (0, smithy_client_1.expectInt32)(output.count),
3257
3217
  truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
3258
3218
  };
3259
3219
  };
3260
- const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
3220
+ const de_WorkflowExecutionDetail = (output, context) => {
3261
3221
  return {
3262
3222
  executionConfiguration: output.executionConfiguration != null
3263
- ? deserializeAws_json1_0WorkflowExecutionConfiguration(output.executionConfiguration, context)
3264
- : undefined,
3265
- executionInfo: output.executionInfo != null
3266
- ? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
3223
+ ? de_WorkflowExecutionConfiguration(output.executionConfiguration, context)
3267
3224
  : undefined,
3225
+ executionInfo: output.executionInfo != null ? de_WorkflowExecutionInfo(output.executionInfo, context) : undefined,
3268
3226
  latestActivityTaskTimestamp: output.latestActivityTaskTimestamp != null
3269
3227
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.latestActivityTaskTimestamp)))
3270
3228
  : undefined,
3271
3229
  latestExecutionContext: (0, smithy_client_1.expectString)(output.latestExecutionContext),
3272
- openCounts: output.openCounts != null
3273
- ? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
3274
- : undefined,
3230
+ openCounts: output.openCounts != null ? de_WorkflowExecutionOpenCounts(output.openCounts, context) : undefined,
3275
3231
  };
3276
3232
  };
3277
- const deserializeAws_json1_0WorkflowExecutionFailedEventAttributes = (output, context) => {
3233
+ const de_WorkflowExecutionFailedEventAttributes = (output, context) => {
3278
3234
  return {
3279
3235
  decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
3280
3236
  details: (0, smithy_client_1.expectString)(output.details),
3281
3237
  reason: (0, smithy_client_1.expectString)(output.reason),
3282
3238
  };
3283
3239
  };
3284
- const deserializeAws_json1_0WorkflowExecutionInfo = (output, context) => {
3240
+ const de_WorkflowExecutionInfo = (output, context) => {
3285
3241
  return {
3286
3242
  cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
3287
3243
  closeStatus: (0, smithy_client_1.expectString)(output.closeStatus),
3288
3244
  closeTimestamp: output.closeTimestamp != null
3289
3245
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.closeTimestamp)))
3290
3246
  : undefined,
3291
- execution: output.execution != null ? deserializeAws_json1_0WorkflowExecution(output.execution, context) : undefined,
3247
+ execution: output.execution != null ? de_WorkflowExecution(output.execution, context) : undefined,
3292
3248
  executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
3293
- parent: output.parent != null ? deserializeAws_json1_0WorkflowExecution(output.parent, context) : undefined,
3249
+ parent: output.parent != null ? de_WorkflowExecution(output.parent, context) : undefined,
3294
3250
  startTimestamp: output.startTimestamp != null
3295
3251
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTimestamp)))
3296
3252
  : undefined,
3297
- tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
3298
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3253
+ tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
3254
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3299
3255
  };
3300
3256
  };
3301
- const deserializeAws_json1_0WorkflowExecutionInfoList = (output, context) => {
3257
+ const de_WorkflowExecutionInfoList = (output, context) => {
3302
3258
  const retVal = (output || [])
3303
3259
  .filter((e) => e != null)
3304
3260
  .map((entry) => {
3305
3261
  if (entry === null) {
3306
3262
  return null;
3307
3263
  }
3308
- return deserializeAws_json1_0WorkflowExecutionInfo(entry, context);
3264
+ return de_WorkflowExecutionInfo(entry, context);
3309
3265
  });
3310
3266
  return retVal;
3311
3267
  };
3312
- const deserializeAws_json1_0WorkflowExecutionInfos = (output, context) => {
3268
+ const de_WorkflowExecutionInfos = (output, context) => {
3313
3269
  return {
3314
- executionInfos: output.executionInfos != null
3315
- ? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
3316
- : undefined,
3270
+ executionInfos: output.executionInfos != null ? de_WorkflowExecutionInfoList(output.executionInfos, context) : undefined,
3317
3271
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
3318
3272
  };
3319
3273
  };
3320
- const deserializeAws_json1_0WorkflowExecutionOpenCounts = (output, context) => {
3274
+ const de_WorkflowExecutionOpenCounts = (output, context) => {
3321
3275
  return {
3322
3276
  openActivityTasks: (0, smithy_client_1.expectInt32)(output.openActivityTasks),
3323
3277
  openChildWorkflowExecutions: (0, smithy_client_1.expectInt32)(output.openChildWorkflowExecutions),
@@ -3326,17 +3280,17 @@ const deserializeAws_json1_0WorkflowExecutionOpenCounts = (output, context) => {
3326
3280
  openTimers: (0, smithy_client_1.expectInt32)(output.openTimers),
3327
3281
  };
3328
3282
  };
3329
- const deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = (output, context) => {
3283
+ const de_WorkflowExecutionSignaledEventAttributes = (output, context) => {
3330
3284
  return {
3331
3285
  externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
3332
3286
  externalWorkflowExecution: output.externalWorkflowExecution != null
3333
- ? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
3287
+ ? de_WorkflowExecution(output.externalWorkflowExecution, context)
3334
3288
  : undefined,
3335
3289
  input: (0, smithy_client_1.expectString)(output.input),
3336
3290
  signalName: (0, smithy_client_1.expectString)(output.signalName),
3337
3291
  };
3338
3292
  };
3339
- const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, context) => {
3293
+ const de_WorkflowExecutionStartedEventAttributes = (output, context) => {
3340
3294
  return {
3341
3295
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3342
3296
  continuedExecutionRunId: (0, smithy_client_1.expectString)(output.continuedExecutionRunId),
@@ -3345,16 +3299,16 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
3345
3299
  lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
3346
3300
  parentInitiatedEventId: (0, smithy_client_1.expectLong)(output.parentInitiatedEventId),
3347
3301
  parentWorkflowExecution: output.parentWorkflowExecution != null
3348
- ? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
3302
+ ? de_WorkflowExecution(output.parentWorkflowExecution, context)
3349
3303
  : undefined,
3350
- tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
3351
- taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
3304
+ tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
3305
+ taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
3352
3306
  taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
3353
3307
  taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
3354
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3308
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3355
3309
  };
3356
3310
  };
3357
- const deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = (output, context) => {
3311
+ const de_WorkflowExecutionTerminatedEventAttributes = (output, context) => {
3358
3312
  return {
3359
3313
  cause: (0, smithy_client_1.expectString)(output.cause),
3360
3314
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
@@ -3362,37 +3316,35 @@ const deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = (output
3362
3316
  reason: (0, smithy_client_1.expectString)(output.reason),
3363
3317
  };
3364
3318
  };
3365
- const deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes = (output, context) => {
3319
+ const de_WorkflowExecutionTimedOutEventAttributes = (output, context) => {
3366
3320
  return {
3367
3321
  childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
3368
3322
  timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
3369
3323
  };
3370
3324
  };
3371
- const deserializeAws_json1_0WorkflowType = (output, context) => {
3325
+ const de_WorkflowType = (output, context) => {
3372
3326
  return {
3373
3327
  name: (0, smithy_client_1.expectString)(output.name),
3374
3328
  version: (0, smithy_client_1.expectString)(output.version),
3375
3329
  };
3376
3330
  };
3377
- const deserializeAws_json1_0WorkflowTypeConfiguration = (output, context) => {
3331
+ const de_WorkflowTypeConfiguration = (output, context) => {
3378
3332
  return {
3379
3333
  defaultChildPolicy: (0, smithy_client_1.expectString)(output.defaultChildPolicy),
3380
3334
  defaultExecutionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultExecutionStartToCloseTimeout),
3381
3335
  defaultLambdaRole: (0, smithy_client_1.expectString)(output.defaultLambdaRole),
3382
- defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
3336
+ defaultTaskList: output.defaultTaskList != null ? de_TaskList(output.defaultTaskList, context) : undefined,
3383
3337
  defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
3384
3338
  defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
3385
3339
  };
3386
3340
  };
3387
- const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
3341
+ const de_WorkflowTypeDetail = (output, context) => {
3388
3342
  return {
3389
- configuration: output.configuration != null
3390
- ? deserializeAws_json1_0WorkflowTypeConfiguration(output.configuration, context)
3391
- : undefined,
3392
- typeInfo: output.typeInfo != null ? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context) : undefined,
3343
+ configuration: output.configuration != null ? de_WorkflowTypeConfiguration(output.configuration, context) : undefined,
3344
+ typeInfo: output.typeInfo != null ? de_WorkflowTypeInfo(output.typeInfo, context) : undefined,
3393
3345
  };
3394
3346
  };
3395
- const deserializeAws_json1_0WorkflowTypeInfo = (output, context) => {
3347
+ const de_WorkflowTypeInfo = (output, context) => {
3396
3348
  return {
3397
3349
  creationDate: output.creationDate != null
3398
3350
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
@@ -3402,24 +3354,24 @@ const deserializeAws_json1_0WorkflowTypeInfo = (output, context) => {
3402
3354
  : undefined,
3403
3355
  description: (0, smithy_client_1.expectString)(output.description),
3404
3356
  status: (0, smithy_client_1.expectString)(output.status),
3405
- workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
3357
+ workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
3406
3358
  };
3407
3359
  };
3408
- const deserializeAws_json1_0WorkflowTypeInfoList = (output, context) => {
3360
+ const de_WorkflowTypeInfoList = (output, context) => {
3409
3361
  const retVal = (output || [])
3410
3362
  .filter((e) => e != null)
3411
3363
  .map((entry) => {
3412
3364
  if (entry === null) {
3413
3365
  return null;
3414
3366
  }
3415
- return deserializeAws_json1_0WorkflowTypeInfo(entry, context);
3367
+ return de_WorkflowTypeInfo(entry, context);
3416
3368
  });
3417
3369
  return retVal;
3418
3370
  };
3419
- const deserializeAws_json1_0WorkflowTypeInfos = (output, context) => {
3371
+ const de_WorkflowTypeInfos = (output, context) => {
3420
3372
  return {
3421
3373
  nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
3422
- typeInfos: output.typeInfos != null ? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context) : undefined,
3374
+ typeInfos: output.typeInfos != null ? de_WorkflowTypeInfoList(output.typeInfos, context) : undefined,
3423
3375
  };
3424
3376
  };
3425
3377
  const deserializeMetadata = (output) => ({