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