@aws-sdk/client-codepipeline 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +450 -2129
- package/dist-es/protocols/Aws_json1_1.js +451 -2130
- package/package.json +6 -6
|
@@ -8,392 +8,275 @@ const uuid_1 = require("uuid");
|
|
|
8
8
|
const CodePipelineServiceException_1 = require("../models/CodePipelineServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AcknowledgeJobCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.1",
|
|
13
|
-
"x-amz-target": "CodePipeline_20150709.AcknowledgeJob",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("AcknowledgeJob");
|
|
15
12
|
let body;
|
|
16
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_AcknowledgeJobCommand = se_AcknowledgeJobCommand;
|
|
20
17
|
const se_AcknowledgeThirdPartyJobCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.1",
|
|
23
|
-
"x-amz-target": "CodePipeline_20150709.AcknowledgeThirdPartyJob",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("AcknowledgeThirdPartyJob");
|
|
25
19
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_AcknowledgeThirdPartyJobCommand = se_AcknowledgeThirdPartyJobCommand;
|
|
30
24
|
const se_CreateCustomActionTypeCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.1",
|
|
33
|
-
"x-amz-target": "CodePipeline_20150709.CreateCustomActionType",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("CreateCustomActionType");
|
|
35
26
|
let body;
|
|
36
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_CreateCustomActionTypeCommand = se_CreateCustomActionTypeCommand;
|
|
40
31
|
const se_CreatePipelineCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.1",
|
|
43
|
-
"x-amz-target": "CodePipeline_20150709.CreatePipeline",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("CreatePipeline");
|
|
45
33
|
let body;
|
|
46
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_CreatePipelineCommand = se_CreatePipelineCommand;
|
|
50
38
|
const se_DeleteCustomActionTypeCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "CodePipeline_20150709.DeleteCustomActionType",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("DeleteCustomActionType");
|
|
55
40
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_DeleteCustomActionTypeCommand = se_DeleteCustomActionTypeCommand;
|
|
60
45
|
const se_DeletePipelineCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "CodePipeline_20150709.DeletePipeline",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("DeletePipeline");
|
|
65
47
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_DeletePipelineCommand = se_DeletePipelineCommand;
|
|
70
52
|
const se_DeleteWebhookCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "CodePipeline_20150709.DeleteWebhook",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("DeleteWebhook");
|
|
75
54
|
let body;
|
|
76
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_DeleteWebhookCommand = se_DeleteWebhookCommand;
|
|
80
59
|
const se_DeregisterWebhookWithThirdPartyCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "CodePipeline_20150709.DeregisterWebhookWithThirdParty",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("DeregisterWebhookWithThirdParty");
|
|
85
61
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_DeregisterWebhookWithThirdPartyCommand = se_DeregisterWebhookWithThirdPartyCommand;
|
|
90
66
|
const se_DisableStageTransitionCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.1",
|
|
93
|
-
"x-amz-target": "CodePipeline_20150709.DisableStageTransition",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("DisableStageTransition");
|
|
95
68
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_DisableStageTransitionCommand = se_DisableStageTransitionCommand;
|
|
100
73
|
const se_EnableStageTransitionCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.1",
|
|
103
|
-
"x-amz-target": "CodePipeline_20150709.EnableStageTransition",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("EnableStageTransition");
|
|
105
75
|
let body;
|
|
106
|
-
body = JSON.stringify(
|
|
76
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_EnableStageTransitionCommand = se_EnableStageTransitionCommand;
|
|
110
80
|
const se_GetActionTypeCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.1",
|
|
113
|
-
"x-amz-target": "CodePipeline_20150709.GetActionType",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("GetActionType");
|
|
115
82
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_GetActionTypeCommand = se_GetActionTypeCommand;
|
|
120
87
|
const se_GetJobDetailsCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.1",
|
|
123
|
-
"x-amz-target": "CodePipeline_20150709.GetJobDetails",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("GetJobDetails");
|
|
125
89
|
let body;
|
|
126
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_GetJobDetailsCommand = se_GetJobDetailsCommand;
|
|
130
94
|
const se_GetPipelineCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.1",
|
|
133
|
-
"x-amz-target": "CodePipeline_20150709.GetPipeline",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("GetPipeline");
|
|
135
96
|
let body;
|
|
136
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_GetPipelineCommand = se_GetPipelineCommand;
|
|
140
101
|
const se_GetPipelineExecutionCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "CodePipeline_20150709.GetPipelineExecution",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("GetPipelineExecution");
|
|
145
103
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_GetPipelineExecutionCommand = se_GetPipelineExecutionCommand;
|
|
150
108
|
const se_GetPipelineStateCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "CodePipeline_20150709.GetPipelineState",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("GetPipelineState");
|
|
155
110
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_GetPipelineStateCommand = se_GetPipelineStateCommand;
|
|
160
115
|
const se_GetThirdPartyJobDetailsCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "CodePipeline_20150709.GetThirdPartyJobDetails",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("GetThirdPartyJobDetails");
|
|
165
117
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_GetThirdPartyJobDetailsCommand = se_GetThirdPartyJobDetailsCommand;
|
|
170
122
|
const se_ListActionExecutionsCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "CodePipeline_20150709.ListActionExecutions",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("ListActionExecutions");
|
|
175
124
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_ListActionExecutionsCommand = se_ListActionExecutionsCommand;
|
|
180
129
|
const se_ListActionTypesCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.1",
|
|
183
|
-
"x-amz-target": "CodePipeline_20150709.ListActionTypes",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("ListActionTypes");
|
|
185
131
|
let body;
|
|
186
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_ListActionTypesCommand = se_ListActionTypesCommand;
|
|
190
136
|
const se_ListPipelineExecutionsCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.1",
|
|
193
|
-
"x-amz-target": "CodePipeline_20150709.ListPipelineExecutions",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("ListPipelineExecutions");
|
|
195
138
|
let body;
|
|
196
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_ListPipelineExecutionsCommand = se_ListPipelineExecutionsCommand;
|
|
200
143
|
const se_ListPipelinesCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.1",
|
|
203
|
-
"x-amz-target": "CodePipeline_20150709.ListPipelines",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("ListPipelines");
|
|
205
145
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_ListPipelinesCommand = se_ListPipelinesCommand;
|
|
210
150
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.1",
|
|
213
|
-
"x-amz-target": "CodePipeline_20150709.ListTagsForResource",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
215
152
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
220
157
|
const se_ListWebhooksCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.1",
|
|
223
|
-
"x-amz-target": "CodePipeline_20150709.ListWebhooks",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("ListWebhooks");
|
|
225
159
|
let body;
|
|
226
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_ListWebhooksCommand = se_ListWebhooksCommand;
|
|
230
164
|
const se_PollForJobsCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "CodePipeline_20150709.PollForJobs",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("PollForJobs");
|
|
235
166
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_PollForJobsCommand = se_PollForJobsCommand;
|
|
240
171
|
const se_PollForThirdPartyJobsCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "CodePipeline_20150709.PollForThirdPartyJobs",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("PollForThirdPartyJobs");
|
|
245
173
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_PollForThirdPartyJobsCommand = se_PollForThirdPartyJobsCommand;
|
|
250
178
|
const se_PutActionRevisionCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "CodePipeline_20150709.PutActionRevision",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("PutActionRevision");
|
|
255
180
|
let body;
|
|
256
181
|
body = JSON.stringify(se_PutActionRevisionInput(input, context));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_PutActionRevisionCommand = se_PutActionRevisionCommand;
|
|
260
185
|
const se_PutApprovalResultCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "CodePipeline_20150709.PutApprovalResult",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("PutApprovalResult");
|
|
265
187
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_PutApprovalResultCommand = se_PutApprovalResultCommand;
|
|
270
192
|
const se_PutJobFailureResultCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.1",
|
|
273
|
-
"x-amz-target": "CodePipeline_20150709.PutJobFailureResult",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("PutJobFailureResult");
|
|
275
194
|
let body;
|
|
276
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_PutJobFailureResultCommand = se_PutJobFailureResultCommand;
|
|
280
199
|
const se_PutJobSuccessResultCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.1",
|
|
283
|
-
"x-amz-target": "CodePipeline_20150709.PutJobSuccessResult",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("PutJobSuccessResult");
|
|
285
201
|
let body;
|
|
286
202
|
body = JSON.stringify(se_PutJobSuccessResultInput(input, context));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_PutJobSuccessResultCommand = se_PutJobSuccessResultCommand;
|
|
290
206
|
const se_PutThirdPartyJobFailureResultCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.1",
|
|
293
|
-
"x-amz-target": "CodePipeline_20150709.PutThirdPartyJobFailureResult",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("PutThirdPartyJobFailureResult");
|
|
295
208
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_PutThirdPartyJobFailureResultCommand = se_PutThirdPartyJobFailureResultCommand;
|
|
300
213
|
const se_PutThirdPartyJobSuccessResultCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.1",
|
|
303
|
-
"x-amz-target": "CodePipeline_20150709.PutThirdPartyJobSuccessResult",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("PutThirdPartyJobSuccessResult");
|
|
305
215
|
let body;
|
|
306
216
|
body = JSON.stringify(se_PutThirdPartyJobSuccessResultInput(input, context));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_PutThirdPartyJobSuccessResultCommand = se_PutThirdPartyJobSuccessResultCommand;
|
|
310
220
|
const se_PutWebhookCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.1",
|
|
313
|
-
"x-amz-target": "CodePipeline_20150709.PutWebhook",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("PutWebhook");
|
|
315
222
|
let body;
|
|
316
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_PutWebhookCommand = se_PutWebhookCommand;
|
|
320
227
|
const se_RegisterWebhookWithThirdPartyCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "CodePipeline_20150709.RegisterWebhookWithThirdParty",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("RegisterWebhookWithThirdParty");
|
|
325
229
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_RegisterWebhookWithThirdPartyCommand = se_RegisterWebhookWithThirdPartyCommand;
|
|
330
234
|
const se_RetryStageExecutionCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "CodePipeline_20150709.RetryStageExecution",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("RetryStageExecution");
|
|
335
236
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
239
|
};
|
|
339
240
|
exports.se_RetryStageExecutionCommand = se_RetryStageExecutionCommand;
|
|
340
241
|
const se_StartPipelineExecutionCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "CodePipeline_20150709.StartPipelineExecution",
|
|
344
|
-
};
|
|
242
|
+
const headers = sharedHeaders("StartPipelineExecution");
|
|
345
243
|
let body;
|
|
346
244
|
body = JSON.stringify(se_StartPipelineExecutionInput(input, context));
|
|
347
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
246
|
};
|
|
349
247
|
exports.se_StartPipelineExecutionCommand = se_StartPipelineExecutionCommand;
|
|
350
248
|
const se_StopPipelineExecutionCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "CodePipeline_20150709.StopPipelineExecution",
|
|
354
|
-
};
|
|
249
|
+
const headers = sharedHeaders("StopPipelineExecution");
|
|
355
250
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
253
|
};
|
|
359
254
|
exports.se_StopPipelineExecutionCommand = se_StopPipelineExecutionCommand;
|
|
360
255
|
const se_TagResourceCommand = async (input, context) => {
|
|
361
|
-
const headers =
|
|
362
|
-
"content-type": "application/x-amz-json-1.1",
|
|
363
|
-
"x-amz-target": "CodePipeline_20150709.TagResource",
|
|
364
|
-
};
|
|
256
|
+
const headers = sharedHeaders("TagResource");
|
|
365
257
|
let body;
|
|
366
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
367
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
260
|
};
|
|
369
261
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
370
262
|
const se_UntagResourceCommand = async (input, context) => {
|
|
371
|
-
const headers =
|
|
372
|
-
"content-type": "application/x-amz-json-1.1",
|
|
373
|
-
"x-amz-target": "CodePipeline_20150709.UntagResource",
|
|
374
|
-
};
|
|
263
|
+
const headers = sharedHeaders("UntagResource");
|
|
375
264
|
let body;
|
|
376
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
377
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
267
|
};
|
|
379
268
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
380
269
|
const se_UpdateActionTypeCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-amz-json-1.1",
|
|
383
|
-
"x-amz-target": "CodePipeline_20150709.UpdateActionType",
|
|
384
|
-
};
|
|
270
|
+
const headers = sharedHeaders("UpdateActionType");
|
|
385
271
|
let body;
|
|
386
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
387
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
274
|
};
|
|
389
275
|
exports.se_UpdateActionTypeCommand = se_UpdateActionTypeCommand;
|
|
390
276
|
const se_UpdatePipelineCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-amz-json-1.1",
|
|
393
|
-
"x-amz-target": "CodePipeline_20150709.UpdatePipeline",
|
|
394
|
-
};
|
|
277
|
+
const headers = sharedHeaders("UpdatePipeline");
|
|
395
278
|
let body;
|
|
396
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
397
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
281
|
};
|
|
399
282
|
exports.se_UpdatePipelineCommand = se_UpdatePipelineCommand;
|
|
@@ -403,12 +286,12 @@ const de_AcknowledgeJobCommand = async (output, context) => {
|
|
|
403
286
|
}
|
|
404
287
|
const data = await parseBody(output.body, context);
|
|
405
288
|
let contents = {};
|
|
406
|
-
contents =
|
|
289
|
+
contents = (0, smithy_client_1._json)(data);
|
|
407
290
|
const response = {
|
|
408
291
|
$metadata: deserializeMetadata(output),
|
|
409
292
|
...contents,
|
|
410
293
|
};
|
|
411
|
-
return
|
|
294
|
+
return response;
|
|
412
295
|
};
|
|
413
296
|
exports.de_AcknowledgeJobCommand = de_AcknowledgeJobCommand;
|
|
414
297
|
const de_AcknowledgeJobCommandError = async (output, context) => {
|
|
@@ -429,10 +312,9 @@ const de_AcknowledgeJobCommandError = async (output, context) => {
|
|
|
429
312
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
430
313
|
default:
|
|
431
314
|
const parsedBody = parsedOutput.body;
|
|
432
|
-
|
|
315
|
+
return throwDefaultError({
|
|
433
316
|
output,
|
|
434
317
|
parsedBody,
|
|
435
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
436
318
|
errorCode,
|
|
437
319
|
});
|
|
438
320
|
}
|
|
@@ -443,12 +325,12 @@ const de_AcknowledgeThirdPartyJobCommand = async (output, context) => {
|
|
|
443
325
|
}
|
|
444
326
|
const data = await parseBody(output.body, context);
|
|
445
327
|
let contents = {};
|
|
446
|
-
contents =
|
|
328
|
+
contents = (0, smithy_client_1._json)(data);
|
|
447
329
|
const response = {
|
|
448
330
|
$metadata: deserializeMetadata(output),
|
|
449
331
|
...contents,
|
|
450
332
|
};
|
|
451
|
-
return
|
|
333
|
+
return response;
|
|
452
334
|
};
|
|
453
335
|
exports.de_AcknowledgeThirdPartyJobCommand = de_AcknowledgeThirdPartyJobCommand;
|
|
454
336
|
const de_AcknowledgeThirdPartyJobCommandError = async (output, context) => {
|
|
@@ -472,10 +354,9 @@ const de_AcknowledgeThirdPartyJobCommandError = async (output, context) => {
|
|
|
472
354
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
473
355
|
default:
|
|
474
356
|
const parsedBody = parsedOutput.body;
|
|
475
|
-
|
|
357
|
+
return throwDefaultError({
|
|
476
358
|
output,
|
|
477
359
|
parsedBody,
|
|
478
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
479
360
|
errorCode,
|
|
480
361
|
});
|
|
481
362
|
}
|
|
@@ -486,12 +367,12 @@ const de_CreateCustomActionTypeCommand = async (output, context) => {
|
|
|
486
367
|
}
|
|
487
368
|
const data = await parseBody(output.body, context);
|
|
488
369
|
let contents = {};
|
|
489
|
-
contents =
|
|
370
|
+
contents = (0, smithy_client_1._json)(data);
|
|
490
371
|
const response = {
|
|
491
372
|
$metadata: deserializeMetadata(output),
|
|
492
373
|
...contents,
|
|
493
374
|
};
|
|
494
|
-
return
|
|
375
|
+
return response;
|
|
495
376
|
};
|
|
496
377
|
exports.de_CreateCustomActionTypeCommand = de_CreateCustomActionTypeCommand;
|
|
497
378
|
const de_CreateCustomActionTypeCommandError = async (output, context) => {
|
|
@@ -518,10 +399,9 @@ const de_CreateCustomActionTypeCommandError = async (output, context) => {
|
|
|
518
399
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
519
400
|
default:
|
|
520
401
|
const parsedBody = parsedOutput.body;
|
|
521
|
-
|
|
402
|
+
return throwDefaultError({
|
|
522
403
|
output,
|
|
523
404
|
parsedBody,
|
|
524
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
525
405
|
errorCode,
|
|
526
406
|
});
|
|
527
407
|
}
|
|
@@ -532,12 +412,12 @@ const de_CreatePipelineCommand = async (output, context) => {
|
|
|
532
412
|
}
|
|
533
413
|
const data = await parseBody(output.body, context);
|
|
534
414
|
let contents = {};
|
|
535
|
-
contents =
|
|
415
|
+
contents = (0, smithy_client_1._json)(data);
|
|
536
416
|
const response = {
|
|
537
417
|
$metadata: deserializeMetadata(output),
|
|
538
418
|
...contents,
|
|
539
419
|
};
|
|
540
|
-
return
|
|
420
|
+
return response;
|
|
541
421
|
};
|
|
542
422
|
exports.de_CreatePipelineCommand = de_CreatePipelineCommand;
|
|
543
423
|
const de_CreatePipelineCommandError = async (output, context) => {
|
|
@@ -579,10 +459,9 @@ const de_CreatePipelineCommandError = async (output, context) => {
|
|
|
579
459
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
580
460
|
default:
|
|
581
461
|
const parsedBody = parsedOutput.body;
|
|
582
|
-
|
|
462
|
+
return throwDefaultError({
|
|
583
463
|
output,
|
|
584
464
|
parsedBody,
|
|
585
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
586
465
|
errorCode,
|
|
587
466
|
});
|
|
588
467
|
}
|
|
@@ -595,7 +474,7 @@ const de_DeleteCustomActionTypeCommand = async (output, context) => {
|
|
|
595
474
|
const response = {
|
|
596
475
|
$metadata: deserializeMetadata(output),
|
|
597
476
|
};
|
|
598
|
-
return
|
|
477
|
+
return response;
|
|
599
478
|
};
|
|
600
479
|
exports.de_DeleteCustomActionTypeCommand = de_DeleteCustomActionTypeCommand;
|
|
601
480
|
const de_DeleteCustomActionTypeCommandError = async (output, context) => {
|
|
@@ -613,10 +492,9 @@ const de_DeleteCustomActionTypeCommandError = async (output, context) => {
|
|
|
613
492
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
614
493
|
default:
|
|
615
494
|
const parsedBody = parsedOutput.body;
|
|
616
|
-
|
|
495
|
+
return throwDefaultError({
|
|
617
496
|
output,
|
|
618
497
|
parsedBody,
|
|
619
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
620
498
|
errorCode,
|
|
621
499
|
});
|
|
622
500
|
}
|
|
@@ -629,7 +507,7 @@ const de_DeletePipelineCommand = async (output, context) => {
|
|
|
629
507
|
const response = {
|
|
630
508
|
$metadata: deserializeMetadata(output),
|
|
631
509
|
};
|
|
632
|
-
return
|
|
510
|
+
return response;
|
|
633
511
|
};
|
|
634
512
|
exports.de_DeletePipelineCommand = de_DeletePipelineCommand;
|
|
635
513
|
const de_DeletePipelineCommandError = async (output, context) => {
|
|
@@ -647,10 +525,9 @@ const de_DeletePipelineCommandError = async (output, context) => {
|
|
|
647
525
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
648
526
|
default:
|
|
649
527
|
const parsedBody = parsedOutput.body;
|
|
650
|
-
|
|
528
|
+
return throwDefaultError({
|
|
651
529
|
output,
|
|
652
530
|
parsedBody,
|
|
653
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
654
531
|
errorCode,
|
|
655
532
|
});
|
|
656
533
|
}
|
|
@@ -661,12 +538,12 @@ const de_DeleteWebhookCommand = async (output, context) => {
|
|
|
661
538
|
}
|
|
662
539
|
const data = await parseBody(output.body, context);
|
|
663
540
|
let contents = {};
|
|
664
|
-
contents =
|
|
541
|
+
contents = (0, smithy_client_1._json)(data);
|
|
665
542
|
const response = {
|
|
666
543
|
$metadata: deserializeMetadata(output),
|
|
667
544
|
...contents,
|
|
668
545
|
};
|
|
669
|
-
return
|
|
546
|
+
return response;
|
|
670
547
|
};
|
|
671
548
|
exports.de_DeleteWebhookCommand = de_DeleteWebhookCommand;
|
|
672
549
|
const de_DeleteWebhookCommandError = async (output, context) => {
|
|
@@ -684,10 +561,9 @@ const de_DeleteWebhookCommandError = async (output, context) => {
|
|
|
684
561
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
685
562
|
default:
|
|
686
563
|
const parsedBody = parsedOutput.body;
|
|
687
|
-
|
|
564
|
+
return throwDefaultError({
|
|
688
565
|
output,
|
|
689
566
|
parsedBody,
|
|
690
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
691
567
|
errorCode,
|
|
692
568
|
});
|
|
693
569
|
}
|
|
@@ -698,12 +574,12 @@ const de_DeregisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
|
698
574
|
}
|
|
699
575
|
const data = await parseBody(output.body, context);
|
|
700
576
|
let contents = {};
|
|
701
|
-
contents =
|
|
577
|
+
contents = (0, smithy_client_1._json)(data);
|
|
702
578
|
const response = {
|
|
703
579
|
$metadata: deserializeMetadata(output),
|
|
704
580
|
...contents,
|
|
705
581
|
};
|
|
706
|
-
return
|
|
582
|
+
return response;
|
|
707
583
|
};
|
|
708
584
|
exports.de_DeregisterWebhookWithThirdPartyCommand = de_DeregisterWebhookWithThirdPartyCommand;
|
|
709
585
|
const de_DeregisterWebhookWithThirdPartyCommandError = async (output, context) => {
|
|
@@ -721,10 +597,9 @@ const de_DeregisterWebhookWithThirdPartyCommandError = async (output, context) =
|
|
|
721
597
|
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
722
598
|
default:
|
|
723
599
|
const parsedBody = parsedOutput.body;
|
|
724
|
-
|
|
600
|
+
return throwDefaultError({
|
|
725
601
|
output,
|
|
726
602
|
parsedBody,
|
|
727
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
728
603
|
errorCode,
|
|
729
604
|
});
|
|
730
605
|
}
|
|
@@ -737,7 +612,7 @@ const de_DisableStageTransitionCommand = async (output, context) => {
|
|
|
737
612
|
const response = {
|
|
738
613
|
$metadata: deserializeMetadata(output),
|
|
739
614
|
};
|
|
740
|
-
return
|
|
615
|
+
return response;
|
|
741
616
|
};
|
|
742
617
|
exports.de_DisableStageTransitionCommand = de_DisableStageTransitionCommand;
|
|
743
618
|
const de_DisableStageTransitionCommandError = async (output, context) => {
|
|
@@ -758,10 +633,9 @@ const de_DisableStageTransitionCommandError = async (output, context) => {
|
|
|
758
633
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
759
634
|
default:
|
|
760
635
|
const parsedBody = parsedOutput.body;
|
|
761
|
-
|
|
636
|
+
return throwDefaultError({
|
|
762
637
|
output,
|
|
763
638
|
parsedBody,
|
|
764
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
765
639
|
errorCode,
|
|
766
640
|
});
|
|
767
641
|
}
|
|
@@ -774,7 +648,7 @@ const de_EnableStageTransitionCommand = async (output, context) => {
|
|
|
774
648
|
const response = {
|
|
775
649
|
$metadata: deserializeMetadata(output),
|
|
776
650
|
};
|
|
777
|
-
return
|
|
651
|
+
return response;
|
|
778
652
|
};
|
|
779
653
|
exports.de_EnableStageTransitionCommand = de_EnableStageTransitionCommand;
|
|
780
654
|
const de_EnableStageTransitionCommandError = async (output, context) => {
|
|
@@ -795,10 +669,9 @@ const de_EnableStageTransitionCommandError = async (output, context) => {
|
|
|
795
669
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
796
670
|
default:
|
|
797
671
|
const parsedBody = parsedOutput.body;
|
|
798
|
-
|
|
672
|
+
return throwDefaultError({
|
|
799
673
|
output,
|
|
800
674
|
parsedBody,
|
|
801
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
802
675
|
errorCode,
|
|
803
676
|
});
|
|
804
677
|
}
|
|
@@ -809,12 +682,12 @@ const de_GetActionTypeCommand = async (output, context) => {
|
|
|
809
682
|
}
|
|
810
683
|
const data = await parseBody(output.body, context);
|
|
811
684
|
let contents = {};
|
|
812
|
-
contents =
|
|
685
|
+
contents = (0, smithy_client_1._json)(data);
|
|
813
686
|
const response = {
|
|
814
687
|
$metadata: deserializeMetadata(output),
|
|
815
688
|
...contents,
|
|
816
689
|
};
|
|
817
|
-
return
|
|
690
|
+
return response;
|
|
818
691
|
};
|
|
819
692
|
exports.de_GetActionTypeCommand = de_GetActionTypeCommand;
|
|
820
693
|
const de_GetActionTypeCommandError = async (output, context) => {
|
|
@@ -832,10 +705,9 @@ const de_GetActionTypeCommandError = async (output, context) => {
|
|
|
832
705
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
833
706
|
default:
|
|
834
707
|
const parsedBody = parsedOutput.body;
|
|
835
|
-
|
|
708
|
+
return throwDefaultError({
|
|
836
709
|
output,
|
|
837
710
|
parsedBody,
|
|
838
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
839
711
|
errorCode,
|
|
840
712
|
});
|
|
841
713
|
}
|
|
@@ -846,12 +718,12 @@ const de_GetJobDetailsCommand = async (output, context) => {
|
|
|
846
718
|
}
|
|
847
719
|
const data = await parseBody(output.body, context);
|
|
848
720
|
let contents = {};
|
|
849
|
-
contents =
|
|
721
|
+
contents = (0, smithy_client_1._json)(data);
|
|
850
722
|
const response = {
|
|
851
723
|
$metadata: deserializeMetadata(output),
|
|
852
724
|
...contents,
|
|
853
725
|
};
|
|
854
|
-
return
|
|
726
|
+
return response;
|
|
855
727
|
};
|
|
856
728
|
exports.de_GetJobDetailsCommand = de_GetJobDetailsCommand;
|
|
857
729
|
const de_GetJobDetailsCommandError = async (output, context) => {
|
|
@@ -869,10 +741,9 @@ const de_GetJobDetailsCommandError = async (output, context) => {
|
|
|
869
741
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
870
742
|
default:
|
|
871
743
|
const parsedBody = parsedOutput.body;
|
|
872
|
-
|
|
744
|
+
return throwDefaultError({
|
|
873
745
|
output,
|
|
874
746
|
parsedBody,
|
|
875
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
876
747
|
errorCode,
|
|
877
748
|
});
|
|
878
749
|
}
|
|
@@ -888,7 +759,7 @@ const de_GetPipelineCommand = async (output, context) => {
|
|
|
888
759
|
$metadata: deserializeMetadata(output),
|
|
889
760
|
...contents,
|
|
890
761
|
};
|
|
891
|
-
return
|
|
762
|
+
return response;
|
|
892
763
|
};
|
|
893
764
|
exports.de_GetPipelineCommand = de_GetPipelineCommand;
|
|
894
765
|
const de_GetPipelineCommandError = async (output, context) => {
|
|
@@ -909,10 +780,9 @@ const de_GetPipelineCommandError = async (output, context) => {
|
|
|
909
780
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
910
781
|
default:
|
|
911
782
|
const parsedBody = parsedOutput.body;
|
|
912
|
-
|
|
783
|
+
return throwDefaultError({
|
|
913
784
|
output,
|
|
914
785
|
parsedBody,
|
|
915
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
916
786
|
errorCode,
|
|
917
787
|
});
|
|
918
788
|
}
|
|
@@ -928,7 +798,7 @@ const de_GetPipelineExecutionCommand = async (output, context) => {
|
|
|
928
798
|
$metadata: deserializeMetadata(output),
|
|
929
799
|
...contents,
|
|
930
800
|
};
|
|
931
|
-
return
|
|
801
|
+
return response;
|
|
932
802
|
};
|
|
933
803
|
exports.de_GetPipelineExecutionCommand = de_GetPipelineExecutionCommand;
|
|
934
804
|
const de_GetPipelineExecutionCommandError = async (output, context) => {
|
|
@@ -949,10 +819,9 @@ const de_GetPipelineExecutionCommandError = async (output, context) => {
|
|
|
949
819
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
950
820
|
default:
|
|
951
821
|
const parsedBody = parsedOutput.body;
|
|
952
|
-
|
|
822
|
+
return throwDefaultError({
|
|
953
823
|
output,
|
|
954
824
|
parsedBody,
|
|
955
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
956
825
|
errorCode,
|
|
957
826
|
});
|
|
958
827
|
}
|
|
@@ -968,7 +837,7 @@ const de_GetPipelineStateCommand = async (output, context) => {
|
|
|
968
837
|
$metadata: deserializeMetadata(output),
|
|
969
838
|
...contents,
|
|
970
839
|
};
|
|
971
|
-
return
|
|
840
|
+
return response;
|
|
972
841
|
};
|
|
973
842
|
exports.de_GetPipelineStateCommand = de_GetPipelineStateCommand;
|
|
974
843
|
const de_GetPipelineStateCommandError = async (output, context) => {
|
|
@@ -986,10 +855,9 @@ const de_GetPipelineStateCommandError = async (output, context) => {
|
|
|
986
855
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
987
856
|
default:
|
|
988
857
|
const parsedBody = parsedOutput.body;
|
|
989
|
-
|
|
858
|
+
return throwDefaultError({
|
|
990
859
|
output,
|
|
991
860
|
parsedBody,
|
|
992
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
993
861
|
errorCode,
|
|
994
862
|
});
|
|
995
863
|
}
|
|
@@ -1000,12 +868,12 @@ const de_GetThirdPartyJobDetailsCommand = async (output, context) => {
|
|
|
1000
868
|
}
|
|
1001
869
|
const data = await parseBody(output.body, context);
|
|
1002
870
|
let contents = {};
|
|
1003
|
-
contents =
|
|
871
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1004
872
|
const response = {
|
|
1005
873
|
$metadata: deserializeMetadata(output),
|
|
1006
874
|
...contents,
|
|
1007
875
|
};
|
|
1008
|
-
return
|
|
876
|
+
return response;
|
|
1009
877
|
};
|
|
1010
878
|
exports.de_GetThirdPartyJobDetailsCommand = de_GetThirdPartyJobDetailsCommand;
|
|
1011
879
|
const de_GetThirdPartyJobDetailsCommandError = async (output, context) => {
|
|
@@ -1029,10 +897,9 @@ const de_GetThirdPartyJobDetailsCommandError = async (output, context) => {
|
|
|
1029
897
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1030
898
|
default:
|
|
1031
899
|
const parsedBody = parsedOutput.body;
|
|
1032
|
-
|
|
900
|
+
return throwDefaultError({
|
|
1033
901
|
output,
|
|
1034
902
|
parsedBody,
|
|
1035
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1036
903
|
errorCode,
|
|
1037
904
|
});
|
|
1038
905
|
}
|
|
@@ -1048,7 +915,7 @@ const de_ListActionExecutionsCommand = async (output, context) => {
|
|
|
1048
915
|
$metadata: deserializeMetadata(output),
|
|
1049
916
|
...contents,
|
|
1050
917
|
};
|
|
1051
|
-
return
|
|
918
|
+
return response;
|
|
1052
919
|
};
|
|
1053
920
|
exports.de_ListActionExecutionsCommand = de_ListActionExecutionsCommand;
|
|
1054
921
|
const de_ListActionExecutionsCommandError = async (output, context) => {
|
|
@@ -1072,10 +939,9 @@ const de_ListActionExecutionsCommandError = async (output, context) => {
|
|
|
1072
939
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1073
940
|
default:
|
|
1074
941
|
const parsedBody = parsedOutput.body;
|
|
1075
|
-
|
|
942
|
+
return throwDefaultError({
|
|
1076
943
|
output,
|
|
1077
944
|
parsedBody,
|
|
1078
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1079
945
|
errorCode,
|
|
1080
946
|
});
|
|
1081
947
|
}
|
|
@@ -1086,12 +952,12 @@ const de_ListActionTypesCommand = async (output, context) => {
|
|
|
1086
952
|
}
|
|
1087
953
|
const data = await parseBody(output.body, context);
|
|
1088
954
|
let contents = {};
|
|
1089
|
-
contents =
|
|
955
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1090
956
|
const response = {
|
|
1091
957
|
$metadata: deserializeMetadata(output),
|
|
1092
958
|
...contents,
|
|
1093
959
|
};
|
|
1094
|
-
return
|
|
960
|
+
return response;
|
|
1095
961
|
};
|
|
1096
962
|
exports.de_ListActionTypesCommand = de_ListActionTypesCommand;
|
|
1097
963
|
const de_ListActionTypesCommandError = async (output, context) => {
|
|
@@ -1109,10 +975,9 @@ const de_ListActionTypesCommandError = async (output, context) => {
|
|
|
1109
975
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1110
976
|
default:
|
|
1111
977
|
const parsedBody = parsedOutput.body;
|
|
1112
|
-
|
|
978
|
+
return throwDefaultError({
|
|
1113
979
|
output,
|
|
1114
980
|
parsedBody,
|
|
1115
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1116
981
|
errorCode,
|
|
1117
982
|
});
|
|
1118
983
|
}
|
|
@@ -1128,7 +993,7 @@ const de_ListPipelineExecutionsCommand = async (output, context) => {
|
|
|
1128
993
|
$metadata: deserializeMetadata(output),
|
|
1129
994
|
...contents,
|
|
1130
995
|
};
|
|
1131
|
-
return
|
|
996
|
+
return response;
|
|
1132
997
|
};
|
|
1133
998
|
exports.de_ListPipelineExecutionsCommand = de_ListPipelineExecutionsCommand;
|
|
1134
999
|
const de_ListPipelineExecutionsCommandError = async (output, context) => {
|
|
@@ -1149,10 +1014,9 @@ const de_ListPipelineExecutionsCommandError = async (output, context) => {
|
|
|
1149
1014
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1150
1015
|
default:
|
|
1151
1016
|
const parsedBody = parsedOutput.body;
|
|
1152
|
-
|
|
1017
|
+
return throwDefaultError({
|
|
1153
1018
|
output,
|
|
1154
1019
|
parsedBody,
|
|
1155
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1156
1020
|
errorCode,
|
|
1157
1021
|
});
|
|
1158
1022
|
}
|
|
@@ -1168,7 +1032,7 @@ const de_ListPipelinesCommand = async (output, context) => {
|
|
|
1168
1032
|
$metadata: deserializeMetadata(output),
|
|
1169
1033
|
...contents,
|
|
1170
1034
|
};
|
|
1171
|
-
return
|
|
1035
|
+
return response;
|
|
1172
1036
|
};
|
|
1173
1037
|
exports.de_ListPipelinesCommand = de_ListPipelinesCommand;
|
|
1174
1038
|
const de_ListPipelinesCommandError = async (output, context) => {
|
|
@@ -1186,10 +1050,9 @@ const de_ListPipelinesCommandError = async (output, context) => {
|
|
|
1186
1050
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1187
1051
|
default:
|
|
1188
1052
|
const parsedBody = parsedOutput.body;
|
|
1189
|
-
|
|
1053
|
+
return throwDefaultError({
|
|
1190
1054
|
output,
|
|
1191
1055
|
parsedBody,
|
|
1192
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1193
1056
|
errorCode,
|
|
1194
1057
|
});
|
|
1195
1058
|
}
|
|
@@ -1200,12 +1063,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1200
1063
|
}
|
|
1201
1064
|
const data = await parseBody(output.body, context);
|
|
1202
1065
|
let contents = {};
|
|
1203
|
-
contents =
|
|
1066
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1204
1067
|
const response = {
|
|
1205
1068
|
$metadata: deserializeMetadata(output),
|
|
1206
1069
|
...contents,
|
|
1207
1070
|
};
|
|
1208
|
-
return
|
|
1071
|
+
return response;
|
|
1209
1072
|
};
|
|
1210
1073
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1211
1074
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1229,10 +1092,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1229
1092
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1230
1093
|
default:
|
|
1231
1094
|
const parsedBody = parsedOutput.body;
|
|
1232
|
-
|
|
1095
|
+
return throwDefaultError({
|
|
1233
1096
|
output,
|
|
1234
1097
|
parsedBody,
|
|
1235
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1236
1098
|
errorCode,
|
|
1237
1099
|
});
|
|
1238
1100
|
}
|
|
@@ -1248,7 +1110,7 @@ const de_ListWebhooksCommand = async (output, context) => {
|
|
|
1248
1110
|
$metadata: deserializeMetadata(output),
|
|
1249
1111
|
...contents,
|
|
1250
1112
|
};
|
|
1251
|
-
return
|
|
1113
|
+
return response;
|
|
1252
1114
|
};
|
|
1253
1115
|
exports.de_ListWebhooksCommand = de_ListWebhooksCommand;
|
|
1254
1116
|
const de_ListWebhooksCommandError = async (output, context) => {
|
|
@@ -1266,10 +1128,9 @@ const de_ListWebhooksCommandError = async (output, context) => {
|
|
|
1266
1128
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1267
1129
|
default:
|
|
1268
1130
|
const parsedBody = parsedOutput.body;
|
|
1269
|
-
|
|
1131
|
+
return throwDefaultError({
|
|
1270
1132
|
output,
|
|
1271
1133
|
parsedBody,
|
|
1272
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1273
1134
|
errorCode,
|
|
1274
1135
|
});
|
|
1275
1136
|
}
|
|
@@ -1280,12 +1141,12 @@ const de_PollForJobsCommand = async (output, context) => {
|
|
|
1280
1141
|
}
|
|
1281
1142
|
const data = await parseBody(output.body, context);
|
|
1282
1143
|
let contents = {};
|
|
1283
|
-
contents =
|
|
1144
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1284
1145
|
const response = {
|
|
1285
1146
|
$metadata: deserializeMetadata(output),
|
|
1286
1147
|
...contents,
|
|
1287
1148
|
};
|
|
1288
|
-
return
|
|
1149
|
+
return response;
|
|
1289
1150
|
};
|
|
1290
1151
|
exports.de_PollForJobsCommand = de_PollForJobsCommand;
|
|
1291
1152
|
const de_PollForJobsCommandError = async (output, context) => {
|
|
@@ -1303,10 +1164,9 @@ const de_PollForJobsCommandError = async (output, context) => {
|
|
|
1303
1164
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1304
1165
|
default:
|
|
1305
1166
|
const parsedBody = parsedOutput.body;
|
|
1306
|
-
|
|
1167
|
+
return throwDefaultError({
|
|
1307
1168
|
output,
|
|
1308
1169
|
parsedBody,
|
|
1309
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1310
1170
|
errorCode,
|
|
1311
1171
|
});
|
|
1312
1172
|
}
|
|
@@ -1317,12 +1177,12 @@ const de_PollForThirdPartyJobsCommand = async (output, context) => {
|
|
|
1317
1177
|
}
|
|
1318
1178
|
const data = await parseBody(output.body, context);
|
|
1319
1179
|
let contents = {};
|
|
1320
|
-
contents =
|
|
1180
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1321
1181
|
const response = {
|
|
1322
1182
|
$metadata: deserializeMetadata(output),
|
|
1323
1183
|
...contents,
|
|
1324
1184
|
};
|
|
1325
|
-
return
|
|
1185
|
+
return response;
|
|
1326
1186
|
};
|
|
1327
1187
|
exports.de_PollForThirdPartyJobsCommand = de_PollForThirdPartyJobsCommand;
|
|
1328
1188
|
const de_PollForThirdPartyJobsCommandError = async (output, context) => {
|
|
@@ -1340,10 +1200,9 @@ const de_PollForThirdPartyJobsCommandError = async (output, context) => {
|
|
|
1340
1200
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1341
1201
|
default:
|
|
1342
1202
|
const parsedBody = parsedOutput.body;
|
|
1343
|
-
|
|
1203
|
+
return throwDefaultError({
|
|
1344
1204
|
output,
|
|
1345
1205
|
parsedBody,
|
|
1346
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1347
1206
|
errorCode,
|
|
1348
1207
|
});
|
|
1349
1208
|
}
|
|
@@ -1354,12 +1213,12 @@ const de_PutActionRevisionCommand = async (output, context) => {
|
|
|
1354
1213
|
}
|
|
1355
1214
|
const data = await parseBody(output.body, context);
|
|
1356
1215
|
let contents = {};
|
|
1357
|
-
contents =
|
|
1216
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1358
1217
|
const response = {
|
|
1359
1218
|
$metadata: deserializeMetadata(output),
|
|
1360
1219
|
...contents,
|
|
1361
1220
|
};
|
|
1362
|
-
return
|
|
1221
|
+
return response;
|
|
1363
1222
|
};
|
|
1364
1223
|
exports.de_PutActionRevisionCommand = de_PutActionRevisionCommand;
|
|
1365
1224
|
const de_PutActionRevisionCommandError = async (output, context) => {
|
|
@@ -1383,10 +1242,9 @@ const de_PutActionRevisionCommandError = async (output, context) => {
|
|
|
1383
1242
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1384
1243
|
default:
|
|
1385
1244
|
const parsedBody = parsedOutput.body;
|
|
1386
|
-
|
|
1245
|
+
return throwDefaultError({
|
|
1387
1246
|
output,
|
|
1388
1247
|
parsedBody,
|
|
1389
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1390
1248
|
errorCode,
|
|
1391
1249
|
});
|
|
1392
1250
|
}
|
|
@@ -1402,7 +1260,7 @@ const de_PutApprovalResultCommand = async (output, context) => {
|
|
|
1402
1260
|
$metadata: deserializeMetadata(output),
|
|
1403
1261
|
...contents,
|
|
1404
1262
|
};
|
|
1405
|
-
return
|
|
1263
|
+
return response;
|
|
1406
1264
|
};
|
|
1407
1265
|
exports.de_PutApprovalResultCommand = de_PutApprovalResultCommand;
|
|
1408
1266
|
const de_PutApprovalResultCommandError = async (output, context) => {
|
|
@@ -1432,10 +1290,9 @@ const de_PutApprovalResultCommandError = async (output, context) => {
|
|
|
1432
1290
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1433
1291
|
default:
|
|
1434
1292
|
const parsedBody = parsedOutput.body;
|
|
1435
|
-
|
|
1293
|
+
return throwDefaultError({
|
|
1436
1294
|
output,
|
|
1437
1295
|
parsedBody,
|
|
1438
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1439
1296
|
errorCode,
|
|
1440
1297
|
});
|
|
1441
1298
|
}
|
|
@@ -1448,7 +1305,7 @@ const de_PutJobFailureResultCommand = async (output, context) => {
|
|
|
1448
1305
|
const response = {
|
|
1449
1306
|
$metadata: deserializeMetadata(output),
|
|
1450
1307
|
};
|
|
1451
|
-
return
|
|
1308
|
+
return response;
|
|
1452
1309
|
};
|
|
1453
1310
|
exports.de_PutJobFailureResultCommand = de_PutJobFailureResultCommand;
|
|
1454
1311
|
const de_PutJobFailureResultCommandError = async (output, context) => {
|
|
@@ -1469,10 +1326,9 @@ const de_PutJobFailureResultCommandError = async (output, context) => {
|
|
|
1469
1326
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1470
1327
|
default:
|
|
1471
1328
|
const parsedBody = parsedOutput.body;
|
|
1472
|
-
|
|
1329
|
+
return throwDefaultError({
|
|
1473
1330
|
output,
|
|
1474
1331
|
parsedBody,
|
|
1475
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1476
1332
|
errorCode,
|
|
1477
1333
|
});
|
|
1478
1334
|
}
|
|
@@ -1485,7 +1341,7 @@ const de_PutJobSuccessResultCommand = async (output, context) => {
|
|
|
1485
1341
|
const response = {
|
|
1486
1342
|
$metadata: deserializeMetadata(output),
|
|
1487
1343
|
};
|
|
1488
|
-
return
|
|
1344
|
+
return response;
|
|
1489
1345
|
};
|
|
1490
1346
|
exports.de_PutJobSuccessResultCommand = de_PutJobSuccessResultCommand;
|
|
1491
1347
|
const de_PutJobSuccessResultCommandError = async (output, context) => {
|
|
@@ -1509,10 +1365,9 @@ const de_PutJobSuccessResultCommandError = async (output, context) => {
|
|
|
1509
1365
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1510
1366
|
default:
|
|
1511
1367
|
const parsedBody = parsedOutput.body;
|
|
1512
|
-
|
|
1368
|
+
return throwDefaultError({
|
|
1513
1369
|
output,
|
|
1514
1370
|
parsedBody,
|
|
1515
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1516
1371
|
errorCode,
|
|
1517
1372
|
});
|
|
1518
1373
|
}
|
|
@@ -1525,7 +1380,7 @@ const de_PutThirdPartyJobFailureResultCommand = async (output, context) => {
|
|
|
1525
1380
|
const response = {
|
|
1526
1381
|
$metadata: deserializeMetadata(output),
|
|
1527
1382
|
};
|
|
1528
|
-
return
|
|
1383
|
+
return response;
|
|
1529
1384
|
};
|
|
1530
1385
|
exports.de_PutThirdPartyJobFailureResultCommand = de_PutThirdPartyJobFailureResultCommand;
|
|
1531
1386
|
const de_PutThirdPartyJobFailureResultCommandError = async (output, context) => {
|
|
@@ -1549,10 +1404,9 @@ const de_PutThirdPartyJobFailureResultCommandError = async (output, context) =>
|
|
|
1549
1404
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1550
1405
|
default:
|
|
1551
1406
|
const parsedBody = parsedOutput.body;
|
|
1552
|
-
|
|
1407
|
+
return throwDefaultError({
|
|
1553
1408
|
output,
|
|
1554
1409
|
parsedBody,
|
|
1555
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1556
1410
|
errorCode,
|
|
1557
1411
|
});
|
|
1558
1412
|
}
|
|
@@ -1565,7 +1419,7 @@ const de_PutThirdPartyJobSuccessResultCommand = async (output, context) => {
|
|
|
1565
1419
|
const response = {
|
|
1566
1420
|
$metadata: deserializeMetadata(output),
|
|
1567
1421
|
};
|
|
1568
|
-
return
|
|
1422
|
+
return response;
|
|
1569
1423
|
};
|
|
1570
1424
|
exports.de_PutThirdPartyJobSuccessResultCommand = de_PutThirdPartyJobSuccessResultCommand;
|
|
1571
1425
|
const de_PutThirdPartyJobSuccessResultCommandError = async (output, context) => {
|
|
@@ -1589,10 +1443,9 @@ const de_PutThirdPartyJobSuccessResultCommandError = async (output, context) =>
|
|
|
1589
1443
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1590
1444
|
default:
|
|
1591
1445
|
const parsedBody = parsedOutput.body;
|
|
1592
|
-
|
|
1446
|
+
return throwDefaultError({
|
|
1593
1447
|
output,
|
|
1594
1448
|
parsedBody,
|
|
1595
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1596
1449
|
errorCode,
|
|
1597
1450
|
});
|
|
1598
1451
|
}
|
|
@@ -1608,7 +1461,7 @@ const de_PutWebhookCommand = async (output, context) => {
|
|
|
1608
1461
|
$metadata: deserializeMetadata(output),
|
|
1609
1462
|
...contents,
|
|
1610
1463
|
};
|
|
1611
|
-
return
|
|
1464
|
+
return response;
|
|
1612
1465
|
};
|
|
1613
1466
|
exports.de_PutWebhookCommand = de_PutWebhookCommand;
|
|
1614
1467
|
const de_PutWebhookCommandError = async (output, context) => {
|
|
@@ -1644,10 +1497,9 @@ const de_PutWebhookCommandError = async (output, context) => {
|
|
|
1644
1497
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1645
1498
|
default:
|
|
1646
1499
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
|
|
1500
|
+
return throwDefaultError({
|
|
1648
1501
|
output,
|
|
1649
1502
|
parsedBody,
|
|
1650
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1651
1503
|
errorCode,
|
|
1652
1504
|
});
|
|
1653
1505
|
}
|
|
@@ -1658,12 +1510,12 @@ const de_RegisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
|
1658
1510
|
}
|
|
1659
1511
|
const data = await parseBody(output.body, context);
|
|
1660
1512
|
let contents = {};
|
|
1661
|
-
contents =
|
|
1513
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1662
1514
|
const response = {
|
|
1663
1515
|
$metadata: deserializeMetadata(output),
|
|
1664
1516
|
...contents,
|
|
1665
1517
|
};
|
|
1666
|
-
return
|
|
1518
|
+
return response;
|
|
1667
1519
|
};
|
|
1668
1520
|
exports.de_RegisterWebhookWithThirdPartyCommand = de_RegisterWebhookWithThirdPartyCommand;
|
|
1669
1521
|
const de_RegisterWebhookWithThirdPartyCommandError = async (output, context) => {
|
|
@@ -1681,10 +1533,9 @@ const de_RegisterWebhookWithThirdPartyCommandError = async (output, context) =>
|
|
|
1681
1533
|
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
1682
1534
|
default:
|
|
1683
1535
|
const parsedBody = parsedOutput.body;
|
|
1684
|
-
|
|
1536
|
+
return throwDefaultError({
|
|
1685
1537
|
output,
|
|
1686
1538
|
parsedBody,
|
|
1687
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1688
1539
|
errorCode,
|
|
1689
1540
|
});
|
|
1690
1541
|
}
|
|
@@ -1695,12 +1546,12 @@ const de_RetryStageExecutionCommand = async (output, context) => {
|
|
|
1695
1546
|
}
|
|
1696
1547
|
const data = await parseBody(output.body, context);
|
|
1697
1548
|
let contents = {};
|
|
1698
|
-
contents =
|
|
1549
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1699
1550
|
const response = {
|
|
1700
1551
|
$metadata: deserializeMetadata(output),
|
|
1701
1552
|
...contents,
|
|
1702
1553
|
};
|
|
1703
|
-
return
|
|
1554
|
+
return response;
|
|
1704
1555
|
};
|
|
1705
1556
|
exports.de_RetryStageExecutionCommand = de_RetryStageExecutionCommand;
|
|
1706
1557
|
const de_RetryStageExecutionCommandError = async (output, context) => {
|
|
@@ -1730,10 +1581,9 @@ const de_RetryStageExecutionCommandError = async (output, context) => {
|
|
|
1730
1581
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1731
1582
|
default:
|
|
1732
1583
|
const parsedBody = parsedOutput.body;
|
|
1733
|
-
|
|
1584
|
+
return throwDefaultError({
|
|
1734
1585
|
output,
|
|
1735
1586
|
parsedBody,
|
|
1736
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1737
1587
|
errorCode,
|
|
1738
1588
|
});
|
|
1739
1589
|
}
|
|
@@ -1744,12 +1594,12 @@ const de_StartPipelineExecutionCommand = async (output, context) => {
|
|
|
1744
1594
|
}
|
|
1745
1595
|
const data = await parseBody(output.body, context);
|
|
1746
1596
|
let contents = {};
|
|
1747
|
-
contents =
|
|
1597
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1748
1598
|
const response = {
|
|
1749
1599
|
$metadata: deserializeMetadata(output),
|
|
1750
1600
|
...contents,
|
|
1751
1601
|
};
|
|
1752
|
-
return
|
|
1602
|
+
return response;
|
|
1753
1603
|
};
|
|
1754
1604
|
exports.de_StartPipelineExecutionCommand = de_StartPipelineExecutionCommand;
|
|
1755
1605
|
const de_StartPipelineExecutionCommandError = async (output, context) => {
|
|
@@ -1770,10 +1620,9 @@ const de_StartPipelineExecutionCommandError = async (output, context) => {
|
|
|
1770
1620
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1771
1621
|
default:
|
|
1772
1622
|
const parsedBody = parsedOutput.body;
|
|
1773
|
-
|
|
1623
|
+
return throwDefaultError({
|
|
1774
1624
|
output,
|
|
1775
1625
|
parsedBody,
|
|
1776
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1777
1626
|
errorCode,
|
|
1778
1627
|
});
|
|
1779
1628
|
}
|
|
@@ -1784,12 +1633,12 @@ const de_StopPipelineExecutionCommand = async (output, context) => {
|
|
|
1784
1633
|
}
|
|
1785
1634
|
const data = await parseBody(output.body, context);
|
|
1786
1635
|
let contents = {};
|
|
1787
|
-
contents =
|
|
1636
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1788
1637
|
const response = {
|
|
1789
1638
|
$metadata: deserializeMetadata(output),
|
|
1790
1639
|
...contents,
|
|
1791
1640
|
};
|
|
1792
|
-
return
|
|
1641
|
+
return response;
|
|
1793
1642
|
};
|
|
1794
1643
|
exports.de_StopPipelineExecutionCommand = de_StopPipelineExecutionCommand;
|
|
1795
1644
|
const de_StopPipelineExecutionCommandError = async (output, context) => {
|
|
@@ -1816,10 +1665,9 @@ const de_StopPipelineExecutionCommandError = async (output, context) => {
|
|
|
1816
1665
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1817
1666
|
default:
|
|
1818
1667
|
const parsedBody = parsedOutput.body;
|
|
1819
|
-
|
|
1668
|
+
return throwDefaultError({
|
|
1820
1669
|
output,
|
|
1821
1670
|
parsedBody,
|
|
1822
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1823
1671
|
errorCode,
|
|
1824
1672
|
});
|
|
1825
1673
|
}
|
|
@@ -1830,12 +1678,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1830
1678
|
}
|
|
1831
1679
|
const data = await parseBody(output.body, context);
|
|
1832
1680
|
let contents = {};
|
|
1833
|
-
contents =
|
|
1681
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1834
1682
|
const response = {
|
|
1835
1683
|
$metadata: deserializeMetadata(output),
|
|
1836
1684
|
...contents,
|
|
1837
1685
|
};
|
|
1838
|
-
return
|
|
1686
|
+
return response;
|
|
1839
1687
|
};
|
|
1840
1688
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1841
1689
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1865,10 +1713,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1865
1713
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1866
1714
|
default:
|
|
1867
1715
|
const parsedBody = parsedOutput.body;
|
|
1868
|
-
|
|
1716
|
+
return throwDefaultError({
|
|
1869
1717
|
output,
|
|
1870
1718
|
parsedBody,
|
|
1871
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1872
1719
|
errorCode,
|
|
1873
1720
|
});
|
|
1874
1721
|
}
|
|
@@ -1879,12 +1726,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1879
1726
|
}
|
|
1880
1727
|
const data = await parseBody(output.body, context);
|
|
1881
1728
|
let contents = {};
|
|
1882
|
-
contents =
|
|
1729
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1883
1730
|
const response = {
|
|
1884
1731
|
$metadata: deserializeMetadata(output),
|
|
1885
1732
|
...contents,
|
|
1886
1733
|
};
|
|
1887
|
-
return
|
|
1734
|
+
return response;
|
|
1888
1735
|
};
|
|
1889
1736
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1890
1737
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1911,10 +1758,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1911
1758
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1912
1759
|
default:
|
|
1913
1760
|
const parsedBody = parsedOutput.body;
|
|
1914
|
-
|
|
1761
|
+
return throwDefaultError({
|
|
1915
1762
|
output,
|
|
1916
1763
|
parsedBody,
|
|
1917
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1918
1764
|
errorCode,
|
|
1919
1765
|
});
|
|
1920
1766
|
}
|
|
@@ -1927,7 +1773,7 @@ const de_UpdateActionTypeCommand = async (output, context) => {
|
|
|
1927
1773
|
const response = {
|
|
1928
1774
|
$metadata: deserializeMetadata(output),
|
|
1929
1775
|
};
|
|
1930
|
-
return
|
|
1776
|
+
return response;
|
|
1931
1777
|
};
|
|
1932
1778
|
exports.de_UpdateActionTypeCommand = de_UpdateActionTypeCommand;
|
|
1933
1779
|
const de_UpdateActionTypeCommandError = async (output, context) => {
|
|
@@ -1948,10 +1794,9 @@ const de_UpdateActionTypeCommandError = async (output, context) => {
|
|
|
1948
1794
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1949
1795
|
default:
|
|
1950
1796
|
const parsedBody = parsedOutput.body;
|
|
1951
|
-
|
|
1797
|
+
return throwDefaultError({
|
|
1952
1798
|
output,
|
|
1953
1799
|
parsedBody,
|
|
1954
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1955
1800
|
errorCode,
|
|
1956
1801
|
});
|
|
1957
1802
|
}
|
|
@@ -1962,12 +1807,12 @@ const de_UpdatePipelineCommand = async (output, context) => {
|
|
|
1962
1807
|
}
|
|
1963
1808
|
const data = await parseBody(output.body, context);
|
|
1964
1809
|
let contents = {};
|
|
1965
|
-
contents =
|
|
1810
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1966
1811
|
const response = {
|
|
1967
1812
|
$metadata: deserializeMetadata(output),
|
|
1968
1813
|
...contents,
|
|
1969
1814
|
};
|
|
1970
|
-
return
|
|
1815
|
+
return response;
|
|
1971
1816
|
};
|
|
1972
1817
|
exports.de_UpdatePipelineCommand = de_UpdatePipelineCommand;
|
|
1973
1818
|
const de_UpdatePipelineCommandError = async (output, context) => {
|
|
@@ -1997,17 +1842,16 @@ const de_UpdatePipelineCommandError = async (output, context) => {
|
|
|
1997
1842
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1998
1843
|
default:
|
|
1999
1844
|
const parsedBody = parsedOutput.body;
|
|
2000
|
-
|
|
1845
|
+
return throwDefaultError({
|
|
2001
1846
|
output,
|
|
2002
1847
|
parsedBody,
|
|
2003
|
-
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
2004
1848
|
errorCode,
|
|
2005
1849
|
});
|
|
2006
1850
|
}
|
|
2007
1851
|
};
|
|
2008
1852
|
const de_ActionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2009
1853
|
const body = parsedOutput.body;
|
|
2010
|
-
const deserialized =
|
|
1854
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2011
1855
|
const exception = new models_0_1.ActionNotFoundException({
|
|
2012
1856
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2013
1857
|
...deserialized,
|
|
@@ -2016,7 +1860,7 @@ const de_ActionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2016
1860
|
};
|
|
2017
1861
|
const de_ActionTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2018
1862
|
const body = parsedOutput.body;
|
|
2019
|
-
const deserialized =
|
|
1863
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2020
1864
|
const exception = new models_0_1.ActionTypeNotFoundException({
|
|
2021
1865
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2022
1866
|
...deserialized,
|
|
@@ -2025,7 +1869,7 @@ const de_ActionTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2025
1869
|
};
|
|
2026
1870
|
const de_ApprovalAlreadyCompletedExceptionRes = async (parsedOutput, context) => {
|
|
2027
1871
|
const body = parsedOutput.body;
|
|
2028
|
-
const deserialized =
|
|
1872
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2029
1873
|
const exception = new models_0_1.ApprovalAlreadyCompletedException({
|
|
2030
1874
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2031
1875
|
...deserialized,
|
|
@@ -2034,7 +1878,7 @@ const de_ApprovalAlreadyCompletedExceptionRes = async (parsedOutput, context) =>
|
|
|
2034
1878
|
};
|
|
2035
1879
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
2036
1880
|
const body = parsedOutput.body;
|
|
2037
|
-
const deserialized =
|
|
1881
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2038
1882
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
2039
1883
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2040
1884
|
...deserialized,
|
|
@@ -2043,7 +1887,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
2043
1887
|
};
|
|
2044
1888
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2045
1889
|
const body = parsedOutput.body;
|
|
2046
|
-
const deserialized =
|
|
1890
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2047
1891
|
const exception = new models_0_1.ConflictException({
|
|
2048
1892
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2049
1893
|
...deserialized,
|
|
@@ -2052,7 +1896,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2052
1896
|
};
|
|
2053
1897
|
const de_DuplicatedStopRequestExceptionRes = async (parsedOutput, context) => {
|
|
2054
1898
|
const body = parsedOutput.body;
|
|
2055
|
-
const deserialized =
|
|
1899
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2056
1900
|
const exception = new models_0_1.DuplicatedStopRequestException({
|
|
2057
1901
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2058
1902
|
...deserialized,
|
|
@@ -2061,7 +1905,7 @@ const de_DuplicatedStopRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2061
1905
|
};
|
|
2062
1906
|
const de_InvalidActionDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
2063
1907
|
const body = parsedOutput.body;
|
|
2064
|
-
const deserialized =
|
|
1908
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2065
1909
|
const exception = new models_0_1.InvalidActionDeclarationException({
|
|
2066
1910
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2067
1911
|
...deserialized,
|
|
@@ -2070,7 +1914,7 @@ const de_InvalidActionDeclarationExceptionRes = async (parsedOutput, context) =>
|
|
|
2070
1914
|
};
|
|
2071
1915
|
const de_InvalidApprovalTokenExceptionRes = async (parsedOutput, context) => {
|
|
2072
1916
|
const body = parsedOutput.body;
|
|
2073
|
-
const deserialized =
|
|
1917
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2074
1918
|
const exception = new models_0_1.InvalidApprovalTokenException({
|
|
2075
1919
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2076
1920
|
...deserialized,
|
|
@@ -2079,7 +1923,7 @@ const de_InvalidApprovalTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2079
1923
|
};
|
|
2080
1924
|
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
2081
1925
|
const body = parsedOutput.body;
|
|
2082
|
-
const deserialized =
|
|
1926
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2083
1927
|
const exception = new models_0_1.InvalidArnException({
|
|
2084
1928
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2085
1929
|
...deserialized,
|
|
@@ -2088,7 +1932,7 @@ const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
|
2088
1932
|
};
|
|
2089
1933
|
const de_InvalidBlockerDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
2090
1934
|
const body = parsedOutput.body;
|
|
2091
|
-
const deserialized =
|
|
1935
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2092
1936
|
const exception = new models_0_1.InvalidBlockerDeclarationException({
|
|
2093
1937
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2094
1938
|
...deserialized,
|
|
@@ -2097,7 +1941,7 @@ const de_InvalidBlockerDeclarationExceptionRes = async (parsedOutput, context) =
|
|
|
2097
1941
|
};
|
|
2098
1942
|
const de_InvalidClientTokenExceptionRes = async (parsedOutput, context) => {
|
|
2099
1943
|
const body = parsedOutput.body;
|
|
2100
|
-
const deserialized =
|
|
1944
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2101
1945
|
const exception = new models_0_1.InvalidClientTokenException({
|
|
2102
1946
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2103
1947
|
...deserialized,
|
|
@@ -2106,7 +1950,7 @@ const de_InvalidClientTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2106
1950
|
};
|
|
2107
1951
|
const de_InvalidJobExceptionRes = async (parsedOutput, context) => {
|
|
2108
1952
|
const body = parsedOutput.body;
|
|
2109
|
-
const deserialized =
|
|
1953
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2110
1954
|
const exception = new models_0_1.InvalidJobException({
|
|
2111
1955
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2112
1956
|
...deserialized,
|
|
@@ -2115,7 +1959,7 @@ const de_InvalidJobExceptionRes = async (parsedOutput, context) => {
|
|
|
2115
1959
|
};
|
|
2116
1960
|
const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
|
|
2117
1961
|
const body = parsedOutput.body;
|
|
2118
|
-
const deserialized =
|
|
1962
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2119
1963
|
const exception = new models_0_1.InvalidJobStateException({
|
|
2120
1964
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2121
1965
|
...deserialized,
|
|
@@ -2124,7 +1968,7 @@ const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
|
|
|
2124
1968
|
};
|
|
2125
1969
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2126
1970
|
const body = parsedOutput.body;
|
|
2127
|
-
const deserialized =
|
|
1971
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2128
1972
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
2129
1973
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2130
1974
|
...deserialized,
|
|
@@ -2133,7 +1977,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2133
1977
|
};
|
|
2134
1978
|
const de_InvalidNonceExceptionRes = async (parsedOutput, context) => {
|
|
2135
1979
|
const body = parsedOutput.body;
|
|
2136
|
-
const deserialized =
|
|
1980
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2137
1981
|
const exception = new models_0_1.InvalidNonceException({
|
|
2138
1982
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2139
1983
|
...deserialized,
|
|
@@ -2142,7 +1986,7 @@ const de_InvalidNonceExceptionRes = async (parsedOutput, context) => {
|
|
|
2142
1986
|
};
|
|
2143
1987
|
const de_InvalidStageDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
2144
1988
|
const body = parsedOutput.body;
|
|
2145
|
-
const deserialized =
|
|
1989
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2146
1990
|
const exception = new models_0_1.InvalidStageDeclarationException({
|
|
2147
1991
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2148
1992
|
...deserialized,
|
|
@@ -2151,7 +1995,7 @@ const de_InvalidStageDeclarationExceptionRes = async (parsedOutput, context) =>
|
|
|
2151
1995
|
};
|
|
2152
1996
|
const de_InvalidStructureExceptionRes = async (parsedOutput, context) => {
|
|
2153
1997
|
const body = parsedOutput.body;
|
|
2154
|
-
const deserialized =
|
|
1998
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2155
1999
|
const exception = new models_0_1.InvalidStructureException({
|
|
2156
2000
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2157
2001
|
...deserialized,
|
|
@@ -2160,7 +2004,7 @@ const de_InvalidStructureExceptionRes = async (parsedOutput, context) => {
|
|
|
2160
2004
|
};
|
|
2161
2005
|
const de_InvalidTagsExceptionRes = async (parsedOutput, context) => {
|
|
2162
2006
|
const body = parsedOutput.body;
|
|
2163
|
-
const deserialized =
|
|
2007
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2164
2008
|
const exception = new models_0_1.InvalidTagsException({
|
|
2165
2009
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2166
2010
|
...deserialized,
|
|
@@ -2169,7 +2013,7 @@ const de_InvalidTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
2169
2013
|
};
|
|
2170
2014
|
const de_InvalidWebhookAuthenticationParametersExceptionRes = async (parsedOutput, context) => {
|
|
2171
2015
|
const body = parsedOutput.body;
|
|
2172
|
-
const deserialized =
|
|
2016
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2173
2017
|
const exception = new models_0_1.InvalidWebhookAuthenticationParametersException({
|
|
2174
2018
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2175
2019
|
...deserialized,
|
|
@@ -2178,7 +2022,7 @@ const de_InvalidWebhookAuthenticationParametersExceptionRes = async (parsedOutpu
|
|
|
2178
2022
|
};
|
|
2179
2023
|
const de_InvalidWebhookFilterPatternExceptionRes = async (parsedOutput, context) => {
|
|
2180
2024
|
const body = parsedOutput.body;
|
|
2181
|
-
const deserialized =
|
|
2025
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2182
2026
|
const exception = new models_0_1.InvalidWebhookFilterPatternException({
|
|
2183
2027
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2184
2028
|
...deserialized,
|
|
@@ -2187,7 +2031,7 @@ const de_InvalidWebhookFilterPatternExceptionRes = async (parsedOutput, context)
|
|
|
2187
2031
|
};
|
|
2188
2032
|
const de_JobNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2189
2033
|
const body = parsedOutput.body;
|
|
2190
|
-
const deserialized =
|
|
2034
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2191
2035
|
const exception = new models_0_1.JobNotFoundException({
|
|
2192
2036
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2193
2037
|
...deserialized,
|
|
@@ -2196,7 +2040,7 @@ const de_JobNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2196
2040
|
};
|
|
2197
2041
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2198
2042
|
const body = parsedOutput.body;
|
|
2199
|
-
const deserialized =
|
|
2043
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2200
2044
|
const exception = new models_0_1.LimitExceededException({
|
|
2201
2045
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2202
2046
|
...deserialized,
|
|
@@ -2205,7 +2049,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2205
2049
|
};
|
|
2206
2050
|
const de_NotLatestPipelineExecutionExceptionRes = async (parsedOutput, context) => {
|
|
2207
2051
|
const body = parsedOutput.body;
|
|
2208
|
-
const deserialized =
|
|
2052
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2209
2053
|
const exception = new models_0_1.NotLatestPipelineExecutionException({
|
|
2210
2054
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2211
2055
|
...deserialized,
|
|
@@ -2214,7 +2058,7 @@ const de_NotLatestPipelineExecutionExceptionRes = async (parsedOutput, context)
|
|
|
2214
2058
|
};
|
|
2215
2059
|
const de_OutputVariablesSizeExceededExceptionRes = async (parsedOutput, context) => {
|
|
2216
2060
|
const body = parsedOutput.body;
|
|
2217
|
-
const deserialized =
|
|
2061
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2218
2062
|
const exception = new models_0_1.OutputVariablesSizeExceededException({
|
|
2219
2063
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2220
2064
|
...deserialized,
|
|
@@ -2223,7 +2067,7 @@ const de_OutputVariablesSizeExceededExceptionRes = async (parsedOutput, context)
|
|
|
2223
2067
|
};
|
|
2224
2068
|
const de_PipelineExecutionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2225
2069
|
const body = parsedOutput.body;
|
|
2226
|
-
const deserialized =
|
|
2070
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2227
2071
|
const exception = new models_0_1.PipelineExecutionNotFoundException({
|
|
2228
2072
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2229
2073
|
...deserialized,
|
|
@@ -2232,7 +2076,7 @@ const de_PipelineExecutionNotFoundExceptionRes = async (parsedOutput, context) =
|
|
|
2232
2076
|
};
|
|
2233
2077
|
const de_PipelineExecutionNotStoppableExceptionRes = async (parsedOutput, context) => {
|
|
2234
2078
|
const body = parsedOutput.body;
|
|
2235
|
-
const deserialized =
|
|
2079
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2236
2080
|
const exception = new models_0_1.PipelineExecutionNotStoppableException({
|
|
2237
2081
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2238
2082
|
...deserialized,
|
|
@@ -2241,7 +2085,7 @@ const de_PipelineExecutionNotStoppableExceptionRes = async (parsedOutput, contex
|
|
|
2241
2085
|
};
|
|
2242
2086
|
const de_PipelineNameInUseExceptionRes = async (parsedOutput, context) => {
|
|
2243
2087
|
const body = parsedOutput.body;
|
|
2244
|
-
const deserialized =
|
|
2088
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2245
2089
|
const exception = new models_0_1.PipelineNameInUseException({
|
|
2246
2090
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2247
2091
|
...deserialized,
|
|
@@ -2250,7 +2094,7 @@ const de_PipelineNameInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
2250
2094
|
};
|
|
2251
2095
|
const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2252
2096
|
const body = parsedOutput.body;
|
|
2253
|
-
const deserialized =
|
|
2097
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2254
2098
|
const exception = new models_0_1.PipelineNotFoundException({
|
|
2255
2099
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2256
2100
|
...deserialized,
|
|
@@ -2259,7 +2103,7 @@ const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2259
2103
|
};
|
|
2260
2104
|
const de_PipelineVersionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2261
2105
|
const body = parsedOutput.body;
|
|
2262
|
-
const deserialized =
|
|
2106
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2263
2107
|
const exception = new models_0_1.PipelineVersionNotFoundException({
|
|
2264
2108
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2265
2109
|
...deserialized,
|
|
@@ -2268,7 +2112,7 @@ const de_PipelineVersionNotFoundExceptionRes = async (parsedOutput, context) =>
|
|
|
2268
2112
|
};
|
|
2269
2113
|
const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
2270
2114
|
const body = parsedOutput.body;
|
|
2271
|
-
const deserialized =
|
|
2115
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2272
2116
|
const exception = new models_0_1.RequestFailedException({
|
|
2273
2117
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2274
2118
|
...deserialized,
|
|
@@ -2277,7 +2121,7 @@ const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
|
2277
2121
|
};
|
|
2278
2122
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2279
2123
|
const body = parsedOutput.body;
|
|
2280
|
-
const deserialized =
|
|
2124
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2281
2125
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2282
2126
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2283
2127
|
...deserialized,
|
|
@@ -2286,7 +2130,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2286
2130
|
};
|
|
2287
2131
|
const de_StageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2288
2132
|
const body = parsedOutput.body;
|
|
2289
|
-
const deserialized =
|
|
2133
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2290
2134
|
const exception = new models_0_1.StageNotFoundException({
|
|
2291
2135
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2292
2136
|
...deserialized,
|
|
@@ -2295,7 +2139,7 @@ const de_StageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2295
2139
|
};
|
|
2296
2140
|
const de_StageNotRetryableExceptionRes = async (parsedOutput, context) => {
|
|
2297
2141
|
const body = parsedOutput.body;
|
|
2298
|
-
const deserialized =
|
|
2142
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2299
2143
|
const exception = new models_0_1.StageNotRetryableException({
|
|
2300
2144
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2301
2145
|
...deserialized,
|
|
@@ -2304,7 +2148,7 @@ const de_StageNotRetryableExceptionRes = async (parsedOutput, context) => {
|
|
|
2304
2148
|
};
|
|
2305
2149
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
2306
2150
|
const body = parsedOutput.body;
|
|
2307
|
-
const deserialized =
|
|
2151
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2308
2152
|
const exception = new models_0_1.TooManyTagsException({
|
|
2309
2153
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2310
2154
|
...deserialized,
|
|
@@ -2313,7 +2157,7 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
2313
2157
|
};
|
|
2314
2158
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2315
2159
|
const body = parsedOutput.body;
|
|
2316
|
-
const deserialized =
|
|
2160
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2317
2161
|
const exception = new models_0_1.ValidationException({
|
|
2318
2162
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2319
2163
|
...deserialized,
|
|
@@ -2322,1817 +2166,287 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2322
2166
|
};
|
|
2323
2167
|
const de_WebhookNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2324
2168
|
const body = parsedOutput.body;
|
|
2325
|
-
const deserialized =
|
|
2169
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2326
2170
|
const exception = new models_0_1.WebhookNotFoundException({
|
|
2327
2171
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2328
2172
|
...deserialized,
|
|
2329
2173
|
});
|
|
2330
2174
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2331
2175
|
};
|
|
2332
|
-
const
|
|
2333
|
-
return {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
};
|
|
2338
|
-
const se_AcknowledgeThirdPartyJobInput = (input, context) => {
|
|
2339
|
-
return {
|
|
2340
|
-
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
2341
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2342
|
-
...(input.nonce != null && { nonce: input.nonce }),
|
|
2343
|
-
};
|
|
2344
|
-
};
|
|
2345
|
-
const se_ActionConfigurationMap = (input, context) => {
|
|
2346
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2347
|
-
if (value === null) {
|
|
2348
|
-
return acc;
|
|
2349
|
-
}
|
|
2350
|
-
acc[key] = value;
|
|
2351
|
-
return acc;
|
|
2352
|
-
}, {});
|
|
2353
|
-
};
|
|
2354
|
-
const se_ActionConfigurationProperty = (input, context) => {
|
|
2355
|
-
return {
|
|
2356
|
-
...(input.description != null && { description: input.description }),
|
|
2357
|
-
...(input.key != null && { key: input.key }),
|
|
2358
|
-
...(input.name != null && { name: input.name }),
|
|
2359
|
-
...(input.queryable != null && { queryable: input.queryable }),
|
|
2360
|
-
...(input.required != null && { required: input.required }),
|
|
2361
|
-
...(input.secret != null && { secret: input.secret }),
|
|
2362
|
-
...(input.type != null && { type: input.type }),
|
|
2363
|
-
};
|
|
2176
|
+
const se_ActionRevision = (input, context) => {
|
|
2177
|
+
return (0, smithy_client_1.take)(input, {
|
|
2178
|
+
created: (_) => Math.round(_.getTime() / 1000),
|
|
2179
|
+
revisionChangeId: [],
|
|
2180
|
+
revisionId: [],
|
|
2181
|
+
});
|
|
2364
2182
|
};
|
|
2365
|
-
const
|
|
2366
|
-
return input
|
|
2367
|
-
|
|
2368
|
-
.
|
|
2369
|
-
|
|
2183
|
+
const se_CurrentRevision = (input, context) => {
|
|
2184
|
+
return (0, smithy_client_1.take)(input, {
|
|
2185
|
+
changeIdentifier: [],
|
|
2186
|
+
created: (_) => Math.round(_.getTime() / 1000),
|
|
2187
|
+
revision: [],
|
|
2188
|
+
revisionSummary: [],
|
|
2370
2189
|
});
|
|
2371
2190
|
};
|
|
2372
|
-
const
|
|
2373
|
-
return {
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
...(input.outputArtifacts != null && { outputArtifacts: se_OutputArtifactList(input.outputArtifacts, context) }),
|
|
2380
|
-
...(input.region != null && { region: input.region }),
|
|
2381
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2382
|
-
...(input.runOrder != null && { runOrder: input.runOrder }),
|
|
2383
|
-
};
|
|
2191
|
+
const se_PutActionRevisionInput = (input, context) => {
|
|
2192
|
+
return (0, smithy_client_1.take)(input, {
|
|
2193
|
+
actionName: [],
|
|
2194
|
+
actionRevision: (_) => se_ActionRevision(_, context),
|
|
2195
|
+
pipelineName: [],
|
|
2196
|
+
stageName: [],
|
|
2197
|
+
});
|
|
2384
2198
|
};
|
|
2385
|
-
const
|
|
2386
|
-
return {
|
|
2387
|
-
|
|
2388
|
-
|
|
2199
|
+
const se_PutJobSuccessResultInput = (input, context) => {
|
|
2200
|
+
return (0, smithy_client_1.take)(input, {
|
|
2201
|
+
continuationToken: [],
|
|
2202
|
+
currentRevision: (_) => se_CurrentRevision(_, context),
|
|
2203
|
+
executionDetails: smithy_client_1._json,
|
|
2204
|
+
jobId: [],
|
|
2205
|
+
outputVariables: smithy_client_1._json,
|
|
2206
|
+
});
|
|
2389
2207
|
};
|
|
2390
|
-
const
|
|
2391
|
-
return {
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2208
|
+
const se_PutThirdPartyJobSuccessResultInput = (input, context) => {
|
|
2209
|
+
return (0, smithy_client_1.take)(input, {
|
|
2210
|
+
clientToken: [],
|
|
2211
|
+
continuationToken: [],
|
|
2212
|
+
currentRevision: (_) => se_CurrentRevision(_, context),
|
|
2213
|
+
executionDetails: smithy_client_1._json,
|
|
2214
|
+
jobId: [],
|
|
2215
|
+
});
|
|
2396
2216
|
};
|
|
2397
|
-
const
|
|
2398
|
-
return {
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
};
|
|
2217
|
+
const se_StartPipelineExecutionInput = (input, context) => {
|
|
2218
|
+
return (0, smithy_client_1.take)(input, {
|
|
2219
|
+
clientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2220
|
+
name: [],
|
|
2221
|
+
});
|
|
2402
2222
|
};
|
|
2403
|
-
const
|
|
2404
|
-
return {
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
...(input.urls != null && { urls: se_ActionTypeUrls(input.urls, context) }),
|
|
2417
|
-
};
|
|
2223
|
+
const de_ActionExecution = (output, context) => {
|
|
2224
|
+
return (0, smithy_client_1.take)(output, {
|
|
2225
|
+
actionExecutionId: smithy_client_1.expectString,
|
|
2226
|
+
errorDetails: smithy_client_1._json,
|
|
2227
|
+
externalExecutionId: smithy_client_1.expectString,
|
|
2228
|
+
externalExecutionUrl: smithy_client_1.expectString,
|
|
2229
|
+
lastStatusChange: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2230
|
+
lastUpdatedBy: smithy_client_1.expectString,
|
|
2231
|
+
percentComplete: smithy_client_1.expectInt32,
|
|
2232
|
+
status: smithy_client_1.expectString,
|
|
2233
|
+
summary: smithy_client_1.expectString,
|
|
2234
|
+
token: smithy_client_1.expectString,
|
|
2235
|
+
});
|
|
2418
2236
|
};
|
|
2419
|
-
const
|
|
2420
|
-
return {
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2237
|
+
const de_ActionExecutionDetail = (output, context) => {
|
|
2238
|
+
return (0, smithy_client_1.take)(output, {
|
|
2239
|
+
actionExecutionId: smithy_client_1.expectString,
|
|
2240
|
+
actionName: smithy_client_1.expectString,
|
|
2241
|
+
input: smithy_client_1._json,
|
|
2242
|
+
lastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2243
|
+
output: smithy_client_1._json,
|
|
2244
|
+
pipelineExecutionId: smithy_client_1.expectString,
|
|
2245
|
+
pipelineVersion: smithy_client_1.expectInt32,
|
|
2246
|
+
stageName: smithy_client_1.expectString,
|
|
2247
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2248
|
+
status: smithy_client_1.expectString,
|
|
2249
|
+
});
|
|
2426
2250
|
};
|
|
2427
|
-
const
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2251
|
+
const de_ActionExecutionDetailList = (output, context) => {
|
|
2252
|
+
const retVal = (output || [])
|
|
2253
|
+
.filter((e) => e != null)
|
|
2254
|
+
.map((entry) => {
|
|
2255
|
+
return de_ActionExecutionDetail(entry, context);
|
|
2256
|
+
});
|
|
2257
|
+
return retVal;
|
|
2434
2258
|
};
|
|
2435
|
-
const
|
|
2436
|
-
return {
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
};
|
|
2259
|
+
const de_ActionRevision = (output, context) => {
|
|
2260
|
+
return (0, smithy_client_1.take)(output, {
|
|
2261
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2262
|
+
revisionChangeId: smithy_client_1.expectString,
|
|
2263
|
+
revisionId: smithy_client_1.expectString,
|
|
2264
|
+
});
|
|
2442
2265
|
};
|
|
2443
|
-
const
|
|
2444
|
-
return {
|
|
2445
|
-
|
|
2446
|
-
|
|
2266
|
+
const de_ActionState = (output, context) => {
|
|
2267
|
+
return (0, smithy_client_1.take)(output, {
|
|
2268
|
+
actionName: smithy_client_1.expectString,
|
|
2269
|
+
currentRevision: (_) => de_ActionRevision(_, context),
|
|
2270
|
+
entityUrl: smithy_client_1.expectString,
|
|
2271
|
+
latestExecution: (_) => de_ActionExecution(_, context),
|
|
2272
|
+
revisionUrl: smithy_client_1.expectString,
|
|
2273
|
+
});
|
|
2447
2274
|
};
|
|
2448
|
-
const
|
|
2449
|
-
|
|
2275
|
+
const de_ActionStateList = (output, context) => {
|
|
2276
|
+
const retVal = (output || [])
|
|
2450
2277
|
.filter((e) => e != null)
|
|
2451
2278
|
.map((entry) => {
|
|
2452
|
-
return
|
|
2279
|
+
return de_ActionState(entry, context);
|
|
2453
2280
|
});
|
|
2281
|
+
return retVal;
|
|
2454
2282
|
};
|
|
2455
|
-
const
|
|
2456
|
-
return {
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
};
|
|
2464
|
-
};
|
|
2465
|
-
const se_ActionTypeSettings = (input, context) => {
|
|
2466
|
-
return {
|
|
2467
|
-
...(input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate }),
|
|
2468
|
-
...(input.executionUrlTemplate != null && { executionUrlTemplate: input.executionUrlTemplate }),
|
|
2469
|
-
...(input.revisionUrlTemplate != null && { revisionUrlTemplate: input.revisionUrlTemplate }),
|
|
2470
|
-
...(input.thirdPartyConfigurationUrl != null && { thirdPartyConfigurationUrl: input.thirdPartyConfigurationUrl }),
|
|
2471
|
-
};
|
|
2472
|
-
};
|
|
2473
|
-
const se_ActionTypeUrls = (input, context) => {
|
|
2474
|
-
return {
|
|
2475
|
-
...(input.configurationUrl != null && { configurationUrl: input.configurationUrl }),
|
|
2476
|
-
...(input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate }),
|
|
2477
|
-
...(input.executionUrlTemplate != null && { executionUrlTemplate: input.executionUrlTemplate }),
|
|
2478
|
-
...(input.revisionUrlTemplate != null && { revisionUrlTemplate: input.revisionUrlTemplate }),
|
|
2479
|
-
};
|
|
2283
|
+
const de_ArtifactRevision = (output, context) => {
|
|
2284
|
+
return (0, smithy_client_1.take)(output, {
|
|
2285
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2286
|
+
name: smithy_client_1.expectString,
|
|
2287
|
+
revisionChangeIdentifier: smithy_client_1.expectString,
|
|
2288
|
+
revisionId: smithy_client_1.expectString,
|
|
2289
|
+
revisionSummary: smithy_client_1.expectString,
|
|
2290
|
+
revisionUrl: smithy_client_1.expectString,
|
|
2291
|
+
});
|
|
2480
2292
|
};
|
|
2481
|
-
const
|
|
2482
|
-
|
|
2293
|
+
const de_ArtifactRevisionList = (output, context) => {
|
|
2294
|
+
const retVal = (output || [])
|
|
2483
2295
|
.filter((e) => e != null)
|
|
2484
2296
|
.map((entry) => {
|
|
2485
|
-
return entry;
|
|
2297
|
+
return de_ArtifactRevision(entry, context);
|
|
2486
2298
|
});
|
|
2299
|
+
return retVal;
|
|
2487
2300
|
};
|
|
2488
|
-
const
|
|
2489
|
-
return {
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
};
|
|
2493
|
-
};
|
|
2494
|
-
const se_ArtifactDetails = (input, context) => {
|
|
2495
|
-
return {
|
|
2496
|
-
...(input.maximumCount != null && { maximumCount: input.maximumCount }),
|
|
2497
|
-
...(input.minimumCount != null && { minimumCount: input.minimumCount }),
|
|
2498
|
-
};
|
|
2301
|
+
const de_GetPipelineExecutionOutput = (output, context) => {
|
|
2302
|
+
return (0, smithy_client_1.take)(output, {
|
|
2303
|
+
pipelineExecution: (_) => de_PipelineExecution(_, context),
|
|
2304
|
+
});
|
|
2499
2305
|
};
|
|
2500
|
-
const
|
|
2501
|
-
return {
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
};
|
|
2306
|
+
const de_GetPipelineOutput = (output, context) => {
|
|
2307
|
+
return (0, smithy_client_1.take)(output, {
|
|
2308
|
+
metadata: (_) => de_PipelineMetadata(_, context),
|
|
2309
|
+
pipeline: smithy_client_1._json,
|
|
2310
|
+
});
|
|
2506
2311
|
};
|
|
2507
|
-
const
|
|
2508
|
-
return
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
}
|
|
2312
|
+
const de_GetPipelineStateOutput = (output, context) => {
|
|
2313
|
+
return (0, smithy_client_1.take)(output, {
|
|
2314
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2315
|
+
pipelineName: smithy_client_1.expectString,
|
|
2316
|
+
pipelineVersion: smithy_client_1.expectInt32,
|
|
2317
|
+
stageStates: (_) => de_StageStateList(_, context),
|
|
2318
|
+
updated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2319
|
+
});
|
|
2515
2320
|
};
|
|
2516
|
-
const
|
|
2517
|
-
return {
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
};
|
|
2321
|
+
const de_ListActionExecutionsOutput = (output, context) => {
|
|
2322
|
+
return (0, smithy_client_1.take)(output, {
|
|
2323
|
+
actionExecutionDetails: (_) => de_ActionExecutionDetailList(_, context),
|
|
2324
|
+
nextToken: smithy_client_1.expectString,
|
|
2325
|
+
});
|
|
2521
2326
|
};
|
|
2522
|
-
const
|
|
2523
|
-
return {
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
}),
|
|
2528
|
-
...(input.inputArtifactDetails != null && {
|
|
2529
|
-
inputArtifactDetails: se_ArtifactDetails(input.inputArtifactDetails, context),
|
|
2530
|
-
}),
|
|
2531
|
-
...(input.outputArtifactDetails != null && {
|
|
2532
|
-
outputArtifactDetails: se_ArtifactDetails(input.outputArtifactDetails, context),
|
|
2533
|
-
}),
|
|
2534
|
-
...(input.provider != null && { provider: input.provider }),
|
|
2535
|
-
...(input.settings != null && { settings: se_ActionTypeSettings(input.settings, context) }),
|
|
2536
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2537
|
-
...(input.version != null && { version: input.version }),
|
|
2538
|
-
};
|
|
2327
|
+
const de_ListPipelineExecutionsOutput = (output, context) => {
|
|
2328
|
+
return (0, smithy_client_1.take)(output, {
|
|
2329
|
+
nextToken: smithy_client_1.expectString,
|
|
2330
|
+
pipelineExecutionSummaries: (_) => de_PipelineExecutionSummaryList(_, context),
|
|
2331
|
+
});
|
|
2539
2332
|
};
|
|
2540
|
-
const
|
|
2541
|
-
return {
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
};
|
|
2333
|
+
const de_ListPipelinesOutput = (output, context) => {
|
|
2334
|
+
return (0, smithy_client_1.take)(output, {
|
|
2335
|
+
nextToken: smithy_client_1.expectString,
|
|
2336
|
+
pipelines: (_) => de_PipelineList(_, context),
|
|
2337
|
+
});
|
|
2545
2338
|
};
|
|
2546
|
-
const
|
|
2547
|
-
return {
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2339
|
+
const de_ListWebhookItem = (output, context) => {
|
|
2340
|
+
return (0, smithy_client_1.take)(output, {
|
|
2341
|
+
arn: smithy_client_1.expectString,
|
|
2342
|
+
definition: smithy_client_1._json,
|
|
2343
|
+
errorCode: smithy_client_1.expectString,
|
|
2344
|
+
errorMessage: smithy_client_1.expectString,
|
|
2345
|
+
lastTriggered: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2346
|
+
tags: smithy_client_1._json,
|
|
2347
|
+
url: smithy_client_1.expectString,
|
|
2348
|
+
});
|
|
2553
2349
|
};
|
|
2554
|
-
const
|
|
2555
|
-
return {
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
};
|
|
2350
|
+
const de_ListWebhooksOutput = (output, context) => {
|
|
2351
|
+
return (0, smithy_client_1.take)(output, {
|
|
2352
|
+
NextToken: smithy_client_1.expectString,
|
|
2353
|
+
webhooks: (_) => de_WebhookList(_, context),
|
|
2354
|
+
});
|
|
2560
2355
|
};
|
|
2561
|
-
const
|
|
2562
|
-
return {
|
|
2563
|
-
|
|
2564
|
-
|
|
2356
|
+
const de_PipelineExecution = (output, context) => {
|
|
2357
|
+
return (0, smithy_client_1.take)(output, {
|
|
2358
|
+
artifactRevisions: (_) => de_ArtifactRevisionList(_, context),
|
|
2359
|
+
pipelineExecutionId: smithy_client_1.expectString,
|
|
2360
|
+
pipelineName: smithy_client_1.expectString,
|
|
2361
|
+
pipelineVersion: smithy_client_1.expectInt32,
|
|
2362
|
+
status: smithy_client_1.expectString,
|
|
2363
|
+
statusSummary: smithy_client_1.expectString,
|
|
2364
|
+
});
|
|
2565
2365
|
};
|
|
2566
|
-
const
|
|
2567
|
-
return {
|
|
2568
|
-
|
|
2569
|
-
|
|
2366
|
+
const de_PipelineExecutionSummary = (output, context) => {
|
|
2367
|
+
return (0, smithy_client_1.take)(output, {
|
|
2368
|
+
lastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2369
|
+
pipelineExecutionId: smithy_client_1.expectString,
|
|
2370
|
+
sourceRevisions: smithy_client_1._json,
|
|
2371
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2372
|
+
status: smithy_client_1.expectString,
|
|
2373
|
+
stopTrigger: smithy_client_1._json,
|
|
2374
|
+
trigger: smithy_client_1._json,
|
|
2375
|
+
});
|
|
2570
2376
|
};
|
|
2571
|
-
const
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2377
|
+
const de_PipelineExecutionSummaryList = (output, context) => {
|
|
2378
|
+
const retVal = (output || [])
|
|
2379
|
+
.filter((e) => e != null)
|
|
2380
|
+
.map((entry) => {
|
|
2381
|
+
return de_PipelineExecutionSummary(entry, context);
|
|
2382
|
+
});
|
|
2383
|
+
return retVal;
|
|
2575
2384
|
};
|
|
2576
|
-
const
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2385
|
+
const de_PipelineList = (output, context) => {
|
|
2386
|
+
const retVal = (output || [])
|
|
2387
|
+
.filter((e) => e != null)
|
|
2388
|
+
.map((entry) => {
|
|
2389
|
+
return de_PipelineSummary(entry, context);
|
|
2390
|
+
});
|
|
2391
|
+
return retVal;
|
|
2583
2392
|
};
|
|
2584
|
-
const
|
|
2585
|
-
return {
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
};
|
|
2393
|
+
const de_PipelineMetadata = (output, context) => {
|
|
2394
|
+
return (0, smithy_client_1.take)(output, {
|
|
2395
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2396
|
+
pipelineArn: smithy_client_1.expectString,
|
|
2397
|
+
updated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2398
|
+
});
|
|
2590
2399
|
};
|
|
2591
|
-
const
|
|
2592
|
-
return {
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2400
|
+
const de_PipelineSummary = (output, context) => {
|
|
2401
|
+
return (0, smithy_client_1.take)(output, {
|
|
2402
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2403
|
+
name: smithy_client_1.expectString,
|
|
2404
|
+
updated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2405
|
+
version: smithy_client_1.expectInt32,
|
|
2406
|
+
});
|
|
2596
2407
|
};
|
|
2597
|
-
const
|
|
2598
|
-
return {
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
...(input.summary != null && { summary: input.summary }),
|
|
2602
|
-
};
|
|
2408
|
+
const de_PutApprovalResultOutput = (output, context) => {
|
|
2409
|
+
return (0, smithy_client_1.take)(output, {
|
|
2410
|
+
approvedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2411
|
+
});
|
|
2603
2412
|
};
|
|
2604
|
-
const
|
|
2605
|
-
return {
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
}),
|
|
2609
|
-
...(input.lambdaExecutorConfiguration != null && {
|
|
2610
|
-
lambdaExecutorConfiguration: se_LambdaExecutorConfiguration(input.lambdaExecutorConfiguration, context),
|
|
2611
|
-
}),
|
|
2612
|
-
};
|
|
2413
|
+
const de_PutWebhookOutput = (output, context) => {
|
|
2414
|
+
return (0, smithy_client_1.take)(output, {
|
|
2415
|
+
webhook: (_) => de_ListWebhookItem(_, context),
|
|
2416
|
+
});
|
|
2613
2417
|
};
|
|
2614
|
-
const
|
|
2615
|
-
return {
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2418
|
+
const de_StageState = (output, context) => {
|
|
2419
|
+
return (0, smithy_client_1.take)(output, {
|
|
2420
|
+
actionStates: (_) => de_ActionStateList(_, context),
|
|
2421
|
+
inboundExecution: smithy_client_1._json,
|
|
2422
|
+
inboundTransitionState: (_) => de_TransitionState(_, context),
|
|
2423
|
+
latestExecution: smithy_client_1._json,
|
|
2424
|
+
stageName: smithy_client_1.expectString,
|
|
2425
|
+
});
|
|
2620
2426
|
};
|
|
2621
|
-
const
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2427
|
+
const de_StageStateList = (output, context) => {
|
|
2428
|
+
const retVal = (output || [])
|
|
2429
|
+
.filter((e) => e != null)
|
|
2430
|
+
.map((entry) => {
|
|
2431
|
+
return de_StageState(entry, context);
|
|
2432
|
+
});
|
|
2433
|
+
return retVal;
|
|
2628
2434
|
};
|
|
2629
|
-
const
|
|
2630
|
-
return {
|
|
2631
|
-
|
|
2632
|
-
|
|
2435
|
+
const de_TransitionState = (output, context) => {
|
|
2436
|
+
return (0, smithy_client_1.take)(output, {
|
|
2437
|
+
disabledReason: smithy_client_1.expectString,
|
|
2438
|
+
enabled: smithy_client_1.expectBoolean,
|
|
2439
|
+
lastChangedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2440
|
+
lastChangedBy: smithy_client_1.expectString,
|
|
2441
|
+
});
|
|
2633
2442
|
};
|
|
2634
|
-
const
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
};
|
|
2640
|
-
|
|
2641
|
-
return {
|
|
2642
|
-
...(input.name != null && { name: input.name }),
|
|
2643
|
-
...(input.version != null && { version: input.version }),
|
|
2644
|
-
};
|
|
2645
|
-
};
|
|
2646
|
-
const se_GetPipelineStateInput = (input, context) => {
|
|
2647
|
-
return {
|
|
2648
|
-
...(input.name != null && { name: input.name }),
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
const se_GetThirdPartyJobDetailsInput = (input, context) => {
|
|
2652
|
-
return {
|
|
2653
|
-
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
2654
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
const se_InputArtifact = (input, context) => {
|
|
2658
|
-
return {
|
|
2659
|
-
...(input.name != null && { name: input.name }),
|
|
2660
|
-
};
|
|
2661
|
-
};
|
|
2662
|
-
const se_InputArtifactList = (input, context) => {
|
|
2663
|
-
return input
|
|
2664
|
-
.filter((e) => e != null)
|
|
2665
|
-
.map((entry) => {
|
|
2666
|
-
return se_InputArtifact(entry, context);
|
|
2667
|
-
});
|
|
2668
|
-
};
|
|
2669
|
-
const se_JobWorkerExecutorConfiguration = (input, context) => {
|
|
2670
|
-
return {
|
|
2671
|
-
...(input.pollingAccounts != null && { pollingAccounts: se_PollingAccountList(input.pollingAccounts, context) }),
|
|
2672
|
-
...(input.pollingServicePrincipals != null && {
|
|
2673
|
-
pollingServicePrincipals: se_PollingServicePrincipalList(input.pollingServicePrincipals, context),
|
|
2674
|
-
}),
|
|
2675
|
-
};
|
|
2676
|
-
};
|
|
2677
|
-
const se_LambdaExecutorConfiguration = (input, context) => {
|
|
2678
|
-
return {
|
|
2679
|
-
...(input.lambdaFunctionArn != null && { lambdaFunctionArn: input.lambdaFunctionArn }),
|
|
2680
|
-
};
|
|
2681
|
-
};
|
|
2682
|
-
const se_ListActionExecutionsInput = (input, context) => {
|
|
2683
|
-
return {
|
|
2684
|
-
...(input.filter != null && { filter: se_ActionExecutionFilter(input.filter, context) }),
|
|
2685
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2686
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2687
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2688
|
-
};
|
|
2689
|
-
};
|
|
2690
|
-
const se_ListActionTypesInput = (input, context) => {
|
|
2691
|
-
return {
|
|
2692
|
-
...(input.actionOwnerFilter != null && { actionOwnerFilter: input.actionOwnerFilter }),
|
|
2693
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2694
|
-
...(input.regionFilter != null && { regionFilter: input.regionFilter }),
|
|
2695
|
-
};
|
|
2696
|
-
};
|
|
2697
|
-
const se_ListPipelineExecutionsInput = (input, context) => {
|
|
2698
|
-
return {
|
|
2699
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2700
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2701
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2702
|
-
};
|
|
2703
|
-
};
|
|
2704
|
-
const se_ListPipelinesInput = (input, context) => {
|
|
2705
|
-
return {
|
|
2706
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2707
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2708
|
-
};
|
|
2709
|
-
};
|
|
2710
|
-
const se_ListTagsForResourceInput = (input, context) => {
|
|
2711
|
-
return {
|
|
2712
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2713
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2714
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2715
|
-
};
|
|
2716
|
-
};
|
|
2717
|
-
const se_ListWebhooksInput = (input, context) => {
|
|
2718
|
-
return {
|
|
2719
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2720
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2721
|
-
};
|
|
2722
|
-
};
|
|
2723
|
-
const se_OutputArtifact = (input, context) => {
|
|
2724
|
-
return {
|
|
2725
|
-
...(input.name != null && { name: input.name }),
|
|
2726
|
-
};
|
|
2727
|
-
};
|
|
2728
|
-
const se_OutputArtifactList = (input, context) => {
|
|
2729
|
-
return input
|
|
2730
|
-
.filter((e) => e != null)
|
|
2731
|
-
.map((entry) => {
|
|
2732
|
-
return se_OutputArtifact(entry, context);
|
|
2733
|
-
});
|
|
2734
|
-
};
|
|
2735
|
-
const se_OutputVariablesMap = (input, context) => {
|
|
2736
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2737
|
-
if (value === null) {
|
|
2738
|
-
return acc;
|
|
2739
|
-
}
|
|
2740
|
-
acc[key] = value;
|
|
2741
|
-
return acc;
|
|
2742
|
-
}, {});
|
|
2743
|
-
};
|
|
2744
|
-
const se_PipelineDeclaration = (input, context) => {
|
|
2745
|
-
return {
|
|
2746
|
-
...(input.artifactStore != null && { artifactStore: se_ArtifactStore(input.artifactStore, context) }),
|
|
2747
|
-
...(input.artifactStores != null && { artifactStores: se_ArtifactStoreMap(input.artifactStores, context) }),
|
|
2748
|
-
...(input.name != null && { name: input.name }),
|
|
2749
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2750
|
-
...(input.stages != null && { stages: se_PipelineStageDeclarationList(input.stages, context) }),
|
|
2751
|
-
...(input.version != null && { version: input.version }),
|
|
2752
|
-
};
|
|
2753
|
-
};
|
|
2754
|
-
const se_PipelineStageDeclarationList = (input, context) => {
|
|
2755
|
-
return input
|
|
2756
|
-
.filter((e) => e != null)
|
|
2757
|
-
.map((entry) => {
|
|
2758
|
-
return se_StageDeclaration(entry, context);
|
|
2759
|
-
});
|
|
2760
|
-
};
|
|
2761
|
-
const se_PollForJobsInput = (input, context) => {
|
|
2762
|
-
return {
|
|
2763
|
-
...(input.actionTypeId != null && { actionTypeId: se_ActionTypeId(input.actionTypeId, context) }),
|
|
2764
|
-
...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
|
|
2765
|
-
...(input.queryParam != null && { queryParam: se_QueryParamMap(input.queryParam, context) }),
|
|
2766
|
-
};
|
|
2767
|
-
};
|
|
2768
|
-
const se_PollForThirdPartyJobsInput = (input, context) => {
|
|
2769
|
-
return {
|
|
2770
|
-
...(input.actionTypeId != null && { actionTypeId: se_ActionTypeId(input.actionTypeId, context) }),
|
|
2771
|
-
...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
|
|
2772
|
-
};
|
|
2773
|
-
};
|
|
2774
|
-
const se_PollingAccountList = (input, context) => {
|
|
2775
|
-
return input
|
|
2776
|
-
.filter((e) => e != null)
|
|
2777
|
-
.map((entry) => {
|
|
2778
|
-
return entry;
|
|
2779
|
-
});
|
|
2780
|
-
};
|
|
2781
|
-
const se_PollingServicePrincipalList = (input, context) => {
|
|
2782
|
-
return input
|
|
2783
|
-
.filter((e) => e != null)
|
|
2784
|
-
.map((entry) => {
|
|
2785
|
-
return entry;
|
|
2786
|
-
});
|
|
2787
|
-
};
|
|
2788
|
-
const se_PutActionRevisionInput = (input, context) => {
|
|
2789
|
-
return {
|
|
2790
|
-
...(input.actionName != null && { actionName: input.actionName }),
|
|
2791
|
-
...(input.actionRevision != null && { actionRevision: se_ActionRevision(input.actionRevision, context) }),
|
|
2792
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2793
|
-
...(input.stageName != null && { stageName: input.stageName }),
|
|
2794
|
-
};
|
|
2795
|
-
};
|
|
2796
|
-
const se_PutApprovalResultInput = (input, context) => {
|
|
2797
|
-
return {
|
|
2798
|
-
...(input.actionName != null && { actionName: input.actionName }),
|
|
2799
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2800
|
-
...(input.result != null && { result: se_ApprovalResult(input.result, context) }),
|
|
2801
|
-
...(input.stageName != null && { stageName: input.stageName }),
|
|
2802
|
-
...(input.token != null && { token: input.token }),
|
|
2803
|
-
};
|
|
2804
|
-
};
|
|
2805
|
-
const se_PutJobFailureResultInput = (input, context) => {
|
|
2806
|
-
return {
|
|
2807
|
-
...(input.failureDetails != null && { failureDetails: se_FailureDetails(input.failureDetails, context) }),
|
|
2808
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2809
|
-
};
|
|
2810
|
-
};
|
|
2811
|
-
const se_PutJobSuccessResultInput = (input, context) => {
|
|
2812
|
-
return {
|
|
2813
|
-
...(input.continuationToken != null && { continuationToken: input.continuationToken }),
|
|
2814
|
-
...(input.currentRevision != null && { currentRevision: se_CurrentRevision(input.currentRevision, context) }),
|
|
2815
|
-
...(input.executionDetails != null && { executionDetails: se_ExecutionDetails(input.executionDetails, context) }),
|
|
2816
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2817
|
-
...(input.outputVariables != null && { outputVariables: se_OutputVariablesMap(input.outputVariables, context) }),
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
|
-
const se_PutThirdPartyJobFailureResultInput = (input, context) => {
|
|
2821
|
-
return {
|
|
2822
|
-
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
2823
|
-
...(input.failureDetails != null && { failureDetails: se_FailureDetails(input.failureDetails, context) }),
|
|
2824
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2825
|
-
};
|
|
2826
|
-
};
|
|
2827
|
-
const se_PutThirdPartyJobSuccessResultInput = (input, context) => {
|
|
2828
|
-
return {
|
|
2829
|
-
...(input.clientToken != null && { clientToken: input.clientToken }),
|
|
2830
|
-
...(input.continuationToken != null && { continuationToken: input.continuationToken }),
|
|
2831
|
-
...(input.currentRevision != null && { currentRevision: se_CurrentRevision(input.currentRevision, context) }),
|
|
2832
|
-
...(input.executionDetails != null && { executionDetails: se_ExecutionDetails(input.executionDetails, context) }),
|
|
2833
|
-
...(input.jobId != null && { jobId: input.jobId }),
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
const se_PutWebhookInput = (input, context) => {
|
|
2837
|
-
return {
|
|
2838
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2839
|
-
...(input.webhook != null && { webhook: se_WebhookDefinition(input.webhook, context) }),
|
|
2840
|
-
};
|
|
2841
|
-
};
|
|
2842
|
-
const se_QueryParamMap = (input, context) => {
|
|
2843
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2844
|
-
if (value === null) {
|
|
2845
|
-
return acc;
|
|
2846
|
-
}
|
|
2847
|
-
acc[key] = value;
|
|
2848
|
-
return acc;
|
|
2849
|
-
}, {});
|
|
2850
|
-
};
|
|
2851
|
-
const se_RegisterWebhookWithThirdPartyInput = (input, context) => {
|
|
2852
|
-
return {
|
|
2853
|
-
...(input.webhookName != null && { webhookName: input.webhookName }),
|
|
2854
|
-
};
|
|
2855
|
-
};
|
|
2856
|
-
const se_RetryStageExecutionInput = (input, context) => {
|
|
2857
|
-
return {
|
|
2858
|
-
...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
|
|
2859
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2860
|
-
...(input.retryMode != null && { retryMode: input.retryMode }),
|
|
2861
|
-
...(input.stageName != null && { stageName: input.stageName }),
|
|
2862
|
-
};
|
|
2863
|
-
};
|
|
2864
|
-
const se_StageActionDeclarationList = (input, context) => {
|
|
2865
|
-
return input
|
|
2866
|
-
.filter((e) => e != null)
|
|
2867
|
-
.map((entry) => {
|
|
2868
|
-
return se_ActionDeclaration(entry, context);
|
|
2869
|
-
});
|
|
2870
|
-
};
|
|
2871
|
-
const se_StageBlockerDeclarationList = (input, context) => {
|
|
2872
|
-
return input
|
|
2873
|
-
.filter((e) => e != null)
|
|
2874
|
-
.map((entry) => {
|
|
2875
|
-
return se_BlockerDeclaration(entry, context);
|
|
2876
|
-
});
|
|
2877
|
-
};
|
|
2878
|
-
const se_StageDeclaration = (input, context) => {
|
|
2879
|
-
return {
|
|
2880
|
-
...(input.actions != null && { actions: se_StageActionDeclarationList(input.actions, context) }),
|
|
2881
|
-
...(input.blockers != null && { blockers: se_StageBlockerDeclarationList(input.blockers, context) }),
|
|
2882
|
-
...(input.name != null && { name: input.name }),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const se_StartPipelineExecutionInput = (input, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
|
|
2888
|
-
...(input.name != null && { name: input.name }),
|
|
2889
|
-
};
|
|
2890
|
-
};
|
|
2891
|
-
const se_StopPipelineExecutionInput = (input, context) => {
|
|
2892
|
-
return {
|
|
2893
|
-
...(input.abandon != null && { abandon: input.abandon }),
|
|
2894
|
-
...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
|
|
2895
|
-
...(input.pipelineName != null && { pipelineName: input.pipelineName }),
|
|
2896
|
-
...(input.reason != null && { reason: input.reason }),
|
|
2897
|
-
};
|
|
2898
|
-
};
|
|
2899
|
-
const se_Tag = (input, context) => {
|
|
2900
|
-
return {
|
|
2901
|
-
...(input.key != null && { key: input.key }),
|
|
2902
|
-
...(input.value != null && { value: input.value }),
|
|
2903
|
-
};
|
|
2904
|
-
};
|
|
2905
|
-
const se_TagKeyList = (input, context) => {
|
|
2906
|
-
return input
|
|
2907
|
-
.filter((e) => e != null)
|
|
2908
|
-
.map((entry) => {
|
|
2909
|
-
return entry;
|
|
2910
|
-
});
|
|
2911
|
-
};
|
|
2912
|
-
const se_TagList = (input, context) => {
|
|
2913
|
-
return input
|
|
2914
|
-
.filter((e) => e != null)
|
|
2915
|
-
.map((entry) => {
|
|
2916
|
-
return se_Tag(entry, context);
|
|
2917
|
-
});
|
|
2918
|
-
};
|
|
2919
|
-
const se_TagResourceInput = (input, context) => {
|
|
2920
|
-
return {
|
|
2921
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2922
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
const se_UntagResourceInput = (input, context) => {
|
|
2926
|
-
return {
|
|
2927
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2928
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
2929
|
-
};
|
|
2930
|
-
};
|
|
2931
|
-
const se_UpdateActionTypeInput = (input, context) => {
|
|
2932
|
-
return {
|
|
2933
|
-
...(input.actionType != null && { actionType: se_ActionTypeDeclaration(input.actionType, context) }),
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
const se_UpdatePipelineInput = (input, context) => {
|
|
2937
|
-
return {
|
|
2938
|
-
...(input.pipeline != null && { pipeline: se_PipelineDeclaration(input.pipeline, context) }),
|
|
2939
|
-
};
|
|
2940
|
-
};
|
|
2941
|
-
const se_WebhookAuthConfiguration = (input, context) => {
|
|
2942
|
-
return {
|
|
2943
|
-
...(input.AllowedIPRange != null && { AllowedIPRange: input.AllowedIPRange }),
|
|
2944
|
-
...(input.SecretToken != null && { SecretToken: input.SecretToken }),
|
|
2945
|
-
};
|
|
2946
|
-
};
|
|
2947
|
-
const se_WebhookDefinition = (input, context) => {
|
|
2948
|
-
return {
|
|
2949
|
-
...(input.authentication != null && { authentication: input.authentication }),
|
|
2950
|
-
...(input.authenticationConfiguration != null && {
|
|
2951
|
-
authenticationConfiguration: se_WebhookAuthConfiguration(input.authenticationConfiguration, context),
|
|
2952
|
-
}),
|
|
2953
|
-
...(input.filters != null && { filters: se_WebhookFilters(input.filters, context) }),
|
|
2954
|
-
...(input.name != null && { name: input.name }),
|
|
2955
|
-
...(input.targetAction != null && { targetAction: input.targetAction }),
|
|
2956
|
-
...(input.targetPipeline != null && { targetPipeline: input.targetPipeline }),
|
|
2957
|
-
};
|
|
2958
|
-
};
|
|
2959
|
-
const se_WebhookFilterRule = (input, context) => {
|
|
2960
|
-
return {
|
|
2961
|
-
...(input.jsonPath != null && { jsonPath: input.jsonPath }),
|
|
2962
|
-
...(input.matchEquals != null && { matchEquals: input.matchEquals }),
|
|
2963
|
-
};
|
|
2964
|
-
};
|
|
2965
|
-
const se_WebhookFilters = (input, context) => {
|
|
2966
|
-
return input
|
|
2967
|
-
.filter((e) => e != null)
|
|
2968
|
-
.map((entry) => {
|
|
2969
|
-
return se_WebhookFilterRule(entry, context);
|
|
2970
|
-
});
|
|
2971
|
-
};
|
|
2972
|
-
const de_AcknowledgeJobOutput = (output, context) => {
|
|
2973
|
-
return {
|
|
2974
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2975
|
-
};
|
|
2976
|
-
};
|
|
2977
|
-
const de_AcknowledgeThirdPartyJobOutput = (output, context) => {
|
|
2978
|
-
return {
|
|
2979
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2980
|
-
};
|
|
2981
|
-
};
|
|
2982
|
-
const de_ActionConfiguration = (output, context) => {
|
|
2983
|
-
return {
|
|
2984
|
-
configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
|
|
2985
|
-
};
|
|
2986
|
-
};
|
|
2987
|
-
const de_ActionConfigurationMap = (output, context) => {
|
|
2988
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2989
|
-
if (value === null) {
|
|
2990
|
-
return acc;
|
|
2991
|
-
}
|
|
2992
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2993
|
-
return acc;
|
|
2994
|
-
}, {});
|
|
2995
|
-
};
|
|
2996
|
-
const de_ActionConfigurationProperty = (output, context) => {
|
|
2997
|
-
return {
|
|
2998
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2999
|
-
key: (0, smithy_client_1.expectBoolean)(output.key),
|
|
3000
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3001
|
-
queryable: (0, smithy_client_1.expectBoolean)(output.queryable),
|
|
3002
|
-
required: (0, smithy_client_1.expectBoolean)(output.required),
|
|
3003
|
-
secret: (0, smithy_client_1.expectBoolean)(output.secret),
|
|
3004
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3005
|
-
};
|
|
3006
|
-
};
|
|
3007
|
-
const de_ActionConfigurationPropertyList = (output, context) => {
|
|
3008
|
-
const retVal = (output || [])
|
|
3009
|
-
.filter((e) => e != null)
|
|
3010
|
-
.map((entry) => {
|
|
3011
|
-
if (entry === null) {
|
|
3012
|
-
return null;
|
|
3013
|
-
}
|
|
3014
|
-
return de_ActionConfigurationProperty(entry, context);
|
|
3015
|
-
});
|
|
3016
|
-
return retVal;
|
|
3017
|
-
};
|
|
3018
|
-
const de_ActionContext = (output, context) => {
|
|
3019
|
-
return {
|
|
3020
|
-
actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
|
|
3021
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3022
|
-
};
|
|
3023
|
-
};
|
|
3024
|
-
const de_ActionDeclaration = (output, context) => {
|
|
3025
|
-
return {
|
|
3026
|
-
actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
|
|
3027
|
-
configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
|
|
3028
|
-
inputArtifacts: output.inputArtifacts != null ? de_InputArtifactList(output.inputArtifacts, context) : undefined,
|
|
3029
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3030
|
-
namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
3031
|
-
outputArtifacts: output.outputArtifacts != null ? de_OutputArtifactList(output.outputArtifacts, context) : undefined,
|
|
3032
|
-
region: (0, smithy_client_1.expectString)(output.region),
|
|
3033
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3034
|
-
runOrder: (0, smithy_client_1.expectInt32)(output.runOrder),
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
const de_ActionExecution = (output, context) => {
|
|
3038
|
-
return {
|
|
3039
|
-
actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
|
|
3040
|
-
errorDetails: output.errorDetails != null ? de_ErrorDetails(output.errorDetails, context) : undefined,
|
|
3041
|
-
externalExecutionId: (0, smithy_client_1.expectString)(output.externalExecutionId),
|
|
3042
|
-
externalExecutionUrl: (0, smithy_client_1.expectString)(output.externalExecutionUrl),
|
|
3043
|
-
lastStatusChange: output.lastStatusChange != null
|
|
3044
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChange)))
|
|
3045
|
-
: undefined,
|
|
3046
|
-
lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
|
|
3047
|
-
percentComplete: (0, smithy_client_1.expectInt32)(output.percentComplete),
|
|
3048
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3049
|
-
summary: (0, smithy_client_1.expectString)(output.summary),
|
|
3050
|
-
token: (0, smithy_client_1.expectString)(output.token),
|
|
3051
|
-
};
|
|
3052
|
-
};
|
|
3053
|
-
const de_ActionExecutionDetail = (output, context) => {
|
|
3054
|
-
return {
|
|
3055
|
-
actionExecutionId: (0, smithy_client_1.expectString)(output.actionExecutionId),
|
|
3056
|
-
actionName: (0, smithy_client_1.expectString)(output.actionName),
|
|
3057
|
-
input: output.input != null ? de_ActionExecutionInput(output.input, context) : undefined,
|
|
3058
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
3059
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3060
|
-
: undefined,
|
|
3061
|
-
output: output.output != null ? de_ActionExecutionOutput(output.output, context) : undefined,
|
|
3062
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3063
|
-
pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
|
|
3064
|
-
stageName: (0, smithy_client_1.expectString)(output.stageName),
|
|
3065
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3066
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3067
|
-
};
|
|
3068
|
-
};
|
|
3069
|
-
const de_ActionExecutionDetailList = (output, context) => {
|
|
3070
|
-
const retVal = (output || [])
|
|
3071
|
-
.filter((e) => e != null)
|
|
3072
|
-
.map((entry) => {
|
|
3073
|
-
if (entry === null) {
|
|
3074
|
-
return null;
|
|
3075
|
-
}
|
|
3076
|
-
return de_ActionExecutionDetail(entry, context);
|
|
3077
|
-
});
|
|
3078
|
-
return retVal;
|
|
3079
|
-
};
|
|
3080
|
-
const de_ActionExecutionInput = (output, context) => {
|
|
3081
|
-
return {
|
|
3082
|
-
actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
|
|
3083
|
-
configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
|
|
3084
|
-
inputArtifacts: output.inputArtifacts != null ? de_ArtifactDetailList(output.inputArtifacts, context) : undefined,
|
|
3085
|
-
namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
3086
|
-
region: (0, smithy_client_1.expectString)(output.region),
|
|
3087
|
-
resolvedConfiguration: output.resolvedConfiguration != null
|
|
3088
|
-
? de_ResolvedActionConfigurationMap(output.resolvedConfiguration, context)
|
|
3089
|
-
: undefined,
|
|
3090
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3091
|
-
};
|
|
3092
|
-
};
|
|
3093
|
-
const de_ActionExecutionOutput = (output, context) => {
|
|
3094
|
-
return {
|
|
3095
|
-
executionResult: output.executionResult != null ? de_ActionExecutionResult(output.executionResult, context) : undefined,
|
|
3096
|
-
outputArtifacts: output.outputArtifacts != null ? de_ArtifactDetailList(output.outputArtifacts, context) : undefined,
|
|
3097
|
-
outputVariables: output.outputVariables != null ? de_OutputVariablesMap(output.outputVariables, context) : undefined,
|
|
3098
|
-
};
|
|
3099
|
-
};
|
|
3100
|
-
const de_ActionExecutionResult = (output, context) => {
|
|
3101
|
-
return {
|
|
3102
|
-
externalExecutionId: (0, smithy_client_1.expectString)(output.externalExecutionId),
|
|
3103
|
-
externalExecutionSummary: (0, smithy_client_1.expectString)(output.externalExecutionSummary),
|
|
3104
|
-
externalExecutionUrl: (0, smithy_client_1.expectString)(output.externalExecutionUrl),
|
|
3105
|
-
};
|
|
3106
|
-
};
|
|
3107
|
-
const de_ActionNotFoundException = (output, context) => {
|
|
3108
|
-
return {
|
|
3109
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3110
|
-
};
|
|
3111
|
-
};
|
|
3112
|
-
const de_ActionRevision = (output, context) => {
|
|
3113
|
-
return {
|
|
3114
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3115
|
-
revisionChangeId: (0, smithy_client_1.expectString)(output.revisionChangeId),
|
|
3116
|
-
revisionId: (0, smithy_client_1.expectString)(output.revisionId),
|
|
3117
|
-
};
|
|
3118
|
-
};
|
|
3119
|
-
const de_ActionState = (output, context) => {
|
|
3120
|
-
return {
|
|
3121
|
-
actionName: (0, smithy_client_1.expectString)(output.actionName),
|
|
3122
|
-
currentRevision: output.currentRevision != null ? de_ActionRevision(output.currentRevision, context) : undefined,
|
|
3123
|
-
entityUrl: (0, smithy_client_1.expectString)(output.entityUrl),
|
|
3124
|
-
latestExecution: output.latestExecution != null ? de_ActionExecution(output.latestExecution, context) : undefined,
|
|
3125
|
-
revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
|
|
3126
|
-
};
|
|
3127
|
-
};
|
|
3128
|
-
const de_ActionStateList = (output, context) => {
|
|
3129
|
-
const retVal = (output || [])
|
|
3130
|
-
.filter((e) => e != null)
|
|
3131
|
-
.map((entry) => {
|
|
3132
|
-
if (entry === null) {
|
|
3133
|
-
return null;
|
|
3134
|
-
}
|
|
3135
|
-
return de_ActionState(entry, context);
|
|
3136
|
-
});
|
|
3137
|
-
return retVal;
|
|
3138
|
-
};
|
|
3139
|
-
const de_ActionType = (output, context) => {
|
|
3140
|
-
return {
|
|
3141
|
-
actionConfigurationProperties: output.actionConfigurationProperties != null
|
|
3142
|
-
? de_ActionConfigurationPropertyList(output.actionConfigurationProperties, context)
|
|
3143
|
-
: undefined,
|
|
3144
|
-
id: output.id != null ? de_ActionTypeId(output.id, context) : undefined,
|
|
3145
|
-
inputArtifactDetails: output.inputArtifactDetails != null ? de_ArtifactDetails(output.inputArtifactDetails, context) : undefined,
|
|
3146
|
-
outputArtifactDetails: output.outputArtifactDetails != null ? de_ArtifactDetails(output.outputArtifactDetails, context) : undefined,
|
|
3147
|
-
settings: output.settings != null ? de_ActionTypeSettings(output.settings, context) : undefined,
|
|
3148
|
-
};
|
|
3149
|
-
};
|
|
3150
|
-
const de_ActionTypeArtifactDetails = (output, context) => {
|
|
3151
|
-
return {
|
|
3152
|
-
maximumCount: (0, smithy_client_1.expectInt32)(output.maximumCount),
|
|
3153
|
-
minimumCount: (0, smithy_client_1.expectInt32)(output.minimumCount),
|
|
3154
|
-
};
|
|
3155
|
-
};
|
|
3156
|
-
const de_ActionTypeDeclaration = (output, context) => {
|
|
3157
|
-
return {
|
|
3158
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3159
|
-
executor: output.executor != null ? de_ActionTypeExecutor(output.executor, context) : undefined,
|
|
3160
|
-
id: output.id != null ? de_ActionTypeIdentifier(output.id, context) : undefined,
|
|
3161
|
-
inputArtifactDetails: output.inputArtifactDetails != null
|
|
3162
|
-
? de_ActionTypeArtifactDetails(output.inputArtifactDetails, context)
|
|
3163
|
-
: undefined,
|
|
3164
|
-
outputArtifactDetails: output.outputArtifactDetails != null
|
|
3165
|
-
? de_ActionTypeArtifactDetails(output.outputArtifactDetails, context)
|
|
3166
|
-
: undefined,
|
|
3167
|
-
permissions: output.permissions != null ? de_ActionTypePermissions(output.permissions, context) : undefined,
|
|
3168
|
-
properties: output.properties != null ? de_ActionTypeProperties(output.properties, context) : undefined,
|
|
3169
|
-
urls: output.urls != null ? de_ActionTypeUrls(output.urls, context) : undefined,
|
|
3170
|
-
};
|
|
3171
|
-
};
|
|
3172
|
-
const de_ActionTypeExecutor = (output, context) => {
|
|
3173
|
-
return {
|
|
3174
|
-
configuration: output.configuration != null ? de_ExecutorConfiguration(output.configuration, context) : undefined,
|
|
3175
|
-
jobTimeout: (0, smithy_client_1.expectInt32)(output.jobTimeout),
|
|
3176
|
-
policyStatementsTemplate: (0, smithy_client_1.expectString)(output.policyStatementsTemplate),
|
|
3177
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3178
|
-
};
|
|
3179
|
-
};
|
|
3180
|
-
const de_ActionTypeId = (output, context) => {
|
|
3181
|
-
return {
|
|
3182
|
-
category: (0, smithy_client_1.expectString)(output.category),
|
|
3183
|
-
owner: (0, smithy_client_1.expectString)(output.owner),
|
|
3184
|
-
provider: (0, smithy_client_1.expectString)(output.provider),
|
|
3185
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
3186
|
-
};
|
|
3187
|
-
};
|
|
3188
|
-
const de_ActionTypeIdentifier = (output, context) => {
|
|
3189
|
-
return {
|
|
3190
|
-
category: (0, smithy_client_1.expectString)(output.category),
|
|
3191
|
-
owner: (0, smithy_client_1.expectString)(output.owner),
|
|
3192
|
-
provider: (0, smithy_client_1.expectString)(output.provider),
|
|
3193
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
3194
|
-
};
|
|
3195
|
-
};
|
|
3196
|
-
const de_ActionTypeList = (output, context) => {
|
|
3197
|
-
const retVal = (output || [])
|
|
3198
|
-
.filter((e) => e != null)
|
|
3199
|
-
.map((entry) => {
|
|
3200
|
-
if (entry === null) {
|
|
3201
|
-
return null;
|
|
3202
|
-
}
|
|
3203
|
-
return de_ActionType(entry, context);
|
|
3204
|
-
});
|
|
3205
|
-
return retVal;
|
|
3206
|
-
};
|
|
3207
|
-
const de_ActionTypeNotFoundException = (output, context) => {
|
|
3208
|
-
return {
|
|
3209
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
const de_ActionTypePermissions = (output, context) => {
|
|
3213
|
-
return {
|
|
3214
|
-
allowedAccounts: output.allowedAccounts != null ? de_AllowedAccounts(output.allowedAccounts, context) : undefined,
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const de_ActionTypeProperties = (output, context) => {
|
|
3218
|
-
const retVal = (output || [])
|
|
3219
|
-
.filter((e) => e != null)
|
|
3220
|
-
.map((entry) => {
|
|
3221
|
-
if (entry === null) {
|
|
3222
|
-
return null;
|
|
3223
|
-
}
|
|
3224
|
-
return de_ActionTypeProperty(entry, context);
|
|
3225
|
-
});
|
|
3226
|
-
return retVal;
|
|
3227
|
-
};
|
|
3228
|
-
const de_ActionTypeProperty = (output, context) => {
|
|
3229
|
-
return {
|
|
3230
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3231
|
-
key: (0, smithy_client_1.expectBoolean)(output.key),
|
|
3232
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3233
|
-
noEcho: (0, smithy_client_1.expectBoolean)(output.noEcho),
|
|
3234
|
-
optional: (0, smithy_client_1.expectBoolean)(output.optional),
|
|
3235
|
-
queryable: (0, smithy_client_1.expectBoolean)(output.queryable),
|
|
3236
|
-
};
|
|
3237
|
-
};
|
|
3238
|
-
const de_ActionTypeSettings = (output, context) => {
|
|
3239
|
-
return {
|
|
3240
|
-
entityUrlTemplate: (0, smithy_client_1.expectString)(output.entityUrlTemplate),
|
|
3241
|
-
executionUrlTemplate: (0, smithy_client_1.expectString)(output.executionUrlTemplate),
|
|
3242
|
-
revisionUrlTemplate: (0, smithy_client_1.expectString)(output.revisionUrlTemplate),
|
|
3243
|
-
thirdPartyConfigurationUrl: (0, smithy_client_1.expectString)(output.thirdPartyConfigurationUrl),
|
|
3244
|
-
};
|
|
3245
|
-
};
|
|
3246
|
-
const de_ActionTypeUrls = (output, context) => {
|
|
3247
|
-
return {
|
|
3248
|
-
configurationUrl: (0, smithy_client_1.expectString)(output.configurationUrl),
|
|
3249
|
-
entityUrlTemplate: (0, smithy_client_1.expectString)(output.entityUrlTemplate),
|
|
3250
|
-
executionUrlTemplate: (0, smithy_client_1.expectString)(output.executionUrlTemplate),
|
|
3251
|
-
revisionUrlTemplate: (0, smithy_client_1.expectString)(output.revisionUrlTemplate),
|
|
3252
|
-
};
|
|
3253
|
-
};
|
|
3254
|
-
const de_AllowedAccounts = (output, context) => {
|
|
3255
|
-
const retVal = (output || [])
|
|
3256
|
-
.filter((e) => e != null)
|
|
3257
|
-
.map((entry) => {
|
|
3258
|
-
if (entry === null) {
|
|
3259
|
-
return null;
|
|
3260
|
-
}
|
|
3261
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3262
|
-
});
|
|
3263
|
-
return retVal;
|
|
3264
|
-
};
|
|
3265
|
-
const de_ApprovalAlreadyCompletedException = (output, context) => {
|
|
3266
|
-
return {
|
|
3267
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3268
|
-
};
|
|
3269
|
-
};
|
|
3270
|
-
const de_Artifact = (output, context) => {
|
|
3271
|
-
return {
|
|
3272
|
-
location: output.location != null ? de_ArtifactLocation(output.location, context) : undefined,
|
|
3273
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3274
|
-
revision: (0, smithy_client_1.expectString)(output.revision),
|
|
3275
|
-
};
|
|
3276
|
-
};
|
|
3277
|
-
const de_ArtifactDetail = (output, context) => {
|
|
3278
|
-
return {
|
|
3279
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3280
|
-
s3location: output.s3location != null ? de_S3Location(output.s3location, context) : undefined,
|
|
3281
|
-
};
|
|
3282
|
-
};
|
|
3283
|
-
const de_ArtifactDetailList = (output, context) => {
|
|
3284
|
-
const retVal = (output || [])
|
|
3285
|
-
.filter((e) => e != null)
|
|
3286
|
-
.map((entry) => {
|
|
3287
|
-
if (entry === null) {
|
|
3288
|
-
return null;
|
|
3289
|
-
}
|
|
3290
|
-
return de_ArtifactDetail(entry, context);
|
|
3291
|
-
});
|
|
3292
|
-
return retVal;
|
|
3293
|
-
};
|
|
3294
|
-
const de_ArtifactDetails = (output, context) => {
|
|
3295
|
-
return {
|
|
3296
|
-
maximumCount: (0, smithy_client_1.expectInt32)(output.maximumCount),
|
|
3297
|
-
minimumCount: (0, smithy_client_1.expectInt32)(output.minimumCount),
|
|
3298
|
-
};
|
|
3299
|
-
};
|
|
3300
|
-
const de_ArtifactList = (output, context) => {
|
|
3301
|
-
const retVal = (output || [])
|
|
3302
|
-
.filter((e) => e != null)
|
|
3303
|
-
.map((entry) => {
|
|
3304
|
-
if (entry === null) {
|
|
3305
|
-
return null;
|
|
3306
|
-
}
|
|
3307
|
-
return de_Artifact(entry, context);
|
|
3308
|
-
});
|
|
3309
|
-
return retVal;
|
|
3310
|
-
};
|
|
3311
|
-
const de_ArtifactLocation = (output, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
s3Location: output.s3Location != null ? de_S3ArtifactLocation(output.s3Location, context) : undefined,
|
|
3314
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3315
|
-
};
|
|
3316
|
-
};
|
|
3317
|
-
const de_ArtifactRevision = (output, context) => {
|
|
3318
|
-
return {
|
|
3319
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3320
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3321
|
-
revisionChangeIdentifier: (0, smithy_client_1.expectString)(output.revisionChangeIdentifier),
|
|
3322
|
-
revisionId: (0, smithy_client_1.expectString)(output.revisionId),
|
|
3323
|
-
revisionSummary: (0, smithy_client_1.expectString)(output.revisionSummary),
|
|
3324
|
-
revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
|
|
3325
|
-
};
|
|
3326
|
-
};
|
|
3327
|
-
const de_ArtifactRevisionList = (output, context) => {
|
|
3328
|
-
const retVal = (output || [])
|
|
3329
|
-
.filter((e) => e != null)
|
|
3330
|
-
.map((entry) => {
|
|
3331
|
-
if (entry === null) {
|
|
3332
|
-
return null;
|
|
3333
|
-
}
|
|
3334
|
-
return de_ArtifactRevision(entry, context);
|
|
3335
|
-
});
|
|
3336
|
-
return retVal;
|
|
3337
|
-
};
|
|
3338
|
-
const de_ArtifactStore = (output, context) => {
|
|
3339
|
-
return {
|
|
3340
|
-
encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
|
|
3341
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3342
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3343
|
-
};
|
|
3344
|
-
};
|
|
3345
|
-
const de_ArtifactStoreMap = (output, context) => {
|
|
3346
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3347
|
-
if (value === null) {
|
|
3348
|
-
return acc;
|
|
3349
|
-
}
|
|
3350
|
-
acc[key] = de_ArtifactStore(value, context);
|
|
3351
|
-
return acc;
|
|
3352
|
-
}, {});
|
|
3353
|
-
};
|
|
3354
|
-
const de_AWSSessionCredentials = (output, context) => {
|
|
3355
|
-
return {
|
|
3356
|
-
accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
|
|
3357
|
-
secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
|
|
3358
|
-
sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
|
|
3359
|
-
};
|
|
3360
|
-
};
|
|
3361
|
-
const de_BlockerDeclaration = (output, context) => {
|
|
3362
|
-
return {
|
|
3363
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3364
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3365
|
-
};
|
|
3366
|
-
};
|
|
3367
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
3368
|
-
return {
|
|
3369
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3370
|
-
};
|
|
3371
|
-
};
|
|
3372
|
-
const de_ConflictException = (output, context) => {
|
|
3373
|
-
return {
|
|
3374
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3375
|
-
};
|
|
3376
|
-
};
|
|
3377
|
-
const de_CreateCustomActionTypeOutput = (output, context) => {
|
|
3378
|
-
return {
|
|
3379
|
-
actionType: output.actionType != null ? de_ActionType(output.actionType, context) : undefined,
|
|
3380
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3381
|
-
};
|
|
3382
|
-
};
|
|
3383
|
-
const de_CreatePipelineOutput = (output, context) => {
|
|
3384
|
-
return {
|
|
3385
|
-
pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
|
|
3386
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3387
|
-
};
|
|
3388
|
-
};
|
|
3389
|
-
const de_DeleteWebhookOutput = (output, context) => {
|
|
3390
|
-
return {};
|
|
3391
|
-
};
|
|
3392
|
-
const de_DeregisterWebhookWithThirdPartyOutput = (output, context) => {
|
|
3393
|
-
return {};
|
|
3394
|
-
};
|
|
3395
|
-
const de_DuplicatedStopRequestException = (output, context) => {
|
|
3396
|
-
return {
|
|
3397
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3398
|
-
};
|
|
3399
|
-
};
|
|
3400
|
-
const de_EncryptionKey = (output, context) => {
|
|
3401
|
-
return {
|
|
3402
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3403
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3404
|
-
};
|
|
3405
|
-
};
|
|
3406
|
-
const de_ErrorDetails = (output, context) => {
|
|
3407
|
-
return {
|
|
3408
|
-
code: (0, smithy_client_1.expectString)(output.code),
|
|
3409
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3410
|
-
};
|
|
3411
|
-
};
|
|
3412
|
-
const de_ExecutionTrigger = (output, context) => {
|
|
3413
|
-
return {
|
|
3414
|
-
triggerDetail: (0, smithy_client_1.expectString)(output.triggerDetail),
|
|
3415
|
-
triggerType: (0, smithy_client_1.expectString)(output.triggerType),
|
|
3416
|
-
};
|
|
3417
|
-
};
|
|
3418
|
-
const de_ExecutorConfiguration = (output, context) => {
|
|
3419
|
-
return {
|
|
3420
|
-
jobWorkerExecutorConfiguration: output.jobWorkerExecutorConfiguration != null
|
|
3421
|
-
? de_JobWorkerExecutorConfiguration(output.jobWorkerExecutorConfiguration, context)
|
|
3422
|
-
: undefined,
|
|
3423
|
-
lambdaExecutorConfiguration: output.lambdaExecutorConfiguration != null
|
|
3424
|
-
? de_LambdaExecutorConfiguration(output.lambdaExecutorConfiguration, context)
|
|
3425
|
-
: undefined,
|
|
3426
|
-
};
|
|
3427
|
-
};
|
|
3428
|
-
const de_GetActionTypeOutput = (output, context) => {
|
|
3429
|
-
return {
|
|
3430
|
-
actionType: output.actionType != null ? de_ActionTypeDeclaration(output.actionType, context) : undefined,
|
|
3431
|
-
};
|
|
3432
|
-
};
|
|
3433
|
-
const de_GetJobDetailsOutput = (output, context) => {
|
|
3434
|
-
return {
|
|
3435
|
-
jobDetails: output.jobDetails != null ? de_JobDetails(output.jobDetails, context) : undefined,
|
|
3436
|
-
};
|
|
3437
|
-
};
|
|
3438
|
-
const de_GetPipelineExecutionOutput = (output, context) => {
|
|
3439
|
-
return {
|
|
3440
|
-
pipelineExecution: output.pipelineExecution != null ? de_PipelineExecution(output.pipelineExecution, context) : undefined,
|
|
3441
|
-
};
|
|
3442
|
-
};
|
|
3443
|
-
const de_GetPipelineOutput = (output, context) => {
|
|
3444
|
-
return {
|
|
3445
|
-
metadata: output.metadata != null ? de_PipelineMetadata(output.metadata, context) : undefined,
|
|
3446
|
-
pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
const de_GetPipelineStateOutput = (output, context) => {
|
|
3450
|
-
return {
|
|
3451
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3452
|
-
pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
|
|
3453
|
-
pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
|
|
3454
|
-
stageStates: output.stageStates != null ? de_StageStateList(output.stageStates, context) : undefined,
|
|
3455
|
-
updated: output.updated != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updated))) : undefined,
|
|
3456
|
-
};
|
|
3457
|
-
};
|
|
3458
|
-
const de_GetThirdPartyJobDetailsOutput = (output, context) => {
|
|
3459
|
-
return {
|
|
3460
|
-
jobDetails: output.jobDetails != null ? de_ThirdPartyJobDetails(output.jobDetails, context) : undefined,
|
|
3461
|
-
};
|
|
3462
|
-
};
|
|
3463
|
-
const de_InputArtifact = (output, context) => {
|
|
3464
|
-
return {
|
|
3465
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
const de_InputArtifactList = (output, context) => {
|
|
3469
|
-
const retVal = (output || [])
|
|
3470
|
-
.filter((e) => e != null)
|
|
3471
|
-
.map((entry) => {
|
|
3472
|
-
if (entry === null) {
|
|
3473
|
-
return null;
|
|
3474
|
-
}
|
|
3475
|
-
return de_InputArtifact(entry, context);
|
|
3476
|
-
});
|
|
3477
|
-
return retVal;
|
|
3478
|
-
};
|
|
3479
|
-
const de_InvalidActionDeclarationException = (output, context) => {
|
|
3480
|
-
return {
|
|
3481
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3482
|
-
};
|
|
3483
|
-
};
|
|
3484
|
-
const de_InvalidApprovalTokenException = (output, context) => {
|
|
3485
|
-
return {
|
|
3486
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3487
|
-
};
|
|
3488
|
-
};
|
|
3489
|
-
const de_InvalidArnException = (output, context) => {
|
|
3490
|
-
return {
|
|
3491
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3492
|
-
};
|
|
3493
|
-
};
|
|
3494
|
-
const de_InvalidBlockerDeclarationException = (output, context) => {
|
|
3495
|
-
return {
|
|
3496
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3497
|
-
};
|
|
3498
|
-
};
|
|
3499
|
-
const de_InvalidClientTokenException = (output, context) => {
|
|
3500
|
-
return {
|
|
3501
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
const de_InvalidJobException = (output, context) => {
|
|
3505
|
-
return {
|
|
3506
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3507
|
-
};
|
|
3508
|
-
};
|
|
3509
|
-
const de_InvalidJobStateException = (output, context) => {
|
|
3510
|
-
return {
|
|
3511
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3512
|
-
};
|
|
3513
|
-
};
|
|
3514
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
3515
|
-
return {
|
|
3516
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3517
|
-
};
|
|
3518
|
-
};
|
|
3519
|
-
const de_InvalidNonceException = (output, context) => {
|
|
3520
|
-
return {
|
|
3521
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3522
|
-
};
|
|
3523
|
-
};
|
|
3524
|
-
const de_InvalidStageDeclarationException = (output, context) => {
|
|
3525
|
-
return {
|
|
3526
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3527
|
-
};
|
|
3528
|
-
};
|
|
3529
|
-
const de_InvalidStructureException = (output, context) => {
|
|
3530
|
-
return {
|
|
3531
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3532
|
-
};
|
|
3533
|
-
};
|
|
3534
|
-
const de_InvalidTagsException = (output, context) => {
|
|
3535
|
-
return {
|
|
3536
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3537
|
-
};
|
|
3538
|
-
};
|
|
3539
|
-
const de_InvalidWebhookAuthenticationParametersException = (output, context) => {
|
|
3540
|
-
return {
|
|
3541
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3542
|
-
};
|
|
3543
|
-
};
|
|
3544
|
-
const de_InvalidWebhookFilterPatternException = (output, context) => {
|
|
3545
|
-
return {
|
|
3546
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3547
|
-
};
|
|
3548
|
-
};
|
|
3549
|
-
const de_Job = (output, context) => {
|
|
3550
|
-
return {
|
|
3551
|
-
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
3552
|
-
data: output.data != null ? de_JobData(output.data, context) : undefined,
|
|
3553
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3554
|
-
nonce: (0, smithy_client_1.expectString)(output.nonce),
|
|
3555
|
-
};
|
|
3556
|
-
};
|
|
3557
|
-
const de_JobData = (output, context) => {
|
|
3558
|
-
return {
|
|
3559
|
-
actionConfiguration: output.actionConfiguration != null ? de_ActionConfiguration(output.actionConfiguration, context) : undefined,
|
|
3560
|
-
actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
|
|
3561
|
-
artifactCredentials: output.artifactCredentials != null ? de_AWSSessionCredentials(output.artifactCredentials, context) : undefined,
|
|
3562
|
-
continuationToken: (0, smithy_client_1.expectString)(output.continuationToken),
|
|
3563
|
-
encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
|
|
3564
|
-
inputArtifacts: output.inputArtifacts != null ? de_ArtifactList(output.inputArtifacts, context) : undefined,
|
|
3565
|
-
outputArtifacts: output.outputArtifacts != null ? de_ArtifactList(output.outputArtifacts, context) : undefined,
|
|
3566
|
-
pipelineContext: output.pipelineContext != null ? de_PipelineContext(output.pipelineContext, context) : undefined,
|
|
3567
|
-
};
|
|
3568
|
-
};
|
|
3569
|
-
const de_JobDetails = (output, context) => {
|
|
3570
|
-
return {
|
|
3571
|
-
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
3572
|
-
data: output.data != null ? de_JobData(output.data, context) : undefined,
|
|
3573
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3574
|
-
};
|
|
3575
|
-
};
|
|
3576
|
-
const de_JobList = (output, context) => {
|
|
3577
|
-
const retVal = (output || [])
|
|
3578
|
-
.filter((e) => e != null)
|
|
3579
|
-
.map((entry) => {
|
|
3580
|
-
if (entry === null) {
|
|
3581
|
-
return null;
|
|
3582
|
-
}
|
|
3583
|
-
return de_Job(entry, context);
|
|
3584
|
-
});
|
|
3585
|
-
return retVal;
|
|
3586
|
-
};
|
|
3587
|
-
const de_JobNotFoundException = (output, context) => {
|
|
3588
|
-
return {
|
|
3589
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3590
|
-
};
|
|
3591
|
-
};
|
|
3592
|
-
const de_JobWorkerExecutorConfiguration = (output, context) => {
|
|
3593
|
-
return {
|
|
3594
|
-
pollingAccounts: output.pollingAccounts != null ? de_PollingAccountList(output.pollingAccounts, context) : undefined,
|
|
3595
|
-
pollingServicePrincipals: output.pollingServicePrincipals != null
|
|
3596
|
-
? de_PollingServicePrincipalList(output.pollingServicePrincipals, context)
|
|
3597
|
-
: undefined,
|
|
3598
|
-
};
|
|
3599
|
-
};
|
|
3600
|
-
const de_LambdaExecutorConfiguration = (output, context) => {
|
|
3601
|
-
return {
|
|
3602
|
-
lambdaFunctionArn: (0, smithy_client_1.expectString)(output.lambdaFunctionArn),
|
|
3603
|
-
};
|
|
3604
|
-
};
|
|
3605
|
-
const de_LimitExceededException = (output, context) => {
|
|
3606
|
-
return {
|
|
3607
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3608
|
-
};
|
|
3609
|
-
};
|
|
3610
|
-
const de_ListActionExecutionsOutput = (output, context) => {
|
|
3611
|
-
return {
|
|
3612
|
-
actionExecutionDetails: output.actionExecutionDetails != null
|
|
3613
|
-
? de_ActionExecutionDetailList(output.actionExecutionDetails, context)
|
|
3614
|
-
: undefined,
|
|
3615
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3616
|
-
};
|
|
3617
|
-
};
|
|
3618
|
-
const de_ListActionTypesOutput = (output, context) => {
|
|
3619
|
-
return {
|
|
3620
|
-
actionTypes: output.actionTypes != null ? de_ActionTypeList(output.actionTypes, context) : undefined,
|
|
3621
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3622
|
-
};
|
|
3623
|
-
};
|
|
3624
|
-
const de_ListPipelineExecutionsOutput = (output, context) => {
|
|
3625
|
-
return {
|
|
3626
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3627
|
-
pipelineExecutionSummaries: output.pipelineExecutionSummaries != null
|
|
3628
|
-
? de_PipelineExecutionSummaryList(output.pipelineExecutionSummaries, context)
|
|
3629
|
-
: undefined,
|
|
3630
|
-
};
|
|
3631
|
-
};
|
|
3632
|
-
const de_ListPipelinesOutput = (output, context) => {
|
|
3633
|
-
return {
|
|
3634
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3635
|
-
pipelines: output.pipelines != null ? de_PipelineList(output.pipelines, context) : undefined,
|
|
3636
|
-
};
|
|
3637
|
-
};
|
|
3638
|
-
const de_ListTagsForResourceOutput = (output, context) => {
|
|
3639
|
-
return {
|
|
3640
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3641
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
const de_ListWebhookItem = (output, context) => {
|
|
3645
|
-
return {
|
|
3646
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3647
|
-
definition: output.definition != null ? de_WebhookDefinition(output.definition, context) : undefined,
|
|
3648
|
-
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3649
|
-
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
3650
|
-
lastTriggered: output.lastTriggered != null
|
|
3651
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastTriggered)))
|
|
3652
|
-
: undefined,
|
|
3653
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3654
|
-
url: (0, smithy_client_1.expectString)(output.url),
|
|
3655
|
-
};
|
|
3656
|
-
};
|
|
3657
|
-
const de_ListWebhooksOutput = (output, context) => {
|
|
3658
|
-
return {
|
|
3659
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3660
|
-
webhooks: output.webhooks != null ? de_WebhookList(output.webhooks, context) : undefined,
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
|
-
const de_NotLatestPipelineExecutionException = (output, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3666
|
-
};
|
|
3667
|
-
};
|
|
3668
|
-
const de_OutputArtifact = (output, context) => {
|
|
3669
|
-
return {
|
|
3670
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3671
|
-
};
|
|
3672
|
-
};
|
|
3673
|
-
const de_OutputArtifactList = (output, context) => {
|
|
3674
|
-
const retVal = (output || [])
|
|
3675
|
-
.filter((e) => e != null)
|
|
3676
|
-
.map((entry) => {
|
|
3677
|
-
if (entry === null) {
|
|
3678
|
-
return null;
|
|
3679
|
-
}
|
|
3680
|
-
return de_OutputArtifact(entry, context);
|
|
3681
|
-
});
|
|
3682
|
-
return retVal;
|
|
3683
|
-
};
|
|
3684
|
-
const de_OutputVariablesMap = (output, context) => {
|
|
3685
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3686
|
-
if (value === null) {
|
|
3687
|
-
return acc;
|
|
3688
|
-
}
|
|
3689
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3690
|
-
return acc;
|
|
3691
|
-
}, {});
|
|
3692
|
-
};
|
|
3693
|
-
const de_OutputVariablesSizeExceededException = (output, context) => {
|
|
3694
|
-
return {
|
|
3695
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3696
|
-
};
|
|
3697
|
-
};
|
|
3698
|
-
const de_PipelineContext = (output, context) => {
|
|
3699
|
-
return {
|
|
3700
|
-
action: output.action != null ? de_ActionContext(output.action, context) : undefined,
|
|
3701
|
-
pipelineArn: (0, smithy_client_1.expectString)(output.pipelineArn),
|
|
3702
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3703
|
-
pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
|
|
3704
|
-
stage: output.stage != null ? de_StageContext(output.stage, context) : undefined,
|
|
3705
|
-
};
|
|
3706
|
-
};
|
|
3707
|
-
const de_PipelineDeclaration = (output, context) => {
|
|
3708
|
-
return {
|
|
3709
|
-
artifactStore: output.artifactStore != null ? de_ArtifactStore(output.artifactStore, context) : undefined,
|
|
3710
|
-
artifactStores: output.artifactStores != null ? de_ArtifactStoreMap(output.artifactStores, context) : undefined,
|
|
3711
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3712
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3713
|
-
stages: output.stages != null ? de_PipelineStageDeclarationList(output.stages, context) : undefined,
|
|
3714
|
-
version: (0, smithy_client_1.expectInt32)(output.version),
|
|
3715
|
-
};
|
|
3716
|
-
};
|
|
3717
|
-
const de_PipelineExecution = (output, context) => {
|
|
3718
|
-
return {
|
|
3719
|
-
artifactRevisions: output.artifactRevisions != null ? de_ArtifactRevisionList(output.artifactRevisions, context) : undefined,
|
|
3720
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3721
|
-
pipelineName: (0, smithy_client_1.expectString)(output.pipelineName),
|
|
3722
|
-
pipelineVersion: (0, smithy_client_1.expectInt32)(output.pipelineVersion),
|
|
3723
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3724
|
-
statusSummary: (0, smithy_client_1.expectString)(output.statusSummary),
|
|
3725
|
-
};
|
|
3726
|
-
};
|
|
3727
|
-
const de_PipelineExecutionNotFoundException = (output, context) => {
|
|
3728
|
-
return {
|
|
3729
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3730
|
-
};
|
|
3731
|
-
};
|
|
3732
|
-
const de_PipelineExecutionNotStoppableException = (output, context) => {
|
|
3733
|
-
return {
|
|
3734
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3735
|
-
};
|
|
3736
|
-
};
|
|
3737
|
-
const de_PipelineExecutionSummary = (output, context) => {
|
|
3738
|
-
return {
|
|
3739
|
-
lastUpdateTime: output.lastUpdateTime != null
|
|
3740
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3741
|
-
: undefined,
|
|
3742
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3743
|
-
sourceRevisions: output.sourceRevisions != null ? de_SourceRevisionList(output.sourceRevisions, context) : undefined,
|
|
3744
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
3745
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3746
|
-
stopTrigger: output.stopTrigger != null ? de_StopExecutionTrigger(output.stopTrigger, context) : undefined,
|
|
3747
|
-
trigger: output.trigger != null ? de_ExecutionTrigger(output.trigger, context) : undefined,
|
|
3748
|
-
};
|
|
3749
|
-
};
|
|
3750
|
-
const de_PipelineExecutionSummaryList = (output, context) => {
|
|
3751
|
-
const retVal = (output || [])
|
|
3752
|
-
.filter((e) => e != null)
|
|
3753
|
-
.map((entry) => {
|
|
3754
|
-
if (entry === null) {
|
|
3755
|
-
return null;
|
|
3756
|
-
}
|
|
3757
|
-
return de_PipelineExecutionSummary(entry, context);
|
|
3758
|
-
});
|
|
3759
|
-
return retVal;
|
|
3760
|
-
};
|
|
3761
|
-
const de_PipelineList = (output, context) => {
|
|
3762
|
-
const retVal = (output || [])
|
|
3763
|
-
.filter((e) => e != null)
|
|
3764
|
-
.map((entry) => {
|
|
3765
|
-
if (entry === null) {
|
|
3766
|
-
return null;
|
|
3767
|
-
}
|
|
3768
|
-
return de_PipelineSummary(entry, context);
|
|
3769
|
-
});
|
|
3770
|
-
return retVal;
|
|
3771
|
-
};
|
|
3772
|
-
const de_PipelineMetadata = (output, context) => {
|
|
3773
|
-
return {
|
|
3774
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3775
|
-
pipelineArn: (0, smithy_client_1.expectString)(output.pipelineArn),
|
|
3776
|
-
updated: output.updated != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updated))) : undefined,
|
|
3777
|
-
};
|
|
3778
|
-
};
|
|
3779
|
-
const de_PipelineNameInUseException = (output, context) => {
|
|
3780
|
-
return {
|
|
3781
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3782
|
-
};
|
|
3783
|
-
};
|
|
3784
|
-
const de_PipelineNotFoundException = (output, context) => {
|
|
3785
|
-
return {
|
|
3786
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3787
|
-
};
|
|
3788
|
-
};
|
|
3789
|
-
const de_PipelineStageDeclarationList = (output, context) => {
|
|
3790
|
-
const retVal = (output || [])
|
|
3791
|
-
.filter((e) => e != null)
|
|
3792
|
-
.map((entry) => {
|
|
3793
|
-
if (entry === null) {
|
|
3794
|
-
return null;
|
|
3795
|
-
}
|
|
3796
|
-
return de_StageDeclaration(entry, context);
|
|
3797
|
-
});
|
|
3798
|
-
return retVal;
|
|
3799
|
-
};
|
|
3800
|
-
const de_PipelineSummary = (output, context) => {
|
|
3801
|
-
return {
|
|
3802
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3803
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3804
|
-
updated: output.updated != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updated))) : undefined,
|
|
3805
|
-
version: (0, smithy_client_1.expectInt32)(output.version),
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
const de_PipelineVersionNotFoundException = (output, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3811
|
-
};
|
|
3812
|
-
};
|
|
3813
|
-
const de_PollForJobsOutput = (output, context) => {
|
|
3814
|
-
return {
|
|
3815
|
-
jobs: output.jobs != null ? de_JobList(output.jobs, context) : undefined,
|
|
3816
|
-
};
|
|
3817
|
-
};
|
|
3818
|
-
const de_PollForThirdPartyJobsOutput = (output, context) => {
|
|
3819
|
-
return {
|
|
3820
|
-
jobs: output.jobs != null ? de_ThirdPartyJobList(output.jobs, context) : undefined,
|
|
3821
|
-
};
|
|
3822
|
-
};
|
|
3823
|
-
const de_PollingAccountList = (output, context) => {
|
|
3824
|
-
const retVal = (output || [])
|
|
3825
|
-
.filter((e) => e != null)
|
|
3826
|
-
.map((entry) => {
|
|
3827
|
-
if (entry === null) {
|
|
3828
|
-
return null;
|
|
3829
|
-
}
|
|
3830
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3831
|
-
});
|
|
3832
|
-
return retVal;
|
|
3833
|
-
};
|
|
3834
|
-
const de_PollingServicePrincipalList = (output, context) => {
|
|
3835
|
-
const retVal = (output || [])
|
|
3836
|
-
.filter((e) => e != null)
|
|
3837
|
-
.map((entry) => {
|
|
3838
|
-
if (entry === null) {
|
|
3839
|
-
return null;
|
|
3840
|
-
}
|
|
3841
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3842
|
-
});
|
|
3843
|
-
return retVal;
|
|
3844
|
-
};
|
|
3845
|
-
const de_PutActionRevisionOutput = (output, context) => {
|
|
3846
|
-
return {
|
|
3847
|
-
newRevision: (0, smithy_client_1.expectBoolean)(output.newRevision),
|
|
3848
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3849
|
-
};
|
|
3850
|
-
};
|
|
3851
|
-
const de_PutApprovalResultOutput = (output, context) => {
|
|
3852
|
-
return {
|
|
3853
|
-
approvedAt: output.approvedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.approvedAt))) : undefined,
|
|
3854
|
-
};
|
|
3855
|
-
};
|
|
3856
|
-
const de_PutWebhookOutput = (output, context) => {
|
|
3857
|
-
return {
|
|
3858
|
-
webhook: output.webhook != null ? de_ListWebhookItem(output.webhook, context) : undefined,
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
const de_RegisterWebhookWithThirdPartyOutput = (output, context) => {
|
|
3862
|
-
return {};
|
|
3863
|
-
};
|
|
3864
|
-
const de_RequestFailedException = (output, context) => {
|
|
3865
|
-
return {
|
|
3866
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3867
|
-
};
|
|
3868
|
-
};
|
|
3869
|
-
const de_ResolvedActionConfigurationMap = (output, context) => {
|
|
3870
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3871
|
-
if (value === null) {
|
|
3872
|
-
return acc;
|
|
3873
|
-
}
|
|
3874
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3875
|
-
return acc;
|
|
3876
|
-
}, {});
|
|
3877
|
-
};
|
|
3878
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
3879
|
-
return {
|
|
3880
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3881
|
-
};
|
|
3882
|
-
};
|
|
3883
|
-
const de_RetryStageExecutionOutput = (output, context) => {
|
|
3884
|
-
return {
|
|
3885
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3886
|
-
};
|
|
3887
|
-
};
|
|
3888
|
-
const de_S3ArtifactLocation = (output, context) => {
|
|
3889
|
-
return {
|
|
3890
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3891
|
-
objectKey: (0, smithy_client_1.expectString)(output.objectKey),
|
|
3892
|
-
};
|
|
3893
|
-
};
|
|
3894
|
-
const de_S3Location = (output, context) => {
|
|
3895
|
-
return {
|
|
3896
|
-
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
3897
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
3898
|
-
};
|
|
3899
|
-
};
|
|
3900
|
-
const de_SourceRevision = (output, context) => {
|
|
3901
|
-
return {
|
|
3902
|
-
actionName: (0, smithy_client_1.expectString)(output.actionName),
|
|
3903
|
-
revisionId: (0, smithy_client_1.expectString)(output.revisionId),
|
|
3904
|
-
revisionSummary: (0, smithy_client_1.expectString)(output.revisionSummary),
|
|
3905
|
-
revisionUrl: (0, smithy_client_1.expectString)(output.revisionUrl),
|
|
3906
|
-
};
|
|
3907
|
-
};
|
|
3908
|
-
const de_SourceRevisionList = (output, context) => {
|
|
3909
|
-
const retVal = (output || [])
|
|
3910
|
-
.filter((e) => e != null)
|
|
3911
|
-
.map((entry) => {
|
|
3912
|
-
if (entry === null) {
|
|
3913
|
-
return null;
|
|
3914
|
-
}
|
|
3915
|
-
return de_SourceRevision(entry, context);
|
|
3916
|
-
});
|
|
3917
|
-
return retVal;
|
|
3918
|
-
};
|
|
3919
|
-
const de_StageActionDeclarationList = (output, context) => {
|
|
3920
|
-
const retVal = (output || [])
|
|
3921
|
-
.filter((e) => e != null)
|
|
3922
|
-
.map((entry) => {
|
|
3923
|
-
if (entry === null) {
|
|
3924
|
-
return null;
|
|
3925
|
-
}
|
|
3926
|
-
return de_ActionDeclaration(entry, context);
|
|
3927
|
-
});
|
|
3928
|
-
return retVal;
|
|
3929
|
-
};
|
|
3930
|
-
const de_StageBlockerDeclarationList = (output, context) => {
|
|
3931
|
-
const retVal = (output || [])
|
|
3932
|
-
.filter((e) => e != null)
|
|
3933
|
-
.map((entry) => {
|
|
3934
|
-
if (entry === null) {
|
|
3935
|
-
return null;
|
|
3936
|
-
}
|
|
3937
|
-
return de_BlockerDeclaration(entry, context);
|
|
3938
|
-
});
|
|
3939
|
-
return retVal;
|
|
3940
|
-
};
|
|
3941
|
-
const de_StageContext = (output, context) => {
|
|
3942
|
-
return {
|
|
3943
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3944
|
-
};
|
|
3945
|
-
};
|
|
3946
|
-
const de_StageDeclaration = (output, context) => {
|
|
3947
|
-
return {
|
|
3948
|
-
actions: output.actions != null ? de_StageActionDeclarationList(output.actions, context) : undefined,
|
|
3949
|
-
blockers: output.blockers != null ? de_StageBlockerDeclarationList(output.blockers, context) : undefined,
|
|
3950
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3951
|
-
};
|
|
3952
|
-
};
|
|
3953
|
-
const de_StageExecution = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3956
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
const de_StageNotFoundException = (output, context) => {
|
|
3960
|
-
return {
|
|
3961
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3962
|
-
};
|
|
3963
|
-
};
|
|
3964
|
-
const de_StageNotRetryableException = (output, context) => {
|
|
3965
|
-
return {
|
|
3966
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3967
|
-
};
|
|
3968
|
-
};
|
|
3969
|
-
const de_StageState = (output, context) => {
|
|
3970
|
-
return {
|
|
3971
|
-
actionStates: output.actionStates != null ? de_ActionStateList(output.actionStates, context) : undefined,
|
|
3972
|
-
inboundExecution: output.inboundExecution != null ? de_StageExecution(output.inboundExecution, context) : undefined,
|
|
3973
|
-
inboundTransitionState: output.inboundTransitionState != null ? de_TransitionState(output.inboundTransitionState, context) : undefined,
|
|
3974
|
-
latestExecution: output.latestExecution != null ? de_StageExecution(output.latestExecution, context) : undefined,
|
|
3975
|
-
stageName: (0, smithy_client_1.expectString)(output.stageName),
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
const de_StageStateList = (output, context) => {
|
|
3979
|
-
const retVal = (output || [])
|
|
3980
|
-
.filter((e) => e != null)
|
|
3981
|
-
.map((entry) => {
|
|
3982
|
-
if (entry === null) {
|
|
3983
|
-
return null;
|
|
3984
|
-
}
|
|
3985
|
-
return de_StageState(entry, context);
|
|
3986
|
-
});
|
|
3987
|
-
return retVal;
|
|
3988
|
-
};
|
|
3989
|
-
const de_StartPipelineExecutionOutput = (output, context) => {
|
|
3990
|
-
return {
|
|
3991
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
const de_StopExecutionTrigger = (output, context) => {
|
|
3995
|
-
return {
|
|
3996
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
3997
|
-
};
|
|
3998
|
-
};
|
|
3999
|
-
const de_StopPipelineExecutionOutput = (output, context) => {
|
|
4000
|
-
return {
|
|
4001
|
-
pipelineExecutionId: (0, smithy_client_1.expectString)(output.pipelineExecutionId),
|
|
4002
|
-
};
|
|
4003
|
-
};
|
|
4004
|
-
const de_Tag = (output, context) => {
|
|
4005
|
-
return {
|
|
4006
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
4007
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
4008
|
-
};
|
|
4009
|
-
};
|
|
4010
|
-
const de_TagList = (output, context) => {
|
|
4011
|
-
const retVal = (output || [])
|
|
4012
|
-
.filter((e) => e != null)
|
|
4013
|
-
.map((entry) => {
|
|
4014
|
-
if (entry === null) {
|
|
4015
|
-
return null;
|
|
4016
|
-
}
|
|
4017
|
-
return de_Tag(entry, context);
|
|
4018
|
-
});
|
|
4019
|
-
return retVal;
|
|
4020
|
-
};
|
|
4021
|
-
const de_TagResourceOutput = (output, context) => {
|
|
4022
|
-
return {};
|
|
4023
|
-
};
|
|
4024
|
-
const de_ThirdPartyJob = (output, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
clientId: (0, smithy_client_1.expectString)(output.clientId),
|
|
4027
|
-
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
4028
|
-
};
|
|
4029
|
-
};
|
|
4030
|
-
const de_ThirdPartyJobData = (output, context) => {
|
|
4031
|
-
return {
|
|
4032
|
-
actionConfiguration: output.actionConfiguration != null ? de_ActionConfiguration(output.actionConfiguration, context) : undefined,
|
|
4033
|
-
actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
|
|
4034
|
-
artifactCredentials: output.artifactCredentials != null ? de_AWSSessionCredentials(output.artifactCredentials, context) : undefined,
|
|
4035
|
-
continuationToken: (0, smithy_client_1.expectString)(output.continuationToken),
|
|
4036
|
-
encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
|
|
4037
|
-
inputArtifacts: output.inputArtifacts != null ? de_ArtifactList(output.inputArtifacts, context) : undefined,
|
|
4038
|
-
outputArtifacts: output.outputArtifacts != null ? de_ArtifactList(output.outputArtifacts, context) : undefined,
|
|
4039
|
-
pipelineContext: output.pipelineContext != null ? de_PipelineContext(output.pipelineContext, context) : undefined,
|
|
4040
|
-
};
|
|
4041
|
-
};
|
|
4042
|
-
const de_ThirdPartyJobDetails = (output, context) => {
|
|
4043
|
-
return {
|
|
4044
|
-
data: output.data != null ? de_ThirdPartyJobData(output.data, context) : undefined,
|
|
4045
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
4046
|
-
nonce: (0, smithy_client_1.expectString)(output.nonce),
|
|
4047
|
-
};
|
|
4048
|
-
};
|
|
4049
|
-
const de_ThirdPartyJobList = (output, context) => {
|
|
4050
|
-
const retVal = (output || [])
|
|
4051
|
-
.filter((e) => e != null)
|
|
4052
|
-
.map((entry) => {
|
|
4053
|
-
if (entry === null) {
|
|
4054
|
-
return null;
|
|
4055
|
-
}
|
|
4056
|
-
return de_ThirdPartyJob(entry, context);
|
|
4057
|
-
});
|
|
4058
|
-
return retVal;
|
|
4059
|
-
};
|
|
4060
|
-
const de_TooManyTagsException = (output, context) => {
|
|
4061
|
-
return {
|
|
4062
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4063
|
-
};
|
|
4064
|
-
};
|
|
4065
|
-
const de_TransitionState = (output, context) => {
|
|
4066
|
-
return {
|
|
4067
|
-
disabledReason: (0, smithy_client_1.expectString)(output.disabledReason),
|
|
4068
|
-
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4069
|
-
lastChangedAt: output.lastChangedAt != null
|
|
4070
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastChangedAt)))
|
|
4071
|
-
: undefined,
|
|
4072
|
-
lastChangedBy: (0, smithy_client_1.expectString)(output.lastChangedBy),
|
|
4073
|
-
};
|
|
4074
|
-
};
|
|
4075
|
-
const de_UntagResourceOutput = (output, context) => {
|
|
4076
|
-
return {};
|
|
4077
|
-
};
|
|
4078
|
-
const de_UpdatePipelineOutput = (output, context) => {
|
|
4079
|
-
return {
|
|
4080
|
-
pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
|
|
4081
|
-
};
|
|
4082
|
-
};
|
|
4083
|
-
const de_ValidationException = (output, context) => {
|
|
4084
|
-
return {
|
|
4085
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4086
|
-
};
|
|
4087
|
-
};
|
|
4088
|
-
const de_WebhookAuthConfiguration = (output, context) => {
|
|
4089
|
-
return {
|
|
4090
|
-
AllowedIPRange: (0, smithy_client_1.expectString)(output.AllowedIPRange),
|
|
4091
|
-
SecretToken: (0, smithy_client_1.expectString)(output.SecretToken),
|
|
4092
|
-
};
|
|
4093
|
-
};
|
|
4094
|
-
const de_WebhookDefinition = (output, context) => {
|
|
4095
|
-
return {
|
|
4096
|
-
authentication: (0, smithy_client_1.expectString)(output.authentication),
|
|
4097
|
-
authenticationConfiguration: output.authenticationConfiguration != null
|
|
4098
|
-
? de_WebhookAuthConfiguration(output.authenticationConfiguration, context)
|
|
4099
|
-
: undefined,
|
|
4100
|
-
filters: output.filters != null ? de_WebhookFilters(output.filters, context) : undefined,
|
|
4101
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
4102
|
-
targetAction: (0, smithy_client_1.expectString)(output.targetAction),
|
|
4103
|
-
targetPipeline: (0, smithy_client_1.expectString)(output.targetPipeline),
|
|
4104
|
-
};
|
|
4105
|
-
};
|
|
4106
|
-
const de_WebhookFilterRule = (output, context) => {
|
|
4107
|
-
return {
|
|
4108
|
-
jsonPath: (0, smithy_client_1.expectString)(output.jsonPath),
|
|
4109
|
-
matchEquals: (0, smithy_client_1.expectString)(output.matchEquals),
|
|
4110
|
-
};
|
|
4111
|
-
};
|
|
4112
|
-
const de_WebhookFilters = (output, context) => {
|
|
4113
|
-
const retVal = (output || [])
|
|
4114
|
-
.filter((e) => e != null)
|
|
4115
|
-
.map((entry) => {
|
|
4116
|
-
if (entry === null) {
|
|
4117
|
-
return null;
|
|
4118
|
-
}
|
|
4119
|
-
return de_WebhookFilterRule(entry, context);
|
|
4120
|
-
});
|
|
4121
|
-
return retVal;
|
|
4122
|
-
};
|
|
4123
|
-
const de_WebhookList = (output, context) => {
|
|
4124
|
-
const retVal = (output || [])
|
|
4125
|
-
.filter((e) => e != null)
|
|
4126
|
-
.map((entry) => {
|
|
4127
|
-
if (entry === null) {
|
|
4128
|
-
return null;
|
|
4129
|
-
}
|
|
4130
|
-
return de_ListWebhookItem(entry, context);
|
|
4131
|
-
});
|
|
4132
|
-
return retVal;
|
|
4133
|
-
};
|
|
4134
|
-
const de_WebhookNotFoundException = (output, context) => {
|
|
4135
|
-
return {};
|
|
2443
|
+
const de_WebhookList = (output, context) => {
|
|
2444
|
+
const retVal = (output || [])
|
|
2445
|
+
.filter((e) => e != null)
|
|
2446
|
+
.map((entry) => {
|
|
2447
|
+
return de_ListWebhookItem(entry, context);
|
|
2448
|
+
});
|
|
2449
|
+
return retVal;
|
|
4136
2450
|
};
|
|
4137
2451
|
const deserializeMetadata = (output) => ({
|
|
4138
2452
|
httpStatusCode: output.statusCode,
|
|
@@ -4147,6 +2461,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4147
2461
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4148
2462
|
};
|
|
4149
2463
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2464
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(CodePipelineServiceException_1.CodePipelineServiceException);
|
|
4150
2465
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4151
2466
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4152
2467
|
const contents = {
|
|
@@ -4165,6 +2480,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4165
2480
|
}
|
|
4166
2481
|
return new protocol_http_1.HttpRequest(contents);
|
|
4167
2482
|
};
|
|
2483
|
+
function sharedHeaders(operation) {
|
|
2484
|
+
return {
|
|
2485
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2486
|
+
"x-amz-target": `CodePipeline_20150709.${operation}`,
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
4168
2489
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4169
2490
|
if (encoded.length) {
|
|
4170
2491
|
return JSON.parse(encoded);
|