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