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