@aws-sdk/client-swf 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_0.js +291 -1625
- package/dist-es/protocols/Aws_json1_0.js +292 -1626
- package/package.json +6 -6
|
@@ -23,77 +23,77 @@ exports.se_CountOpenWorkflowExecutionsCommand = se_CountOpenWorkflowExecutionsCo
|
|
|
23
23
|
const se_CountPendingActivityTasksCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CountPendingActivityTasks");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CountPendingActivityTasksCommand = se_CountPendingActivityTasksCommand;
|
|
30
30
|
const se_CountPendingDecisionTasksCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CountPendingDecisionTasks");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CountPendingDecisionTasksCommand = se_CountPendingDecisionTasksCommand;
|
|
37
37
|
const se_DeprecateActivityTypeCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("DeprecateActivityType");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_DeprecateActivityTypeCommand = se_DeprecateActivityTypeCommand;
|
|
44
44
|
const se_DeprecateDomainCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("DeprecateDomain");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_DeprecateDomainCommand = se_DeprecateDomainCommand;
|
|
51
51
|
const se_DeprecateWorkflowTypeCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("DeprecateWorkflowType");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_DeprecateWorkflowTypeCommand = se_DeprecateWorkflowTypeCommand;
|
|
58
58
|
const se_DescribeActivityTypeCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("DescribeActivityType");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DescribeActivityTypeCommand = se_DescribeActivityTypeCommand;
|
|
65
65
|
const se_DescribeDomainCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DescribeDomain");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
|
|
72
72
|
const se_DescribeWorkflowExecutionCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DescribeWorkflowExecution");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DescribeWorkflowExecutionCommand = se_DescribeWorkflowExecutionCommand;
|
|
79
79
|
const se_DescribeWorkflowTypeCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DescribeWorkflowType");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DescribeWorkflowTypeCommand = se_DescribeWorkflowTypeCommand;
|
|
86
86
|
const se_GetWorkflowExecutionHistoryCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("GetWorkflowExecutionHistory");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_GetWorkflowExecutionHistoryCommand = se_GetWorkflowExecutionHistoryCommand;
|
|
93
93
|
const se_ListActivityTypesCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("ListActivityTypes");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_ListActivityTypesCommand = se_ListActivityTypesCommand;
|
|
@@ -107,7 +107,7 @@ exports.se_ListClosedWorkflowExecutionsCommand = se_ListClosedWorkflowExecutions
|
|
|
107
107
|
const se_ListDomainsCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("ListDomains");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_ListDomainsCommand = se_ListDomainsCommand;
|
|
@@ -121,147 +121,147 @@ exports.se_ListOpenWorkflowExecutionsCommand = se_ListOpenWorkflowExecutionsComm
|
|
|
121
121
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
122
122
|
const headers = sharedHeaders("ListTagsForResource");
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
127
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
128
128
|
const se_ListWorkflowTypesCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("ListWorkflowTypes");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_ListWorkflowTypesCommand = se_ListWorkflowTypesCommand;
|
|
135
135
|
const se_PollForActivityTaskCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("PollForActivityTask");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_PollForActivityTaskCommand = se_PollForActivityTaskCommand;
|
|
142
142
|
const se_PollForDecisionTaskCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("PollForDecisionTask");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_PollForDecisionTaskCommand = se_PollForDecisionTaskCommand;
|
|
149
149
|
const se_RecordActivityTaskHeartbeatCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("RecordActivityTaskHeartbeat");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_RecordActivityTaskHeartbeatCommand = se_RecordActivityTaskHeartbeatCommand;
|
|
156
156
|
const se_RegisterActivityTypeCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("RegisterActivityType");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_RegisterActivityTypeCommand = se_RegisterActivityTypeCommand;
|
|
163
163
|
const se_RegisterDomainCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("RegisterDomain");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_RegisterDomainCommand = se_RegisterDomainCommand;
|
|
170
170
|
const se_RegisterWorkflowTypeCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("RegisterWorkflowType");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_RegisterWorkflowTypeCommand = se_RegisterWorkflowTypeCommand;
|
|
177
177
|
const se_RequestCancelWorkflowExecutionCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("RequestCancelWorkflowExecution");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_RequestCancelWorkflowExecutionCommand = se_RequestCancelWorkflowExecutionCommand;
|
|
184
184
|
const se_RespondActivityTaskCanceledCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("RespondActivityTaskCanceled");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_RespondActivityTaskCanceledCommand = se_RespondActivityTaskCanceledCommand;
|
|
191
191
|
const se_RespondActivityTaskCompletedCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("RespondActivityTaskCompleted");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_RespondActivityTaskCompletedCommand = se_RespondActivityTaskCompletedCommand;
|
|
198
198
|
const se_RespondActivityTaskFailedCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("RespondActivityTaskFailed");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_RespondActivityTaskFailedCommand = se_RespondActivityTaskFailedCommand;
|
|
205
205
|
const se_RespondDecisionTaskCompletedCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("RespondDecisionTaskCompleted");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_RespondDecisionTaskCompletedCommand = se_RespondDecisionTaskCompletedCommand;
|
|
212
212
|
const se_SignalWorkflowExecutionCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("SignalWorkflowExecution");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_SignalWorkflowExecutionCommand = se_SignalWorkflowExecutionCommand;
|
|
219
219
|
const se_StartWorkflowExecutionCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("StartWorkflowExecution");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_StartWorkflowExecutionCommand = se_StartWorkflowExecutionCommand;
|
|
226
226
|
const se_TagResourceCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("TagResource");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
233
233
|
const se_TerminateWorkflowExecutionCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("TerminateWorkflowExecution");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_TerminateWorkflowExecutionCommand = se_TerminateWorkflowExecutionCommand;
|
|
240
240
|
const se_UndeprecateActivityTypeCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("UndeprecateActivityType");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_UndeprecateActivityTypeCommand = se_UndeprecateActivityTypeCommand;
|
|
247
247
|
const se_UndeprecateDomainCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("UndeprecateDomain");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_UndeprecateDomainCommand = se_UndeprecateDomainCommand;
|
|
254
254
|
const se_UndeprecateWorkflowTypeCommand = async (input, context) => {
|
|
255
255
|
const headers = sharedHeaders("UndeprecateWorkflowType");
|
|
256
256
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
259
|
};
|
|
260
260
|
exports.se_UndeprecateWorkflowTypeCommand = se_UndeprecateWorkflowTypeCommand;
|
|
261
261
|
const se_UntagResourceCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("UntagResource");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
@@ -271,12 +271,12 @@ const de_CountClosedWorkflowExecutionsCommand = async (output, context) => {
|
|
|
271
271
|
}
|
|
272
272
|
const data = await parseBody(output.body, context);
|
|
273
273
|
let contents = {};
|
|
274
|
-
contents =
|
|
274
|
+
contents = (0, smithy_client_1._json)(data);
|
|
275
275
|
const response = {
|
|
276
276
|
$metadata: deserializeMetadata(output),
|
|
277
277
|
...contents,
|
|
278
278
|
};
|
|
279
|
-
return
|
|
279
|
+
return response;
|
|
280
280
|
};
|
|
281
281
|
exports.de_CountClosedWorkflowExecutionsCommand = de_CountClosedWorkflowExecutionsCommand;
|
|
282
282
|
const de_CountClosedWorkflowExecutionsCommandError = async (output, context) => {
|
|
@@ -294,10 +294,9 @@ const de_CountClosedWorkflowExecutionsCommandError = async (output, context) =>
|
|
|
294
294
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
295
295
|
default:
|
|
296
296
|
const parsedBody = parsedOutput.body;
|
|
297
|
-
|
|
297
|
+
return throwDefaultError({
|
|
298
298
|
output,
|
|
299
299
|
parsedBody,
|
|
300
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
301
300
|
errorCode,
|
|
302
301
|
});
|
|
303
302
|
}
|
|
@@ -308,12 +307,12 @@ const de_CountOpenWorkflowExecutionsCommand = async (output, context) => {
|
|
|
308
307
|
}
|
|
309
308
|
const data = await parseBody(output.body, context);
|
|
310
309
|
let contents = {};
|
|
311
|
-
contents =
|
|
310
|
+
contents = (0, smithy_client_1._json)(data);
|
|
312
311
|
const response = {
|
|
313
312
|
$metadata: deserializeMetadata(output),
|
|
314
313
|
...contents,
|
|
315
314
|
};
|
|
316
|
-
return
|
|
315
|
+
return response;
|
|
317
316
|
};
|
|
318
317
|
exports.de_CountOpenWorkflowExecutionsCommand = de_CountOpenWorkflowExecutionsCommand;
|
|
319
318
|
const de_CountOpenWorkflowExecutionsCommandError = async (output, context) => {
|
|
@@ -331,10 +330,9 @@ const de_CountOpenWorkflowExecutionsCommandError = async (output, context) => {
|
|
|
331
330
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
332
331
|
default:
|
|
333
332
|
const parsedBody = parsedOutput.body;
|
|
334
|
-
|
|
333
|
+
return throwDefaultError({
|
|
335
334
|
output,
|
|
336
335
|
parsedBody,
|
|
337
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
338
336
|
errorCode,
|
|
339
337
|
});
|
|
340
338
|
}
|
|
@@ -345,12 +343,12 @@ const de_CountPendingActivityTasksCommand = async (output, context) => {
|
|
|
345
343
|
}
|
|
346
344
|
const data = await parseBody(output.body, context);
|
|
347
345
|
let contents = {};
|
|
348
|
-
contents =
|
|
346
|
+
contents = (0, smithy_client_1._json)(data);
|
|
349
347
|
const response = {
|
|
350
348
|
$metadata: deserializeMetadata(output),
|
|
351
349
|
...contents,
|
|
352
350
|
};
|
|
353
|
-
return
|
|
351
|
+
return response;
|
|
354
352
|
};
|
|
355
353
|
exports.de_CountPendingActivityTasksCommand = de_CountPendingActivityTasksCommand;
|
|
356
354
|
const de_CountPendingActivityTasksCommandError = async (output, context) => {
|
|
@@ -368,10 +366,9 @@ const de_CountPendingActivityTasksCommandError = async (output, context) => {
|
|
|
368
366
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
369
367
|
default:
|
|
370
368
|
const parsedBody = parsedOutput.body;
|
|
371
|
-
|
|
369
|
+
return throwDefaultError({
|
|
372
370
|
output,
|
|
373
371
|
parsedBody,
|
|
374
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
375
372
|
errorCode,
|
|
376
373
|
});
|
|
377
374
|
}
|
|
@@ -382,12 +379,12 @@ const de_CountPendingDecisionTasksCommand = async (output, context) => {
|
|
|
382
379
|
}
|
|
383
380
|
const data = await parseBody(output.body, context);
|
|
384
381
|
let contents = {};
|
|
385
|
-
contents =
|
|
382
|
+
contents = (0, smithy_client_1._json)(data);
|
|
386
383
|
const response = {
|
|
387
384
|
$metadata: deserializeMetadata(output),
|
|
388
385
|
...contents,
|
|
389
386
|
};
|
|
390
|
-
return
|
|
387
|
+
return response;
|
|
391
388
|
};
|
|
392
389
|
exports.de_CountPendingDecisionTasksCommand = de_CountPendingDecisionTasksCommand;
|
|
393
390
|
const de_CountPendingDecisionTasksCommandError = async (output, context) => {
|
|
@@ -405,10 +402,9 @@ const de_CountPendingDecisionTasksCommandError = async (output, context) => {
|
|
|
405
402
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
406
403
|
default:
|
|
407
404
|
const parsedBody = parsedOutput.body;
|
|
408
|
-
|
|
405
|
+
return throwDefaultError({
|
|
409
406
|
output,
|
|
410
407
|
parsedBody,
|
|
411
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
412
408
|
errorCode,
|
|
413
409
|
});
|
|
414
410
|
}
|
|
@@ -421,7 +417,7 @@ const de_DeprecateActivityTypeCommand = async (output, context) => {
|
|
|
421
417
|
const response = {
|
|
422
418
|
$metadata: deserializeMetadata(output),
|
|
423
419
|
};
|
|
424
|
-
return
|
|
420
|
+
return response;
|
|
425
421
|
};
|
|
426
422
|
exports.de_DeprecateActivityTypeCommand = de_DeprecateActivityTypeCommand;
|
|
427
423
|
const de_DeprecateActivityTypeCommandError = async (output, context) => {
|
|
@@ -442,10 +438,9 @@ const de_DeprecateActivityTypeCommandError = async (output, context) => {
|
|
|
442
438
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
443
439
|
default:
|
|
444
440
|
const parsedBody = parsedOutput.body;
|
|
445
|
-
|
|
441
|
+
return throwDefaultError({
|
|
446
442
|
output,
|
|
447
443
|
parsedBody,
|
|
448
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
449
444
|
errorCode,
|
|
450
445
|
});
|
|
451
446
|
}
|
|
@@ -458,7 +453,7 @@ const de_DeprecateDomainCommand = async (output, context) => {
|
|
|
458
453
|
const response = {
|
|
459
454
|
$metadata: deserializeMetadata(output),
|
|
460
455
|
};
|
|
461
|
-
return
|
|
456
|
+
return response;
|
|
462
457
|
};
|
|
463
458
|
exports.de_DeprecateDomainCommand = de_DeprecateDomainCommand;
|
|
464
459
|
const de_DeprecateDomainCommandError = async (output, context) => {
|
|
@@ -479,10 +474,9 @@ const de_DeprecateDomainCommandError = async (output, context) => {
|
|
|
479
474
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
480
475
|
default:
|
|
481
476
|
const parsedBody = parsedOutput.body;
|
|
482
|
-
|
|
477
|
+
return throwDefaultError({
|
|
483
478
|
output,
|
|
484
479
|
parsedBody,
|
|
485
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
486
480
|
errorCode,
|
|
487
481
|
});
|
|
488
482
|
}
|
|
@@ -495,7 +489,7 @@ const de_DeprecateWorkflowTypeCommand = async (output, context) => {
|
|
|
495
489
|
const response = {
|
|
496
490
|
$metadata: deserializeMetadata(output),
|
|
497
491
|
};
|
|
498
|
-
return
|
|
492
|
+
return response;
|
|
499
493
|
};
|
|
500
494
|
exports.de_DeprecateWorkflowTypeCommand = de_DeprecateWorkflowTypeCommand;
|
|
501
495
|
const de_DeprecateWorkflowTypeCommandError = async (output, context) => {
|
|
@@ -516,10 +510,9 @@ const de_DeprecateWorkflowTypeCommandError = async (output, context) => {
|
|
|
516
510
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
517
511
|
default:
|
|
518
512
|
const parsedBody = parsedOutput.body;
|
|
519
|
-
|
|
513
|
+
return throwDefaultError({
|
|
520
514
|
output,
|
|
521
515
|
parsedBody,
|
|
522
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
523
516
|
errorCode,
|
|
524
517
|
});
|
|
525
518
|
}
|
|
@@ -535,7 +528,7 @@ const de_DescribeActivityTypeCommand = async (output, context) => {
|
|
|
535
528
|
$metadata: deserializeMetadata(output),
|
|
536
529
|
...contents,
|
|
537
530
|
};
|
|
538
|
-
return
|
|
531
|
+
return response;
|
|
539
532
|
};
|
|
540
533
|
exports.de_DescribeActivityTypeCommand = de_DescribeActivityTypeCommand;
|
|
541
534
|
const de_DescribeActivityTypeCommandError = async (output, context) => {
|
|
@@ -553,10 +546,9 @@ const de_DescribeActivityTypeCommandError = async (output, context) => {
|
|
|
553
546
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
554
547
|
default:
|
|
555
548
|
const parsedBody = parsedOutput.body;
|
|
556
|
-
|
|
549
|
+
return throwDefaultError({
|
|
557
550
|
output,
|
|
558
551
|
parsedBody,
|
|
559
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
560
552
|
errorCode,
|
|
561
553
|
});
|
|
562
554
|
}
|
|
@@ -567,12 +559,12 @@ const de_DescribeDomainCommand = async (output, context) => {
|
|
|
567
559
|
}
|
|
568
560
|
const data = await parseBody(output.body, context);
|
|
569
561
|
let contents = {};
|
|
570
|
-
contents =
|
|
562
|
+
contents = (0, smithy_client_1._json)(data);
|
|
571
563
|
const response = {
|
|
572
564
|
$metadata: deserializeMetadata(output),
|
|
573
565
|
...contents,
|
|
574
566
|
};
|
|
575
|
-
return
|
|
567
|
+
return response;
|
|
576
568
|
};
|
|
577
569
|
exports.de_DescribeDomainCommand = de_DescribeDomainCommand;
|
|
578
570
|
const de_DescribeDomainCommandError = async (output, context) => {
|
|
@@ -590,10 +582,9 @@ const de_DescribeDomainCommandError = async (output, context) => {
|
|
|
590
582
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
591
583
|
default:
|
|
592
584
|
const parsedBody = parsedOutput.body;
|
|
593
|
-
|
|
585
|
+
return throwDefaultError({
|
|
594
586
|
output,
|
|
595
587
|
parsedBody,
|
|
596
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
597
588
|
errorCode,
|
|
598
589
|
});
|
|
599
590
|
}
|
|
@@ -609,7 +600,7 @@ const de_DescribeWorkflowExecutionCommand = async (output, context) => {
|
|
|
609
600
|
$metadata: deserializeMetadata(output),
|
|
610
601
|
...contents,
|
|
611
602
|
};
|
|
612
|
-
return
|
|
603
|
+
return response;
|
|
613
604
|
};
|
|
614
605
|
exports.de_DescribeWorkflowExecutionCommand = de_DescribeWorkflowExecutionCommand;
|
|
615
606
|
const de_DescribeWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -627,10 +618,9 @@ const de_DescribeWorkflowExecutionCommandError = async (output, context) => {
|
|
|
627
618
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
628
619
|
default:
|
|
629
620
|
const parsedBody = parsedOutput.body;
|
|
630
|
-
|
|
621
|
+
return throwDefaultError({
|
|
631
622
|
output,
|
|
632
623
|
parsedBody,
|
|
633
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
634
624
|
errorCode,
|
|
635
625
|
});
|
|
636
626
|
}
|
|
@@ -646,7 +636,7 @@ const de_DescribeWorkflowTypeCommand = async (output, context) => {
|
|
|
646
636
|
$metadata: deserializeMetadata(output),
|
|
647
637
|
...contents,
|
|
648
638
|
};
|
|
649
|
-
return
|
|
639
|
+
return response;
|
|
650
640
|
};
|
|
651
641
|
exports.de_DescribeWorkflowTypeCommand = de_DescribeWorkflowTypeCommand;
|
|
652
642
|
const de_DescribeWorkflowTypeCommandError = async (output, context) => {
|
|
@@ -664,10 +654,9 @@ const de_DescribeWorkflowTypeCommandError = async (output, context) => {
|
|
|
664
654
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
665
655
|
default:
|
|
666
656
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
|
|
657
|
+
return throwDefaultError({
|
|
668
658
|
output,
|
|
669
659
|
parsedBody,
|
|
670
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
671
660
|
errorCode,
|
|
672
661
|
});
|
|
673
662
|
}
|
|
@@ -683,7 +672,7 @@ const de_GetWorkflowExecutionHistoryCommand = async (output, context) => {
|
|
|
683
672
|
$metadata: deserializeMetadata(output),
|
|
684
673
|
...contents,
|
|
685
674
|
};
|
|
686
|
-
return
|
|
675
|
+
return response;
|
|
687
676
|
};
|
|
688
677
|
exports.de_GetWorkflowExecutionHistoryCommand = de_GetWorkflowExecutionHistoryCommand;
|
|
689
678
|
const de_GetWorkflowExecutionHistoryCommandError = async (output, context) => {
|
|
@@ -701,10 +690,9 @@ const de_GetWorkflowExecutionHistoryCommandError = async (output, context) => {
|
|
|
701
690
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
702
691
|
default:
|
|
703
692
|
const parsedBody = parsedOutput.body;
|
|
704
|
-
|
|
693
|
+
return throwDefaultError({
|
|
705
694
|
output,
|
|
706
695
|
parsedBody,
|
|
707
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
708
696
|
errorCode,
|
|
709
697
|
});
|
|
710
698
|
}
|
|
@@ -720,7 +708,7 @@ const de_ListActivityTypesCommand = async (output, context) => {
|
|
|
720
708
|
$metadata: deserializeMetadata(output),
|
|
721
709
|
...contents,
|
|
722
710
|
};
|
|
723
|
-
return
|
|
711
|
+
return response;
|
|
724
712
|
};
|
|
725
713
|
exports.de_ListActivityTypesCommand = de_ListActivityTypesCommand;
|
|
726
714
|
const de_ListActivityTypesCommandError = async (output, context) => {
|
|
@@ -738,10 +726,9 @@ const de_ListActivityTypesCommandError = async (output, context) => {
|
|
|
738
726
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
739
727
|
default:
|
|
740
728
|
const parsedBody = parsedOutput.body;
|
|
741
|
-
|
|
729
|
+
return throwDefaultError({
|
|
742
730
|
output,
|
|
743
731
|
parsedBody,
|
|
744
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
745
732
|
errorCode,
|
|
746
733
|
});
|
|
747
734
|
}
|
|
@@ -757,7 +744,7 @@ const de_ListClosedWorkflowExecutionsCommand = async (output, context) => {
|
|
|
757
744
|
$metadata: deserializeMetadata(output),
|
|
758
745
|
...contents,
|
|
759
746
|
};
|
|
760
|
-
return
|
|
747
|
+
return response;
|
|
761
748
|
};
|
|
762
749
|
exports.de_ListClosedWorkflowExecutionsCommand = de_ListClosedWorkflowExecutionsCommand;
|
|
763
750
|
const de_ListClosedWorkflowExecutionsCommandError = async (output, context) => {
|
|
@@ -775,10 +762,9 @@ const de_ListClosedWorkflowExecutionsCommandError = async (output, context) => {
|
|
|
775
762
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
776
763
|
default:
|
|
777
764
|
const parsedBody = parsedOutput.body;
|
|
778
|
-
|
|
765
|
+
return throwDefaultError({
|
|
779
766
|
output,
|
|
780
767
|
parsedBody,
|
|
781
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
782
768
|
errorCode,
|
|
783
769
|
});
|
|
784
770
|
}
|
|
@@ -789,12 +775,12 @@ const de_ListDomainsCommand = async (output, context) => {
|
|
|
789
775
|
}
|
|
790
776
|
const data = await parseBody(output.body, context);
|
|
791
777
|
let contents = {};
|
|
792
|
-
contents =
|
|
778
|
+
contents = (0, smithy_client_1._json)(data);
|
|
793
779
|
const response = {
|
|
794
780
|
$metadata: deserializeMetadata(output),
|
|
795
781
|
...contents,
|
|
796
782
|
};
|
|
797
|
-
return
|
|
783
|
+
return response;
|
|
798
784
|
};
|
|
799
785
|
exports.de_ListDomainsCommand = de_ListDomainsCommand;
|
|
800
786
|
const de_ListDomainsCommandError = async (output, context) => {
|
|
@@ -809,10 +795,9 @@ const de_ListDomainsCommandError = async (output, context) => {
|
|
|
809
795
|
throw await de_OperationNotPermittedFaultRes(parsedOutput, context);
|
|
810
796
|
default:
|
|
811
797
|
const parsedBody = parsedOutput.body;
|
|
812
|
-
|
|
798
|
+
return throwDefaultError({
|
|
813
799
|
output,
|
|
814
800
|
parsedBody,
|
|
815
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
816
801
|
errorCode,
|
|
817
802
|
});
|
|
818
803
|
}
|
|
@@ -828,7 +813,7 @@ const de_ListOpenWorkflowExecutionsCommand = async (output, context) => {
|
|
|
828
813
|
$metadata: deserializeMetadata(output),
|
|
829
814
|
...contents,
|
|
830
815
|
};
|
|
831
|
-
return
|
|
816
|
+
return response;
|
|
832
817
|
};
|
|
833
818
|
exports.de_ListOpenWorkflowExecutionsCommand = de_ListOpenWorkflowExecutionsCommand;
|
|
834
819
|
const de_ListOpenWorkflowExecutionsCommandError = async (output, context) => {
|
|
@@ -846,10 +831,9 @@ const de_ListOpenWorkflowExecutionsCommandError = async (output, context) => {
|
|
|
846
831
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
847
832
|
default:
|
|
848
833
|
const parsedBody = parsedOutput.body;
|
|
849
|
-
|
|
834
|
+
return throwDefaultError({
|
|
850
835
|
output,
|
|
851
836
|
parsedBody,
|
|
852
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
853
837
|
errorCode,
|
|
854
838
|
});
|
|
855
839
|
}
|
|
@@ -860,12 +844,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
860
844
|
}
|
|
861
845
|
const data = await parseBody(output.body, context);
|
|
862
846
|
let contents = {};
|
|
863
|
-
contents =
|
|
847
|
+
contents = (0, smithy_client_1._json)(data);
|
|
864
848
|
const response = {
|
|
865
849
|
$metadata: deserializeMetadata(output),
|
|
866
850
|
...contents,
|
|
867
851
|
};
|
|
868
|
-
return
|
|
852
|
+
return response;
|
|
869
853
|
};
|
|
870
854
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
871
855
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -886,10 +870,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
886
870
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
887
871
|
default:
|
|
888
872
|
const parsedBody = parsedOutput.body;
|
|
889
|
-
|
|
873
|
+
return throwDefaultError({
|
|
890
874
|
output,
|
|
891
875
|
parsedBody,
|
|
892
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
893
876
|
errorCode,
|
|
894
877
|
});
|
|
895
878
|
}
|
|
@@ -905,7 +888,7 @@ const de_ListWorkflowTypesCommand = async (output, context) => {
|
|
|
905
888
|
$metadata: deserializeMetadata(output),
|
|
906
889
|
...contents,
|
|
907
890
|
};
|
|
908
|
-
return
|
|
891
|
+
return response;
|
|
909
892
|
};
|
|
910
893
|
exports.de_ListWorkflowTypesCommand = de_ListWorkflowTypesCommand;
|
|
911
894
|
const de_ListWorkflowTypesCommandError = async (output, context) => {
|
|
@@ -923,10 +906,9 @@ const de_ListWorkflowTypesCommandError = async (output, context) => {
|
|
|
923
906
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
924
907
|
default:
|
|
925
908
|
const parsedBody = parsedOutput.body;
|
|
926
|
-
|
|
909
|
+
return throwDefaultError({
|
|
927
910
|
output,
|
|
928
911
|
parsedBody,
|
|
929
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
930
912
|
errorCode,
|
|
931
913
|
});
|
|
932
914
|
}
|
|
@@ -937,12 +919,12 @@ const de_PollForActivityTaskCommand = async (output, context) => {
|
|
|
937
919
|
}
|
|
938
920
|
const data = await parseBody(output.body, context);
|
|
939
921
|
let contents = {};
|
|
940
|
-
contents =
|
|
922
|
+
contents = (0, smithy_client_1._json)(data);
|
|
941
923
|
const response = {
|
|
942
924
|
$metadata: deserializeMetadata(output),
|
|
943
925
|
...contents,
|
|
944
926
|
};
|
|
945
|
-
return
|
|
927
|
+
return response;
|
|
946
928
|
};
|
|
947
929
|
exports.de_PollForActivityTaskCommand = de_PollForActivityTaskCommand;
|
|
948
930
|
const de_PollForActivityTaskCommandError = async (output, context) => {
|
|
@@ -963,10 +945,9 @@ const de_PollForActivityTaskCommandError = async (output, context) => {
|
|
|
963
945
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
964
946
|
default:
|
|
965
947
|
const parsedBody = parsedOutput.body;
|
|
966
|
-
|
|
948
|
+
return throwDefaultError({
|
|
967
949
|
output,
|
|
968
950
|
parsedBody,
|
|
969
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
970
951
|
errorCode,
|
|
971
952
|
});
|
|
972
953
|
}
|
|
@@ -982,7 +963,7 @@ const de_PollForDecisionTaskCommand = async (output, context) => {
|
|
|
982
963
|
$metadata: deserializeMetadata(output),
|
|
983
964
|
...contents,
|
|
984
965
|
};
|
|
985
|
-
return
|
|
966
|
+
return response;
|
|
986
967
|
};
|
|
987
968
|
exports.de_PollForDecisionTaskCommand = de_PollForDecisionTaskCommand;
|
|
988
969
|
const de_PollForDecisionTaskCommandError = async (output, context) => {
|
|
@@ -1003,10 +984,9 @@ const de_PollForDecisionTaskCommandError = async (output, context) => {
|
|
|
1003
984
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1004
985
|
default:
|
|
1005
986
|
const parsedBody = parsedOutput.body;
|
|
1006
|
-
|
|
987
|
+
return throwDefaultError({
|
|
1007
988
|
output,
|
|
1008
989
|
parsedBody,
|
|
1009
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1010
990
|
errorCode,
|
|
1011
991
|
});
|
|
1012
992
|
}
|
|
@@ -1017,12 +997,12 @@ const de_RecordActivityTaskHeartbeatCommand = async (output, context) => {
|
|
|
1017
997
|
}
|
|
1018
998
|
const data = await parseBody(output.body, context);
|
|
1019
999
|
let contents = {};
|
|
1020
|
-
contents =
|
|
1000
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1021
1001
|
const response = {
|
|
1022
1002
|
$metadata: deserializeMetadata(output),
|
|
1023
1003
|
...contents,
|
|
1024
1004
|
};
|
|
1025
|
-
return
|
|
1005
|
+
return response;
|
|
1026
1006
|
};
|
|
1027
1007
|
exports.de_RecordActivityTaskHeartbeatCommand = de_RecordActivityTaskHeartbeatCommand;
|
|
1028
1008
|
const de_RecordActivityTaskHeartbeatCommandError = async (output, context) => {
|
|
@@ -1040,10 +1020,9 @@ const de_RecordActivityTaskHeartbeatCommandError = async (output, context) => {
|
|
|
1040
1020
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1041
1021
|
default:
|
|
1042
1022
|
const parsedBody = parsedOutput.body;
|
|
1043
|
-
|
|
1023
|
+
return throwDefaultError({
|
|
1044
1024
|
output,
|
|
1045
1025
|
parsedBody,
|
|
1046
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1047
1026
|
errorCode,
|
|
1048
1027
|
});
|
|
1049
1028
|
}
|
|
@@ -1056,7 +1035,7 @@ const de_RegisterActivityTypeCommand = async (output, context) => {
|
|
|
1056
1035
|
const response = {
|
|
1057
1036
|
$metadata: deserializeMetadata(output),
|
|
1058
1037
|
};
|
|
1059
|
-
return
|
|
1038
|
+
return response;
|
|
1060
1039
|
};
|
|
1061
1040
|
exports.de_RegisterActivityTypeCommand = de_RegisterActivityTypeCommand;
|
|
1062
1041
|
const de_RegisterActivityTypeCommandError = async (output, context) => {
|
|
@@ -1080,10 +1059,9 @@ const de_RegisterActivityTypeCommandError = async (output, context) => {
|
|
|
1080
1059
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1081
1060
|
default:
|
|
1082
1061
|
const parsedBody = parsedOutput.body;
|
|
1083
|
-
|
|
1062
|
+
return throwDefaultError({
|
|
1084
1063
|
output,
|
|
1085
1064
|
parsedBody,
|
|
1086
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1087
1065
|
errorCode,
|
|
1088
1066
|
});
|
|
1089
1067
|
}
|
|
@@ -1096,7 +1074,7 @@ const de_RegisterDomainCommand = async (output, context) => {
|
|
|
1096
1074
|
const response = {
|
|
1097
1075
|
$metadata: deserializeMetadata(output),
|
|
1098
1076
|
};
|
|
1099
|
-
return
|
|
1077
|
+
return response;
|
|
1100
1078
|
};
|
|
1101
1079
|
exports.de_RegisterDomainCommand = de_RegisterDomainCommand;
|
|
1102
1080
|
const de_RegisterDomainCommandError = async (output, context) => {
|
|
@@ -1120,10 +1098,9 @@ const de_RegisterDomainCommandError = async (output, context) => {
|
|
|
1120
1098
|
throw await de_TooManyTagsFaultRes(parsedOutput, context);
|
|
1121
1099
|
default:
|
|
1122
1100
|
const parsedBody = parsedOutput.body;
|
|
1123
|
-
|
|
1101
|
+
return throwDefaultError({
|
|
1124
1102
|
output,
|
|
1125
1103
|
parsedBody,
|
|
1126
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1127
1104
|
errorCode,
|
|
1128
1105
|
});
|
|
1129
1106
|
}
|
|
@@ -1136,7 +1113,7 @@ const de_RegisterWorkflowTypeCommand = async (output, context) => {
|
|
|
1136
1113
|
const response = {
|
|
1137
1114
|
$metadata: deserializeMetadata(output),
|
|
1138
1115
|
};
|
|
1139
|
-
return
|
|
1116
|
+
return response;
|
|
1140
1117
|
};
|
|
1141
1118
|
exports.de_RegisterWorkflowTypeCommand = de_RegisterWorkflowTypeCommand;
|
|
1142
1119
|
const de_RegisterWorkflowTypeCommandError = async (output, context) => {
|
|
@@ -1160,10 +1137,9 @@ const de_RegisterWorkflowTypeCommandError = async (output, context) => {
|
|
|
1160
1137
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1161
1138
|
default:
|
|
1162
1139
|
const parsedBody = parsedOutput.body;
|
|
1163
|
-
|
|
1140
|
+
return throwDefaultError({
|
|
1164
1141
|
output,
|
|
1165
1142
|
parsedBody,
|
|
1166
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1167
1143
|
errorCode,
|
|
1168
1144
|
});
|
|
1169
1145
|
}
|
|
@@ -1176,7 +1152,7 @@ const de_RequestCancelWorkflowExecutionCommand = async (output, context) => {
|
|
|
1176
1152
|
const response = {
|
|
1177
1153
|
$metadata: deserializeMetadata(output),
|
|
1178
1154
|
};
|
|
1179
|
-
return
|
|
1155
|
+
return response;
|
|
1180
1156
|
};
|
|
1181
1157
|
exports.de_RequestCancelWorkflowExecutionCommand = de_RequestCancelWorkflowExecutionCommand;
|
|
1182
1158
|
const de_RequestCancelWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -1194,10 +1170,9 @@ const de_RequestCancelWorkflowExecutionCommandError = async (output, context) =>
|
|
|
1194
1170
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1195
1171
|
default:
|
|
1196
1172
|
const parsedBody = parsedOutput.body;
|
|
1197
|
-
|
|
1173
|
+
return throwDefaultError({
|
|
1198
1174
|
output,
|
|
1199
1175
|
parsedBody,
|
|
1200
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1201
1176
|
errorCode,
|
|
1202
1177
|
});
|
|
1203
1178
|
}
|
|
@@ -1210,7 +1185,7 @@ const de_RespondActivityTaskCanceledCommand = async (output, context) => {
|
|
|
1210
1185
|
const response = {
|
|
1211
1186
|
$metadata: deserializeMetadata(output),
|
|
1212
1187
|
};
|
|
1213
|
-
return
|
|
1188
|
+
return response;
|
|
1214
1189
|
};
|
|
1215
1190
|
exports.de_RespondActivityTaskCanceledCommand = de_RespondActivityTaskCanceledCommand;
|
|
1216
1191
|
const de_RespondActivityTaskCanceledCommandError = async (output, context) => {
|
|
@@ -1228,10 +1203,9 @@ const de_RespondActivityTaskCanceledCommandError = async (output, context) => {
|
|
|
1228
1203
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1229
1204
|
default:
|
|
1230
1205
|
const parsedBody = parsedOutput.body;
|
|
1231
|
-
|
|
1206
|
+
return throwDefaultError({
|
|
1232
1207
|
output,
|
|
1233
1208
|
parsedBody,
|
|
1234
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1235
1209
|
errorCode,
|
|
1236
1210
|
});
|
|
1237
1211
|
}
|
|
@@ -1244,7 +1218,7 @@ const de_RespondActivityTaskCompletedCommand = async (output, context) => {
|
|
|
1244
1218
|
const response = {
|
|
1245
1219
|
$metadata: deserializeMetadata(output),
|
|
1246
1220
|
};
|
|
1247
|
-
return
|
|
1221
|
+
return response;
|
|
1248
1222
|
};
|
|
1249
1223
|
exports.de_RespondActivityTaskCompletedCommand = de_RespondActivityTaskCompletedCommand;
|
|
1250
1224
|
const de_RespondActivityTaskCompletedCommandError = async (output, context) => {
|
|
@@ -1262,10 +1236,9 @@ const de_RespondActivityTaskCompletedCommandError = async (output, context) => {
|
|
|
1262
1236
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1263
1237
|
default:
|
|
1264
1238
|
const parsedBody = parsedOutput.body;
|
|
1265
|
-
|
|
1239
|
+
return throwDefaultError({
|
|
1266
1240
|
output,
|
|
1267
1241
|
parsedBody,
|
|
1268
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1269
1242
|
errorCode,
|
|
1270
1243
|
});
|
|
1271
1244
|
}
|
|
@@ -1278,7 +1251,7 @@ const de_RespondActivityTaskFailedCommand = async (output, context) => {
|
|
|
1278
1251
|
const response = {
|
|
1279
1252
|
$metadata: deserializeMetadata(output),
|
|
1280
1253
|
};
|
|
1281
|
-
return
|
|
1254
|
+
return response;
|
|
1282
1255
|
};
|
|
1283
1256
|
exports.de_RespondActivityTaskFailedCommand = de_RespondActivityTaskFailedCommand;
|
|
1284
1257
|
const de_RespondActivityTaskFailedCommandError = async (output, context) => {
|
|
@@ -1296,10 +1269,9 @@ const de_RespondActivityTaskFailedCommandError = async (output, context) => {
|
|
|
1296
1269
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1297
1270
|
default:
|
|
1298
1271
|
const parsedBody = parsedOutput.body;
|
|
1299
|
-
|
|
1272
|
+
return throwDefaultError({
|
|
1300
1273
|
output,
|
|
1301
1274
|
parsedBody,
|
|
1302
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1303
1275
|
errorCode,
|
|
1304
1276
|
});
|
|
1305
1277
|
}
|
|
@@ -1312,7 +1284,7 @@ const de_RespondDecisionTaskCompletedCommand = async (output, context) => {
|
|
|
1312
1284
|
const response = {
|
|
1313
1285
|
$metadata: deserializeMetadata(output),
|
|
1314
1286
|
};
|
|
1315
|
-
return
|
|
1287
|
+
return response;
|
|
1316
1288
|
};
|
|
1317
1289
|
exports.de_RespondDecisionTaskCompletedCommand = de_RespondDecisionTaskCompletedCommand;
|
|
1318
1290
|
const de_RespondDecisionTaskCompletedCommandError = async (output, context) => {
|
|
@@ -1330,10 +1302,9 @@ const de_RespondDecisionTaskCompletedCommandError = async (output, context) => {
|
|
|
1330
1302
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1331
1303
|
default:
|
|
1332
1304
|
const parsedBody = parsedOutput.body;
|
|
1333
|
-
|
|
1305
|
+
return throwDefaultError({
|
|
1334
1306
|
output,
|
|
1335
1307
|
parsedBody,
|
|
1336
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1337
1308
|
errorCode,
|
|
1338
1309
|
});
|
|
1339
1310
|
}
|
|
@@ -1346,7 +1317,7 @@ const de_SignalWorkflowExecutionCommand = async (output, context) => {
|
|
|
1346
1317
|
const response = {
|
|
1347
1318
|
$metadata: deserializeMetadata(output),
|
|
1348
1319
|
};
|
|
1349
|
-
return
|
|
1320
|
+
return response;
|
|
1350
1321
|
};
|
|
1351
1322
|
exports.de_SignalWorkflowExecutionCommand = de_SignalWorkflowExecutionCommand;
|
|
1352
1323
|
const de_SignalWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -1364,10 +1335,9 @@ const de_SignalWorkflowExecutionCommandError = async (output, context) => {
|
|
|
1364
1335
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1365
1336
|
default:
|
|
1366
1337
|
const parsedBody = parsedOutput.body;
|
|
1367
|
-
|
|
1338
|
+
return throwDefaultError({
|
|
1368
1339
|
output,
|
|
1369
1340
|
parsedBody,
|
|
1370
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1371
1341
|
errorCode,
|
|
1372
1342
|
});
|
|
1373
1343
|
}
|
|
@@ -1378,12 +1348,12 @@ const de_StartWorkflowExecutionCommand = async (output, context) => {
|
|
|
1378
1348
|
}
|
|
1379
1349
|
const data = await parseBody(output.body, context);
|
|
1380
1350
|
let contents = {};
|
|
1381
|
-
contents =
|
|
1351
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1382
1352
|
const response = {
|
|
1383
1353
|
$metadata: deserializeMetadata(output),
|
|
1384
1354
|
...contents,
|
|
1385
1355
|
};
|
|
1386
|
-
return
|
|
1356
|
+
return response;
|
|
1387
1357
|
};
|
|
1388
1358
|
exports.de_StartWorkflowExecutionCommand = de_StartWorkflowExecutionCommand;
|
|
1389
1359
|
const de_StartWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -1413,10 +1383,9 @@ const de_StartWorkflowExecutionCommandError = async (output, context) => {
|
|
|
1413
1383
|
throw await de_WorkflowExecutionAlreadyStartedFaultRes(parsedOutput, context);
|
|
1414
1384
|
default:
|
|
1415
1385
|
const parsedBody = parsedOutput.body;
|
|
1416
|
-
|
|
1386
|
+
return throwDefaultError({
|
|
1417
1387
|
output,
|
|
1418
1388
|
parsedBody,
|
|
1419
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1420
1389
|
errorCode,
|
|
1421
1390
|
});
|
|
1422
1391
|
}
|
|
@@ -1429,7 +1398,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1429
1398
|
const response = {
|
|
1430
1399
|
$metadata: deserializeMetadata(output),
|
|
1431
1400
|
};
|
|
1432
|
-
return
|
|
1401
|
+
return response;
|
|
1433
1402
|
};
|
|
1434
1403
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1435
1404
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1453,10 +1422,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1453
1422
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1454
1423
|
default:
|
|
1455
1424
|
const parsedBody = parsedOutput.body;
|
|
1456
|
-
|
|
1425
|
+
return throwDefaultError({
|
|
1457
1426
|
output,
|
|
1458
1427
|
parsedBody,
|
|
1459
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1460
1428
|
errorCode,
|
|
1461
1429
|
});
|
|
1462
1430
|
}
|
|
@@ -1469,7 +1437,7 @@ const de_TerminateWorkflowExecutionCommand = async (output, context) => {
|
|
|
1469
1437
|
const response = {
|
|
1470
1438
|
$metadata: deserializeMetadata(output),
|
|
1471
1439
|
};
|
|
1472
|
-
return
|
|
1440
|
+
return response;
|
|
1473
1441
|
};
|
|
1474
1442
|
exports.de_TerminateWorkflowExecutionCommand = de_TerminateWorkflowExecutionCommand;
|
|
1475
1443
|
const de_TerminateWorkflowExecutionCommandError = async (output, context) => {
|
|
@@ -1487,10 +1455,9 @@ const de_TerminateWorkflowExecutionCommandError = async (output, context) => {
|
|
|
1487
1455
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1488
1456
|
default:
|
|
1489
1457
|
const parsedBody = parsedOutput.body;
|
|
1490
|
-
|
|
1458
|
+
return throwDefaultError({
|
|
1491
1459
|
output,
|
|
1492
1460
|
parsedBody,
|
|
1493
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1494
1461
|
errorCode,
|
|
1495
1462
|
});
|
|
1496
1463
|
}
|
|
@@ -1503,7 +1470,7 @@ const de_UndeprecateActivityTypeCommand = async (output, context) => {
|
|
|
1503
1470
|
const response = {
|
|
1504
1471
|
$metadata: deserializeMetadata(output),
|
|
1505
1472
|
};
|
|
1506
|
-
return
|
|
1473
|
+
return response;
|
|
1507
1474
|
};
|
|
1508
1475
|
exports.de_UndeprecateActivityTypeCommand = de_UndeprecateActivityTypeCommand;
|
|
1509
1476
|
const de_UndeprecateActivityTypeCommandError = async (output, context) => {
|
|
@@ -1524,10 +1491,9 @@ const de_UndeprecateActivityTypeCommandError = async (output, context) => {
|
|
|
1524
1491
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1525
1492
|
default:
|
|
1526
1493
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1494
|
+
return throwDefaultError({
|
|
1528
1495
|
output,
|
|
1529
1496
|
parsedBody,
|
|
1530
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1531
1497
|
errorCode,
|
|
1532
1498
|
});
|
|
1533
1499
|
}
|
|
@@ -1540,7 +1506,7 @@ const de_UndeprecateDomainCommand = async (output, context) => {
|
|
|
1540
1506
|
const response = {
|
|
1541
1507
|
$metadata: deserializeMetadata(output),
|
|
1542
1508
|
};
|
|
1543
|
-
return
|
|
1509
|
+
return response;
|
|
1544
1510
|
};
|
|
1545
1511
|
exports.de_UndeprecateDomainCommand = de_UndeprecateDomainCommand;
|
|
1546
1512
|
const de_UndeprecateDomainCommandError = async (output, context) => {
|
|
@@ -1561,10 +1527,9 @@ const de_UndeprecateDomainCommandError = async (output, context) => {
|
|
|
1561
1527
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1562
1528
|
default:
|
|
1563
1529
|
const parsedBody = parsedOutput.body;
|
|
1564
|
-
|
|
1530
|
+
return throwDefaultError({
|
|
1565
1531
|
output,
|
|
1566
1532
|
parsedBody,
|
|
1567
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1568
1533
|
errorCode,
|
|
1569
1534
|
});
|
|
1570
1535
|
}
|
|
@@ -1577,7 +1542,7 @@ const de_UndeprecateWorkflowTypeCommand = async (output, context) => {
|
|
|
1577
1542
|
const response = {
|
|
1578
1543
|
$metadata: deserializeMetadata(output),
|
|
1579
1544
|
};
|
|
1580
|
-
return
|
|
1545
|
+
return response;
|
|
1581
1546
|
};
|
|
1582
1547
|
exports.de_UndeprecateWorkflowTypeCommand = de_UndeprecateWorkflowTypeCommand;
|
|
1583
1548
|
const de_UndeprecateWorkflowTypeCommandError = async (output, context) => {
|
|
@@ -1598,10 +1563,9 @@ const de_UndeprecateWorkflowTypeCommandError = async (output, context) => {
|
|
|
1598
1563
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1599
1564
|
default:
|
|
1600
1565
|
const parsedBody = parsedOutput.body;
|
|
1601
|
-
|
|
1566
|
+
return throwDefaultError({
|
|
1602
1567
|
output,
|
|
1603
1568
|
parsedBody,
|
|
1604
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1605
1569
|
errorCode,
|
|
1606
1570
|
});
|
|
1607
1571
|
}
|
|
@@ -1614,7 +1578,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1614
1578
|
const response = {
|
|
1615
1579
|
$metadata: deserializeMetadata(output),
|
|
1616
1580
|
};
|
|
1617
|
-
return
|
|
1581
|
+
return response;
|
|
1618
1582
|
};
|
|
1619
1583
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1620
1584
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1635,17 +1599,16 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1635
1599
|
throw await de_UnknownResourceFaultRes(parsedOutput, context);
|
|
1636
1600
|
default:
|
|
1637
1601
|
const parsedBody = parsedOutput.body;
|
|
1638
|
-
|
|
1602
|
+
return throwDefaultError({
|
|
1639
1603
|
output,
|
|
1640
1604
|
parsedBody,
|
|
1641
|
-
exceptionCtor: SWFServiceException_1.SWFServiceException,
|
|
1642
1605
|
errorCode,
|
|
1643
1606
|
});
|
|
1644
1607
|
}
|
|
1645
1608
|
};
|
|
1646
1609
|
const de_DefaultUndefinedFaultRes = async (parsedOutput, context) => {
|
|
1647
1610
|
const body = parsedOutput.body;
|
|
1648
|
-
const deserialized =
|
|
1611
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1649
1612
|
const exception = new models_0_1.DefaultUndefinedFault({
|
|
1650
1613
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1651
1614
|
...deserialized,
|
|
@@ -1654,7 +1617,7 @@ const de_DefaultUndefinedFaultRes = async (parsedOutput, context) => {
|
|
|
1654
1617
|
};
|
|
1655
1618
|
const de_DomainAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1656
1619
|
const body = parsedOutput.body;
|
|
1657
|
-
const deserialized =
|
|
1620
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1658
1621
|
const exception = new models_0_1.DomainAlreadyExistsFault({
|
|
1659
1622
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1660
1623
|
...deserialized,
|
|
@@ -1663,7 +1626,7 @@ const de_DomainAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
1663
1626
|
};
|
|
1664
1627
|
const de_DomainDeprecatedFaultRes = async (parsedOutput, context) => {
|
|
1665
1628
|
const body = parsedOutput.body;
|
|
1666
|
-
const deserialized =
|
|
1629
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1667
1630
|
const exception = new models_0_1.DomainDeprecatedFault({
|
|
1668
1631
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1669
1632
|
...deserialized,
|
|
@@ -1672,7 +1635,7 @@ const de_DomainDeprecatedFaultRes = async (parsedOutput, context) => {
|
|
|
1672
1635
|
};
|
|
1673
1636
|
const de_LimitExceededFaultRes = async (parsedOutput, context) => {
|
|
1674
1637
|
const body = parsedOutput.body;
|
|
1675
|
-
const deserialized =
|
|
1638
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1676
1639
|
const exception = new models_0_1.LimitExceededFault({
|
|
1677
1640
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1678
1641
|
...deserialized,
|
|
@@ -1681,7 +1644,7 @@ const de_LimitExceededFaultRes = async (parsedOutput, context) => {
|
|
|
1681
1644
|
};
|
|
1682
1645
|
const de_OperationNotPermittedFaultRes = async (parsedOutput, context) => {
|
|
1683
1646
|
const body = parsedOutput.body;
|
|
1684
|
-
const deserialized =
|
|
1647
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1685
1648
|
const exception = new models_0_1.OperationNotPermittedFault({
|
|
1686
1649
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1687
1650
|
...deserialized,
|
|
@@ -1690,7 +1653,7 @@ const de_OperationNotPermittedFaultRes = async (parsedOutput, context) => {
|
|
|
1690
1653
|
};
|
|
1691
1654
|
const de_TooManyTagsFaultRes = async (parsedOutput, context) => {
|
|
1692
1655
|
const body = parsedOutput.body;
|
|
1693
|
-
const deserialized =
|
|
1656
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1694
1657
|
const exception = new models_0_1.TooManyTagsFault({
|
|
1695
1658
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1696
1659
|
...deserialized,
|
|
@@ -1699,7 +1662,7 @@ const de_TooManyTagsFaultRes = async (parsedOutput, context) => {
|
|
|
1699
1662
|
};
|
|
1700
1663
|
const de_TypeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
1701
1664
|
const body = parsedOutput.body;
|
|
1702
|
-
const deserialized =
|
|
1665
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1703
1666
|
const exception = new models_0_1.TypeAlreadyExistsFault({
|
|
1704
1667
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1705
1668
|
...deserialized,
|
|
@@ -1708,7 +1671,7 @@ const de_TypeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
1708
1671
|
};
|
|
1709
1672
|
const de_TypeDeprecatedFaultRes = async (parsedOutput, context) => {
|
|
1710
1673
|
const body = parsedOutput.body;
|
|
1711
|
-
const deserialized =
|
|
1674
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1712
1675
|
const exception = new models_0_1.TypeDeprecatedFault({
|
|
1713
1676
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1714
1677
|
...deserialized,
|
|
@@ -1717,7 +1680,7 @@ const de_TypeDeprecatedFaultRes = async (parsedOutput, context) => {
|
|
|
1717
1680
|
};
|
|
1718
1681
|
const de_UnknownResourceFaultRes = async (parsedOutput, context) => {
|
|
1719
1682
|
const body = parsedOutput.body;
|
|
1720
|
-
const deserialized =
|
|
1683
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1721
1684
|
const exception = new models_0_1.UnknownResourceFault({
|
|
1722
1685
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1723
1686
|
...deserialized,
|
|
@@ -1726,1542 +1689,244 @@ const de_UnknownResourceFaultRes = async (parsedOutput, context) => {
|
|
|
1726
1689
|
};
|
|
1727
1690
|
const de_WorkflowExecutionAlreadyStartedFaultRes = async (parsedOutput, context) => {
|
|
1728
1691
|
const body = parsedOutput.body;
|
|
1729
|
-
const deserialized =
|
|
1692
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1730
1693
|
const exception = new models_0_1.WorkflowExecutionAlreadyStartedFault({
|
|
1731
1694
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1732
1695
|
...deserialized,
|
|
1733
1696
|
});
|
|
1734
1697
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1735
1698
|
};
|
|
1736
|
-
const se_ActivityType = (input, context) => {
|
|
1737
|
-
return {
|
|
1738
|
-
...(input.name != null && { name: input.name }),
|
|
1739
|
-
...(input.version != null && { version: input.version }),
|
|
1740
|
-
};
|
|
1741
|
-
};
|
|
1742
|
-
const se_CancelTimerDecisionAttributes = (input, context) => {
|
|
1743
|
-
return {
|
|
1744
|
-
...(input.timerId != null && { timerId: input.timerId }),
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
const se_CancelWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1748
|
-
return {
|
|
1749
|
-
...(input.details != null && { details: input.details }),
|
|
1750
|
-
};
|
|
1751
|
-
};
|
|
1752
|
-
const se_CloseStatusFilter = (input, context) => {
|
|
1753
|
-
return {
|
|
1754
|
-
...(input.status != null && { status: input.status }),
|
|
1755
|
-
};
|
|
1756
|
-
};
|
|
1757
|
-
const se_CompleteWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1758
|
-
return {
|
|
1759
|
-
...(input.result != null && { result: input.result }),
|
|
1760
|
-
};
|
|
1761
|
-
};
|
|
1762
|
-
const se_ContinueAsNewWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1763
|
-
return {
|
|
1764
|
-
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
1765
|
-
...(input.executionStartToCloseTimeout != null && {
|
|
1766
|
-
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
1767
|
-
}),
|
|
1768
|
-
...(input.input != null && { input: input.input }),
|
|
1769
|
-
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
1770
|
-
...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
|
|
1771
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
1772
|
-
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
1773
|
-
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
1774
|
-
...(input.workflowTypeVersion != null && { workflowTypeVersion: input.workflowTypeVersion }),
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
1699
|
const se_CountClosedWorkflowExecutionsInput = (input, context) => {
|
|
1778
|
-
return {
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
|
|
1788
|
-
...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
|
|
1789
|
-
...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
|
|
1790
|
-
};
|
|
1700
|
+
return (0, smithy_client_1.take)(input, {
|
|
1701
|
+
closeStatusFilter: smithy_client_1._json,
|
|
1702
|
+
closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1703
|
+
domain: [],
|
|
1704
|
+
executionFilter: smithy_client_1._json,
|
|
1705
|
+
startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1706
|
+
tagFilter: smithy_client_1._json,
|
|
1707
|
+
typeFilter: smithy_client_1._json,
|
|
1708
|
+
});
|
|
1791
1709
|
};
|
|
1792
1710
|
const se_CountOpenWorkflowExecutionsInput = (input, context) => {
|
|
1793
|
-
return {
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
|
|
1800
|
-
...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
|
|
1801
|
-
};
|
|
1802
|
-
};
|
|
1803
|
-
const se_CountPendingActivityTasksInput = (input, context) => {
|
|
1804
|
-
return {
|
|
1805
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1806
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
1807
|
-
};
|
|
1808
|
-
};
|
|
1809
|
-
const se_CountPendingDecisionTasksInput = (input, context) => {
|
|
1810
|
-
return {
|
|
1811
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1812
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
1813
|
-
};
|
|
1814
|
-
};
|
|
1815
|
-
const se_Decision = (input, context) => {
|
|
1816
|
-
return {
|
|
1817
|
-
...(input.cancelTimerDecisionAttributes != null && {
|
|
1818
|
-
cancelTimerDecisionAttributes: se_CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
|
|
1819
|
-
}),
|
|
1820
|
-
...(input.cancelWorkflowExecutionDecisionAttributes != null && {
|
|
1821
|
-
cancelWorkflowExecutionDecisionAttributes: se_CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
|
|
1822
|
-
}),
|
|
1823
|
-
...(input.completeWorkflowExecutionDecisionAttributes != null && {
|
|
1824
|
-
completeWorkflowExecutionDecisionAttributes: se_CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
|
|
1825
|
-
}),
|
|
1826
|
-
...(input.continueAsNewWorkflowExecutionDecisionAttributes != null && {
|
|
1827
|
-
continueAsNewWorkflowExecutionDecisionAttributes: se_ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
|
|
1828
|
-
}),
|
|
1829
|
-
...(input.decisionType != null && { decisionType: input.decisionType }),
|
|
1830
|
-
...(input.failWorkflowExecutionDecisionAttributes != null && {
|
|
1831
|
-
failWorkflowExecutionDecisionAttributes: se_FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
|
|
1832
|
-
}),
|
|
1833
|
-
...(input.recordMarkerDecisionAttributes != null && {
|
|
1834
|
-
recordMarkerDecisionAttributes: se_RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
|
|
1835
|
-
}),
|
|
1836
|
-
...(input.requestCancelActivityTaskDecisionAttributes != null && {
|
|
1837
|
-
requestCancelActivityTaskDecisionAttributes: se_RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
|
|
1838
|
-
}),
|
|
1839
|
-
...(input.requestCancelExternalWorkflowExecutionDecisionAttributes != null && {
|
|
1840
|
-
requestCancelExternalWorkflowExecutionDecisionAttributes: se_RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
|
|
1841
|
-
}),
|
|
1842
|
-
...(input.scheduleActivityTaskDecisionAttributes != null && {
|
|
1843
|
-
scheduleActivityTaskDecisionAttributes: se_ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
|
|
1844
|
-
}),
|
|
1845
|
-
...(input.scheduleLambdaFunctionDecisionAttributes != null && {
|
|
1846
|
-
scheduleLambdaFunctionDecisionAttributes: se_ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
|
|
1847
|
-
}),
|
|
1848
|
-
...(input.signalExternalWorkflowExecutionDecisionAttributes != null && {
|
|
1849
|
-
signalExternalWorkflowExecutionDecisionAttributes: se_SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
|
|
1850
|
-
}),
|
|
1851
|
-
...(input.startChildWorkflowExecutionDecisionAttributes != null && {
|
|
1852
|
-
startChildWorkflowExecutionDecisionAttributes: se_StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
|
|
1853
|
-
}),
|
|
1854
|
-
...(input.startTimerDecisionAttributes != null && {
|
|
1855
|
-
startTimerDecisionAttributes: se_StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
|
|
1856
|
-
}),
|
|
1857
|
-
};
|
|
1858
|
-
};
|
|
1859
|
-
const se_DecisionList = (input, context) => {
|
|
1860
|
-
return input
|
|
1861
|
-
.filter((e) => e != null)
|
|
1862
|
-
.map((entry) => {
|
|
1863
|
-
return se_Decision(entry, context);
|
|
1711
|
+
return (0, smithy_client_1.take)(input, {
|
|
1712
|
+
domain: [],
|
|
1713
|
+
executionFilter: smithy_client_1._json,
|
|
1714
|
+
startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1715
|
+
tagFilter: smithy_client_1._json,
|
|
1716
|
+
typeFilter: smithy_client_1._json,
|
|
1864
1717
|
});
|
|
1865
1718
|
};
|
|
1866
|
-
const se_DeprecateActivityTypeInput = (input, context) => {
|
|
1867
|
-
return {
|
|
1868
|
-
...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
|
|
1869
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1870
|
-
};
|
|
1871
|
-
};
|
|
1872
|
-
const se_DeprecateDomainInput = (input, context) => {
|
|
1873
|
-
return {
|
|
1874
|
-
...(input.name != null && { name: input.name }),
|
|
1875
|
-
};
|
|
1876
|
-
};
|
|
1877
|
-
const se_DeprecateWorkflowTypeInput = (input, context) => {
|
|
1878
|
-
return {
|
|
1879
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1880
|
-
...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
|
|
1881
|
-
};
|
|
1882
|
-
};
|
|
1883
|
-
const se_DescribeActivityTypeInput = (input, context) => {
|
|
1884
|
-
return {
|
|
1885
|
-
...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
|
|
1886
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1887
|
-
};
|
|
1888
|
-
};
|
|
1889
|
-
const se_DescribeDomainInput = (input, context) => {
|
|
1890
|
-
return {
|
|
1891
|
-
...(input.name != null && { name: input.name }),
|
|
1892
|
-
};
|
|
1893
|
-
};
|
|
1894
|
-
const se_DescribeWorkflowExecutionInput = (input, context) => {
|
|
1895
|
-
return {
|
|
1896
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1897
|
-
...(input.execution != null && { execution: se_WorkflowExecution(input.execution, context) }),
|
|
1898
|
-
};
|
|
1899
|
-
};
|
|
1900
|
-
const se_DescribeWorkflowTypeInput = (input, context) => {
|
|
1901
|
-
return {
|
|
1902
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1903
|
-
...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
1719
|
const se_ExecutionTimeFilter = (input, context) => {
|
|
1907
|
-
return {
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
const se_FailWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1913
|
-
return {
|
|
1914
|
-
...(input.details != null && { details: input.details }),
|
|
1915
|
-
...(input.reason != null && { reason: input.reason }),
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1918
|
-
const se_GetWorkflowExecutionHistoryInput = (input, context) => {
|
|
1919
|
-
return {
|
|
1920
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1921
|
-
...(input.execution != null && { execution: se_WorkflowExecution(input.execution, context) }),
|
|
1922
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1923
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1924
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1925
|
-
};
|
|
1926
|
-
};
|
|
1927
|
-
const se_ListActivityTypesInput = (input, context) => {
|
|
1928
|
-
return {
|
|
1929
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1930
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1931
|
-
...(input.name != null && { name: input.name }),
|
|
1932
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1933
|
-
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
1934
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1935
|
-
};
|
|
1936
|
-
};
|
|
1937
|
-
const se_ListClosedWorkflowExecutionsInput = (input, context) => {
|
|
1938
|
-
return {
|
|
1939
|
-
...(input.closeStatusFilter != null && {
|
|
1940
|
-
closeStatusFilter: se_CloseStatusFilter(input.closeStatusFilter, context),
|
|
1941
|
-
}),
|
|
1942
|
-
...(input.closeTimeFilter != null && { closeTimeFilter: se_ExecutionTimeFilter(input.closeTimeFilter, context) }),
|
|
1943
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1944
|
-
...(input.executionFilter != null && {
|
|
1945
|
-
executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
|
|
1946
|
-
}),
|
|
1947
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1948
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1949
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1950
|
-
...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
|
|
1951
|
-
...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
|
|
1952
|
-
...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
|
|
1953
|
-
};
|
|
1954
|
-
};
|
|
1955
|
-
const se_ListDomainsInput = (input, context) => {
|
|
1956
|
-
return {
|
|
1957
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1958
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1959
|
-
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
1960
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
const se_ListOpenWorkflowExecutionsInput = (input, context) => {
|
|
1964
|
-
return {
|
|
1965
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1966
|
-
...(input.executionFilter != null && {
|
|
1967
|
-
executionFilter: se_WorkflowExecutionFilter(input.executionFilter, context),
|
|
1968
|
-
}),
|
|
1969
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1970
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1971
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1972
|
-
...(input.startTimeFilter != null && { startTimeFilter: se_ExecutionTimeFilter(input.startTimeFilter, context) }),
|
|
1973
|
-
...(input.tagFilter != null && { tagFilter: se_TagFilter(input.tagFilter, context) }),
|
|
1974
|
-
...(input.typeFilter != null && { typeFilter: se_WorkflowTypeFilter(input.typeFilter, context) }),
|
|
1975
|
-
};
|
|
1976
|
-
};
|
|
1977
|
-
const se_ListTagsForResourceInput = (input, context) => {
|
|
1978
|
-
return {
|
|
1979
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
const se_ListWorkflowTypesInput = (input, context) => {
|
|
1983
|
-
return {
|
|
1984
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1985
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
1986
|
-
...(input.name != null && { name: input.name }),
|
|
1987
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
1988
|
-
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
1989
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
const se_PollForActivityTaskInput = (input, context) => {
|
|
1993
|
-
return {
|
|
1994
|
-
...(input.domain != null && { domain: input.domain }),
|
|
1995
|
-
...(input.identity != null && { identity: input.identity }),
|
|
1996
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
1997
|
-
};
|
|
1998
|
-
};
|
|
1999
|
-
const se_PollForDecisionTaskInput = (input, context) => {
|
|
2000
|
-
return {
|
|
2001
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2002
|
-
...(input.identity != null && { identity: input.identity }),
|
|
2003
|
-
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2004
|
-
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2005
|
-
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2006
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
2007
|
-
};
|
|
2008
|
-
};
|
|
2009
|
-
const se_RecordActivityTaskHeartbeatInput = (input, context) => {
|
|
2010
|
-
return {
|
|
2011
|
-
...(input.details != null && { details: input.details }),
|
|
2012
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2013
|
-
};
|
|
2014
|
-
};
|
|
2015
|
-
const se_RecordMarkerDecisionAttributes = (input, context) => {
|
|
2016
|
-
return {
|
|
2017
|
-
...(input.details != null && { details: input.details }),
|
|
2018
|
-
...(input.markerName != null && { markerName: input.markerName }),
|
|
2019
|
-
};
|
|
2020
|
-
};
|
|
2021
|
-
const se_RegisterActivityTypeInput = (input, context) => {
|
|
2022
|
-
return {
|
|
2023
|
-
...(input.defaultTaskHeartbeatTimeout != null && {
|
|
2024
|
-
defaultTaskHeartbeatTimeout: input.defaultTaskHeartbeatTimeout,
|
|
2025
|
-
}),
|
|
2026
|
-
...(input.defaultTaskList != null && { defaultTaskList: se_TaskList(input.defaultTaskList, context) }),
|
|
2027
|
-
...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
|
|
2028
|
-
...(input.defaultTaskScheduleToCloseTimeout != null && {
|
|
2029
|
-
defaultTaskScheduleToCloseTimeout: input.defaultTaskScheduleToCloseTimeout,
|
|
2030
|
-
}),
|
|
2031
|
-
...(input.defaultTaskScheduleToStartTimeout != null && {
|
|
2032
|
-
defaultTaskScheduleToStartTimeout: input.defaultTaskScheduleToStartTimeout,
|
|
2033
|
-
}),
|
|
2034
|
-
...(input.defaultTaskStartToCloseTimeout != null && {
|
|
2035
|
-
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2036
|
-
}),
|
|
2037
|
-
...(input.description != null && { description: input.description }),
|
|
2038
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2039
|
-
...(input.name != null && { name: input.name }),
|
|
2040
|
-
...(input.version != null && { version: input.version }),
|
|
2041
|
-
};
|
|
2042
|
-
};
|
|
2043
|
-
const se_RegisterDomainInput = (input, context) => {
|
|
2044
|
-
return {
|
|
2045
|
-
...(input.description != null && { description: input.description }),
|
|
2046
|
-
...(input.name != null && { name: input.name }),
|
|
2047
|
-
...(input.tags != null && { tags: se_ResourceTagList(input.tags, context) }),
|
|
2048
|
-
...(input.workflowExecutionRetentionPeriodInDays != null && {
|
|
2049
|
-
workflowExecutionRetentionPeriodInDays: input.workflowExecutionRetentionPeriodInDays,
|
|
2050
|
-
}),
|
|
2051
|
-
};
|
|
2052
|
-
};
|
|
2053
|
-
const se_RegisterWorkflowTypeInput = (input, context) => {
|
|
2054
|
-
return {
|
|
2055
|
-
...(input.defaultChildPolicy != null && { defaultChildPolicy: input.defaultChildPolicy }),
|
|
2056
|
-
...(input.defaultExecutionStartToCloseTimeout != null && {
|
|
2057
|
-
defaultExecutionStartToCloseTimeout: input.defaultExecutionStartToCloseTimeout,
|
|
2058
|
-
}),
|
|
2059
|
-
...(input.defaultLambdaRole != null && { defaultLambdaRole: input.defaultLambdaRole }),
|
|
2060
|
-
...(input.defaultTaskList != null && { defaultTaskList: se_TaskList(input.defaultTaskList, context) }),
|
|
2061
|
-
...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
|
|
2062
|
-
...(input.defaultTaskStartToCloseTimeout != null && {
|
|
2063
|
-
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2064
|
-
}),
|
|
2065
|
-
...(input.description != null && { description: input.description }),
|
|
2066
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2067
|
-
...(input.name != null && { name: input.name }),
|
|
2068
|
-
...(input.version != null && { version: input.version }),
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
const se_RequestCancelActivityTaskDecisionAttributes = (input, context) => {
|
|
2072
|
-
return {
|
|
2073
|
-
...(input.activityId != null && { activityId: input.activityId }),
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
|
-
const se_RequestCancelExternalWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2077
|
-
return {
|
|
2078
|
-
...(input.control != null && { control: input.control }),
|
|
2079
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2080
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const se_RequestCancelWorkflowExecutionInput = (input, context) => {
|
|
2084
|
-
return {
|
|
2085
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2086
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2087
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2088
|
-
};
|
|
2089
|
-
};
|
|
2090
|
-
const se_ResourceTag = (input, context) => {
|
|
2091
|
-
return {
|
|
2092
|
-
...(input.key != null && { key: input.key }),
|
|
2093
|
-
...(input.value != null && { value: input.value }),
|
|
2094
|
-
};
|
|
2095
|
-
};
|
|
2096
|
-
const se_ResourceTagKeyList = (input, context) => {
|
|
2097
|
-
return input
|
|
2098
|
-
.filter((e) => e != null)
|
|
2099
|
-
.map((entry) => {
|
|
2100
|
-
return entry;
|
|
1720
|
+
return (0, smithy_client_1.take)(input, {
|
|
1721
|
+
latestDate: (_) => Math.round(_.getTime() / 1000),
|
|
1722
|
+
oldestDate: (_) => Math.round(_.getTime() / 1000),
|
|
2101
1723
|
});
|
|
2102
1724
|
};
|
|
2103
|
-
const
|
|
2104
|
-
return input
|
|
2105
|
-
.
|
|
2106
|
-
|
|
2107
|
-
|
|
1725
|
+
const se_ListClosedWorkflowExecutionsInput = (input, context) => {
|
|
1726
|
+
return (0, smithy_client_1.take)(input, {
|
|
1727
|
+
closeStatusFilter: smithy_client_1._json,
|
|
1728
|
+
closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1729
|
+
domain: [],
|
|
1730
|
+
executionFilter: smithy_client_1._json,
|
|
1731
|
+
maximumPageSize: [],
|
|
1732
|
+
nextPageToken: [],
|
|
1733
|
+
reverseOrder: [],
|
|
1734
|
+
startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1735
|
+
tagFilter: smithy_client_1._json,
|
|
1736
|
+
typeFilter: smithy_client_1._json,
|
|
2108
1737
|
});
|
|
2109
1738
|
};
|
|
2110
|
-
const
|
|
2111
|
-
return {
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
};
|
|
2121
|
-
};
|
|
2122
|
-
const se_RespondActivityTaskFailedInput = (input, context) => {
|
|
2123
|
-
return {
|
|
2124
|
-
...(input.details != null && { details: input.details }),
|
|
2125
|
-
...(input.reason != null && { reason: input.reason }),
|
|
2126
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const se_RespondDecisionTaskCompletedInput = (input, context) => {
|
|
2130
|
-
return {
|
|
2131
|
-
...(input.decisions != null && { decisions: se_DecisionList(input.decisions, context) }),
|
|
2132
|
-
...(input.executionContext != null && { executionContext: input.executionContext }),
|
|
2133
|
-
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2134
|
-
};
|
|
2135
|
-
};
|
|
2136
|
-
const se_ScheduleActivityTaskDecisionAttributes = (input, context) => {
|
|
2137
|
-
return {
|
|
2138
|
-
...(input.activityId != null && { activityId: input.activityId }),
|
|
2139
|
-
...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
|
|
2140
|
-
...(input.control != null && { control: input.control }),
|
|
2141
|
-
...(input.heartbeatTimeout != null && { heartbeatTimeout: input.heartbeatTimeout }),
|
|
2142
|
-
...(input.input != null && { input: input.input }),
|
|
2143
|
-
...(input.scheduleToCloseTimeout != null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout }),
|
|
2144
|
-
...(input.scheduleToStartTimeout != null && { scheduleToStartTimeout: input.scheduleToStartTimeout }),
|
|
2145
|
-
...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2146
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
2147
|
-
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
const se_ScheduleLambdaFunctionDecisionAttributes = (input, context) => {
|
|
2151
|
-
return {
|
|
2152
|
-
...(input.control != null && { control: input.control }),
|
|
2153
|
-
...(input.id != null && { id: input.id }),
|
|
2154
|
-
...(input.input != null && { input: input.input }),
|
|
2155
|
-
...(input.name != null && { name: input.name }),
|
|
2156
|
-
...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2157
|
-
};
|
|
2158
|
-
};
|
|
2159
|
-
const se_SignalExternalWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2160
|
-
return {
|
|
2161
|
-
...(input.control != null && { control: input.control }),
|
|
2162
|
-
...(input.input != null && { input: input.input }),
|
|
2163
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2164
|
-
...(input.signalName != null && { signalName: input.signalName }),
|
|
2165
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2166
|
-
};
|
|
2167
|
-
};
|
|
2168
|
-
const se_SignalWorkflowExecutionInput = (input, context) => {
|
|
2169
|
-
return {
|
|
2170
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2171
|
-
...(input.input != null && { input: input.input }),
|
|
2172
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2173
|
-
...(input.signalName != null && { signalName: input.signalName }),
|
|
2174
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2175
|
-
};
|
|
2176
|
-
};
|
|
2177
|
-
const se_StartChildWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2178
|
-
return {
|
|
2179
|
-
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2180
|
-
...(input.control != null && { control: input.control }),
|
|
2181
|
-
...(input.executionStartToCloseTimeout != null && {
|
|
2182
|
-
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2183
|
-
}),
|
|
2184
|
-
...(input.input != null && { input: input.input }),
|
|
2185
|
-
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
2186
|
-
...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
|
|
2187
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
2188
|
-
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2189
|
-
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2190
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2191
|
-
...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
|
|
2192
|
-
};
|
|
2193
|
-
};
|
|
2194
|
-
const se_StartTimerDecisionAttributes = (input, context) => {
|
|
2195
|
-
return {
|
|
2196
|
-
...(input.control != null && { control: input.control }),
|
|
2197
|
-
...(input.startToFireTimeout != null && { startToFireTimeout: input.startToFireTimeout }),
|
|
2198
|
-
...(input.timerId != null && { timerId: input.timerId }),
|
|
2199
|
-
};
|
|
2200
|
-
};
|
|
2201
|
-
const se_StartWorkflowExecutionInput = (input, context) => {
|
|
2202
|
-
return {
|
|
2203
|
-
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2204
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2205
|
-
...(input.executionStartToCloseTimeout != null && {
|
|
2206
|
-
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2207
|
-
}),
|
|
2208
|
-
...(input.input != null && { input: input.input }),
|
|
2209
|
-
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
2210
|
-
...(input.tagList != null && { tagList: se_TagList(input.tagList, context) }),
|
|
2211
|
-
...(input.taskList != null && { taskList: se_TaskList(input.taskList, context) }),
|
|
2212
|
-
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2213
|
-
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2214
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2215
|
-
...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
|
|
2216
|
-
};
|
|
2217
|
-
};
|
|
2218
|
-
const se_TagFilter = (input, context) => {
|
|
2219
|
-
return {
|
|
2220
|
-
...(input.tag != null && { tag: input.tag }),
|
|
2221
|
-
};
|
|
2222
|
-
};
|
|
2223
|
-
const se_TagList = (input, context) => {
|
|
2224
|
-
return input
|
|
2225
|
-
.filter((e) => e != null)
|
|
2226
|
-
.map((entry) => {
|
|
2227
|
-
return entry;
|
|
1739
|
+
const se_ListOpenWorkflowExecutionsInput = (input, context) => {
|
|
1740
|
+
return (0, smithy_client_1.take)(input, {
|
|
1741
|
+
domain: [],
|
|
1742
|
+
executionFilter: smithy_client_1._json,
|
|
1743
|
+
maximumPageSize: [],
|
|
1744
|
+
nextPageToken: [],
|
|
1745
|
+
reverseOrder: [],
|
|
1746
|
+
startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
|
|
1747
|
+
tagFilter: smithy_client_1._json,
|
|
1748
|
+
typeFilter: smithy_client_1._json,
|
|
2228
1749
|
});
|
|
2229
1750
|
};
|
|
2230
|
-
const se_TagResourceInput = (input, context) => {
|
|
2231
|
-
return {
|
|
2232
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2233
|
-
...(input.tags != null && { tags: se_ResourceTagList(input.tags, context) }),
|
|
2234
|
-
};
|
|
2235
|
-
};
|
|
2236
|
-
const se_TaskList = (input, context) => {
|
|
2237
|
-
return {
|
|
2238
|
-
...(input.name != null && { name: input.name }),
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
const se_TerminateWorkflowExecutionInput = (input, context) => {
|
|
2242
|
-
return {
|
|
2243
|
-
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2244
|
-
...(input.details != null && { details: input.details }),
|
|
2245
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2246
|
-
...(input.reason != null && { reason: input.reason }),
|
|
2247
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2248
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2249
|
-
};
|
|
2250
|
-
};
|
|
2251
|
-
const se_UndeprecateActivityTypeInput = (input, context) => {
|
|
2252
|
-
return {
|
|
2253
|
-
...(input.activityType != null && { activityType: se_ActivityType(input.activityType, context) }),
|
|
2254
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2255
|
-
};
|
|
2256
|
-
};
|
|
2257
|
-
const se_UndeprecateDomainInput = (input, context) => {
|
|
2258
|
-
return {
|
|
2259
|
-
...(input.name != null && { name: input.name }),
|
|
2260
|
-
};
|
|
2261
|
-
};
|
|
2262
|
-
const se_UndeprecateWorkflowTypeInput = (input, context) => {
|
|
2263
|
-
return {
|
|
2264
|
-
...(input.domain != null && { domain: input.domain }),
|
|
2265
|
-
...(input.workflowType != null && { workflowType: se_WorkflowType(input.workflowType, context) }),
|
|
2266
|
-
};
|
|
2267
|
-
};
|
|
2268
|
-
const se_UntagResourceInput = (input, context) => {
|
|
2269
|
-
return {
|
|
2270
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2271
|
-
...(input.tagKeys != null && { tagKeys: se_ResourceTagKeyList(input.tagKeys, context) }),
|
|
2272
|
-
};
|
|
2273
|
-
};
|
|
2274
|
-
const se_WorkflowExecution = (input, context) => {
|
|
2275
|
-
return {
|
|
2276
|
-
...(input.runId != null && { runId: input.runId }),
|
|
2277
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2278
|
-
};
|
|
2279
|
-
};
|
|
2280
|
-
const se_WorkflowExecutionFilter = (input, context) => {
|
|
2281
|
-
return {
|
|
2282
|
-
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
const se_WorkflowType = (input, context) => {
|
|
2286
|
-
return {
|
|
2287
|
-
...(input.name != null && { name: input.name }),
|
|
2288
|
-
...(input.version != null && { version: input.version }),
|
|
2289
|
-
};
|
|
2290
|
-
};
|
|
2291
|
-
const se_WorkflowTypeFilter = (input, context) => {
|
|
2292
|
-
return {
|
|
2293
|
-
...(input.name != null && { name: input.name }),
|
|
2294
|
-
...(input.version != null && { version: input.version }),
|
|
2295
|
-
};
|
|
2296
|
-
};
|
|
2297
|
-
const de_ActivityTask = (output, context) => {
|
|
2298
|
-
return {
|
|
2299
|
-
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2300
|
-
activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
|
|
2301
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
2302
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2303
|
-
taskToken: (0, smithy_client_1.expectString)(output.taskToken),
|
|
2304
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2305
|
-
};
|
|
2306
|
-
};
|
|
2307
|
-
const de_ActivityTaskCanceledEventAttributes = (output, context) => {
|
|
2308
|
-
return {
|
|
2309
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2310
|
-
latestCancelRequestedEventId: (0, smithy_client_1.expectLong)(output.latestCancelRequestedEventId),
|
|
2311
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2312
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2313
|
-
};
|
|
2314
|
-
};
|
|
2315
|
-
const de_ActivityTaskCancelRequestedEventAttributes = (output, context) => {
|
|
2316
|
-
return {
|
|
2317
|
-
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2318
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
|
-
const de_ActivityTaskCompletedEventAttributes = (output, context) => {
|
|
2322
|
-
return {
|
|
2323
|
-
result: (0, smithy_client_1.expectString)(output.result),
|
|
2324
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2325
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2326
|
-
};
|
|
2327
|
-
};
|
|
2328
|
-
const de_ActivityTaskFailedEventAttributes = (output, context) => {
|
|
2329
|
-
return {
|
|
2330
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2331
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2332
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2333
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2334
|
-
};
|
|
2335
|
-
};
|
|
2336
|
-
const de_ActivityTaskScheduledEventAttributes = (output, context) => {
|
|
2337
|
-
return {
|
|
2338
|
-
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2339
|
-
activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
|
|
2340
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2341
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2342
|
-
heartbeatTimeout: (0, smithy_client_1.expectString)(output.heartbeatTimeout),
|
|
2343
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
2344
|
-
scheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.scheduleToCloseTimeout),
|
|
2345
|
-
scheduleToStartTimeout: (0, smithy_client_1.expectString)(output.scheduleToStartTimeout),
|
|
2346
|
-
startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
|
|
2347
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
2348
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
2349
|
-
};
|
|
2350
|
-
};
|
|
2351
|
-
const de_ActivityTaskStartedEventAttributes = (output, context) => {
|
|
2352
|
-
return {
|
|
2353
|
-
identity: (0, smithy_client_1.expectString)(output.identity),
|
|
2354
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
|
-
const de_ActivityTaskStatus = (output, context) => {
|
|
2358
|
-
return {
|
|
2359
|
-
cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
|
|
2360
|
-
};
|
|
2361
|
-
};
|
|
2362
|
-
const de_ActivityTaskTimedOutEventAttributes = (output, context) => {
|
|
2363
|
-
return {
|
|
2364
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2365
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2366
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2367
|
-
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
2368
|
-
};
|
|
2369
|
-
};
|
|
2370
|
-
const de_ActivityType = (output, context) => {
|
|
2371
|
-
return {
|
|
2372
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2373
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
const de_ActivityTypeConfiguration = (output, context) => {
|
|
2377
|
-
return {
|
|
2378
|
-
defaultTaskHeartbeatTimeout: (0, smithy_client_1.expectString)(output.defaultTaskHeartbeatTimeout),
|
|
2379
|
-
defaultTaskList: output.defaultTaskList != null ? de_TaskList(output.defaultTaskList, context) : undefined,
|
|
2380
|
-
defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
|
|
2381
|
-
defaultTaskScheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToCloseTimeout),
|
|
2382
|
-
defaultTaskScheduleToStartTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToStartTimeout),
|
|
2383
|
-
defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
|
|
2384
|
-
};
|
|
2385
|
-
};
|
|
2386
1751
|
const de_ActivityTypeDetail = (output, context) => {
|
|
2387
|
-
return {
|
|
2388
|
-
configuration:
|
|
2389
|
-
typeInfo:
|
|
2390
|
-
};
|
|
1752
|
+
return (0, smithy_client_1.take)(output, {
|
|
1753
|
+
configuration: smithy_client_1._json,
|
|
1754
|
+
typeInfo: (_) => de_ActivityTypeInfo(_, context),
|
|
1755
|
+
});
|
|
2391
1756
|
};
|
|
2392
1757
|
const de_ActivityTypeInfo = (output, context) => {
|
|
2393
|
-
return {
|
|
2394
|
-
activityType:
|
|
2395
|
-
creationDate:
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
: undefined,
|
|
2401
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2402
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2403
|
-
};
|
|
1758
|
+
return (0, smithy_client_1.take)(output, {
|
|
1759
|
+
activityType: smithy_client_1._json,
|
|
1760
|
+
creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1761
|
+
deprecationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1762
|
+
description: smithy_client_1.expectString,
|
|
1763
|
+
status: smithy_client_1.expectString,
|
|
1764
|
+
});
|
|
2404
1765
|
};
|
|
2405
1766
|
const de_ActivityTypeInfoList = (output, context) => {
|
|
2406
1767
|
const retVal = (output || [])
|
|
2407
1768
|
.filter((e) => e != null)
|
|
2408
1769
|
.map((entry) => {
|
|
2409
|
-
if (entry === null) {
|
|
2410
|
-
return null;
|
|
2411
|
-
}
|
|
2412
1770
|
return de_ActivityTypeInfo(entry, context);
|
|
2413
1771
|
});
|
|
2414
1772
|
return retVal;
|
|
2415
1773
|
};
|
|
2416
1774
|
const de_ActivityTypeInfos = (output, context) => {
|
|
2417
|
-
return {
|
|
2418
|
-
nextPageToken:
|
|
2419
|
-
typeInfos:
|
|
2420
|
-
};
|
|
2421
|
-
};
|
|
2422
|
-
const de_CancelTimerFailedEventAttributes = (output, context) => {
|
|
2423
|
-
return {
|
|
2424
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2425
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2426
|
-
timerId: (0, smithy_client_1.expectString)(output.timerId),
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
const de_CancelWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2430
|
-
return {
|
|
2431
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2432
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const de_ChildWorkflowExecutionCanceledEventAttributes = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2438
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2439
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2440
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2441
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2442
|
-
};
|
|
2443
|
-
};
|
|
2444
|
-
const de_ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
|
|
2445
|
-
return {
|
|
2446
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2447
|
-
result: (0, smithy_client_1.expectString)(output.result),
|
|
2448
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2449
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2450
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2451
|
-
};
|
|
2452
|
-
};
|
|
2453
|
-
const de_ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2454
|
-
return {
|
|
2455
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2456
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2457
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2458
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2459
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2460
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2461
|
-
};
|
|
2462
|
-
};
|
|
2463
|
-
const de_ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
|
|
2464
|
-
return {
|
|
2465
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2466
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2467
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2468
|
-
};
|
|
2469
|
-
};
|
|
2470
|
-
const de_ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
2471
|
-
return {
|
|
2472
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2473
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2474
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2475
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2476
|
-
};
|
|
2477
|
-
};
|
|
2478
|
-
const de_ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
|
|
2479
|
-
return {
|
|
2480
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2481
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2482
|
-
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
2483
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2484
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2485
|
-
};
|
|
2486
|
-
};
|
|
2487
|
-
const de_CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2488
|
-
return {
|
|
2489
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2490
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2491
|
-
};
|
|
2492
|
-
};
|
|
2493
|
-
const de_ContinueAsNewWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2494
|
-
return {
|
|
2495
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2496
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2497
|
-
};
|
|
1775
|
+
return (0, smithy_client_1.take)(output, {
|
|
1776
|
+
nextPageToken: smithy_client_1.expectString,
|
|
1777
|
+
typeInfos: (_) => de_ActivityTypeInfoList(_, context),
|
|
1778
|
+
});
|
|
2498
1779
|
};
|
|
2499
1780
|
const de_DecisionTask = (output, context) => {
|
|
2500
|
-
return {
|
|
2501
|
-
events:
|
|
2502
|
-
nextPageToken:
|
|
2503
|
-
previousStartedEventId:
|
|
2504
|
-
startedEventId:
|
|
2505
|
-
taskToken:
|
|
2506
|
-
workflowExecution:
|
|
2507
|
-
workflowType:
|
|
2508
|
-
};
|
|
2509
|
-
};
|
|
2510
|
-
const de_DecisionTaskCompletedEventAttributes = (output, context) => {
|
|
2511
|
-
return {
|
|
2512
|
-
executionContext: (0, smithy_client_1.expectString)(output.executionContext),
|
|
2513
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2514
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2515
|
-
};
|
|
2516
|
-
};
|
|
2517
|
-
const de_DecisionTaskScheduledEventAttributes = (output, context) => {
|
|
2518
|
-
return {
|
|
2519
|
-
startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
|
|
2520
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
2521
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
2522
|
-
};
|
|
2523
|
-
};
|
|
2524
|
-
const de_DecisionTaskStartedEventAttributes = (output, context) => {
|
|
2525
|
-
return {
|
|
2526
|
-
identity: (0, smithy_client_1.expectString)(output.identity),
|
|
2527
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2528
|
-
};
|
|
2529
|
-
};
|
|
2530
|
-
const de_DecisionTaskTimedOutEventAttributes = (output, context) => {
|
|
2531
|
-
return {
|
|
2532
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2533
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2534
|
-
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
2535
|
-
};
|
|
2536
|
-
};
|
|
2537
|
-
const de_DefaultUndefinedFault = (output, context) => {
|
|
2538
|
-
return {
|
|
2539
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2540
|
-
};
|
|
2541
|
-
};
|
|
2542
|
-
const de_DomainAlreadyExistsFault = (output, context) => {
|
|
2543
|
-
return {
|
|
2544
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
const de_DomainConfiguration = (output, context) => {
|
|
2548
|
-
return {
|
|
2549
|
-
workflowExecutionRetentionPeriodInDays: (0, smithy_client_1.expectString)(output.workflowExecutionRetentionPeriodInDays),
|
|
2550
|
-
};
|
|
2551
|
-
};
|
|
2552
|
-
const de_DomainDeprecatedFault = (output, context) => {
|
|
2553
|
-
return {
|
|
2554
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
const de_DomainDetail = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
configuration: output.configuration != null ? de_DomainConfiguration(output.configuration, context) : undefined,
|
|
2560
|
-
domainInfo: output.domainInfo != null ? de_DomainInfo(output.domainInfo, context) : undefined,
|
|
2561
|
-
};
|
|
2562
|
-
};
|
|
2563
|
-
const de_DomainInfo = (output, context) => {
|
|
2564
|
-
return {
|
|
2565
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2566
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2567
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2568
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2569
|
-
};
|
|
2570
|
-
};
|
|
2571
|
-
const de_DomainInfoList = (output, context) => {
|
|
2572
|
-
const retVal = (output || [])
|
|
2573
|
-
.filter((e) => e != null)
|
|
2574
|
-
.map((entry) => {
|
|
2575
|
-
if (entry === null) {
|
|
2576
|
-
return null;
|
|
2577
|
-
}
|
|
2578
|
-
return de_DomainInfo(entry, context);
|
|
1781
|
+
return (0, smithy_client_1.take)(output, {
|
|
1782
|
+
events: (_) => de_HistoryEventList(_, context),
|
|
1783
|
+
nextPageToken: smithy_client_1.expectString,
|
|
1784
|
+
previousStartedEventId: smithy_client_1.expectLong,
|
|
1785
|
+
startedEventId: smithy_client_1.expectLong,
|
|
1786
|
+
taskToken: smithy_client_1.expectString,
|
|
1787
|
+
workflowExecution: smithy_client_1._json,
|
|
1788
|
+
workflowType: smithy_client_1._json,
|
|
2579
1789
|
});
|
|
2580
|
-
return retVal;
|
|
2581
|
-
};
|
|
2582
|
-
const de_DomainInfos = (output, context) => {
|
|
2583
|
-
return {
|
|
2584
|
-
domainInfos: output.domainInfos != null ? de_DomainInfoList(output.domainInfos, context) : undefined,
|
|
2585
|
-
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
2586
|
-
};
|
|
2587
|
-
};
|
|
2588
|
-
const de_ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
|
|
2589
|
-
return {
|
|
2590
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2591
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2592
|
-
};
|
|
2593
|
-
};
|
|
2594
|
-
const de_ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
2595
|
-
return {
|
|
2596
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2597
|
-
workflowExecution: output.workflowExecution != null ? de_WorkflowExecution(output.workflowExecution, context) : undefined,
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
|
-
const de_FailWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2601
|
-
return {
|
|
2602
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2603
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2604
|
-
};
|
|
2605
1790
|
};
|
|
2606
1791
|
const de_History = (output, context) => {
|
|
2607
|
-
return {
|
|
2608
|
-
events:
|
|
2609
|
-
nextPageToken:
|
|
2610
|
-
};
|
|
1792
|
+
return (0, smithy_client_1.take)(output, {
|
|
1793
|
+
events: (_) => de_HistoryEventList(_, context),
|
|
1794
|
+
nextPageToken: smithy_client_1.expectString,
|
|
1795
|
+
});
|
|
2611
1796
|
};
|
|
2612
1797
|
const de_HistoryEvent = (output, context) => {
|
|
2613
|
-
return {
|
|
2614
|
-
activityTaskCancelRequestedEventAttributes:
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
? de_DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
|
|
2673
|
-
: undefined,
|
|
2674
|
-
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes != null
|
|
2675
|
-
? de_DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
2676
|
-
: undefined,
|
|
2677
|
-
eventId: (0, smithy_client_1.expectLong)(output.eventId),
|
|
2678
|
-
eventTimestamp: output.eventTimestamp != null
|
|
2679
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTimestamp)))
|
|
2680
|
-
: undefined,
|
|
2681
|
-
eventType: (0, smithy_client_1.expectString)(output.eventType),
|
|
2682
|
-
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes != null
|
|
2683
|
-
? de_ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
|
|
2684
|
-
: undefined,
|
|
2685
|
-
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes != null
|
|
2686
|
-
? de_ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
|
|
2687
|
-
: undefined,
|
|
2688
|
-
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes != null
|
|
2689
|
-
? de_FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
|
|
2690
|
-
: undefined,
|
|
2691
|
-
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes != null
|
|
2692
|
-
? de_LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
|
|
2693
|
-
: undefined,
|
|
2694
|
-
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes != null
|
|
2695
|
-
? de_LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
|
|
2696
|
-
: undefined,
|
|
2697
|
-
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes != null
|
|
2698
|
-
? de_LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
|
|
2699
|
-
: undefined,
|
|
2700
|
-
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes != null
|
|
2701
|
-
? de_LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
|
|
2702
|
-
: undefined,
|
|
2703
|
-
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes != null
|
|
2704
|
-
? de_LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
|
|
2705
|
-
: undefined,
|
|
2706
|
-
markerRecordedEventAttributes: output.markerRecordedEventAttributes != null
|
|
2707
|
-
? de_MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
|
|
2708
|
-
: undefined,
|
|
2709
|
-
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes != null
|
|
2710
|
-
? de_RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
|
|
2711
|
-
: undefined,
|
|
2712
|
-
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes != null
|
|
2713
|
-
? de_RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
|
|
2714
|
-
: undefined,
|
|
2715
|
-
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes != null
|
|
2716
|
-
? de_RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
|
|
2717
|
-
: undefined,
|
|
2718
|
-
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
2719
|
-
? de_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
2720
|
-
: undefined,
|
|
2721
|
-
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes != null
|
|
2722
|
-
? de_ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
|
|
2723
|
-
: undefined,
|
|
2724
|
-
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes != null
|
|
2725
|
-
? de_ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
|
|
2726
|
-
: undefined,
|
|
2727
|
-
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes != null
|
|
2728
|
-
? de_SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
|
|
2729
|
-
: undefined,
|
|
2730
|
-
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
2731
|
-
? de_SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
2732
|
-
: undefined,
|
|
2733
|
-
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes != null
|
|
2734
|
-
? de_StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
|
|
2735
|
-
: undefined,
|
|
2736
|
-
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes != null
|
|
2737
|
-
? de_StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
|
|
2738
|
-
: undefined,
|
|
2739
|
-
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes != null
|
|
2740
|
-
? de_StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
|
|
2741
|
-
: undefined,
|
|
2742
|
-
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes != null
|
|
2743
|
-
? de_StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
|
|
2744
|
-
: undefined,
|
|
2745
|
-
timerCanceledEventAttributes: output.timerCanceledEventAttributes != null
|
|
2746
|
-
? de_TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
|
|
2747
|
-
: undefined,
|
|
2748
|
-
timerFiredEventAttributes: output.timerFiredEventAttributes != null
|
|
2749
|
-
? de_TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
|
|
2750
|
-
: undefined,
|
|
2751
|
-
timerStartedEventAttributes: output.timerStartedEventAttributes != null
|
|
2752
|
-
? de_TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
|
|
2753
|
-
: undefined,
|
|
2754
|
-
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes != null
|
|
2755
|
-
? de_WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
|
|
2756
|
-
: undefined,
|
|
2757
|
-
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes != null
|
|
2758
|
-
? de_WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
|
|
2759
|
-
: undefined,
|
|
2760
|
-
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes != null
|
|
2761
|
-
? de_WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
|
|
2762
|
-
: undefined,
|
|
2763
|
-
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes != null
|
|
2764
|
-
? de_WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
|
|
2765
|
-
: undefined,
|
|
2766
|
-
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes != null
|
|
2767
|
-
? de_WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
|
|
2768
|
-
: undefined,
|
|
2769
|
-
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes != null
|
|
2770
|
-
? de_WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
|
|
2771
|
-
: undefined,
|
|
2772
|
-
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes != null
|
|
2773
|
-
? de_WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
|
|
2774
|
-
: undefined,
|
|
2775
|
-
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes != null
|
|
2776
|
-
? de_WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
|
|
2777
|
-
: undefined,
|
|
2778
|
-
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes != null
|
|
2779
|
-
? de_WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
|
|
2780
|
-
: undefined,
|
|
2781
|
-
};
|
|
1798
|
+
return (0, smithy_client_1.take)(output, {
|
|
1799
|
+
activityTaskCancelRequestedEventAttributes: smithy_client_1._json,
|
|
1800
|
+
activityTaskCanceledEventAttributes: smithy_client_1._json,
|
|
1801
|
+
activityTaskCompletedEventAttributes: smithy_client_1._json,
|
|
1802
|
+
activityTaskFailedEventAttributes: smithy_client_1._json,
|
|
1803
|
+
activityTaskScheduledEventAttributes: smithy_client_1._json,
|
|
1804
|
+
activityTaskStartedEventAttributes: smithy_client_1._json,
|
|
1805
|
+
activityTaskTimedOutEventAttributes: smithy_client_1._json,
|
|
1806
|
+
cancelTimerFailedEventAttributes: smithy_client_1._json,
|
|
1807
|
+
cancelWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1808
|
+
childWorkflowExecutionCanceledEventAttributes: smithy_client_1._json,
|
|
1809
|
+
childWorkflowExecutionCompletedEventAttributes: smithy_client_1._json,
|
|
1810
|
+
childWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1811
|
+
childWorkflowExecutionStartedEventAttributes: smithy_client_1._json,
|
|
1812
|
+
childWorkflowExecutionTerminatedEventAttributes: smithy_client_1._json,
|
|
1813
|
+
childWorkflowExecutionTimedOutEventAttributes: smithy_client_1._json,
|
|
1814
|
+
completeWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1815
|
+
continueAsNewWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1816
|
+
decisionTaskCompletedEventAttributes: smithy_client_1._json,
|
|
1817
|
+
decisionTaskScheduledEventAttributes: smithy_client_1._json,
|
|
1818
|
+
decisionTaskStartedEventAttributes: smithy_client_1._json,
|
|
1819
|
+
decisionTaskTimedOutEventAttributes: smithy_client_1._json,
|
|
1820
|
+
eventId: smithy_client_1.expectLong,
|
|
1821
|
+
eventTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1822
|
+
eventType: smithy_client_1.expectString,
|
|
1823
|
+
externalWorkflowExecutionCancelRequestedEventAttributes: smithy_client_1._json,
|
|
1824
|
+
externalWorkflowExecutionSignaledEventAttributes: smithy_client_1._json,
|
|
1825
|
+
failWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1826
|
+
lambdaFunctionCompletedEventAttributes: smithy_client_1._json,
|
|
1827
|
+
lambdaFunctionFailedEventAttributes: smithy_client_1._json,
|
|
1828
|
+
lambdaFunctionScheduledEventAttributes: smithy_client_1._json,
|
|
1829
|
+
lambdaFunctionStartedEventAttributes: smithy_client_1._json,
|
|
1830
|
+
lambdaFunctionTimedOutEventAttributes: smithy_client_1._json,
|
|
1831
|
+
markerRecordedEventAttributes: smithy_client_1._json,
|
|
1832
|
+
recordMarkerFailedEventAttributes: smithy_client_1._json,
|
|
1833
|
+
requestCancelActivityTaskFailedEventAttributes: smithy_client_1._json,
|
|
1834
|
+
requestCancelExternalWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1835
|
+
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: smithy_client_1._json,
|
|
1836
|
+
scheduleActivityTaskFailedEventAttributes: smithy_client_1._json,
|
|
1837
|
+
scheduleLambdaFunctionFailedEventAttributes: smithy_client_1._json,
|
|
1838
|
+
signalExternalWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1839
|
+
signalExternalWorkflowExecutionInitiatedEventAttributes: smithy_client_1._json,
|
|
1840
|
+
startChildWorkflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1841
|
+
startChildWorkflowExecutionInitiatedEventAttributes: smithy_client_1._json,
|
|
1842
|
+
startLambdaFunctionFailedEventAttributes: smithy_client_1._json,
|
|
1843
|
+
startTimerFailedEventAttributes: smithy_client_1._json,
|
|
1844
|
+
timerCanceledEventAttributes: smithy_client_1._json,
|
|
1845
|
+
timerFiredEventAttributes: smithy_client_1._json,
|
|
1846
|
+
timerStartedEventAttributes: smithy_client_1._json,
|
|
1847
|
+
workflowExecutionCancelRequestedEventAttributes: smithy_client_1._json,
|
|
1848
|
+
workflowExecutionCanceledEventAttributes: smithy_client_1._json,
|
|
1849
|
+
workflowExecutionCompletedEventAttributes: smithy_client_1._json,
|
|
1850
|
+
workflowExecutionContinuedAsNewEventAttributes: smithy_client_1._json,
|
|
1851
|
+
workflowExecutionFailedEventAttributes: smithy_client_1._json,
|
|
1852
|
+
workflowExecutionSignaledEventAttributes: smithy_client_1._json,
|
|
1853
|
+
workflowExecutionStartedEventAttributes: smithy_client_1._json,
|
|
1854
|
+
workflowExecutionTerminatedEventAttributes: smithy_client_1._json,
|
|
1855
|
+
workflowExecutionTimedOutEventAttributes: smithy_client_1._json,
|
|
1856
|
+
});
|
|
2782
1857
|
};
|
|
2783
1858
|
const de_HistoryEventList = (output, context) => {
|
|
2784
1859
|
const retVal = (output || [])
|
|
2785
1860
|
.filter((e) => e != null)
|
|
2786
1861
|
.map((entry) => {
|
|
2787
|
-
if (entry === null) {
|
|
2788
|
-
return null;
|
|
2789
|
-
}
|
|
2790
1862
|
return de_HistoryEvent(entry, context);
|
|
2791
1863
|
});
|
|
2792
1864
|
return retVal;
|
|
2793
1865
|
};
|
|
2794
|
-
const de_LambdaFunctionCompletedEventAttributes = (output, context) => {
|
|
2795
|
-
return {
|
|
2796
|
-
result: (0, smithy_client_1.expectString)(output.result),
|
|
2797
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2798
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2799
|
-
};
|
|
2800
|
-
};
|
|
2801
|
-
const de_LambdaFunctionFailedEventAttributes = (output, context) => {
|
|
2802
|
-
return {
|
|
2803
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2804
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2805
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2806
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2807
|
-
};
|
|
2808
|
-
};
|
|
2809
|
-
const de_LambdaFunctionScheduledEventAttributes = (output, context) => {
|
|
2810
|
-
return {
|
|
2811
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2812
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2813
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2814
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
2815
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2816
|
-
startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
|
|
2817
|
-
};
|
|
2818
|
-
};
|
|
2819
|
-
const de_LambdaFunctionStartedEventAttributes = (output, context) => {
|
|
2820
|
-
return {
|
|
2821
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2822
|
-
};
|
|
2823
|
-
};
|
|
2824
|
-
const de_LambdaFunctionTimedOutEventAttributes = (output, context) => {
|
|
2825
|
-
return {
|
|
2826
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2827
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2828
|
-
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
2829
|
-
};
|
|
2830
|
-
};
|
|
2831
|
-
const de_LimitExceededFault = (output, context) => {
|
|
2832
|
-
return {
|
|
2833
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
const de_ListTagsForResourceOutput = (output, context) => {
|
|
2837
|
-
return {
|
|
2838
|
-
tags: output.tags != null ? de_ResourceTagList(output.tags, context) : undefined,
|
|
2839
|
-
};
|
|
2840
|
-
};
|
|
2841
|
-
const de_MarkerRecordedEventAttributes = (output, context) => {
|
|
2842
|
-
return {
|
|
2843
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2844
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
2845
|
-
markerName: (0, smithy_client_1.expectString)(output.markerName),
|
|
2846
|
-
};
|
|
2847
|
-
};
|
|
2848
|
-
const de_OperationNotPermittedFault = (output, context) => {
|
|
2849
|
-
return {
|
|
2850
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2851
|
-
};
|
|
2852
|
-
};
|
|
2853
|
-
const de_PendingTaskCount = (output, context) => {
|
|
2854
|
-
return {
|
|
2855
|
-
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
2856
|
-
truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
|
|
2857
|
-
};
|
|
2858
|
-
};
|
|
2859
|
-
const de_RecordMarkerFailedEventAttributes = (output, context) => {
|
|
2860
|
-
return {
|
|
2861
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2862
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2863
|
-
markerName: (0, smithy_client_1.expectString)(output.markerName),
|
|
2864
|
-
};
|
|
2865
|
-
};
|
|
2866
|
-
const de_RequestCancelActivityTaskFailedEventAttributes = (output, context) => {
|
|
2867
|
-
return {
|
|
2868
|
-
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2869
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2870
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
const de_RequestCancelExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2874
|
-
return {
|
|
2875
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2876
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2877
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2878
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2879
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
2880
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2881
|
-
};
|
|
2882
|
-
};
|
|
2883
|
-
const de_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
2884
|
-
return {
|
|
2885
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2886
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2887
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
2888
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2889
|
-
};
|
|
2890
|
-
};
|
|
2891
|
-
const de_ResourceTag = (output, context) => {
|
|
2892
|
-
return {
|
|
2893
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
2894
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
const de_ResourceTagList = (output, context) => {
|
|
2898
|
-
const retVal = (output || [])
|
|
2899
|
-
.filter((e) => e != null)
|
|
2900
|
-
.map((entry) => {
|
|
2901
|
-
if (entry === null) {
|
|
2902
|
-
return null;
|
|
2903
|
-
}
|
|
2904
|
-
return de_ResourceTag(entry, context);
|
|
2905
|
-
});
|
|
2906
|
-
return retVal;
|
|
2907
|
-
};
|
|
2908
|
-
const de_Run = (output, context) => {
|
|
2909
|
-
return {
|
|
2910
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
const de_ScheduleActivityTaskFailedEventAttributes = (output, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2916
|
-
activityType: output.activityType != null ? de_ActivityType(output.activityType, context) : undefined,
|
|
2917
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2918
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
const de_ScheduleLambdaFunctionFailedEventAttributes = (output, context) => {
|
|
2922
|
-
return {
|
|
2923
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2924
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2925
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2926
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2927
|
-
};
|
|
2928
|
-
};
|
|
2929
|
-
const de_SignalExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2930
|
-
return {
|
|
2931
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2932
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2933
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2934
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2935
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
2936
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2937
|
-
};
|
|
2938
|
-
};
|
|
2939
|
-
const de_SignalExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
2940
|
-
return {
|
|
2941
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2942
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2943
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
2944
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
2945
|
-
signalName: (0, smithy_client_1.expectString)(output.signalName),
|
|
2946
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2947
|
-
};
|
|
2948
|
-
};
|
|
2949
|
-
const de_StartChildWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
2950
|
-
return {
|
|
2951
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2952
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2953
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2954
|
-
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2955
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2956
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2957
|
-
};
|
|
2958
|
-
};
|
|
2959
|
-
const de_StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
2960
|
-
return {
|
|
2961
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
2962
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
2963
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2964
|
-
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
2965
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
2966
|
-
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
2967
|
-
tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
|
|
2968
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
2969
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
2970
|
-
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
2971
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
2972
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
2973
|
-
};
|
|
2974
|
-
};
|
|
2975
|
-
const de_StartLambdaFunctionFailedEventAttributes = (output, context) => {
|
|
2976
|
-
return {
|
|
2977
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2978
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2979
|
-
scheduledEventId: (0, smithy_client_1.expectLong)(output.scheduledEventId),
|
|
2980
|
-
};
|
|
2981
|
-
};
|
|
2982
|
-
const de_StartTimerFailedEventAttributes = (output, context) => {
|
|
2983
|
-
return {
|
|
2984
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2985
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2986
|
-
timerId: (0, smithy_client_1.expectString)(output.timerId),
|
|
2987
|
-
};
|
|
2988
|
-
};
|
|
2989
|
-
const de_TagList = (output, context) => {
|
|
2990
|
-
const retVal = (output || [])
|
|
2991
|
-
.filter((e) => e != null)
|
|
2992
|
-
.map((entry) => {
|
|
2993
|
-
if (entry === null) {
|
|
2994
|
-
return null;
|
|
2995
|
-
}
|
|
2996
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2997
|
-
});
|
|
2998
|
-
return retVal;
|
|
2999
|
-
};
|
|
3000
|
-
const de_TaskList = (output, context) => {
|
|
3001
|
-
return {
|
|
3002
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3003
|
-
};
|
|
3004
|
-
};
|
|
3005
|
-
const de_TimerCanceledEventAttributes = (output, context) => {
|
|
3006
|
-
return {
|
|
3007
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3008
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
3009
|
-
timerId: (0, smithy_client_1.expectString)(output.timerId),
|
|
3010
|
-
};
|
|
3011
|
-
};
|
|
3012
|
-
const de_TimerFiredEventAttributes = (output, context) => {
|
|
3013
|
-
return {
|
|
3014
|
-
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
3015
|
-
timerId: (0, smithy_client_1.expectString)(output.timerId),
|
|
3016
|
-
};
|
|
3017
|
-
};
|
|
3018
|
-
const de_TimerStartedEventAttributes = (output, context) => {
|
|
3019
|
-
return {
|
|
3020
|
-
control: (0, smithy_client_1.expectString)(output.control),
|
|
3021
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3022
|
-
startToFireTimeout: (0, smithy_client_1.expectString)(output.startToFireTimeout),
|
|
3023
|
-
timerId: (0, smithy_client_1.expectString)(output.timerId),
|
|
3024
|
-
};
|
|
3025
|
-
};
|
|
3026
|
-
const de_TooManyTagsFault = (output, context) => {
|
|
3027
|
-
return {
|
|
3028
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3029
|
-
};
|
|
3030
|
-
};
|
|
3031
|
-
const de_TypeAlreadyExistsFault = (output, context) => {
|
|
3032
|
-
return {
|
|
3033
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3034
|
-
};
|
|
3035
|
-
};
|
|
3036
|
-
const de_TypeDeprecatedFault = (output, context) => {
|
|
3037
|
-
return {
|
|
3038
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3039
|
-
};
|
|
3040
|
-
};
|
|
3041
|
-
const de_UnknownResourceFault = (output, context) => {
|
|
3042
|
-
return {
|
|
3043
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3044
|
-
};
|
|
3045
|
-
};
|
|
3046
|
-
const de_WorkflowExecution = (output, context) => {
|
|
3047
|
-
return {
|
|
3048
|
-
runId: (0, smithy_client_1.expectString)(output.runId),
|
|
3049
|
-
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
const de_WorkflowExecutionAlreadyStartedFault = (output, context) => {
|
|
3053
|
-
return {
|
|
3054
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3055
|
-
};
|
|
3056
|
-
};
|
|
3057
|
-
const de_WorkflowExecutionCanceledEventAttributes = (output, context) => {
|
|
3058
|
-
return {
|
|
3059
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3060
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
3061
|
-
};
|
|
3062
|
-
};
|
|
3063
|
-
const de_WorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
|
|
3064
|
-
return {
|
|
3065
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
3066
|
-
externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
|
|
3067
|
-
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3068
|
-
? de_WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3069
|
-
: undefined,
|
|
3070
|
-
};
|
|
3071
|
-
};
|
|
3072
|
-
const de_WorkflowExecutionCompletedEventAttributes = (output, context) => {
|
|
3073
|
-
return {
|
|
3074
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3075
|
-
result: (0, smithy_client_1.expectString)(output.result),
|
|
3076
|
-
};
|
|
3077
|
-
};
|
|
3078
|
-
const de_WorkflowExecutionConfiguration = (output, context) => {
|
|
3079
|
-
return {
|
|
3080
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3081
|
-
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
3082
|
-
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3083
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
3084
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3085
|
-
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3086
|
-
};
|
|
3087
|
-
};
|
|
3088
|
-
const de_WorkflowExecutionContinuedAsNewEventAttributes = (output, context) => {
|
|
3089
|
-
return {
|
|
3090
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3091
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3092
|
-
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
3093
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
3094
|
-
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3095
|
-
newExecutionRunId: (0, smithy_client_1.expectString)(output.newExecutionRunId),
|
|
3096
|
-
tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
|
|
3097
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
3098
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3099
|
-
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3100
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
3101
|
-
};
|
|
3102
|
-
};
|
|
3103
|
-
const de_WorkflowExecutionCount = (output, context) => {
|
|
3104
|
-
return {
|
|
3105
|
-
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
3106
|
-
truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
|
|
3107
|
-
};
|
|
3108
|
-
};
|
|
3109
1866
|
const de_WorkflowExecutionDetail = (output, context) => {
|
|
3110
|
-
return {
|
|
3111
|
-
executionConfiguration:
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
: undefined,
|
|
3118
|
-
latestExecutionContext: (0, smithy_client_1.expectString)(output.latestExecutionContext),
|
|
3119
|
-
openCounts: output.openCounts != null ? de_WorkflowExecutionOpenCounts(output.openCounts, context) : undefined,
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const de_WorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3125
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
3126
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
3127
|
-
};
|
|
1867
|
+
return (0, smithy_client_1.take)(output, {
|
|
1868
|
+
executionConfiguration: smithy_client_1._json,
|
|
1869
|
+
executionInfo: (_) => de_WorkflowExecutionInfo(_, context),
|
|
1870
|
+
latestActivityTaskTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1871
|
+
latestExecutionContext: smithy_client_1.expectString,
|
|
1872
|
+
openCounts: smithy_client_1._json,
|
|
1873
|
+
});
|
|
3128
1874
|
};
|
|
3129
1875
|
const de_WorkflowExecutionInfo = (output, context) => {
|
|
3130
|
-
return {
|
|
3131
|
-
cancelRequested:
|
|
3132
|
-
closeStatus:
|
|
3133
|
-
closeTimestamp:
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
: undefined,
|
|
3142
|
-
tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
|
|
3143
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
3144
|
-
};
|
|
1876
|
+
return (0, smithy_client_1.take)(output, {
|
|
1877
|
+
cancelRequested: smithy_client_1.expectBoolean,
|
|
1878
|
+
closeStatus: smithy_client_1.expectString,
|
|
1879
|
+
closeTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1880
|
+
execution: smithy_client_1._json,
|
|
1881
|
+
executionStatus: smithy_client_1.expectString,
|
|
1882
|
+
parent: smithy_client_1._json,
|
|
1883
|
+
startTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1884
|
+
tagList: smithy_client_1._json,
|
|
1885
|
+
workflowType: smithy_client_1._json,
|
|
1886
|
+
});
|
|
3145
1887
|
};
|
|
3146
1888
|
const de_WorkflowExecutionInfoList = (output, context) => {
|
|
3147
1889
|
const retVal = (output || [])
|
|
3148
1890
|
.filter((e) => e != null)
|
|
3149
1891
|
.map((entry) => {
|
|
3150
|
-
if (entry === null) {
|
|
3151
|
-
return null;
|
|
3152
|
-
}
|
|
3153
1892
|
return de_WorkflowExecutionInfo(entry, context);
|
|
3154
1893
|
});
|
|
3155
1894
|
return retVal;
|
|
3156
1895
|
};
|
|
3157
1896
|
const de_WorkflowExecutionInfos = (output, context) => {
|
|
3158
|
-
return {
|
|
3159
|
-
executionInfos:
|
|
3160
|
-
nextPageToken:
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
|
-
const de_WorkflowExecutionOpenCounts = (output, context) => {
|
|
3164
|
-
return {
|
|
3165
|
-
openActivityTasks: (0, smithy_client_1.expectInt32)(output.openActivityTasks),
|
|
3166
|
-
openChildWorkflowExecutions: (0, smithy_client_1.expectInt32)(output.openChildWorkflowExecutions),
|
|
3167
|
-
openDecisionTasks: (0, smithy_client_1.expectInt32)(output.openDecisionTasks),
|
|
3168
|
-
openLambdaFunctions: (0, smithy_client_1.expectInt32)(output.openLambdaFunctions),
|
|
3169
|
-
openTimers: (0, smithy_client_1.expectInt32)(output.openTimers),
|
|
3170
|
-
};
|
|
3171
|
-
};
|
|
3172
|
-
const de_WorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
3173
|
-
return {
|
|
3174
|
-
externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
|
|
3175
|
-
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3176
|
-
? de_WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3177
|
-
: undefined,
|
|
3178
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
3179
|
-
signalName: (0, smithy_client_1.expectString)(output.signalName),
|
|
3180
|
-
};
|
|
3181
|
-
};
|
|
3182
|
-
const de_WorkflowExecutionStartedEventAttributes = (output, context) => {
|
|
3183
|
-
return {
|
|
3184
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3185
|
-
continuedExecutionRunId: (0, smithy_client_1.expectString)(output.continuedExecutionRunId),
|
|
3186
|
-
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
3187
|
-
input: (0, smithy_client_1.expectString)(output.input),
|
|
3188
|
-
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3189
|
-
parentInitiatedEventId: (0, smithy_client_1.expectLong)(output.parentInitiatedEventId),
|
|
3190
|
-
parentWorkflowExecution: output.parentWorkflowExecution != null
|
|
3191
|
-
? de_WorkflowExecution(output.parentWorkflowExecution, context)
|
|
3192
|
-
: undefined,
|
|
3193
|
-
tagList: output.tagList != null ? de_TagList(output.tagList, context) : undefined,
|
|
3194
|
-
taskList: output.taskList != null ? de_TaskList(output.taskList, context) : undefined,
|
|
3195
|
-
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3196
|
-
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3197
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
3198
|
-
};
|
|
3199
|
-
};
|
|
3200
|
-
const de_WorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
3201
|
-
return {
|
|
3202
|
-
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
3203
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3204
|
-
details: (0, smithy_client_1.expectString)(output.details),
|
|
3205
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
3206
|
-
};
|
|
3207
|
-
};
|
|
3208
|
-
const de_WorkflowExecutionTimedOutEventAttributes = (output, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3211
|
-
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
3212
|
-
};
|
|
3213
|
-
};
|
|
3214
|
-
const de_WorkflowType = (output, context) => {
|
|
3215
|
-
return {
|
|
3216
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3217
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
3218
|
-
};
|
|
3219
|
-
};
|
|
3220
|
-
const de_WorkflowTypeConfiguration = (output, context) => {
|
|
3221
|
-
return {
|
|
3222
|
-
defaultChildPolicy: (0, smithy_client_1.expectString)(output.defaultChildPolicy),
|
|
3223
|
-
defaultExecutionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultExecutionStartToCloseTimeout),
|
|
3224
|
-
defaultLambdaRole: (0, smithy_client_1.expectString)(output.defaultLambdaRole),
|
|
3225
|
-
defaultTaskList: output.defaultTaskList != null ? de_TaskList(output.defaultTaskList, context) : undefined,
|
|
3226
|
-
defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
|
|
3227
|
-
defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
|
|
3228
|
-
};
|
|
1897
|
+
return (0, smithy_client_1.take)(output, {
|
|
1898
|
+
executionInfos: (_) => de_WorkflowExecutionInfoList(_, context),
|
|
1899
|
+
nextPageToken: smithy_client_1.expectString,
|
|
1900
|
+
});
|
|
3229
1901
|
};
|
|
3230
1902
|
const de_WorkflowTypeDetail = (output, context) => {
|
|
3231
|
-
return {
|
|
3232
|
-
configuration:
|
|
3233
|
-
typeInfo:
|
|
3234
|
-
};
|
|
1903
|
+
return (0, smithy_client_1.take)(output, {
|
|
1904
|
+
configuration: smithy_client_1._json,
|
|
1905
|
+
typeInfo: (_) => de_WorkflowTypeInfo(_, context),
|
|
1906
|
+
});
|
|
3235
1907
|
};
|
|
3236
1908
|
const de_WorkflowTypeInfo = (output, context) => {
|
|
3237
|
-
return {
|
|
3238
|
-
creationDate:
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3245
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3246
|
-
workflowType: output.workflowType != null ? de_WorkflowType(output.workflowType, context) : undefined,
|
|
3247
|
-
};
|
|
1909
|
+
return (0, smithy_client_1.take)(output, {
|
|
1910
|
+
creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1911
|
+
deprecationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1912
|
+
description: smithy_client_1.expectString,
|
|
1913
|
+
status: smithy_client_1.expectString,
|
|
1914
|
+
workflowType: smithy_client_1._json,
|
|
1915
|
+
});
|
|
3248
1916
|
};
|
|
3249
1917
|
const de_WorkflowTypeInfoList = (output, context) => {
|
|
3250
1918
|
const retVal = (output || [])
|
|
3251
1919
|
.filter((e) => e != null)
|
|
3252
1920
|
.map((entry) => {
|
|
3253
|
-
if (entry === null) {
|
|
3254
|
-
return null;
|
|
3255
|
-
}
|
|
3256
1921
|
return de_WorkflowTypeInfo(entry, context);
|
|
3257
1922
|
});
|
|
3258
1923
|
return retVal;
|
|
3259
1924
|
};
|
|
3260
1925
|
const de_WorkflowTypeInfos = (output, context) => {
|
|
3261
|
-
return {
|
|
3262
|
-
nextPageToken:
|
|
3263
|
-
typeInfos:
|
|
3264
|
-
};
|
|
1926
|
+
return (0, smithy_client_1.take)(output, {
|
|
1927
|
+
nextPageToken: smithy_client_1.expectString,
|
|
1928
|
+
typeInfos: (_) => de_WorkflowTypeInfoList(_, context),
|
|
1929
|
+
});
|
|
3265
1930
|
};
|
|
3266
1931
|
const deserializeMetadata = (output) => ({
|
|
3267
1932
|
httpStatusCode: output.statusCode,
|
|
@@ -3276,6 +1941,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3276
1941
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3277
1942
|
};
|
|
3278
1943
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1944
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(SWFServiceException_1.SWFServiceException);
|
|
3279
1945
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3280
1946
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3281
1947
|
const contents = {
|