@aws-sdk/client-codebuild 3.312.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 +465 -2098
- package/dist-es/protocols/Aws_json1_1.js +466 -2099
- package/package.json +6 -6
|
@@ -9,112 +9,112 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_BatchDeleteBuildsCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("BatchDeleteBuilds");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_BatchDeleteBuildsCommand = se_BatchDeleteBuildsCommand;
|
|
16
16
|
const se_BatchGetBuildBatchesCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("BatchGetBuildBatches");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_BatchGetBuildBatchesCommand = se_BatchGetBuildBatchesCommand;
|
|
23
23
|
const se_BatchGetBuildsCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("BatchGetBuilds");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_BatchGetBuildsCommand = se_BatchGetBuildsCommand;
|
|
30
30
|
const se_BatchGetProjectsCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("BatchGetProjects");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_BatchGetProjectsCommand = se_BatchGetProjectsCommand;
|
|
37
37
|
const se_BatchGetReportGroupsCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("BatchGetReportGroups");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_BatchGetReportGroupsCommand = se_BatchGetReportGroupsCommand;
|
|
44
44
|
const se_BatchGetReportsCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("BatchGetReports");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_BatchGetReportsCommand = se_BatchGetReportsCommand;
|
|
51
51
|
const se_CreateProjectCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("CreateProject");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_CreateProjectCommand = se_CreateProjectCommand;
|
|
58
58
|
const se_CreateReportGroupCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("CreateReportGroup");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_CreateReportGroupCommand = se_CreateReportGroupCommand;
|
|
65
65
|
const se_CreateWebhookCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreateWebhook");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_CreateWebhookCommand = se_CreateWebhookCommand;
|
|
72
72
|
const se_DeleteBuildBatchCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DeleteBuildBatch");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DeleteBuildBatchCommand = se_DeleteBuildBatchCommand;
|
|
79
79
|
const se_DeleteProjectCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DeleteProject");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DeleteProjectCommand = se_DeleteProjectCommand;
|
|
86
86
|
const se_DeleteReportCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("DeleteReport");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_DeleteReportCommand = se_DeleteReportCommand;
|
|
93
93
|
const se_DeleteReportGroupCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("DeleteReportGroup");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_DeleteReportGroupCommand = se_DeleteReportGroupCommand;
|
|
100
100
|
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
|
|
107
107
|
const se_DeleteSourceCredentialsCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DeleteSourceCredentials");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_DeleteSourceCredentialsCommand = se_DeleteSourceCredentialsCommand;
|
|
114
114
|
const se_DeleteWebhookCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("DeleteWebhook");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_DeleteWebhookCommand = se_DeleteWebhookCommand;
|
|
@@ -128,196 +128,196 @@ exports.se_DescribeCodeCoveragesCommand = se_DescribeCodeCoveragesCommand;
|
|
|
128
128
|
const se_DescribeTestCasesCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("DescribeTestCases");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_DescribeTestCasesCommand = se_DescribeTestCasesCommand;
|
|
135
135
|
const se_GetReportGroupTrendCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("GetReportGroupTrend");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_GetReportGroupTrendCommand = se_GetReportGroupTrendCommand;
|
|
142
142
|
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("GetResourcePolicy");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
|
|
149
149
|
const se_ImportSourceCredentialsCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("ImportSourceCredentials");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_ImportSourceCredentialsCommand = se_ImportSourceCredentialsCommand;
|
|
156
156
|
const se_InvalidateProjectCacheCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("InvalidateProjectCache");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_InvalidateProjectCacheCommand = se_InvalidateProjectCacheCommand;
|
|
163
163
|
const se_ListBuildBatchesCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("ListBuildBatches");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_ListBuildBatchesCommand = se_ListBuildBatchesCommand;
|
|
170
170
|
const se_ListBuildBatchesForProjectCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("ListBuildBatchesForProject");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_ListBuildBatchesForProjectCommand = se_ListBuildBatchesForProjectCommand;
|
|
177
177
|
const se_ListBuildsCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("ListBuilds");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_ListBuildsCommand = se_ListBuildsCommand;
|
|
184
184
|
const se_ListBuildsForProjectCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("ListBuildsForProject");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_ListBuildsForProjectCommand = se_ListBuildsForProjectCommand;
|
|
191
191
|
const se_ListCuratedEnvironmentImagesCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("ListCuratedEnvironmentImages");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_ListCuratedEnvironmentImagesCommand = se_ListCuratedEnvironmentImagesCommand;
|
|
198
198
|
const se_ListProjectsCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("ListProjects");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_ListProjectsCommand = se_ListProjectsCommand;
|
|
205
205
|
const se_ListReportGroupsCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("ListReportGroups");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_ListReportGroupsCommand = se_ListReportGroupsCommand;
|
|
212
212
|
const se_ListReportsCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("ListReports");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_ListReportsCommand = se_ListReportsCommand;
|
|
219
219
|
const se_ListReportsForReportGroupCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("ListReportsForReportGroup");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_ListReportsForReportGroupCommand = se_ListReportsForReportGroupCommand;
|
|
226
226
|
const se_ListSharedProjectsCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("ListSharedProjects");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_ListSharedProjectsCommand = se_ListSharedProjectsCommand;
|
|
233
233
|
const se_ListSharedReportGroupsCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("ListSharedReportGroups");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_ListSharedReportGroupsCommand = se_ListSharedReportGroupsCommand;
|
|
240
240
|
const se_ListSourceCredentialsCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("ListSourceCredentials");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_ListSourceCredentialsCommand = se_ListSourceCredentialsCommand;
|
|
247
247
|
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("PutResourcePolicy");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
|
|
254
254
|
const se_RetryBuildCommand = async (input, context) => {
|
|
255
255
|
const headers = sharedHeaders("RetryBuild");
|
|
256
256
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
259
|
};
|
|
260
260
|
exports.se_RetryBuildCommand = se_RetryBuildCommand;
|
|
261
261
|
const se_RetryBuildBatchCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("RetryBuildBatch");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_RetryBuildBatchCommand = se_RetryBuildBatchCommand;
|
|
268
268
|
const se_StartBuildCommand = async (input, context) => {
|
|
269
269
|
const headers = sharedHeaders("StartBuild");
|
|
270
270
|
let body;
|
|
271
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
272
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
273
|
};
|
|
274
274
|
exports.se_StartBuildCommand = se_StartBuildCommand;
|
|
275
275
|
const se_StartBuildBatchCommand = async (input, context) => {
|
|
276
276
|
const headers = sharedHeaders("StartBuildBatch");
|
|
277
277
|
let body;
|
|
278
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
279
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
280
|
};
|
|
281
281
|
exports.se_StartBuildBatchCommand = se_StartBuildBatchCommand;
|
|
282
282
|
const se_StopBuildCommand = async (input, context) => {
|
|
283
283
|
const headers = sharedHeaders("StopBuild");
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
288
|
exports.se_StopBuildCommand = se_StopBuildCommand;
|
|
289
289
|
const se_StopBuildBatchCommand = async (input, context) => {
|
|
290
290
|
const headers = sharedHeaders("StopBuildBatch");
|
|
291
291
|
let body;
|
|
292
|
-
body = JSON.stringify(
|
|
292
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
293
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
294
|
};
|
|
295
295
|
exports.se_StopBuildBatchCommand = se_StopBuildBatchCommand;
|
|
296
296
|
const se_UpdateProjectCommand = async (input, context) => {
|
|
297
297
|
const headers = sharedHeaders("UpdateProject");
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
302
|
exports.se_UpdateProjectCommand = se_UpdateProjectCommand;
|
|
303
303
|
const se_UpdateProjectVisibilityCommand = async (input, context) => {
|
|
304
304
|
const headers = sharedHeaders("UpdateProjectVisibility");
|
|
305
305
|
let body;
|
|
306
|
-
body = JSON.stringify(
|
|
306
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
307
307
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
308
|
};
|
|
309
309
|
exports.se_UpdateProjectVisibilityCommand = se_UpdateProjectVisibilityCommand;
|
|
310
310
|
const se_UpdateReportGroupCommand = async (input, context) => {
|
|
311
311
|
const headers = sharedHeaders("UpdateReportGroup");
|
|
312
312
|
let body;
|
|
313
|
-
body = JSON.stringify(
|
|
313
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
314
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
315
|
};
|
|
316
316
|
exports.se_UpdateReportGroupCommand = se_UpdateReportGroupCommand;
|
|
317
317
|
const se_UpdateWebhookCommand = async (input, context) => {
|
|
318
318
|
const headers = sharedHeaders("UpdateWebhook");
|
|
319
319
|
let body;
|
|
320
|
-
body = JSON.stringify(
|
|
320
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
321
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
322
|
};
|
|
323
323
|
exports.se_UpdateWebhookCommand = se_UpdateWebhookCommand;
|
|
@@ -327,12 +327,12 @@ const de_BatchDeleteBuildsCommand = async (output, context) => {
|
|
|
327
327
|
}
|
|
328
328
|
const data = await parseBody(output.body, context);
|
|
329
329
|
let contents = {};
|
|
330
|
-
contents =
|
|
330
|
+
contents = (0, smithy_client_1._json)(data);
|
|
331
331
|
const response = {
|
|
332
332
|
$metadata: deserializeMetadata(output),
|
|
333
333
|
...contents,
|
|
334
334
|
};
|
|
335
|
-
return
|
|
335
|
+
return response;
|
|
336
336
|
};
|
|
337
337
|
exports.de_BatchDeleteBuildsCommand = de_BatchDeleteBuildsCommand;
|
|
338
338
|
const de_BatchDeleteBuildsCommandError = async (output, context) => {
|
|
@@ -347,10 +347,9 @@ const de_BatchDeleteBuildsCommandError = async (output, context) => {
|
|
|
347
347
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
348
348
|
default:
|
|
349
349
|
const parsedBody = parsedOutput.body;
|
|
350
|
-
|
|
350
|
+
return throwDefaultError({
|
|
351
351
|
output,
|
|
352
352
|
parsedBody,
|
|
353
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
354
353
|
errorCode,
|
|
355
354
|
});
|
|
356
355
|
}
|
|
@@ -366,7 +365,7 @@ const de_BatchGetBuildBatchesCommand = async (output, context) => {
|
|
|
366
365
|
$metadata: deserializeMetadata(output),
|
|
367
366
|
...contents,
|
|
368
367
|
};
|
|
369
|
-
return
|
|
368
|
+
return response;
|
|
370
369
|
};
|
|
371
370
|
exports.de_BatchGetBuildBatchesCommand = de_BatchGetBuildBatchesCommand;
|
|
372
371
|
const de_BatchGetBuildBatchesCommandError = async (output, context) => {
|
|
@@ -381,10 +380,9 @@ const de_BatchGetBuildBatchesCommandError = async (output, context) => {
|
|
|
381
380
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
382
381
|
default:
|
|
383
382
|
const parsedBody = parsedOutput.body;
|
|
384
|
-
|
|
383
|
+
return throwDefaultError({
|
|
385
384
|
output,
|
|
386
385
|
parsedBody,
|
|
387
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
388
386
|
errorCode,
|
|
389
387
|
});
|
|
390
388
|
}
|
|
@@ -400,7 +398,7 @@ const de_BatchGetBuildsCommand = async (output, context) => {
|
|
|
400
398
|
$metadata: deserializeMetadata(output),
|
|
401
399
|
...contents,
|
|
402
400
|
};
|
|
403
|
-
return
|
|
401
|
+
return response;
|
|
404
402
|
};
|
|
405
403
|
exports.de_BatchGetBuildsCommand = de_BatchGetBuildsCommand;
|
|
406
404
|
const de_BatchGetBuildsCommandError = async (output, context) => {
|
|
@@ -415,10 +413,9 @@ const de_BatchGetBuildsCommandError = async (output, context) => {
|
|
|
415
413
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
416
414
|
default:
|
|
417
415
|
const parsedBody = parsedOutput.body;
|
|
418
|
-
|
|
416
|
+
return throwDefaultError({
|
|
419
417
|
output,
|
|
420
418
|
parsedBody,
|
|
421
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
422
419
|
errorCode,
|
|
423
420
|
});
|
|
424
421
|
}
|
|
@@ -434,7 +431,7 @@ const de_BatchGetProjectsCommand = async (output, context) => {
|
|
|
434
431
|
$metadata: deserializeMetadata(output),
|
|
435
432
|
...contents,
|
|
436
433
|
};
|
|
437
|
-
return
|
|
434
|
+
return response;
|
|
438
435
|
};
|
|
439
436
|
exports.de_BatchGetProjectsCommand = de_BatchGetProjectsCommand;
|
|
440
437
|
const de_BatchGetProjectsCommandError = async (output, context) => {
|
|
@@ -449,10 +446,9 @@ const de_BatchGetProjectsCommandError = async (output, context) => {
|
|
|
449
446
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
450
447
|
default:
|
|
451
448
|
const parsedBody = parsedOutput.body;
|
|
452
|
-
|
|
449
|
+
return throwDefaultError({
|
|
453
450
|
output,
|
|
454
451
|
parsedBody,
|
|
455
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
456
452
|
errorCode,
|
|
457
453
|
});
|
|
458
454
|
}
|
|
@@ -468,7 +464,7 @@ const de_BatchGetReportGroupsCommand = async (output, context) => {
|
|
|
468
464
|
$metadata: deserializeMetadata(output),
|
|
469
465
|
...contents,
|
|
470
466
|
};
|
|
471
|
-
return
|
|
467
|
+
return response;
|
|
472
468
|
};
|
|
473
469
|
exports.de_BatchGetReportGroupsCommand = de_BatchGetReportGroupsCommand;
|
|
474
470
|
const de_BatchGetReportGroupsCommandError = async (output, context) => {
|
|
@@ -483,10 +479,9 @@ const de_BatchGetReportGroupsCommandError = async (output, context) => {
|
|
|
483
479
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
484
480
|
default:
|
|
485
481
|
const parsedBody = parsedOutput.body;
|
|
486
|
-
|
|
482
|
+
return throwDefaultError({
|
|
487
483
|
output,
|
|
488
484
|
parsedBody,
|
|
489
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
490
485
|
errorCode,
|
|
491
486
|
});
|
|
492
487
|
}
|
|
@@ -502,7 +497,7 @@ const de_BatchGetReportsCommand = async (output, context) => {
|
|
|
502
497
|
$metadata: deserializeMetadata(output),
|
|
503
498
|
...contents,
|
|
504
499
|
};
|
|
505
|
-
return
|
|
500
|
+
return response;
|
|
506
501
|
};
|
|
507
502
|
exports.de_BatchGetReportsCommand = de_BatchGetReportsCommand;
|
|
508
503
|
const de_BatchGetReportsCommandError = async (output, context) => {
|
|
@@ -517,10 +512,9 @@ const de_BatchGetReportsCommandError = async (output, context) => {
|
|
|
517
512
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
518
513
|
default:
|
|
519
514
|
const parsedBody = parsedOutput.body;
|
|
520
|
-
|
|
515
|
+
return throwDefaultError({
|
|
521
516
|
output,
|
|
522
517
|
parsedBody,
|
|
523
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
524
518
|
errorCode,
|
|
525
519
|
});
|
|
526
520
|
}
|
|
@@ -536,7 +530,7 @@ const de_CreateProjectCommand = async (output, context) => {
|
|
|
536
530
|
$metadata: deserializeMetadata(output),
|
|
537
531
|
...contents,
|
|
538
532
|
};
|
|
539
|
-
return
|
|
533
|
+
return response;
|
|
540
534
|
};
|
|
541
535
|
exports.de_CreateProjectCommand = de_CreateProjectCommand;
|
|
542
536
|
const de_CreateProjectCommandError = async (output, context) => {
|
|
@@ -557,10 +551,9 @@ const de_CreateProjectCommandError = async (output, context) => {
|
|
|
557
551
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
558
552
|
default:
|
|
559
553
|
const parsedBody = parsedOutput.body;
|
|
560
|
-
|
|
554
|
+
return throwDefaultError({
|
|
561
555
|
output,
|
|
562
556
|
parsedBody,
|
|
563
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
564
557
|
errorCode,
|
|
565
558
|
});
|
|
566
559
|
}
|
|
@@ -576,7 +569,7 @@ const de_CreateReportGroupCommand = async (output, context) => {
|
|
|
576
569
|
$metadata: deserializeMetadata(output),
|
|
577
570
|
...contents,
|
|
578
571
|
};
|
|
579
|
-
return
|
|
572
|
+
return response;
|
|
580
573
|
};
|
|
581
574
|
exports.de_CreateReportGroupCommand = de_CreateReportGroupCommand;
|
|
582
575
|
const de_CreateReportGroupCommandError = async (output, context) => {
|
|
@@ -597,10 +590,9 @@ const de_CreateReportGroupCommandError = async (output, context) => {
|
|
|
597
590
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
598
591
|
default:
|
|
599
592
|
const parsedBody = parsedOutput.body;
|
|
600
|
-
|
|
593
|
+
return throwDefaultError({
|
|
601
594
|
output,
|
|
602
595
|
parsedBody,
|
|
603
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
604
596
|
errorCode,
|
|
605
597
|
});
|
|
606
598
|
}
|
|
@@ -616,7 +608,7 @@ const de_CreateWebhookCommand = async (output, context) => {
|
|
|
616
608
|
$metadata: deserializeMetadata(output),
|
|
617
609
|
...contents,
|
|
618
610
|
};
|
|
619
|
-
return
|
|
611
|
+
return response;
|
|
620
612
|
};
|
|
621
613
|
exports.de_CreateWebhookCommand = de_CreateWebhookCommand;
|
|
622
614
|
const de_CreateWebhookCommandError = async (output, context) => {
|
|
@@ -640,10 +632,9 @@ const de_CreateWebhookCommandError = async (output, context) => {
|
|
|
640
632
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
641
633
|
default:
|
|
642
634
|
const parsedBody = parsedOutput.body;
|
|
643
|
-
|
|
635
|
+
return throwDefaultError({
|
|
644
636
|
output,
|
|
645
637
|
parsedBody,
|
|
646
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
647
638
|
errorCode,
|
|
648
639
|
});
|
|
649
640
|
}
|
|
@@ -654,12 +645,12 @@ const de_DeleteBuildBatchCommand = async (output, context) => {
|
|
|
654
645
|
}
|
|
655
646
|
const data = await parseBody(output.body, context);
|
|
656
647
|
let contents = {};
|
|
657
|
-
contents =
|
|
648
|
+
contents = (0, smithy_client_1._json)(data);
|
|
658
649
|
const response = {
|
|
659
650
|
$metadata: deserializeMetadata(output),
|
|
660
651
|
...contents,
|
|
661
652
|
};
|
|
662
|
-
return
|
|
653
|
+
return response;
|
|
663
654
|
};
|
|
664
655
|
exports.de_DeleteBuildBatchCommand = de_DeleteBuildBatchCommand;
|
|
665
656
|
const de_DeleteBuildBatchCommandError = async (output, context) => {
|
|
@@ -674,10 +665,9 @@ const de_DeleteBuildBatchCommandError = async (output, context) => {
|
|
|
674
665
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
675
666
|
default:
|
|
676
667
|
const parsedBody = parsedOutput.body;
|
|
677
|
-
|
|
668
|
+
return throwDefaultError({
|
|
678
669
|
output,
|
|
679
670
|
parsedBody,
|
|
680
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
681
671
|
errorCode,
|
|
682
672
|
});
|
|
683
673
|
}
|
|
@@ -688,12 +678,12 @@ const de_DeleteProjectCommand = async (output, context) => {
|
|
|
688
678
|
}
|
|
689
679
|
const data = await parseBody(output.body, context);
|
|
690
680
|
let contents = {};
|
|
691
|
-
contents =
|
|
681
|
+
contents = (0, smithy_client_1._json)(data);
|
|
692
682
|
const response = {
|
|
693
683
|
$metadata: deserializeMetadata(output),
|
|
694
684
|
...contents,
|
|
695
685
|
};
|
|
696
|
-
return
|
|
686
|
+
return response;
|
|
697
687
|
};
|
|
698
688
|
exports.de_DeleteProjectCommand = de_DeleteProjectCommand;
|
|
699
689
|
const de_DeleteProjectCommandError = async (output, context) => {
|
|
@@ -708,10 +698,9 @@ const de_DeleteProjectCommandError = async (output, context) => {
|
|
|
708
698
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
709
699
|
default:
|
|
710
700
|
const parsedBody = parsedOutput.body;
|
|
711
|
-
|
|
701
|
+
return throwDefaultError({
|
|
712
702
|
output,
|
|
713
703
|
parsedBody,
|
|
714
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
715
704
|
errorCode,
|
|
716
705
|
});
|
|
717
706
|
}
|
|
@@ -722,12 +711,12 @@ const de_DeleteReportCommand = async (output, context) => {
|
|
|
722
711
|
}
|
|
723
712
|
const data = await parseBody(output.body, context);
|
|
724
713
|
let contents = {};
|
|
725
|
-
contents =
|
|
714
|
+
contents = (0, smithy_client_1._json)(data);
|
|
726
715
|
const response = {
|
|
727
716
|
$metadata: deserializeMetadata(output),
|
|
728
717
|
...contents,
|
|
729
718
|
};
|
|
730
|
-
return
|
|
719
|
+
return response;
|
|
731
720
|
};
|
|
732
721
|
exports.de_DeleteReportCommand = de_DeleteReportCommand;
|
|
733
722
|
const de_DeleteReportCommandError = async (output, context) => {
|
|
@@ -742,10 +731,9 @@ const de_DeleteReportCommandError = async (output, context) => {
|
|
|
742
731
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
743
732
|
default:
|
|
744
733
|
const parsedBody = parsedOutput.body;
|
|
745
|
-
|
|
734
|
+
return throwDefaultError({
|
|
746
735
|
output,
|
|
747
736
|
parsedBody,
|
|
748
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
749
737
|
errorCode,
|
|
750
738
|
});
|
|
751
739
|
}
|
|
@@ -756,12 +744,12 @@ const de_DeleteReportGroupCommand = async (output, context) => {
|
|
|
756
744
|
}
|
|
757
745
|
const data = await parseBody(output.body, context);
|
|
758
746
|
let contents = {};
|
|
759
|
-
contents =
|
|
747
|
+
contents = (0, smithy_client_1._json)(data);
|
|
760
748
|
const response = {
|
|
761
749
|
$metadata: deserializeMetadata(output),
|
|
762
750
|
...contents,
|
|
763
751
|
};
|
|
764
|
-
return
|
|
752
|
+
return response;
|
|
765
753
|
};
|
|
766
754
|
exports.de_DeleteReportGroupCommand = de_DeleteReportGroupCommand;
|
|
767
755
|
const de_DeleteReportGroupCommandError = async (output, context) => {
|
|
@@ -776,10 +764,9 @@ const de_DeleteReportGroupCommandError = async (output, context) => {
|
|
|
776
764
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
777
765
|
default:
|
|
778
766
|
const parsedBody = parsedOutput.body;
|
|
779
|
-
|
|
767
|
+
return throwDefaultError({
|
|
780
768
|
output,
|
|
781
769
|
parsedBody,
|
|
782
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
783
770
|
errorCode,
|
|
784
771
|
});
|
|
785
772
|
}
|
|
@@ -790,12 +777,12 @@ const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
|
790
777
|
}
|
|
791
778
|
const data = await parseBody(output.body, context);
|
|
792
779
|
let contents = {};
|
|
793
|
-
contents =
|
|
780
|
+
contents = (0, smithy_client_1._json)(data);
|
|
794
781
|
const response = {
|
|
795
782
|
$metadata: deserializeMetadata(output),
|
|
796
783
|
...contents,
|
|
797
784
|
};
|
|
798
|
-
return
|
|
785
|
+
return response;
|
|
799
786
|
};
|
|
800
787
|
exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
|
|
801
788
|
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
@@ -810,10 +797,9 @@ const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
|
810
797
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
811
798
|
default:
|
|
812
799
|
const parsedBody = parsedOutput.body;
|
|
813
|
-
|
|
800
|
+
return throwDefaultError({
|
|
814
801
|
output,
|
|
815
802
|
parsedBody,
|
|
816
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
817
803
|
errorCode,
|
|
818
804
|
});
|
|
819
805
|
}
|
|
@@ -824,12 +810,12 @@ const de_DeleteSourceCredentialsCommand = async (output, context) => {
|
|
|
824
810
|
}
|
|
825
811
|
const data = await parseBody(output.body, context);
|
|
826
812
|
let contents = {};
|
|
827
|
-
contents =
|
|
813
|
+
contents = (0, smithy_client_1._json)(data);
|
|
828
814
|
const response = {
|
|
829
815
|
$metadata: deserializeMetadata(output),
|
|
830
816
|
...contents,
|
|
831
817
|
};
|
|
832
|
-
return
|
|
818
|
+
return response;
|
|
833
819
|
};
|
|
834
820
|
exports.de_DeleteSourceCredentialsCommand = de_DeleteSourceCredentialsCommand;
|
|
835
821
|
const de_DeleteSourceCredentialsCommandError = async (output, context) => {
|
|
@@ -847,10 +833,9 @@ const de_DeleteSourceCredentialsCommandError = async (output, context) => {
|
|
|
847
833
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
848
834
|
default:
|
|
849
835
|
const parsedBody = parsedOutput.body;
|
|
850
|
-
|
|
836
|
+
return throwDefaultError({
|
|
851
837
|
output,
|
|
852
838
|
parsedBody,
|
|
853
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
854
839
|
errorCode,
|
|
855
840
|
});
|
|
856
841
|
}
|
|
@@ -861,12 +846,12 @@ const de_DeleteWebhookCommand = async (output, context) => {
|
|
|
861
846
|
}
|
|
862
847
|
const data = await parseBody(output.body, context);
|
|
863
848
|
let contents = {};
|
|
864
|
-
contents =
|
|
849
|
+
contents = (0, smithy_client_1._json)(data);
|
|
865
850
|
const response = {
|
|
866
851
|
$metadata: deserializeMetadata(output),
|
|
867
852
|
...contents,
|
|
868
853
|
};
|
|
869
|
-
return
|
|
854
|
+
return response;
|
|
870
855
|
};
|
|
871
856
|
exports.de_DeleteWebhookCommand = de_DeleteWebhookCommand;
|
|
872
857
|
const de_DeleteWebhookCommandError = async (output, context) => {
|
|
@@ -887,10 +872,9 @@ const de_DeleteWebhookCommandError = async (output, context) => {
|
|
|
887
872
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
888
873
|
default:
|
|
889
874
|
const parsedBody = parsedOutput.body;
|
|
890
|
-
|
|
875
|
+
return throwDefaultError({
|
|
891
876
|
output,
|
|
892
877
|
parsedBody,
|
|
893
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
894
878
|
errorCode,
|
|
895
879
|
});
|
|
896
880
|
}
|
|
@@ -906,7 +890,7 @@ const de_DescribeCodeCoveragesCommand = async (output, context) => {
|
|
|
906
890
|
$metadata: deserializeMetadata(output),
|
|
907
891
|
...contents,
|
|
908
892
|
};
|
|
909
|
-
return
|
|
893
|
+
return response;
|
|
910
894
|
};
|
|
911
895
|
exports.de_DescribeCodeCoveragesCommand = de_DescribeCodeCoveragesCommand;
|
|
912
896
|
const de_DescribeCodeCoveragesCommandError = async (output, context) => {
|
|
@@ -921,10 +905,9 @@ const de_DescribeCodeCoveragesCommandError = async (output, context) => {
|
|
|
921
905
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
922
906
|
default:
|
|
923
907
|
const parsedBody = parsedOutput.body;
|
|
924
|
-
|
|
908
|
+
return throwDefaultError({
|
|
925
909
|
output,
|
|
926
910
|
parsedBody,
|
|
927
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
928
911
|
errorCode,
|
|
929
912
|
});
|
|
930
913
|
}
|
|
@@ -940,7 +923,7 @@ const de_DescribeTestCasesCommand = async (output, context) => {
|
|
|
940
923
|
$metadata: deserializeMetadata(output),
|
|
941
924
|
...contents,
|
|
942
925
|
};
|
|
943
|
-
return
|
|
926
|
+
return response;
|
|
944
927
|
};
|
|
945
928
|
exports.de_DescribeTestCasesCommand = de_DescribeTestCasesCommand;
|
|
946
929
|
const de_DescribeTestCasesCommandError = async (output, context) => {
|
|
@@ -958,10 +941,9 @@ const de_DescribeTestCasesCommandError = async (output, context) => {
|
|
|
958
941
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
959
942
|
default:
|
|
960
943
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
944
|
+
return throwDefaultError({
|
|
962
945
|
output,
|
|
963
946
|
parsedBody,
|
|
964
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
965
947
|
errorCode,
|
|
966
948
|
});
|
|
967
949
|
}
|
|
@@ -972,12 +954,12 @@ const de_GetReportGroupTrendCommand = async (output, context) => {
|
|
|
972
954
|
}
|
|
973
955
|
const data = await parseBody(output.body, context);
|
|
974
956
|
let contents = {};
|
|
975
|
-
contents =
|
|
957
|
+
contents = (0, smithy_client_1._json)(data);
|
|
976
958
|
const response = {
|
|
977
959
|
$metadata: deserializeMetadata(output),
|
|
978
960
|
...contents,
|
|
979
961
|
};
|
|
980
|
-
return
|
|
962
|
+
return response;
|
|
981
963
|
};
|
|
982
964
|
exports.de_GetReportGroupTrendCommand = de_GetReportGroupTrendCommand;
|
|
983
965
|
const de_GetReportGroupTrendCommandError = async (output, context) => {
|
|
@@ -995,10 +977,9 @@ const de_GetReportGroupTrendCommandError = async (output, context) => {
|
|
|
995
977
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
996
978
|
default:
|
|
997
979
|
const parsedBody = parsedOutput.body;
|
|
998
|
-
|
|
980
|
+
return throwDefaultError({
|
|
999
981
|
output,
|
|
1000
982
|
parsedBody,
|
|
1001
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1002
983
|
errorCode,
|
|
1003
984
|
});
|
|
1004
985
|
}
|
|
@@ -1009,12 +990,12 @@ const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
1009
990
|
}
|
|
1010
991
|
const data = await parseBody(output.body, context);
|
|
1011
992
|
let contents = {};
|
|
1012
|
-
contents =
|
|
993
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1013
994
|
const response = {
|
|
1014
995
|
$metadata: deserializeMetadata(output),
|
|
1015
996
|
...contents,
|
|
1016
997
|
};
|
|
1017
|
-
return
|
|
998
|
+
return response;
|
|
1018
999
|
};
|
|
1019
1000
|
exports.de_GetResourcePolicyCommand = de_GetResourcePolicyCommand;
|
|
1020
1001
|
const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
@@ -1032,10 +1013,9 @@ const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
|
1032
1013
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1033
1014
|
default:
|
|
1034
1015
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
|
|
1016
|
+
return throwDefaultError({
|
|
1036
1017
|
output,
|
|
1037
1018
|
parsedBody,
|
|
1038
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1039
1019
|
errorCode,
|
|
1040
1020
|
});
|
|
1041
1021
|
}
|
|
@@ -1046,12 +1026,12 @@ const de_ImportSourceCredentialsCommand = async (output, context) => {
|
|
|
1046
1026
|
}
|
|
1047
1027
|
const data = await parseBody(output.body, context);
|
|
1048
1028
|
let contents = {};
|
|
1049
|
-
contents =
|
|
1029
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1050
1030
|
const response = {
|
|
1051
1031
|
$metadata: deserializeMetadata(output),
|
|
1052
1032
|
...contents,
|
|
1053
1033
|
};
|
|
1054
|
-
return
|
|
1034
|
+
return response;
|
|
1055
1035
|
};
|
|
1056
1036
|
exports.de_ImportSourceCredentialsCommand = de_ImportSourceCredentialsCommand;
|
|
1057
1037
|
const de_ImportSourceCredentialsCommandError = async (output, context) => {
|
|
@@ -1072,10 +1052,9 @@ const de_ImportSourceCredentialsCommandError = async (output, context) => {
|
|
|
1072
1052
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1073
1053
|
default:
|
|
1074
1054
|
const parsedBody = parsedOutput.body;
|
|
1075
|
-
|
|
1055
|
+
return throwDefaultError({
|
|
1076
1056
|
output,
|
|
1077
1057
|
parsedBody,
|
|
1078
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1079
1058
|
errorCode,
|
|
1080
1059
|
});
|
|
1081
1060
|
}
|
|
@@ -1086,12 +1065,12 @@ const de_InvalidateProjectCacheCommand = async (output, context) => {
|
|
|
1086
1065
|
}
|
|
1087
1066
|
const data = await parseBody(output.body, context);
|
|
1088
1067
|
let contents = {};
|
|
1089
|
-
contents =
|
|
1068
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1090
1069
|
const response = {
|
|
1091
1070
|
$metadata: deserializeMetadata(output),
|
|
1092
1071
|
...contents,
|
|
1093
1072
|
};
|
|
1094
|
-
return
|
|
1073
|
+
return response;
|
|
1095
1074
|
};
|
|
1096
1075
|
exports.de_InvalidateProjectCacheCommand = de_InvalidateProjectCacheCommand;
|
|
1097
1076
|
const de_InvalidateProjectCacheCommandError = async (output, context) => {
|
|
@@ -1109,10 +1088,9 @@ const de_InvalidateProjectCacheCommandError = async (output, context) => {
|
|
|
1109
1088
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1110
1089
|
default:
|
|
1111
1090
|
const parsedBody = parsedOutput.body;
|
|
1112
|
-
|
|
1091
|
+
return throwDefaultError({
|
|
1113
1092
|
output,
|
|
1114
1093
|
parsedBody,
|
|
1115
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1116
1094
|
errorCode,
|
|
1117
1095
|
});
|
|
1118
1096
|
}
|
|
@@ -1123,12 +1101,12 @@ const de_ListBuildBatchesCommand = async (output, context) => {
|
|
|
1123
1101
|
}
|
|
1124
1102
|
const data = await parseBody(output.body, context);
|
|
1125
1103
|
let contents = {};
|
|
1126
|
-
contents =
|
|
1104
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1127
1105
|
const response = {
|
|
1128
1106
|
$metadata: deserializeMetadata(output),
|
|
1129
1107
|
...contents,
|
|
1130
1108
|
};
|
|
1131
|
-
return
|
|
1109
|
+
return response;
|
|
1132
1110
|
};
|
|
1133
1111
|
exports.de_ListBuildBatchesCommand = de_ListBuildBatchesCommand;
|
|
1134
1112
|
const de_ListBuildBatchesCommandError = async (output, context) => {
|
|
@@ -1143,10 +1121,9 @@ const de_ListBuildBatchesCommandError = async (output, context) => {
|
|
|
1143
1121
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1144
1122
|
default:
|
|
1145
1123
|
const parsedBody = parsedOutput.body;
|
|
1146
|
-
|
|
1124
|
+
return throwDefaultError({
|
|
1147
1125
|
output,
|
|
1148
1126
|
parsedBody,
|
|
1149
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1150
1127
|
errorCode,
|
|
1151
1128
|
});
|
|
1152
1129
|
}
|
|
@@ -1157,12 +1134,12 @@ const de_ListBuildBatchesForProjectCommand = async (output, context) => {
|
|
|
1157
1134
|
}
|
|
1158
1135
|
const data = await parseBody(output.body, context);
|
|
1159
1136
|
let contents = {};
|
|
1160
|
-
contents =
|
|
1137
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1161
1138
|
const response = {
|
|
1162
1139
|
$metadata: deserializeMetadata(output),
|
|
1163
1140
|
...contents,
|
|
1164
1141
|
};
|
|
1165
|
-
return
|
|
1142
|
+
return response;
|
|
1166
1143
|
};
|
|
1167
1144
|
exports.de_ListBuildBatchesForProjectCommand = de_ListBuildBatchesForProjectCommand;
|
|
1168
1145
|
const de_ListBuildBatchesForProjectCommandError = async (output, context) => {
|
|
@@ -1180,10 +1157,9 @@ const de_ListBuildBatchesForProjectCommandError = async (output, context) => {
|
|
|
1180
1157
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1181
1158
|
default:
|
|
1182
1159
|
const parsedBody = parsedOutput.body;
|
|
1183
|
-
|
|
1160
|
+
return throwDefaultError({
|
|
1184
1161
|
output,
|
|
1185
1162
|
parsedBody,
|
|
1186
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1187
1163
|
errorCode,
|
|
1188
1164
|
});
|
|
1189
1165
|
}
|
|
@@ -1194,12 +1170,12 @@ const de_ListBuildsCommand = async (output, context) => {
|
|
|
1194
1170
|
}
|
|
1195
1171
|
const data = await parseBody(output.body, context);
|
|
1196
1172
|
let contents = {};
|
|
1197
|
-
contents =
|
|
1173
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1198
1174
|
const response = {
|
|
1199
1175
|
$metadata: deserializeMetadata(output),
|
|
1200
1176
|
...contents,
|
|
1201
1177
|
};
|
|
1202
|
-
return
|
|
1178
|
+
return response;
|
|
1203
1179
|
};
|
|
1204
1180
|
exports.de_ListBuildsCommand = de_ListBuildsCommand;
|
|
1205
1181
|
const de_ListBuildsCommandError = async (output, context) => {
|
|
@@ -1214,10 +1190,9 @@ const de_ListBuildsCommandError = async (output, context) => {
|
|
|
1214
1190
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1215
1191
|
default:
|
|
1216
1192
|
const parsedBody = parsedOutput.body;
|
|
1217
|
-
|
|
1193
|
+
return throwDefaultError({
|
|
1218
1194
|
output,
|
|
1219
1195
|
parsedBody,
|
|
1220
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1221
1196
|
errorCode,
|
|
1222
1197
|
});
|
|
1223
1198
|
}
|
|
@@ -1228,12 +1203,12 @@ const de_ListBuildsForProjectCommand = async (output, context) => {
|
|
|
1228
1203
|
}
|
|
1229
1204
|
const data = await parseBody(output.body, context);
|
|
1230
1205
|
let contents = {};
|
|
1231
|
-
contents =
|
|
1206
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1232
1207
|
const response = {
|
|
1233
1208
|
$metadata: deserializeMetadata(output),
|
|
1234
1209
|
...contents,
|
|
1235
1210
|
};
|
|
1236
|
-
return
|
|
1211
|
+
return response;
|
|
1237
1212
|
};
|
|
1238
1213
|
exports.de_ListBuildsForProjectCommand = de_ListBuildsForProjectCommand;
|
|
1239
1214
|
const de_ListBuildsForProjectCommandError = async (output, context) => {
|
|
@@ -1251,10 +1226,9 @@ const de_ListBuildsForProjectCommandError = async (output, context) => {
|
|
|
1251
1226
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1252
1227
|
default:
|
|
1253
1228
|
const parsedBody = parsedOutput.body;
|
|
1254
|
-
|
|
1229
|
+
return throwDefaultError({
|
|
1255
1230
|
output,
|
|
1256
1231
|
parsedBody,
|
|
1257
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1258
1232
|
errorCode,
|
|
1259
1233
|
});
|
|
1260
1234
|
}
|
|
@@ -1265,12 +1239,12 @@ const de_ListCuratedEnvironmentImagesCommand = async (output, context) => {
|
|
|
1265
1239
|
}
|
|
1266
1240
|
const data = await parseBody(output.body, context);
|
|
1267
1241
|
let contents = {};
|
|
1268
|
-
contents =
|
|
1242
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1269
1243
|
const response = {
|
|
1270
1244
|
$metadata: deserializeMetadata(output),
|
|
1271
1245
|
...contents,
|
|
1272
1246
|
};
|
|
1273
|
-
return
|
|
1247
|
+
return response;
|
|
1274
1248
|
};
|
|
1275
1249
|
exports.de_ListCuratedEnvironmentImagesCommand = de_ListCuratedEnvironmentImagesCommand;
|
|
1276
1250
|
const de_ListCuratedEnvironmentImagesCommandError = async (output, context) => {
|
|
@@ -1280,10 +1254,9 @@ const de_ListCuratedEnvironmentImagesCommandError = async (output, context) => {
|
|
|
1280
1254
|
};
|
|
1281
1255
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1282
1256
|
const parsedBody = parsedOutput.body;
|
|
1283
|
-
|
|
1257
|
+
return throwDefaultError({
|
|
1284
1258
|
output,
|
|
1285
1259
|
parsedBody,
|
|
1286
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1287
1260
|
errorCode,
|
|
1288
1261
|
});
|
|
1289
1262
|
};
|
|
@@ -1293,12 +1266,12 @@ const de_ListProjectsCommand = async (output, context) => {
|
|
|
1293
1266
|
}
|
|
1294
1267
|
const data = await parseBody(output.body, context);
|
|
1295
1268
|
let contents = {};
|
|
1296
|
-
contents =
|
|
1269
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1297
1270
|
const response = {
|
|
1298
1271
|
$metadata: deserializeMetadata(output),
|
|
1299
1272
|
...contents,
|
|
1300
1273
|
};
|
|
1301
|
-
return
|
|
1274
|
+
return response;
|
|
1302
1275
|
};
|
|
1303
1276
|
exports.de_ListProjectsCommand = de_ListProjectsCommand;
|
|
1304
1277
|
const de_ListProjectsCommandError = async (output, context) => {
|
|
@@ -1313,10 +1286,9 @@ const de_ListProjectsCommandError = async (output, context) => {
|
|
|
1313
1286
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1314
1287
|
default:
|
|
1315
1288
|
const parsedBody = parsedOutput.body;
|
|
1316
|
-
|
|
1289
|
+
return throwDefaultError({
|
|
1317
1290
|
output,
|
|
1318
1291
|
parsedBody,
|
|
1319
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1320
1292
|
errorCode,
|
|
1321
1293
|
});
|
|
1322
1294
|
}
|
|
@@ -1327,12 +1299,12 @@ const de_ListReportGroupsCommand = async (output, context) => {
|
|
|
1327
1299
|
}
|
|
1328
1300
|
const data = await parseBody(output.body, context);
|
|
1329
1301
|
let contents = {};
|
|
1330
|
-
contents =
|
|
1302
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1331
1303
|
const response = {
|
|
1332
1304
|
$metadata: deserializeMetadata(output),
|
|
1333
1305
|
...contents,
|
|
1334
1306
|
};
|
|
1335
|
-
return
|
|
1307
|
+
return response;
|
|
1336
1308
|
};
|
|
1337
1309
|
exports.de_ListReportGroupsCommand = de_ListReportGroupsCommand;
|
|
1338
1310
|
const de_ListReportGroupsCommandError = async (output, context) => {
|
|
@@ -1347,10 +1319,9 @@ const de_ListReportGroupsCommandError = async (output, context) => {
|
|
|
1347
1319
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1348
1320
|
default:
|
|
1349
1321
|
const parsedBody = parsedOutput.body;
|
|
1350
|
-
|
|
1322
|
+
return throwDefaultError({
|
|
1351
1323
|
output,
|
|
1352
1324
|
parsedBody,
|
|
1353
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1354
1325
|
errorCode,
|
|
1355
1326
|
});
|
|
1356
1327
|
}
|
|
@@ -1361,12 +1332,12 @@ const de_ListReportsCommand = async (output, context) => {
|
|
|
1361
1332
|
}
|
|
1362
1333
|
const data = await parseBody(output.body, context);
|
|
1363
1334
|
let contents = {};
|
|
1364
|
-
contents =
|
|
1335
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1365
1336
|
const response = {
|
|
1366
1337
|
$metadata: deserializeMetadata(output),
|
|
1367
1338
|
...contents,
|
|
1368
1339
|
};
|
|
1369
|
-
return
|
|
1340
|
+
return response;
|
|
1370
1341
|
};
|
|
1371
1342
|
exports.de_ListReportsCommand = de_ListReportsCommand;
|
|
1372
1343
|
const de_ListReportsCommandError = async (output, context) => {
|
|
@@ -1381,10 +1352,9 @@ const de_ListReportsCommandError = async (output, context) => {
|
|
|
1381
1352
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1382
1353
|
default:
|
|
1383
1354
|
const parsedBody = parsedOutput.body;
|
|
1384
|
-
|
|
1355
|
+
return throwDefaultError({
|
|
1385
1356
|
output,
|
|
1386
1357
|
parsedBody,
|
|
1387
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1388
1358
|
errorCode,
|
|
1389
1359
|
});
|
|
1390
1360
|
}
|
|
@@ -1395,12 +1365,12 @@ const de_ListReportsForReportGroupCommand = async (output, context) => {
|
|
|
1395
1365
|
}
|
|
1396
1366
|
const data = await parseBody(output.body, context);
|
|
1397
1367
|
let contents = {};
|
|
1398
|
-
contents =
|
|
1368
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1399
1369
|
const response = {
|
|
1400
1370
|
$metadata: deserializeMetadata(output),
|
|
1401
1371
|
...contents,
|
|
1402
1372
|
};
|
|
1403
|
-
return
|
|
1373
|
+
return response;
|
|
1404
1374
|
};
|
|
1405
1375
|
exports.de_ListReportsForReportGroupCommand = de_ListReportsForReportGroupCommand;
|
|
1406
1376
|
const de_ListReportsForReportGroupCommandError = async (output, context) => {
|
|
@@ -1418,10 +1388,9 @@ const de_ListReportsForReportGroupCommandError = async (output, context) => {
|
|
|
1418
1388
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1419
1389
|
default:
|
|
1420
1390
|
const parsedBody = parsedOutput.body;
|
|
1421
|
-
|
|
1391
|
+
return throwDefaultError({
|
|
1422
1392
|
output,
|
|
1423
1393
|
parsedBody,
|
|
1424
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1425
1394
|
errorCode,
|
|
1426
1395
|
});
|
|
1427
1396
|
}
|
|
@@ -1432,12 +1401,12 @@ const de_ListSharedProjectsCommand = async (output, context) => {
|
|
|
1432
1401
|
}
|
|
1433
1402
|
const data = await parseBody(output.body, context);
|
|
1434
1403
|
let contents = {};
|
|
1435
|
-
contents =
|
|
1404
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1436
1405
|
const response = {
|
|
1437
1406
|
$metadata: deserializeMetadata(output),
|
|
1438
1407
|
...contents,
|
|
1439
1408
|
};
|
|
1440
|
-
return
|
|
1409
|
+
return response;
|
|
1441
1410
|
};
|
|
1442
1411
|
exports.de_ListSharedProjectsCommand = de_ListSharedProjectsCommand;
|
|
1443
1412
|
const de_ListSharedProjectsCommandError = async (output, context) => {
|
|
@@ -1452,10 +1421,9 @@ const de_ListSharedProjectsCommandError = async (output, context) => {
|
|
|
1452
1421
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1453
1422
|
default:
|
|
1454
1423
|
const parsedBody = parsedOutput.body;
|
|
1455
|
-
|
|
1424
|
+
return throwDefaultError({
|
|
1456
1425
|
output,
|
|
1457
1426
|
parsedBody,
|
|
1458
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1459
1427
|
errorCode,
|
|
1460
1428
|
});
|
|
1461
1429
|
}
|
|
@@ -1466,12 +1434,12 @@ const de_ListSharedReportGroupsCommand = async (output, context) => {
|
|
|
1466
1434
|
}
|
|
1467
1435
|
const data = await parseBody(output.body, context);
|
|
1468
1436
|
let contents = {};
|
|
1469
|
-
contents =
|
|
1437
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1470
1438
|
const response = {
|
|
1471
1439
|
$metadata: deserializeMetadata(output),
|
|
1472
1440
|
...contents,
|
|
1473
1441
|
};
|
|
1474
|
-
return
|
|
1442
|
+
return response;
|
|
1475
1443
|
};
|
|
1476
1444
|
exports.de_ListSharedReportGroupsCommand = de_ListSharedReportGroupsCommand;
|
|
1477
1445
|
const de_ListSharedReportGroupsCommandError = async (output, context) => {
|
|
@@ -1486,10 +1454,9 @@ const de_ListSharedReportGroupsCommandError = async (output, context) => {
|
|
|
1486
1454
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1487
1455
|
default:
|
|
1488
1456
|
const parsedBody = parsedOutput.body;
|
|
1489
|
-
|
|
1457
|
+
return throwDefaultError({
|
|
1490
1458
|
output,
|
|
1491
1459
|
parsedBody,
|
|
1492
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1493
1460
|
errorCode,
|
|
1494
1461
|
});
|
|
1495
1462
|
}
|
|
@@ -1500,12 +1467,12 @@ const de_ListSourceCredentialsCommand = async (output, context) => {
|
|
|
1500
1467
|
}
|
|
1501
1468
|
const data = await parseBody(output.body, context);
|
|
1502
1469
|
let contents = {};
|
|
1503
|
-
contents =
|
|
1470
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1504
1471
|
const response = {
|
|
1505
1472
|
$metadata: deserializeMetadata(output),
|
|
1506
1473
|
...contents,
|
|
1507
1474
|
};
|
|
1508
|
-
return
|
|
1475
|
+
return response;
|
|
1509
1476
|
};
|
|
1510
1477
|
exports.de_ListSourceCredentialsCommand = de_ListSourceCredentialsCommand;
|
|
1511
1478
|
const de_ListSourceCredentialsCommandError = async (output, context) => {
|
|
@@ -1520,10 +1487,9 @@ const de_ListSourceCredentialsCommandError = async (output, context) => {
|
|
|
1520
1487
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1521
1488
|
default:
|
|
1522
1489
|
const parsedBody = parsedOutput.body;
|
|
1523
|
-
|
|
1490
|
+
return throwDefaultError({
|
|
1524
1491
|
output,
|
|
1525
1492
|
parsedBody,
|
|
1526
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1527
1493
|
errorCode,
|
|
1528
1494
|
});
|
|
1529
1495
|
}
|
|
@@ -1534,12 +1500,12 @@ const de_PutResourcePolicyCommand = async (output, context) => {
|
|
|
1534
1500
|
}
|
|
1535
1501
|
const data = await parseBody(output.body, context);
|
|
1536
1502
|
let contents = {};
|
|
1537
|
-
contents =
|
|
1503
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1538
1504
|
const response = {
|
|
1539
1505
|
$metadata: deserializeMetadata(output),
|
|
1540
1506
|
...contents,
|
|
1541
1507
|
};
|
|
1542
|
-
return
|
|
1508
|
+
return response;
|
|
1543
1509
|
};
|
|
1544
1510
|
exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
|
|
1545
1511
|
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
@@ -1557,10 +1523,9 @@ const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
|
1557
1523
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1558
1524
|
default:
|
|
1559
1525
|
const parsedBody = parsedOutput.body;
|
|
1560
|
-
|
|
1526
|
+
return throwDefaultError({
|
|
1561
1527
|
output,
|
|
1562
1528
|
parsedBody,
|
|
1563
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1564
1529
|
errorCode,
|
|
1565
1530
|
});
|
|
1566
1531
|
}
|
|
@@ -1576,7 +1541,7 @@ const de_RetryBuildCommand = async (output, context) => {
|
|
|
1576
1541
|
$metadata: deserializeMetadata(output),
|
|
1577
1542
|
...contents,
|
|
1578
1543
|
};
|
|
1579
|
-
return
|
|
1544
|
+
return response;
|
|
1580
1545
|
};
|
|
1581
1546
|
exports.de_RetryBuildCommand = de_RetryBuildCommand;
|
|
1582
1547
|
const de_RetryBuildCommandError = async (output, context) => {
|
|
@@ -1597,10 +1562,9 @@ const de_RetryBuildCommandError = async (output, context) => {
|
|
|
1597
1562
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1598
1563
|
default:
|
|
1599
1564
|
const parsedBody = parsedOutput.body;
|
|
1600
|
-
|
|
1565
|
+
return throwDefaultError({
|
|
1601
1566
|
output,
|
|
1602
1567
|
parsedBody,
|
|
1603
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1604
1568
|
errorCode,
|
|
1605
1569
|
});
|
|
1606
1570
|
}
|
|
@@ -1616,7 +1580,7 @@ const de_RetryBuildBatchCommand = async (output, context) => {
|
|
|
1616
1580
|
$metadata: deserializeMetadata(output),
|
|
1617
1581
|
...contents,
|
|
1618
1582
|
};
|
|
1619
|
-
return
|
|
1583
|
+
return response;
|
|
1620
1584
|
};
|
|
1621
1585
|
exports.de_RetryBuildBatchCommand = de_RetryBuildBatchCommand;
|
|
1622
1586
|
const de_RetryBuildBatchCommandError = async (output, context) => {
|
|
@@ -1634,10 +1598,9 @@ const de_RetryBuildBatchCommandError = async (output, context) => {
|
|
|
1634
1598
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1635
1599
|
default:
|
|
1636
1600
|
const parsedBody = parsedOutput.body;
|
|
1637
|
-
|
|
1601
|
+
return throwDefaultError({
|
|
1638
1602
|
output,
|
|
1639
1603
|
parsedBody,
|
|
1640
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1641
1604
|
errorCode,
|
|
1642
1605
|
});
|
|
1643
1606
|
}
|
|
@@ -1653,7 +1616,7 @@ const de_StartBuildCommand = async (output, context) => {
|
|
|
1653
1616
|
$metadata: deserializeMetadata(output),
|
|
1654
1617
|
...contents,
|
|
1655
1618
|
};
|
|
1656
|
-
return
|
|
1619
|
+
return response;
|
|
1657
1620
|
};
|
|
1658
1621
|
exports.de_StartBuildCommand = de_StartBuildCommand;
|
|
1659
1622
|
const de_StartBuildCommandError = async (output, context) => {
|
|
@@ -1674,10 +1637,9 @@ const de_StartBuildCommandError = async (output, context) => {
|
|
|
1674
1637
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1675
1638
|
default:
|
|
1676
1639
|
const parsedBody = parsedOutput.body;
|
|
1677
|
-
|
|
1640
|
+
return throwDefaultError({
|
|
1678
1641
|
output,
|
|
1679
1642
|
parsedBody,
|
|
1680
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1681
1643
|
errorCode,
|
|
1682
1644
|
});
|
|
1683
1645
|
}
|
|
@@ -1693,7 +1655,7 @@ const de_StartBuildBatchCommand = async (output, context) => {
|
|
|
1693
1655
|
$metadata: deserializeMetadata(output),
|
|
1694
1656
|
...contents,
|
|
1695
1657
|
};
|
|
1696
|
-
return
|
|
1658
|
+
return response;
|
|
1697
1659
|
};
|
|
1698
1660
|
exports.de_StartBuildBatchCommand = de_StartBuildBatchCommand;
|
|
1699
1661
|
const de_StartBuildBatchCommandError = async (output, context) => {
|
|
@@ -1711,10 +1673,9 @@ const de_StartBuildBatchCommandError = async (output, context) => {
|
|
|
1711
1673
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1712
1674
|
default:
|
|
1713
1675
|
const parsedBody = parsedOutput.body;
|
|
1714
|
-
|
|
1676
|
+
return throwDefaultError({
|
|
1715
1677
|
output,
|
|
1716
1678
|
parsedBody,
|
|
1717
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1718
1679
|
errorCode,
|
|
1719
1680
|
});
|
|
1720
1681
|
}
|
|
@@ -1730,7 +1691,7 @@ const de_StopBuildCommand = async (output, context) => {
|
|
|
1730
1691
|
$metadata: deserializeMetadata(output),
|
|
1731
1692
|
...contents,
|
|
1732
1693
|
};
|
|
1733
|
-
return
|
|
1694
|
+
return response;
|
|
1734
1695
|
};
|
|
1735
1696
|
exports.de_StopBuildCommand = de_StopBuildCommand;
|
|
1736
1697
|
const de_StopBuildCommandError = async (output, context) => {
|
|
@@ -1748,10 +1709,9 @@ const de_StopBuildCommandError = async (output, context) => {
|
|
|
1748
1709
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1749
1710
|
default:
|
|
1750
1711
|
const parsedBody = parsedOutput.body;
|
|
1751
|
-
|
|
1712
|
+
return throwDefaultError({
|
|
1752
1713
|
output,
|
|
1753
1714
|
parsedBody,
|
|
1754
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1755
1715
|
errorCode,
|
|
1756
1716
|
});
|
|
1757
1717
|
}
|
|
@@ -1767,7 +1727,7 @@ const de_StopBuildBatchCommand = async (output, context) => {
|
|
|
1767
1727
|
$metadata: deserializeMetadata(output),
|
|
1768
1728
|
...contents,
|
|
1769
1729
|
};
|
|
1770
|
-
return
|
|
1730
|
+
return response;
|
|
1771
1731
|
};
|
|
1772
1732
|
exports.de_StopBuildBatchCommand = de_StopBuildBatchCommand;
|
|
1773
1733
|
const de_StopBuildBatchCommandError = async (output, context) => {
|
|
@@ -1785,10 +1745,9 @@ const de_StopBuildBatchCommandError = async (output, context) => {
|
|
|
1785
1745
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1786
1746
|
default:
|
|
1787
1747
|
const parsedBody = parsedOutput.body;
|
|
1788
|
-
|
|
1748
|
+
return throwDefaultError({
|
|
1789
1749
|
output,
|
|
1790
1750
|
parsedBody,
|
|
1791
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1792
1751
|
errorCode,
|
|
1793
1752
|
});
|
|
1794
1753
|
}
|
|
@@ -1804,7 +1763,7 @@ const de_UpdateProjectCommand = async (output, context) => {
|
|
|
1804
1763
|
$metadata: deserializeMetadata(output),
|
|
1805
1764
|
...contents,
|
|
1806
1765
|
};
|
|
1807
|
-
return
|
|
1766
|
+
return response;
|
|
1808
1767
|
};
|
|
1809
1768
|
exports.de_UpdateProjectCommand = de_UpdateProjectCommand;
|
|
1810
1769
|
const de_UpdateProjectCommandError = async (output, context) => {
|
|
@@ -1822,10 +1781,9 @@ const de_UpdateProjectCommandError = async (output, context) => {
|
|
|
1822
1781
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1823
1782
|
default:
|
|
1824
1783
|
const parsedBody = parsedOutput.body;
|
|
1825
|
-
|
|
1784
|
+
return throwDefaultError({
|
|
1826
1785
|
output,
|
|
1827
1786
|
parsedBody,
|
|
1828
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1829
1787
|
errorCode,
|
|
1830
1788
|
});
|
|
1831
1789
|
}
|
|
@@ -1836,12 +1794,12 @@ const de_UpdateProjectVisibilityCommand = async (output, context) => {
|
|
|
1836
1794
|
}
|
|
1837
1795
|
const data = await parseBody(output.body, context);
|
|
1838
1796
|
let contents = {};
|
|
1839
|
-
contents =
|
|
1797
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1840
1798
|
const response = {
|
|
1841
1799
|
$metadata: deserializeMetadata(output),
|
|
1842
1800
|
...contents,
|
|
1843
1801
|
};
|
|
1844
|
-
return
|
|
1802
|
+
return response;
|
|
1845
1803
|
};
|
|
1846
1804
|
exports.de_UpdateProjectVisibilityCommand = de_UpdateProjectVisibilityCommand;
|
|
1847
1805
|
const de_UpdateProjectVisibilityCommandError = async (output, context) => {
|
|
@@ -1859,10 +1817,9 @@ const de_UpdateProjectVisibilityCommandError = async (output, context) => {
|
|
|
1859
1817
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1860
1818
|
default:
|
|
1861
1819
|
const parsedBody = parsedOutput.body;
|
|
1862
|
-
|
|
1820
|
+
return throwDefaultError({
|
|
1863
1821
|
output,
|
|
1864
1822
|
parsedBody,
|
|
1865
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1866
1823
|
errorCode,
|
|
1867
1824
|
});
|
|
1868
1825
|
}
|
|
@@ -1878,7 +1835,7 @@ const de_UpdateReportGroupCommand = async (output, context) => {
|
|
|
1878
1835
|
$metadata: deserializeMetadata(output),
|
|
1879
1836
|
...contents,
|
|
1880
1837
|
};
|
|
1881
|
-
return
|
|
1838
|
+
return response;
|
|
1882
1839
|
};
|
|
1883
1840
|
exports.de_UpdateReportGroupCommand = de_UpdateReportGroupCommand;
|
|
1884
1841
|
const de_UpdateReportGroupCommandError = async (output, context) => {
|
|
@@ -1896,10 +1853,9 @@ const de_UpdateReportGroupCommandError = async (output, context) => {
|
|
|
1896
1853
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1897
1854
|
default:
|
|
1898
1855
|
const parsedBody = parsedOutput.body;
|
|
1899
|
-
|
|
1856
|
+
return throwDefaultError({
|
|
1900
1857
|
output,
|
|
1901
1858
|
parsedBody,
|
|
1902
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1903
1859
|
errorCode,
|
|
1904
1860
|
});
|
|
1905
1861
|
}
|
|
@@ -1915,7 +1871,7 @@ const de_UpdateWebhookCommand = async (output, context) => {
|
|
|
1915
1871
|
$metadata: deserializeMetadata(output),
|
|
1916
1872
|
...contents,
|
|
1917
1873
|
};
|
|
1918
|
-
return
|
|
1874
|
+
return response;
|
|
1919
1875
|
};
|
|
1920
1876
|
exports.de_UpdateWebhookCommand = de_UpdateWebhookCommand;
|
|
1921
1877
|
const de_UpdateWebhookCommandError = async (output, context) => {
|
|
@@ -1936,17 +1892,16 @@ const de_UpdateWebhookCommandError = async (output, context) => {
|
|
|
1936
1892
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1937
1893
|
default:
|
|
1938
1894
|
const parsedBody = parsedOutput.body;
|
|
1939
|
-
|
|
1895
|
+
return throwDefaultError({
|
|
1940
1896
|
output,
|
|
1941
1897
|
parsedBody,
|
|
1942
|
-
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1943
1898
|
errorCode,
|
|
1944
1899
|
});
|
|
1945
1900
|
}
|
|
1946
1901
|
};
|
|
1947
1902
|
const de_AccountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1948
1903
|
const body = parsedOutput.body;
|
|
1949
|
-
const deserialized =
|
|
1904
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1950
1905
|
const exception = new models_0_1.AccountLimitExceededException({
|
|
1951
1906
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1952
1907
|
...deserialized,
|
|
@@ -1955,7 +1910,7 @@ const de_AccountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1955
1910
|
};
|
|
1956
1911
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1957
1912
|
const body = parsedOutput.body;
|
|
1958
|
-
const deserialized =
|
|
1913
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1959
1914
|
const exception = new models_0_1.InvalidInputException({
|
|
1960
1915
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1961
1916
|
...deserialized,
|
|
@@ -1964,7 +1919,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
1964
1919
|
};
|
|
1965
1920
|
const de_OAuthProviderExceptionRes = async (parsedOutput, context) => {
|
|
1966
1921
|
const body = parsedOutput.body;
|
|
1967
|
-
const deserialized =
|
|
1922
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1968
1923
|
const exception = new models_0_1.OAuthProviderException({
|
|
1969
1924
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1970
1925
|
...deserialized,
|
|
@@ -1973,7 +1928,7 @@ const de_OAuthProviderExceptionRes = async (parsedOutput, context) => {
|
|
|
1973
1928
|
};
|
|
1974
1929
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1975
1930
|
const body = parsedOutput.body;
|
|
1976
|
-
const deserialized =
|
|
1931
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1977
1932
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
1978
1933
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1979
1934
|
...deserialized,
|
|
@@ -1982,2017 +1937,428 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
1982
1937
|
};
|
|
1983
1938
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1984
1939
|
const body = parsedOutput.body;
|
|
1985
|
-
const deserialized =
|
|
1940
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1986
1941
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1987
1942
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1988
1943
|
...deserialized,
|
|
1989
1944
|
});
|
|
1990
1945
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1991
1946
|
};
|
|
1992
|
-
const
|
|
1993
|
-
return {
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
};
|
|
2002
|
-
const se_BatchGetBuildsInput = (input, context) => {
|
|
2003
|
-
return {
|
|
2004
|
-
...(input.ids != null && { ids: se_BuildIds(input.ids, context) }),
|
|
2005
|
-
};
|
|
2006
|
-
};
|
|
2007
|
-
const se_BatchGetProjectsInput = (input, context) => {
|
|
2008
|
-
return {
|
|
2009
|
-
...(input.names != null && { names: se_ProjectNames(input.names, context) }),
|
|
2010
|
-
};
|
|
2011
|
-
};
|
|
2012
|
-
const se_BatchGetReportGroupsInput = (input, context) => {
|
|
2013
|
-
return {
|
|
2014
|
-
...(input.reportGroupArns != null && { reportGroupArns: se_ReportGroupArns(input.reportGroupArns, context) }),
|
|
2015
|
-
};
|
|
2016
|
-
};
|
|
2017
|
-
const se_BatchGetReportsInput = (input, context) => {
|
|
2018
|
-
return {
|
|
2019
|
-
...(input.reportArns != null && { reportArns: se_ReportArns(input.reportArns, context) }),
|
|
2020
|
-
};
|
|
2021
|
-
};
|
|
2022
|
-
const se_BatchRestrictions = (input, context) => {
|
|
2023
|
-
return {
|
|
2024
|
-
...(input.computeTypesAllowed != null && {
|
|
2025
|
-
computeTypesAllowed: se_ComputeTypesAllowed(input.computeTypesAllowed, context),
|
|
2026
|
-
}),
|
|
2027
|
-
...(input.maximumBuildsAllowed != null && { maximumBuildsAllowed: input.maximumBuildsAllowed }),
|
|
2028
|
-
};
|
|
2029
|
-
};
|
|
2030
|
-
const se_BuildBatchFilter = (input, context) => {
|
|
2031
|
-
return {
|
|
2032
|
-
...(input.status != null && { status: input.status }),
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
const se_BuildBatchIds = (input, context) => {
|
|
2036
|
-
return input
|
|
2037
|
-
.filter((e) => e != null)
|
|
2038
|
-
.map((entry) => {
|
|
2039
|
-
return entry;
|
|
2040
|
-
});
|
|
2041
|
-
};
|
|
2042
|
-
const se_BuildIds = (input, context) => {
|
|
2043
|
-
return input
|
|
2044
|
-
.filter((e) => e != null)
|
|
2045
|
-
.map((entry) => {
|
|
2046
|
-
return entry;
|
|
2047
|
-
});
|
|
2048
|
-
};
|
|
2049
|
-
const se_BuildStatusConfig = (input, context) => {
|
|
2050
|
-
return {
|
|
2051
|
-
...(input.context != null && { context: input.context }),
|
|
2052
|
-
...(input.targetUrl != null && { targetUrl: input.targetUrl }),
|
|
2053
|
-
};
|
|
2054
|
-
};
|
|
2055
|
-
const se_CloudWatchLogsConfig = (input, context) => {
|
|
2056
|
-
return {
|
|
2057
|
-
...(input.groupName != null && { groupName: input.groupName }),
|
|
2058
|
-
...(input.status != null && { status: input.status }),
|
|
2059
|
-
...(input.streamName != null && { streamName: input.streamName }),
|
|
2060
|
-
};
|
|
2061
|
-
};
|
|
2062
|
-
const se_ComputeTypesAllowed = (input, context) => {
|
|
2063
|
-
return input
|
|
2064
|
-
.filter((e) => e != null)
|
|
2065
|
-
.map((entry) => {
|
|
2066
|
-
return entry;
|
|
2067
|
-
});
|
|
2068
|
-
};
|
|
2069
|
-
const se_CreateProjectInput = (input, context) => {
|
|
2070
|
-
return {
|
|
2071
|
-
...(input.artifacts != null && { artifacts: se_ProjectArtifacts(input.artifacts, context) }),
|
|
2072
|
-
...(input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled }),
|
|
2073
|
-
...(input.buildBatchConfig != null && {
|
|
2074
|
-
buildBatchConfig: se_ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
2075
|
-
}),
|
|
2076
|
-
...(input.cache != null && { cache: se_ProjectCache(input.cache, context) }),
|
|
2077
|
-
...(input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit }),
|
|
2078
|
-
...(input.description != null && { description: input.description }),
|
|
2079
|
-
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
2080
|
-
...(input.environment != null && { environment: se_ProjectEnvironment(input.environment, context) }),
|
|
2081
|
-
...(input.fileSystemLocations != null && {
|
|
2082
|
-
fileSystemLocations: se_ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
2083
|
-
}),
|
|
2084
|
-
...(input.logsConfig != null && { logsConfig: se_LogsConfig(input.logsConfig, context) }),
|
|
2085
|
-
...(input.name != null && { name: input.name }),
|
|
2086
|
-
...(input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
2087
|
-
...(input.secondaryArtifacts != null && {
|
|
2088
|
-
secondaryArtifacts: se_ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
2089
|
-
}),
|
|
2090
|
-
...(input.secondarySourceVersions != null && {
|
|
2091
|
-
secondarySourceVersions: se_ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
2092
|
-
}),
|
|
2093
|
-
...(input.secondarySources != null && { secondarySources: se_ProjectSources(input.secondarySources, context) }),
|
|
2094
|
-
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
2095
|
-
...(input.source != null && { source: se_ProjectSource(input.source, context) }),
|
|
2096
|
-
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2097
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2098
|
-
...(input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
2099
|
-
...(input.vpcConfig != null && { vpcConfig: se_VpcConfig(input.vpcConfig, context) }),
|
|
2100
|
-
};
|
|
2101
|
-
};
|
|
2102
|
-
const se_CreateReportGroupInput = (input, context) => {
|
|
2103
|
-
return {
|
|
2104
|
-
...(input.exportConfig != null && { exportConfig: se_ReportExportConfig(input.exportConfig, context) }),
|
|
2105
|
-
...(input.name != null && { name: input.name }),
|
|
2106
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2107
|
-
...(input.type != null && { type: input.type }),
|
|
2108
|
-
};
|
|
2109
|
-
};
|
|
2110
|
-
const se_CreateWebhookInput = (input, context) => {
|
|
2111
|
-
return {
|
|
2112
|
-
...(input.branchFilter != null && { branchFilter: input.branchFilter }),
|
|
2113
|
-
...(input.buildType != null && { buildType: input.buildType }),
|
|
2114
|
-
...(input.filterGroups != null && { filterGroups: se_FilterGroups(input.filterGroups, context) }),
|
|
2115
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2116
|
-
};
|
|
2117
|
-
};
|
|
2118
|
-
const se_DeleteBuildBatchInput = (input, context) => {
|
|
2119
|
-
return {
|
|
2120
|
-
...(input.id != null && { id: input.id }),
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
const se_DeleteProjectInput = (input, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
...(input.name != null && { name: input.name }),
|
|
2126
|
-
};
|
|
2127
|
-
};
|
|
2128
|
-
const se_DeleteReportGroupInput = (input, context) => {
|
|
2129
|
-
return {
|
|
2130
|
-
...(input.arn != null && { arn: input.arn }),
|
|
2131
|
-
...(input.deleteReports != null && { deleteReports: input.deleteReports }),
|
|
2132
|
-
};
|
|
2133
|
-
};
|
|
2134
|
-
const se_DeleteReportInput = (input, context) => {
|
|
2135
|
-
return {
|
|
2136
|
-
...(input.arn != null && { arn: input.arn }),
|
|
2137
|
-
};
|
|
2138
|
-
};
|
|
2139
|
-
const se_DeleteResourcePolicyInput = (input, context) => {
|
|
2140
|
-
return {
|
|
2141
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2142
|
-
};
|
|
2143
|
-
};
|
|
2144
|
-
const se_DeleteSourceCredentialsInput = (input, context) => {
|
|
2145
|
-
return {
|
|
2146
|
-
...(input.arn != null && { arn: input.arn }),
|
|
2147
|
-
};
|
|
2148
|
-
};
|
|
2149
|
-
const se_DeleteWebhookInput = (input, context) => {
|
|
2150
|
-
return {
|
|
2151
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2152
|
-
};
|
|
2153
|
-
};
|
|
2154
|
-
const se_DescribeCodeCoveragesInput = (input, context) => {
|
|
2155
|
-
return {
|
|
2156
|
-
...(input.maxLineCoveragePercentage != null && {
|
|
2157
|
-
maxLineCoveragePercentage: (0, smithy_client_1.serializeFloat)(input.maxLineCoveragePercentage),
|
|
2158
|
-
}),
|
|
2159
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2160
|
-
...(input.minLineCoveragePercentage != null && {
|
|
2161
|
-
minLineCoveragePercentage: (0, smithy_client_1.serializeFloat)(input.minLineCoveragePercentage),
|
|
2162
|
-
}),
|
|
2163
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2164
|
-
...(input.reportArn != null && { reportArn: input.reportArn }),
|
|
2165
|
-
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2166
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2167
|
-
};
|
|
2168
|
-
};
|
|
2169
|
-
const se_DescribeTestCasesInput = (input, context) => {
|
|
2170
|
-
return {
|
|
2171
|
-
...(input.filter != null && { filter: se_TestCaseFilter(input.filter, context) }),
|
|
2172
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2173
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2174
|
-
...(input.reportArn != null && { reportArn: input.reportArn }),
|
|
2175
|
-
};
|
|
2176
|
-
};
|
|
2177
|
-
const se_EnvironmentVariable = (input, context) => {
|
|
2178
|
-
return {
|
|
2179
|
-
...(input.name != null && { name: input.name }),
|
|
2180
|
-
...(input.type != null && { type: input.type }),
|
|
2181
|
-
...(input.value != null && { value: input.value }),
|
|
2182
|
-
};
|
|
2183
|
-
};
|
|
2184
|
-
const se_EnvironmentVariables = (input, context) => {
|
|
2185
|
-
return input
|
|
2186
|
-
.filter((e) => e != null)
|
|
2187
|
-
.map((entry) => {
|
|
2188
|
-
return se_EnvironmentVariable(entry, context);
|
|
2189
|
-
});
|
|
2190
|
-
};
|
|
2191
|
-
const se_FilterGroup = (input, context) => {
|
|
2192
|
-
return input
|
|
2193
|
-
.filter((e) => e != null)
|
|
2194
|
-
.map((entry) => {
|
|
2195
|
-
return se_WebhookFilter(entry, context);
|
|
2196
|
-
});
|
|
2197
|
-
};
|
|
2198
|
-
const se_FilterGroups = (input, context) => {
|
|
2199
|
-
return input
|
|
2200
|
-
.filter((e) => e != null)
|
|
2201
|
-
.map((entry) => {
|
|
2202
|
-
return se_FilterGroup(entry, context);
|
|
2203
|
-
});
|
|
2204
|
-
};
|
|
2205
|
-
const se_GetReportGroupTrendInput = (input, context) => {
|
|
2206
|
-
return {
|
|
2207
|
-
...(input.numOfReports != null && { numOfReports: input.numOfReports }),
|
|
2208
|
-
...(input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn }),
|
|
2209
|
-
...(input.trendField != null && { trendField: input.trendField }),
|
|
2210
|
-
};
|
|
2211
|
-
};
|
|
2212
|
-
const se_GetResourcePolicyInput = (input, context) => {
|
|
2213
|
-
return {
|
|
2214
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2215
|
-
};
|
|
2216
|
-
};
|
|
2217
|
-
const se_GitSubmodulesConfig = (input, context) => {
|
|
2218
|
-
return {
|
|
2219
|
-
...(input.fetchSubmodules != null && { fetchSubmodules: input.fetchSubmodules }),
|
|
2220
|
-
};
|
|
2221
|
-
};
|
|
2222
|
-
const se_ImportSourceCredentialsInput = (input, context) => {
|
|
2223
|
-
return {
|
|
2224
|
-
...(input.authType != null && { authType: input.authType }),
|
|
2225
|
-
...(input.serverType != null && { serverType: input.serverType }),
|
|
2226
|
-
...(input.shouldOverwrite != null && { shouldOverwrite: input.shouldOverwrite }),
|
|
2227
|
-
...(input.token != null && { token: input.token }),
|
|
2228
|
-
...(input.username != null && { username: input.username }),
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
const se_InvalidateProjectCacheInput = (input, context) => {
|
|
2232
|
-
return {
|
|
2233
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2234
|
-
};
|
|
2235
|
-
};
|
|
2236
|
-
const se_ListBuildBatchesForProjectInput = (input, context) => {
|
|
2237
|
-
return {
|
|
2238
|
-
...(input.filter != null && { filter: se_BuildBatchFilter(input.filter, context) }),
|
|
2239
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2240
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2241
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2242
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2243
|
-
};
|
|
2244
|
-
};
|
|
2245
|
-
const se_ListBuildBatchesInput = (input, context) => {
|
|
2246
|
-
return {
|
|
2247
|
-
...(input.filter != null && { filter: se_BuildBatchFilter(input.filter, context) }),
|
|
2248
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2249
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2250
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2251
|
-
};
|
|
2252
|
-
};
|
|
2253
|
-
const se_ListBuildsForProjectInput = (input, context) => {
|
|
2254
|
-
return {
|
|
2255
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2256
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2257
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2258
|
-
};
|
|
2259
|
-
};
|
|
2260
|
-
const se_ListBuildsInput = (input, context) => {
|
|
2261
|
-
return {
|
|
2262
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2263
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
const se_ListCuratedEnvironmentImagesInput = (input, context) => {
|
|
2267
|
-
return {};
|
|
2268
|
-
};
|
|
2269
|
-
const se_ListProjectsInput = (input, context) => {
|
|
2270
|
-
return {
|
|
2271
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2272
|
-
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2273
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2274
|
-
};
|
|
2275
|
-
};
|
|
2276
|
-
const se_ListReportGroupsInput = (input, context) => {
|
|
2277
|
-
return {
|
|
2278
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2279
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2280
|
-
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2281
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2282
|
-
};
|
|
2283
|
-
};
|
|
2284
|
-
const se_ListReportsForReportGroupInput = (input, context) => {
|
|
2285
|
-
return {
|
|
2286
|
-
...(input.filter != null && { filter: se_ReportFilter(input.filter, context) }),
|
|
2287
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2288
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2289
|
-
...(input.reportGroupArn != null && { reportGroupArn: input.reportGroupArn }),
|
|
2290
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2291
|
-
};
|
|
2292
|
-
};
|
|
2293
|
-
const se_ListReportsInput = (input, context) => {
|
|
2294
|
-
return {
|
|
2295
|
-
...(input.filter != null && { filter: se_ReportFilter(input.filter, context) }),
|
|
2296
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2297
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2298
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2299
|
-
};
|
|
2300
|
-
};
|
|
2301
|
-
const se_ListSharedProjectsInput = (input, context) => {
|
|
2302
|
-
return {
|
|
2303
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2304
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2305
|
-
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2306
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2307
|
-
};
|
|
2308
|
-
};
|
|
2309
|
-
const se_ListSharedReportGroupsInput = (input, context) => {
|
|
2310
|
-
return {
|
|
2311
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2312
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2313
|
-
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2314
|
-
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2315
|
-
};
|
|
2316
|
-
};
|
|
2317
|
-
const se_ListSourceCredentialsInput = (input, context) => {
|
|
2318
|
-
return {};
|
|
2319
|
-
};
|
|
2320
|
-
const se_LogsConfig = (input, context) => {
|
|
2321
|
-
return {
|
|
2322
|
-
...(input.cloudWatchLogs != null && { cloudWatchLogs: se_CloudWatchLogsConfig(input.cloudWatchLogs, context) }),
|
|
2323
|
-
...(input.s3Logs != null && { s3Logs: se_S3LogsConfig(input.s3Logs, context) }),
|
|
2324
|
-
};
|
|
2325
|
-
};
|
|
2326
|
-
const se_ProjectArtifacts = (input, context) => {
|
|
2327
|
-
return {
|
|
2328
|
-
...(input.artifactIdentifier != null && { artifactIdentifier: input.artifactIdentifier }),
|
|
2329
|
-
...(input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess }),
|
|
2330
|
-
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2331
|
-
...(input.location != null && { location: input.location }),
|
|
2332
|
-
...(input.name != null && { name: input.name }),
|
|
2333
|
-
...(input.namespaceType != null && { namespaceType: input.namespaceType }),
|
|
2334
|
-
...(input.overrideArtifactName != null && { overrideArtifactName: input.overrideArtifactName }),
|
|
2335
|
-
...(input.packaging != null && { packaging: input.packaging }),
|
|
2336
|
-
...(input.path != null && { path: input.path }),
|
|
2337
|
-
...(input.type != null && { type: input.type }),
|
|
2338
|
-
};
|
|
2339
|
-
};
|
|
2340
|
-
const se_ProjectArtifactsList = (input, context) => {
|
|
2341
|
-
return input
|
|
2342
|
-
.filter((e) => e != null)
|
|
2343
|
-
.map((entry) => {
|
|
2344
|
-
return se_ProjectArtifacts(entry, context);
|
|
2345
|
-
});
|
|
2346
|
-
};
|
|
2347
|
-
const se_ProjectBuildBatchConfig = (input, context) => {
|
|
2348
|
-
return {
|
|
2349
|
-
...(input.batchReportMode != null && { batchReportMode: input.batchReportMode }),
|
|
2350
|
-
...(input.combineArtifacts != null && { combineArtifacts: input.combineArtifacts }),
|
|
2351
|
-
...(input.restrictions != null && { restrictions: se_BatchRestrictions(input.restrictions, context) }),
|
|
2352
|
-
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
2353
|
-
...(input.timeoutInMins != null && { timeoutInMins: input.timeoutInMins }),
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
const se_ProjectCache = (input, context) => {
|
|
2357
|
-
return {
|
|
2358
|
-
...(input.location != null && { location: input.location }),
|
|
2359
|
-
...(input.modes != null && { modes: se_ProjectCacheModes(input.modes, context) }),
|
|
2360
|
-
...(input.type != null && { type: input.type }),
|
|
2361
|
-
};
|
|
2362
|
-
};
|
|
2363
|
-
const se_ProjectCacheModes = (input, context) => {
|
|
2364
|
-
return input
|
|
2365
|
-
.filter((e) => e != null)
|
|
2366
|
-
.map((entry) => {
|
|
2367
|
-
return entry;
|
|
2368
|
-
});
|
|
2369
|
-
};
|
|
2370
|
-
const se_ProjectEnvironment = (input, context) => {
|
|
2371
|
-
return {
|
|
2372
|
-
...(input.certificate != null && { certificate: input.certificate }),
|
|
2373
|
-
...(input.computeType != null && { computeType: input.computeType }),
|
|
2374
|
-
...(input.environmentVariables != null && {
|
|
2375
|
-
environmentVariables: se_EnvironmentVariables(input.environmentVariables, context),
|
|
2376
|
-
}),
|
|
2377
|
-
...(input.image != null && { image: input.image }),
|
|
2378
|
-
...(input.imagePullCredentialsType != null && { imagePullCredentialsType: input.imagePullCredentialsType }),
|
|
2379
|
-
...(input.privilegedMode != null && { privilegedMode: input.privilegedMode }),
|
|
2380
|
-
...(input.registryCredential != null && {
|
|
2381
|
-
registryCredential: se_RegistryCredential(input.registryCredential, context),
|
|
2382
|
-
}),
|
|
2383
|
-
...(input.type != null && { type: input.type }),
|
|
2384
|
-
};
|
|
2385
|
-
};
|
|
2386
|
-
const se_ProjectFileSystemLocation = (input, context) => {
|
|
2387
|
-
return {
|
|
2388
|
-
...(input.identifier != null && { identifier: input.identifier }),
|
|
2389
|
-
...(input.location != null && { location: input.location }),
|
|
2390
|
-
...(input.mountOptions != null && { mountOptions: input.mountOptions }),
|
|
2391
|
-
...(input.mountPoint != null && { mountPoint: input.mountPoint }),
|
|
2392
|
-
...(input.type != null && { type: input.type }),
|
|
2393
|
-
};
|
|
2394
|
-
};
|
|
2395
|
-
const se_ProjectFileSystemLocations = (input, context) => {
|
|
2396
|
-
return input
|
|
2397
|
-
.filter((e) => e != null)
|
|
2398
|
-
.map((entry) => {
|
|
2399
|
-
return se_ProjectFileSystemLocation(entry, context);
|
|
2400
|
-
});
|
|
2401
|
-
};
|
|
2402
|
-
const se_ProjectNames = (input, context) => {
|
|
2403
|
-
return input
|
|
2404
|
-
.filter((e) => e != null)
|
|
2405
|
-
.map((entry) => {
|
|
2406
|
-
return entry;
|
|
2407
|
-
});
|
|
2408
|
-
};
|
|
2409
|
-
const se_ProjectSecondarySourceVersions = (input, context) => {
|
|
2410
|
-
return input
|
|
2411
|
-
.filter((e) => e != null)
|
|
2412
|
-
.map((entry) => {
|
|
2413
|
-
return se_ProjectSourceVersion(entry, context);
|
|
2414
|
-
});
|
|
2415
|
-
};
|
|
2416
|
-
const se_ProjectSource = (input, context) => {
|
|
2417
|
-
return {
|
|
2418
|
-
...(input.auth != null && { auth: se_SourceAuth(input.auth, context) }),
|
|
2419
|
-
...(input.buildStatusConfig != null && {
|
|
2420
|
-
buildStatusConfig: se_BuildStatusConfig(input.buildStatusConfig, context),
|
|
2421
|
-
}),
|
|
2422
|
-
...(input.buildspec != null && { buildspec: input.buildspec }),
|
|
2423
|
-
...(input.gitCloneDepth != null && { gitCloneDepth: input.gitCloneDepth }),
|
|
2424
|
-
...(input.gitSubmodulesConfig != null && {
|
|
2425
|
-
gitSubmodulesConfig: se_GitSubmodulesConfig(input.gitSubmodulesConfig, context),
|
|
2426
|
-
}),
|
|
2427
|
-
...(input.insecureSsl != null && { insecureSsl: input.insecureSsl }),
|
|
2428
|
-
...(input.location != null && { location: input.location }),
|
|
2429
|
-
...(input.reportBuildStatus != null && { reportBuildStatus: input.reportBuildStatus }),
|
|
2430
|
-
...(input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier }),
|
|
2431
|
-
...(input.type != null && { type: input.type }),
|
|
2432
|
-
};
|
|
2433
|
-
};
|
|
2434
|
-
const se_ProjectSources = (input, context) => {
|
|
2435
|
-
return input
|
|
2436
|
-
.filter((e) => e != null)
|
|
2437
|
-
.map((entry) => {
|
|
2438
|
-
return se_ProjectSource(entry, context);
|
|
2439
|
-
});
|
|
2440
|
-
};
|
|
2441
|
-
const se_ProjectSourceVersion = (input, context) => {
|
|
2442
|
-
return {
|
|
2443
|
-
...(input.sourceIdentifier != null && { sourceIdentifier: input.sourceIdentifier }),
|
|
2444
|
-
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2445
|
-
};
|
|
2446
|
-
};
|
|
2447
|
-
const se_PutResourcePolicyInput = (input, context) => {
|
|
2448
|
-
return {
|
|
2449
|
-
...(input.policy != null && { policy: input.policy }),
|
|
2450
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2451
|
-
};
|
|
2452
|
-
};
|
|
2453
|
-
const se_RegistryCredential = (input, context) => {
|
|
2454
|
-
return {
|
|
2455
|
-
...(input.credential != null && { credential: input.credential }),
|
|
2456
|
-
...(input.credentialProvider != null && { credentialProvider: input.credentialProvider }),
|
|
2457
|
-
};
|
|
2458
|
-
};
|
|
2459
|
-
const se_ReportArns = (input, context) => {
|
|
2460
|
-
return input
|
|
2461
|
-
.filter((e) => e != null)
|
|
2462
|
-
.map((entry) => {
|
|
2463
|
-
return entry;
|
|
2464
|
-
});
|
|
2465
|
-
};
|
|
2466
|
-
const se_ReportExportConfig = (input, context) => {
|
|
2467
|
-
return {
|
|
2468
|
-
...(input.exportConfigType != null && { exportConfigType: input.exportConfigType }),
|
|
2469
|
-
...(input.s3Destination != null && { s3Destination: se_S3ReportExportConfig(input.s3Destination, context) }),
|
|
2470
|
-
};
|
|
2471
|
-
};
|
|
2472
|
-
const se_ReportFilter = (input, context) => {
|
|
2473
|
-
return {
|
|
2474
|
-
...(input.status != null && { status: input.status }),
|
|
2475
|
-
};
|
|
2476
|
-
};
|
|
2477
|
-
const se_ReportGroupArns = (input, context) => {
|
|
2478
|
-
return input
|
|
2479
|
-
.filter((e) => e != null)
|
|
2480
|
-
.map((entry) => {
|
|
2481
|
-
return entry;
|
|
2482
|
-
});
|
|
2483
|
-
};
|
|
2484
|
-
const se_RetryBuildBatchInput = (input, context) => {
|
|
2485
|
-
return {
|
|
2486
|
-
...(input.id != null && { id: input.id }),
|
|
2487
|
-
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2488
|
-
...(input.retryType != null && { retryType: input.retryType }),
|
|
2489
|
-
};
|
|
2490
|
-
};
|
|
2491
|
-
const se_RetryBuildInput = (input, context) => {
|
|
2492
|
-
return {
|
|
2493
|
-
...(input.id != null && { id: input.id }),
|
|
2494
|
-
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2495
|
-
};
|
|
2496
|
-
};
|
|
2497
|
-
const se_S3LogsConfig = (input, context) => {
|
|
2498
|
-
return {
|
|
2499
|
-
...(input.bucketOwnerAccess != null && { bucketOwnerAccess: input.bucketOwnerAccess }),
|
|
2500
|
-
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2501
|
-
...(input.location != null && { location: input.location }),
|
|
2502
|
-
...(input.status != null && { status: input.status }),
|
|
2503
|
-
};
|
|
2504
|
-
};
|
|
2505
|
-
const se_S3ReportExportConfig = (input, context) => {
|
|
2506
|
-
return {
|
|
2507
|
-
...(input.bucket != null && { bucket: input.bucket }),
|
|
2508
|
-
...(input.bucketOwner != null && { bucketOwner: input.bucketOwner }),
|
|
2509
|
-
...(input.encryptionDisabled != null && { encryptionDisabled: input.encryptionDisabled }),
|
|
2510
|
-
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
2511
|
-
...(input.packaging != null && { packaging: input.packaging }),
|
|
2512
|
-
...(input.path != null && { path: input.path }),
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
const se_SecurityGroupIds = (input, context) => {
|
|
2516
|
-
return input
|
|
2517
|
-
.filter((e) => e != null)
|
|
2518
|
-
.map((entry) => {
|
|
2519
|
-
return entry;
|
|
2520
|
-
});
|
|
2521
|
-
};
|
|
2522
|
-
const se_SourceAuth = (input, context) => {
|
|
2523
|
-
return {
|
|
2524
|
-
...(input.resource != null && { resource: input.resource }),
|
|
2525
|
-
...(input.type != null && { type: input.type }),
|
|
2526
|
-
};
|
|
2527
|
-
};
|
|
2528
|
-
const se_StartBuildBatchInput = (input, context) => {
|
|
2529
|
-
return {
|
|
2530
|
-
...(input.artifactsOverride != null && {
|
|
2531
|
-
artifactsOverride: se_ProjectArtifacts(input.artifactsOverride, context),
|
|
2532
|
-
}),
|
|
2533
|
-
...(input.buildBatchConfigOverride != null && {
|
|
2534
|
-
buildBatchConfigOverride: se_ProjectBuildBatchConfig(input.buildBatchConfigOverride, context),
|
|
2535
|
-
}),
|
|
2536
|
-
...(input.buildTimeoutInMinutesOverride != null && {
|
|
2537
|
-
buildTimeoutInMinutesOverride: input.buildTimeoutInMinutesOverride,
|
|
2538
|
-
}),
|
|
2539
|
-
...(input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride }),
|
|
2540
|
-
...(input.cacheOverride != null && { cacheOverride: se_ProjectCache(input.cacheOverride, context) }),
|
|
2541
|
-
...(input.certificateOverride != null && { certificateOverride: input.certificateOverride }),
|
|
2542
|
-
...(input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride }),
|
|
2543
|
-
...(input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled }),
|
|
2544
|
-
...(input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
2545
|
-
...(input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
2546
|
-
...(input.environmentVariablesOverride != null && {
|
|
2547
|
-
environmentVariablesOverride: se_EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
2548
|
-
}),
|
|
2549
|
-
...(input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride }),
|
|
2550
|
-
...(input.gitSubmodulesConfigOverride != null && {
|
|
2551
|
-
gitSubmodulesConfigOverride: se_GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
2552
|
-
}),
|
|
2553
|
-
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2554
|
-
...(input.imageOverride != null && { imageOverride: input.imageOverride }),
|
|
2555
|
-
...(input.imagePullCredentialsTypeOverride != null && {
|
|
2556
|
-
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
2557
|
-
}),
|
|
2558
|
-
...(input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride }),
|
|
2559
|
-
...(input.logsConfigOverride != null && { logsConfigOverride: se_LogsConfig(input.logsConfigOverride, context) }),
|
|
2560
|
-
...(input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride }),
|
|
2561
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2562
|
-
...(input.queuedTimeoutInMinutesOverride != null && {
|
|
2563
|
-
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
2564
|
-
}),
|
|
2565
|
-
...(input.registryCredentialOverride != null && {
|
|
2566
|
-
registryCredentialOverride: se_RegistryCredential(input.registryCredentialOverride, context),
|
|
2567
|
-
}),
|
|
2568
|
-
...(input.reportBuildBatchStatusOverride != null && {
|
|
2569
|
-
reportBuildBatchStatusOverride: input.reportBuildBatchStatusOverride,
|
|
2570
|
-
}),
|
|
2571
|
-
...(input.secondaryArtifactsOverride != null && {
|
|
2572
|
-
secondaryArtifactsOverride: se_ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
2573
|
-
}),
|
|
2574
|
-
...(input.secondarySourcesOverride != null && {
|
|
2575
|
-
secondarySourcesOverride: se_ProjectSources(input.secondarySourcesOverride, context),
|
|
2576
|
-
}),
|
|
2577
|
-
...(input.secondarySourcesVersionOverride != null && {
|
|
2578
|
-
secondarySourcesVersionOverride: se_ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
2579
|
-
}),
|
|
2580
|
-
...(input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride }),
|
|
2581
|
-
...(input.sourceAuthOverride != null && { sourceAuthOverride: se_SourceAuth(input.sourceAuthOverride, context) }),
|
|
2582
|
-
...(input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride }),
|
|
2583
|
-
...(input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride }),
|
|
2584
|
-
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2585
|
-
};
|
|
2586
|
-
};
|
|
2587
|
-
const se_StartBuildInput = (input, context) => {
|
|
2588
|
-
return {
|
|
2589
|
-
...(input.artifactsOverride != null && {
|
|
2590
|
-
artifactsOverride: se_ProjectArtifacts(input.artifactsOverride, context),
|
|
2591
|
-
}),
|
|
2592
|
-
...(input.buildStatusConfigOverride != null && {
|
|
2593
|
-
buildStatusConfigOverride: se_BuildStatusConfig(input.buildStatusConfigOverride, context),
|
|
2594
|
-
}),
|
|
2595
|
-
...(input.buildspecOverride != null && { buildspecOverride: input.buildspecOverride }),
|
|
2596
|
-
...(input.cacheOverride != null && { cacheOverride: se_ProjectCache(input.cacheOverride, context) }),
|
|
2597
|
-
...(input.certificateOverride != null && { certificateOverride: input.certificateOverride }),
|
|
2598
|
-
...(input.computeTypeOverride != null && { computeTypeOverride: input.computeTypeOverride }),
|
|
2599
|
-
...(input.debugSessionEnabled != null && { debugSessionEnabled: input.debugSessionEnabled }),
|
|
2600
|
-
...(input.encryptionKeyOverride != null && { encryptionKeyOverride: input.encryptionKeyOverride }),
|
|
2601
|
-
...(input.environmentTypeOverride != null && { environmentTypeOverride: input.environmentTypeOverride }),
|
|
2602
|
-
...(input.environmentVariablesOverride != null && {
|
|
2603
|
-
environmentVariablesOverride: se_EnvironmentVariables(input.environmentVariablesOverride, context),
|
|
2604
|
-
}),
|
|
2605
|
-
...(input.gitCloneDepthOverride != null && { gitCloneDepthOverride: input.gitCloneDepthOverride }),
|
|
2606
|
-
...(input.gitSubmodulesConfigOverride != null && {
|
|
2607
|
-
gitSubmodulesConfigOverride: se_GitSubmodulesConfig(input.gitSubmodulesConfigOverride, context),
|
|
2608
|
-
}),
|
|
2609
|
-
...(input.idempotencyToken != null && { idempotencyToken: input.idempotencyToken }),
|
|
2610
|
-
...(input.imageOverride != null && { imageOverride: input.imageOverride }),
|
|
2611
|
-
...(input.imagePullCredentialsTypeOverride != null && {
|
|
2612
|
-
imagePullCredentialsTypeOverride: input.imagePullCredentialsTypeOverride,
|
|
2613
|
-
}),
|
|
2614
|
-
...(input.insecureSslOverride != null && { insecureSslOverride: input.insecureSslOverride }),
|
|
2615
|
-
...(input.logsConfigOverride != null && { logsConfigOverride: se_LogsConfig(input.logsConfigOverride, context) }),
|
|
2616
|
-
...(input.privilegedModeOverride != null && { privilegedModeOverride: input.privilegedModeOverride }),
|
|
2617
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2618
|
-
...(input.queuedTimeoutInMinutesOverride != null && {
|
|
2619
|
-
queuedTimeoutInMinutesOverride: input.queuedTimeoutInMinutesOverride,
|
|
2620
|
-
}),
|
|
2621
|
-
...(input.registryCredentialOverride != null && {
|
|
2622
|
-
registryCredentialOverride: se_RegistryCredential(input.registryCredentialOverride, context),
|
|
2623
|
-
}),
|
|
2624
|
-
...(input.reportBuildStatusOverride != null && { reportBuildStatusOverride: input.reportBuildStatusOverride }),
|
|
2625
|
-
...(input.secondaryArtifactsOverride != null && {
|
|
2626
|
-
secondaryArtifactsOverride: se_ProjectArtifactsList(input.secondaryArtifactsOverride, context),
|
|
2627
|
-
}),
|
|
2628
|
-
...(input.secondarySourcesOverride != null && {
|
|
2629
|
-
secondarySourcesOverride: se_ProjectSources(input.secondarySourcesOverride, context),
|
|
2630
|
-
}),
|
|
2631
|
-
...(input.secondarySourcesVersionOverride != null && {
|
|
2632
|
-
secondarySourcesVersionOverride: se_ProjectSecondarySourceVersions(input.secondarySourcesVersionOverride, context),
|
|
2633
|
-
}),
|
|
2634
|
-
...(input.serviceRoleOverride != null && { serviceRoleOverride: input.serviceRoleOverride }),
|
|
2635
|
-
...(input.sourceAuthOverride != null && { sourceAuthOverride: se_SourceAuth(input.sourceAuthOverride, context) }),
|
|
2636
|
-
...(input.sourceLocationOverride != null && { sourceLocationOverride: input.sourceLocationOverride }),
|
|
2637
|
-
...(input.sourceTypeOverride != null && { sourceTypeOverride: input.sourceTypeOverride }),
|
|
2638
|
-
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2639
|
-
...(input.timeoutInMinutesOverride != null && { timeoutInMinutesOverride: input.timeoutInMinutesOverride }),
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
const se_StopBuildBatchInput = (input, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
...(input.id != null && { id: input.id }),
|
|
2645
|
-
};
|
|
2646
|
-
};
|
|
2647
|
-
const se_StopBuildInput = (input, context) => {
|
|
2648
|
-
return {
|
|
2649
|
-
...(input.id != null && { id: input.id }),
|
|
2650
|
-
};
|
|
2651
|
-
};
|
|
2652
|
-
const se_Subnets = (input, context) => {
|
|
2653
|
-
return input
|
|
2654
|
-
.filter((e) => e != null)
|
|
2655
|
-
.map((entry) => {
|
|
2656
|
-
return entry;
|
|
2657
|
-
});
|
|
2658
|
-
};
|
|
2659
|
-
const se_Tag = (input, context) => {
|
|
2660
|
-
return {
|
|
2661
|
-
...(input.key != null && { key: input.key }),
|
|
2662
|
-
...(input.value != null && { value: input.value }),
|
|
2663
|
-
};
|
|
2664
|
-
};
|
|
2665
|
-
const se_TagList = (input, context) => {
|
|
2666
|
-
return input
|
|
2667
|
-
.filter((e) => e != null)
|
|
2668
|
-
.map((entry) => {
|
|
2669
|
-
return se_Tag(entry, context);
|
|
2670
|
-
});
|
|
2671
|
-
};
|
|
2672
|
-
const se_TestCaseFilter = (input, context) => {
|
|
2673
|
-
return {
|
|
2674
|
-
...(input.keyword != null && { keyword: input.keyword }),
|
|
2675
|
-
...(input.status != null && { status: input.status }),
|
|
2676
|
-
};
|
|
2677
|
-
};
|
|
2678
|
-
const se_UpdateProjectInput = (input, context) => {
|
|
2679
|
-
return {
|
|
2680
|
-
...(input.artifacts != null && { artifacts: se_ProjectArtifacts(input.artifacts, context) }),
|
|
2681
|
-
...(input.badgeEnabled != null && { badgeEnabled: input.badgeEnabled }),
|
|
2682
|
-
...(input.buildBatchConfig != null && {
|
|
2683
|
-
buildBatchConfig: se_ProjectBuildBatchConfig(input.buildBatchConfig, context),
|
|
2684
|
-
}),
|
|
2685
|
-
...(input.cache != null && { cache: se_ProjectCache(input.cache, context) }),
|
|
2686
|
-
...(input.concurrentBuildLimit != null && { concurrentBuildLimit: input.concurrentBuildLimit }),
|
|
2687
|
-
...(input.description != null && { description: input.description }),
|
|
2688
|
-
...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
|
|
2689
|
-
...(input.environment != null && { environment: se_ProjectEnvironment(input.environment, context) }),
|
|
2690
|
-
...(input.fileSystemLocations != null && {
|
|
2691
|
-
fileSystemLocations: se_ProjectFileSystemLocations(input.fileSystemLocations, context),
|
|
2692
|
-
}),
|
|
2693
|
-
...(input.logsConfig != null && { logsConfig: se_LogsConfig(input.logsConfig, context) }),
|
|
2694
|
-
...(input.name != null && { name: input.name }),
|
|
2695
|
-
...(input.queuedTimeoutInMinutes != null && { queuedTimeoutInMinutes: input.queuedTimeoutInMinutes }),
|
|
2696
|
-
...(input.secondaryArtifacts != null && {
|
|
2697
|
-
secondaryArtifacts: se_ProjectArtifactsList(input.secondaryArtifacts, context),
|
|
2698
|
-
}),
|
|
2699
|
-
...(input.secondarySourceVersions != null && {
|
|
2700
|
-
secondarySourceVersions: se_ProjectSecondarySourceVersions(input.secondarySourceVersions, context),
|
|
2701
|
-
}),
|
|
2702
|
-
...(input.secondarySources != null && { secondarySources: se_ProjectSources(input.secondarySources, context) }),
|
|
2703
|
-
...(input.serviceRole != null && { serviceRole: input.serviceRole }),
|
|
2704
|
-
...(input.source != null && { source: se_ProjectSource(input.source, context) }),
|
|
2705
|
-
...(input.sourceVersion != null && { sourceVersion: input.sourceVersion }),
|
|
2706
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2707
|
-
...(input.timeoutInMinutes != null && { timeoutInMinutes: input.timeoutInMinutes }),
|
|
2708
|
-
...(input.vpcConfig != null && { vpcConfig: se_VpcConfig(input.vpcConfig, context) }),
|
|
2709
|
-
};
|
|
2710
|
-
};
|
|
2711
|
-
const se_UpdateProjectVisibilityInput = (input, context) => {
|
|
2712
|
-
return {
|
|
2713
|
-
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
2714
|
-
...(input.projectVisibility != null && { projectVisibility: input.projectVisibility }),
|
|
2715
|
-
...(input.resourceAccessRole != null && { resourceAccessRole: input.resourceAccessRole }),
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
const se_UpdateReportGroupInput = (input, context) => {
|
|
2719
|
-
return {
|
|
2720
|
-
...(input.arn != null && { arn: input.arn }),
|
|
2721
|
-
...(input.exportConfig != null && { exportConfig: se_ReportExportConfig(input.exportConfig, context) }),
|
|
2722
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2723
|
-
};
|
|
2724
|
-
};
|
|
2725
|
-
const se_UpdateWebhookInput = (input, context) => {
|
|
2726
|
-
return {
|
|
2727
|
-
...(input.branchFilter != null && { branchFilter: input.branchFilter }),
|
|
2728
|
-
...(input.buildType != null && { buildType: input.buildType }),
|
|
2729
|
-
...(input.filterGroups != null && { filterGroups: se_FilterGroups(input.filterGroups, context) }),
|
|
2730
|
-
...(input.projectName != null && { projectName: input.projectName }),
|
|
2731
|
-
...(input.rotateSecret != null && { rotateSecret: input.rotateSecret }),
|
|
2732
|
-
};
|
|
2733
|
-
};
|
|
2734
|
-
const se_VpcConfig = (input, context) => {
|
|
2735
|
-
return {
|
|
2736
|
-
...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupIds(input.securityGroupIds, context) }),
|
|
2737
|
-
...(input.subnets != null && { subnets: se_Subnets(input.subnets, context) }),
|
|
2738
|
-
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2741
|
-
const se_WebhookFilter = (input, context) => {
|
|
2742
|
-
return {
|
|
2743
|
-
...(input.excludeMatchedPattern != null && { excludeMatchedPattern: input.excludeMatchedPattern }),
|
|
2744
|
-
...(input.pattern != null && { pattern: input.pattern }),
|
|
2745
|
-
...(input.type != null && { type: input.type }),
|
|
2746
|
-
};
|
|
2747
|
-
};
|
|
2748
|
-
const de_AccountLimitExceededException = (output, context) => {
|
|
2749
|
-
return {
|
|
2750
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2751
|
-
};
|
|
2752
|
-
};
|
|
2753
|
-
const de_BatchDeleteBuildsOutput = (output, context) => {
|
|
2754
|
-
return {
|
|
2755
|
-
buildsDeleted: output.buildsDeleted != null ? de_BuildIds(output.buildsDeleted, context) : undefined,
|
|
2756
|
-
buildsNotDeleted: output.buildsNotDeleted != null ? de_BuildsNotDeleted(output.buildsNotDeleted, context) : undefined,
|
|
2757
|
-
};
|
|
2758
|
-
};
|
|
2759
|
-
const de_BatchGetBuildBatchesOutput = (output, context) => {
|
|
2760
|
-
return {
|
|
2761
|
-
buildBatches: output.buildBatches != null ? de_BuildBatches(output.buildBatches, context) : undefined,
|
|
2762
|
-
buildBatchesNotFound: output.buildBatchesNotFound != null ? de_BuildBatchIds(output.buildBatchesNotFound, context) : undefined,
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
const de_BatchGetBuildsOutput = (output, context) => {
|
|
2766
|
-
return {
|
|
2767
|
-
builds: output.builds != null ? de_Builds(output.builds, context) : undefined,
|
|
2768
|
-
buildsNotFound: output.buildsNotFound != null ? de_BuildIds(output.buildsNotFound, context) : undefined,
|
|
2769
|
-
};
|
|
2770
|
-
};
|
|
2771
|
-
const de_BatchGetProjectsOutput = (output, context) => {
|
|
2772
|
-
return {
|
|
2773
|
-
projects: output.projects != null ? de_Projects(output.projects, context) : undefined,
|
|
2774
|
-
projectsNotFound: output.projectsNotFound != null ? de_ProjectNames(output.projectsNotFound, context) : undefined,
|
|
2775
|
-
};
|
|
2776
|
-
};
|
|
2777
|
-
const de_BatchGetReportGroupsOutput = (output, context) => {
|
|
2778
|
-
return {
|
|
2779
|
-
reportGroups: output.reportGroups != null ? de_ReportGroups(output.reportGroups, context) : undefined,
|
|
2780
|
-
reportGroupsNotFound: output.reportGroupsNotFound != null ? de_ReportGroupArns(output.reportGroupsNotFound, context) : undefined,
|
|
2781
|
-
};
|
|
2782
|
-
};
|
|
2783
|
-
const de_BatchGetReportsOutput = (output, context) => {
|
|
2784
|
-
return {
|
|
2785
|
-
reports: output.reports != null ? de_Reports(output.reports, context) : undefined,
|
|
2786
|
-
reportsNotFound: output.reportsNotFound != null ? de_ReportArns(output.reportsNotFound, context) : undefined,
|
|
2787
|
-
};
|
|
2788
|
-
};
|
|
2789
|
-
const de_BatchRestrictions = (output, context) => {
|
|
2790
|
-
return {
|
|
2791
|
-
computeTypesAllowed: output.computeTypesAllowed != null ? de_ComputeTypesAllowed(output.computeTypesAllowed, context) : undefined,
|
|
2792
|
-
maximumBuildsAllowed: (0, smithy_client_1.expectInt32)(output.maximumBuildsAllowed),
|
|
2793
|
-
};
|
|
2794
|
-
};
|
|
2795
|
-
const de_Build = (output, context) => {
|
|
2796
|
-
return {
|
|
2797
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2798
|
-
artifacts: output.artifacts != null ? de_BuildArtifacts(output.artifacts, context) : undefined,
|
|
2799
|
-
buildBatchArn: (0, smithy_client_1.expectString)(output.buildBatchArn),
|
|
2800
|
-
buildComplete: (0, smithy_client_1.expectBoolean)(output.buildComplete),
|
|
2801
|
-
buildNumber: (0, smithy_client_1.expectLong)(output.buildNumber),
|
|
2802
|
-
buildStatus: (0, smithy_client_1.expectString)(output.buildStatus),
|
|
2803
|
-
cache: output.cache != null ? de_ProjectCache(output.cache, context) : undefined,
|
|
2804
|
-
currentPhase: (0, smithy_client_1.expectString)(output.currentPhase),
|
|
2805
|
-
debugSession: output.debugSession != null ? de_DebugSession(output.debugSession, context) : undefined,
|
|
2806
|
-
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
2807
|
-
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2808
|
-
environment: output.environment != null ? de_ProjectEnvironment(output.environment, context) : undefined,
|
|
2809
|
-
exportedEnvironmentVariables: output.exportedEnvironmentVariables != null
|
|
2810
|
-
? de_ExportedEnvironmentVariables(output.exportedEnvironmentVariables, context)
|
|
2811
|
-
: undefined,
|
|
2812
|
-
fileSystemLocations: output.fileSystemLocations != null
|
|
2813
|
-
? de_ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
2814
|
-
: undefined,
|
|
2815
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2816
|
-
initiator: (0, smithy_client_1.expectString)(output.initiator),
|
|
2817
|
-
logs: output.logs != null ? de_LogsLocation(output.logs, context) : undefined,
|
|
2818
|
-
networkInterface: output.networkInterface != null ? de_NetworkInterface(output.networkInterface, context) : undefined,
|
|
2819
|
-
phases: output.phases != null ? de_BuildPhases(output.phases, context) : undefined,
|
|
2820
|
-
projectName: (0, smithy_client_1.expectString)(output.projectName),
|
|
2821
|
-
queuedTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.queuedTimeoutInMinutes),
|
|
2822
|
-
reportArns: output.reportArns != null ? de_BuildReportArns(output.reportArns, context) : undefined,
|
|
2823
|
-
resolvedSourceVersion: (0, smithy_client_1.expectString)(output.resolvedSourceVersion),
|
|
2824
|
-
secondaryArtifacts: output.secondaryArtifacts != null ? de_BuildArtifactsList(output.secondaryArtifacts, context) : undefined,
|
|
2825
|
-
secondarySourceVersions: output.secondarySourceVersions != null
|
|
2826
|
-
? de_ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
2827
|
-
: undefined,
|
|
2828
|
-
secondarySources: output.secondarySources != null ? de_ProjectSources(output.secondarySources, context) : undefined,
|
|
2829
|
-
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
2830
|
-
source: output.source != null ? de_ProjectSource(output.source, context) : undefined,
|
|
2831
|
-
sourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
2832
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2833
|
-
timeoutInMinutes: (0, smithy_client_1.expectInt32)(output.timeoutInMinutes),
|
|
2834
|
-
vpcConfig: output.vpcConfig != null ? de_VpcConfig(output.vpcConfig, context) : undefined,
|
|
2835
|
-
};
|
|
2836
|
-
};
|
|
2837
|
-
const de_BuildArtifacts = (output, context) => {
|
|
2838
|
-
return {
|
|
2839
|
-
artifactIdentifier: (0, smithy_client_1.expectString)(output.artifactIdentifier),
|
|
2840
|
-
bucketOwnerAccess: (0, smithy_client_1.expectString)(output.bucketOwnerAccess),
|
|
2841
|
-
encryptionDisabled: (0, smithy_client_1.expectBoolean)(output.encryptionDisabled),
|
|
2842
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
2843
|
-
md5sum: (0, smithy_client_1.expectString)(output.md5sum),
|
|
2844
|
-
overrideArtifactName: (0, smithy_client_1.expectBoolean)(output.overrideArtifactName),
|
|
2845
|
-
sha256sum: (0, smithy_client_1.expectString)(output.sha256sum),
|
|
2846
|
-
};
|
|
2847
|
-
};
|
|
2848
|
-
const de_BuildArtifactsList = (output, context) => {
|
|
2849
|
-
const retVal = (output || [])
|
|
2850
|
-
.filter((e) => e != null)
|
|
2851
|
-
.map((entry) => {
|
|
2852
|
-
if (entry === null) {
|
|
2853
|
-
return null;
|
|
2854
|
-
}
|
|
2855
|
-
return de_BuildArtifacts(entry, context);
|
|
2856
|
-
});
|
|
2857
|
-
return retVal;
|
|
2858
|
-
};
|
|
2859
|
-
const de_BuildBatch = (output, context) => {
|
|
2860
|
-
return {
|
|
2861
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2862
|
-
artifacts: output.artifacts != null ? de_BuildArtifacts(output.artifacts, context) : undefined,
|
|
2863
|
-
buildBatchConfig: output.buildBatchConfig != null ? de_ProjectBuildBatchConfig(output.buildBatchConfig, context) : undefined,
|
|
2864
|
-
buildBatchNumber: (0, smithy_client_1.expectLong)(output.buildBatchNumber),
|
|
2865
|
-
buildBatchStatus: (0, smithy_client_1.expectString)(output.buildBatchStatus),
|
|
2866
|
-
buildGroups: output.buildGroups != null ? de_BuildGroups(output.buildGroups, context) : undefined,
|
|
2867
|
-
buildTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.buildTimeoutInMinutes),
|
|
2868
|
-
cache: output.cache != null ? de_ProjectCache(output.cache, context) : undefined,
|
|
2869
|
-
complete: (0, smithy_client_1.expectBoolean)(output.complete),
|
|
2870
|
-
currentPhase: (0, smithy_client_1.expectString)(output.currentPhase),
|
|
2871
|
-
debugSessionEnabled: (0, smithy_client_1.expectBoolean)(output.debugSessionEnabled),
|
|
2872
|
-
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
2873
|
-
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2874
|
-
environment: output.environment != null ? de_ProjectEnvironment(output.environment, context) : undefined,
|
|
2875
|
-
fileSystemLocations: output.fileSystemLocations != null
|
|
2876
|
-
? de_ProjectFileSystemLocations(output.fileSystemLocations, context)
|
|
2877
|
-
: undefined,
|
|
2878
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2879
|
-
initiator: (0, smithy_client_1.expectString)(output.initiator),
|
|
2880
|
-
logConfig: output.logConfig != null ? de_LogsConfig(output.logConfig, context) : undefined,
|
|
2881
|
-
phases: output.phases != null ? de_BuildBatchPhases(output.phases, context) : undefined,
|
|
2882
|
-
projectName: (0, smithy_client_1.expectString)(output.projectName),
|
|
2883
|
-
queuedTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.queuedTimeoutInMinutes),
|
|
2884
|
-
resolvedSourceVersion: (0, smithy_client_1.expectString)(output.resolvedSourceVersion),
|
|
2885
|
-
secondaryArtifacts: output.secondaryArtifacts != null ? de_BuildArtifactsList(output.secondaryArtifacts, context) : undefined,
|
|
2886
|
-
secondarySourceVersions: output.secondarySourceVersions != null
|
|
2887
|
-
? de_ProjectSecondarySourceVersions(output.secondarySourceVersions, context)
|
|
2888
|
-
: undefined,
|
|
2889
|
-
secondarySources: output.secondarySources != null ? de_ProjectSources(output.secondarySources, context) : undefined,
|
|
2890
|
-
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
2891
|
-
source: output.source != null ? de_ProjectSource(output.source, context) : undefined,
|
|
2892
|
-
sourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
2893
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2894
|
-
vpcConfig: output.vpcConfig != null ? de_VpcConfig(output.vpcConfig, context) : undefined,
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
const de_BuildBatches = (output, context) => {
|
|
2898
|
-
const retVal = (output || [])
|
|
2899
|
-
.filter((e) => e != null)
|
|
2900
|
-
.map((entry) => {
|
|
2901
|
-
if (entry === null) {
|
|
2902
|
-
return null;
|
|
2903
|
-
}
|
|
2904
|
-
return de_BuildBatch(entry, context);
|
|
2905
|
-
});
|
|
2906
|
-
return retVal;
|
|
2907
|
-
};
|
|
2908
|
-
const de_BuildBatchIds = (output, context) => {
|
|
2909
|
-
const retVal = (output || [])
|
|
2910
|
-
.filter((e) => e != null)
|
|
2911
|
-
.map((entry) => {
|
|
2912
|
-
if (entry === null) {
|
|
2913
|
-
return null;
|
|
2914
|
-
}
|
|
2915
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2916
|
-
});
|
|
2917
|
-
return retVal;
|
|
2918
|
-
};
|
|
2919
|
-
const de_BuildBatchPhase = (output, context) => {
|
|
2920
|
-
return {
|
|
2921
|
-
contexts: output.contexts != null ? de_PhaseContexts(output.contexts, context) : undefined,
|
|
2922
|
-
durationInSeconds: (0, smithy_client_1.expectLong)(output.durationInSeconds),
|
|
2923
|
-
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2924
|
-
phaseStatus: (0, smithy_client_1.expectString)(output.phaseStatus),
|
|
2925
|
-
phaseType: (0, smithy_client_1.expectString)(output.phaseType),
|
|
2926
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2927
|
-
};
|
|
2928
|
-
};
|
|
2929
|
-
const de_BuildBatchPhases = (output, context) => {
|
|
2930
|
-
const retVal = (output || [])
|
|
2931
|
-
.filter((e) => e != null)
|
|
2932
|
-
.map((entry) => {
|
|
2933
|
-
if (entry === null) {
|
|
2934
|
-
return null;
|
|
2935
|
-
}
|
|
2936
|
-
return de_BuildBatchPhase(entry, context);
|
|
2937
|
-
});
|
|
2938
|
-
return retVal;
|
|
2939
|
-
};
|
|
2940
|
-
const de_BuildGroup = (output, context) => {
|
|
2941
|
-
return {
|
|
2942
|
-
currentBuildSummary: output.currentBuildSummary != null ? de_BuildSummary(output.currentBuildSummary, context) : undefined,
|
|
2943
|
-
dependsOn: output.dependsOn != null ? de_Identifiers(output.dependsOn, context) : undefined,
|
|
2944
|
-
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
2945
|
-
ignoreFailure: (0, smithy_client_1.expectBoolean)(output.ignoreFailure),
|
|
2946
|
-
priorBuildSummaryList: output.priorBuildSummaryList != null ? de_BuildSummaries(output.priorBuildSummaryList, context) : undefined,
|
|
2947
|
-
};
|
|
2948
|
-
};
|
|
2949
|
-
const de_BuildGroups = (output, context) => {
|
|
2950
|
-
const retVal = (output || [])
|
|
2951
|
-
.filter((e) => e != null)
|
|
2952
|
-
.map((entry) => {
|
|
2953
|
-
if (entry === null) {
|
|
2954
|
-
return null;
|
|
2955
|
-
}
|
|
2956
|
-
return de_BuildGroup(entry, context);
|
|
2957
|
-
});
|
|
2958
|
-
return retVal;
|
|
2959
|
-
};
|
|
2960
|
-
const de_BuildIds = (output, context) => {
|
|
2961
|
-
const retVal = (output || [])
|
|
2962
|
-
.filter((e) => e != null)
|
|
2963
|
-
.map((entry) => {
|
|
2964
|
-
if (entry === null) {
|
|
2965
|
-
return null;
|
|
2966
|
-
}
|
|
2967
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2968
|
-
});
|
|
2969
|
-
return retVal;
|
|
2970
|
-
};
|
|
2971
|
-
const de_BuildNotDeleted = (output, context) => {
|
|
2972
|
-
return {
|
|
2973
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
2974
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
2975
|
-
};
|
|
2976
|
-
};
|
|
2977
|
-
const de_BuildPhase = (output, context) => {
|
|
2978
|
-
return {
|
|
2979
|
-
contexts: output.contexts != null ? de_PhaseContexts(output.contexts, context) : undefined,
|
|
2980
|
-
durationInSeconds: (0, smithy_client_1.expectLong)(output.durationInSeconds),
|
|
2981
|
-
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2982
|
-
phaseStatus: (0, smithy_client_1.expectString)(output.phaseStatus),
|
|
2983
|
-
phaseType: (0, smithy_client_1.expectString)(output.phaseType),
|
|
2984
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2985
|
-
};
|
|
2986
|
-
};
|
|
2987
|
-
const de_BuildPhases = (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_BuildPhase(entry, context);
|
|
2995
|
-
});
|
|
2996
|
-
return retVal;
|
|
2997
|
-
};
|
|
2998
|
-
const de_BuildReportArns = (output, context) => {
|
|
2999
|
-
const retVal = (output || [])
|
|
3000
|
-
.filter((e) => e != null)
|
|
3001
|
-
.map((entry) => {
|
|
3002
|
-
if (entry === null) {
|
|
3003
|
-
return null;
|
|
3004
|
-
}
|
|
3005
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3006
|
-
});
|
|
3007
|
-
return retVal;
|
|
3008
|
-
};
|
|
3009
|
-
const de_Builds = (output, context) => {
|
|
3010
|
-
const retVal = (output || [])
|
|
3011
|
-
.filter((e) => e != null)
|
|
3012
|
-
.map((entry) => {
|
|
3013
|
-
if (entry === null) {
|
|
3014
|
-
return null;
|
|
3015
|
-
}
|
|
3016
|
-
return de_Build(entry, context);
|
|
3017
|
-
});
|
|
3018
|
-
return retVal;
|
|
3019
|
-
};
|
|
3020
|
-
const de_BuildsNotDeleted = (output, context) => {
|
|
3021
|
-
const retVal = (output || [])
|
|
3022
|
-
.filter((e) => e != null)
|
|
3023
|
-
.map((entry) => {
|
|
3024
|
-
if (entry === null) {
|
|
3025
|
-
return null;
|
|
3026
|
-
}
|
|
3027
|
-
return de_BuildNotDeleted(entry, context);
|
|
3028
|
-
});
|
|
3029
|
-
return retVal;
|
|
3030
|
-
};
|
|
3031
|
-
const de_BuildStatusConfig = (output, context) => {
|
|
3032
|
-
return {
|
|
3033
|
-
context: (0, smithy_client_1.expectString)(output.context),
|
|
3034
|
-
targetUrl: (0, smithy_client_1.expectString)(output.targetUrl),
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
const de_BuildSummaries = (output, context) => {
|
|
3038
|
-
const retVal = (output || [])
|
|
3039
|
-
.filter((e) => e != null)
|
|
3040
|
-
.map((entry) => {
|
|
3041
|
-
if (entry === null) {
|
|
3042
|
-
return null;
|
|
3043
|
-
}
|
|
3044
|
-
return de_BuildSummary(entry, context);
|
|
3045
|
-
});
|
|
3046
|
-
return retVal;
|
|
3047
|
-
};
|
|
3048
|
-
const de_BuildSummary = (output, context) => {
|
|
3049
|
-
return {
|
|
3050
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3051
|
-
buildStatus: (0, smithy_client_1.expectString)(output.buildStatus),
|
|
3052
|
-
primaryArtifact: output.primaryArtifact != null ? de_ResolvedArtifact(output.primaryArtifact, context) : undefined,
|
|
3053
|
-
requestedOn: output.requestedOn != null
|
|
3054
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.requestedOn)))
|
|
3055
|
-
: undefined,
|
|
3056
|
-
secondaryArtifacts: output.secondaryArtifacts != null ? de_ResolvedSecondaryArtifacts(output.secondaryArtifacts, context) : undefined,
|
|
3057
|
-
};
|
|
3058
|
-
};
|
|
3059
|
-
const de_CloudWatchLogsConfig = (output, context) => {
|
|
3060
|
-
return {
|
|
3061
|
-
groupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
3062
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3063
|
-
streamName: (0, smithy_client_1.expectString)(output.streamName),
|
|
3064
|
-
};
|
|
3065
|
-
};
|
|
3066
|
-
const de_CodeCoverage = (output, context) => {
|
|
3067
|
-
return {
|
|
3068
|
-
branchCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.branchCoveragePercentage),
|
|
3069
|
-
branchesCovered: (0, smithy_client_1.expectInt32)(output.branchesCovered),
|
|
3070
|
-
branchesMissed: (0, smithy_client_1.expectInt32)(output.branchesMissed),
|
|
3071
|
-
expired: output.expired != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired))) : undefined,
|
|
3072
|
-
filePath: (0, smithy_client_1.expectString)(output.filePath),
|
|
3073
|
-
id: (0, smithy_client_1.expectString)(output.id),
|
|
3074
|
-
lineCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.lineCoveragePercentage),
|
|
3075
|
-
linesCovered: (0, smithy_client_1.expectInt32)(output.linesCovered),
|
|
3076
|
-
linesMissed: (0, smithy_client_1.expectInt32)(output.linesMissed),
|
|
3077
|
-
reportARN: (0, smithy_client_1.expectString)(output.reportARN),
|
|
3078
|
-
};
|
|
3079
|
-
};
|
|
3080
|
-
const de_CodeCoverageReportSummary = (output, context) => {
|
|
3081
|
-
return {
|
|
3082
|
-
branchCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.branchCoveragePercentage),
|
|
3083
|
-
branchesCovered: (0, smithy_client_1.expectInt32)(output.branchesCovered),
|
|
3084
|
-
branchesMissed: (0, smithy_client_1.expectInt32)(output.branchesMissed),
|
|
3085
|
-
lineCoveragePercentage: (0, smithy_client_1.limitedParseDouble)(output.lineCoveragePercentage),
|
|
3086
|
-
linesCovered: (0, smithy_client_1.expectInt32)(output.linesCovered),
|
|
3087
|
-
linesMissed: (0, smithy_client_1.expectInt32)(output.linesMissed),
|
|
3088
|
-
};
|
|
3089
|
-
};
|
|
3090
|
-
const de_CodeCoverages = (output, context) => {
|
|
3091
|
-
const retVal = (output || [])
|
|
3092
|
-
.filter((e) => e != null)
|
|
3093
|
-
.map((entry) => {
|
|
3094
|
-
if (entry === null) {
|
|
3095
|
-
return null;
|
|
3096
|
-
}
|
|
3097
|
-
return de_CodeCoverage(entry, context);
|
|
3098
|
-
});
|
|
3099
|
-
return retVal;
|
|
3100
|
-
};
|
|
3101
|
-
const de_ComputeTypesAllowed = (output, context) => {
|
|
3102
|
-
const retVal = (output || [])
|
|
3103
|
-
.filter((e) => e != null)
|
|
3104
|
-
.map((entry) => {
|
|
3105
|
-
if (entry === null) {
|
|
3106
|
-
return null;
|
|
3107
|
-
}
|
|
3108
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3109
|
-
});
|
|
3110
|
-
return retVal;
|
|
3111
|
-
};
|
|
3112
|
-
const de_CreateProjectOutput = (output, context) => {
|
|
3113
|
-
return {
|
|
3114
|
-
project: output.project != null ? de_Project(output.project, context) : undefined,
|
|
3115
|
-
};
|
|
3116
|
-
};
|
|
3117
|
-
const de_CreateReportGroupOutput = (output, context) => {
|
|
3118
|
-
return {
|
|
3119
|
-
reportGroup: output.reportGroup != null ? de_ReportGroup(output.reportGroup, context) : undefined,
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const de_CreateWebhookOutput = (output, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
webhook: output.webhook != null ? de_Webhook(output.webhook, context) : undefined,
|
|
3125
|
-
};
|
|
3126
|
-
};
|
|
3127
|
-
const de_DebugSession = (output, context) => {
|
|
3128
|
-
return {
|
|
3129
|
-
sessionEnabled: (0, smithy_client_1.expectBoolean)(output.sessionEnabled),
|
|
3130
|
-
sessionTarget: (0, smithy_client_1.expectString)(output.sessionTarget),
|
|
3131
|
-
};
|
|
3132
|
-
};
|
|
3133
|
-
const de_DeleteBuildBatchOutput = (output, context) => {
|
|
3134
|
-
return {
|
|
3135
|
-
buildsDeleted: output.buildsDeleted != null ? de_BuildIds(output.buildsDeleted, context) : undefined,
|
|
3136
|
-
buildsNotDeleted: output.buildsNotDeleted != null ? de_BuildsNotDeleted(output.buildsNotDeleted, context) : undefined,
|
|
3137
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
const de_DeleteProjectOutput = (output, context) => {
|
|
3141
|
-
return {};
|
|
3142
|
-
};
|
|
3143
|
-
const de_DeleteReportGroupOutput = (output, context) => {
|
|
3144
|
-
return {};
|
|
3145
|
-
};
|
|
3146
|
-
const de_DeleteReportOutput = (output, context) => {
|
|
3147
|
-
return {};
|
|
3148
|
-
};
|
|
3149
|
-
const de_DeleteResourcePolicyOutput = (output, context) => {
|
|
3150
|
-
return {};
|
|
3151
|
-
};
|
|
3152
|
-
const de_DeleteSourceCredentialsOutput = (output, context) => {
|
|
3153
|
-
return {
|
|
3154
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3155
|
-
};
|
|
3156
|
-
};
|
|
3157
|
-
const de_DeleteWebhookOutput = (output, context) => {
|
|
3158
|
-
return {};
|
|
3159
|
-
};
|
|
3160
|
-
const de_DescribeCodeCoveragesOutput = (output, context) => {
|
|
3161
|
-
return {
|
|
3162
|
-
codeCoverages: output.codeCoverages != null ? de_CodeCoverages(output.codeCoverages, context) : undefined,
|
|
3163
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3164
|
-
};
|
|
3165
|
-
};
|
|
3166
|
-
const de_DescribeTestCasesOutput = (output, context) => {
|
|
3167
|
-
return {
|
|
3168
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3169
|
-
testCases: output.testCases != null ? de_TestCases(output.testCases, context) : undefined,
|
|
3170
|
-
};
|
|
3171
|
-
};
|
|
3172
|
-
const de_EnvironmentImage = (output, context) => {
|
|
3173
|
-
return {
|
|
3174
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3175
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3176
|
-
versions: output.versions != null ? de_ImageVersions(output.versions, context) : undefined,
|
|
3177
|
-
};
|
|
3178
|
-
};
|
|
3179
|
-
const de_EnvironmentImages = (output, context) => {
|
|
3180
|
-
const retVal = (output || [])
|
|
3181
|
-
.filter((e) => e != null)
|
|
3182
|
-
.map((entry) => {
|
|
3183
|
-
if (entry === null) {
|
|
3184
|
-
return null;
|
|
3185
|
-
}
|
|
3186
|
-
return de_EnvironmentImage(entry, context);
|
|
3187
|
-
});
|
|
3188
|
-
return retVal;
|
|
3189
|
-
};
|
|
3190
|
-
const de_EnvironmentLanguage = (output, context) => {
|
|
3191
|
-
return {
|
|
3192
|
-
images: output.images != null ? de_EnvironmentImages(output.images, context) : undefined,
|
|
3193
|
-
language: (0, smithy_client_1.expectString)(output.language),
|
|
3194
|
-
};
|
|
3195
|
-
};
|
|
3196
|
-
const de_EnvironmentLanguages = (output, context) => {
|
|
3197
|
-
const retVal = (output || [])
|
|
3198
|
-
.filter((e) => e != null)
|
|
3199
|
-
.map((entry) => {
|
|
3200
|
-
if (entry === null) {
|
|
3201
|
-
return null;
|
|
3202
|
-
}
|
|
3203
|
-
return de_EnvironmentLanguage(entry, context);
|
|
3204
|
-
});
|
|
3205
|
-
return retVal;
|
|
3206
|
-
};
|
|
3207
|
-
const de_EnvironmentPlatform = (output, context) => {
|
|
3208
|
-
return {
|
|
3209
|
-
languages: output.languages != null ? de_EnvironmentLanguages(output.languages, context) : undefined,
|
|
3210
|
-
platform: (0, smithy_client_1.expectString)(output.platform),
|
|
3211
|
-
};
|
|
3212
|
-
};
|
|
3213
|
-
const de_EnvironmentPlatforms = (output, context) => {
|
|
3214
|
-
const retVal = (output || [])
|
|
3215
|
-
.filter((e) => e != null)
|
|
3216
|
-
.map((entry) => {
|
|
3217
|
-
if (entry === null) {
|
|
3218
|
-
return null;
|
|
3219
|
-
}
|
|
3220
|
-
return de_EnvironmentPlatform(entry, context);
|
|
3221
|
-
});
|
|
3222
|
-
return retVal;
|
|
3223
|
-
};
|
|
3224
|
-
const de_EnvironmentVariable = (output, context) => {
|
|
3225
|
-
return {
|
|
3226
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3227
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3228
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
const de_EnvironmentVariables = (output, context) => {
|
|
3232
|
-
const retVal = (output || [])
|
|
3233
|
-
.filter((e) => e != null)
|
|
3234
|
-
.map((entry) => {
|
|
3235
|
-
if (entry === null) {
|
|
3236
|
-
return null;
|
|
3237
|
-
}
|
|
3238
|
-
return de_EnvironmentVariable(entry, context);
|
|
3239
|
-
});
|
|
3240
|
-
return retVal;
|
|
3241
|
-
};
|
|
3242
|
-
const de_ExportedEnvironmentVariable = (output, context) => {
|
|
3243
|
-
return {
|
|
3244
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3245
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
3246
|
-
};
|
|
3247
|
-
};
|
|
3248
|
-
const de_ExportedEnvironmentVariables = (output, context) => {
|
|
3249
|
-
const retVal = (output || [])
|
|
3250
|
-
.filter((e) => e != null)
|
|
3251
|
-
.map((entry) => {
|
|
3252
|
-
if (entry === null) {
|
|
3253
|
-
return null;
|
|
3254
|
-
}
|
|
3255
|
-
return de_ExportedEnvironmentVariable(entry, context);
|
|
3256
|
-
});
|
|
3257
|
-
return retVal;
|
|
3258
|
-
};
|
|
3259
|
-
const de_FilterGroup = (output, context) => {
|
|
3260
|
-
const retVal = (output || [])
|
|
3261
|
-
.filter((e) => e != null)
|
|
3262
|
-
.map((entry) => {
|
|
3263
|
-
if (entry === null) {
|
|
3264
|
-
return null;
|
|
3265
|
-
}
|
|
3266
|
-
return de_WebhookFilter(entry, context);
|
|
3267
|
-
});
|
|
3268
|
-
return retVal;
|
|
3269
|
-
};
|
|
3270
|
-
const de_FilterGroups = (output, context) => {
|
|
3271
|
-
const retVal = (output || [])
|
|
3272
|
-
.filter((e) => e != null)
|
|
3273
|
-
.map((entry) => {
|
|
3274
|
-
if (entry === null) {
|
|
3275
|
-
return null;
|
|
3276
|
-
}
|
|
3277
|
-
return de_FilterGroup(entry, context);
|
|
3278
|
-
});
|
|
3279
|
-
return retVal;
|
|
3280
|
-
};
|
|
3281
|
-
const de_GetReportGroupTrendOutput = (output, context) => {
|
|
3282
|
-
return {
|
|
3283
|
-
rawData: output.rawData != null ? de_ReportGroupTrendRawDataList(output.rawData, context) : undefined,
|
|
3284
|
-
stats: output.stats != null ? de_ReportGroupTrendStats(output.stats, context) : undefined,
|
|
3285
|
-
};
|
|
3286
|
-
};
|
|
3287
|
-
const de_GetResourcePolicyOutput = (output, context) => {
|
|
3288
|
-
return {
|
|
3289
|
-
policy: (0, smithy_client_1.expectString)(output.policy),
|
|
3290
|
-
};
|
|
3291
|
-
};
|
|
3292
|
-
const de_GitSubmodulesConfig = (output, context) => {
|
|
3293
|
-
return {
|
|
3294
|
-
fetchSubmodules: (0, smithy_client_1.expectBoolean)(output.fetchSubmodules),
|
|
3295
|
-
};
|
|
3296
|
-
};
|
|
3297
|
-
const de_Identifiers = (output, context) => {
|
|
3298
|
-
const retVal = (output || [])
|
|
3299
|
-
.filter((e) => e != null)
|
|
3300
|
-
.map((entry) => {
|
|
3301
|
-
if (entry === null) {
|
|
3302
|
-
return null;
|
|
3303
|
-
}
|
|
3304
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3305
|
-
});
|
|
3306
|
-
return retVal;
|
|
3307
|
-
};
|
|
3308
|
-
const de_ImageVersions = (output, context) => {
|
|
3309
|
-
const retVal = (output || [])
|
|
3310
|
-
.filter((e) => e != null)
|
|
3311
|
-
.map((entry) => {
|
|
3312
|
-
if (entry === null) {
|
|
3313
|
-
return null;
|
|
3314
|
-
}
|
|
3315
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3316
|
-
});
|
|
3317
|
-
return retVal;
|
|
3318
|
-
};
|
|
3319
|
-
const de_ImportSourceCredentialsOutput = (output, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3322
|
-
};
|
|
3323
|
-
};
|
|
3324
|
-
const de_InvalidateProjectCacheOutput = (output, context) => {
|
|
3325
|
-
return {};
|
|
3326
|
-
};
|
|
3327
|
-
const de_InvalidInputException = (output, context) => {
|
|
3328
|
-
return {
|
|
3329
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3330
|
-
};
|
|
3331
|
-
};
|
|
3332
|
-
const de_ListBuildBatchesForProjectOutput = (output, context) => {
|
|
3333
|
-
return {
|
|
3334
|
-
ids: output.ids != null ? de_BuildBatchIds(output.ids, context) : undefined,
|
|
3335
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3336
|
-
};
|
|
3337
|
-
};
|
|
3338
|
-
const de_ListBuildBatchesOutput = (output, context) => {
|
|
3339
|
-
return {
|
|
3340
|
-
ids: output.ids != null ? de_BuildBatchIds(output.ids, context) : undefined,
|
|
3341
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3342
|
-
};
|
|
3343
|
-
};
|
|
3344
|
-
const de_ListBuildsForProjectOutput = (output, context) => {
|
|
3345
|
-
return {
|
|
3346
|
-
ids: output.ids != null ? de_BuildIds(output.ids, context) : undefined,
|
|
3347
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3348
|
-
};
|
|
3349
|
-
};
|
|
3350
|
-
const de_ListBuildsOutput = (output, context) => {
|
|
3351
|
-
return {
|
|
3352
|
-
ids: output.ids != null ? de_BuildIds(output.ids, context) : undefined,
|
|
3353
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3354
|
-
};
|
|
3355
|
-
};
|
|
3356
|
-
const de_ListCuratedEnvironmentImagesOutput = (output, context) => {
|
|
3357
|
-
return {
|
|
3358
|
-
platforms: output.platforms != null ? de_EnvironmentPlatforms(output.platforms, context) : undefined,
|
|
3359
|
-
};
|
|
3360
|
-
};
|
|
3361
|
-
const de_ListProjectsOutput = (output, context) => {
|
|
3362
|
-
return {
|
|
3363
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3364
|
-
projects: output.projects != null ? de_ProjectNames(output.projects, context) : undefined,
|
|
3365
|
-
};
|
|
3366
|
-
};
|
|
3367
|
-
const de_ListReportGroupsOutput = (output, context) => {
|
|
3368
|
-
return {
|
|
3369
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3370
|
-
reportGroups: output.reportGroups != null ? de_ReportGroupArns(output.reportGroups, context) : undefined,
|
|
3371
|
-
};
|
|
3372
|
-
};
|
|
3373
|
-
const de_ListReportsForReportGroupOutput = (output, context) => {
|
|
3374
|
-
return {
|
|
3375
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3376
|
-
reports: output.reports != null ? de_ReportArns(output.reports, context) : undefined,
|
|
3377
|
-
};
|
|
3378
|
-
};
|
|
3379
|
-
const de_ListReportsOutput = (output, context) => {
|
|
3380
|
-
return {
|
|
3381
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3382
|
-
reports: output.reports != null ? de_ReportArns(output.reports, context) : undefined,
|
|
3383
|
-
};
|
|
3384
|
-
};
|
|
3385
|
-
const de_ListSharedProjectsOutput = (output, context) => {
|
|
3386
|
-
return {
|
|
3387
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3388
|
-
projects: output.projects != null ? de_ProjectArns(output.projects, context) : undefined,
|
|
3389
|
-
};
|
|
3390
|
-
};
|
|
3391
|
-
const de_ListSharedReportGroupsOutput = (output, context) => {
|
|
3392
|
-
return {
|
|
3393
|
-
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3394
|
-
reportGroups: output.reportGroups != null ? de_ReportGroupArns(output.reportGroups, context) : undefined,
|
|
3395
|
-
};
|
|
3396
|
-
};
|
|
3397
|
-
const de_ListSourceCredentialsOutput = (output, context) => {
|
|
3398
|
-
return {
|
|
3399
|
-
sourceCredentialsInfos: output.sourceCredentialsInfos != null
|
|
3400
|
-
? de_SourceCredentialsInfos(output.sourceCredentialsInfos, context)
|
|
3401
|
-
: undefined,
|
|
3402
|
-
};
|
|
1947
|
+
const se_DescribeCodeCoveragesInput = (input, context) => {
|
|
1948
|
+
return (0, smithy_client_1.take)(input, {
|
|
1949
|
+
maxLineCoveragePercentage: smithy_client_1.serializeFloat,
|
|
1950
|
+
maxResults: [],
|
|
1951
|
+
minLineCoveragePercentage: smithy_client_1.serializeFloat,
|
|
1952
|
+
nextToken: [],
|
|
1953
|
+
reportArn: [],
|
|
1954
|
+
sortBy: [],
|
|
1955
|
+
sortOrder: [],
|
|
1956
|
+
});
|
|
3403
1957
|
};
|
|
3404
|
-
const
|
|
3405
|
-
return {
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
};
|
|
1958
|
+
const de_BatchGetBuildBatchesOutput = (output, context) => {
|
|
1959
|
+
return (0, smithy_client_1.take)(output, {
|
|
1960
|
+
buildBatches: (_) => de_BuildBatches(_, context),
|
|
1961
|
+
buildBatchesNotFound: smithy_client_1._json,
|
|
1962
|
+
});
|
|
3409
1963
|
};
|
|
3410
|
-
const
|
|
3411
|
-
return {
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
groupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
3416
|
-
s3DeepLink: (0, smithy_client_1.expectString)(output.s3DeepLink),
|
|
3417
|
-
s3Logs: output.s3Logs != null ? de_S3LogsConfig(output.s3Logs, context) : undefined,
|
|
3418
|
-
s3LogsArn: (0, smithy_client_1.expectString)(output.s3LogsArn),
|
|
3419
|
-
streamName: (0, smithy_client_1.expectString)(output.streamName),
|
|
3420
|
-
};
|
|
1964
|
+
const de_BatchGetBuildsOutput = (output, context) => {
|
|
1965
|
+
return (0, smithy_client_1.take)(output, {
|
|
1966
|
+
builds: (_) => de_Builds(_, context),
|
|
1967
|
+
buildsNotFound: smithy_client_1._json,
|
|
1968
|
+
});
|
|
3421
1969
|
};
|
|
3422
|
-
const
|
|
3423
|
-
return {
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
};
|
|
1970
|
+
const de_BatchGetProjectsOutput = (output, context) => {
|
|
1971
|
+
return (0, smithy_client_1.take)(output, {
|
|
1972
|
+
projects: (_) => de_Projects(_, context),
|
|
1973
|
+
projectsNotFound: smithy_client_1._json,
|
|
1974
|
+
});
|
|
3427
1975
|
};
|
|
3428
|
-
const
|
|
3429
|
-
return {
|
|
3430
|
-
|
|
3431
|
-
|
|
1976
|
+
const de_BatchGetReportGroupsOutput = (output, context) => {
|
|
1977
|
+
return (0, smithy_client_1.take)(output, {
|
|
1978
|
+
reportGroups: (_) => de_ReportGroups(_, context),
|
|
1979
|
+
reportGroupsNotFound: smithy_client_1._json,
|
|
1980
|
+
});
|
|
3432
1981
|
};
|
|
3433
|
-
const
|
|
3434
|
-
return {
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
};
|
|
1982
|
+
const de_BatchGetReportsOutput = (output, context) => {
|
|
1983
|
+
return (0, smithy_client_1.take)(output, {
|
|
1984
|
+
reports: (_) => de_Reports(_, context),
|
|
1985
|
+
reportsNotFound: smithy_client_1._json,
|
|
1986
|
+
});
|
|
3438
1987
|
};
|
|
3439
|
-
const
|
|
3440
|
-
|
|
3441
|
-
.
|
|
3442
|
-
.
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
1988
|
+
const de_Build = (output, context) => {
|
|
1989
|
+
return (0, smithy_client_1.take)(output, {
|
|
1990
|
+
arn: smithy_client_1.expectString,
|
|
1991
|
+
artifacts: smithy_client_1._json,
|
|
1992
|
+
buildBatchArn: smithy_client_1.expectString,
|
|
1993
|
+
buildComplete: smithy_client_1.expectBoolean,
|
|
1994
|
+
buildNumber: smithy_client_1.expectLong,
|
|
1995
|
+
buildStatus: smithy_client_1.expectString,
|
|
1996
|
+
cache: smithy_client_1._json,
|
|
1997
|
+
currentPhase: smithy_client_1.expectString,
|
|
1998
|
+
debugSession: smithy_client_1._json,
|
|
1999
|
+
encryptionKey: smithy_client_1.expectString,
|
|
2000
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2001
|
+
environment: smithy_client_1._json,
|
|
2002
|
+
exportedEnvironmentVariables: smithy_client_1._json,
|
|
2003
|
+
fileSystemLocations: smithy_client_1._json,
|
|
2004
|
+
id: smithy_client_1.expectString,
|
|
2005
|
+
initiator: smithy_client_1.expectString,
|
|
2006
|
+
logs: smithy_client_1._json,
|
|
2007
|
+
networkInterface: smithy_client_1._json,
|
|
2008
|
+
phases: (_) => de_BuildPhases(_, context),
|
|
2009
|
+
projectName: smithy_client_1.expectString,
|
|
2010
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32,
|
|
2011
|
+
reportArns: smithy_client_1._json,
|
|
2012
|
+
resolvedSourceVersion: smithy_client_1.expectString,
|
|
2013
|
+
secondaryArtifacts: smithy_client_1._json,
|
|
2014
|
+
secondarySourceVersions: smithy_client_1._json,
|
|
2015
|
+
secondarySources: smithy_client_1._json,
|
|
2016
|
+
serviceRole: smithy_client_1.expectString,
|
|
2017
|
+
source: smithy_client_1._json,
|
|
2018
|
+
sourceVersion: smithy_client_1.expectString,
|
|
2019
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2020
|
+
timeoutInMinutes: smithy_client_1.expectInt32,
|
|
2021
|
+
vpcConfig: smithy_client_1._json,
|
|
3447
2022
|
});
|
|
3448
|
-
return retVal;
|
|
3449
2023
|
};
|
|
3450
|
-
const
|
|
3451
|
-
return {
|
|
3452
|
-
arn:
|
|
3453
|
-
artifacts:
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
queuedTimeoutInMinutes:
|
|
3473
|
-
|
|
3474
|
-
secondaryArtifacts:
|
|
3475
|
-
secondarySourceVersions:
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3483
|
-
timeoutInMinutes: (0, smithy_client_1.expectInt32)(output.timeoutInMinutes),
|
|
3484
|
-
vpcConfig: output.vpcConfig != null ? de_VpcConfig(output.vpcConfig, context) : undefined,
|
|
3485
|
-
webhook: output.webhook != null ? de_Webhook(output.webhook, context) : undefined,
|
|
3486
|
-
};
|
|
3487
|
-
};
|
|
3488
|
-
const de_ProjectArns = (output, context) => {
|
|
3489
|
-
const retVal = (output || [])
|
|
3490
|
-
.filter((e) => e != null)
|
|
3491
|
-
.map((entry) => {
|
|
3492
|
-
if (entry === null) {
|
|
3493
|
-
return null;
|
|
3494
|
-
}
|
|
3495
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2024
|
+
const de_BuildBatch = (output, context) => {
|
|
2025
|
+
return (0, smithy_client_1.take)(output, {
|
|
2026
|
+
arn: smithy_client_1.expectString,
|
|
2027
|
+
artifacts: smithy_client_1._json,
|
|
2028
|
+
buildBatchConfig: smithy_client_1._json,
|
|
2029
|
+
buildBatchNumber: smithy_client_1.expectLong,
|
|
2030
|
+
buildBatchStatus: smithy_client_1.expectString,
|
|
2031
|
+
buildGroups: (_) => de_BuildGroups(_, context),
|
|
2032
|
+
buildTimeoutInMinutes: smithy_client_1.expectInt32,
|
|
2033
|
+
cache: smithy_client_1._json,
|
|
2034
|
+
complete: smithy_client_1.expectBoolean,
|
|
2035
|
+
currentPhase: smithy_client_1.expectString,
|
|
2036
|
+
debugSessionEnabled: smithy_client_1.expectBoolean,
|
|
2037
|
+
encryptionKey: smithy_client_1.expectString,
|
|
2038
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2039
|
+
environment: smithy_client_1._json,
|
|
2040
|
+
fileSystemLocations: smithy_client_1._json,
|
|
2041
|
+
id: smithy_client_1.expectString,
|
|
2042
|
+
initiator: smithy_client_1.expectString,
|
|
2043
|
+
logConfig: smithy_client_1._json,
|
|
2044
|
+
phases: (_) => de_BuildBatchPhases(_, context),
|
|
2045
|
+
projectName: smithy_client_1.expectString,
|
|
2046
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32,
|
|
2047
|
+
resolvedSourceVersion: smithy_client_1.expectString,
|
|
2048
|
+
secondaryArtifacts: smithy_client_1._json,
|
|
2049
|
+
secondarySourceVersions: smithy_client_1._json,
|
|
2050
|
+
secondarySources: smithy_client_1._json,
|
|
2051
|
+
serviceRole: smithy_client_1.expectString,
|
|
2052
|
+
source: smithy_client_1._json,
|
|
2053
|
+
sourceVersion: smithy_client_1.expectString,
|
|
2054
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2055
|
+
vpcConfig: smithy_client_1._json,
|
|
3496
2056
|
});
|
|
3497
|
-
return retVal;
|
|
3498
2057
|
};
|
|
3499
|
-
const
|
|
3500
|
-
return {
|
|
3501
|
-
artifactIdentifier: (0, smithy_client_1.expectString)(output.artifactIdentifier),
|
|
3502
|
-
bucketOwnerAccess: (0, smithy_client_1.expectString)(output.bucketOwnerAccess),
|
|
3503
|
-
encryptionDisabled: (0, smithy_client_1.expectBoolean)(output.encryptionDisabled),
|
|
3504
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3505
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3506
|
-
namespaceType: (0, smithy_client_1.expectString)(output.namespaceType),
|
|
3507
|
-
overrideArtifactName: (0, smithy_client_1.expectBoolean)(output.overrideArtifactName),
|
|
3508
|
-
packaging: (0, smithy_client_1.expectString)(output.packaging),
|
|
3509
|
-
path: (0, smithy_client_1.expectString)(output.path),
|
|
3510
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
const de_ProjectArtifactsList = (output, context) => {
|
|
2058
|
+
const de_BuildBatches = (output, context) => {
|
|
3514
2059
|
const retVal = (output || [])
|
|
3515
2060
|
.filter((e) => e != null)
|
|
3516
2061
|
.map((entry) => {
|
|
3517
|
-
|
|
3518
|
-
return null;
|
|
3519
|
-
}
|
|
3520
|
-
return de_ProjectArtifacts(entry, context);
|
|
2062
|
+
return de_BuildBatch(entry, context);
|
|
3521
2063
|
});
|
|
3522
2064
|
return retVal;
|
|
3523
2065
|
};
|
|
3524
|
-
const
|
|
3525
|
-
return {
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
combineArtifacts: (0, smithy_client_1.expectBoolean)(output.combineArtifacts),
|
|
3534
|
-
restrictions: output.restrictions != null ? de_BatchRestrictions(output.restrictions, context) : undefined,
|
|
3535
|
-
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
3536
|
-
timeoutInMins: (0, smithy_client_1.expectInt32)(output.timeoutInMins),
|
|
3537
|
-
};
|
|
3538
|
-
};
|
|
3539
|
-
const de_ProjectCache = (output, context) => {
|
|
3540
|
-
return {
|
|
3541
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3542
|
-
modes: output.modes != null ? de_ProjectCacheModes(output.modes, context) : undefined,
|
|
3543
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3544
|
-
};
|
|
2066
|
+
const de_BuildBatchPhase = (output, context) => {
|
|
2067
|
+
return (0, smithy_client_1.take)(output, {
|
|
2068
|
+
contexts: smithy_client_1._json,
|
|
2069
|
+
durationInSeconds: smithy_client_1.expectLong,
|
|
2070
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2071
|
+
phaseStatus: smithy_client_1.expectString,
|
|
2072
|
+
phaseType: smithy_client_1.expectString,
|
|
2073
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2074
|
+
});
|
|
3545
2075
|
};
|
|
3546
|
-
const
|
|
2076
|
+
const de_BuildBatchPhases = (output, context) => {
|
|
3547
2077
|
const retVal = (output || [])
|
|
3548
2078
|
.filter((e) => e != null)
|
|
3549
2079
|
.map((entry) => {
|
|
3550
|
-
|
|
3551
|
-
return null;
|
|
3552
|
-
}
|
|
3553
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2080
|
+
return de_BuildBatchPhase(entry, context);
|
|
3554
2081
|
});
|
|
3555
2082
|
return retVal;
|
|
3556
2083
|
};
|
|
3557
|
-
const
|
|
3558
|
-
return {
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
registryCredential: output.registryCredential != null ? de_RegistryCredential(output.registryCredential, context) : undefined,
|
|
3566
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3567
|
-
};
|
|
3568
|
-
};
|
|
3569
|
-
const de_ProjectFileSystemLocation = (output, context) => {
|
|
3570
|
-
return {
|
|
3571
|
-
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
3572
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3573
|
-
mountOptions: (0, smithy_client_1.expectString)(output.mountOptions),
|
|
3574
|
-
mountPoint: (0, smithy_client_1.expectString)(output.mountPoint),
|
|
3575
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3576
|
-
};
|
|
2084
|
+
const de_BuildGroup = (output, context) => {
|
|
2085
|
+
return (0, smithy_client_1.take)(output, {
|
|
2086
|
+
currentBuildSummary: (_) => de_BuildSummary(_, context),
|
|
2087
|
+
dependsOn: smithy_client_1._json,
|
|
2088
|
+
identifier: smithy_client_1.expectString,
|
|
2089
|
+
ignoreFailure: smithy_client_1.expectBoolean,
|
|
2090
|
+
priorBuildSummaryList: (_) => de_BuildSummaries(_, context),
|
|
2091
|
+
});
|
|
3577
2092
|
};
|
|
3578
|
-
const
|
|
2093
|
+
const de_BuildGroups = (output, context) => {
|
|
3579
2094
|
const retVal = (output || [])
|
|
3580
2095
|
.filter((e) => e != null)
|
|
3581
2096
|
.map((entry) => {
|
|
3582
|
-
|
|
3583
|
-
return null;
|
|
3584
|
-
}
|
|
3585
|
-
return de_ProjectFileSystemLocation(entry, context);
|
|
2097
|
+
return de_BuildGroup(entry, context);
|
|
3586
2098
|
});
|
|
3587
2099
|
return retVal;
|
|
3588
2100
|
};
|
|
3589
|
-
const
|
|
3590
|
-
|
|
3591
|
-
.
|
|
3592
|
-
.
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
2101
|
+
const de_BuildPhase = (output, context) => {
|
|
2102
|
+
return (0, smithy_client_1.take)(output, {
|
|
2103
|
+
contexts: smithy_client_1._json,
|
|
2104
|
+
durationInSeconds: smithy_client_1.expectLong,
|
|
2105
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2106
|
+
phaseStatus: smithy_client_1.expectString,
|
|
2107
|
+
phaseType: smithy_client_1.expectString,
|
|
2108
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3597
2109
|
});
|
|
3598
|
-
return retVal;
|
|
3599
2110
|
};
|
|
3600
|
-
const
|
|
2111
|
+
const de_BuildPhases = (output, context) => {
|
|
3601
2112
|
const retVal = (output || [])
|
|
3602
2113
|
.filter((e) => e != null)
|
|
3603
2114
|
.map((entry) => {
|
|
3604
|
-
|
|
3605
|
-
return null;
|
|
3606
|
-
}
|
|
3607
|
-
return de_Project(entry, context);
|
|
2115
|
+
return de_BuildPhase(entry, context);
|
|
3608
2116
|
});
|
|
3609
2117
|
return retVal;
|
|
3610
2118
|
};
|
|
3611
|
-
const
|
|
2119
|
+
const de_Builds = (output, context) => {
|
|
3612
2120
|
const retVal = (output || [])
|
|
3613
2121
|
.filter((e) => e != null)
|
|
3614
2122
|
.map((entry) => {
|
|
3615
|
-
|
|
3616
|
-
return null;
|
|
3617
|
-
}
|
|
3618
|
-
return de_ProjectSourceVersion(entry, context);
|
|
2123
|
+
return de_Build(entry, context);
|
|
3619
2124
|
});
|
|
3620
2125
|
return retVal;
|
|
3621
2126
|
};
|
|
3622
|
-
const
|
|
3623
|
-
return {
|
|
3624
|
-
auth: output.auth != null ? de_SourceAuth(output.auth, context) : undefined,
|
|
3625
|
-
buildStatusConfig: output.buildStatusConfig != null ? de_BuildStatusConfig(output.buildStatusConfig, context) : undefined,
|
|
3626
|
-
buildspec: (0, smithy_client_1.expectString)(output.buildspec),
|
|
3627
|
-
gitCloneDepth: (0, smithy_client_1.expectInt32)(output.gitCloneDepth),
|
|
3628
|
-
gitSubmodulesConfig: output.gitSubmodulesConfig != null ? de_GitSubmodulesConfig(output.gitSubmodulesConfig, context) : undefined,
|
|
3629
|
-
insecureSsl: (0, smithy_client_1.expectBoolean)(output.insecureSsl),
|
|
3630
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3631
|
-
reportBuildStatus: (0, smithy_client_1.expectBoolean)(output.reportBuildStatus),
|
|
3632
|
-
sourceIdentifier: (0, smithy_client_1.expectString)(output.sourceIdentifier),
|
|
3633
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3634
|
-
};
|
|
3635
|
-
};
|
|
3636
|
-
const de_ProjectSources = (output, context) => {
|
|
2127
|
+
const de_BuildSummaries = (output, context) => {
|
|
3637
2128
|
const retVal = (output || [])
|
|
3638
2129
|
.filter((e) => e != null)
|
|
3639
2130
|
.map((entry) => {
|
|
3640
|
-
|
|
3641
|
-
return null;
|
|
3642
|
-
}
|
|
3643
|
-
return de_ProjectSource(entry, context);
|
|
2131
|
+
return de_BuildSummary(entry, context);
|
|
3644
2132
|
});
|
|
3645
2133
|
return retVal;
|
|
3646
2134
|
};
|
|
3647
|
-
const
|
|
3648
|
-
return {
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
2135
|
+
const de_BuildSummary = (output, context) => {
|
|
2136
|
+
return (0, smithy_client_1.take)(output, {
|
|
2137
|
+
arn: smithy_client_1.expectString,
|
|
2138
|
+
buildStatus: smithy_client_1.expectString,
|
|
2139
|
+
primaryArtifact: smithy_client_1._json,
|
|
2140
|
+
requestedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2141
|
+
secondaryArtifacts: smithy_client_1._json,
|
|
2142
|
+
});
|
|
3652
2143
|
};
|
|
3653
|
-
const
|
|
3654
|
-
return {
|
|
3655
|
-
|
|
3656
|
-
|
|
2144
|
+
const de_CodeCoverage = (output, context) => {
|
|
2145
|
+
return (0, smithy_client_1.take)(output, {
|
|
2146
|
+
branchCoveragePercentage: smithy_client_1.limitedParseDouble,
|
|
2147
|
+
branchesCovered: smithy_client_1.expectInt32,
|
|
2148
|
+
branchesMissed: smithy_client_1.expectInt32,
|
|
2149
|
+
expired: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2150
|
+
filePath: smithy_client_1.expectString,
|
|
2151
|
+
id: smithy_client_1.expectString,
|
|
2152
|
+
lineCoveragePercentage: smithy_client_1.limitedParseDouble,
|
|
2153
|
+
linesCovered: smithy_client_1.expectInt32,
|
|
2154
|
+
linesMissed: smithy_client_1.expectInt32,
|
|
2155
|
+
reportARN: smithy_client_1.expectString,
|
|
2156
|
+
});
|
|
3657
2157
|
};
|
|
3658
|
-
const
|
|
3659
|
-
return {
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
2158
|
+
const de_CodeCoverageReportSummary = (output, context) => {
|
|
2159
|
+
return (0, smithy_client_1.take)(output, {
|
|
2160
|
+
branchCoveragePercentage: smithy_client_1.limitedParseDouble,
|
|
2161
|
+
branchesCovered: smithy_client_1.expectInt32,
|
|
2162
|
+
branchesMissed: smithy_client_1.expectInt32,
|
|
2163
|
+
lineCoveragePercentage: smithy_client_1.limitedParseDouble,
|
|
2164
|
+
linesCovered: smithy_client_1.expectInt32,
|
|
2165
|
+
linesMissed: smithy_client_1.expectInt32,
|
|
2166
|
+
});
|
|
3663
2167
|
};
|
|
3664
|
-
const
|
|
3665
|
-
return {
|
|
3666
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3667
|
-
codeCoverageSummary: output.codeCoverageSummary != null
|
|
3668
|
-
? de_CodeCoverageReportSummary(output.codeCoverageSummary, context)
|
|
3669
|
-
: undefined,
|
|
3670
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3671
|
-
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
3672
|
-
expired: output.expired != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expired))) : undefined,
|
|
3673
|
-
exportConfig: output.exportConfig != null ? de_ReportExportConfig(output.exportConfig, context) : undefined,
|
|
3674
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3675
|
-
reportGroupArn: (0, smithy_client_1.expectString)(output.reportGroupArn),
|
|
3676
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3677
|
-
testSummary: output.testSummary != null ? de_TestReportSummary(output.testSummary, context) : undefined,
|
|
3678
|
-
truncated: (0, smithy_client_1.expectBoolean)(output.truncated),
|
|
3679
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3680
|
-
};
|
|
3681
|
-
};
|
|
3682
|
-
const de_ReportArns = (output, context) => {
|
|
2168
|
+
const de_CodeCoverages = (output, context) => {
|
|
3683
2169
|
const retVal = (output || [])
|
|
3684
2170
|
.filter((e) => e != null)
|
|
3685
2171
|
.map((entry) => {
|
|
3686
|
-
|
|
3687
|
-
return null;
|
|
3688
|
-
}
|
|
3689
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2172
|
+
return de_CodeCoverage(entry, context);
|
|
3690
2173
|
});
|
|
3691
2174
|
return retVal;
|
|
3692
2175
|
};
|
|
3693
|
-
const
|
|
3694
|
-
return {
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
};
|
|
2176
|
+
const de_CreateProjectOutput = (output, context) => {
|
|
2177
|
+
return (0, smithy_client_1.take)(output, {
|
|
2178
|
+
project: (_) => de_Project(_, context),
|
|
2179
|
+
});
|
|
3698
2180
|
};
|
|
3699
|
-
const
|
|
3700
|
-
return {
|
|
3701
|
-
|
|
3702
|
-
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
3703
|
-
exportConfig: output.exportConfig != null ? de_ReportExportConfig(output.exportConfig, context) : undefined,
|
|
3704
|
-
lastModified: output.lastModified != null
|
|
3705
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModified)))
|
|
3706
|
-
: undefined,
|
|
3707
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3708
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3709
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3710
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3711
|
-
};
|
|
3712
|
-
};
|
|
3713
|
-
const de_ReportGroupArns = (output, context) => {
|
|
3714
|
-
const retVal = (output || [])
|
|
3715
|
-
.filter((e) => e != null)
|
|
3716
|
-
.map((entry) => {
|
|
3717
|
-
if (entry === null) {
|
|
3718
|
-
return null;
|
|
3719
|
-
}
|
|
3720
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2181
|
+
const de_CreateReportGroupOutput = (output, context) => {
|
|
2182
|
+
return (0, smithy_client_1.take)(output, {
|
|
2183
|
+
reportGroup: (_) => de_ReportGroup(_, context),
|
|
3721
2184
|
});
|
|
3722
|
-
return retVal;
|
|
3723
2185
|
};
|
|
3724
|
-
const
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
.map((entry) => {
|
|
3728
|
-
if (entry === null) {
|
|
3729
|
-
return null;
|
|
3730
|
-
}
|
|
3731
|
-
return de_ReportGroup(entry, context);
|
|
2186
|
+
const de_CreateWebhookOutput = (output, context) => {
|
|
2187
|
+
return (0, smithy_client_1.take)(output, {
|
|
2188
|
+
webhook: (_) => de_Webhook(_, context),
|
|
3732
2189
|
});
|
|
3733
|
-
return retVal;
|
|
3734
2190
|
};
|
|
3735
|
-
const
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
.
|
|
3739
|
-
if (entry === null) {
|
|
3740
|
-
return null;
|
|
3741
|
-
}
|
|
3742
|
-
return de_ReportWithRawData(entry, context);
|
|
2191
|
+
const de_DescribeCodeCoveragesOutput = (output, context) => {
|
|
2192
|
+
return (0, smithy_client_1.take)(output, {
|
|
2193
|
+
codeCoverages: (_) => de_CodeCoverages(_, context),
|
|
2194
|
+
nextToken: smithy_client_1.expectString,
|
|
3743
2195
|
});
|
|
3744
|
-
return retVal;
|
|
3745
2196
|
};
|
|
3746
|
-
const
|
|
3747
|
-
return {
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
};
|
|
2197
|
+
const de_DescribeTestCasesOutput = (output, context) => {
|
|
2198
|
+
return (0, smithy_client_1.take)(output, {
|
|
2199
|
+
nextToken: smithy_client_1.expectString,
|
|
2200
|
+
testCases: (_) => de_TestCases(_, context),
|
|
2201
|
+
});
|
|
3752
2202
|
};
|
|
3753
|
-
const
|
|
2203
|
+
const de_Project = (output, context) => {
|
|
2204
|
+
return (0, smithy_client_1.take)(output, {
|
|
2205
|
+
arn: smithy_client_1.expectString,
|
|
2206
|
+
artifacts: smithy_client_1._json,
|
|
2207
|
+
badge: smithy_client_1._json,
|
|
2208
|
+
buildBatchConfig: smithy_client_1._json,
|
|
2209
|
+
cache: smithy_client_1._json,
|
|
2210
|
+
concurrentBuildLimit: smithy_client_1.expectInt32,
|
|
2211
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2212
|
+
description: smithy_client_1.expectString,
|
|
2213
|
+
encryptionKey: smithy_client_1.expectString,
|
|
2214
|
+
environment: smithy_client_1._json,
|
|
2215
|
+
fileSystemLocations: smithy_client_1._json,
|
|
2216
|
+
lastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2217
|
+
logsConfig: smithy_client_1._json,
|
|
2218
|
+
name: smithy_client_1.expectString,
|
|
2219
|
+
projectVisibility: smithy_client_1.expectString,
|
|
2220
|
+
publicProjectAlias: smithy_client_1.expectString,
|
|
2221
|
+
queuedTimeoutInMinutes: smithy_client_1.expectInt32,
|
|
2222
|
+
resourceAccessRole: smithy_client_1.expectString,
|
|
2223
|
+
secondaryArtifacts: smithy_client_1._json,
|
|
2224
|
+
secondarySourceVersions: smithy_client_1._json,
|
|
2225
|
+
secondarySources: smithy_client_1._json,
|
|
2226
|
+
serviceRole: smithy_client_1.expectString,
|
|
2227
|
+
source: smithy_client_1._json,
|
|
2228
|
+
sourceVersion: smithy_client_1.expectString,
|
|
2229
|
+
tags: smithy_client_1._json,
|
|
2230
|
+
timeoutInMinutes: smithy_client_1.expectInt32,
|
|
2231
|
+
vpcConfig: smithy_client_1._json,
|
|
2232
|
+
webhook: (_) => de_Webhook(_, context),
|
|
2233
|
+
});
|
|
2234
|
+
};
|
|
2235
|
+
const de_Projects = (output, context) => {
|
|
3754
2236
|
const retVal = (output || [])
|
|
3755
2237
|
.filter((e) => e != null)
|
|
3756
2238
|
.map((entry) => {
|
|
3757
|
-
|
|
3758
|
-
return null;
|
|
3759
|
-
}
|
|
3760
|
-
return de_Report(entry, context);
|
|
2239
|
+
return de_Project(entry, context);
|
|
3761
2240
|
});
|
|
3762
2241
|
return retVal;
|
|
3763
2242
|
};
|
|
3764
|
-
const
|
|
3765
|
-
return
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
2243
|
+
const de_Report = (output, context) => {
|
|
2244
|
+
return (0, smithy_client_1.take)(output, {
|
|
2245
|
+
arn: smithy_client_1.expectString,
|
|
2246
|
+
codeCoverageSummary: (_) => de_CodeCoverageReportSummary(_, context),
|
|
2247
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2248
|
+
executionId: smithy_client_1.expectString,
|
|
2249
|
+
expired: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2250
|
+
exportConfig: smithy_client_1._json,
|
|
2251
|
+
name: smithy_client_1.expectString,
|
|
2252
|
+
reportGroupArn: smithy_client_1.expectString,
|
|
2253
|
+
status: smithy_client_1.expectString,
|
|
2254
|
+
testSummary: smithy_client_1._json,
|
|
2255
|
+
truncated: smithy_client_1.expectBoolean,
|
|
2256
|
+
type: smithy_client_1.expectString,
|
|
2257
|
+
});
|
|
3778
2258
|
};
|
|
3779
|
-
const
|
|
3780
|
-
return {
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
2259
|
+
const de_ReportGroup = (output, context) => {
|
|
2260
|
+
return (0, smithy_client_1.take)(output, {
|
|
2261
|
+
arn: smithy_client_1.expectString,
|
|
2262
|
+
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2263
|
+
exportConfig: smithy_client_1._json,
|
|
2264
|
+
lastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2265
|
+
name: smithy_client_1.expectString,
|
|
2266
|
+
status: smithy_client_1.expectString,
|
|
2267
|
+
tags: smithy_client_1._json,
|
|
2268
|
+
type: smithy_client_1.expectString,
|
|
2269
|
+
});
|
|
3785
2270
|
};
|
|
3786
|
-
const
|
|
2271
|
+
const de_ReportGroups = (output, context) => {
|
|
3787
2272
|
const retVal = (output || [])
|
|
3788
2273
|
.filter((e) => e != null)
|
|
3789
2274
|
.map((entry) => {
|
|
3790
|
-
|
|
3791
|
-
return null;
|
|
3792
|
-
}
|
|
3793
|
-
return de_ResolvedArtifact(entry, context);
|
|
2275
|
+
return de_ReportGroup(entry, context);
|
|
3794
2276
|
});
|
|
3795
2277
|
return retVal;
|
|
3796
2278
|
};
|
|
3797
|
-
const
|
|
3798
|
-
return {
|
|
3799
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
3803
|
-
return {
|
|
3804
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3805
|
-
};
|
|
3806
|
-
};
|
|
3807
|
-
const de_RetryBuildBatchOutput = (output, context) => {
|
|
3808
|
-
return {
|
|
3809
|
-
buildBatch: output.buildBatch != null ? de_BuildBatch(output.buildBatch, context) : undefined,
|
|
3810
|
-
};
|
|
3811
|
-
};
|
|
3812
|
-
const de_RetryBuildOutput = (output, context) => {
|
|
3813
|
-
return {
|
|
3814
|
-
build: output.build != null ? de_Build(output.build, context) : undefined,
|
|
3815
|
-
};
|
|
3816
|
-
};
|
|
3817
|
-
const de_S3LogsConfig = (output, context) => {
|
|
3818
|
-
return {
|
|
3819
|
-
bucketOwnerAccess: (0, smithy_client_1.expectString)(output.bucketOwnerAccess),
|
|
3820
|
-
encryptionDisabled: (0, smithy_client_1.expectBoolean)(output.encryptionDisabled),
|
|
3821
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3822
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3823
|
-
};
|
|
3824
|
-
};
|
|
3825
|
-
const de_S3ReportExportConfig = (output, context) => {
|
|
3826
|
-
return {
|
|
3827
|
-
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
3828
|
-
bucketOwner: (0, smithy_client_1.expectString)(output.bucketOwner),
|
|
3829
|
-
encryptionDisabled: (0, smithy_client_1.expectBoolean)(output.encryptionDisabled),
|
|
3830
|
-
encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
|
|
3831
|
-
packaging: (0, smithy_client_1.expectString)(output.packaging),
|
|
3832
|
-
path: (0, smithy_client_1.expectString)(output.path),
|
|
3833
|
-
};
|
|
3834
|
-
};
|
|
3835
|
-
const de_SecurityGroupIds = (output, context) => {
|
|
2279
|
+
const de_Reports = (output, context) => {
|
|
3836
2280
|
const retVal = (output || [])
|
|
3837
2281
|
.filter((e) => e != null)
|
|
3838
2282
|
.map((entry) => {
|
|
3839
|
-
|
|
3840
|
-
return null;
|
|
3841
|
-
}
|
|
3842
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2283
|
+
return de_Report(entry, context);
|
|
3843
2284
|
});
|
|
3844
2285
|
return retVal;
|
|
3845
2286
|
};
|
|
3846
|
-
const
|
|
3847
|
-
return {
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
};
|
|
3851
|
-
};
|
|
3852
|
-
const de_SourceCredentialsInfo = (output, context) => {
|
|
3853
|
-
return {
|
|
3854
|
-
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3855
|
-
authType: (0, smithy_client_1.expectString)(output.authType),
|
|
3856
|
-
serverType: (0, smithy_client_1.expectString)(output.serverType),
|
|
3857
|
-
};
|
|
2287
|
+
const de_RetryBuildBatchOutput = (output, context) => {
|
|
2288
|
+
return (0, smithy_client_1.take)(output, {
|
|
2289
|
+
buildBatch: (_) => de_BuildBatch(_, context),
|
|
2290
|
+
});
|
|
3858
2291
|
};
|
|
3859
|
-
const
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
.map((entry) => {
|
|
3863
|
-
if (entry === null) {
|
|
3864
|
-
return null;
|
|
3865
|
-
}
|
|
3866
|
-
return de_SourceCredentialsInfo(entry, context);
|
|
2292
|
+
const de_RetryBuildOutput = (output, context) => {
|
|
2293
|
+
return (0, smithy_client_1.take)(output, {
|
|
2294
|
+
build: (_) => de_Build(_, context),
|
|
3867
2295
|
});
|
|
3868
|
-
return retVal;
|
|
3869
2296
|
};
|
|
3870
2297
|
const de_StartBuildBatchOutput = (output, context) => {
|
|
3871
|
-
return {
|
|
3872
|
-
buildBatch:
|
|
3873
|
-
};
|
|
2298
|
+
return (0, smithy_client_1.take)(output, {
|
|
2299
|
+
buildBatch: (_) => de_BuildBatch(_, context),
|
|
2300
|
+
});
|
|
3874
2301
|
};
|
|
3875
2302
|
const de_StartBuildOutput = (output, context) => {
|
|
3876
|
-
return {
|
|
3877
|
-
build:
|
|
3878
|
-
};
|
|
2303
|
+
return (0, smithy_client_1.take)(output, {
|
|
2304
|
+
build: (_) => de_Build(_, context),
|
|
2305
|
+
});
|
|
3879
2306
|
};
|
|
3880
2307
|
const de_StopBuildBatchOutput = (output, context) => {
|
|
3881
|
-
return {
|
|
3882
|
-
buildBatch:
|
|
3883
|
-
};
|
|
3884
|
-
};
|
|
3885
|
-
const de_StopBuildOutput = (output, context) => {
|
|
3886
|
-
return {
|
|
3887
|
-
build: output.build != null ? de_Build(output.build, context) : undefined,
|
|
3888
|
-
};
|
|
3889
|
-
};
|
|
3890
|
-
const de_Subnets = (output, context) => {
|
|
3891
|
-
const retVal = (output || [])
|
|
3892
|
-
.filter((e) => e != null)
|
|
3893
|
-
.map((entry) => {
|
|
3894
|
-
if (entry === null) {
|
|
3895
|
-
return null;
|
|
3896
|
-
}
|
|
3897
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2308
|
+
return (0, smithy_client_1.take)(output, {
|
|
2309
|
+
buildBatch: (_) => de_BuildBatch(_, context),
|
|
3898
2310
|
});
|
|
3899
|
-
return retVal;
|
|
3900
|
-
};
|
|
3901
|
-
const de_Tag = (output, context) => {
|
|
3902
|
-
return {
|
|
3903
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
3904
|
-
value: (0, smithy_client_1.expectString)(output.value),
|
|
3905
|
-
};
|
|
3906
2311
|
};
|
|
3907
|
-
const
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
.map((entry) => {
|
|
3911
|
-
if (entry === null) {
|
|
3912
|
-
return null;
|
|
3913
|
-
}
|
|
3914
|
-
return de_Tag(entry, context);
|
|
2312
|
+
const de_StopBuildOutput = (output, context) => {
|
|
2313
|
+
return (0, smithy_client_1.take)(output, {
|
|
2314
|
+
build: (_) => de_Build(_, context),
|
|
3915
2315
|
});
|
|
3916
|
-
return retVal;
|
|
3917
2316
|
};
|
|
3918
2317
|
const de_TestCase = (output, context) => {
|
|
3919
|
-
return {
|
|
3920
|
-
durationInNanoSeconds:
|
|
3921
|
-
expired:
|
|
3922
|
-
message:
|
|
3923
|
-
name:
|
|
3924
|
-
prefix:
|
|
3925
|
-
reportArn:
|
|
3926
|
-
status:
|
|
3927
|
-
testRawDataPath:
|
|
3928
|
-
};
|
|
2318
|
+
return (0, smithy_client_1.take)(output, {
|
|
2319
|
+
durationInNanoSeconds: smithy_client_1.expectLong,
|
|
2320
|
+
expired: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2321
|
+
message: smithy_client_1.expectString,
|
|
2322
|
+
name: smithy_client_1.expectString,
|
|
2323
|
+
prefix: smithy_client_1.expectString,
|
|
2324
|
+
reportArn: smithy_client_1.expectString,
|
|
2325
|
+
status: smithy_client_1.expectString,
|
|
2326
|
+
testRawDataPath: smithy_client_1.expectString,
|
|
2327
|
+
});
|
|
3929
2328
|
};
|
|
3930
2329
|
const de_TestCases = (output, context) => {
|
|
3931
2330
|
const retVal = (output || [])
|
|
3932
2331
|
.filter((e) => e != null)
|
|
3933
2332
|
.map((entry) => {
|
|
3934
|
-
if (entry === null) {
|
|
3935
|
-
return null;
|
|
3936
|
-
}
|
|
3937
2333
|
return de_TestCase(entry, context);
|
|
3938
2334
|
});
|
|
3939
2335
|
return retVal;
|
|
3940
2336
|
};
|
|
3941
|
-
const de_TestReportSummary = (output, context) => {
|
|
3942
|
-
return {
|
|
3943
|
-
durationInNanoSeconds: (0, smithy_client_1.expectLong)(output.durationInNanoSeconds),
|
|
3944
|
-
statusCounts: output.statusCounts != null ? de_ReportStatusCounts(output.statusCounts, context) : undefined,
|
|
3945
|
-
total: (0, smithy_client_1.expectInt32)(output.total),
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
2337
|
const de_UpdateProjectOutput = (output, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
project:
|
|
3951
|
-
};
|
|
3952
|
-
};
|
|
3953
|
-
const de_UpdateProjectVisibilityOutput = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
projectArn: (0, smithy_client_1.expectString)(output.projectArn),
|
|
3956
|
-
projectVisibility: (0, smithy_client_1.expectString)(output.projectVisibility),
|
|
3957
|
-
publicProjectAlias: (0, smithy_client_1.expectString)(output.publicProjectAlias),
|
|
3958
|
-
};
|
|
2338
|
+
return (0, smithy_client_1.take)(output, {
|
|
2339
|
+
project: (_) => de_Project(_, context),
|
|
2340
|
+
});
|
|
3959
2341
|
};
|
|
3960
2342
|
const de_UpdateReportGroupOutput = (output, context) => {
|
|
3961
|
-
return {
|
|
3962
|
-
reportGroup:
|
|
3963
|
-
};
|
|
2343
|
+
return (0, smithy_client_1.take)(output, {
|
|
2344
|
+
reportGroup: (_) => de_ReportGroup(_, context),
|
|
2345
|
+
});
|
|
3964
2346
|
};
|
|
3965
2347
|
const de_UpdateWebhookOutput = (output, context) => {
|
|
3966
|
-
return {
|
|
3967
|
-
webhook:
|
|
3968
|
-
};
|
|
3969
|
-
};
|
|
3970
|
-
const de_VpcConfig = (output, context) => {
|
|
3971
|
-
return {
|
|
3972
|
-
securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIds(output.securityGroupIds, context) : undefined,
|
|
3973
|
-
subnets: output.subnets != null ? de_Subnets(output.subnets, context) : undefined,
|
|
3974
|
-
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
3975
|
-
};
|
|
2348
|
+
return (0, smithy_client_1.take)(output, {
|
|
2349
|
+
webhook: (_) => de_Webhook(_, context),
|
|
2350
|
+
});
|
|
3976
2351
|
};
|
|
3977
2352
|
const de_Webhook = (output, context) => {
|
|
3978
|
-
return {
|
|
3979
|
-
branchFilter:
|
|
3980
|
-
buildType:
|
|
3981
|
-
filterGroups:
|
|
3982
|
-
lastModifiedSecret:
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
url: (0, smithy_client_1.expectString)(output.url),
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
const de_WebhookFilter = (output, context) => {
|
|
3991
|
-
return {
|
|
3992
|
-
excludeMatchedPattern: (0, smithy_client_1.expectBoolean)(output.excludeMatchedPattern),
|
|
3993
|
-
pattern: (0, smithy_client_1.expectString)(output.pattern),
|
|
3994
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3995
|
-
};
|
|
2353
|
+
return (0, smithy_client_1.take)(output, {
|
|
2354
|
+
branchFilter: smithy_client_1.expectString,
|
|
2355
|
+
buildType: smithy_client_1.expectString,
|
|
2356
|
+
filterGroups: smithy_client_1._json,
|
|
2357
|
+
lastModifiedSecret: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2358
|
+
payloadUrl: smithy_client_1.expectString,
|
|
2359
|
+
secret: smithy_client_1.expectString,
|
|
2360
|
+
url: smithy_client_1.expectString,
|
|
2361
|
+
});
|
|
3996
2362
|
};
|
|
3997
2363
|
const deserializeMetadata = (output) => ({
|
|
3998
2364
|
httpStatusCode: output.statusCode,
|
|
@@ -4007,6 +2373,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4007
2373
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4008
2374
|
};
|
|
4009
2375
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2376
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(CodeBuildServiceException_1.CodeBuildServiceException);
|
|
4010
2377
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4011
2378
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4012
2379
|
const contents = {
|