@aws-sdk/client-codebuild 3.926.0 → 3.928.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/index.js +2323 -2394
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CodeBuildClient.js +2 -0
- package/dist-es/commands/BatchDeleteBuildsCommand.js +3 -9
- package/dist-es/commands/BatchGetBuildBatchesCommand.js +3 -9
- package/dist-es/commands/BatchGetBuildsCommand.js +3 -9
- package/dist-es/commands/BatchGetCommandExecutionsCommand.js +3 -10
- package/dist-es/commands/BatchGetFleetsCommand.js +3 -9
- package/dist-es/commands/BatchGetProjectsCommand.js +3 -9
- package/dist-es/commands/BatchGetReportGroupsCommand.js +3 -9
- package/dist-es/commands/BatchGetReportsCommand.js +3 -9
- package/dist-es/commands/BatchGetSandboxesCommand.js +3 -9
- package/dist-es/commands/CreateFleetCommand.js +3 -9
- package/dist-es/commands/CreateProjectCommand.js +3 -9
- package/dist-es/commands/CreateReportGroupCommand.js +3 -9
- package/dist-es/commands/CreateWebhookCommand.js +3 -9
- package/dist-es/commands/DeleteBuildBatchCommand.js +3 -9
- package/dist-es/commands/DeleteFleetCommand.js +3 -9
- package/dist-es/commands/DeleteProjectCommand.js +3 -9
- package/dist-es/commands/DeleteReportCommand.js +3 -9
- package/dist-es/commands/DeleteReportGroupCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteSourceCredentialsCommand.js +3 -9
- package/dist-es/commands/DeleteWebhookCommand.js +3 -9
- package/dist-es/commands/DescribeCodeCoveragesCommand.js +3 -9
- package/dist-es/commands/DescribeTestCasesCommand.js +3 -9
- package/dist-es/commands/GetReportGroupTrendCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/ImportSourceCredentialsCommand.js +3 -10
- package/dist-es/commands/InvalidateProjectCacheCommand.js +3 -9
- package/dist-es/commands/ListBuildBatchesCommand.js +3 -9
- package/dist-es/commands/ListBuildBatchesForProjectCommand.js +3 -9
- package/dist-es/commands/ListBuildsCommand.js +3 -9
- package/dist-es/commands/ListBuildsForProjectCommand.js +3 -9
- package/dist-es/commands/ListCommandExecutionsForSandboxCommand.js +3 -10
- package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +3 -9
- package/dist-es/commands/ListFleetsCommand.js +3 -10
- package/dist-es/commands/ListProjectsCommand.js +3 -9
- package/dist-es/commands/ListReportGroupsCommand.js +3 -9
- package/dist-es/commands/ListReportsCommand.js +3 -9
- package/dist-es/commands/ListReportsForReportGroupCommand.js +3 -9
- package/dist-es/commands/ListSandboxesCommand.js +3 -9
- package/dist-es/commands/ListSandboxesForProjectCommand.js +3 -10
- package/dist-es/commands/ListSharedProjectsCommand.js +3 -9
- package/dist-es/commands/ListSharedReportGroupsCommand.js +3 -9
- package/dist-es/commands/ListSourceCredentialsCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/RetryBuildBatchCommand.js +3 -9
- package/dist-es/commands/RetryBuildCommand.js +3 -9
- package/dist-es/commands/StartBuildBatchCommand.js +3 -9
- package/dist-es/commands/StartBuildCommand.js +3 -9
- package/dist-es/commands/StartCommandExecutionCommand.js +3 -10
- package/dist-es/commands/StartSandboxCommand.js +3 -10
- package/dist-es/commands/StartSandboxConnectionCommand.js +3 -9
- package/dist-es/commands/StopBuildBatchCommand.js +3 -9
- package/dist-es/commands/StopBuildCommand.js +3 -9
- package/dist-es/commands/StopSandboxCommand.js +3 -9
- package/dist-es/commands/UpdateFleetCommand.js +3 -9
- package/dist-es/commands/UpdateProjectCommand.js +3 -9
- package/dist-es/commands/UpdateProjectVisibilityCommand.js +3 -9
- package/dist-es/commands/UpdateReportGroupCommand.js +3 -9
- package/dist-es/commands/UpdateWebhookCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -47
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2207 -0
- package/dist-types/CodeBuildClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -40
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +316 -0
- package/dist-types/ts3.4/CodeBuildClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -30
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +322 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1911
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -533
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -713
|
@@ -1,1911 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, 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 "@smithy/smithy-client";
|
|
4
|
-
import { CodeBuildServiceException as __BaseException } from "../models/CodeBuildServiceException";
|
|
5
|
-
import { AccountLimitExceededException, AccountSuspendedException, InvalidInputException, OAuthProviderException, ResourceAlreadyExistsException, ResourceNotFoundException, } from "../models/models_0";
|
|
6
|
-
export const se_BatchDeleteBuildsCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("BatchDeleteBuilds");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_BatchGetBuildBatchesCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("BatchGetBuildBatches");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_BatchGetBuildsCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("BatchGetBuilds");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_BatchGetCommandExecutionsCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("BatchGetCommandExecutions");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_BatchGetFleetsCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("BatchGetFleets");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_BatchGetProjectsCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("BatchGetProjects");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_BatchGetReportGroupsCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("BatchGetReportGroups");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_BatchGetReportsCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("BatchGetReports");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_BatchGetSandboxesCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("BatchGetSandboxes");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_CreateFleetCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("CreateFleet");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(se_CreateFleetInput(input, context));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_CreateProjectCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("CreateProject");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_CreateReportGroupCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("CreateReportGroup");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_CreateWebhookCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("CreateWebhook");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_DeleteBuildBatchCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("DeleteBuildBatch");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_DeleteFleetCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("DeleteFleet");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_DeleteProjectCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("DeleteProject");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_DeleteReportCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("DeleteReport");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_DeleteReportGroupCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("DeleteReportGroup");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DeleteSourceCredentialsCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DeleteSourceCredentials");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(_json(input));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_DeleteWebhookCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("DeleteWebhook");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_DescribeCodeCoveragesCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("DescribeCodeCoverages");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(se_DescribeCodeCoveragesInput(input, context));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_DescribeTestCasesCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("DescribeTestCases");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_GetReportGroupTrendCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("GetReportGroupTrend");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("GetResourcePolicy");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_ImportSourceCredentialsCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("ImportSourceCredentials");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_InvalidateProjectCacheCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("InvalidateProjectCache");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_ListBuildBatchesCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("ListBuildBatches");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_ListBuildBatchesForProjectCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("ListBuildBatchesForProject");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_ListBuildsCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("ListBuilds");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_ListBuildsForProjectCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("ListBuildsForProject");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_ListCommandExecutionsForSandboxCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("ListCommandExecutionsForSandbox");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_ListCuratedEnvironmentImagesCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("ListCuratedEnvironmentImages");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_ListFleetsCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("ListFleets");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_ListProjectsCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("ListProjects");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_ListReportGroupsCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("ListReportGroups");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_ListReportsCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("ListReports");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_ListReportsForReportGroupCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("ListReportsForReportGroup");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_ListSandboxesCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("ListSandboxes");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(_json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
export const se_ListSandboxesForProjectCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("ListSandboxesForProject");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(_json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
export const se_ListSharedProjectsCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("ListSharedProjects");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_ListSharedReportGroupsCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("ListSharedReportGroups");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_ListSourceCredentialsCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("ListSourceCredentials");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("PutResourcePolicy");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_RetryBuildCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("RetryBuild");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const se_RetryBuildBatchCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("RetryBuildBatch");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(_json(input));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
export const se_StartBuildCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("StartBuild");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(_json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
export const se_StartBuildBatchCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("StartBuildBatch");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(_json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
export const se_StartCommandExecutionCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("StartCommandExecution");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(_json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
export const se_StartSandboxCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("StartSandbox");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(_json(input));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
export const se_StartSandboxConnectionCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("StartSandboxConnection");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(_json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
export const se_StopBuildCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("StopBuild");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(_json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
export const se_StopBuildBatchCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("StopBuildBatch");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(_json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
export const se_StopSandboxCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("StopSandbox");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(_json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
export const se_UpdateFleetCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("UpdateFleet");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(se_UpdateFleetInput(input, context));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
export const se_UpdateProjectCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("UpdateProject");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(_json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
export const se_UpdateProjectVisibilityCommand = async (input, context) => {
|
|
343
|
-
const headers = sharedHeaders("UpdateProjectVisibility");
|
|
344
|
-
let body;
|
|
345
|
-
body = JSON.stringify(_json(input));
|
|
346
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
-
};
|
|
348
|
-
export const se_UpdateReportGroupCommand = async (input, context) => {
|
|
349
|
-
const headers = sharedHeaders("UpdateReportGroup");
|
|
350
|
-
let body;
|
|
351
|
-
body = JSON.stringify(_json(input));
|
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
-
};
|
|
354
|
-
export const se_UpdateWebhookCommand = async (input, context) => {
|
|
355
|
-
const headers = sharedHeaders("UpdateWebhook");
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(_json(input));
|
|
358
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
|
-
};
|
|
360
|
-
export const de_BatchDeleteBuildsCommand = async (output, context) => {
|
|
361
|
-
if (output.statusCode >= 300) {
|
|
362
|
-
return de_CommandError(output, context);
|
|
363
|
-
}
|
|
364
|
-
const data = await parseBody(output.body, context);
|
|
365
|
-
let contents = {};
|
|
366
|
-
contents = _json(data);
|
|
367
|
-
const response = {
|
|
368
|
-
$metadata: deserializeMetadata(output),
|
|
369
|
-
...contents,
|
|
370
|
-
};
|
|
371
|
-
return response;
|
|
372
|
-
};
|
|
373
|
-
export const de_BatchGetBuildBatchesCommand = async (output, context) => {
|
|
374
|
-
if (output.statusCode >= 300) {
|
|
375
|
-
return de_CommandError(output, context);
|
|
376
|
-
}
|
|
377
|
-
const data = await parseBody(output.body, context);
|
|
378
|
-
let contents = {};
|
|
379
|
-
contents = de_BatchGetBuildBatchesOutput(data, context);
|
|
380
|
-
const response = {
|
|
381
|
-
$metadata: deserializeMetadata(output),
|
|
382
|
-
...contents,
|
|
383
|
-
};
|
|
384
|
-
return response;
|
|
385
|
-
};
|
|
386
|
-
export const de_BatchGetBuildsCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode >= 300) {
|
|
388
|
-
return de_CommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const data = await parseBody(output.body, context);
|
|
391
|
-
let contents = {};
|
|
392
|
-
contents = de_BatchGetBuildsOutput(data, context);
|
|
393
|
-
const response = {
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
...contents,
|
|
396
|
-
};
|
|
397
|
-
return response;
|
|
398
|
-
};
|
|
399
|
-
export const de_BatchGetCommandExecutionsCommand = async (output, context) => {
|
|
400
|
-
if (output.statusCode >= 300) {
|
|
401
|
-
return de_CommandError(output, context);
|
|
402
|
-
}
|
|
403
|
-
const data = await parseBody(output.body, context);
|
|
404
|
-
let contents = {};
|
|
405
|
-
contents = de_BatchGetCommandExecutionsOutput(data, context);
|
|
406
|
-
const response = {
|
|
407
|
-
$metadata: deserializeMetadata(output),
|
|
408
|
-
...contents,
|
|
409
|
-
};
|
|
410
|
-
return response;
|
|
411
|
-
};
|
|
412
|
-
export const de_BatchGetFleetsCommand = async (output, context) => {
|
|
413
|
-
if (output.statusCode >= 300) {
|
|
414
|
-
return de_CommandError(output, context);
|
|
415
|
-
}
|
|
416
|
-
const data = await parseBody(output.body, context);
|
|
417
|
-
let contents = {};
|
|
418
|
-
contents = de_BatchGetFleetsOutput(data, context);
|
|
419
|
-
const response = {
|
|
420
|
-
$metadata: deserializeMetadata(output),
|
|
421
|
-
...contents,
|
|
422
|
-
};
|
|
423
|
-
return response;
|
|
424
|
-
};
|
|
425
|
-
export const de_BatchGetProjectsCommand = async (output, context) => {
|
|
426
|
-
if (output.statusCode >= 300) {
|
|
427
|
-
return de_CommandError(output, context);
|
|
428
|
-
}
|
|
429
|
-
const data = await parseBody(output.body, context);
|
|
430
|
-
let contents = {};
|
|
431
|
-
contents = de_BatchGetProjectsOutput(data, context);
|
|
432
|
-
const response = {
|
|
433
|
-
$metadata: deserializeMetadata(output),
|
|
434
|
-
...contents,
|
|
435
|
-
};
|
|
436
|
-
return response;
|
|
437
|
-
};
|
|
438
|
-
export const de_BatchGetReportGroupsCommand = async (output, context) => {
|
|
439
|
-
if (output.statusCode >= 300) {
|
|
440
|
-
return de_CommandError(output, context);
|
|
441
|
-
}
|
|
442
|
-
const data = await parseBody(output.body, context);
|
|
443
|
-
let contents = {};
|
|
444
|
-
contents = de_BatchGetReportGroupsOutput(data, context);
|
|
445
|
-
const response = {
|
|
446
|
-
$metadata: deserializeMetadata(output),
|
|
447
|
-
...contents,
|
|
448
|
-
};
|
|
449
|
-
return response;
|
|
450
|
-
};
|
|
451
|
-
export const de_BatchGetReportsCommand = async (output, context) => {
|
|
452
|
-
if (output.statusCode >= 300) {
|
|
453
|
-
return de_CommandError(output, context);
|
|
454
|
-
}
|
|
455
|
-
const data = await parseBody(output.body, context);
|
|
456
|
-
let contents = {};
|
|
457
|
-
contents = de_BatchGetReportsOutput(data, context);
|
|
458
|
-
const response = {
|
|
459
|
-
$metadata: deserializeMetadata(output),
|
|
460
|
-
...contents,
|
|
461
|
-
};
|
|
462
|
-
return response;
|
|
463
|
-
};
|
|
464
|
-
export const de_BatchGetSandboxesCommand = async (output, context) => {
|
|
465
|
-
if (output.statusCode >= 300) {
|
|
466
|
-
return de_CommandError(output, context);
|
|
467
|
-
}
|
|
468
|
-
const data = await parseBody(output.body, context);
|
|
469
|
-
let contents = {};
|
|
470
|
-
contents = de_BatchGetSandboxesOutput(data, context);
|
|
471
|
-
const response = {
|
|
472
|
-
$metadata: deserializeMetadata(output),
|
|
473
|
-
...contents,
|
|
474
|
-
};
|
|
475
|
-
return response;
|
|
476
|
-
};
|
|
477
|
-
export const de_CreateFleetCommand = async (output, context) => {
|
|
478
|
-
if (output.statusCode >= 300) {
|
|
479
|
-
return de_CommandError(output, context);
|
|
480
|
-
}
|
|
481
|
-
const data = await parseBody(output.body, context);
|
|
482
|
-
let contents = {};
|
|
483
|
-
contents = de_CreateFleetOutput(data, context);
|
|
484
|
-
const response = {
|
|
485
|
-
$metadata: deserializeMetadata(output),
|
|
486
|
-
...contents,
|
|
487
|
-
};
|
|
488
|
-
return response;
|
|
489
|
-
};
|
|
490
|
-
export const de_CreateProjectCommand = async (output, context) => {
|
|
491
|
-
if (output.statusCode >= 300) {
|
|
492
|
-
return de_CommandError(output, context);
|
|
493
|
-
}
|
|
494
|
-
const data = await parseBody(output.body, context);
|
|
495
|
-
let contents = {};
|
|
496
|
-
contents = de_CreateProjectOutput(data, context);
|
|
497
|
-
const response = {
|
|
498
|
-
$metadata: deserializeMetadata(output),
|
|
499
|
-
...contents,
|
|
500
|
-
};
|
|
501
|
-
return response;
|
|
502
|
-
};
|
|
503
|
-
export const de_CreateReportGroupCommand = async (output, context) => {
|
|
504
|
-
if (output.statusCode >= 300) {
|
|
505
|
-
return de_CommandError(output, context);
|
|
506
|
-
}
|
|
507
|
-
const data = await parseBody(output.body, context);
|
|
508
|
-
let contents = {};
|
|
509
|
-
contents = de_CreateReportGroupOutput(data, context);
|
|
510
|
-
const response = {
|
|
511
|
-
$metadata: deserializeMetadata(output),
|
|
512
|
-
...contents,
|
|
513
|
-
};
|
|
514
|
-
return response;
|
|
515
|
-
};
|
|
516
|
-
export const de_CreateWebhookCommand = async (output, context) => {
|
|
517
|
-
if (output.statusCode >= 300) {
|
|
518
|
-
return de_CommandError(output, context);
|
|
519
|
-
}
|
|
520
|
-
const data = await parseBody(output.body, context);
|
|
521
|
-
let contents = {};
|
|
522
|
-
contents = de_CreateWebhookOutput(data, context);
|
|
523
|
-
const response = {
|
|
524
|
-
$metadata: deserializeMetadata(output),
|
|
525
|
-
...contents,
|
|
526
|
-
};
|
|
527
|
-
return response;
|
|
528
|
-
};
|
|
529
|
-
export const de_DeleteBuildBatchCommand = async (output, context) => {
|
|
530
|
-
if (output.statusCode >= 300) {
|
|
531
|
-
return de_CommandError(output, context);
|
|
532
|
-
}
|
|
533
|
-
const data = await parseBody(output.body, context);
|
|
534
|
-
let contents = {};
|
|
535
|
-
contents = _json(data);
|
|
536
|
-
const response = {
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
...contents,
|
|
539
|
-
};
|
|
540
|
-
return response;
|
|
541
|
-
};
|
|
542
|
-
export const de_DeleteFleetCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const data = await parseBody(output.body, context);
|
|
547
|
-
let contents = {};
|
|
548
|
-
contents = _json(data);
|
|
549
|
-
const response = {
|
|
550
|
-
$metadata: deserializeMetadata(output),
|
|
551
|
-
...contents,
|
|
552
|
-
};
|
|
553
|
-
return response;
|
|
554
|
-
};
|
|
555
|
-
export const de_DeleteProjectCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const data = await parseBody(output.body, context);
|
|
560
|
-
let contents = {};
|
|
561
|
-
contents = _json(data);
|
|
562
|
-
const response = {
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
...contents,
|
|
565
|
-
};
|
|
566
|
-
return response;
|
|
567
|
-
};
|
|
568
|
-
export const de_DeleteReportCommand = async (output, context) => {
|
|
569
|
-
if (output.statusCode >= 300) {
|
|
570
|
-
return de_CommandError(output, context);
|
|
571
|
-
}
|
|
572
|
-
const data = await parseBody(output.body, context);
|
|
573
|
-
let contents = {};
|
|
574
|
-
contents = _json(data);
|
|
575
|
-
const response = {
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
...contents,
|
|
578
|
-
};
|
|
579
|
-
return response;
|
|
580
|
-
};
|
|
581
|
-
export const de_DeleteReportGroupCommand = async (output, context) => {
|
|
582
|
-
if (output.statusCode >= 300) {
|
|
583
|
-
return de_CommandError(output, context);
|
|
584
|
-
}
|
|
585
|
-
const data = await parseBody(output.body, context);
|
|
586
|
-
let contents = {};
|
|
587
|
-
contents = _json(data);
|
|
588
|
-
const response = {
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
...contents,
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
};
|
|
594
|
-
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await parseBody(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = _json(data);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents,
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
606
|
-
};
|
|
607
|
-
export const de_DeleteSourceCredentialsCommand = async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await parseBody(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = _json(data);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents,
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
};
|
|
620
|
-
export const de_DeleteWebhookCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await parseBody(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = _json(data);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents,
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
};
|
|
633
|
-
export const de_DescribeCodeCoveragesCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await parseBody(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = de_DescribeCodeCoveragesOutput(data, context);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents,
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_DescribeTestCasesCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await parseBody(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = de_DescribeTestCasesOutput(data, context);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents,
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
};
|
|
659
|
-
export const de_GetReportGroupTrendCommand = async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await parseBody(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = _json(data);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents,
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
};
|
|
672
|
-
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await parseBody(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = _json(data);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents,
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
};
|
|
685
|
-
export const de_ImportSourceCredentialsCommand = async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await parseBody(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = _json(data);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents,
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
};
|
|
698
|
-
export const de_InvalidateProjectCacheCommand = async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await parseBody(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = _json(data);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents,
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
};
|
|
711
|
-
export const de_ListBuildBatchesCommand = async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await parseBody(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = _json(data);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents,
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
};
|
|
724
|
-
export const de_ListBuildBatchesForProjectCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await parseBody(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = _json(data);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents,
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
};
|
|
737
|
-
export const de_ListBuildsCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await parseBody(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = _json(data);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents,
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
};
|
|
750
|
-
export const de_ListBuildsForProjectCommand = async (output, context) => {
|
|
751
|
-
if (output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const data = await parseBody(output.body, context);
|
|
755
|
-
let contents = {};
|
|
756
|
-
contents = _json(data);
|
|
757
|
-
const response = {
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
...contents,
|
|
760
|
-
};
|
|
761
|
-
return response;
|
|
762
|
-
};
|
|
763
|
-
export const de_ListCommandExecutionsForSandboxCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const data = await parseBody(output.body, context);
|
|
768
|
-
let contents = {};
|
|
769
|
-
contents = de_ListCommandExecutionsForSandboxOutput(data, context);
|
|
770
|
-
const response = {
|
|
771
|
-
$metadata: deserializeMetadata(output),
|
|
772
|
-
...contents,
|
|
773
|
-
};
|
|
774
|
-
return response;
|
|
775
|
-
};
|
|
776
|
-
export const de_ListCuratedEnvironmentImagesCommand = async (output, context) => {
|
|
777
|
-
if (output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const data = await parseBody(output.body, context);
|
|
781
|
-
let contents = {};
|
|
782
|
-
contents = _json(data);
|
|
783
|
-
const response = {
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
...contents,
|
|
786
|
-
};
|
|
787
|
-
return response;
|
|
788
|
-
};
|
|
789
|
-
export const de_ListFleetsCommand = async (output, context) => {
|
|
790
|
-
if (output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const data = await parseBody(output.body, context);
|
|
794
|
-
let contents = {};
|
|
795
|
-
contents = _json(data);
|
|
796
|
-
const response = {
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
...contents,
|
|
799
|
-
};
|
|
800
|
-
return response;
|
|
801
|
-
};
|
|
802
|
-
export const de_ListProjectsCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const data = await parseBody(output.body, context);
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = _json(data);
|
|
809
|
-
const response = {
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents,
|
|
812
|
-
};
|
|
813
|
-
return response;
|
|
814
|
-
};
|
|
815
|
-
export const de_ListReportGroupsCommand = async (output, context) => {
|
|
816
|
-
if (output.statusCode >= 300) {
|
|
817
|
-
return de_CommandError(output, context);
|
|
818
|
-
}
|
|
819
|
-
const data = await parseBody(output.body, context);
|
|
820
|
-
let contents = {};
|
|
821
|
-
contents = _json(data);
|
|
822
|
-
const response = {
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
...contents,
|
|
825
|
-
};
|
|
826
|
-
return response;
|
|
827
|
-
};
|
|
828
|
-
export const de_ListReportsCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const data = await parseBody(output.body, context);
|
|
833
|
-
let contents = {};
|
|
834
|
-
contents = _json(data);
|
|
835
|
-
const response = {
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
...contents,
|
|
838
|
-
};
|
|
839
|
-
return response;
|
|
840
|
-
};
|
|
841
|
-
export const de_ListReportsForReportGroupCommand = async (output, context) => {
|
|
842
|
-
if (output.statusCode >= 300) {
|
|
843
|
-
return de_CommandError(output, context);
|
|
844
|
-
}
|
|
845
|
-
const data = await parseBody(output.body, context);
|
|
846
|
-
let contents = {};
|
|
847
|
-
contents = _json(data);
|
|
848
|
-
const response = {
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
...contents,
|
|
851
|
-
};
|
|
852
|
-
return response;
|
|
853
|
-
};
|
|
854
|
-
export const de_ListSandboxesCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = _json(data);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents,
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
866
|
-
};
|
|
867
|
-
export const de_ListSandboxesForProjectCommand = async (output, context) => {
|
|
868
|
-
if (output.statusCode >= 300) {
|
|
869
|
-
return de_CommandError(output, context);
|
|
870
|
-
}
|
|
871
|
-
const data = await parseBody(output.body, context);
|
|
872
|
-
let contents = {};
|
|
873
|
-
contents = _json(data);
|
|
874
|
-
const response = {
|
|
875
|
-
$metadata: deserializeMetadata(output),
|
|
876
|
-
...contents,
|
|
877
|
-
};
|
|
878
|
-
return response;
|
|
879
|
-
};
|
|
880
|
-
export const de_ListSharedProjectsCommand = async (output, context) => {
|
|
881
|
-
if (output.statusCode >= 300) {
|
|
882
|
-
return de_CommandError(output, context);
|
|
883
|
-
}
|
|
884
|
-
const data = await parseBody(output.body, context);
|
|
885
|
-
let contents = {};
|
|
886
|
-
contents = _json(data);
|
|
887
|
-
const response = {
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
...contents,
|
|
890
|
-
};
|
|
891
|
-
return response;
|
|
892
|
-
};
|
|
893
|
-
export const de_ListSharedReportGroupsCommand = async (output, context) => {
|
|
894
|
-
if (output.statusCode >= 300) {
|
|
895
|
-
return de_CommandError(output, context);
|
|
896
|
-
}
|
|
897
|
-
const data = await parseBody(output.body, context);
|
|
898
|
-
let contents = {};
|
|
899
|
-
contents = _json(data);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
...contents,
|
|
903
|
-
};
|
|
904
|
-
return response;
|
|
905
|
-
};
|
|
906
|
-
export const de_ListSourceCredentialsCommand = async (output, context) => {
|
|
907
|
-
if (output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const data = await parseBody(output.body, context);
|
|
911
|
-
let contents = {};
|
|
912
|
-
contents = _json(data);
|
|
913
|
-
const response = {
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
...contents,
|
|
916
|
-
};
|
|
917
|
-
return response;
|
|
918
|
-
};
|
|
919
|
-
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
920
|
-
if (output.statusCode >= 300) {
|
|
921
|
-
return de_CommandError(output, context);
|
|
922
|
-
}
|
|
923
|
-
const data = await parseBody(output.body, context);
|
|
924
|
-
let contents = {};
|
|
925
|
-
contents = _json(data);
|
|
926
|
-
const response = {
|
|
927
|
-
$metadata: deserializeMetadata(output),
|
|
928
|
-
...contents,
|
|
929
|
-
};
|
|
930
|
-
return response;
|
|
931
|
-
};
|
|
932
|
-
export const de_RetryBuildCommand = async (output, context) => {
|
|
933
|
-
if (output.statusCode >= 300) {
|
|
934
|
-
return de_CommandError(output, context);
|
|
935
|
-
}
|
|
936
|
-
const data = await parseBody(output.body, context);
|
|
937
|
-
let contents = {};
|
|
938
|
-
contents = de_RetryBuildOutput(data, context);
|
|
939
|
-
const response = {
|
|
940
|
-
$metadata: deserializeMetadata(output),
|
|
941
|
-
...contents,
|
|
942
|
-
};
|
|
943
|
-
return response;
|
|
944
|
-
};
|
|
945
|
-
export const de_RetryBuildBatchCommand = async (output, context) => {
|
|
946
|
-
if (output.statusCode >= 300) {
|
|
947
|
-
return de_CommandError(output, context);
|
|
948
|
-
}
|
|
949
|
-
const data = await parseBody(output.body, context);
|
|
950
|
-
let contents = {};
|
|
951
|
-
contents = de_RetryBuildBatchOutput(data, context);
|
|
952
|
-
const response = {
|
|
953
|
-
$metadata: deserializeMetadata(output),
|
|
954
|
-
...contents,
|
|
955
|
-
};
|
|
956
|
-
return response;
|
|
957
|
-
};
|
|
958
|
-
export const de_StartBuildCommand = async (output, context) => {
|
|
959
|
-
if (output.statusCode >= 300) {
|
|
960
|
-
return de_CommandError(output, context);
|
|
961
|
-
}
|
|
962
|
-
const data = await parseBody(output.body, context);
|
|
963
|
-
let contents = {};
|
|
964
|
-
contents = de_StartBuildOutput(data, context);
|
|
965
|
-
const response = {
|
|
966
|
-
$metadata: deserializeMetadata(output),
|
|
967
|
-
...contents,
|
|
968
|
-
};
|
|
969
|
-
return response;
|
|
970
|
-
};
|
|
971
|
-
export const de_StartBuildBatchCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const data = await parseBody(output.body, context);
|
|
976
|
-
let contents = {};
|
|
977
|
-
contents = de_StartBuildBatchOutput(data, context);
|
|
978
|
-
const response = {
|
|
979
|
-
$metadata: deserializeMetadata(output),
|
|
980
|
-
...contents,
|
|
981
|
-
};
|
|
982
|
-
return response;
|
|
983
|
-
};
|
|
984
|
-
export const de_StartCommandExecutionCommand = async (output, context) => {
|
|
985
|
-
if (output.statusCode >= 300) {
|
|
986
|
-
return de_CommandError(output, context);
|
|
987
|
-
}
|
|
988
|
-
const data = await parseBody(output.body, context);
|
|
989
|
-
let contents = {};
|
|
990
|
-
contents = de_StartCommandExecutionOutput(data, context);
|
|
991
|
-
const response = {
|
|
992
|
-
$metadata: deserializeMetadata(output),
|
|
993
|
-
...contents,
|
|
994
|
-
};
|
|
995
|
-
return response;
|
|
996
|
-
};
|
|
997
|
-
export const de_StartSandboxCommand = async (output, context) => {
|
|
998
|
-
if (output.statusCode >= 300) {
|
|
999
|
-
return de_CommandError(output, context);
|
|
1000
|
-
}
|
|
1001
|
-
const data = await parseBody(output.body, context);
|
|
1002
|
-
let contents = {};
|
|
1003
|
-
contents = de_StartSandboxOutput(data, context);
|
|
1004
|
-
const response = {
|
|
1005
|
-
$metadata: deserializeMetadata(output),
|
|
1006
|
-
...contents,
|
|
1007
|
-
};
|
|
1008
|
-
return response;
|
|
1009
|
-
};
|
|
1010
|
-
export const de_StartSandboxConnectionCommand = async (output, context) => {
|
|
1011
|
-
if (output.statusCode >= 300) {
|
|
1012
|
-
return de_CommandError(output, context);
|
|
1013
|
-
}
|
|
1014
|
-
const data = await parseBody(output.body, context);
|
|
1015
|
-
let contents = {};
|
|
1016
|
-
contents = _json(data);
|
|
1017
|
-
const response = {
|
|
1018
|
-
$metadata: deserializeMetadata(output),
|
|
1019
|
-
...contents,
|
|
1020
|
-
};
|
|
1021
|
-
return response;
|
|
1022
|
-
};
|
|
1023
|
-
export const de_StopBuildCommand = async (output, context) => {
|
|
1024
|
-
if (output.statusCode >= 300) {
|
|
1025
|
-
return de_CommandError(output, context);
|
|
1026
|
-
}
|
|
1027
|
-
const data = await parseBody(output.body, context);
|
|
1028
|
-
let contents = {};
|
|
1029
|
-
contents = de_StopBuildOutput(data, context);
|
|
1030
|
-
const response = {
|
|
1031
|
-
$metadata: deserializeMetadata(output),
|
|
1032
|
-
...contents,
|
|
1033
|
-
};
|
|
1034
|
-
return response;
|
|
1035
|
-
};
|
|
1036
|
-
export const de_StopBuildBatchCommand = async (output, context) => {
|
|
1037
|
-
if (output.statusCode >= 300) {
|
|
1038
|
-
return de_CommandError(output, context);
|
|
1039
|
-
}
|
|
1040
|
-
const data = await parseBody(output.body, context);
|
|
1041
|
-
let contents = {};
|
|
1042
|
-
contents = de_StopBuildBatchOutput(data, context);
|
|
1043
|
-
const response = {
|
|
1044
|
-
$metadata: deserializeMetadata(output),
|
|
1045
|
-
...contents,
|
|
1046
|
-
};
|
|
1047
|
-
return response;
|
|
1048
|
-
};
|
|
1049
|
-
export const de_StopSandboxCommand = async (output, context) => {
|
|
1050
|
-
if (output.statusCode >= 300) {
|
|
1051
|
-
return de_CommandError(output, context);
|
|
1052
|
-
}
|
|
1053
|
-
const data = await parseBody(output.body, context);
|
|
1054
|
-
let contents = {};
|
|
1055
|
-
contents = de_StopSandboxOutput(data, context);
|
|
1056
|
-
const response = {
|
|
1057
|
-
$metadata: deserializeMetadata(output),
|
|
1058
|
-
...contents,
|
|
1059
|
-
};
|
|
1060
|
-
return response;
|
|
1061
|
-
};
|
|
1062
|
-
export const de_UpdateFleetCommand = async (output, context) => {
|
|
1063
|
-
if (output.statusCode >= 300) {
|
|
1064
|
-
return de_CommandError(output, context);
|
|
1065
|
-
}
|
|
1066
|
-
const data = await parseBody(output.body, context);
|
|
1067
|
-
let contents = {};
|
|
1068
|
-
contents = de_UpdateFleetOutput(data, context);
|
|
1069
|
-
const response = {
|
|
1070
|
-
$metadata: deserializeMetadata(output),
|
|
1071
|
-
...contents,
|
|
1072
|
-
};
|
|
1073
|
-
return response;
|
|
1074
|
-
};
|
|
1075
|
-
export const de_UpdateProjectCommand = async (output, context) => {
|
|
1076
|
-
if (output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const data = await parseBody(output.body, context);
|
|
1080
|
-
let contents = {};
|
|
1081
|
-
contents = de_UpdateProjectOutput(data, context);
|
|
1082
|
-
const response = {
|
|
1083
|
-
$metadata: deserializeMetadata(output),
|
|
1084
|
-
...contents,
|
|
1085
|
-
};
|
|
1086
|
-
return response;
|
|
1087
|
-
};
|
|
1088
|
-
export const de_UpdateProjectVisibilityCommand = async (output, context) => {
|
|
1089
|
-
if (output.statusCode >= 300) {
|
|
1090
|
-
return de_CommandError(output, context);
|
|
1091
|
-
}
|
|
1092
|
-
const data = await parseBody(output.body, context);
|
|
1093
|
-
let contents = {};
|
|
1094
|
-
contents = _json(data);
|
|
1095
|
-
const response = {
|
|
1096
|
-
$metadata: deserializeMetadata(output),
|
|
1097
|
-
...contents,
|
|
1098
|
-
};
|
|
1099
|
-
return response;
|
|
1100
|
-
};
|
|
1101
|
-
export const de_UpdateReportGroupCommand = async (output, context) => {
|
|
1102
|
-
if (output.statusCode >= 300) {
|
|
1103
|
-
return de_CommandError(output, context);
|
|
1104
|
-
}
|
|
1105
|
-
const data = await parseBody(output.body, context);
|
|
1106
|
-
let contents = {};
|
|
1107
|
-
contents = de_UpdateReportGroupOutput(data, context);
|
|
1108
|
-
const response = {
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
...contents,
|
|
1111
|
-
};
|
|
1112
|
-
return response;
|
|
1113
|
-
};
|
|
1114
|
-
export const de_UpdateWebhookCommand = async (output, context) => {
|
|
1115
|
-
if (output.statusCode >= 300) {
|
|
1116
|
-
return de_CommandError(output, context);
|
|
1117
|
-
}
|
|
1118
|
-
const data = await parseBody(output.body, context);
|
|
1119
|
-
let contents = {};
|
|
1120
|
-
contents = de_UpdateWebhookOutput(data, context);
|
|
1121
|
-
const response = {
|
|
1122
|
-
$metadata: deserializeMetadata(output),
|
|
1123
|
-
...contents,
|
|
1124
|
-
};
|
|
1125
|
-
return response;
|
|
1126
|
-
};
|
|
1127
|
-
const de_CommandError = async (output, context) => {
|
|
1128
|
-
const parsedOutput = {
|
|
1129
|
-
...output,
|
|
1130
|
-
body: await parseErrorBody(output.body, context),
|
|
1131
|
-
};
|
|
1132
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1133
|
-
switch (errorCode) {
|
|
1134
|
-
case "InvalidInputException":
|
|
1135
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1136
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1137
|
-
case "AccountLimitExceededException":
|
|
1138
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1139
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1140
|
-
case "ResourceAlreadyExistsException":
|
|
1141
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1142
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1143
|
-
case "OAuthProviderException":
|
|
1144
|
-
case "com.amazonaws.codebuild#OAuthProviderException":
|
|
1145
|
-
throw await de_OAuthProviderExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "ResourceNotFoundException":
|
|
1147
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1148
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1149
|
-
case "AccountSuspendedException":
|
|
1150
|
-
case "com.amazonaws.codebuild#AccountSuspendedException":
|
|
1151
|
-
throw await de_AccountSuspendedExceptionRes(parsedOutput, context);
|
|
1152
|
-
default:
|
|
1153
|
-
const parsedBody = parsedOutput.body;
|
|
1154
|
-
return throwDefaultError({
|
|
1155
|
-
output,
|
|
1156
|
-
parsedBody,
|
|
1157
|
-
errorCode,
|
|
1158
|
-
});
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
const de_AccountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1162
|
-
const body = parsedOutput.body;
|
|
1163
|
-
const deserialized = _json(body);
|
|
1164
|
-
const exception = new AccountLimitExceededException({
|
|
1165
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1166
|
-
...deserialized,
|
|
1167
|
-
});
|
|
1168
|
-
return __decorateServiceException(exception, body);
|
|
1169
|
-
};
|
|
1170
|
-
const de_AccountSuspendedExceptionRes = async (parsedOutput, context) => {
|
|
1171
|
-
const body = parsedOutput.body;
|
|
1172
|
-
const deserialized = _json(body);
|
|
1173
|
-
const exception = new AccountSuspendedException({
|
|
1174
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1175
|
-
...deserialized,
|
|
1176
|
-
});
|
|
1177
|
-
return __decorateServiceException(exception, body);
|
|
1178
|
-
};
|
|
1179
|
-
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1180
|
-
const body = parsedOutput.body;
|
|
1181
|
-
const deserialized = _json(body);
|
|
1182
|
-
const exception = new InvalidInputException({
|
|
1183
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1184
|
-
...deserialized,
|
|
1185
|
-
});
|
|
1186
|
-
return __decorateServiceException(exception, body);
|
|
1187
|
-
};
|
|
1188
|
-
const de_OAuthProviderExceptionRes = async (parsedOutput, context) => {
|
|
1189
|
-
const body = parsedOutput.body;
|
|
1190
|
-
const deserialized = _json(body);
|
|
1191
|
-
const exception = new OAuthProviderException({
|
|
1192
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1193
|
-
...deserialized,
|
|
1194
|
-
});
|
|
1195
|
-
return __decorateServiceException(exception, body);
|
|
1196
|
-
};
|
|
1197
|
-
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1198
|
-
const body = parsedOutput.body;
|
|
1199
|
-
const deserialized = _json(body);
|
|
1200
|
-
const exception = new ResourceAlreadyExistsException({
|
|
1201
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1202
|
-
...deserialized,
|
|
1203
|
-
});
|
|
1204
|
-
return __decorateServiceException(exception, body);
|
|
1205
|
-
};
|
|
1206
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1207
|
-
const body = parsedOutput.body;
|
|
1208
|
-
const deserialized = _json(body);
|
|
1209
|
-
const exception = new ResourceNotFoundException({
|
|
1210
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1211
|
-
...deserialized,
|
|
1212
|
-
});
|
|
1213
|
-
return __decorateServiceException(exception, body);
|
|
1214
|
-
};
|
|
1215
|
-
const se_CreateFleetInput = (input, context) => {
|
|
1216
|
-
return take(input, {
|
|
1217
|
-
baseCapacity: [],
|
|
1218
|
-
computeConfiguration: _json,
|
|
1219
|
-
computeType: [],
|
|
1220
|
-
environmentType: [],
|
|
1221
|
-
fleetServiceRole: [],
|
|
1222
|
-
imageId: [],
|
|
1223
|
-
name: [],
|
|
1224
|
-
overflowBehavior: [],
|
|
1225
|
-
proxyConfiguration: _json,
|
|
1226
|
-
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1227
|
-
tags: _json,
|
|
1228
|
-
vpcConfig: _json,
|
|
1229
|
-
});
|
|
1230
|
-
};
|
|
1231
|
-
const se_DescribeCodeCoveragesInput = (input, context) => {
|
|
1232
|
-
return take(input, {
|
|
1233
|
-
maxLineCoveragePercentage: __serializeFloat,
|
|
1234
|
-
maxResults: [],
|
|
1235
|
-
minLineCoveragePercentage: __serializeFloat,
|
|
1236
|
-
nextToken: [],
|
|
1237
|
-
reportArn: [],
|
|
1238
|
-
sortBy: [],
|
|
1239
|
-
sortOrder: [],
|
|
1240
|
-
});
|
|
1241
|
-
};
|
|
1242
|
-
const se_ScalingConfigurationInput = (input, context) => {
|
|
1243
|
-
return take(input, {
|
|
1244
|
-
maxCapacity: [],
|
|
1245
|
-
scalingType: [],
|
|
1246
|
-
targetTrackingScalingConfigs: (_) => se_TargetTrackingScalingConfigurations(_, context),
|
|
1247
|
-
});
|
|
1248
|
-
};
|
|
1249
|
-
const se_TargetTrackingScalingConfiguration = (input, context) => {
|
|
1250
|
-
return take(input, {
|
|
1251
|
-
metricType: [],
|
|
1252
|
-
targetValue: __serializeFloat,
|
|
1253
|
-
});
|
|
1254
|
-
};
|
|
1255
|
-
const se_TargetTrackingScalingConfigurations = (input, context) => {
|
|
1256
|
-
return input
|
|
1257
|
-
.filter((e) => e != null)
|
|
1258
|
-
.map((entry) => {
|
|
1259
|
-
return se_TargetTrackingScalingConfiguration(entry, context);
|
|
1260
|
-
});
|
|
1261
|
-
};
|
|
1262
|
-
const se_UpdateFleetInput = (input, context) => {
|
|
1263
|
-
return take(input, {
|
|
1264
|
-
arn: [],
|
|
1265
|
-
baseCapacity: [],
|
|
1266
|
-
computeConfiguration: _json,
|
|
1267
|
-
computeType: [],
|
|
1268
|
-
environmentType: [],
|
|
1269
|
-
fleetServiceRole: [],
|
|
1270
|
-
imageId: [],
|
|
1271
|
-
overflowBehavior: [],
|
|
1272
|
-
proxyConfiguration: _json,
|
|
1273
|
-
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1274
|
-
tags: _json,
|
|
1275
|
-
vpcConfig: _json,
|
|
1276
|
-
});
|
|
1277
|
-
};
|
|
1278
|
-
const de_BatchGetBuildBatchesOutput = (output, context) => {
|
|
1279
|
-
return take(output, {
|
|
1280
|
-
buildBatches: (_) => de_BuildBatches(_, context),
|
|
1281
|
-
buildBatchesNotFound: _json,
|
|
1282
|
-
});
|
|
1283
|
-
};
|
|
1284
|
-
const de_BatchGetBuildsOutput = (output, context) => {
|
|
1285
|
-
return take(output, {
|
|
1286
|
-
builds: (_) => de_Builds(_, context),
|
|
1287
|
-
buildsNotFound: _json,
|
|
1288
|
-
});
|
|
1289
|
-
};
|
|
1290
|
-
const de_BatchGetCommandExecutionsOutput = (output, context) => {
|
|
1291
|
-
return take(output, {
|
|
1292
|
-
commandExecutions: (_) => de_CommandExecutions(_, context),
|
|
1293
|
-
commandExecutionsNotFound: _json,
|
|
1294
|
-
});
|
|
1295
|
-
};
|
|
1296
|
-
const de_BatchGetFleetsOutput = (output, context) => {
|
|
1297
|
-
return take(output, {
|
|
1298
|
-
fleets: (_) => de_Fleets(_, context),
|
|
1299
|
-
fleetsNotFound: _json,
|
|
1300
|
-
});
|
|
1301
|
-
};
|
|
1302
|
-
const de_BatchGetProjectsOutput = (output, context) => {
|
|
1303
|
-
return take(output, {
|
|
1304
|
-
projects: (_) => de_Projects(_, context),
|
|
1305
|
-
projectsNotFound: _json,
|
|
1306
|
-
});
|
|
1307
|
-
};
|
|
1308
|
-
const de_BatchGetReportGroupsOutput = (output, context) => {
|
|
1309
|
-
return take(output, {
|
|
1310
|
-
reportGroups: (_) => de_ReportGroups(_, context),
|
|
1311
|
-
reportGroupsNotFound: _json,
|
|
1312
|
-
});
|
|
1313
|
-
};
|
|
1314
|
-
const de_BatchGetReportsOutput = (output, context) => {
|
|
1315
|
-
return take(output, {
|
|
1316
|
-
reports: (_) => de_Reports(_, context),
|
|
1317
|
-
reportsNotFound: _json,
|
|
1318
|
-
});
|
|
1319
|
-
};
|
|
1320
|
-
const de_BatchGetSandboxesOutput = (output, context) => {
|
|
1321
|
-
return take(output, {
|
|
1322
|
-
sandboxes: (_) => de_Sandboxes(_, context),
|
|
1323
|
-
sandboxesNotFound: _json,
|
|
1324
|
-
});
|
|
1325
|
-
};
|
|
1326
|
-
const de_Build = (output, context) => {
|
|
1327
|
-
return take(output, {
|
|
1328
|
-
arn: __expectString,
|
|
1329
|
-
artifacts: _json,
|
|
1330
|
-
autoRetryConfig: _json,
|
|
1331
|
-
buildBatchArn: __expectString,
|
|
1332
|
-
buildComplete: __expectBoolean,
|
|
1333
|
-
buildNumber: __expectLong,
|
|
1334
|
-
buildStatus: __expectString,
|
|
1335
|
-
cache: _json,
|
|
1336
|
-
currentPhase: __expectString,
|
|
1337
|
-
debugSession: _json,
|
|
1338
|
-
encryptionKey: __expectString,
|
|
1339
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1340
|
-
environment: _json,
|
|
1341
|
-
exportedEnvironmentVariables: _json,
|
|
1342
|
-
fileSystemLocations: _json,
|
|
1343
|
-
id: __expectString,
|
|
1344
|
-
initiator: __expectString,
|
|
1345
|
-
logs: _json,
|
|
1346
|
-
networkInterface: _json,
|
|
1347
|
-
phases: (_) => de_BuildPhases(_, context),
|
|
1348
|
-
projectName: __expectString,
|
|
1349
|
-
queuedTimeoutInMinutes: __expectInt32,
|
|
1350
|
-
reportArns: _json,
|
|
1351
|
-
resolvedSourceVersion: __expectString,
|
|
1352
|
-
secondaryArtifacts: _json,
|
|
1353
|
-
secondarySourceVersions: _json,
|
|
1354
|
-
secondarySources: _json,
|
|
1355
|
-
serviceRole: __expectString,
|
|
1356
|
-
source: _json,
|
|
1357
|
-
sourceVersion: __expectString,
|
|
1358
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1359
|
-
timeoutInMinutes: __expectInt32,
|
|
1360
|
-
vpcConfig: _json,
|
|
1361
|
-
});
|
|
1362
|
-
};
|
|
1363
|
-
const de_BuildBatch = (output, context) => {
|
|
1364
|
-
return take(output, {
|
|
1365
|
-
arn: __expectString,
|
|
1366
|
-
artifacts: _json,
|
|
1367
|
-
buildBatchConfig: _json,
|
|
1368
|
-
buildBatchNumber: __expectLong,
|
|
1369
|
-
buildBatchStatus: __expectString,
|
|
1370
|
-
buildGroups: (_) => de_BuildGroups(_, context),
|
|
1371
|
-
buildTimeoutInMinutes: __expectInt32,
|
|
1372
|
-
cache: _json,
|
|
1373
|
-
complete: __expectBoolean,
|
|
1374
|
-
currentPhase: __expectString,
|
|
1375
|
-
debugSessionEnabled: __expectBoolean,
|
|
1376
|
-
encryptionKey: __expectString,
|
|
1377
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1378
|
-
environment: _json,
|
|
1379
|
-
fileSystemLocations: _json,
|
|
1380
|
-
id: __expectString,
|
|
1381
|
-
initiator: __expectString,
|
|
1382
|
-
logConfig: _json,
|
|
1383
|
-
phases: (_) => de_BuildBatchPhases(_, context),
|
|
1384
|
-
projectName: __expectString,
|
|
1385
|
-
queuedTimeoutInMinutes: __expectInt32,
|
|
1386
|
-
reportArns: _json,
|
|
1387
|
-
resolvedSourceVersion: __expectString,
|
|
1388
|
-
secondaryArtifacts: _json,
|
|
1389
|
-
secondarySourceVersions: _json,
|
|
1390
|
-
secondarySources: _json,
|
|
1391
|
-
serviceRole: __expectString,
|
|
1392
|
-
source: _json,
|
|
1393
|
-
sourceVersion: __expectString,
|
|
1394
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1395
|
-
vpcConfig: _json,
|
|
1396
|
-
});
|
|
1397
|
-
};
|
|
1398
|
-
const de_BuildBatches = (output, context) => {
|
|
1399
|
-
const retVal = (output || [])
|
|
1400
|
-
.filter((e) => e != null)
|
|
1401
|
-
.map((entry) => {
|
|
1402
|
-
return de_BuildBatch(entry, context);
|
|
1403
|
-
});
|
|
1404
|
-
return retVal;
|
|
1405
|
-
};
|
|
1406
|
-
const de_BuildBatchPhase = (output, context) => {
|
|
1407
|
-
return take(output, {
|
|
1408
|
-
contexts: _json,
|
|
1409
|
-
durationInSeconds: __expectLong,
|
|
1410
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1411
|
-
phaseStatus: __expectString,
|
|
1412
|
-
phaseType: __expectString,
|
|
1413
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1414
|
-
});
|
|
1415
|
-
};
|
|
1416
|
-
const de_BuildBatchPhases = (output, context) => {
|
|
1417
|
-
const retVal = (output || [])
|
|
1418
|
-
.filter((e) => e != null)
|
|
1419
|
-
.map((entry) => {
|
|
1420
|
-
return de_BuildBatchPhase(entry, context);
|
|
1421
|
-
});
|
|
1422
|
-
return retVal;
|
|
1423
|
-
};
|
|
1424
|
-
const de_BuildGroup = (output, context) => {
|
|
1425
|
-
return take(output, {
|
|
1426
|
-
currentBuildSummary: (_) => de_BuildSummary(_, context),
|
|
1427
|
-
dependsOn: _json,
|
|
1428
|
-
identifier: __expectString,
|
|
1429
|
-
ignoreFailure: __expectBoolean,
|
|
1430
|
-
priorBuildSummaryList: (_) => de_BuildSummaries(_, context),
|
|
1431
|
-
});
|
|
1432
|
-
};
|
|
1433
|
-
const de_BuildGroups = (output, context) => {
|
|
1434
|
-
const retVal = (output || [])
|
|
1435
|
-
.filter((e) => e != null)
|
|
1436
|
-
.map((entry) => {
|
|
1437
|
-
return de_BuildGroup(entry, context);
|
|
1438
|
-
});
|
|
1439
|
-
return retVal;
|
|
1440
|
-
};
|
|
1441
|
-
const de_BuildPhase = (output, context) => {
|
|
1442
|
-
return take(output, {
|
|
1443
|
-
contexts: _json,
|
|
1444
|
-
durationInSeconds: __expectLong,
|
|
1445
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1446
|
-
phaseStatus: __expectString,
|
|
1447
|
-
phaseType: __expectString,
|
|
1448
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1449
|
-
});
|
|
1450
|
-
};
|
|
1451
|
-
const de_BuildPhases = (output, context) => {
|
|
1452
|
-
const retVal = (output || [])
|
|
1453
|
-
.filter((e) => e != null)
|
|
1454
|
-
.map((entry) => {
|
|
1455
|
-
return de_BuildPhase(entry, context);
|
|
1456
|
-
});
|
|
1457
|
-
return retVal;
|
|
1458
|
-
};
|
|
1459
|
-
const de_Builds = (output, context) => {
|
|
1460
|
-
const retVal = (output || [])
|
|
1461
|
-
.filter((e) => e != null)
|
|
1462
|
-
.map((entry) => {
|
|
1463
|
-
return de_Build(entry, context);
|
|
1464
|
-
});
|
|
1465
|
-
return retVal;
|
|
1466
|
-
};
|
|
1467
|
-
const de_BuildSummaries = (output, context) => {
|
|
1468
|
-
const retVal = (output || [])
|
|
1469
|
-
.filter((e) => e != null)
|
|
1470
|
-
.map((entry) => {
|
|
1471
|
-
return de_BuildSummary(entry, context);
|
|
1472
|
-
});
|
|
1473
|
-
return retVal;
|
|
1474
|
-
};
|
|
1475
|
-
const de_BuildSummary = (output, context) => {
|
|
1476
|
-
return take(output, {
|
|
1477
|
-
arn: __expectString,
|
|
1478
|
-
buildStatus: __expectString,
|
|
1479
|
-
primaryArtifact: _json,
|
|
1480
|
-
requestedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1481
|
-
secondaryArtifacts: _json,
|
|
1482
|
-
});
|
|
1483
|
-
};
|
|
1484
|
-
const de_CodeCoverage = (output, context) => {
|
|
1485
|
-
return take(output, {
|
|
1486
|
-
branchCoveragePercentage: __limitedParseDouble,
|
|
1487
|
-
branchesCovered: __expectInt32,
|
|
1488
|
-
branchesMissed: __expectInt32,
|
|
1489
|
-
expired: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1490
|
-
filePath: __expectString,
|
|
1491
|
-
id: __expectString,
|
|
1492
|
-
lineCoveragePercentage: __limitedParseDouble,
|
|
1493
|
-
linesCovered: __expectInt32,
|
|
1494
|
-
linesMissed: __expectInt32,
|
|
1495
|
-
reportARN: __expectString,
|
|
1496
|
-
});
|
|
1497
|
-
};
|
|
1498
|
-
const de_CodeCoverageReportSummary = (output, context) => {
|
|
1499
|
-
return take(output, {
|
|
1500
|
-
branchCoveragePercentage: __limitedParseDouble,
|
|
1501
|
-
branchesCovered: __expectInt32,
|
|
1502
|
-
branchesMissed: __expectInt32,
|
|
1503
|
-
lineCoveragePercentage: __limitedParseDouble,
|
|
1504
|
-
linesCovered: __expectInt32,
|
|
1505
|
-
linesMissed: __expectInt32,
|
|
1506
|
-
});
|
|
1507
|
-
};
|
|
1508
|
-
const de_CodeCoverages = (output, context) => {
|
|
1509
|
-
const retVal = (output || [])
|
|
1510
|
-
.filter((e) => e != null)
|
|
1511
|
-
.map((entry) => {
|
|
1512
|
-
return de_CodeCoverage(entry, context);
|
|
1513
|
-
});
|
|
1514
|
-
return retVal;
|
|
1515
|
-
};
|
|
1516
|
-
const de_CommandExecution = (output, context) => {
|
|
1517
|
-
return take(output, {
|
|
1518
|
-
command: __expectString,
|
|
1519
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1520
|
-
exitCode: __expectString,
|
|
1521
|
-
id: __expectString,
|
|
1522
|
-
logs: _json,
|
|
1523
|
-
sandboxArn: __expectString,
|
|
1524
|
-
sandboxId: __expectString,
|
|
1525
|
-
standardErrContent: __expectString,
|
|
1526
|
-
standardOutputContent: __expectString,
|
|
1527
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1528
|
-
status: __expectString,
|
|
1529
|
-
submitTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1530
|
-
type: __expectString,
|
|
1531
|
-
});
|
|
1532
|
-
};
|
|
1533
|
-
const de_CommandExecutions = (output, context) => {
|
|
1534
|
-
const retVal = (output || [])
|
|
1535
|
-
.filter((e) => e != null)
|
|
1536
|
-
.map((entry) => {
|
|
1537
|
-
return de_CommandExecution(entry, context);
|
|
1538
|
-
});
|
|
1539
|
-
return retVal;
|
|
1540
|
-
};
|
|
1541
|
-
const de_CreateFleetOutput = (output, context) => {
|
|
1542
|
-
return take(output, {
|
|
1543
|
-
fleet: (_) => de_Fleet(_, context),
|
|
1544
|
-
});
|
|
1545
|
-
};
|
|
1546
|
-
const de_CreateProjectOutput = (output, context) => {
|
|
1547
|
-
return take(output, {
|
|
1548
|
-
project: (_) => de_Project(_, context),
|
|
1549
|
-
});
|
|
1550
|
-
};
|
|
1551
|
-
const de_CreateReportGroupOutput = (output, context) => {
|
|
1552
|
-
return take(output, {
|
|
1553
|
-
reportGroup: (_) => de_ReportGroup(_, context),
|
|
1554
|
-
});
|
|
1555
|
-
};
|
|
1556
|
-
const de_CreateWebhookOutput = (output, context) => {
|
|
1557
|
-
return take(output, {
|
|
1558
|
-
webhook: (_) => de_Webhook(_, context),
|
|
1559
|
-
});
|
|
1560
|
-
};
|
|
1561
|
-
const de_DescribeCodeCoveragesOutput = (output, context) => {
|
|
1562
|
-
return take(output, {
|
|
1563
|
-
codeCoverages: (_) => de_CodeCoverages(_, context),
|
|
1564
|
-
nextToken: __expectString,
|
|
1565
|
-
});
|
|
1566
|
-
};
|
|
1567
|
-
const de_DescribeTestCasesOutput = (output, context) => {
|
|
1568
|
-
return take(output, {
|
|
1569
|
-
nextToken: __expectString,
|
|
1570
|
-
testCases: (_) => de_TestCases(_, context),
|
|
1571
|
-
});
|
|
1572
|
-
};
|
|
1573
|
-
const de_Fleet = (output, context) => {
|
|
1574
|
-
return take(output, {
|
|
1575
|
-
arn: __expectString,
|
|
1576
|
-
baseCapacity: __expectInt32,
|
|
1577
|
-
computeConfiguration: _json,
|
|
1578
|
-
computeType: __expectString,
|
|
1579
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1580
|
-
environmentType: __expectString,
|
|
1581
|
-
fleetServiceRole: __expectString,
|
|
1582
|
-
id: __expectString,
|
|
1583
|
-
imageId: __expectString,
|
|
1584
|
-
lastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1585
|
-
name: __expectString,
|
|
1586
|
-
overflowBehavior: __expectString,
|
|
1587
|
-
proxyConfiguration: _json,
|
|
1588
|
-
scalingConfiguration: (_) => de_ScalingConfigurationOutput(_, context),
|
|
1589
|
-
status: _json,
|
|
1590
|
-
tags: _json,
|
|
1591
|
-
vpcConfig: _json,
|
|
1592
|
-
});
|
|
1593
|
-
};
|
|
1594
|
-
const de_Fleets = (output, context) => {
|
|
1595
|
-
const retVal = (output || [])
|
|
1596
|
-
.filter((e) => e != null)
|
|
1597
|
-
.map((entry) => {
|
|
1598
|
-
return de_Fleet(entry, context);
|
|
1599
|
-
});
|
|
1600
|
-
return retVal;
|
|
1601
|
-
};
|
|
1602
|
-
const de_ListCommandExecutionsForSandboxOutput = (output, context) => {
|
|
1603
|
-
return take(output, {
|
|
1604
|
-
commandExecutions: (_) => de_CommandExecutions(_, context),
|
|
1605
|
-
nextToken: __expectString,
|
|
1606
|
-
});
|
|
1607
|
-
};
|
|
1608
|
-
const de_Project = (output, context) => {
|
|
1609
|
-
return take(output, {
|
|
1610
|
-
arn: __expectString,
|
|
1611
|
-
artifacts: _json,
|
|
1612
|
-
autoRetryLimit: __expectInt32,
|
|
1613
|
-
badge: _json,
|
|
1614
|
-
buildBatchConfig: _json,
|
|
1615
|
-
cache: _json,
|
|
1616
|
-
concurrentBuildLimit: __expectInt32,
|
|
1617
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1618
|
-
description: __expectString,
|
|
1619
|
-
encryptionKey: __expectString,
|
|
1620
|
-
environment: _json,
|
|
1621
|
-
fileSystemLocations: _json,
|
|
1622
|
-
lastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1623
|
-
logsConfig: _json,
|
|
1624
|
-
name: __expectString,
|
|
1625
|
-
projectVisibility: __expectString,
|
|
1626
|
-
publicProjectAlias: __expectString,
|
|
1627
|
-
queuedTimeoutInMinutes: __expectInt32,
|
|
1628
|
-
resourceAccessRole: __expectString,
|
|
1629
|
-
secondaryArtifacts: _json,
|
|
1630
|
-
secondarySourceVersions: _json,
|
|
1631
|
-
secondarySources: _json,
|
|
1632
|
-
serviceRole: __expectString,
|
|
1633
|
-
source: _json,
|
|
1634
|
-
sourceVersion: __expectString,
|
|
1635
|
-
tags: _json,
|
|
1636
|
-
timeoutInMinutes: __expectInt32,
|
|
1637
|
-
vpcConfig: _json,
|
|
1638
|
-
webhook: (_) => de_Webhook(_, context),
|
|
1639
|
-
});
|
|
1640
|
-
};
|
|
1641
|
-
const de_Projects = (output, context) => {
|
|
1642
|
-
const retVal = (output || [])
|
|
1643
|
-
.filter((e) => e != null)
|
|
1644
|
-
.map((entry) => {
|
|
1645
|
-
return de_Project(entry, context);
|
|
1646
|
-
});
|
|
1647
|
-
return retVal;
|
|
1648
|
-
};
|
|
1649
|
-
const de_Report = (output, context) => {
|
|
1650
|
-
return take(output, {
|
|
1651
|
-
arn: __expectString,
|
|
1652
|
-
codeCoverageSummary: (_) => de_CodeCoverageReportSummary(_, context),
|
|
1653
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1654
|
-
executionId: __expectString,
|
|
1655
|
-
expired: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1656
|
-
exportConfig: _json,
|
|
1657
|
-
name: __expectString,
|
|
1658
|
-
reportGroupArn: __expectString,
|
|
1659
|
-
status: __expectString,
|
|
1660
|
-
testSummary: _json,
|
|
1661
|
-
truncated: __expectBoolean,
|
|
1662
|
-
type: __expectString,
|
|
1663
|
-
});
|
|
1664
|
-
};
|
|
1665
|
-
const de_ReportGroup = (output, context) => {
|
|
1666
|
-
return take(output, {
|
|
1667
|
-
arn: __expectString,
|
|
1668
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1669
|
-
exportConfig: _json,
|
|
1670
|
-
lastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1671
|
-
name: __expectString,
|
|
1672
|
-
status: __expectString,
|
|
1673
|
-
tags: _json,
|
|
1674
|
-
type: __expectString,
|
|
1675
|
-
});
|
|
1676
|
-
};
|
|
1677
|
-
const de_ReportGroups = (output, context) => {
|
|
1678
|
-
const retVal = (output || [])
|
|
1679
|
-
.filter((e) => e != null)
|
|
1680
|
-
.map((entry) => {
|
|
1681
|
-
return de_ReportGroup(entry, context);
|
|
1682
|
-
});
|
|
1683
|
-
return retVal;
|
|
1684
|
-
};
|
|
1685
|
-
const de_Reports = (output, context) => {
|
|
1686
|
-
const retVal = (output || [])
|
|
1687
|
-
.filter((e) => e != null)
|
|
1688
|
-
.map((entry) => {
|
|
1689
|
-
return de_Report(entry, context);
|
|
1690
|
-
});
|
|
1691
|
-
return retVal;
|
|
1692
|
-
};
|
|
1693
|
-
const de_RetryBuildBatchOutput = (output, context) => {
|
|
1694
|
-
return take(output, {
|
|
1695
|
-
buildBatch: (_) => de_BuildBatch(_, context),
|
|
1696
|
-
});
|
|
1697
|
-
};
|
|
1698
|
-
const de_RetryBuildOutput = (output, context) => {
|
|
1699
|
-
return take(output, {
|
|
1700
|
-
build: (_) => de_Build(_, context),
|
|
1701
|
-
});
|
|
1702
|
-
};
|
|
1703
|
-
const de_Sandbox = (output, context) => {
|
|
1704
|
-
return take(output, {
|
|
1705
|
-
arn: __expectString,
|
|
1706
|
-
currentSession: (_) => de_SandboxSession(_, context),
|
|
1707
|
-
encryptionKey: __expectString,
|
|
1708
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1709
|
-
environment: _json,
|
|
1710
|
-
fileSystemLocations: _json,
|
|
1711
|
-
id: __expectString,
|
|
1712
|
-
logConfig: _json,
|
|
1713
|
-
projectName: __expectString,
|
|
1714
|
-
queuedTimeoutInMinutes: __expectInt32,
|
|
1715
|
-
requestTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1716
|
-
secondarySourceVersions: _json,
|
|
1717
|
-
secondarySources: _json,
|
|
1718
|
-
serviceRole: __expectString,
|
|
1719
|
-
source: _json,
|
|
1720
|
-
sourceVersion: __expectString,
|
|
1721
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1722
|
-
status: __expectString,
|
|
1723
|
-
timeoutInMinutes: __expectInt32,
|
|
1724
|
-
vpcConfig: _json,
|
|
1725
|
-
});
|
|
1726
|
-
};
|
|
1727
|
-
const de_Sandboxes = (output, context) => {
|
|
1728
|
-
const retVal = (output || [])
|
|
1729
|
-
.filter((e) => e != null)
|
|
1730
|
-
.map((entry) => {
|
|
1731
|
-
return de_Sandbox(entry, context);
|
|
1732
|
-
});
|
|
1733
|
-
return retVal;
|
|
1734
|
-
};
|
|
1735
|
-
const de_SandboxSession = (output, context) => {
|
|
1736
|
-
return take(output, {
|
|
1737
|
-
currentPhase: __expectString,
|
|
1738
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1739
|
-
id: __expectString,
|
|
1740
|
-
logs: _json,
|
|
1741
|
-
networkInterface: _json,
|
|
1742
|
-
phases: (_) => de_SandboxSessionPhases(_, context),
|
|
1743
|
-
resolvedSourceVersion: __expectString,
|
|
1744
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1745
|
-
status: __expectString,
|
|
1746
|
-
});
|
|
1747
|
-
};
|
|
1748
|
-
const de_SandboxSessionPhase = (output, context) => {
|
|
1749
|
-
return take(output, {
|
|
1750
|
-
contexts: _json,
|
|
1751
|
-
durationInSeconds: __expectLong,
|
|
1752
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1753
|
-
phaseStatus: __expectString,
|
|
1754
|
-
phaseType: __expectString,
|
|
1755
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1756
|
-
});
|
|
1757
|
-
};
|
|
1758
|
-
const de_SandboxSessionPhases = (output, context) => {
|
|
1759
|
-
const retVal = (output || [])
|
|
1760
|
-
.filter((e) => e != null)
|
|
1761
|
-
.map((entry) => {
|
|
1762
|
-
return de_SandboxSessionPhase(entry, context);
|
|
1763
|
-
});
|
|
1764
|
-
return retVal;
|
|
1765
|
-
};
|
|
1766
|
-
const de_ScalingConfigurationOutput = (output, context) => {
|
|
1767
|
-
return take(output, {
|
|
1768
|
-
desiredCapacity: __expectInt32,
|
|
1769
|
-
maxCapacity: __expectInt32,
|
|
1770
|
-
scalingType: __expectString,
|
|
1771
|
-
targetTrackingScalingConfigs: (_) => de_TargetTrackingScalingConfigurations(_, context),
|
|
1772
|
-
});
|
|
1773
|
-
};
|
|
1774
|
-
const de_StartBuildBatchOutput = (output, context) => {
|
|
1775
|
-
return take(output, {
|
|
1776
|
-
buildBatch: (_) => de_BuildBatch(_, context),
|
|
1777
|
-
});
|
|
1778
|
-
};
|
|
1779
|
-
const de_StartBuildOutput = (output, context) => {
|
|
1780
|
-
return take(output, {
|
|
1781
|
-
build: (_) => de_Build(_, context),
|
|
1782
|
-
});
|
|
1783
|
-
};
|
|
1784
|
-
const de_StartCommandExecutionOutput = (output, context) => {
|
|
1785
|
-
return take(output, {
|
|
1786
|
-
commandExecution: (_) => de_CommandExecution(_, context),
|
|
1787
|
-
});
|
|
1788
|
-
};
|
|
1789
|
-
const de_StartSandboxOutput = (output, context) => {
|
|
1790
|
-
return take(output, {
|
|
1791
|
-
sandbox: (_) => de_Sandbox(_, context),
|
|
1792
|
-
});
|
|
1793
|
-
};
|
|
1794
|
-
const de_StopBuildBatchOutput = (output, context) => {
|
|
1795
|
-
return take(output, {
|
|
1796
|
-
buildBatch: (_) => de_BuildBatch(_, context),
|
|
1797
|
-
});
|
|
1798
|
-
};
|
|
1799
|
-
const de_StopBuildOutput = (output, context) => {
|
|
1800
|
-
return take(output, {
|
|
1801
|
-
build: (_) => de_Build(_, context),
|
|
1802
|
-
});
|
|
1803
|
-
};
|
|
1804
|
-
const de_StopSandboxOutput = (output, context) => {
|
|
1805
|
-
return take(output, {
|
|
1806
|
-
sandbox: (_) => de_Sandbox(_, context),
|
|
1807
|
-
});
|
|
1808
|
-
};
|
|
1809
|
-
const de_TargetTrackingScalingConfiguration = (output, context) => {
|
|
1810
|
-
return take(output, {
|
|
1811
|
-
metricType: __expectString,
|
|
1812
|
-
targetValue: __limitedParseDouble,
|
|
1813
|
-
});
|
|
1814
|
-
};
|
|
1815
|
-
const de_TargetTrackingScalingConfigurations = (output, context) => {
|
|
1816
|
-
const retVal = (output || [])
|
|
1817
|
-
.filter((e) => e != null)
|
|
1818
|
-
.map((entry) => {
|
|
1819
|
-
return de_TargetTrackingScalingConfiguration(entry, context);
|
|
1820
|
-
});
|
|
1821
|
-
return retVal;
|
|
1822
|
-
};
|
|
1823
|
-
const de_TestCase = (output, context) => {
|
|
1824
|
-
return take(output, {
|
|
1825
|
-
durationInNanoSeconds: __expectLong,
|
|
1826
|
-
expired: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1827
|
-
message: __expectString,
|
|
1828
|
-
name: __expectString,
|
|
1829
|
-
prefix: __expectString,
|
|
1830
|
-
reportArn: __expectString,
|
|
1831
|
-
status: __expectString,
|
|
1832
|
-
testRawDataPath: __expectString,
|
|
1833
|
-
testSuiteName: __expectString,
|
|
1834
|
-
});
|
|
1835
|
-
};
|
|
1836
|
-
const de_TestCases = (output, context) => {
|
|
1837
|
-
const retVal = (output || [])
|
|
1838
|
-
.filter((e) => e != null)
|
|
1839
|
-
.map((entry) => {
|
|
1840
|
-
return de_TestCase(entry, context);
|
|
1841
|
-
});
|
|
1842
|
-
return retVal;
|
|
1843
|
-
};
|
|
1844
|
-
const de_UpdateFleetOutput = (output, context) => {
|
|
1845
|
-
return take(output, {
|
|
1846
|
-
fleet: (_) => de_Fleet(_, context),
|
|
1847
|
-
});
|
|
1848
|
-
};
|
|
1849
|
-
const de_UpdateProjectOutput = (output, context) => {
|
|
1850
|
-
return take(output, {
|
|
1851
|
-
project: (_) => de_Project(_, context),
|
|
1852
|
-
});
|
|
1853
|
-
};
|
|
1854
|
-
const de_UpdateReportGroupOutput = (output, context) => {
|
|
1855
|
-
return take(output, {
|
|
1856
|
-
reportGroup: (_) => de_ReportGroup(_, context),
|
|
1857
|
-
});
|
|
1858
|
-
};
|
|
1859
|
-
const de_UpdateWebhookOutput = (output, context) => {
|
|
1860
|
-
return take(output, {
|
|
1861
|
-
webhook: (_) => de_Webhook(_, context),
|
|
1862
|
-
});
|
|
1863
|
-
};
|
|
1864
|
-
const de_Webhook = (output, context) => {
|
|
1865
|
-
return take(output, {
|
|
1866
|
-
branchFilter: __expectString,
|
|
1867
|
-
buildType: __expectString,
|
|
1868
|
-
filterGroups: _json,
|
|
1869
|
-
lastModifiedSecret: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1870
|
-
manualCreation: __expectBoolean,
|
|
1871
|
-
payloadUrl: __expectString,
|
|
1872
|
-
pullRequestBuildPolicy: _json,
|
|
1873
|
-
scopeConfiguration: _json,
|
|
1874
|
-
secret: __expectString,
|
|
1875
|
-
status: __expectString,
|
|
1876
|
-
statusMessage: __expectString,
|
|
1877
|
-
url: __expectString,
|
|
1878
|
-
});
|
|
1879
|
-
};
|
|
1880
|
-
const deserializeMetadata = (output) => ({
|
|
1881
|
-
httpStatusCode: output.statusCode,
|
|
1882
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1883
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1884
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1885
|
-
});
|
|
1886
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1887
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1888
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1889
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1890
|
-
const contents = {
|
|
1891
|
-
protocol,
|
|
1892
|
-
hostname,
|
|
1893
|
-
port,
|
|
1894
|
-
method: "POST",
|
|
1895
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1896
|
-
headers,
|
|
1897
|
-
};
|
|
1898
|
-
if (resolvedHostname !== undefined) {
|
|
1899
|
-
contents.hostname = resolvedHostname;
|
|
1900
|
-
}
|
|
1901
|
-
if (body !== undefined) {
|
|
1902
|
-
contents.body = body;
|
|
1903
|
-
}
|
|
1904
|
-
return new __HttpRequest(contents);
|
|
1905
|
-
};
|
|
1906
|
-
function sharedHeaders(operation) {
|
|
1907
|
-
return {
|
|
1908
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1909
|
-
"x-amz-target": `CodeBuild_20161006.${operation}`,
|
|
1910
|
-
};
|
|
1911
|
-
}
|