@aws-sdk/client-sfn 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateActivityCommand.js +2 -2
- package/dist-cjs/commands/CreateStateMachineCommand.js +2 -2
- package/dist-cjs/commands/DeleteActivityCommand.js +2 -2
- package/dist-cjs/commands/DeleteStateMachineCommand.js +2 -2
- package/dist-cjs/commands/DescribeActivityCommand.js +2 -2
- package/dist-cjs/commands/DescribeExecutionCommand.js +2 -2
- package/dist-cjs/commands/DescribeMapRunCommand.js +2 -2
- package/dist-cjs/commands/DescribeStateMachineCommand.js +2 -2
- package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +2 -2
- package/dist-cjs/commands/GetActivityTaskCommand.js +2 -2
- package/dist-cjs/commands/GetExecutionHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListActivitiesCommand.js +2 -2
- package/dist-cjs/commands/ListExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListMapRunsCommand.js +2 -2
- package/dist-cjs/commands/ListStateMachinesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/SendTaskFailureCommand.js +2 -2
- package/dist-cjs/commands/SendTaskHeartbeatCommand.js +2 -2
- package/dist-cjs/commands/SendTaskSuccessCommand.js +2 -2
- package/dist-cjs/commands/StartExecutionCommand.js +2 -2
- package/dist-cjs/commands/StartSyncExecutionCommand.js +2 -2
- package/dist-cjs/commands/StopExecutionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateMapRunCommand.js +2 -2
- package/dist-cjs/commands/UpdateStateMachineCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_0.js +571 -615
- package/dist-es/commands/CreateActivityCommand.js +3 -3
- package/dist-es/commands/CreateStateMachineCommand.js +3 -3
- package/dist-es/commands/DeleteActivityCommand.js +3 -3
- package/dist-es/commands/DeleteStateMachineCommand.js +3 -3
- package/dist-es/commands/DescribeActivityCommand.js +3 -3
- package/dist-es/commands/DescribeExecutionCommand.js +3 -3
- package/dist-es/commands/DescribeMapRunCommand.js +3 -3
- package/dist-es/commands/DescribeStateMachineCommand.js +3 -3
- package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +3 -3
- package/dist-es/commands/GetActivityTaskCommand.js +3 -3
- package/dist-es/commands/GetExecutionHistoryCommand.js +3 -3
- package/dist-es/commands/ListActivitiesCommand.js +3 -3
- package/dist-es/commands/ListExecutionsCommand.js +3 -3
- package/dist-es/commands/ListMapRunsCommand.js +3 -3
- package/dist-es/commands/ListStateMachinesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/SendTaskFailureCommand.js +3 -3
- package/dist-es/commands/SendTaskHeartbeatCommand.js +3 -3
- package/dist-es/commands/SendTaskSuccessCommand.js +3 -3
- package/dist-es/commands/StartExecutionCommand.js +3 -3
- package/dist-es/commands/StartSyncExecutionCommand.js +3 -3
- package/dist-es/commands/StopExecutionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateMapRunCommand.js +3 -3
- package/dist-es/commands/UpdateStateMachineCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_0.js +517 -561
- package/dist-types/protocols/Aws_json1_0.d.ts +208 -52
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +52 -52
- package/package.json +29 -29
|
@@ -1,218 +1,218 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopExecutionCommand = exports.de_StartSyncExecutionCommand = exports.de_StartExecutionCommand = exports.de_SendTaskSuccessCommand = exports.de_SendTaskHeartbeatCommand = exports.de_SendTaskFailureCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStateMachinesCommand = exports.de_ListMapRunsCommand = exports.de_ListExecutionsCommand = exports.de_ListActivitiesCommand = exports.de_GetExecutionHistoryCommand = exports.de_GetActivityTaskCommand = exports.de_DescribeStateMachineForExecutionCommand = exports.de_DescribeStateMachineCommand = exports.de_DescribeMapRunCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeActivityCommand = exports.de_DeleteStateMachineCommand = exports.de_DeleteActivityCommand = exports.de_CreateStateMachineCommand = exports.de_CreateActivityCommand = exports.se_UpdateStateMachineCommand = exports.se_UpdateMapRunCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopExecutionCommand = exports.se_StartSyncExecutionCommand = exports.se_StartExecutionCommand = exports.se_SendTaskSuccessCommand = exports.se_SendTaskHeartbeatCommand = exports.se_SendTaskFailureCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStateMachinesCommand = exports.se_ListMapRunsCommand = exports.se_ListExecutionsCommand = exports.se_ListActivitiesCommand = exports.se_GetExecutionHistoryCommand = exports.se_GetActivityTaskCommand = exports.se_DescribeStateMachineForExecutionCommand = exports.se_DescribeStateMachineCommand = exports.se_DescribeMapRunCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeActivityCommand = exports.se_DeleteStateMachineCommand = exports.se_DeleteActivityCommand = exports.se_CreateStateMachineCommand = exports.se_CreateActivityCommand = void 0;
|
|
4
|
+
exports.de_UpdateStateMachineCommand = exports.de_UpdateMapRunCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const SFNServiceException_1 = require("../models/SFNServiceException");
|
|
9
|
-
const
|
|
9
|
+
const se_CreateActivityCommand = async (input, context) => {
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/x-amz-json-1.0",
|
|
12
12
|
"x-amz-target": "AWSStepFunctions.CreateActivity",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(se_CreateActivityInput(input, context));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
const
|
|
18
|
+
exports.se_CreateActivityCommand = se_CreateActivityCommand;
|
|
19
|
+
const se_CreateStateMachineCommand = async (input, context) => {
|
|
20
20
|
const headers = {
|
|
21
21
|
"content-type": "application/x-amz-json-1.0",
|
|
22
22
|
"x-amz-target": "AWSStepFunctions.CreateStateMachine",
|
|
23
23
|
};
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify(se_CreateStateMachineInput(input, context));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_CreateStateMachineCommand = se_CreateStateMachineCommand;
|
|
29
|
+
const se_DeleteActivityCommand = async (input, context) => {
|
|
30
30
|
const headers = {
|
|
31
31
|
"content-type": "application/x-amz-json-1.0",
|
|
32
32
|
"x-amz-target": "AWSStepFunctions.DeleteActivity",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify(se_DeleteActivityInput(input, context));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
38
|
+
exports.se_DeleteActivityCommand = se_DeleteActivityCommand;
|
|
39
|
+
const se_DeleteStateMachineCommand = async (input, context) => {
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/x-amz-json-1.0",
|
|
42
42
|
"x-amz-target": "AWSStepFunctions.DeleteStateMachine",
|
|
43
43
|
};
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(se_DeleteStateMachineInput(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_DeleteStateMachineCommand = se_DeleteStateMachineCommand;
|
|
49
|
+
const se_DescribeActivityCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-amz-json-1.0",
|
|
52
52
|
"x-amz-target": "AWSStepFunctions.DescribeActivity",
|
|
53
53
|
};
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify(se_DescribeActivityInput(input, context));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
59
|
-
const
|
|
58
|
+
exports.se_DescribeActivityCommand = se_DescribeActivityCommand;
|
|
59
|
+
const se_DescribeExecutionCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.0",
|
|
62
62
|
"x-amz-target": "AWSStepFunctions.DescribeExecution",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DescribeExecutionInput(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
68
|
+
exports.se_DescribeExecutionCommand = se_DescribeExecutionCommand;
|
|
69
|
+
const se_DescribeMapRunCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.0",
|
|
72
72
|
"x-amz-target": "AWSStepFunctions.DescribeMapRun",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_DescribeMapRunInput(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_DescribeMapRunCommand = se_DescribeMapRunCommand;
|
|
79
|
+
const se_DescribeStateMachineCommand = async (input, context) => {
|
|
80
80
|
const headers = {
|
|
81
81
|
"content-type": "application/x-amz-json-1.0",
|
|
82
82
|
"x-amz-target": "AWSStepFunctions.DescribeStateMachine",
|
|
83
83
|
};
|
|
84
84
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
85
|
+
body = JSON.stringify(se_DescribeStateMachineInput(input, context));
|
|
86
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
88
|
+
exports.se_DescribeStateMachineCommand = se_DescribeStateMachineCommand;
|
|
89
|
+
const se_DescribeStateMachineForExecutionCommand = async (input, context) => {
|
|
90
90
|
const headers = {
|
|
91
91
|
"content-type": "application/x-amz-json-1.0",
|
|
92
92
|
"x-amz-target": "AWSStepFunctions.DescribeStateMachineForExecution",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify(se_DescribeStateMachineForExecutionInput(input, context));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_DescribeStateMachineForExecutionCommand = se_DescribeStateMachineForExecutionCommand;
|
|
99
|
+
const se_GetActivityTaskCommand = async (input, context) => {
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/x-amz-json-1.0",
|
|
102
102
|
"x-amz-target": "AWSStepFunctions.GetActivityTask",
|
|
103
103
|
};
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(se_GetActivityTaskInput(input, context));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
|
-
exports.
|
|
109
|
-
const
|
|
108
|
+
exports.se_GetActivityTaskCommand = se_GetActivityTaskCommand;
|
|
109
|
+
const se_GetExecutionHistoryCommand = async (input, context) => {
|
|
110
110
|
const headers = {
|
|
111
111
|
"content-type": "application/x-amz-json-1.0",
|
|
112
112
|
"x-amz-target": "AWSStepFunctions.GetExecutionHistory",
|
|
113
113
|
};
|
|
114
114
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
115
|
+
body = JSON.stringify(se_GetExecutionHistoryInput(input, context));
|
|
116
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
117
|
};
|
|
118
|
-
exports.
|
|
119
|
-
const
|
|
118
|
+
exports.se_GetExecutionHistoryCommand = se_GetExecutionHistoryCommand;
|
|
119
|
+
const se_ListActivitiesCommand = async (input, context) => {
|
|
120
120
|
const headers = {
|
|
121
121
|
"content-type": "application/x-amz-json-1.0",
|
|
122
122
|
"x-amz-target": "AWSStepFunctions.ListActivities",
|
|
123
123
|
};
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify(se_ListActivitiesInput(input, context));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
|
-
exports.
|
|
129
|
-
const
|
|
128
|
+
exports.se_ListActivitiesCommand = se_ListActivitiesCommand;
|
|
129
|
+
const se_ListExecutionsCommand = async (input, context) => {
|
|
130
130
|
const headers = {
|
|
131
131
|
"content-type": "application/x-amz-json-1.0",
|
|
132
132
|
"x-amz-target": "AWSStepFunctions.ListExecutions",
|
|
133
133
|
};
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(se_ListExecutionsInput(input, context));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
const
|
|
138
|
+
exports.se_ListExecutionsCommand = se_ListExecutionsCommand;
|
|
139
|
+
const se_ListMapRunsCommand = async (input, context) => {
|
|
140
140
|
const headers = {
|
|
141
141
|
"content-type": "application/x-amz-json-1.0",
|
|
142
142
|
"x-amz-target": "AWSStepFunctions.ListMapRuns",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify(se_ListMapRunsInput(input, context));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
|
-
exports.
|
|
149
|
-
const
|
|
148
|
+
exports.se_ListMapRunsCommand = se_ListMapRunsCommand;
|
|
149
|
+
const se_ListStateMachinesCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.0",
|
|
152
152
|
"x-amz-target": "AWSStepFunctions.ListStateMachines",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_ListStateMachinesInput(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
159
|
-
const
|
|
158
|
+
exports.se_ListStateMachinesCommand = se_ListStateMachinesCommand;
|
|
159
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.0",
|
|
162
162
|
"x-amz-target": "AWSStepFunctions.ListTagsForResource",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_ListTagsForResourceInput(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
exports.
|
|
169
|
-
const
|
|
168
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
169
|
+
const se_SendTaskFailureCommand = async (input, context) => {
|
|
170
170
|
const headers = {
|
|
171
171
|
"content-type": "application/x-amz-json-1.0",
|
|
172
172
|
"x-amz-target": "AWSStepFunctions.SendTaskFailure",
|
|
173
173
|
};
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify(se_SendTaskFailureInput(input, context));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_SendTaskFailureCommand = se_SendTaskFailureCommand;
|
|
179
|
+
const se_SendTaskHeartbeatCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-amz-json-1.0",
|
|
182
182
|
"x-amz-target": "AWSStepFunctions.SendTaskHeartbeat",
|
|
183
183
|
};
|
|
184
184
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
185
|
+
body = JSON.stringify(se_SendTaskHeartbeatInput(input, context));
|
|
186
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
187
|
};
|
|
188
|
-
exports.
|
|
189
|
-
const
|
|
188
|
+
exports.se_SendTaskHeartbeatCommand = se_SendTaskHeartbeatCommand;
|
|
189
|
+
const se_SendTaskSuccessCommand = async (input, context) => {
|
|
190
190
|
const headers = {
|
|
191
191
|
"content-type": "application/x-amz-json-1.0",
|
|
192
192
|
"x-amz-target": "AWSStepFunctions.SendTaskSuccess",
|
|
193
193
|
};
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(se_SendTaskSuccessInput(input, context));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_SendTaskSuccessCommand = se_SendTaskSuccessCommand;
|
|
199
|
+
const se_StartExecutionCommand = async (input, context) => {
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/x-amz-json-1.0",
|
|
202
202
|
"x-amz-target": "AWSStepFunctions.StartExecution",
|
|
203
203
|
};
|
|
204
204
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
205
|
+
body = JSON.stringify(se_StartExecutionInput(input, context));
|
|
206
206
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
207
|
};
|
|
208
|
-
exports.
|
|
209
|
-
const
|
|
208
|
+
exports.se_StartExecutionCommand = se_StartExecutionCommand;
|
|
209
|
+
const se_StartSyncExecutionCommand = async (input, context) => {
|
|
210
210
|
const headers = {
|
|
211
211
|
"content-type": "application/x-amz-json-1.0",
|
|
212
212
|
"x-amz-target": "AWSStepFunctions.StartSyncExecution",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify(se_StartSyncExecutionInput(input, context));
|
|
216
216
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
217
217
|
if (context.disableHostPrefix !== true) {
|
|
218
218
|
resolvedHostname = "sync-" + resolvedHostname;
|
|
@@ -222,72 +222,72 @@ const serializeAws_json1_0StartSyncExecutionCommand = async (input, context) =>
|
|
|
222
222
|
}
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
224
224
|
};
|
|
225
|
-
exports.
|
|
226
|
-
const
|
|
225
|
+
exports.se_StartSyncExecutionCommand = se_StartSyncExecutionCommand;
|
|
226
|
+
const se_StopExecutionCommand = async (input, context) => {
|
|
227
227
|
const headers = {
|
|
228
228
|
"content-type": "application/x-amz-json-1.0",
|
|
229
229
|
"x-amz-target": "AWSStepFunctions.StopExecution",
|
|
230
230
|
};
|
|
231
231
|
let body;
|
|
232
|
-
body = JSON.stringify(
|
|
232
|
+
body = JSON.stringify(se_StopExecutionInput(input, context));
|
|
233
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
234
|
};
|
|
235
|
-
exports.
|
|
236
|
-
const
|
|
235
|
+
exports.se_StopExecutionCommand = se_StopExecutionCommand;
|
|
236
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
237
237
|
const headers = {
|
|
238
238
|
"content-type": "application/x-amz-json-1.0",
|
|
239
239
|
"x-amz-target": "AWSStepFunctions.TagResource",
|
|
240
240
|
};
|
|
241
241
|
let body;
|
|
242
|
-
body = JSON.stringify(
|
|
242
|
+
body = JSON.stringify(se_TagResourceInput(input, context));
|
|
243
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
244
|
};
|
|
245
|
-
exports.
|
|
246
|
-
const
|
|
245
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
246
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
247
247
|
const headers = {
|
|
248
248
|
"content-type": "application/x-amz-json-1.0",
|
|
249
249
|
"x-amz-target": "AWSStepFunctions.UntagResource",
|
|
250
250
|
};
|
|
251
251
|
let body;
|
|
252
|
-
body = JSON.stringify(
|
|
252
|
+
body = JSON.stringify(se_UntagResourceInput(input, context));
|
|
253
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
254
254
|
};
|
|
255
|
-
exports.
|
|
256
|
-
const
|
|
255
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
256
|
+
const se_UpdateMapRunCommand = async (input, context) => {
|
|
257
257
|
const headers = {
|
|
258
258
|
"content-type": "application/x-amz-json-1.0",
|
|
259
259
|
"x-amz-target": "AWSStepFunctions.UpdateMapRun",
|
|
260
260
|
};
|
|
261
261
|
let body;
|
|
262
|
-
body = JSON.stringify(
|
|
262
|
+
body = JSON.stringify(se_UpdateMapRunInput(input, context));
|
|
263
263
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
264
|
};
|
|
265
|
-
exports.
|
|
266
|
-
const
|
|
265
|
+
exports.se_UpdateMapRunCommand = se_UpdateMapRunCommand;
|
|
266
|
+
const se_UpdateStateMachineCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.0",
|
|
269
269
|
"x-amz-target": "AWSStepFunctions.UpdateStateMachine",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_UpdateStateMachineInput(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
exports.
|
|
276
|
-
const
|
|
275
|
+
exports.se_UpdateStateMachineCommand = se_UpdateStateMachineCommand;
|
|
276
|
+
const de_CreateActivityCommand = async (output, context) => {
|
|
277
277
|
if (output.statusCode >= 300) {
|
|
278
|
-
return
|
|
278
|
+
return de_CreateActivityCommandError(output, context);
|
|
279
279
|
}
|
|
280
280
|
const data = await parseBody(output.body, context);
|
|
281
281
|
let contents = {};
|
|
282
|
-
contents =
|
|
282
|
+
contents = de_CreateActivityOutput(data, context);
|
|
283
283
|
const response = {
|
|
284
284
|
$metadata: deserializeMetadata(output),
|
|
285
285
|
...contents,
|
|
286
286
|
};
|
|
287
287
|
return Promise.resolve(response);
|
|
288
288
|
};
|
|
289
|
-
exports.
|
|
290
|
-
const
|
|
289
|
+
exports.de_CreateActivityCommand = de_CreateActivityCommand;
|
|
290
|
+
const de_CreateActivityCommandError = async (output, context) => {
|
|
291
291
|
const parsedOutput = {
|
|
292
292
|
...output,
|
|
293
293
|
body: await parseErrorBody(output.body, context),
|
|
@@ -296,13 +296,13 @@ const deserializeAws_json1_0CreateActivityCommandError = async (output, context)
|
|
|
296
296
|
switch (errorCode) {
|
|
297
297
|
case "ActivityLimitExceeded":
|
|
298
298
|
case "com.amazonaws.sfn#ActivityLimitExceeded":
|
|
299
|
-
throw await
|
|
299
|
+
throw await de_ActivityLimitExceededRes(parsedOutput, context);
|
|
300
300
|
case "InvalidName":
|
|
301
301
|
case "com.amazonaws.sfn#InvalidName":
|
|
302
|
-
throw await
|
|
302
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
303
303
|
case "TooManyTags":
|
|
304
304
|
case "com.amazonaws.sfn#TooManyTags":
|
|
305
|
-
throw await
|
|
305
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
306
306
|
default:
|
|
307
307
|
const parsedBody = parsedOutput.body;
|
|
308
308
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -313,21 +313,21 @@ const deserializeAws_json1_0CreateActivityCommandError = async (output, context)
|
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
const
|
|
316
|
+
const de_CreateStateMachineCommand = async (output, context) => {
|
|
317
317
|
if (output.statusCode >= 300) {
|
|
318
|
-
return
|
|
318
|
+
return de_CreateStateMachineCommandError(output, context);
|
|
319
319
|
}
|
|
320
320
|
const data = await parseBody(output.body, context);
|
|
321
321
|
let contents = {};
|
|
322
|
-
contents =
|
|
322
|
+
contents = de_CreateStateMachineOutput(data, context);
|
|
323
323
|
const response = {
|
|
324
324
|
$metadata: deserializeMetadata(output),
|
|
325
325
|
...contents,
|
|
326
326
|
};
|
|
327
327
|
return Promise.resolve(response);
|
|
328
328
|
};
|
|
329
|
-
exports.
|
|
330
|
-
const
|
|
329
|
+
exports.de_CreateStateMachineCommand = de_CreateStateMachineCommand;
|
|
330
|
+
const de_CreateStateMachineCommandError = async (output, context) => {
|
|
331
331
|
const parsedOutput = {
|
|
332
332
|
...output,
|
|
333
333
|
body: await parseErrorBody(output.body, context),
|
|
@@ -336,34 +336,34 @@ const deserializeAws_json1_0CreateStateMachineCommandError = async (output, cont
|
|
|
336
336
|
switch (errorCode) {
|
|
337
337
|
case "InvalidArn":
|
|
338
338
|
case "com.amazonaws.sfn#InvalidArn":
|
|
339
|
-
throw await
|
|
339
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
340
340
|
case "InvalidDefinition":
|
|
341
341
|
case "com.amazonaws.sfn#InvalidDefinition":
|
|
342
|
-
throw await
|
|
342
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
343
343
|
case "InvalidLoggingConfiguration":
|
|
344
344
|
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
345
|
-
throw await
|
|
345
|
+
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
346
346
|
case "InvalidName":
|
|
347
347
|
case "com.amazonaws.sfn#InvalidName":
|
|
348
|
-
throw await
|
|
348
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
349
349
|
case "InvalidTracingConfiguration":
|
|
350
350
|
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
351
|
-
throw await
|
|
351
|
+
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
352
352
|
case "StateMachineAlreadyExists":
|
|
353
353
|
case "com.amazonaws.sfn#StateMachineAlreadyExists":
|
|
354
|
-
throw await
|
|
354
|
+
throw await de_StateMachineAlreadyExistsRes(parsedOutput, context);
|
|
355
355
|
case "StateMachineDeleting":
|
|
356
356
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
357
|
-
throw await
|
|
357
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
358
358
|
case "StateMachineLimitExceeded":
|
|
359
359
|
case "com.amazonaws.sfn#StateMachineLimitExceeded":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_StateMachineLimitExceededRes(parsedOutput, context);
|
|
361
361
|
case "StateMachineTypeNotSupported":
|
|
362
362
|
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
363
|
-
throw await
|
|
363
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
364
364
|
case "TooManyTags":
|
|
365
365
|
case "com.amazonaws.sfn#TooManyTags":
|
|
366
|
-
throw await
|
|
366
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
367
367
|
default:
|
|
368
368
|
const parsedBody = parsedOutput.body;
|
|
369
369
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -374,21 +374,21 @@ const deserializeAws_json1_0CreateStateMachineCommandError = async (output, cont
|
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
|
-
const
|
|
377
|
+
const de_DeleteActivityCommand = async (output, context) => {
|
|
378
378
|
if (output.statusCode >= 300) {
|
|
379
|
-
return
|
|
379
|
+
return de_DeleteActivityCommandError(output, context);
|
|
380
380
|
}
|
|
381
381
|
const data = await parseBody(output.body, context);
|
|
382
382
|
let contents = {};
|
|
383
|
-
contents =
|
|
383
|
+
contents = de_DeleteActivityOutput(data, context);
|
|
384
384
|
const response = {
|
|
385
385
|
$metadata: deserializeMetadata(output),
|
|
386
386
|
...contents,
|
|
387
387
|
};
|
|
388
388
|
return Promise.resolve(response);
|
|
389
389
|
};
|
|
390
|
-
exports.
|
|
391
|
-
const
|
|
390
|
+
exports.de_DeleteActivityCommand = de_DeleteActivityCommand;
|
|
391
|
+
const de_DeleteActivityCommandError = async (output, context) => {
|
|
392
392
|
const parsedOutput = {
|
|
393
393
|
...output,
|
|
394
394
|
body: await parseErrorBody(output.body, context),
|
|
@@ -397,7 +397,7 @@ const deserializeAws_json1_0DeleteActivityCommandError = async (output, context)
|
|
|
397
397
|
switch (errorCode) {
|
|
398
398
|
case "InvalidArn":
|
|
399
399
|
case "com.amazonaws.sfn#InvalidArn":
|
|
400
|
-
throw await
|
|
400
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
401
401
|
default:
|
|
402
402
|
const parsedBody = parsedOutput.body;
|
|
403
403
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -408,21 +408,21 @@ const deserializeAws_json1_0DeleteActivityCommandError = async (output, context)
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
|
-
const
|
|
411
|
+
const de_DeleteStateMachineCommand = async (output, context) => {
|
|
412
412
|
if (output.statusCode >= 300) {
|
|
413
|
-
return
|
|
413
|
+
return de_DeleteStateMachineCommandError(output, context);
|
|
414
414
|
}
|
|
415
415
|
const data = await parseBody(output.body, context);
|
|
416
416
|
let contents = {};
|
|
417
|
-
contents =
|
|
417
|
+
contents = de_DeleteStateMachineOutput(data, context);
|
|
418
418
|
const response = {
|
|
419
419
|
$metadata: deserializeMetadata(output),
|
|
420
420
|
...contents,
|
|
421
421
|
};
|
|
422
422
|
return Promise.resolve(response);
|
|
423
423
|
};
|
|
424
|
-
exports.
|
|
425
|
-
const
|
|
424
|
+
exports.de_DeleteStateMachineCommand = de_DeleteStateMachineCommand;
|
|
425
|
+
const de_DeleteStateMachineCommandError = async (output, context) => {
|
|
426
426
|
const parsedOutput = {
|
|
427
427
|
...output,
|
|
428
428
|
body: await parseErrorBody(output.body, context),
|
|
@@ -431,10 +431,10 @@ const deserializeAws_json1_0DeleteStateMachineCommandError = async (output, cont
|
|
|
431
431
|
switch (errorCode) {
|
|
432
432
|
case "InvalidArn":
|
|
433
433
|
case "com.amazonaws.sfn#InvalidArn":
|
|
434
|
-
throw await
|
|
434
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
435
435
|
case "ValidationException":
|
|
436
436
|
case "com.amazonaws.sfn#ValidationException":
|
|
437
|
-
throw await
|
|
437
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
438
438
|
default:
|
|
439
439
|
const parsedBody = parsedOutput.body;
|
|
440
440
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -445,21 +445,21 @@ const deserializeAws_json1_0DeleteStateMachineCommandError = async (output, cont
|
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
|
-
const
|
|
448
|
+
const de_DescribeActivityCommand = async (output, context) => {
|
|
449
449
|
if (output.statusCode >= 300) {
|
|
450
|
-
return
|
|
450
|
+
return de_DescribeActivityCommandError(output, context);
|
|
451
451
|
}
|
|
452
452
|
const data = await parseBody(output.body, context);
|
|
453
453
|
let contents = {};
|
|
454
|
-
contents =
|
|
454
|
+
contents = de_DescribeActivityOutput(data, context);
|
|
455
455
|
const response = {
|
|
456
456
|
$metadata: deserializeMetadata(output),
|
|
457
457
|
...contents,
|
|
458
458
|
};
|
|
459
459
|
return Promise.resolve(response);
|
|
460
460
|
};
|
|
461
|
-
exports.
|
|
462
|
-
const
|
|
461
|
+
exports.de_DescribeActivityCommand = de_DescribeActivityCommand;
|
|
462
|
+
const de_DescribeActivityCommandError = async (output, context) => {
|
|
463
463
|
const parsedOutput = {
|
|
464
464
|
...output,
|
|
465
465
|
body: await parseErrorBody(output.body, context),
|
|
@@ -468,10 +468,10 @@ const deserializeAws_json1_0DescribeActivityCommandError = async (output, contex
|
|
|
468
468
|
switch (errorCode) {
|
|
469
469
|
case "ActivityDoesNotExist":
|
|
470
470
|
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
471
|
-
throw await
|
|
471
|
+
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
472
472
|
case "InvalidArn":
|
|
473
473
|
case "com.amazonaws.sfn#InvalidArn":
|
|
474
|
-
throw await
|
|
474
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
475
475
|
default:
|
|
476
476
|
const parsedBody = parsedOutput.body;
|
|
477
477
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -482,21 +482,21 @@ const deserializeAws_json1_0DescribeActivityCommandError = async (output, contex
|
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
|
-
const
|
|
485
|
+
const de_DescribeExecutionCommand = async (output, context) => {
|
|
486
486
|
if (output.statusCode >= 300) {
|
|
487
|
-
return
|
|
487
|
+
return de_DescribeExecutionCommandError(output, context);
|
|
488
488
|
}
|
|
489
489
|
const data = await parseBody(output.body, context);
|
|
490
490
|
let contents = {};
|
|
491
|
-
contents =
|
|
491
|
+
contents = de_DescribeExecutionOutput(data, context);
|
|
492
492
|
const response = {
|
|
493
493
|
$metadata: deserializeMetadata(output),
|
|
494
494
|
...contents,
|
|
495
495
|
};
|
|
496
496
|
return Promise.resolve(response);
|
|
497
497
|
};
|
|
498
|
-
exports.
|
|
499
|
-
const
|
|
498
|
+
exports.de_DescribeExecutionCommand = de_DescribeExecutionCommand;
|
|
499
|
+
const de_DescribeExecutionCommandError = async (output, context) => {
|
|
500
500
|
const parsedOutput = {
|
|
501
501
|
...output,
|
|
502
502
|
body: await parseErrorBody(output.body, context),
|
|
@@ -505,10 +505,10 @@ const deserializeAws_json1_0DescribeExecutionCommandError = async (output, conte
|
|
|
505
505
|
switch (errorCode) {
|
|
506
506
|
case "ExecutionDoesNotExist":
|
|
507
507
|
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
508
|
-
throw await
|
|
508
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
509
509
|
case "InvalidArn":
|
|
510
510
|
case "com.amazonaws.sfn#InvalidArn":
|
|
511
|
-
throw await
|
|
511
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
512
512
|
default:
|
|
513
513
|
const parsedBody = parsedOutput.body;
|
|
514
514
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -519,21 +519,21 @@ const deserializeAws_json1_0DescribeExecutionCommandError = async (output, conte
|
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
|
-
const
|
|
522
|
+
const de_DescribeMapRunCommand = async (output, context) => {
|
|
523
523
|
if (output.statusCode >= 300) {
|
|
524
|
-
return
|
|
524
|
+
return de_DescribeMapRunCommandError(output, context);
|
|
525
525
|
}
|
|
526
526
|
const data = await parseBody(output.body, context);
|
|
527
527
|
let contents = {};
|
|
528
|
-
contents =
|
|
528
|
+
contents = de_DescribeMapRunOutput(data, context);
|
|
529
529
|
const response = {
|
|
530
530
|
$metadata: deserializeMetadata(output),
|
|
531
531
|
...contents,
|
|
532
532
|
};
|
|
533
533
|
return Promise.resolve(response);
|
|
534
534
|
};
|
|
535
|
-
exports.
|
|
536
|
-
const
|
|
535
|
+
exports.de_DescribeMapRunCommand = de_DescribeMapRunCommand;
|
|
536
|
+
const de_DescribeMapRunCommandError = async (output, context) => {
|
|
537
537
|
const parsedOutput = {
|
|
538
538
|
...output,
|
|
539
539
|
body: await parseErrorBody(output.body, context),
|
|
@@ -542,10 +542,10 @@ const deserializeAws_json1_0DescribeMapRunCommandError = async (output, context)
|
|
|
542
542
|
switch (errorCode) {
|
|
543
543
|
case "InvalidArn":
|
|
544
544
|
case "com.amazonaws.sfn#InvalidArn":
|
|
545
|
-
throw await
|
|
545
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
546
546
|
case "ResourceNotFound":
|
|
547
547
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
548
|
-
throw await
|
|
548
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
549
549
|
default:
|
|
550
550
|
const parsedBody = parsedOutput.body;
|
|
551
551
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -556,21 +556,21 @@ const deserializeAws_json1_0DescribeMapRunCommandError = async (output, context)
|
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
|
-
const
|
|
559
|
+
const de_DescribeStateMachineCommand = async (output, context) => {
|
|
560
560
|
if (output.statusCode >= 300) {
|
|
561
|
-
return
|
|
561
|
+
return de_DescribeStateMachineCommandError(output, context);
|
|
562
562
|
}
|
|
563
563
|
const data = await parseBody(output.body, context);
|
|
564
564
|
let contents = {};
|
|
565
|
-
contents =
|
|
565
|
+
contents = de_DescribeStateMachineOutput(data, context);
|
|
566
566
|
const response = {
|
|
567
567
|
$metadata: deserializeMetadata(output),
|
|
568
568
|
...contents,
|
|
569
569
|
};
|
|
570
570
|
return Promise.resolve(response);
|
|
571
571
|
};
|
|
572
|
-
exports.
|
|
573
|
-
const
|
|
572
|
+
exports.de_DescribeStateMachineCommand = de_DescribeStateMachineCommand;
|
|
573
|
+
const de_DescribeStateMachineCommandError = async (output, context) => {
|
|
574
574
|
const parsedOutput = {
|
|
575
575
|
...output,
|
|
576
576
|
body: await parseErrorBody(output.body, context),
|
|
@@ -579,10 +579,10 @@ const deserializeAws_json1_0DescribeStateMachineCommandError = async (output, co
|
|
|
579
579
|
switch (errorCode) {
|
|
580
580
|
case "InvalidArn":
|
|
581
581
|
case "com.amazonaws.sfn#InvalidArn":
|
|
582
|
-
throw await
|
|
582
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
583
583
|
case "StateMachineDoesNotExist":
|
|
584
584
|
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
585
|
-
throw await
|
|
585
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
586
586
|
default:
|
|
587
587
|
const parsedBody = parsedOutput.body;
|
|
588
588
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -593,21 +593,21 @@ const deserializeAws_json1_0DescribeStateMachineCommandError = async (output, co
|
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
|
-
const
|
|
596
|
+
const de_DescribeStateMachineForExecutionCommand = async (output, context) => {
|
|
597
597
|
if (output.statusCode >= 300) {
|
|
598
|
-
return
|
|
598
|
+
return de_DescribeStateMachineForExecutionCommandError(output, context);
|
|
599
599
|
}
|
|
600
600
|
const data = await parseBody(output.body, context);
|
|
601
601
|
let contents = {};
|
|
602
|
-
contents =
|
|
602
|
+
contents = de_DescribeStateMachineForExecutionOutput(data, context);
|
|
603
603
|
const response = {
|
|
604
604
|
$metadata: deserializeMetadata(output),
|
|
605
605
|
...contents,
|
|
606
606
|
};
|
|
607
607
|
return Promise.resolve(response);
|
|
608
608
|
};
|
|
609
|
-
exports.
|
|
610
|
-
const
|
|
609
|
+
exports.de_DescribeStateMachineForExecutionCommand = de_DescribeStateMachineForExecutionCommand;
|
|
610
|
+
const de_DescribeStateMachineForExecutionCommandError = async (output, context) => {
|
|
611
611
|
const parsedOutput = {
|
|
612
612
|
...output,
|
|
613
613
|
body: await parseErrorBody(output.body, context),
|
|
@@ -616,10 +616,10 @@ const deserializeAws_json1_0DescribeStateMachineForExecutionCommandError = async
|
|
|
616
616
|
switch (errorCode) {
|
|
617
617
|
case "ExecutionDoesNotExist":
|
|
618
618
|
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
620
620
|
case "InvalidArn":
|
|
621
621
|
case "com.amazonaws.sfn#InvalidArn":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
623
623
|
default:
|
|
624
624
|
const parsedBody = parsedOutput.body;
|
|
625
625
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -630,21 +630,21 @@ const deserializeAws_json1_0DescribeStateMachineForExecutionCommandError = async
|
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
const
|
|
633
|
+
const de_GetActivityTaskCommand = async (output, context) => {
|
|
634
634
|
if (output.statusCode >= 300) {
|
|
635
|
-
return
|
|
635
|
+
return de_GetActivityTaskCommandError(output, context);
|
|
636
636
|
}
|
|
637
637
|
const data = await parseBody(output.body, context);
|
|
638
638
|
let contents = {};
|
|
639
|
-
contents =
|
|
639
|
+
contents = de_GetActivityTaskOutput(data, context);
|
|
640
640
|
const response = {
|
|
641
641
|
$metadata: deserializeMetadata(output),
|
|
642
642
|
...contents,
|
|
643
643
|
};
|
|
644
644
|
return Promise.resolve(response);
|
|
645
645
|
};
|
|
646
|
-
exports.
|
|
647
|
-
const
|
|
646
|
+
exports.de_GetActivityTaskCommand = de_GetActivityTaskCommand;
|
|
647
|
+
const de_GetActivityTaskCommandError = async (output, context) => {
|
|
648
648
|
const parsedOutput = {
|
|
649
649
|
...output,
|
|
650
650
|
body: await parseErrorBody(output.body, context),
|
|
@@ -653,13 +653,13 @@ const deserializeAws_json1_0GetActivityTaskCommandError = async (output, context
|
|
|
653
653
|
switch (errorCode) {
|
|
654
654
|
case "ActivityDoesNotExist":
|
|
655
655
|
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
656
|
-
throw await
|
|
656
|
+
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
657
657
|
case "ActivityWorkerLimitExceeded":
|
|
658
658
|
case "com.amazonaws.sfn#ActivityWorkerLimitExceeded":
|
|
659
|
-
throw await
|
|
659
|
+
throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context);
|
|
660
660
|
case "InvalidArn":
|
|
661
661
|
case "com.amazonaws.sfn#InvalidArn":
|
|
662
|
-
throw await
|
|
662
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
663
663
|
default:
|
|
664
664
|
const parsedBody = parsedOutput.body;
|
|
665
665
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -670,21 +670,21 @@ const deserializeAws_json1_0GetActivityTaskCommandError = async (output, context
|
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
672
|
};
|
|
673
|
-
const
|
|
673
|
+
const de_GetExecutionHistoryCommand = async (output, context) => {
|
|
674
674
|
if (output.statusCode >= 300) {
|
|
675
|
-
return
|
|
675
|
+
return de_GetExecutionHistoryCommandError(output, context);
|
|
676
676
|
}
|
|
677
677
|
const data = await parseBody(output.body, context);
|
|
678
678
|
let contents = {};
|
|
679
|
-
contents =
|
|
679
|
+
contents = de_GetExecutionHistoryOutput(data, context);
|
|
680
680
|
const response = {
|
|
681
681
|
$metadata: deserializeMetadata(output),
|
|
682
682
|
...contents,
|
|
683
683
|
};
|
|
684
684
|
return Promise.resolve(response);
|
|
685
685
|
};
|
|
686
|
-
exports.
|
|
687
|
-
const
|
|
686
|
+
exports.de_GetExecutionHistoryCommand = de_GetExecutionHistoryCommand;
|
|
687
|
+
const de_GetExecutionHistoryCommandError = async (output, context) => {
|
|
688
688
|
const parsedOutput = {
|
|
689
689
|
...output,
|
|
690
690
|
body: await parseErrorBody(output.body, context),
|
|
@@ -693,13 +693,13 @@ const deserializeAws_json1_0GetExecutionHistoryCommandError = async (output, con
|
|
|
693
693
|
switch (errorCode) {
|
|
694
694
|
case "ExecutionDoesNotExist":
|
|
695
695
|
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
696
|
-
throw await
|
|
696
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
697
697
|
case "InvalidArn":
|
|
698
698
|
case "com.amazonaws.sfn#InvalidArn":
|
|
699
|
-
throw await
|
|
699
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
700
700
|
case "InvalidToken":
|
|
701
701
|
case "com.amazonaws.sfn#InvalidToken":
|
|
702
|
-
throw await
|
|
702
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
703
703
|
default:
|
|
704
704
|
const parsedBody = parsedOutput.body;
|
|
705
705
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -710,21 +710,21 @@ const deserializeAws_json1_0GetExecutionHistoryCommandError = async (output, con
|
|
|
710
710
|
});
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
|
-
const
|
|
713
|
+
const de_ListActivitiesCommand = async (output, context) => {
|
|
714
714
|
if (output.statusCode >= 300) {
|
|
715
|
-
return
|
|
715
|
+
return de_ListActivitiesCommandError(output, context);
|
|
716
716
|
}
|
|
717
717
|
const data = await parseBody(output.body, context);
|
|
718
718
|
let contents = {};
|
|
719
|
-
contents =
|
|
719
|
+
contents = de_ListActivitiesOutput(data, context);
|
|
720
720
|
const response = {
|
|
721
721
|
$metadata: deserializeMetadata(output),
|
|
722
722
|
...contents,
|
|
723
723
|
};
|
|
724
724
|
return Promise.resolve(response);
|
|
725
725
|
};
|
|
726
|
-
exports.
|
|
727
|
-
const
|
|
726
|
+
exports.de_ListActivitiesCommand = de_ListActivitiesCommand;
|
|
727
|
+
const de_ListActivitiesCommandError = async (output, context) => {
|
|
728
728
|
const parsedOutput = {
|
|
729
729
|
...output,
|
|
730
730
|
body: await parseErrorBody(output.body, context),
|
|
@@ -733,7 +733,7 @@ const deserializeAws_json1_0ListActivitiesCommandError = async (output, context)
|
|
|
733
733
|
switch (errorCode) {
|
|
734
734
|
case "InvalidToken":
|
|
735
735
|
case "com.amazonaws.sfn#InvalidToken":
|
|
736
|
-
throw await
|
|
736
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
737
737
|
default:
|
|
738
738
|
const parsedBody = parsedOutput.body;
|
|
739
739
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -744,21 +744,21 @@ const deserializeAws_json1_0ListActivitiesCommandError = async (output, context)
|
|
|
744
744
|
});
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
|
-
const
|
|
747
|
+
const de_ListExecutionsCommand = async (output, context) => {
|
|
748
748
|
if (output.statusCode >= 300) {
|
|
749
|
-
return
|
|
749
|
+
return de_ListExecutionsCommandError(output, context);
|
|
750
750
|
}
|
|
751
751
|
const data = await parseBody(output.body, context);
|
|
752
752
|
let contents = {};
|
|
753
|
-
contents =
|
|
753
|
+
contents = de_ListExecutionsOutput(data, context);
|
|
754
754
|
const response = {
|
|
755
755
|
$metadata: deserializeMetadata(output),
|
|
756
756
|
...contents,
|
|
757
757
|
};
|
|
758
758
|
return Promise.resolve(response);
|
|
759
759
|
};
|
|
760
|
-
exports.
|
|
761
|
-
const
|
|
760
|
+
exports.de_ListExecutionsCommand = de_ListExecutionsCommand;
|
|
761
|
+
const de_ListExecutionsCommandError = async (output, context) => {
|
|
762
762
|
const parsedOutput = {
|
|
763
763
|
...output,
|
|
764
764
|
body: await parseErrorBody(output.body, context),
|
|
@@ -767,22 +767,22 @@ const deserializeAws_json1_0ListExecutionsCommandError = async (output, context)
|
|
|
767
767
|
switch (errorCode) {
|
|
768
768
|
case "InvalidArn":
|
|
769
769
|
case "com.amazonaws.sfn#InvalidArn":
|
|
770
|
-
throw await
|
|
770
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
771
771
|
case "InvalidToken":
|
|
772
772
|
case "com.amazonaws.sfn#InvalidToken":
|
|
773
|
-
throw await
|
|
773
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
774
774
|
case "ResourceNotFound":
|
|
775
775
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
776
|
-
throw await
|
|
776
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
777
777
|
case "StateMachineDoesNotExist":
|
|
778
778
|
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
779
|
-
throw await
|
|
779
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
780
780
|
case "StateMachineTypeNotSupported":
|
|
781
781
|
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
782
|
-
throw await
|
|
782
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
783
783
|
case "ValidationException":
|
|
784
784
|
case "com.amazonaws.sfn#ValidationException":
|
|
785
|
-
throw await
|
|
785
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
786
786
|
default:
|
|
787
787
|
const parsedBody = parsedOutput.body;
|
|
788
788
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -793,21 +793,21 @@ const deserializeAws_json1_0ListExecutionsCommandError = async (output, context)
|
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
|
-
const
|
|
796
|
+
const de_ListMapRunsCommand = async (output, context) => {
|
|
797
797
|
if (output.statusCode >= 300) {
|
|
798
|
-
return
|
|
798
|
+
return de_ListMapRunsCommandError(output, context);
|
|
799
799
|
}
|
|
800
800
|
const data = await parseBody(output.body, context);
|
|
801
801
|
let contents = {};
|
|
802
|
-
contents =
|
|
802
|
+
contents = de_ListMapRunsOutput(data, context);
|
|
803
803
|
const response = {
|
|
804
804
|
$metadata: deserializeMetadata(output),
|
|
805
805
|
...contents,
|
|
806
806
|
};
|
|
807
807
|
return Promise.resolve(response);
|
|
808
808
|
};
|
|
809
|
-
exports.
|
|
810
|
-
const
|
|
809
|
+
exports.de_ListMapRunsCommand = de_ListMapRunsCommand;
|
|
810
|
+
const de_ListMapRunsCommandError = async (output, context) => {
|
|
811
811
|
const parsedOutput = {
|
|
812
812
|
...output,
|
|
813
813
|
body: await parseErrorBody(output.body, context),
|
|
@@ -816,13 +816,13 @@ const deserializeAws_json1_0ListMapRunsCommandError = async (output, context) =>
|
|
|
816
816
|
switch (errorCode) {
|
|
817
817
|
case "ExecutionDoesNotExist":
|
|
818
818
|
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
820
820
|
case "InvalidArn":
|
|
821
821
|
case "com.amazonaws.sfn#InvalidArn":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
823
823
|
case "InvalidToken":
|
|
824
824
|
case "com.amazonaws.sfn#InvalidToken":
|
|
825
|
-
throw await
|
|
825
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
826
826
|
default:
|
|
827
827
|
const parsedBody = parsedOutput.body;
|
|
828
828
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -833,21 +833,21 @@ const deserializeAws_json1_0ListMapRunsCommandError = async (output, context) =>
|
|
|
833
833
|
});
|
|
834
834
|
}
|
|
835
835
|
};
|
|
836
|
-
const
|
|
836
|
+
const de_ListStateMachinesCommand = async (output, context) => {
|
|
837
837
|
if (output.statusCode >= 300) {
|
|
838
|
-
return
|
|
838
|
+
return de_ListStateMachinesCommandError(output, context);
|
|
839
839
|
}
|
|
840
840
|
const data = await parseBody(output.body, context);
|
|
841
841
|
let contents = {};
|
|
842
|
-
contents =
|
|
842
|
+
contents = de_ListStateMachinesOutput(data, context);
|
|
843
843
|
const response = {
|
|
844
844
|
$metadata: deserializeMetadata(output),
|
|
845
845
|
...contents,
|
|
846
846
|
};
|
|
847
847
|
return Promise.resolve(response);
|
|
848
848
|
};
|
|
849
|
-
exports.
|
|
850
|
-
const
|
|
849
|
+
exports.de_ListStateMachinesCommand = de_ListStateMachinesCommand;
|
|
850
|
+
const de_ListStateMachinesCommandError = async (output, context) => {
|
|
851
851
|
const parsedOutput = {
|
|
852
852
|
...output,
|
|
853
853
|
body: await parseErrorBody(output.body, context),
|
|
@@ -856,7 +856,7 @@ const deserializeAws_json1_0ListStateMachinesCommandError = async (output, conte
|
|
|
856
856
|
switch (errorCode) {
|
|
857
857
|
case "InvalidToken":
|
|
858
858
|
case "com.amazonaws.sfn#InvalidToken":
|
|
859
|
-
throw await
|
|
859
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
860
860
|
default:
|
|
861
861
|
const parsedBody = parsedOutput.body;
|
|
862
862
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -867,21 +867,21 @@ const deserializeAws_json1_0ListStateMachinesCommandError = async (output, conte
|
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
};
|
|
870
|
-
const
|
|
870
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
871
871
|
if (output.statusCode >= 300) {
|
|
872
|
-
return
|
|
872
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
873
873
|
}
|
|
874
874
|
const data = await parseBody(output.body, context);
|
|
875
875
|
let contents = {};
|
|
876
|
-
contents =
|
|
876
|
+
contents = de_ListTagsForResourceOutput(data, context);
|
|
877
877
|
const response = {
|
|
878
878
|
$metadata: deserializeMetadata(output),
|
|
879
879
|
...contents,
|
|
880
880
|
};
|
|
881
881
|
return Promise.resolve(response);
|
|
882
882
|
};
|
|
883
|
-
exports.
|
|
884
|
-
const
|
|
883
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
884
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
885
885
|
const parsedOutput = {
|
|
886
886
|
...output,
|
|
887
887
|
body: await parseErrorBody(output.body, context),
|
|
@@ -890,10 +890,10 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
890
890
|
switch (errorCode) {
|
|
891
891
|
case "InvalidArn":
|
|
892
892
|
case "com.amazonaws.sfn#InvalidArn":
|
|
893
|
-
throw await
|
|
893
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
894
894
|
case "ResourceNotFound":
|
|
895
895
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
896
|
-
throw await
|
|
896
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
897
897
|
default:
|
|
898
898
|
const parsedBody = parsedOutput.body;
|
|
899
899
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -904,21 +904,21 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
904
904
|
});
|
|
905
905
|
}
|
|
906
906
|
};
|
|
907
|
-
const
|
|
907
|
+
const de_SendTaskFailureCommand = async (output, context) => {
|
|
908
908
|
if (output.statusCode >= 300) {
|
|
909
|
-
return
|
|
909
|
+
return de_SendTaskFailureCommandError(output, context);
|
|
910
910
|
}
|
|
911
911
|
const data = await parseBody(output.body, context);
|
|
912
912
|
let contents = {};
|
|
913
|
-
contents =
|
|
913
|
+
contents = de_SendTaskFailureOutput(data, context);
|
|
914
914
|
const response = {
|
|
915
915
|
$metadata: deserializeMetadata(output),
|
|
916
916
|
...contents,
|
|
917
917
|
};
|
|
918
918
|
return Promise.resolve(response);
|
|
919
919
|
};
|
|
920
|
-
exports.
|
|
921
|
-
const
|
|
920
|
+
exports.de_SendTaskFailureCommand = de_SendTaskFailureCommand;
|
|
921
|
+
const de_SendTaskFailureCommandError = async (output, context) => {
|
|
922
922
|
const parsedOutput = {
|
|
923
923
|
...output,
|
|
924
924
|
body: await parseErrorBody(output.body, context),
|
|
@@ -927,13 +927,13 @@ const deserializeAws_json1_0SendTaskFailureCommandError = async (output, context
|
|
|
927
927
|
switch (errorCode) {
|
|
928
928
|
case "InvalidToken":
|
|
929
929
|
case "com.amazonaws.sfn#InvalidToken":
|
|
930
|
-
throw await
|
|
930
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
931
931
|
case "TaskDoesNotExist":
|
|
932
932
|
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
933
|
-
throw await
|
|
933
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
934
934
|
case "TaskTimedOut":
|
|
935
935
|
case "com.amazonaws.sfn#TaskTimedOut":
|
|
936
|
-
throw await
|
|
936
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
937
937
|
default:
|
|
938
938
|
const parsedBody = parsedOutput.body;
|
|
939
939
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -944,21 +944,21 @@ const deserializeAws_json1_0SendTaskFailureCommandError = async (output, context
|
|
|
944
944
|
});
|
|
945
945
|
}
|
|
946
946
|
};
|
|
947
|
-
const
|
|
947
|
+
const de_SendTaskHeartbeatCommand = async (output, context) => {
|
|
948
948
|
if (output.statusCode >= 300) {
|
|
949
|
-
return
|
|
949
|
+
return de_SendTaskHeartbeatCommandError(output, context);
|
|
950
950
|
}
|
|
951
951
|
const data = await parseBody(output.body, context);
|
|
952
952
|
let contents = {};
|
|
953
|
-
contents =
|
|
953
|
+
contents = de_SendTaskHeartbeatOutput(data, context);
|
|
954
954
|
const response = {
|
|
955
955
|
$metadata: deserializeMetadata(output),
|
|
956
956
|
...contents,
|
|
957
957
|
};
|
|
958
958
|
return Promise.resolve(response);
|
|
959
959
|
};
|
|
960
|
-
exports.
|
|
961
|
-
const
|
|
960
|
+
exports.de_SendTaskHeartbeatCommand = de_SendTaskHeartbeatCommand;
|
|
961
|
+
const de_SendTaskHeartbeatCommandError = async (output, context) => {
|
|
962
962
|
const parsedOutput = {
|
|
963
963
|
...output,
|
|
964
964
|
body: await parseErrorBody(output.body, context),
|
|
@@ -967,13 +967,13 @@ const deserializeAws_json1_0SendTaskHeartbeatCommandError = async (output, conte
|
|
|
967
967
|
switch (errorCode) {
|
|
968
968
|
case "InvalidToken":
|
|
969
969
|
case "com.amazonaws.sfn#InvalidToken":
|
|
970
|
-
throw await
|
|
970
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
971
971
|
case "TaskDoesNotExist":
|
|
972
972
|
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
973
|
-
throw await
|
|
973
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
974
974
|
case "TaskTimedOut":
|
|
975
975
|
case "com.amazonaws.sfn#TaskTimedOut":
|
|
976
|
-
throw await
|
|
976
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
977
977
|
default:
|
|
978
978
|
const parsedBody = parsedOutput.body;
|
|
979
979
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -984,21 +984,21 @@ const deserializeAws_json1_0SendTaskHeartbeatCommandError = async (output, conte
|
|
|
984
984
|
});
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
|
-
const
|
|
987
|
+
const de_SendTaskSuccessCommand = async (output, context) => {
|
|
988
988
|
if (output.statusCode >= 300) {
|
|
989
|
-
return
|
|
989
|
+
return de_SendTaskSuccessCommandError(output, context);
|
|
990
990
|
}
|
|
991
991
|
const data = await parseBody(output.body, context);
|
|
992
992
|
let contents = {};
|
|
993
|
-
contents =
|
|
993
|
+
contents = de_SendTaskSuccessOutput(data, context);
|
|
994
994
|
const response = {
|
|
995
995
|
$metadata: deserializeMetadata(output),
|
|
996
996
|
...contents,
|
|
997
997
|
};
|
|
998
998
|
return Promise.resolve(response);
|
|
999
999
|
};
|
|
1000
|
-
exports.
|
|
1001
|
-
const
|
|
1000
|
+
exports.de_SendTaskSuccessCommand = de_SendTaskSuccessCommand;
|
|
1001
|
+
const de_SendTaskSuccessCommandError = async (output, context) => {
|
|
1002
1002
|
const parsedOutput = {
|
|
1003
1003
|
...output,
|
|
1004
1004
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1007,16 +1007,16 @@ const deserializeAws_json1_0SendTaskSuccessCommandError = async (output, context
|
|
|
1007
1007
|
switch (errorCode) {
|
|
1008
1008
|
case "InvalidOutput":
|
|
1009
1009
|
case "com.amazonaws.sfn#InvalidOutput":
|
|
1010
|
-
throw await
|
|
1010
|
+
throw await de_InvalidOutputRes(parsedOutput, context);
|
|
1011
1011
|
case "InvalidToken":
|
|
1012
1012
|
case "com.amazonaws.sfn#InvalidToken":
|
|
1013
|
-
throw await
|
|
1013
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
1014
1014
|
case "TaskDoesNotExist":
|
|
1015
1015
|
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
1016
|
-
throw await
|
|
1016
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
1017
1017
|
case "TaskTimedOut":
|
|
1018
1018
|
case "com.amazonaws.sfn#TaskTimedOut":
|
|
1019
|
-
throw await
|
|
1019
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
1020
1020
|
default:
|
|
1021
1021
|
const parsedBody = parsedOutput.body;
|
|
1022
1022
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1027,21 +1027,21 @@ const deserializeAws_json1_0SendTaskSuccessCommandError = async (output, context
|
|
|
1027
1027
|
});
|
|
1028
1028
|
}
|
|
1029
1029
|
};
|
|
1030
|
-
const
|
|
1030
|
+
const de_StartExecutionCommand = async (output, context) => {
|
|
1031
1031
|
if (output.statusCode >= 300) {
|
|
1032
|
-
return
|
|
1032
|
+
return de_StartExecutionCommandError(output, context);
|
|
1033
1033
|
}
|
|
1034
1034
|
const data = await parseBody(output.body, context);
|
|
1035
1035
|
let contents = {};
|
|
1036
|
-
contents =
|
|
1036
|
+
contents = de_StartExecutionOutput(data, context);
|
|
1037
1037
|
const response = {
|
|
1038
1038
|
$metadata: deserializeMetadata(output),
|
|
1039
1039
|
...contents,
|
|
1040
1040
|
};
|
|
1041
1041
|
return Promise.resolve(response);
|
|
1042
1042
|
};
|
|
1043
|
-
exports.
|
|
1044
|
-
const
|
|
1043
|
+
exports.de_StartExecutionCommand = de_StartExecutionCommand;
|
|
1044
|
+
const de_StartExecutionCommandError = async (output, context) => {
|
|
1045
1045
|
const parsedOutput = {
|
|
1046
1046
|
...output,
|
|
1047
1047
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1050,28 +1050,28 @@ const deserializeAws_json1_0StartExecutionCommandError = async (output, context)
|
|
|
1050
1050
|
switch (errorCode) {
|
|
1051
1051
|
case "ExecutionAlreadyExists":
|
|
1052
1052
|
case "com.amazonaws.sfn#ExecutionAlreadyExists":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_ExecutionAlreadyExistsRes(parsedOutput, context);
|
|
1054
1054
|
case "ExecutionLimitExceeded":
|
|
1055
1055
|
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
1057
1057
|
case "InvalidArn":
|
|
1058
1058
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1060
1060
|
case "InvalidExecutionInput":
|
|
1061
1061
|
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
1063
1063
|
case "InvalidName":
|
|
1064
1064
|
case "com.amazonaws.sfn#InvalidName":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1066
1066
|
case "StateMachineDeleting":
|
|
1067
1067
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1069
1069
|
case "StateMachineDoesNotExist":
|
|
1070
1070
|
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1072
1072
|
case "ValidationException":
|
|
1073
1073
|
case "com.amazonaws.sfn#ValidationException":
|
|
1074
|
-
throw await
|
|
1074
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1075
1075
|
default:
|
|
1076
1076
|
const parsedBody = parsedOutput.body;
|
|
1077
1077
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1082,21 +1082,21 @@ const deserializeAws_json1_0StartExecutionCommandError = async (output, context)
|
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
|
-
const
|
|
1085
|
+
const de_StartSyncExecutionCommand = async (output, context) => {
|
|
1086
1086
|
if (output.statusCode >= 300) {
|
|
1087
|
-
return
|
|
1087
|
+
return de_StartSyncExecutionCommandError(output, context);
|
|
1088
1088
|
}
|
|
1089
1089
|
const data = await parseBody(output.body, context);
|
|
1090
1090
|
let contents = {};
|
|
1091
|
-
contents =
|
|
1091
|
+
contents = de_StartSyncExecutionOutput(data, context);
|
|
1092
1092
|
const response = {
|
|
1093
1093
|
$metadata: deserializeMetadata(output),
|
|
1094
1094
|
...contents,
|
|
1095
1095
|
};
|
|
1096
1096
|
return Promise.resolve(response);
|
|
1097
1097
|
};
|
|
1098
|
-
exports.
|
|
1099
|
-
const
|
|
1098
|
+
exports.de_StartSyncExecutionCommand = de_StartSyncExecutionCommand;
|
|
1099
|
+
const de_StartSyncExecutionCommandError = async (output, context) => {
|
|
1100
1100
|
const parsedOutput = {
|
|
1101
1101
|
...output,
|
|
1102
1102
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1105,22 +1105,22 @@ const deserializeAws_json1_0StartSyncExecutionCommandError = async (output, cont
|
|
|
1105
1105
|
switch (errorCode) {
|
|
1106
1106
|
case "InvalidArn":
|
|
1107
1107
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1108
|
-
throw await
|
|
1108
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1109
1109
|
case "InvalidExecutionInput":
|
|
1110
1110
|
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
1112
1112
|
case "InvalidName":
|
|
1113
1113
|
case "com.amazonaws.sfn#InvalidName":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1115
1115
|
case "StateMachineDeleting":
|
|
1116
1116
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1118
1118
|
case "StateMachineDoesNotExist":
|
|
1119
1119
|
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1120
|
-
throw await
|
|
1120
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1121
1121
|
case "StateMachineTypeNotSupported":
|
|
1122
1122
|
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
1123
|
-
throw await
|
|
1123
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
1124
1124
|
default:
|
|
1125
1125
|
const parsedBody = parsedOutput.body;
|
|
1126
1126
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1131,21 +1131,21 @@ const deserializeAws_json1_0StartSyncExecutionCommandError = async (output, cont
|
|
|
1131
1131
|
});
|
|
1132
1132
|
}
|
|
1133
1133
|
};
|
|
1134
|
-
const
|
|
1134
|
+
const de_StopExecutionCommand = async (output, context) => {
|
|
1135
1135
|
if (output.statusCode >= 300) {
|
|
1136
|
-
return
|
|
1136
|
+
return de_StopExecutionCommandError(output, context);
|
|
1137
1137
|
}
|
|
1138
1138
|
const data = await parseBody(output.body, context);
|
|
1139
1139
|
let contents = {};
|
|
1140
|
-
contents =
|
|
1140
|
+
contents = de_StopExecutionOutput(data, context);
|
|
1141
1141
|
const response = {
|
|
1142
1142
|
$metadata: deserializeMetadata(output),
|
|
1143
1143
|
...contents,
|
|
1144
1144
|
};
|
|
1145
1145
|
return Promise.resolve(response);
|
|
1146
1146
|
};
|
|
1147
|
-
exports.
|
|
1148
|
-
const
|
|
1147
|
+
exports.de_StopExecutionCommand = de_StopExecutionCommand;
|
|
1148
|
+
const de_StopExecutionCommandError = async (output, context) => {
|
|
1149
1149
|
const parsedOutput = {
|
|
1150
1150
|
...output,
|
|
1151
1151
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,13 +1154,13 @@ const deserializeAws_json1_0StopExecutionCommandError = async (output, context)
|
|
|
1154
1154
|
switch (errorCode) {
|
|
1155
1155
|
case "ExecutionDoesNotExist":
|
|
1156
1156
|
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1158
1158
|
case "InvalidArn":
|
|
1159
1159
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1161
1161
|
case "ValidationException":
|
|
1162
1162
|
case "com.amazonaws.sfn#ValidationException":
|
|
1163
|
-
throw await
|
|
1163
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1164
1164
|
default:
|
|
1165
1165
|
const parsedBody = parsedOutput.body;
|
|
1166
1166
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1171,21 +1171,21 @@ const deserializeAws_json1_0StopExecutionCommandError = async (output, context)
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
const
|
|
1174
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1175
1175
|
if (output.statusCode >= 300) {
|
|
1176
|
-
return
|
|
1176
|
+
return de_TagResourceCommandError(output, context);
|
|
1177
1177
|
}
|
|
1178
1178
|
const data = await parseBody(output.body, context);
|
|
1179
1179
|
let contents = {};
|
|
1180
|
-
contents =
|
|
1180
|
+
contents = de_TagResourceOutput(data, context);
|
|
1181
1181
|
const response = {
|
|
1182
1182
|
$metadata: deserializeMetadata(output),
|
|
1183
1183
|
...contents,
|
|
1184
1184
|
};
|
|
1185
1185
|
return Promise.resolve(response);
|
|
1186
1186
|
};
|
|
1187
|
-
exports.
|
|
1188
|
-
const
|
|
1187
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1188
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1189
1189
|
const parsedOutput = {
|
|
1190
1190
|
...output,
|
|
1191
1191
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1194,13 +1194,13 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1194
1194
|
switch (errorCode) {
|
|
1195
1195
|
case "InvalidArn":
|
|
1196
1196
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1198
1198
|
case "ResourceNotFound":
|
|
1199
1199
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1201
1201
|
case "TooManyTags":
|
|
1202
1202
|
case "com.amazonaws.sfn#TooManyTags":
|
|
1203
|
-
throw await
|
|
1203
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1204
1204
|
default:
|
|
1205
1205
|
const parsedBody = parsedOutput.body;
|
|
1206
1206
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1211,21 +1211,21 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1211
1211
|
});
|
|
1212
1212
|
}
|
|
1213
1213
|
};
|
|
1214
|
-
const
|
|
1214
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1215
1215
|
if (output.statusCode >= 300) {
|
|
1216
|
-
return
|
|
1216
|
+
return de_UntagResourceCommandError(output, context);
|
|
1217
1217
|
}
|
|
1218
1218
|
const data = await parseBody(output.body, context);
|
|
1219
1219
|
let contents = {};
|
|
1220
|
-
contents =
|
|
1220
|
+
contents = de_UntagResourceOutput(data, context);
|
|
1221
1221
|
const response = {
|
|
1222
1222
|
$metadata: deserializeMetadata(output),
|
|
1223
1223
|
...contents,
|
|
1224
1224
|
};
|
|
1225
1225
|
return Promise.resolve(response);
|
|
1226
1226
|
};
|
|
1227
|
-
exports.
|
|
1228
|
-
const
|
|
1227
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1228
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1229
1229
|
const parsedOutput = {
|
|
1230
1230
|
...output,
|
|
1231
1231
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1234,10 +1234,10 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1234
1234
|
switch (errorCode) {
|
|
1235
1235
|
case "InvalidArn":
|
|
1236
1236
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1237
|
-
throw await
|
|
1237
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1238
1238
|
case "ResourceNotFound":
|
|
1239
1239
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1240
|
-
throw await
|
|
1240
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1241
1241
|
default:
|
|
1242
1242
|
const parsedBody = parsedOutput.body;
|
|
1243
1243
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1248,21 +1248,21 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1248
1248
|
});
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
|
-
const
|
|
1251
|
+
const de_UpdateMapRunCommand = async (output, context) => {
|
|
1252
1252
|
if (output.statusCode >= 300) {
|
|
1253
|
-
return
|
|
1253
|
+
return de_UpdateMapRunCommandError(output, context);
|
|
1254
1254
|
}
|
|
1255
1255
|
const data = await parseBody(output.body, context);
|
|
1256
1256
|
let contents = {};
|
|
1257
|
-
contents =
|
|
1257
|
+
contents = de_UpdateMapRunOutput(data, context);
|
|
1258
1258
|
const response = {
|
|
1259
1259
|
$metadata: deserializeMetadata(output),
|
|
1260
1260
|
...contents,
|
|
1261
1261
|
};
|
|
1262
1262
|
return Promise.resolve(response);
|
|
1263
1263
|
};
|
|
1264
|
-
exports.
|
|
1265
|
-
const
|
|
1264
|
+
exports.de_UpdateMapRunCommand = de_UpdateMapRunCommand;
|
|
1265
|
+
const de_UpdateMapRunCommandError = async (output, context) => {
|
|
1266
1266
|
const parsedOutput = {
|
|
1267
1267
|
...output,
|
|
1268
1268
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1271,13 +1271,13 @@ const deserializeAws_json1_0UpdateMapRunCommandError = async (output, context) =
|
|
|
1271
1271
|
switch (errorCode) {
|
|
1272
1272
|
case "InvalidArn":
|
|
1273
1273
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1274
|
-
throw await
|
|
1274
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1275
1275
|
case "ResourceNotFound":
|
|
1276
1276
|
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1277
|
-
throw await
|
|
1277
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1278
1278
|
case "ValidationException":
|
|
1279
1279
|
case "com.amazonaws.sfn#ValidationException":
|
|
1280
|
-
throw await
|
|
1280
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1281
1281
|
default:
|
|
1282
1282
|
const parsedBody = parsedOutput.body;
|
|
1283
1283
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1288,21 +1288,21 @@ const deserializeAws_json1_0UpdateMapRunCommandError = async (output, context) =
|
|
|
1288
1288
|
});
|
|
1289
1289
|
}
|
|
1290
1290
|
};
|
|
1291
|
-
const
|
|
1291
|
+
const de_UpdateStateMachineCommand = async (output, context) => {
|
|
1292
1292
|
if (output.statusCode >= 300) {
|
|
1293
|
-
return
|
|
1293
|
+
return de_UpdateStateMachineCommandError(output, context);
|
|
1294
1294
|
}
|
|
1295
1295
|
const data = await parseBody(output.body, context);
|
|
1296
1296
|
let contents = {};
|
|
1297
|
-
contents =
|
|
1297
|
+
contents = de_UpdateStateMachineOutput(data, context);
|
|
1298
1298
|
const response = {
|
|
1299
1299
|
$metadata: deserializeMetadata(output),
|
|
1300
1300
|
...contents,
|
|
1301
1301
|
};
|
|
1302
1302
|
return Promise.resolve(response);
|
|
1303
1303
|
};
|
|
1304
|
-
exports.
|
|
1305
|
-
const
|
|
1304
|
+
exports.de_UpdateStateMachineCommand = de_UpdateStateMachineCommand;
|
|
1305
|
+
const de_UpdateStateMachineCommandError = async (output, context) => {
|
|
1306
1306
|
const parsedOutput = {
|
|
1307
1307
|
...output,
|
|
1308
1308
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1311,28 +1311,28 @@ const deserializeAws_json1_0UpdateStateMachineCommandError = async (output, cont
|
|
|
1311
1311
|
switch (errorCode) {
|
|
1312
1312
|
case "InvalidArn":
|
|
1313
1313
|
case "com.amazonaws.sfn#InvalidArn":
|
|
1314
|
-
throw await
|
|
1314
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1315
1315
|
case "InvalidDefinition":
|
|
1316
1316
|
case "com.amazonaws.sfn#InvalidDefinition":
|
|
1317
|
-
throw await
|
|
1317
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
1318
1318
|
case "InvalidLoggingConfiguration":
|
|
1319
1319
|
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
1320
|
-
throw await
|
|
1320
|
+
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
1321
1321
|
case "InvalidTracingConfiguration":
|
|
1322
1322
|
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
1323
|
-
throw await
|
|
1323
|
+
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
1324
1324
|
case "MissingRequiredParameter":
|
|
1325
1325
|
case "com.amazonaws.sfn#MissingRequiredParameter":
|
|
1326
|
-
throw await
|
|
1326
|
+
throw await de_MissingRequiredParameterRes(parsedOutput, context);
|
|
1327
1327
|
case "StateMachineDeleting":
|
|
1328
1328
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1329
|
-
throw await
|
|
1329
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1330
1330
|
case "StateMachineDoesNotExist":
|
|
1331
1331
|
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1332
|
-
throw await
|
|
1332
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1333
1333
|
case "ValidationException":
|
|
1334
1334
|
case "com.amazonaws.sfn#ValidationException":
|
|
1335
|
-
throw await
|
|
1335
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1336
1336
|
default:
|
|
1337
1337
|
const parsedBody = parsedOutput.body;
|
|
1338
1338
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1343,299 +1343,299 @@ const deserializeAws_json1_0UpdateStateMachineCommandError = async (output, cont
|
|
|
1343
1343
|
});
|
|
1344
1344
|
}
|
|
1345
1345
|
};
|
|
1346
|
-
const
|
|
1346
|
+
const de_ActivityDoesNotExistRes = async (parsedOutput, context) => {
|
|
1347
1347
|
const body = parsedOutput.body;
|
|
1348
|
-
const deserialized =
|
|
1348
|
+
const deserialized = de_ActivityDoesNotExist(body, context);
|
|
1349
1349
|
const exception = new models_0_1.ActivityDoesNotExist({
|
|
1350
1350
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1351
1351
|
...deserialized,
|
|
1352
1352
|
});
|
|
1353
1353
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1354
1354
|
};
|
|
1355
|
-
const
|
|
1355
|
+
const de_ActivityLimitExceededRes = async (parsedOutput, context) => {
|
|
1356
1356
|
const body = parsedOutput.body;
|
|
1357
|
-
const deserialized =
|
|
1357
|
+
const deserialized = de_ActivityLimitExceeded(body, context);
|
|
1358
1358
|
const exception = new models_0_1.ActivityLimitExceeded({
|
|
1359
1359
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1360
1360
|
...deserialized,
|
|
1361
1361
|
});
|
|
1362
1362
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const de_ActivityWorkerLimitExceededRes = async (parsedOutput, context) => {
|
|
1365
1365
|
const body = parsedOutput.body;
|
|
1366
|
-
const deserialized =
|
|
1366
|
+
const deserialized = de_ActivityWorkerLimitExceeded(body, context);
|
|
1367
1367
|
const exception = new models_0_1.ActivityWorkerLimitExceeded({
|
|
1368
1368
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
1369
|
...deserialized,
|
|
1370
1370
|
});
|
|
1371
1371
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1372
1372
|
};
|
|
1373
|
-
const
|
|
1373
|
+
const de_ExecutionAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1374
1374
|
const body = parsedOutput.body;
|
|
1375
|
-
const deserialized =
|
|
1375
|
+
const deserialized = de_ExecutionAlreadyExists(body, context);
|
|
1376
1376
|
const exception = new models_0_1.ExecutionAlreadyExists({
|
|
1377
1377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1378
1378
|
...deserialized,
|
|
1379
1379
|
});
|
|
1380
1380
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1382
|
+
const de_ExecutionDoesNotExistRes = async (parsedOutput, context) => {
|
|
1383
1383
|
const body = parsedOutput.body;
|
|
1384
|
-
const deserialized =
|
|
1384
|
+
const deserialized = de_ExecutionDoesNotExist(body, context);
|
|
1385
1385
|
const exception = new models_0_1.ExecutionDoesNotExist({
|
|
1386
1386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1387
1387
|
...deserialized,
|
|
1388
1388
|
});
|
|
1389
1389
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1390
1390
|
};
|
|
1391
|
-
const
|
|
1391
|
+
const de_ExecutionLimitExceededRes = async (parsedOutput, context) => {
|
|
1392
1392
|
const body = parsedOutput.body;
|
|
1393
|
-
const deserialized =
|
|
1393
|
+
const deserialized = de_ExecutionLimitExceeded(body, context);
|
|
1394
1394
|
const exception = new models_0_1.ExecutionLimitExceeded({
|
|
1395
1395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1396
1396
|
...deserialized,
|
|
1397
1397
|
});
|
|
1398
1398
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1399
1399
|
};
|
|
1400
|
-
const
|
|
1400
|
+
const de_InvalidArnRes = async (parsedOutput, context) => {
|
|
1401
1401
|
const body = parsedOutput.body;
|
|
1402
|
-
const deserialized =
|
|
1402
|
+
const deserialized = de_InvalidArn(body, context);
|
|
1403
1403
|
const exception = new models_0_1.InvalidArn({
|
|
1404
1404
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1405
1405
|
...deserialized,
|
|
1406
1406
|
});
|
|
1407
1407
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1408
1408
|
};
|
|
1409
|
-
const
|
|
1409
|
+
const de_InvalidDefinitionRes = async (parsedOutput, context) => {
|
|
1410
1410
|
const body = parsedOutput.body;
|
|
1411
|
-
const deserialized =
|
|
1411
|
+
const deserialized = de_InvalidDefinition(body, context);
|
|
1412
1412
|
const exception = new models_0_1.InvalidDefinition({
|
|
1413
1413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1414
1414
|
...deserialized,
|
|
1415
1415
|
});
|
|
1416
1416
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1417
1417
|
};
|
|
1418
|
-
const
|
|
1418
|
+
const de_InvalidExecutionInputRes = async (parsedOutput, context) => {
|
|
1419
1419
|
const body = parsedOutput.body;
|
|
1420
|
-
const deserialized =
|
|
1420
|
+
const deserialized = de_InvalidExecutionInput(body, context);
|
|
1421
1421
|
const exception = new models_0_1.InvalidExecutionInput({
|
|
1422
1422
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1423
1423
|
...deserialized,
|
|
1424
1424
|
});
|
|
1425
1425
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1426
1426
|
};
|
|
1427
|
-
const
|
|
1427
|
+
const de_InvalidLoggingConfigurationRes = async (parsedOutput, context) => {
|
|
1428
1428
|
const body = parsedOutput.body;
|
|
1429
|
-
const deserialized =
|
|
1429
|
+
const deserialized = de_InvalidLoggingConfiguration(body, context);
|
|
1430
1430
|
const exception = new models_0_1.InvalidLoggingConfiguration({
|
|
1431
1431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1432
1432
|
...deserialized,
|
|
1433
1433
|
});
|
|
1434
1434
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1435
1435
|
};
|
|
1436
|
-
const
|
|
1436
|
+
const de_InvalidNameRes = async (parsedOutput, context) => {
|
|
1437
1437
|
const body = parsedOutput.body;
|
|
1438
|
-
const deserialized =
|
|
1438
|
+
const deserialized = de_InvalidName(body, context);
|
|
1439
1439
|
const exception = new models_0_1.InvalidName({
|
|
1440
1440
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1441
1441
|
...deserialized,
|
|
1442
1442
|
});
|
|
1443
1443
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1444
1444
|
};
|
|
1445
|
-
const
|
|
1445
|
+
const de_InvalidOutputRes = async (parsedOutput, context) => {
|
|
1446
1446
|
const body = parsedOutput.body;
|
|
1447
|
-
const deserialized =
|
|
1447
|
+
const deserialized = de_InvalidOutput(body, context);
|
|
1448
1448
|
const exception = new models_0_1.InvalidOutput({
|
|
1449
1449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1450
1450
|
...deserialized,
|
|
1451
1451
|
});
|
|
1452
1452
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1454
|
+
const de_InvalidTokenRes = async (parsedOutput, context) => {
|
|
1455
1455
|
const body = parsedOutput.body;
|
|
1456
|
-
const deserialized =
|
|
1456
|
+
const deserialized = de_InvalidToken(body, context);
|
|
1457
1457
|
const exception = new models_0_1.InvalidToken({
|
|
1458
1458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1459
1459
|
...deserialized,
|
|
1460
1460
|
});
|
|
1461
1461
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1462
1462
|
};
|
|
1463
|
-
const
|
|
1463
|
+
const de_InvalidTracingConfigurationRes = async (parsedOutput, context) => {
|
|
1464
1464
|
const body = parsedOutput.body;
|
|
1465
|
-
const deserialized =
|
|
1465
|
+
const deserialized = de_InvalidTracingConfiguration(body, context);
|
|
1466
1466
|
const exception = new models_0_1.InvalidTracingConfiguration({
|
|
1467
1467
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1468
1468
|
...deserialized,
|
|
1469
1469
|
});
|
|
1470
1470
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1471
1471
|
};
|
|
1472
|
-
const
|
|
1472
|
+
const de_MissingRequiredParameterRes = async (parsedOutput, context) => {
|
|
1473
1473
|
const body = parsedOutput.body;
|
|
1474
|
-
const deserialized =
|
|
1474
|
+
const deserialized = de_MissingRequiredParameter(body, context);
|
|
1475
1475
|
const exception = new models_0_1.MissingRequiredParameter({
|
|
1476
1476
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1477
1477
|
...deserialized,
|
|
1478
1478
|
});
|
|
1479
1479
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1480
1480
|
};
|
|
1481
|
-
const
|
|
1481
|
+
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
1482
1482
|
const body = parsedOutput.body;
|
|
1483
|
-
const deserialized =
|
|
1483
|
+
const deserialized = de_ResourceNotFound(body, context);
|
|
1484
1484
|
const exception = new models_0_1.ResourceNotFound({
|
|
1485
1485
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1486
1486
|
...deserialized,
|
|
1487
1487
|
});
|
|
1488
1488
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1489
1489
|
};
|
|
1490
|
-
const
|
|
1490
|
+
const de_StateMachineAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1491
1491
|
const body = parsedOutput.body;
|
|
1492
|
-
const deserialized =
|
|
1492
|
+
const deserialized = de_StateMachineAlreadyExists(body, context);
|
|
1493
1493
|
const exception = new models_0_1.StateMachineAlreadyExists({
|
|
1494
1494
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1495
1495
|
...deserialized,
|
|
1496
1496
|
});
|
|
1497
1497
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1498
1498
|
};
|
|
1499
|
-
const
|
|
1499
|
+
const de_StateMachineDeletingRes = async (parsedOutput, context) => {
|
|
1500
1500
|
const body = parsedOutput.body;
|
|
1501
|
-
const deserialized =
|
|
1501
|
+
const deserialized = de_StateMachineDeleting(body, context);
|
|
1502
1502
|
const exception = new models_0_1.StateMachineDeleting({
|
|
1503
1503
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1504
1504
|
...deserialized,
|
|
1505
1505
|
});
|
|
1506
1506
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1507
1507
|
};
|
|
1508
|
-
const
|
|
1508
|
+
const de_StateMachineDoesNotExistRes = async (parsedOutput, context) => {
|
|
1509
1509
|
const body = parsedOutput.body;
|
|
1510
|
-
const deserialized =
|
|
1510
|
+
const deserialized = de_StateMachineDoesNotExist(body, context);
|
|
1511
1511
|
const exception = new models_0_1.StateMachineDoesNotExist({
|
|
1512
1512
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1513
1513
|
...deserialized,
|
|
1514
1514
|
});
|
|
1515
1515
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1516
1516
|
};
|
|
1517
|
-
const
|
|
1517
|
+
const de_StateMachineLimitExceededRes = async (parsedOutput, context) => {
|
|
1518
1518
|
const body = parsedOutput.body;
|
|
1519
|
-
const deserialized =
|
|
1519
|
+
const deserialized = de_StateMachineLimitExceeded(body, context);
|
|
1520
1520
|
const exception = new models_0_1.StateMachineLimitExceeded({
|
|
1521
1521
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1522
1522
|
...deserialized,
|
|
1523
1523
|
});
|
|
1524
1524
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1525
1525
|
};
|
|
1526
|
-
const
|
|
1526
|
+
const de_StateMachineTypeNotSupportedRes = async (parsedOutput, context) => {
|
|
1527
1527
|
const body = parsedOutput.body;
|
|
1528
|
-
const deserialized =
|
|
1528
|
+
const deserialized = de_StateMachineTypeNotSupported(body, context);
|
|
1529
1529
|
const exception = new models_0_1.StateMachineTypeNotSupported({
|
|
1530
1530
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1531
1531
|
...deserialized,
|
|
1532
1532
|
});
|
|
1533
1533
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1534
1534
|
};
|
|
1535
|
-
const
|
|
1535
|
+
const de_TaskDoesNotExistRes = async (parsedOutput, context) => {
|
|
1536
1536
|
const body = parsedOutput.body;
|
|
1537
|
-
const deserialized =
|
|
1537
|
+
const deserialized = de_TaskDoesNotExist(body, context);
|
|
1538
1538
|
const exception = new models_0_1.TaskDoesNotExist({
|
|
1539
1539
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1540
1540
|
...deserialized,
|
|
1541
1541
|
});
|
|
1542
1542
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1543
1543
|
};
|
|
1544
|
-
const
|
|
1544
|
+
const de_TaskTimedOutRes = async (parsedOutput, context) => {
|
|
1545
1545
|
const body = parsedOutput.body;
|
|
1546
|
-
const deserialized =
|
|
1546
|
+
const deserialized = de_TaskTimedOut(body, context);
|
|
1547
1547
|
const exception = new models_0_1.TaskTimedOut({
|
|
1548
1548
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1549
1549
|
...deserialized,
|
|
1550
1550
|
});
|
|
1551
1551
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1552
1552
|
};
|
|
1553
|
-
const
|
|
1553
|
+
const de_TooManyTagsRes = async (parsedOutput, context) => {
|
|
1554
1554
|
const body = parsedOutput.body;
|
|
1555
|
-
const deserialized =
|
|
1555
|
+
const deserialized = de_TooManyTags(body, context);
|
|
1556
1556
|
const exception = new models_0_1.TooManyTags({
|
|
1557
1557
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1558
1558
|
...deserialized,
|
|
1559
1559
|
});
|
|
1560
1560
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1561
1561
|
};
|
|
1562
|
-
const
|
|
1562
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1563
1563
|
const body = parsedOutput.body;
|
|
1564
|
-
const deserialized =
|
|
1564
|
+
const deserialized = de_ValidationException(body, context);
|
|
1565
1565
|
const exception = new models_0_1.ValidationException({
|
|
1566
1566
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1567
1567
|
...deserialized,
|
|
1568
1568
|
});
|
|
1569
1569
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1570
1570
|
};
|
|
1571
|
-
const
|
|
1571
|
+
const se_CloudWatchLogsLogGroup = (input, context) => {
|
|
1572
1572
|
return {
|
|
1573
1573
|
...(input.logGroupArn != null && { logGroupArn: input.logGroupArn }),
|
|
1574
1574
|
};
|
|
1575
1575
|
};
|
|
1576
|
-
const
|
|
1576
|
+
const se_CreateActivityInput = (input, context) => {
|
|
1577
1577
|
return {
|
|
1578
1578
|
...(input.name != null && { name: input.name }),
|
|
1579
|
-
...(input.tags != null && { tags:
|
|
1579
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1580
1580
|
};
|
|
1581
1581
|
};
|
|
1582
|
-
const
|
|
1582
|
+
const se_CreateStateMachineInput = (input, context) => {
|
|
1583
1583
|
return {
|
|
1584
1584
|
...(input.definition != null && { definition: input.definition }),
|
|
1585
1585
|
...(input.loggingConfiguration != null && {
|
|
1586
|
-
loggingConfiguration:
|
|
1586
|
+
loggingConfiguration: se_LoggingConfiguration(input.loggingConfiguration, context),
|
|
1587
1587
|
}),
|
|
1588
1588
|
...(input.name != null && { name: input.name }),
|
|
1589
1589
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
1590
|
-
...(input.tags != null && { tags:
|
|
1590
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1591
1591
|
...(input.tracingConfiguration != null && {
|
|
1592
|
-
tracingConfiguration:
|
|
1592
|
+
tracingConfiguration: se_TracingConfiguration(input.tracingConfiguration, context),
|
|
1593
1593
|
}),
|
|
1594
1594
|
...(input.type != null && { type: input.type }),
|
|
1595
1595
|
};
|
|
1596
1596
|
};
|
|
1597
|
-
const
|
|
1597
|
+
const se_DeleteActivityInput = (input, context) => {
|
|
1598
1598
|
return {
|
|
1599
1599
|
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1600
1600
|
};
|
|
1601
1601
|
};
|
|
1602
|
-
const
|
|
1602
|
+
const se_DeleteStateMachineInput = (input, context) => {
|
|
1603
1603
|
return {
|
|
1604
1604
|
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1605
1605
|
};
|
|
1606
1606
|
};
|
|
1607
|
-
const
|
|
1607
|
+
const se_DescribeActivityInput = (input, context) => {
|
|
1608
1608
|
return {
|
|
1609
1609
|
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1610
1610
|
};
|
|
1611
1611
|
};
|
|
1612
|
-
const
|
|
1612
|
+
const se_DescribeExecutionInput = (input, context) => {
|
|
1613
1613
|
return {
|
|
1614
1614
|
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1615
1615
|
};
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const se_DescribeMapRunInput = (input, context) => {
|
|
1618
1618
|
return {
|
|
1619
1619
|
...(input.mapRunArn != null && { mapRunArn: input.mapRunArn }),
|
|
1620
1620
|
};
|
|
1621
1621
|
};
|
|
1622
|
-
const
|
|
1622
|
+
const se_DescribeStateMachineForExecutionInput = (input, context) => {
|
|
1623
1623
|
return {
|
|
1624
1624
|
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1625
1625
|
};
|
|
1626
1626
|
};
|
|
1627
|
-
const
|
|
1627
|
+
const se_DescribeStateMachineInput = (input, context) => {
|
|
1628
1628
|
return {
|
|
1629
1629
|
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1630
1630
|
};
|
|
1631
1631
|
};
|
|
1632
|
-
const
|
|
1632
|
+
const se_GetActivityTaskInput = (input, context) => {
|
|
1633
1633
|
return {
|
|
1634
1634
|
...(input.activityArn != null && { activityArn: input.activityArn }),
|
|
1635
1635
|
...(input.workerName != null && { workerName: input.workerName }),
|
|
1636
1636
|
};
|
|
1637
1637
|
};
|
|
1638
|
-
const
|
|
1638
|
+
const se_GetExecutionHistoryInput = (input, context) => {
|
|
1639
1639
|
return {
|
|
1640
1640
|
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1641
1641
|
...(input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData }),
|
|
@@ -1644,13 +1644,13 @@ const serializeAws_json1_0GetExecutionHistoryInput = (input, context) => {
|
|
|
1644
1644
|
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
1645
1645
|
};
|
|
1646
1646
|
};
|
|
1647
|
-
const
|
|
1647
|
+
const se_ListActivitiesInput = (input, context) => {
|
|
1648
1648
|
return {
|
|
1649
1649
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1650
1650
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1651
1651
|
};
|
|
1652
1652
|
};
|
|
1653
|
-
const
|
|
1653
|
+
const se_ListExecutionsInput = (input, context) => {
|
|
1654
1654
|
return {
|
|
1655
1655
|
...(input.mapRunArn != null && { mapRunArn: input.mapRunArn }),
|
|
1656
1656
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -1659,66 +1659,64 @@ const serializeAws_json1_0ListExecutionsInput = (input, context) => {
|
|
|
1659
1659
|
...(input.statusFilter != null && { statusFilter: input.statusFilter }),
|
|
1660
1660
|
};
|
|
1661
1661
|
};
|
|
1662
|
-
const
|
|
1662
|
+
const se_ListMapRunsInput = (input, context) => {
|
|
1663
1663
|
return {
|
|
1664
1664
|
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1665
1665
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1666
1666
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1667
1667
|
};
|
|
1668
1668
|
};
|
|
1669
|
-
const
|
|
1669
|
+
const se_ListStateMachinesInput = (input, context) => {
|
|
1670
1670
|
return {
|
|
1671
1671
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1672
1672
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1673
1673
|
};
|
|
1674
1674
|
};
|
|
1675
|
-
const
|
|
1675
|
+
const se_ListTagsForResourceInput = (input, context) => {
|
|
1676
1676
|
return {
|
|
1677
1677
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1678
1678
|
};
|
|
1679
1679
|
};
|
|
1680
|
-
const
|
|
1680
|
+
const se_LogDestination = (input, context) => {
|
|
1681
1681
|
return {
|
|
1682
1682
|
...(input.cloudWatchLogsLogGroup != null && {
|
|
1683
|
-
cloudWatchLogsLogGroup:
|
|
1683
|
+
cloudWatchLogsLogGroup: se_CloudWatchLogsLogGroup(input.cloudWatchLogsLogGroup, context),
|
|
1684
1684
|
}),
|
|
1685
1685
|
};
|
|
1686
1686
|
};
|
|
1687
|
-
const
|
|
1687
|
+
const se_LogDestinationList = (input, context) => {
|
|
1688
1688
|
return input
|
|
1689
1689
|
.filter((e) => e != null)
|
|
1690
1690
|
.map((entry) => {
|
|
1691
|
-
return
|
|
1691
|
+
return se_LogDestination(entry, context);
|
|
1692
1692
|
});
|
|
1693
1693
|
};
|
|
1694
|
-
const
|
|
1694
|
+
const se_LoggingConfiguration = (input, context) => {
|
|
1695
1695
|
return {
|
|
1696
|
-
...(input.destinations != null && {
|
|
1697
|
-
destinations: serializeAws_json1_0LogDestinationList(input.destinations, context),
|
|
1698
|
-
}),
|
|
1696
|
+
...(input.destinations != null && { destinations: se_LogDestinationList(input.destinations, context) }),
|
|
1699
1697
|
...(input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData }),
|
|
1700
1698
|
...(input.level != null && { level: input.level }),
|
|
1701
1699
|
};
|
|
1702
1700
|
};
|
|
1703
|
-
const
|
|
1701
|
+
const se_SendTaskFailureInput = (input, context) => {
|
|
1704
1702
|
return {
|
|
1705
1703
|
...(input.cause != null && { cause: input.cause }),
|
|
1706
1704
|
...(input.error != null && { error: input.error }),
|
|
1707
1705
|
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1708
1706
|
};
|
|
1709
1707
|
};
|
|
1710
|
-
const
|
|
1708
|
+
const se_SendTaskHeartbeatInput = (input, context) => {
|
|
1711
1709
|
return {
|
|
1712
1710
|
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1713
1711
|
};
|
|
1714
1712
|
};
|
|
1715
|
-
const
|
|
1713
|
+
const se_SendTaskSuccessInput = (input, context) => {
|
|
1716
1714
|
return {
|
|
1717
1715
|
...(input.output != null && { output: input.output }),
|
|
1718
1716
|
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
1719
1717
|
};
|
|
1720
1718
|
};
|
|
1721
|
-
const
|
|
1719
|
+
const se_StartExecutionInput = (input, context) => {
|
|
1722
1720
|
return {
|
|
1723
1721
|
...(input.input != null && { input: input.input }),
|
|
1724
1722
|
...(input.name != null && { name: input.name }),
|
|
@@ -1726,7 +1724,7 @@ const serializeAws_json1_0StartExecutionInput = (input, context) => {
|
|
|
1726
1724
|
...(input.traceHeader != null && { traceHeader: input.traceHeader }),
|
|
1727
1725
|
};
|
|
1728
1726
|
};
|
|
1729
|
-
const
|
|
1727
|
+
const se_StartSyncExecutionInput = (input, context) => {
|
|
1730
1728
|
return {
|
|
1731
1729
|
...(input.input != null && { input: input.input }),
|
|
1732
1730
|
...(input.name != null && { name: input.name }),
|
|
@@ -1734,51 +1732,51 @@ const serializeAws_json1_0StartSyncExecutionInput = (input, context) => {
|
|
|
1734
1732
|
...(input.traceHeader != null && { traceHeader: input.traceHeader }),
|
|
1735
1733
|
};
|
|
1736
1734
|
};
|
|
1737
|
-
const
|
|
1735
|
+
const se_StopExecutionInput = (input, context) => {
|
|
1738
1736
|
return {
|
|
1739
1737
|
...(input.cause != null && { cause: input.cause }),
|
|
1740
1738
|
...(input.error != null && { error: input.error }),
|
|
1741
1739
|
...(input.executionArn != null && { executionArn: input.executionArn }),
|
|
1742
1740
|
};
|
|
1743
1741
|
};
|
|
1744
|
-
const
|
|
1742
|
+
const se_Tag = (input, context) => {
|
|
1745
1743
|
return {
|
|
1746
1744
|
...(input.key != null && { key: input.key }),
|
|
1747
1745
|
...(input.value != null && { value: input.value }),
|
|
1748
1746
|
};
|
|
1749
1747
|
};
|
|
1750
|
-
const
|
|
1748
|
+
const se_TagKeyList = (input, context) => {
|
|
1751
1749
|
return input
|
|
1752
1750
|
.filter((e) => e != null)
|
|
1753
1751
|
.map((entry) => {
|
|
1754
1752
|
return entry;
|
|
1755
1753
|
});
|
|
1756
1754
|
};
|
|
1757
|
-
const
|
|
1755
|
+
const se_TagList = (input, context) => {
|
|
1758
1756
|
return input
|
|
1759
1757
|
.filter((e) => e != null)
|
|
1760
1758
|
.map((entry) => {
|
|
1761
|
-
return
|
|
1759
|
+
return se_Tag(entry, context);
|
|
1762
1760
|
});
|
|
1763
1761
|
};
|
|
1764
|
-
const
|
|
1762
|
+
const se_TagResourceInput = (input, context) => {
|
|
1765
1763
|
return {
|
|
1766
1764
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1767
|
-
...(input.tags != null && { tags:
|
|
1765
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1768
1766
|
};
|
|
1769
1767
|
};
|
|
1770
|
-
const
|
|
1768
|
+
const se_TracingConfiguration = (input, context) => {
|
|
1771
1769
|
return {
|
|
1772
1770
|
...(input.enabled != null && { enabled: input.enabled }),
|
|
1773
1771
|
};
|
|
1774
1772
|
};
|
|
1775
|
-
const
|
|
1773
|
+
const se_UntagResourceInput = (input, context) => {
|
|
1776
1774
|
return {
|
|
1777
1775
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1778
|
-
...(input.tagKeys != null && { tagKeys:
|
|
1776
|
+
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
1779
1777
|
};
|
|
1780
1778
|
};
|
|
1781
|
-
const
|
|
1779
|
+
const se_UpdateMapRunInput = (input, context) => {
|
|
1782
1780
|
return {
|
|
1783
1781
|
...(input.mapRunArn != null && { mapRunArn: input.mapRunArn }),
|
|
1784
1782
|
...(input.maxConcurrency != null && { maxConcurrency: input.maxConcurrency }),
|
|
@@ -1788,47 +1786,47 @@ const serializeAws_json1_0UpdateMapRunInput = (input, context) => {
|
|
|
1788
1786
|
}),
|
|
1789
1787
|
};
|
|
1790
1788
|
};
|
|
1791
|
-
const
|
|
1789
|
+
const se_UpdateStateMachineInput = (input, context) => {
|
|
1792
1790
|
return {
|
|
1793
1791
|
...(input.definition != null && { definition: input.definition }),
|
|
1794
1792
|
...(input.loggingConfiguration != null && {
|
|
1795
|
-
loggingConfiguration:
|
|
1793
|
+
loggingConfiguration: se_LoggingConfiguration(input.loggingConfiguration, context),
|
|
1796
1794
|
}),
|
|
1797
1795
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
1798
1796
|
...(input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }),
|
|
1799
1797
|
...(input.tracingConfiguration != null && {
|
|
1800
|
-
tracingConfiguration:
|
|
1798
|
+
tracingConfiguration: se_TracingConfiguration(input.tracingConfiguration, context),
|
|
1801
1799
|
}),
|
|
1802
1800
|
};
|
|
1803
1801
|
};
|
|
1804
|
-
const
|
|
1802
|
+
const de_ActivityDoesNotExist = (output, context) => {
|
|
1805
1803
|
return {
|
|
1806
1804
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1807
1805
|
};
|
|
1808
1806
|
};
|
|
1809
|
-
const
|
|
1807
|
+
const de_ActivityFailedEventDetails = (output, context) => {
|
|
1810
1808
|
return {
|
|
1811
1809
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
1812
1810
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
1813
1811
|
};
|
|
1814
1812
|
};
|
|
1815
|
-
const
|
|
1813
|
+
const de_ActivityLimitExceeded = (output, context) => {
|
|
1816
1814
|
return {
|
|
1817
1815
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1818
1816
|
};
|
|
1819
1817
|
};
|
|
1820
|
-
const
|
|
1818
|
+
const de_ActivityList = (output, context) => {
|
|
1821
1819
|
const retVal = (output || [])
|
|
1822
1820
|
.filter((e) => e != null)
|
|
1823
1821
|
.map((entry) => {
|
|
1824
1822
|
if (entry === null) {
|
|
1825
1823
|
return null;
|
|
1826
1824
|
}
|
|
1827
|
-
return
|
|
1825
|
+
return de_ActivityListItem(entry, context);
|
|
1828
1826
|
});
|
|
1829
1827
|
return retVal;
|
|
1830
1828
|
};
|
|
1831
|
-
const
|
|
1829
|
+
const de_ActivityListItem = (output, context) => {
|
|
1832
1830
|
return {
|
|
1833
1831
|
activityArn: (0, smithy_client_1.expectString)(output.activityArn),
|
|
1834
1832
|
creationDate: output.creationDate != null
|
|
@@ -1837,64 +1835,60 @@ const deserializeAws_json1_0ActivityListItem = (output, context) => {
|
|
|
1837
1835
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1838
1836
|
};
|
|
1839
1837
|
};
|
|
1840
|
-
const
|
|
1838
|
+
const de_ActivityScheduledEventDetails = (output, context) => {
|
|
1841
1839
|
return {
|
|
1842
1840
|
heartbeatInSeconds: (0, smithy_client_1.expectLong)(output.heartbeatInSeconds),
|
|
1843
1841
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
1844
|
-
inputDetails: output.inputDetails != null
|
|
1845
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
1846
|
-
: undefined,
|
|
1842
|
+
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
1847
1843
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
1848
1844
|
timeoutInSeconds: (0, smithy_client_1.expectLong)(output.timeoutInSeconds),
|
|
1849
1845
|
};
|
|
1850
1846
|
};
|
|
1851
|
-
const
|
|
1847
|
+
const de_ActivityScheduleFailedEventDetails = (output, context) => {
|
|
1852
1848
|
return {
|
|
1853
1849
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
1854
1850
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
1855
1851
|
};
|
|
1856
1852
|
};
|
|
1857
|
-
const
|
|
1853
|
+
const de_ActivityStartedEventDetails = (output, context) => {
|
|
1858
1854
|
return {
|
|
1859
1855
|
workerName: (0, smithy_client_1.expectString)(output.workerName),
|
|
1860
1856
|
};
|
|
1861
1857
|
};
|
|
1862
|
-
const
|
|
1858
|
+
const de_ActivitySucceededEventDetails = (output, context) => {
|
|
1863
1859
|
return {
|
|
1864
1860
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
1865
|
-
outputDetails: output.outputDetails != null
|
|
1866
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
1867
|
-
: undefined,
|
|
1861
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
1868
1862
|
};
|
|
1869
1863
|
};
|
|
1870
|
-
const
|
|
1864
|
+
const de_ActivityTimedOutEventDetails = (output, context) => {
|
|
1871
1865
|
return {
|
|
1872
1866
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
1873
1867
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
1874
1868
|
};
|
|
1875
1869
|
};
|
|
1876
|
-
const
|
|
1870
|
+
const de_ActivityWorkerLimitExceeded = (output, context) => {
|
|
1877
1871
|
return {
|
|
1878
1872
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1879
1873
|
};
|
|
1880
1874
|
};
|
|
1881
|
-
const
|
|
1875
|
+
const de_BillingDetails = (output, context) => {
|
|
1882
1876
|
return {
|
|
1883
1877
|
billedDurationInMilliseconds: (0, smithy_client_1.expectLong)(output.billedDurationInMilliseconds),
|
|
1884
1878
|
billedMemoryUsedInMB: (0, smithy_client_1.expectLong)(output.billedMemoryUsedInMB),
|
|
1885
1879
|
};
|
|
1886
1880
|
};
|
|
1887
|
-
const
|
|
1881
|
+
const de_CloudWatchEventsExecutionDataDetails = (output, context) => {
|
|
1888
1882
|
return {
|
|
1889
1883
|
included: (0, smithy_client_1.expectBoolean)(output.included),
|
|
1890
1884
|
};
|
|
1891
1885
|
};
|
|
1892
|
-
const
|
|
1886
|
+
const de_CloudWatchLogsLogGroup = (output, context) => {
|
|
1893
1887
|
return {
|
|
1894
1888
|
logGroupArn: (0, smithy_client_1.expectString)(output.logGroupArn),
|
|
1895
1889
|
};
|
|
1896
1890
|
};
|
|
1897
|
-
const
|
|
1891
|
+
const de_CreateActivityOutput = (output, context) => {
|
|
1898
1892
|
return {
|
|
1899
1893
|
activityArn: (0, smithy_client_1.expectString)(output.activityArn),
|
|
1900
1894
|
creationDate: output.creationDate != null
|
|
@@ -1902,7 +1896,7 @@ const deserializeAws_json1_0CreateActivityOutput = (output, context) => {
|
|
|
1902
1896
|
: undefined,
|
|
1903
1897
|
};
|
|
1904
1898
|
};
|
|
1905
|
-
const
|
|
1899
|
+
const de_CreateStateMachineOutput = (output, context) => {
|
|
1906
1900
|
return {
|
|
1907
1901
|
creationDate: output.creationDate != null
|
|
1908
1902
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
@@ -1910,13 +1904,13 @@ const deserializeAws_json1_0CreateStateMachineOutput = (output, context) => {
|
|
|
1910
1904
|
stateMachineArn: (0, smithy_client_1.expectString)(output.stateMachineArn),
|
|
1911
1905
|
};
|
|
1912
1906
|
};
|
|
1913
|
-
const
|
|
1907
|
+
const de_DeleteActivityOutput = (output, context) => {
|
|
1914
1908
|
return {};
|
|
1915
1909
|
};
|
|
1916
|
-
const
|
|
1910
|
+
const de_DeleteStateMachineOutput = (output, context) => {
|
|
1917
1911
|
return {};
|
|
1918
1912
|
};
|
|
1919
|
-
const
|
|
1913
|
+
const de_DescribeActivityOutput = (output, context) => {
|
|
1920
1914
|
return {
|
|
1921
1915
|
activityArn: (0, smithy_client_1.expectString)(output.activityArn),
|
|
1922
1916
|
creationDate: output.creationDate != null
|
|
@@ -1925,21 +1919,17 @@ const deserializeAws_json1_0DescribeActivityOutput = (output, context) => {
|
|
|
1925
1919
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1926
1920
|
};
|
|
1927
1921
|
};
|
|
1928
|
-
const
|
|
1922
|
+
const de_DescribeExecutionOutput = (output, context) => {
|
|
1929
1923
|
return {
|
|
1930
1924
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
1931
1925
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
1932
1926
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
1933
1927
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
1934
|
-
inputDetails: output.inputDetails != null
|
|
1935
|
-
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
1936
|
-
: undefined,
|
|
1928
|
+
inputDetails: output.inputDetails != null ? de_CloudWatchEventsExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
1937
1929
|
mapRunArn: (0, smithy_client_1.expectString)(output.mapRunArn),
|
|
1938
1930
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1939
1931
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
1940
|
-
outputDetails: output.outputDetails != null
|
|
1941
|
-
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
1942
|
-
: undefined,
|
|
1932
|
+
outputDetails: output.outputDetails != null ? de_CloudWatchEventsExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
1943
1933
|
startDate: output.startDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDate))) : undefined,
|
|
1944
1934
|
stateMachineArn: (0, smithy_client_1.expectString)(output.stateMachineArn),
|
|
1945
1935
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -1947,13 +1937,11 @@ const deserializeAws_json1_0DescribeExecutionOutput = (output, context) => {
|
|
|
1947
1937
|
traceHeader: (0, smithy_client_1.expectString)(output.traceHeader),
|
|
1948
1938
|
};
|
|
1949
1939
|
};
|
|
1950
|
-
const
|
|
1940
|
+
const de_DescribeMapRunOutput = (output, context) => {
|
|
1951
1941
|
return {
|
|
1952
1942
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
1953
|
-
executionCounts: output.executionCounts != null
|
|
1954
|
-
|
|
1955
|
-
: undefined,
|
|
1956
|
-
itemCounts: output.itemCounts != null ? deserializeAws_json1_0MapRunItemCounts(output.itemCounts, context) : undefined,
|
|
1943
|
+
executionCounts: output.executionCounts != null ? de_MapRunExecutionCounts(output.executionCounts, context) : undefined,
|
|
1944
|
+
itemCounts: output.itemCounts != null ? de_MapRunItemCounts(output.itemCounts, context) : undefined,
|
|
1957
1945
|
mapRunArn: (0, smithy_client_1.expectString)(output.mapRunArn),
|
|
1958
1946
|
maxConcurrency: (0, smithy_client_1.expectInt32)(output.maxConcurrency),
|
|
1959
1947
|
startDate: output.startDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDate))) : undefined,
|
|
@@ -1963,82 +1951,74 @@ const deserializeAws_json1_0DescribeMapRunOutput = (output, context) => {
|
|
|
1963
1951
|
toleratedFailurePercentage: (0, smithy_client_1.limitedParseFloat32)(output.toleratedFailurePercentage),
|
|
1964
1952
|
};
|
|
1965
1953
|
};
|
|
1966
|
-
const
|
|
1954
|
+
const de_DescribeStateMachineForExecutionOutput = (output, context) => {
|
|
1967
1955
|
return {
|
|
1968
1956
|
definition: (0, smithy_client_1.expectString)(output.definition),
|
|
1969
1957
|
label: (0, smithy_client_1.expectString)(output.label),
|
|
1970
|
-
loggingConfiguration: output.loggingConfiguration != null
|
|
1971
|
-
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
1972
|
-
: undefined,
|
|
1958
|
+
loggingConfiguration: output.loggingConfiguration != null ? de_LoggingConfiguration(output.loggingConfiguration, context) : undefined,
|
|
1973
1959
|
mapRunArn: (0, smithy_client_1.expectString)(output.mapRunArn),
|
|
1974
1960
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1975
1961
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
1976
1962
|
stateMachineArn: (0, smithy_client_1.expectString)(output.stateMachineArn),
|
|
1977
|
-
tracingConfiguration: output.tracingConfiguration != null
|
|
1978
|
-
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
1979
|
-
: undefined,
|
|
1963
|
+
tracingConfiguration: output.tracingConfiguration != null ? de_TracingConfiguration(output.tracingConfiguration, context) : undefined,
|
|
1980
1964
|
updateDate: output.updateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDate))) : undefined,
|
|
1981
1965
|
};
|
|
1982
1966
|
};
|
|
1983
|
-
const
|
|
1967
|
+
const de_DescribeStateMachineOutput = (output, context) => {
|
|
1984
1968
|
return {
|
|
1985
1969
|
creationDate: output.creationDate != null
|
|
1986
1970
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
1987
1971
|
: undefined,
|
|
1988
1972
|
definition: (0, smithy_client_1.expectString)(output.definition),
|
|
1989
1973
|
label: (0, smithy_client_1.expectString)(output.label),
|
|
1990
|
-
loggingConfiguration: output.loggingConfiguration != null
|
|
1991
|
-
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
1992
|
-
: undefined,
|
|
1974
|
+
loggingConfiguration: output.loggingConfiguration != null ? de_LoggingConfiguration(output.loggingConfiguration, context) : undefined,
|
|
1993
1975
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1994
1976
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
1995
1977
|
stateMachineArn: (0, smithy_client_1.expectString)(output.stateMachineArn),
|
|
1996
1978
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
1997
|
-
tracingConfiguration: output.tracingConfiguration != null
|
|
1998
|
-
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
1999
|
-
: undefined,
|
|
1979
|
+
tracingConfiguration: output.tracingConfiguration != null ? de_TracingConfiguration(output.tracingConfiguration, context) : undefined,
|
|
2000
1980
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
2001
1981
|
};
|
|
2002
1982
|
};
|
|
2003
|
-
const
|
|
1983
|
+
const de_ExecutionAbortedEventDetails = (output, context) => {
|
|
2004
1984
|
return {
|
|
2005
1985
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2006
1986
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2007
1987
|
};
|
|
2008
1988
|
};
|
|
2009
|
-
const
|
|
1989
|
+
const de_ExecutionAlreadyExists = (output, context) => {
|
|
2010
1990
|
return {
|
|
2011
1991
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2012
1992
|
};
|
|
2013
1993
|
};
|
|
2014
|
-
const
|
|
1994
|
+
const de_ExecutionDoesNotExist = (output, context) => {
|
|
2015
1995
|
return {
|
|
2016
1996
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2017
1997
|
};
|
|
2018
1998
|
};
|
|
2019
|
-
const
|
|
1999
|
+
const de_ExecutionFailedEventDetails = (output, context) => {
|
|
2020
2000
|
return {
|
|
2021
2001
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2022
2002
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2023
2003
|
};
|
|
2024
2004
|
};
|
|
2025
|
-
const
|
|
2005
|
+
const de_ExecutionLimitExceeded = (output, context) => {
|
|
2026
2006
|
return {
|
|
2027
2007
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2028
2008
|
};
|
|
2029
2009
|
};
|
|
2030
|
-
const
|
|
2010
|
+
const de_ExecutionList = (output, context) => {
|
|
2031
2011
|
const retVal = (output || [])
|
|
2032
2012
|
.filter((e) => e != null)
|
|
2033
2013
|
.map((entry) => {
|
|
2034
2014
|
if (entry === null) {
|
|
2035
2015
|
return null;
|
|
2036
2016
|
}
|
|
2037
|
-
return
|
|
2017
|
+
return de_ExecutionListItem(entry, context);
|
|
2038
2018
|
});
|
|
2039
2019
|
return retVal;
|
|
2040
2020
|
};
|
|
2041
|
-
const
|
|
2021
|
+
const de_ExecutionListItem = (output, context) => {
|
|
2042
2022
|
return {
|
|
2043
2023
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
2044
2024
|
itemCount: (0, smithy_client_1.expectInt32)(output.itemCount),
|
|
@@ -2050,313 +2030,303 @@ const deserializeAws_json1_0ExecutionListItem = (output, context) => {
|
|
|
2050
2030
|
stopDate: output.stopDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopDate))) : undefined,
|
|
2051
2031
|
};
|
|
2052
2032
|
};
|
|
2053
|
-
const
|
|
2033
|
+
const de_ExecutionStartedEventDetails = (output, context) => {
|
|
2054
2034
|
return {
|
|
2055
2035
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2056
|
-
inputDetails: output.inputDetails != null
|
|
2057
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2058
|
-
: undefined,
|
|
2036
|
+
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2059
2037
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
2060
2038
|
};
|
|
2061
2039
|
};
|
|
2062
|
-
const
|
|
2040
|
+
const de_ExecutionSucceededEventDetails = (output, context) => {
|
|
2063
2041
|
return {
|
|
2064
2042
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2065
|
-
outputDetails: output.outputDetails != null
|
|
2066
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2067
|
-
: undefined,
|
|
2043
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2068
2044
|
};
|
|
2069
2045
|
};
|
|
2070
|
-
const
|
|
2046
|
+
const de_ExecutionTimedOutEventDetails = (output, context) => {
|
|
2071
2047
|
return {
|
|
2072
2048
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2073
2049
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2074
2050
|
};
|
|
2075
2051
|
};
|
|
2076
|
-
const
|
|
2052
|
+
const de_GetActivityTaskOutput = (output, context) => {
|
|
2077
2053
|
return {
|
|
2078
2054
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2079
2055
|
taskToken: (0, smithy_client_1.expectString)(output.taskToken),
|
|
2080
2056
|
};
|
|
2081
2057
|
};
|
|
2082
|
-
const
|
|
2058
|
+
const de_GetExecutionHistoryOutput = (output, context) => {
|
|
2083
2059
|
return {
|
|
2084
|
-
events: output.events != null ?
|
|
2060
|
+
events: output.events != null ? de_HistoryEventList(output.events, context) : undefined,
|
|
2085
2061
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2086
2062
|
};
|
|
2087
2063
|
};
|
|
2088
|
-
const
|
|
2064
|
+
const de_HistoryEvent = (output, context) => {
|
|
2089
2065
|
return {
|
|
2090
2066
|
activityFailedEventDetails: output.activityFailedEventDetails != null
|
|
2091
|
-
?
|
|
2067
|
+
? de_ActivityFailedEventDetails(output.activityFailedEventDetails, context)
|
|
2092
2068
|
: undefined,
|
|
2093
2069
|
activityScheduleFailedEventDetails: output.activityScheduleFailedEventDetails != null
|
|
2094
|
-
?
|
|
2070
|
+
? de_ActivityScheduleFailedEventDetails(output.activityScheduleFailedEventDetails, context)
|
|
2095
2071
|
: undefined,
|
|
2096
2072
|
activityScheduledEventDetails: output.activityScheduledEventDetails != null
|
|
2097
|
-
?
|
|
2073
|
+
? de_ActivityScheduledEventDetails(output.activityScheduledEventDetails, context)
|
|
2098
2074
|
: undefined,
|
|
2099
2075
|
activityStartedEventDetails: output.activityStartedEventDetails != null
|
|
2100
|
-
?
|
|
2076
|
+
? de_ActivityStartedEventDetails(output.activityStartedEventDetails, context)
|
|
2101
2077
|
: undefined,
|
|
2102
2078
|
activitySucceededEventDetails: output.activitySucceededEventDetails != null
|
|
2103
|
-
?
|
|
2079
|
+
? de_ActivitySucceededEventDetails(output.activitySucceededEventDetails, context)
|
|
2104
2080
|
: undefined,
|
|
2105
2081
|
activityTimedOutEventDetails: output.activityTimedOutEventDetails != null
|
|
2106
|
-
?
|
|
2082
|
+
? de_ActivityTimedOutEventDetails(output.activityTimedOutEventDetails, context)
|
|
2107
2083
|
: undefined,
|
|
2108
2084
|
executionAbortedEventDetails: output.executionAbortedEventDetails != null
|
|
2109
|
-
?
|
|
2085
|
+
? de_ExecutionAbortedEventDetails(output.executionAbortedEventDetails, context)
|
|
2110
2086
|
: undefined,
|
|
2111
2087
|
executionFailedEventDetails: output.executionFailedEventDetails != null
|
|
2112
|
-
?
|
|
2088
|
+
? de_ExecutionFailedEventDetails(output.executionFailedEventDetails, context)
|
|
2113
2089
|
: undefined,
|
|
2114
2090
|
executionStartedEventDetails: output.executionStartedEventDetails != null
|
|
2115
|
-
?
|
|
2091
|
+
? de_ExecutionStartedEventDetails(output.executionStartedEventDetails, context)
|
|
2116
2092
|
: undefined,
|
|
2117
2093
|
executionSucceededEventDetails: output.executionSucceededEventDetails != null
|
|
2118
|
-
?
|
|
2094
|
+
? de_ExecutionSucceededEventDetails(output.executionSucceededEventDetails, context)
|
|
2119
2095
|
: undefined,
|
|
2120
2096
|
executionTimedOutEventDetails: output.executionTimedOutEventDetails != null
|
|
2121
|
-
?
|
|
2097
|
+
? de_ExecutionTimedOutEventDetails(output.executionTimedOutEventDetails, context)
|
|
2122
2098
|
: undefined,
|
|
2123
2099
|
id: (0, smithy_client_1.expectLong)(output.id),
|
|
2124
2100
|
lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails != null
|
|
2125
|
-
?
|
|
2101
|
+
? de_LambdaFunctionFailedEventDetails(output.lambdaFunctionFailedEventDetails, context)
|
|
2126
2102
|
: undefined,
|
|
2127
2103
|
lambdaFunctionScheduleFailedEventDetails: output.lambdaFunctionScheduleFailedEventDetails != null
|
|
2128
|
-
?
|
|
2104
|
+
? de_LambdaFunctionScheduleFailedEventDetails(output.lambdaFunctionScheduleFailedEventDetails, context)
|
|
2129
2105
|
: undefined,
|
|
2130
2106
|
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails != null
|
|
2131
|
-
?
|
|
2107
|
+
? de_LambdaFunctionScheduledEventDetails(output.lambdaFunctionScheduledEventDetails, context)
|
|
2132
2108
|
: undefined,
|
|
2133
2109
|
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails != null
|
|
2134
|
-
?
|
|
2110
|
+
? de_LambdaFunctionStartFailedEventDetails(output.lambdaFunctionStartFailedEventDetails, context)
|
|
2135
2111
|
: undefined,
|
|
2136
2112
|
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails != null
|
|
2137
|
-
?
|
|
2113
|
+
? de_LambdaFunctionSucceededEventDetails(output.lambdaFunctionSucceededEventDetails, context)
|
|
2138
2114
|
: undefined,
|
|
2139
2115
|
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails != null
|
|
2140
|
-
?
|
|
2116
|
+
? de_LambdaFunctionTimedOutEventDetails(output.lambdaFunctionTimedOutEventDetails, context)
|
|
2141
2117
|
: undefined,
|
|
2142
2118
|
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails != null
|
|
2143
|
-
?
|
|
2119
|
+
? de_MapIterationEventDetails(output.mapIterationAbortedEventDetails, context)
|
|
2144
2120
|
: undefined,
|
|
2145
2121
|
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails != null
|
|
2146
|
-
?
|
|
2122
|
+
? de_MapIterationEventDetails(output.mapIterationFailedEventDetails, context)
|
|
2147
2123
|
: undefined,
|
|
2148
2124
|
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails != null
|
|
2149
|
-
?
|
|
2125
|
+
? de_MapIterationEventDetails(output.mapIterationStartedEventDetails, context)
|
|
2150
2126
|
: undefined,
|
|
2151
2127
|
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails != null
|
|
2152
|
-
?
|
|
2128
|
+
? de_MapIterationEventDetails(output.mapIterationSucceededEventDetails, context)
|
|
2153
2129
|
: undefined,
|
|
2154
2130
|
mapRunFailedEventDetails: output.mapRunFailedEventDetails != null
|
|
2155
|
-
?
|
|
2131
|
+
? de_MapRunFailedEventDetails(output.mapRunFailedEventDetails, context)
|
|
2156
2132
|
: undefined,
|
|
2157
2133
|
mapRunStartedEventDetails: output.mapRunStartedEventDetails != null
|
|
2158
|
-
?
|
|
2134
|
+
? de_MapRunStartedEventDetails(output.mapRunStartedEventDetails, context)
|
|
2159
2135
|
: undefined,
|
|
2160
2136
|
mapStateStartedEventDetails: output.mapStateStartedEventDetails != null
|
|
2161
|
-
?
|
|
2137
|
+
? de_MapStateStartedEventDetails(output.mapStateStartedEventDetails, context)
|
|
2162
2138
|
: undefined,
|
|
2163
2139
|
previousEventId: (0, smithy_client_1.expectLong)(output.previousEventId),
|
|
2164
2140
|
stateEnteredEventDetails: output.stateEnteredEventDetails != null
|
|
2165
|
-
?
|
|
2141
|
+
? de_StateEnteredEventDetails(output.stateEnteredEventDetails, context)
|
|
2166
2142
|
: undefined,
|
|
2167
2143
|
stateExitedEventDetails: output.stateExitedEventDetails != null
|
|
2168
|
-
?
|
|
2144
|
+
? de_StateExitedEventDetails(output.stateExitedEventDetails, context)
|
|
2169
2145
|
: undefined,
|
|
2170
2146
|
taskFailedEventDetails: output.taskFailedEventDetails != null
|
|
2171
|
-
?
|
|
2147
|
+
? de_TaskFailedEventDetails(output.taskFailedEventDetails, context)
|
|
2172
2148
|
: undefined,
|
|
2173
2149
|
taskScheduledEventDetails: output.taskScheduledEventDetails != null
|
|
2174
|
-
?
|
|
2150
|
+
? de_TaskScheduledEventDetails(output.taskScheduledEventDetails, context)
|
|
2175
2151
|
: undefined,
|
|
2176
2152
|
taskStartFailedEventDetails: output.taskStartFailedEventDetails != null
|
|
2177
|
-
?
|
|
2153
|
+
? de_TaskStartFailedEventDetails(output.taskStartFailedEventDetails, context)
|
|
2178
2154
|
: undefined,
|
|
2179
2155
|
taskStartedEventDetails: output.taskStartedEventDetails != null
|
|
2180
|
-
?
|
|
2156
|
+
? de_TaskStartedEventDetails(output.taskStartedEventDetails, context)
|
|
2181
2157
|
: undefined,
|
|
2182
2158
|
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails != null
|
|
2183
|
-
?
|
|
2159
|
+
? de_TaskSubmitFailedEventDetails(output.taskSubmitFailedEventDetails, context)
|
|
2184
2160
|
: undefined,
|
|
2185
2161
|
taskSubmittedEventDetails: output.taskSubmittedEventDetails != null
|
|
2186
|
-
?
|
|
2162
|
+
? de_TaskSubmittedEventDetails(output.taskSubmittedEventDetails, context)
|
|
2187
2163
|
: undefined,
|
|
2188
2164
|
taskSucceededEventDetails: output.taskSucceededEventDetails != null
|
|
2189
|
-
?
|
|
2165
|
+
? de_TaskSucceededEventDetails(output.taskSucceededEventDetails, context)
|
|
2190
2166
|
: undefined,
|
|
2191
2167
|
taskTimedOutEventDetails: output.taskTimedOutEventDetails != null
|
|
2192
|
-
?
|
|
2168
|
+
? de_TaskTimedOutEventDetails(output.taskTimedOutEventDetails, context)
|
|
2193
2169
|
: undefined,
|
|
2194
2170
|
timestamp: output.timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp))) : undefined,
|
|
2195
2171
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
2196
2172
|
};
|
|
2197
2173
|
};
|
|
2198
|
-
const
|
|
2174
|
+
const de_HistoryEventExecutionDataDetails = (output, context) => {
|
|
2199
2175
|
return {
|
|
2200
2176
|
truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
|
|
2201
2177
|
};
|
|
2202
2178
|
};
|
|
2203
|
-
const
|
|
2179
|
+
const de_HistoryEventList = (output, context) => {
|
|
2204
2180
|
const retVal = (output || [])
|
|
2205
2181
|
.filter((e) => e != null)
|
|
2206
2182
|
.map((entry) => {
|
|
2207
2183
|
if (entry === null) {
|
|
2208
2184
|
return null;
|
|
2209
2185
|
}
|
|
2210
|
-
return
|
|
2186
|
+
return de_HistoryEvent(entry, context);
|
|
2211
2187
|
});
|
|
2212
2188
|
return retVal;
|
|
2213
2189
|
};
|
|
2214
|
-
const
|
|
2190
|
+
const de_InvalidArn = (output, context) => {
|
|
2215
2191
|
return {
|
|
2216
2192
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2217
2193
|
};
|
|
2218
2194
|
};
|
|
2219
|
-
const
|
|
2195
|
+
const de_InvalidDefinition = (output, context) => {
|
|
2220
2196
|
return {
|
|
2221
2197
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2222
2198
|
};
|
|
2223
2199
|
};
|
|
2224
|
-
const
|
|
2200
|
+
const de_InvalidExecutionInput = (output, context) => {
|
|
2225
2201
|
return {
|
|
2226
2202
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2227
2203
|
};
|
|
2228
2204
|
};
|
|
2229
|
-
const
|
|
2205
|
+
const de_InvalidLoggingConfiguration = (output, context) => {
|
|
2230
2206
|
return {
|
|
2231
2207
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2232
2208
|
};
|
|
2233
2209
|
};
|
|
2234
|
-
const
|
|
2210
|
+
const de_InvalidName = (output, context) => {
|
|
2235
2211
|
return {
|
|
2236
2212
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2237
2213
|
};
|
|
2238
2214
|
};
|
|
2239
|
-
const
|
|
2215
|
+
const de_InvalidOutput = (output, context) => {
|
|
2240
2216
|
return {
|
|
2241
2217
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2242
2218
|
};
|
|
2243
2219
|
};
|
|
2244
|
-
const
|
|
2220
|
+
const de_InvalidToken = (output, context) => {
|
|
2245
2221
|
return {
|
|
2246
2222
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2247
2223
|
};
|
|
2248
2224
|
};
|
|
2249
|
-
const
|
|
2225
|
+
const de_InvalidTracingConfiguration = (output, context) => {
|
|
2250
2226
|
return {
|
|
2251
2227
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2252
2228
|
};
|
|
2253
2229
|
};
|
|
2254
|
-
const
|
|
2230
|
+
const de_LambdaFunctionFailedEventDetails = (output, context) => {
|
|
2255
2231
|
return {
|
|
2256
2232
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2257
2233
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2258
2234
|
};
|
|
2259
2235
|
};
|
|
2260
|
-
const
|
|
2236
|
+
const de_LambdaFunctionScheduledEventDetails = (output, context) => {
|
|
2261
2237
|
return {
|
|
2262
2238
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2263
|
-
inputDetails: output.inputDetails != null
|
|
2264
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2265
|
-
: undefined,
|
|
2239
|
+
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2266
2240
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2267
|
-
taskCredentials: output.taskCredentials != null
|
|
2268
|
-
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
2269
|
-
: undefined,
|
|
2241
|
+
taskCredentials: output.taskCredentials != null ? de_TaskCredentials(output.taskCredentials, context) : undefined,
|
|
2270
2242
|
timeoutInSeconds: (0, smithy_client_1.expectLong)(output.timeoutInSeconds),
|
|
2271
2243
|
};
|
|
2272
2244
|
};
|
|
2273
|
-
const
|
|
2245
|
+
const de_LambdaFunctionScheduleFailedEventDetails = (output, context) => {
|
|
2274
2246
|
return {
|
|
2275
2247
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2276
2248
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2277
2249
|
};
|
|
2278
2250
|
};
|
|
2279
|
-
const
|
|
2251
|
+
const de_LambdaFunctionStartFailedEventDetails = (output, context) => {
|
|
2280
2252
|
return {
|
|
2281
2253
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2282
2254
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2283
2255
|
};
|
|
2284
2256
|
};
|
|
2285
|
-
const
|
|
2257
|
+
const de_LambdaFunctionSucceededEventDetails = (output, context) => {
|
|
2286
2258
|
return {
|
|
2287
2259
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2288
|
-
outputDetails: output.outputDetails != null
|
|
2289
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2290
|
-
: undefined,
|
|
2260
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2291
2261
|
};
|
|
2292
2262
|
};
|
|
2293
|
-
const
|
|
2263
|
+
const de_LambdaFunctionTimedOutEventDetails = (output, context) => {
|
|
2294
2264
|
return {
|
|
2295
2265
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2296
2266
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2297
2267
|
};
|
|
2298
2268
|
};
|
|
2299
|
-
const
|
|
2269
|
+
const de_ListActivitiesOutput = (output, context) => {
|
|
2300
2270
|
return {
|
|
2301
|
-
activities: output.activities != null ?
|
|
2271
|
+
activities: output.activities != null ? de_ActivityList(output.activities, context) : undefined,
|
|
2302
2272
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2303
2273
|
};
|
|
2304
2274
|
};
|
|
2305
|
-
const
|
|
2275
|
+
const de_ListExecutionsOutput = (output, context) => {
|
|
2306
2276
|
return {
|
|
2307
|
-
executions: output.executions != null ?
|
|
2277
|
+
executions: output.executions != null ? de_ExecutionList(output.executions, context) : undefined,
|
|
2308
2278
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2309
2279
|
};
|
|
2310
2280
|
};
|
|
2311
|
-
const
|
|
2281
|
+
const de_ListMapRunsOutput = (output, context) => {
|
|
2312
2282
|
return {
|
|
2313
|
-
mapRuns: output.mapRuns != null ?
|
|
2283
|
+
mapRuns: output.mapRuns != null ? de_MapRunList(output.mapRuns, context) : undefined,
|
|
2314
2284
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2315
2285
|
};
|
|
2316
2286
|
};
|
|
2317
|
-
const
|
|
2287
|
+
const de_ListStateMachinesOutput = (output, context) => {
|
|
2318
2288
|
return {
|
|
2319
2289
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2320
|
-
stateMachines: output.stateMachines != null ?
|
|
2290
|
+
stateMachines: output.stateMachines != null ? de_StateMachineList(output.stateMachines, context) : undefined,
|
|
2321
2291
|
};
|
|
2322
2292
|
};
|
|
2323
|
-
const
|
|
2293
|
+
const de_ListTagsForResourceOutput = (output, context) => {
|
|
2324
2294
|
return {
|
|
2325
|
-
tags: output.tags != null ?
|
|
2295
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2326
2296
|
};
|
|
2327
2297
|
};
|
|
2328
|
-
const
|
|
2298
|
+
const de_LogDestination = (output, context) => {
|
|
2329
2299
|
return {
|
|
2330
2300
|
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup != null
|
|
2331
|
-
?
|
|
2301
|
+
? de_CloudWatchLogsLogGroup(output.cloudWatchLogsLogGroup, context)
|
|
2332
2302
|
: undefined,
|
|
2333
2303
|
};
|
|
2334
2304
|
};
|
|
2335
|
-
const
|
|
2305
|
+
const de_LogDestinationList = (output, context) => {
|
|
2336
2306
|
const retVal = (output || [])
|
|
2337
2307
|
.filter((e) => e != null)
|
|
2338
2308
|
.map((entry) => {
|
|
2339
2309
|
if (entry === null) {
|
|
2340
2310
|
return null;
|
|
2341
2311
|
}
|
|
2342
|
-
return
|
|
2312
|
+
return de_LogDestination(entry, context);
|
|
2343
2313
|
});
|
|
2344
2314
|
return retVal;
|
|
2345
2315
|
};
|
|
2346
|
-
const
|
|
2316
|
+
const de_LoggingConfiguration = (output, context) => {
|
|
2347
2317
|
return {
|
|
2348
|
-
destinations: output.destinations != null ?
|
|
2318
|
+
destinations: output.destinations != null ? de_LogDestinationList(output.destinations, context) : undefined,
|
|
2349
2319
|
includeExecutionData: (0, smithy_client_1.expectBoolean)(output.includeExecutionData),
|
|
2350
2320
|
level: (0, smithy_client_1.expectString)(output.level),
|
|
2351
2321
|
};
|
|
2352
2322
|
};
|
|
2353
|
-
const
|
|
2323
|
+
const de_MapIterationEventDetails = (output, context) => {
|
|
2354
2324
|
return {
|
|
2355
2325
|
index: (0, smithy_client_1.expectInt32)(output.index),
|
|
2356
2326
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2357
2327
|
};
|
|
2358
2328
|
};
|
|
2359
|
-
const
|
|
2329
|
+
const de_MapRunExecutionCounts = (output, context) => {
|
|
2360
2330
|
return {
|
|
2361
2331
|
aborted: (0, smithy_client_1.expectLong)(output.aborted),
|
|
2362
2332
|
failed: (0, smithy_client_1.expectLong)(output.failed),
|
|
@@ -2368,13 +2338,13 @@ const deserializeAws_json1_0MapRunExecutionCounts = (output, context) => {
|
|
|
2368
2338
|
total: (0, smithy_client_1.expectLong)(output.total),
|
|
2369
2339
|
};
|
|
2370
2340
|
};
|
|
2371
|
-
const
|
|
2341
|
+
const de_MapRunFailedEventDetails = (output, context) => {
|
|
2372
2342
|
return {
|
|
2373
2343
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2374
2344
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2375
2345
|
};
|
|
2376
2346
|
};
|
|
2377
|
-
const
|
|
2347
|
+
const de_MapRunItemCounts = (output, context) => {
|
|
2378
2348
|
return {
|
|
2379
2349
|
aborted: (0, smithy_client_1.expectLong)(output.aborted),
|
|
2380
2350
|
failed: (0, smithy_client_1.expectLong)(output.failed),
|
|
@@ -2386,18 +2356,18 @@ const deserializeAws_json1_0MapRunItemCounts = (output, context) => {
|
|
|
2386
2356
|
total: (0, smithy_client_1.expectLong)(output.total),
|
|
2387
2357
|
};
|
|
2388
2358
|
};
|
|
2389
|
-
const
|
|
2359
|
+
const de_MapRunList = (output, context) => {
|
|
2390
2360
|
const retVal = (output || [])
|
|
2391
2361
|
.filter((e) => e != null)
|
|
2392
2362
|
.map((entry) => {
|
|
2393
2363
|
if (entry === null) {
|
|
2394
2364
|
return null;
|
|
2395
2365
|
}
|
|
2396
|
-
return
|
|
2366
|
+
return de_MapRunListItem(entry, context);
|
|
2397
2367
|
});
|
|
2398
2368
|
return retVal;
|
|
2399
2369
|
};
|
|
2400
|
-
const
|
|
2370
|
+
const de_MapRunListItem = (output, context) => {
|
|
2401
2371
|
return {
|
|
2402
2372
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
2403
2373
|
mapRunArn: (0, smithy_client_1.expectString)(output.mapRunArn),
|
|
@@ -2406,57 +2376,53 @@ const deserializeAws_json1_0MapRunListItem = (output, context) => {
|
|
|
2406
2376
|
stopDate: output.stopDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopDate))) : undefined,
|
|
2407
2377
|
};
|
|
2408
2378
|
};
|
|
2409
|
-
const
|
|
2379
|
+
const de_MapRunStartedEventDetails = (output, context) => {
|
|
2410
2380
|
return {
|
|
2411
2381
|
mapRunArn: (0, smithy_client_1.expectString)(output.mapRunArn),
|
|
2412
2382
|
};
|
|
2413
2383
|
};
|
|
2414
|
-
const
|
|
2384
|
+
const de_MapStateStartedEventDetails = (output, context) => {
|
|
2415
2385
|
return {
|
|
2416
2386
|
length: (0, smithy_client_1.expectInt32)(output.length),
|
|
2417
2387
|
};
|
|
2418
2388
|
};
|
|
2419
|
-
const
|
|
2389
|
+
const de_MissingRequiredParameter = (output, context) => {
|
|
2420
2390
|
return {
|
|
2421
2391
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2422
2392
|
};
|
|
2423
2393
|
};
|
|
2424
|
-
const
|
|
2394
|
+
const de_ResourceNotFound = (output, context) => {
|
|
2425
2395
|
return {
|
|
2426
2396
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2427
2397
|
resourceName: (0, smithy_client_1.expectString)(output.resourceName),
|
|
2428
2398
|
};
|
|
2429
2399
|
};
|
|
2430
|
-
const
|
|
2400
|
+
const de_SendTaskFailureOutput = (output, context) => {
|
|
2431
2401
|
return {};
|
|
2432
2402
|
};
|
|
2433
|
-
const
|
|
2403
|
+
const de_SendTaskHeartbeatOutput = (output, context) => {
|
|
2434
2404
|
return {};
|
|
2435
2405
|
};
|
|
2436
|
-
const
|
|
2406
|
+
const de_SendTaskSuccessOutput = (output, context) => {
|
|
2437
2407
|
return {};
|
|
2438
2408
|
};
|
|
2439
|
-
const
|
|
2409
|
+
const de_StartExecutionOutput = (output, context) => {
|
|
2440
2410
|
return {
|
|
2441
2411
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
2442
2412
|
startDate: output.startDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDate))) : undefined,
|
|
2443
2413
|
};
|
|
2444
2414
|
};
|
|
2445
|
-
const
|
|
2415
|
+
const de_StartSyncExecutionOutput = (output, context) => {
|
|
2446
2416
|
return {
|
|
2447
|
-
billingDetails: output.billingDetails != null ?
|
|
2417
|
+
billingDetails: output.billingDetails != null ? de_BillingDetails(output.billingDetails, context) : undefined,
|
|
2448
2418
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2449
2419
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2450
2420
|
executionArn: (0, smithy_client_1.expectString)(output.executionArn),
|
|
2451
2421
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2452
|
-
inputDetails: output.inputDetails != null
|
|
2453
|
-
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
2454
|
-
: undefined,
|
|
2422
|
+
inputDetails: output.inputDetails != null ? de_CloudWatchEventsExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2455
2423
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2456
2424
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2457
|
-
outputDetails: output.outputDetails != null
|
|
2458
|
-
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
2459
|
-
: undefined,
|
|
2425
|
+
outputDetails: output.outputDetails != null ? de_CloudWatchEventsExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2460
2426
|
startDate: output.startDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDate))) : undefined,
|
|
2461
2427
|
stateMachineArn: (0, smithy_client_1.expectString)(output.stateMachineArn),
|
|
2462
2428
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -2464,56 +2430,52 @@ const deserializeAws_json1_0StartSyncExecutionOutput = (output, context) => {
|
|
|
2464
2430
|
traceHeader: (0, smithy_client_1.expectString)(output.traceHeader),
|
|
2465
2431
|
};
|
|
2466
2432
|
};
|
|
2467
|
-
const
|
|
2433
|
+
const de_StateEnteredEventDetails = (output, context) => {
|
|
2468
2434
|
return {
|
|
2469
2435
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2470
|
-
inputDetails: output.inputDetails != null
|
|
2471
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2472
|
-
: undefined,
|
|
2436
|
+
inputDetails: output.inputDetails != null ? de_HistoryEventExecutionDataDetails(output.inputDetails, context) : undefined,
|
|
2473
2437
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2474
2438
|
};
|
|
2475
2439
|
};
|
|
2476
|
-
const
|
|
2440
|
+
const de_StateExitedEventDetails = (output, context) => {
|
|
2477
2441
|
return {
|
|
2478
2442
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2479
2443
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2480
|
-
outputDetails: output.outputDetails != null
|
|
2481
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2482
|
-
: undefined,
|
|
2444
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2483
2445
|
};
|
|
2484
2446
|
};
|
|
2485
|
-
const
|
|
2447
|
+
const de_StateMachineAlreadyExists = (output, context) => {
|
|
2486
2448
|
return {
|
|
2487
2449
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2488
2450
|
};
|
|
2489
2451
|
};
|
|
2490
|
-
const
|
|
2452
|
+
const de_StateMachineDeleting = (output, context) => {
|
|
2491
2453
|
return {
|
|
2492
2454
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2493
2455
|
};
|
|
2494
2456
|
};
|
|
2495
|
-
const
|
|
2457
|
+
const de_StateMachineDoesNotExist = (output, context) => {
|
|
2496
2458
|
return {
|
|
2497
2459
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2498
2460
|
};
|
|
2499
2461
|
};
|
|
2500
|
-
const
|
|
2462
|
+
const de_StateMachineLimitExceeded = (output, context) => {
|
|
2501
2463
|
return {
|
|
2502
2464
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2503
2465
|
};
|
|
2504
2466
|
};
|
|
2505
|
-
const
|
|
2467
|
+
const de_StateMachineList = (output, context) => {
|
|
2506
2468
|
const retVal = (output || [])
|
|
2507
2469
|
.filter((e) => e != null)
|
|
2508
2470
|
.map((entry) => {
|
|
2509
2471
|
if (entry === null) {
|
|
2510
2472
|
return null;
|
|
2511
2473
|
}
|
|
2512
|
-
return
|
|
2474
|
+
return de_StateMachineListItem(entry, context);
|
|
2513
2475
|
});
|
|
2514
2476
|
return retVal;
|
|
2515
2477
|
};
|
|
2516
|
-
const
|
|
2478
|
+
const de_StateMachineListItem = (output, context) => {
|
|
2517
2479
|
return {
|
|
2518
2480
|
creationDate: output.creationDate != null
|
|
2519
2481
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
@@ -2523,47 +2485,47 @@ const deserializeAws_json1_0StateMachineListItem = (output, context) => {
|
|
|
2523
2485
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
2524
2486
|
};
|
|
2525
2487
|
};
|
|
2526
|
-
const
|
|
2488
|
+
const de_StateMachineTypeNotSupported = (output, context) => {
|
|
2527
2489
|
return {
|
|
2528
2490
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2529
2491
|
};
|
|
2530
2492
|
};
|
|
2531
|
-
const
|
|
2493
|
+
const de_StopExecutionOutput = (output, context) => {
|
|
2532
2494
|
return {
|
|
2533
2495
|
stopDate: output.stopDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopDate))) : undefined,
|
|
2534
2496
|
};
|
|
2535
2497
|
};
|
|
2536
|
-
const
|
|
2498
|
+
const de_Tag = (output, context) => {
|
|
2537
2499
|
return {
|
|
2538
2500
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
2539
2501
|
value: (0, smithy_client_1.expectString)(output.value),
|
|
2540
2502
|
};
|
|
2541
2503
|
};
|
|
2542
|
-
const
|
|
2504
|
+
const de_TagList = (output, context) => {
|
|
2543
2505
|
const retVal = (output || [])
|
|
2544
2506
|
.filter((e) => e != null)
|
|
2545
2507
|
.map((entry) => {
|
|
2546
2508
|
if (entry === null) {
|
|
2547
2509
|
return null;
|
|
2548
2510
|
}
|
|
2549
|
-
return
|
|
2511
|
+
return de_Tag(entry, context);
|
|
2550
2512
|
});
|
|
2551
2513
|
return retVal;
|
|
2552
2514
|
};
|
|
2553
|
-
const
|
|
2515
|
+
const de_TagResourceOutput = (output, context) => {
|
|
2554
2516
|
return {};
|
|
2555
2517
|
};
|
|
2556
|
-
const
|
|
2518
|
+
const de_TaskCredentials = (output, context) => {
|
|
2557
2519
|
return {
|
|
2558
2520
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
2559
2521
|
};
|
|
2560
2522
|
};
|
|
2561
|
-
const
|
|
2523
|
+
const de_TaskDoesNotExist = (output, context) => {
|
|
2562
2524
|
return {
|
|
2563
2525
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2564
2526
|
};
|
|
2565
2527
|
};
|
|
2566
|
-
const
|
|
2528
|
+
const de_TaskFailedEventDetails = (output, context) => {
|
|
2567
2529
|
return {
|
|
2568
2530
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2569
2531
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
@@ -2571,26 +2533,24 @@ const deserializeAws_json1_0TaskFailedEventDetails = (output, context) => {
|
|
|
2571
2533
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2572
2534
|
};
|
|
2573
2535
|
};
|
|
2574
|
-
const
|
|
2536
|
+
const de_TaskScheduledEventDetails = (output, context) => {
|
|
2575
2537
|
return {
|
|
2576
2538
|
heartbeatInSeconds: (0, smithy_client_1.expectLong)(output.heartbeatInSeconds),
|
|
2577
2539
|
parameters: (0, smithy_client_1.expectString)(output.parameters),
|
|
2578
2540
|
region: (0, smithy_client_1.expectString)(output.region),
|
|
2579
2541
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2580
2542
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2581
|
-
taskCredentials: output.taskCredentials != null
|
|
2582
|
-
? deserializeAws_json1_0TaskCredentials(output.taskCredentials, context)
|
|
2583
|
-
: undefined,
|
|
2543
|
+
taskCredentials: output.taskCredentials != null ? de_TaskCredentials(output.taskCredentials, context) : undefined,
|
|
2584
2544
|
timeoutInSeconds: (0, smithy_client_1.expectLong)(output.timeoutInSeconds),
|
|
2585
2545
|
};
|
|
2586
2546
|
};
|
|
2587
|
-
const
|
|
2547
|
+
const de_TaskStartedEventDetails = (output, context) => {
|
|
2588
2548
|
return {
|
|
2589
2549
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2590
2550
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2591
2551
|
};
|
|
2592
2552
|
};
|
|
2593
|
-
const
|
|
2553
|
+
const de_TaskStartFailedEventDetails = (output, context) => {
|
|
2594
2554
|
return {
|
|
2595
2555
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2596
2556
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
@@ -2598,7 +2558,7 @@ const deserializeAws_json1_0TaskStartFailedEventDetails = (output, context) => {
|
|
|
2598
2558
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2599
2559
|
};
|
|
2600
2560
|
};
|
|
2601
|
-
const
|
|
2561
|
+
const de_TaskSubmitFailedEventDetails = (output, context) => {
|
|
2602
2562
|
return {
|
|
2603
2563
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2604
2564
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
@@ -2606,32 +2566,28 @@ const deserializeAws_json1_0TaskSubmitFailedEventDetails = (output, context) =>
|
|
|
2606
2566
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2607
2567
|
};
|
|
2608
2568
|
};
|
|
2609
|
-
const
|
|
2569
|
+
const de_TaskSubmittedEventDetails = (output, context) => {
|
|
2610
2570
|
return {
|
|
2611
2571
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2612
|
-
outputDetails: output.outputDetails != null
|
|
2613
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2614
|
-
: undefined,
|
|
2572
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2615
2573
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2616
2574
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2617
2575
|
};
|
|
2618
2576
|
};
|
|
2619
|
-
const
|
|
2577
|
+
const de_TaskSucceededEventDetails = (output, context) => {
|
|
2620
2578
|
return {
|
|
2621
2579
|
output: (0, smithy_client_1.expectString)(output.output),
|
|
2622
|
-
outputDetails: output.outputDetails != null
|
|
2623
|
-
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2624
|
-
: undefined,
|
|
2580
|
+
outputDetails: output.outputDetails != null ? de_HistoryEventExecutionDataDetails(output.outputDetails, context) : undefined,
|
|
2625
2581
|
resource: (0, smithy_client_1.expectString)(output.resource),
|
|
2626
2582
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2627
2583
|
};
|
|
2628
2584
|
};
|
|
2629
|
-
const
|
|
2585
|
+
const de_TaskTimedOut = (output, context) => {
|
|
2630
2586
|
return {
|
|
2631
2587
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2632
2588
|
};
|
|
2633
2589
|
};
|
|
2634
|
-
const
|
|
2590
|
+
const de_TaskTimedOutEventDetails = (output, context) => {
|
|
2635
2591
|
return {
|
|
2636
2592
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
2637
2593
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
@@ -2639,29 +2595,29 @@ const deserializeAws_json1_0TaskTimedOutEventDetails = (output, context) => {
|
|
|
2639
2595
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2640
2596
|
};
|
|
2641
2597
|
};
|
|
2642
|
-
const
|
|
2598
|
+
const de_TooManyTags = (output, context) => {
|
|
2643
2599
|
return {
|
|
2644
2600
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2645
2601
|
resourceName: (0, smithy_client_1.expectString)(output.resourceName),
|
|
2646
2602
|
};
|
|
2647
2603
|
};
|
|
2648
|
-
const
|
|
2604
|
+
const de_TracingConfiguration = (output, context) => {
|
|
2649
2605
|
return {
|
|
2650
2606
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
2651
2607
|
};
|
|
2652
2608
|
};
|
|
2653
|
-
const
|
|
2609
|
+
const de_UntagResourceOutput = (output, context) => {
|
|
2654
2610
|
return {};
|
|
2655
2611
|
};
|
|
2656
|
-
const
|
|
2612
|
+
const de_UpdateMapRunOutput = (output, context) => {
|
|
2657
2613
|
return {};
|
|
2658
2614
|
};
|
|
2659
|
-
const
|
|
2615
|
+
const de_UpdateStateMachineOutput = (output, context) => {
|
|
2660
2616
|
return {
|
|
2661
2617
|
updateDate: output.updateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDate))) : undefined,
|
|
2662
2618
|
};
|
|
2663
2619
|
};
|
|
2664
|
-
const
|
|
2620
|
+
const de_ValidationException = (output, context) => {
|
|
2665
2621
|
return {
|
|
2666
2622
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2667
2623
|
reason: (0, smithy_client_1.expectString)(output.reason),
|