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