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