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