@aws-sdk/client-codebuild 3.490.0 → 3.495.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.
Files changed (71) hide show
  1. package/dist-cjs/CodeBuild.js +1 -101
  2. package/dist-cjs/CodeBuildClient.js +1 -43
  3. package/dist-cjs/commands/BatchDeleteBuildsCommand.js +1 -28
  4. package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetBuildsCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetProjectsCommand.js +1 -28
  7. package/dist-cjs/commands/BatchGetReportGroupsCommand.js +1 -28
  8. package/dist-cjs/commands/BatchGetReportsCommand.js +1 -28
  9. package/dist-cjs/commands/CreateProjectCommand.js +1 -28
  10. package/dist-cjs/commands/CreateReportGroupCommand.js +1 -28
  11. package/dist-cjs/commands/CreateWebhookCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteBuildBatchCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteProjectCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteReportCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteReportGroupCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteWebhookCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeTestCasesCommand.js +1 -28
  21. package/dist-cjs/commands/GetReportGroupTrendCommand.js +1 -28
  22. package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
  23. package/dist-cjs/commands/ImportSourceCredentialsCommand.js +1 -29
  24. package/dist-cjs/commands/InvalidateProjectCacheCommand.js +1 -28
  25. package/dist-cjs/commands/ListBuildBatchesCommand.js +1 -28
  26. package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +1 -28
  27. package/dist-cjs/commands/ListBuildsCommand.js +1 -28
  28. package/dist-cjs/commands/ListBuildsForProjectCommand.js +1 -28
  29. package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +1 -28
  30. package/dist-cjs/commands/ListProjectsCommand.js +1 -28
  31. package/dist-cjs/commands/ListReportGroupsCommand.js +1 -28
  32. package/dist-cjs/commands/ListReportsCommand.js +1 -28
  33. package/dist-cjs/commands/ListReportsForReportGroupCommand.js +1 -28
  34. package/dist-cjs/commands/ListSharedProjectsCommand.js +1 -28
  35. package/dist-cjs/commands/ListSharedReportGroupsCommand.js +1 -28
  36. package/dist-cjs/commands/ListSourceCredentialsCommand.js +1 -28
  37. package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
  38. package/dist-cjs/commands/RetryBuildBatchCommand.js +1 -28
  39. package/dist-cjs/commands/RetryBuildCommand.js +1 -28
  40. package/dist-cjs/commands/StartBuildBatchCommand.js +1 -28
  41. package/dist-cjs/commands/StartBuildCommand.js +1 -28
  42. package/dist-cjs/commands/StopBuildBatchCommand.js +1 -28
  43. package/dist-cjs/commands/StopBuildCommand.js +1 -28
  44. package/dist-cjs/commands/UpdateProjectCommand.js +1 -28
  45. package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +1 -28
  46. package/dist-cjs/commands/UpdateReportGroupCommand.js +1 -28
  47. package/dist-cjs/commands/UpdateWebhookCommand.js +1 -28
  48. package/dist-cjs/commands/index.js +1 -48
  49. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  50. package/dist-cjs/extensionConfiguration.js +1 -2
  51. package/dist-cjs/index.js +3842 -11
  52. package/dist-cjs/models/CodeBuildServiceException.js +1 -12
  53. package/dist-cjs/models/index.js +1 -4
  54. package/dist-cjs/models/models_0.js +1 -293
  55. package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +1 -7
  56. package/dist-cjs/pagination/DescribeTestCasesPaginator.js +1 -7
  57. package/dist-cjs/pagination/Interfaces.js +1 -2
  58. package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListBuildBatchesPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +1 -7
  61. package/dist-cjs/pagination/ListBuildsPaginator.js +1 -7
  62. package/dist-cjs/pagination/ListProjectsPaginator.js +1 -7
  63. package/dist-cjs/pagination/ListReportGroupsPaginator.js +1 -7
  64. package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListReportsPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListSharedProjectsPaginator.js +1 -7
  67. package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +1 -7
  68. package/dist-cjs/pagination/index.js +1 -16
  69. package/dist-cjs/protocols/Aws_json1_1.js +1 -2434
  70. package/dist-cjs/runtimeExtensions.js +1 -22
  71. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3843 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodeBuildServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CodeBuildClient"), exports);
6
- tslib_1.__exportStar(require("./CodeBuild"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var CodeBuildServiceException_1 = require("./models/CodeBuildServiceException");
12
- Object.defineProperty(exports, "CodeBuildServiceException", { enumerable: true, get: function () { return CodeBuildServiceException_1.CodeBuildServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccountLimitExceededException: () => AccountLimitExceededException,
25
+ ArtifactNamespace: () => ArtifactNamespace,
26
+ ArtifactPackaging: () => ArtifactPackaging,
27
+ ArtifactsType: () => ArtifactsType,
28
+ AuthType: () => AuthType,
29
+ BatchDeleteBuildsCommand: () => BatchDeleteBuildsCommand,
30
+ BatchGetBuildBatchesCommand: () => BatchGetBuildBatchesCommand,
31
+ BatchGetBuildsCommand: () => BatchGetBuildsCommand,
32
+ BatchGetProjectsCommand: () => BatchGetProjectsCommand,
33
+ BatchGetReportGroupsCommand: () => BatchGetReportGroupsCommand,
34
+ BatchGetReportsCommand: () => BatchGetReportsCommand,
35
+ BatchReportModeType: () => BatchReportModeType,
36
+ BucketOwnerAccess: () => BucketOwnerAccess,
37
+ BuildBatchPhaseType: () => BuildBatchPhaseType,
38
+ BuildPhaseType: () => BuildPhaseType,
39
+ CacheMode: () => CacheMode,
40
+ CacheType: () => CacheType,
41
+ CodeBuild: () => CodeBuild,
42
+ CodeBuildClient: () => CodeBuildClient,
43
+ CodeBuildServiceException: () => CodeBuildServiceException,
44
+ ComputeType: () => ComputeType,
45
+ CreateProjectCommand: () => CreateProjectCommand,
46
+ CreateReportGroupCommand: () => CreateReportGroupCommand,
47
+ CreateWebhookCommand: () => CreateWebhookCommand,
48
+ CredentialProviderType: () => CredentialProviderType,
49
+ DeleteBuildBatchCommand: () => DeleteBuildBatchCommand,
50
+ DeleteProjectCommand: () => DeleteProjectCommand,
51
+ DeleteReportCommand: () => DeleteReportCommand,
52
+ DeleteReportGroupCommand: () => DeleteReportGroupCommand,
53
+ DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
54
+ DeleteSourceCredentialsCommand: () => DeleteSourceCredentialsCommand,
55
+ DeleteWebhookCommand: () => DeleteWebhookCommand,
56
+ DescribeCodeCoveragesCommand: () => DescribeCodeCoveragesCommand,
57
+ DescribeTestCasesCommand: () => DescribeTestCasesCommand,
58
+ EnvironmentType: () => EnvironmentType,
59
+ EnvironmentVariableType: () => EnvironmentVariableType,
60
+ FileSystemType: () => FileSystemType,
61
+ GetReportGroupTrendCommand: () => GetReportGroupTrendCommand,
62
+ GetResourcePolicyCommand: () => GetResourcePolicyCommand,
63
+ ImagePullCredentialsType: () => ImagePullCredentialsType,
64
+ ImportSourceCredentialsCommand: () => ImportSourceCredentialsCommand,
65
+ ImportSourceCredentialsInputFilterSensitiveLog: () => ImportSourceCredentialsInputFilterSensitiveLog,
66
+ InvalidInputException: () => InvalidInputException,
67
+ InvalidateProjectCacheCommand: () => InvalidateProjectCacheCommand,
68
+ LanguageType: () => LanguageType,
69
+ ListBuildBatchesCommand: () => ListBuildBatchesCommand,
70
+ ListBuildBatchesForProjectCommand: () => ListBuildBatchesForProjectCommand,
71
+ ListBuildsCommand: () => ListBuildsCommand,
72
+ ListBuildsForProjectCommand: () => ListBuildsForProjectCommand,
73
+ ListCuratedEnvironmentImagesCommand: () => ListCuratedEnvironmentImagesCommand,
74
+ ListProjectsCommand: () => ListProjectsCommand,
75
+ ListReportGroupsCommand: () => ListReportGroupsCommand,
76
+ ListReportsCommand: () => ListReportsCommand,
77
+ ListReportsForReportGroupCommand: () => ListReportsForReportGroupCommand,
78
+ ListSharedProjectsCommand: () => ListSharedProjectsCommand,
79
+ ListSharedReportGroupsCommand: () => ListSharedReportGroupsCommand,
80
+ ListSourceCredentialsCommand: () => ListSourceCredentialsCommand,
81
+ LogsConfigStatusType: () => LogsConfigStatusType,
82
+ OAuthProviderException: () => OAuthProviderException,
83
+ PlatformType: () => PlatformType,
84
+ ProjectSortByType: () => ProjectSortByType,
85
+ ProjectVisibilityType: () => ProjectVisibilityType,
86
+ PutResourcePolicyCommand: () => PutResourcePolicyCommand,
87
+ ReportCodeCoverageSortByType: () => ReportCodeCoverageSortByType,
88
+ ReportExportConfigType: () => ReportExportConfigType,
89
+ ReportGroupSortByType: () => ReportGroupSortByType,
90
+ ReportGroupStatusType: () => ReportGroupStatusType,
91
+ ReportGroupTrendFieldType: () => ReportGroupTrendFieldType,
92
+ ReportPackagingType: () => ReportPackagingType,
93
+ ReportStatusType: () => ReportStatusType,
94
+ ReportType: () => ReportType,
95
+ ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
96
+ ResourceNotFoundException: () => ResourceNotFoundException,
97
+ RetryBuildBatchCommand: () => RetryBuildBatchCommand,
98
+ RetryBuildBatchType: () => RetryBuildBatchType,
99
+ RetryBuildCommand: () => RetryBuildCommand,
100
+ ServerType: () => ServerType,
101
+ SharedResourceSortByType: () => SharedResourceSortByType,
102
+ SortOrderType: () => SortOrderType,
103
+ SourceAuthType: () => SourceAuthType,
104
+ SourceType: () => SourceType,
105
+ StartBuildBatchCommand: () => StartBuildBatchCommand,
106
+ StartBuildCommand: () => StartBuildCommand,
107
+ StatusType: () => StatusType,
108
+ StopBuildBatchCommand: () => StopBuildBatchCommand,
109
+ StopBuildCommand: () => StopBuildCommand,
110
+ UpdateProjectCommand: () => UpdateProjectCommand,
111
+ UpdateProjectVisibilityCommand: () => UpdateProjectVisibilityCommand,
112
+ UpdateReportGroupCommand: () => UpdateReportGroupCommand,
113
+ UpdateWebhookCommand: () => UpdateWebhookCommand,
114
+ WebhookBuildType: () => WebhookBuildType,
115
+ WebhookFilterType: () => WebhookFilterType,
116
+ __Client: () => import_smithy_client.Client,
117
+ paginateDescribeCodeCoverages: () => paginateDescribeCodeCoverages,
118
+ paginateDescribeTestCases: () => paginateDescribeTestCases,
119
+ paginateListBuildBatches: () => paginateListBuildBatches,
120
+ paginateListBuildBatchesForProject: () => paginateListBuildBatchesForProject,
121
+ paginateListBuilds: () => paginateListBuilds,
122
+ paginateListBuildsForProject: () => paginateListBuildsForProject,
123
+ paginateListProjects: () => paginateListProjects,
124
+ paginateListReportGroups: () => paginateListReportGroups,
125
+ paginateListReports: () => paginateListReports,
126
+ paginateListReportsForReportGroup: () => paginateListReportsForReportGroup,
127
+ paginateListSharedProjects: () => paginateListSharedProjects,
128
+ paginateListSharedReportGroups: () => paginateListSharedReportGroups
129
+ });
130
+ module.exports = __toCommonJS(src_exports);
131
+
132
+ // src/CodeBuildClient.ts
133
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
134
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
135
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
136
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
137
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
138
+ var import_config_resolver = require("@smithy/config-resolver");
139
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
140
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
141
+ var import_middleware_retry = require("@smithy/middleware-retry");
142
+
143
+
144
+ // src/endpoint/EndpointParameters.ts
145
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
146
+ return {
147
+ ...options,
148
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
149
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
150
+ defaultSigningName: "codebuild"
151
+ };
152
+ }, "resolveClientEndpointParameters");
153
+ var commonParams = {
154
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
155
+ Endpoint: { type: "builtInParams", name: "endpoint" },
156
+ Region: { type: "builtInParams", name: "region" },
157
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
158
+ };
159
+
160
+ // src/CodeBuildClient.ts
161
+ var import_runtimeConfig = require("././runtimeConfig");
162
+
163
+ // src/runtimeExtensions.ts
164
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
165
+ var import_protocol_http = require("@smithy/protocol-http");
166
+ var import_smithy_client = require("@smithy/smithy-client");
167
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
168
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
169
+ const extensionConfiguration = {
170
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
171
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
172
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
173
+ };
174
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
175
+ return {
176
+ ...runtimeConfig,
177
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
178
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
179
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
180
+ };
181
+ }, "resolveRuntimeExtensions");
182
+
183
+ // src/CodeBuildClient.ts
184
+ var _CodeBuildClient = class _CodeBuildClient extends import_smithy_client.Client {
185
+ constructor(...[configuration]) {
186
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
187
+ const _config_1 = resolveClientEndpointParameters(_config_0);
188
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
189
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
190
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
191
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
192
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
193
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
194
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
195
+ super(_config_8);
196
+ this.config = _config_8;
197
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
198
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
199
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
200
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
201
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
202
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
203
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
204
+ }
205
+ /**
206
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
207
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
208
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
209
+ */
210
+ destroy() {
211
+ super.destroy();
212
+ }
213
+ };
214
+ __name(_CodeBuildClient, "CodeBuildClient");
215
+ var CodeBuildClient = _CodeBuildClient;
216
+
217
+ // src/CodeBuild.ts
218
+
219
+
220
+ // src/commands/BatchDeleteBuildsCommand.ts
221
+
222
+ var import_middleware_serde = require("@smithy/middleware-serde");
223
+
224
+ var import_types = require("@smithy/types");
225
+
226
+ // src/protocols/Aws_json1_1.ts
227
+
228
+
229
+
230
+ // src/models/CodeBuildServiceException.ts
231
+
232
+ var _CodeBuildServiceException = class _CodeBuildServiceException extends import_smithy_client.ServiceException {
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(options) {
237
+ super(options);
238
+ Object.setPrototypeOf(this, _CodeBuildServiceException.prototype);
239
+ }
240
+ };
241
+ __name(_CodeBuildServiceException, "CodeBuildServiceException");
242
+ var CodeBuildServiceException = _CodeBuildServiceException;
243
+
244
+ // src/models/models_0.ts
245
+
246
+ var _AccountLimitExceededException = class _AccountLimitExceededException extends CodeBuildServiceException {
247
+ /**
248
+ * @internal
249
+ */
250
+ constructor(opts) {
251
+ super({
252
+ name: "AccountLimitExceededException",
253
+ $fault: "client",
254
+ ...opts
255
+ });
256
+ this.name = "AccountLimitExceededException";
257
+ this.$fault = "client";
258
+ Object.setPrototypeOf(this, _AccountLimitExceededException.prototype);
259
+ }
260
+ };
261
+ __name(_AccountLimitExceededException, "AccountLimitExceededException");
262
+ var AccountLimitExceededException = _AccountLimitExceededException;
263
+ var ArtifactNamespace = {
264
+ BUILD_ID: "BUILD_ID",
265
+ NONE: "NONE"
266
+ };
267
+ var ArtifactPackaging = {
268
+ NONE: "NONE",
269
+ ZIP: "ZIP"
270
+ };
271
+ var ArtifactsType = {
272
+ CODEPIPELINE: "CODEPIPELINE",
273
+ NO_ARTIFACTS: "NO_ARTIFACTS",
274
+ S3: "S3"
275
+ };
276
+ var AuthType = {
277
+ BASIC_AUTH: "BASIC_AUTH",
278
+ OAUTH: "OAUTH",
279
+ PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN"
280
+ };
281
+ var _InvalidInputException = class _InvalidInputException extends CodeBuildServiceException {
282
+ /**
283
+ * @internal
284
+ */
285
+ constructor(opts) {
286
+ super({
287
+ name: "InvalidInputException",
288
+ $fault: "client",
289
+ ...opts
290
+ });
291
+ this.name = "InvalidInputException";
292
+ this.$fault = "client";
293
+ Object.setPrototypeOf(this, _InvalidInputException.prototype);
294
+ }
295
+ };
296
+ __name(_InvalidInputException, "InvalidInputException");
297
+ var InvalidInputException = _InvalidInputException;
298
+ var BucketOwnerAccess = {
299
+ FULL: "FULL",
300
+ NONE: "NONE",
301
+ READ_ONLY: "READ_ONLY"
302
+ };
303
+ var BatchReportModeType = {
304
+ REPORT_AGGREGATED_BATCH: "REPORT_AGGREGATED_BATCH",
305
+ REPORT_INDIVIDUAL_BUILDS: "REPORT_INDIVIDUAL_BUILDS"
306
+ };
307
+ var StatusType = {
308
+ FAILED: "FAILED",
309
+ FAULT: "FAULT",
310
+ IN_PROGRESS: "IN_PROGRESS",
311
+ STOPPED: "STOPPED",
312
+ SUCCEEDED: "SUCCEEDED",
313
+ TIMED_OUT: "TIMED_OUT"
314
+ };
315
+ var CacheMode = {
316
+ LOCAL_CUSTOM_CACHE: "LOCAL_CUSTOM_CACHE",
317
+ LOCAL_DOCKER_LAYER_CACHE: "LOCAL_DOCKER_LAYER_CACHE",
318
+ LOCAL_SOURCE_CACHE: "LOCAL_SOURCE_CACHE"
319
+ };
320
+ var CacheType = {
321
+ LOCAL: "LOCAL",
322
+ NO_CACHE: "NO_CACHE",
323
+ S3: "S3"
324
+ };
325
+ var ComputeType = {
326
+ BUILD_GENERAL1_2XLARGE: "BUILD_GENERAL1_2XLARGE",
327
+ BUILD_GENERAL1_LARGE: "BUILD_GENERAL1_LARGE",
328
+ BUILD_GENERAL1_MEDIUM: "BUILD_GENERAL1_MEDIUM",
329
+ BUILD_GENERAL1_SMALL: "BUILD_GENERAL1_SMALL",
330
+ BUILD_GENERAL1_XLARGE: "BUILD_GENERAL1_XLARGE",
331
+ BUILD_LAMBDA_10GB: "BUILD_LAMBDA_10GB",
332
+ BUILD_LAMBDA_1GB: "BUILD_LAMBDA_1GB",
333
+ BUILD_LAMBDA_2GB: "BUILD_LAMBDA_2GB",
334
+ BUILD_LAMBDA_4GB: "BUILD_LAMBDA_4GB",
335
+ BUILD_LAMBDA_8GB: "BUILD_LAMBDA_8GB"
336
+ };
337
+ var EnvironmentVariableType = {
338
+ PARAMETER_STORE: "PARAMETER_STORE",
339
+ PLAINTEXT: "PLAINTEXT",
340
+ SECRETS_MANAGER: "SECRETS_MANAGER"
341
+ };
342
+ var ImagePullCredentialsType = {
343
+ CODEBUILD: "CODEBUILD",
344
+ SERVICE_ROLE: "SERVICE_ROLE"
345
+ };
346
+ var CredentialProviderType = {
347
+ SECRETS_MANAGER: "SECRETS_MANAGER"
348
+ };
349
+ var EnvironmentType = {
350
+ ARM_CONTAINER: "ARM_CONTAINER",
351
+ ARM_LAMBDA_CONTAINER: "ARM_LAMBDA_CONTAINER",
352
+ LINUX_CONTAINER: "LINUX_CONTAINER",
353
+ LINUX_GPU_CONTAINER: "LINUX_GPU_CONTAINER",
354
+ LINUX_LAMBDA_CONTAINER: "LINUX_LAMBDA_CONTAINER",
355
+ WINDOWS_CONTAINER: "WINDOWS_CONTAINER",
356
+ WINDOWS_SERVER_2019_CONTAINER: "WINDOWS_SERVER_2019_CONTAINER"
357
+ };
358
+ var FileSystemType = {
359
+ EFS: "EFS"
360
+ };
361
+ var LogsConfigStatusType = {
362
+ DISABLED: "DISABLED",
363
+ ENABLED: "ENABLED"
364
+ };
365
+ var BuildBatchPhaseType = {
366
+ COMBINE_ARTIFACTS: "COMBINE_ARTIFACTS",
367
+ DOWNLOAD_BATCHSPEC: "DOWNLOAD_BATCHSPEC",
368
+ FAILED: "FAILED",
369
+ IN_PROGRESS: "IN_PROGRESS",
370
+ STOPPED: "STOPPED",
371
+ SUBMITTED: "SUBMITTED",
372
+ SUCCEEDED: "SUCCEEDED"
373
+ };
374
+ var SourceAuthType = {
375
+ OAUTH: "OAUTH"
376
+ };
377
+ var SourceType = {
378
+ BITBUCKET: "BITBUCKET",
379
+ CODECOMMIT: "CODECOMMIT",
380
+ CODEPIPELINE: "CODEPIPELINE",
381
+ GITHUB: "GITHUB",
382
+ GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
383
+ NO_SOURCE: "NO_SOURCE",
384
+ S3: "S3"
385
+ };
386
+ var BuildPhaseType = {
387
+ BUILD: "BUILD",
388
+ COMPLETED: "COMPLETED",
389
+ DOWNLOAD_SOURCE: "DOWNLOAD_SOURCE",
390
+ FINALIZING: "FINALIZING",
391
+ INSTALL: "INSTALL",
392
+ POST_BUILD: "POST_BUILD",
393
+ PRE_BUILD: "PRE_BUILD",
394
+ PROVISIONING: "PROVISIONING",
395
+ QUEUED: "QUEUED",
396
+ SUBMITTED: "SUBMITTED",
397
+ UPLOAD_ARTIFACTS: "UPLOAD_ARTIFACTS"
398
+ };
399
+ var ProjectVisibilityType = {
400
+ PRIVATE: "PRIVATE",
401
+ PUBLIC_READ: "PUBLIC_READ"
402
+ };
403
+ var WebhookBuildType = {
404
+ BUILD: "BUILD",
405
+ BUILD_BATCH: "BUILD_BATCH"
406
+ };
407
+ var WebhookFilterType = {
408
+ ACTOR_ACCOUNT_ID: "ACTOR_ACCOUNT_ID",
409
+ BASE_REF: "BASE_REF",
410
+ COMMIT_MESSAGE: "COMMIT_MESSAGE",
411
+ EVENT: "EVENT",
412
+ FILE_PATH: "FILE_PATH",
413
+ HEAD_REF: "HEAD_REF"
414
+ };
415
+ var ReportExportConfigType = {
416
+ NO_EXPORT: "NO_EXPORT",
417
+ S3: "S3"
418
+ };
419
+ var ReportPackagingType = {
420
+ NONE: "NONE",
421
+ ZIP: "ZIP"
422
+ };
423
+ var ReportGroupStatusType = {
424
+ ACTIVE: "ACTIVE",
425
+ DELETING: "DELETING"
426
+ };
427
+ var ReportType = {
428
+ CODE_COVERAGE: "CODE_COVERAGE",
429
+ TEST: "TEST"
430
+ };
431
+ var ReportStatusType = {
432
+ DELETING: "DELETING",
433
+ FAILED: "FAILED",
434
+ GENERATING: "GENERATING",
435
+ INCOMPLETE: "INCOMPLETE",
436
+ SUCCEEDED: "SUCCEEDED"
437
+ };
438
+ var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CodeBuildServiceException {
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts) {
443
+ super({
444
+ name: "ResourceAlreadyExistsException",
445
+ $fault: "client",
446
+ ...opts
447
+ });
448
+ this.name = "ResourceAlreadyExistsException";
449
+ this.$fault = "client";
450
+ Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
451
+ }
452
+ };
453
+ __name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
454
+ var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
455
+ var _OAuthProviderException = class _OAuthProviderException extends CodeBuildServiceException {
456
+ /**
457
+ * @internal
458
+ */
459
+ constructor(opts) {
460
+ super({
461
+ name: "OAuthProviderException",
462
+ $fault: "client",
463
+ ...opts
464
+ });
465
+ this.name = "OAuthProviderException";
466
+ this.$fault = "client";
467
+ Object.setPrototypeOf(this, _OAuthProviderException.prototype);
468
+ }
469
+ };
470
+ __name(_OAuthProviderException, "OAuthProviderException");
471
+ var OAuthProviderException = _OAuthProviderException;
472
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends CodeBuildServiceException {
473
+ /**
474
+ * @internal
475
+ */
476
+ constructor(opts) {
477
+ super({
478
+ name: "ResourceNotFoundException",
479
+ $fault: "client",
480
+ ...opts
481
+ });
482
+ this.name = "ResourceNotFoundException";
483
+ this.$fault = "client";
484
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
485
+ }
486
+ };
487
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
488
+ var ResourceNotFoundException = _ResourceNotFoundException;
489
+ var ReportCodeCoverageSortByType = {
490
+ FILE_PATH: "FILE_PATH",
491
+ LINE_COVERAGE_PERCENTAGE: "LINE_COVERAGE_PERCENTAGE"
492
+ };
493
+ var SortOrderType = {
494
+ ASCENDING: "ASCENDING",
495
+ DESCENDING: "DESCENDING"
496
+ };
497
+ var ReportGroupTrendFieldType = {
498
+ BRANCHES_COVERED: "BRANCHES_COVERED",
499
+ BRANCHES_MISSED: "BRANCHES_MISSED",
500
+ BRANCH_COVERAGE: "BRANCH_COVERAGE",
501
+ DURATION: "DURATION",
502
+ LINES_COVERED: "LINES_COVERED",
503
+ LINES_MISSED: "LINES_MISSED",
504
+ LINE_COVERAGE: "LINE_COVERAGE",
505
+ PASS_RATE: "PASS_RATE",
506
+ TOTAL: "TOTAL"
507
+ };
508
+ var ServerType = {
509
+ BITBUCKET: "BITBUCKET",
510
+ GITHUB: "GITHUB",
511
+ GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
512
+ };
513
+ var LanguageType = {
514
+ ANDROID: "ANDROID",
515
+ BASE: "BASE",
516
+ DOCKER: "DOCKER",
517
+ DOTNET: "DOTNET",
518
+ GOLANG: "GOLANG",
519
+ JAVA: "JAVA",
520
+ NODE_JS: "NODE_JS",
521
+ PHP: "PHP",
522
+ PYTHON: "PYTHON",
523
+ RUBY: "RUBY"
524
+ };
525
+ var PlatformType = {
526
+ AMAZON_LINUX: "AMAZON_LINUX",
527
+ DEBIAN: "DEBIAN",
528
+ UBUNTU: "UBUNTU",
529
+ WINDOWS_SERVER: "WINDOWS_SERVER"
530
+ };
531
+ var ProjectSortByType = {
532
+ CREATED_TIME: "CREATED_TIME",
533
+ LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
534
+ NAME: "NAME"
535
+ };
536
+ var ReportGroupSortByType = {
537
+ CREATED_TIME: "CREATED_TIME",
538
+ LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
539
+ NAME: "NAME"
540
+ };
541
+ var SharedResourceSortByType = {
542
+ ARN: "ARN",
543
+ MODIFIED_TIME: "MODIFIED_TIME"
544
+ };
545
+ var RetryBuildBatchType = {
546
+ RETRY_ALL_BUILDS: "RETRY_ALL_BUILDS",
547
+ RETRY_FAILED_BUILDS: "RETRY_FAILED_BUILDS"
548
+ };
549
+ var ImportSourceCredentialsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
550
+ ...obj,
551
+ ...obj.token && { token: import_smithy_client.SENSITIVE_STRING }
552
+ }), "ImportSourceCredentialsInputFilterSensitiveLog");
553
+
554
+ // src/protocols/Aws_json1_1.ts
555
+ var se_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {
556
+ const headers = sharedHeaders("BatchDeleteBuilds");
557
+ let body;
558
+ body = JSON.stringify((0, import_smithy_client._json)(input));
559
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
560
+ }, "se_BatchDeleteBuildsCommand");
561
+ var se_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (input, context) => {
562
+ const headers = sharedHeaders("BatchGetBuildBatches");
563
+ let body;
564
+ body = JSON.stringify((0, import_smithy_client._json)(input));
565
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
566
+ }, "se_BatchGetBuildBatchesCommand");
567
+ var se_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {
568
+ const headers = sharedHeaders("BatchGetBuilds");
569
+ let body;
570
+ body = JSON.stringify((0, import_smithy_client._json)(input));
571
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
572
+ }, "se_BatchGetBuildsCommand");
573
+ var se_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
574
+ const headers = sharedHeaders("BatchGetProjects");
575
+ let body;
576
+ body = JSON.stringify((0, import_smithy_client._json)(input));
577
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
578
+ }, "se_BatchGetProjectsCommand");
579
+ var se_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
580
+ const headers = sharedHeaders("BatchGetReportGroups");
581
+ let body;
582
+ body = JSON.stringify((0, import_smithy_client._json)(input));
583
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
584
+ }, "se_BatchGetReportGroupsCommand");
585
+ var se_BatchGetReportsCommand = /* @__PURE__ */ __name(async (input, context) => {
586
+ const headers = sharedHeaders("BatchGetReports");
587
+ let body;
588
+ body = JSON.stringify((0, import_smithy_client._json)(input));
589
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
590
+ }, "se_BatchGetReportsCommand");
591
+ var se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
592
+ const headers = sharedHeaders("CreateProject");
593
+ let body;
594
+ body = JSON.stringify((0, import_smithy_client._json)(input));
595
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
596
+ }, "se_CreateProjectCommand");
597
+ var se_CreateReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
598
+ const headers = sharedHeaders("CreateReportGroup");
599
+ let body;
600
+ body = JSON.stringify((0, import_smithy_client._json)(input));
601
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
602
+ }, "se_CreateReportGroupCommand");
603
+ var se_CreateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
604
+ const headers = sharedHeaders("CreateWebhook");
605
+ let body;
606
+ body = JSON.stringify((0, import_smithy_client._json)(input));
607
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
608
+ }, "se_CreateWebhookCommand");
609
+ var se_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
610
+ const headers = sharedHeaders("DeleteBuildBatch");
611
+ let body;
612
+ body = JSON.stringify((0, import_smithy_client._json)(input));
613
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
614
+ }, "se_DeleteBuildBatchCommand");
615
+ var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
616
+ const headers = sharedHeaders("DeleteProject");
617
+ let body;
618
+ body = JSON.stringify((0, import_smithy_client._json)(input));
619
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
620
+ }, "se_DeleteProjectCommand");
621
+ var se_DeleteReportCommand = /* @__PURE__ */ __name(async (input, context) => {
622
+ const headers = sharedHeaders("DeleteReport");
623
+ let body;
624
+ body = JSON.stringify((0, import_smithy_client._json)(input));
625
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
626
+ }, "se_DeleteReportCommand");
627
+ var se_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
628
+ const headers = sharedHeaders("DeleteReportGroup");
629
+ let body;
630
+ body = JSON.stringify((0, import_smithy_client._json)(input));
631
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
632
+ }, "se_DeleteReportGroupCommand");
633
+ var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
634
+ const headers = sharedHeaders("DeleteResourcePolicy");
635
+ let body;
636
+ body = JSON.stringify((0, import_smithy_client._json)(input));
637
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
638
+ }, "se_DeleteResourcePolicyCommand");
639
+ var se_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
640
+ const headers = sharedHeaders("DeleteSourceCredentials");
641
+ let body;
642
+ body = JSON.stringify((0, import_smithy_client._json)(input));
643
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
644
+ }, "se_DeleteSourceCredentialsCommand");
645
+ var se_DeleteWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
646
+ const headers = sharedHeaders("DeleteWebhook");
647
+ let body;
648
+ body = JSON.stringify((0, import_smithy_client._json)(input));
649
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
650
+ }, "se_DeleteWebhookCommand");
651
+ var se_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (input, context) => {
652
+ const headers = sharedHeaders("DescribeCodeCoverages");
653
+ let body;
654
+ body = JSON.stringify(se_DescribeCodeCoveragesInput(input, context));
655
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
656
+ }, "se_DescribeCodeCoveragesCommand");
657
+ var se_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (input, context) => {
658
+ const headers = sharedHeaders("DescribeTestCases");
659
+ let body;
660
+ body = JSON.stringify((0, import_smithy_client._json)(input));
661
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
662
+ }, "se_DescribeTestCasesCommand");
663
+ var se_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (input, context) => {
664
+ const headers = sharedHeaders("GetReportGroupTrend");
665
+ let body;
666
+ body = JSON.stringify((0, import_smithy_client._json)(input));
667
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
668
+ }, "se_GetReportGroupTrendCommand");
669
+ var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
670
+ const headers = sharedHeaders("GetResourcePolicy");
671
+ let body;
672
+ body = JSON.stringify((0, import_smithy_client._json)(input));
673
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
674
+ }, "se_GetResourcePolicyCommand");
675
+ var se_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
676
+ const headers = sharedHeaders("ImportSourceCredentials");
677
+ let body;
678
+ body = JSON.stringify((0, import_smithy_client._json)(input));
679
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
680
+ }, "se_ImportSourceCredentialsCommand");
681
+ var se_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
682
+ const headers = sharedHeaders("InvalidateProjectCache");
683
+ let body;
684
+ body = JSON.stringify((0, import_smithy_client._json)(input));
685
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
686
+ }, "se_InvalidateProjectCacheCommand");
687
+ var se_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (input, context) => {
688
+ const headers = sharedHeaders("ListBuildBatches");
689
+ let body;
690
+ body = JSON.stringify((0, import_smithy_client._json)(input));
691
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
692
+ }, "se_ListBuildBatchesCommand");
693
+ var se_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
694
+ const headers = sharedHeaders("ListBuildBatchesForProject");
695
+ let body;
696
+ body = JSON.stringify((0, import_smithy_client._json)(input));
697
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
698
+ }, "se_ListBuildBatchesForProjectCommand");
699
+ var se_ListBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {
700
+ const headers = sharedHeaders("ListBuilds");
701
+ let body;
702
+ body = JSON.stringify((0, import_smithy_client._json)(input));
703
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
704
+ }, "se_ListBuildsCommand");
705
+ var se_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
706
+ const headers = sharedHeaders("ListBuildsForProject");
707
+ let body;
708
+ body = JSON.stringify((0, import_smithy_client._json)(input));
709
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
710
+ }, "se_ListBuildsForProjectCommand");
711
+ var se_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
712
+ const headers = sharedHeaders("ListCuratedEnvironmentImages");
713
+ let body;
714
+ body = JSON.stringify((0, import_smithy_client._json)(input));
715
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
716
+ }, "se_ListCuratedEnvironmentImagesCommand");
717
+ var se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
718
+ const headers = sharedHeaders("ListProjects");
719
+ let body;
720
+ body = JSON.stringify((0, import_smithy_client._json)(input));
721
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
722
+ }, "se_ListProjectsCommand");
723
+ var se_ListReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
724
+ const headers = sharedHeaders("ListReportGroups");
725
+ let body;
726
+ body = JSON.stringify((0, import_smithy_client._json)(input));
727
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
728
+ }, "se_ListReportGroupsCommand");
729
+ var se_ListReportsCommand = /* @__PURE__ */ __name(async (input, context) => {
730
+ const headers = sharedHeaders("ListReports");
731
+ let body;
732
+ body = JSON.stringify((0, import_smithy_client._json)(input));
733
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
734
+ }, "se_ListReportsCommand");
735
+ var se_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
736
+ const headers = sharedHeaders("ListReportsForReportGroup");
737
+ let body;
738
+ body = JSON.stringify((0, import_smithy_client._json)(input));
739
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
740
+ }, "se_ListReportsForReportGroupCommand");
741
+ var se_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
742
+ const headers = sharedHeaders("ListSharedProjects");
743
+ let body;
744
+ body = JSON.stringify((0, import_smithy_client._json)(input));
745
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
746
+ }, "se_ListSharedProjectsCommand");
747
+ var se_ListSharedReportGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
748
+ const headers = sharedHeaders("ListSharedReportGroups");
749
+ let body;
750
+ body = JSON.stringify((0, import_smithy_client._json)(input));
751
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
752
+ }, "se_ListSharedReportGroupsCommand");
753
+ var se_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
754
+ const headers = sharedHeaders("ListSourceCredentials");
755
+ let body;
756
+ body = JSON.stringify((0, import_smithy_client._json)(input));
757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
758
+ }, "se_ListSourceCredentialsCommand");
759
+ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
760
+ const headers = sharedHeaders("PutResourcePolicy");
761
+ let body;
762
+ body = JSON.stringify((0, import_smithy_client._json)(input));
763
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
764
+ }, "se_PutResourcePolicyCommand");
765
+ var se_RetryBuildCommand = /* @__PURE__ */ __name(async (input, context) => {
766
+ const headers = sharedHeaders("RetryBuild");
767
+ let body;
768
+ body = JSON.stringify((0, import_smithy_client._json)(input));
769
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
770
+ }, "se_RetryBuildCommand");
771
+ var se_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
772
+ const headers = sharedHeaders("RetryBuildBatch");
773
+ let body;
774
+ body = JSON.stringify((0, import_smithy_client._json)(input));
775
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
776
+ }, "se_RetryBuildBatchCommand");
777
+ var se_StartBuildCommand = /* @__PURE__ */ __name(async (input, context) => {
778
+ const headers = sharedHeaders("StartBuild");
779
+ let body;
780
+ body = JSON.stringify((0, import_smithy_client._json)(input));
781
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
782
+ }, "se_StartBuildCommand");
783
+ var se_StartBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
784
+ const headers = sharedHeaders("StartBuildBatch");
785
+ let body;
786
+ body = JSON.stringify((0, import_smithy_client._json)(input));
787
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
788
+ }, "se_StartBuildBatchCommand");
789
+ var se_StopBuildCommand = /* @__PURE__ */ __name(async (input, context) => {
790
+ const headers = sharedHeaders("StopBuild");
791
+ let body;
792
+ body = JSON.stringify((0, import_smithy_client._json)(input));
793
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
794
+ }, "se_StopBuildCommand");
795
+ var se_StopBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
796
+ const headers = sharedHeaders("StopBuildBatch");
797
+ let body;
798
+ body = JSON.stringify((0, import_smithy_client._json)(input));
799
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
800
+ }, "se_StopBuildBatchCommand");
801
+ var se_UpdateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
802
+ const headers = sharedHeaders("UpdateProject");
803
+ let body;
804
+ body = JSON.stringify((0, import_smithy_client._json)(input));
805
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
806
+ }, "se_UpdateProjectCommand");
807
+ var se_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (input, context) => {
808
+ const headers = sharedHeaders("UpdateProjectVisibility");
809
+ let body;
810
+ body = JSON.stringify((0, import_smithy_client._json)(input));
811
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
812
+ }, "se_UpdateProjectVisibilityCommand");
813
+ var se_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
814
+ const headers = sharedHeaders("UpdateReportGroup");
815
+ let body;
816
+ body = JSON.stringify((0, import_smithy_client._json)(input));
817
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
818
+ }, "se_UpdateReportGroupCommand");
819
+ var se_UpdateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
820
+ const headers = sharedHeaders("UpdateWebhook");
821
+ let body;
822
+ body = JSON.stringify((0, import_smithy_client._json)(input));
823
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
824
+ }, "se_UpdateWebhookCommand");
825
+ var de_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
826
+ if (output.statusCode >= 300) {
827
+ return de_BatchDeleteBuildsCommandError(output, context);
828
+ }
829
+ const data = await parseBody(output.body, context);
830
+ let contents = {};
831
+ contents = (0, import_smithy_client._json)(data);
832
+ const response = {
833
+ $metadata: deserializeMetadata(output),
834
+ ...contents
835
+ };
836
+ return response;
837
+ }, "de_BatchDeleteBuildsCommand");
838
+ var de_BatchDeleteBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
839
+ const parsedOutput = {
840
+ ...output,
841
+ body: await parseErrorBody(output.body, context)
842
+ };
843
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
844
+ switch (errorCode) {
845
+ case "InvalidInputException":
846
+ case "com.amazonaws.codebuild#InvalidInputException":
847
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
848
+ default:
849
+ const parsedBody = parsedOutput.body;
850
+ return throwDefaultError({
851
+ output,
852
+ parsedBody,
853
+ errorCode
854
+ });
855
+ }
856
+ }, "de_BatchDeleteBuildsCommandError");
857
+ var de_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
858
+ if (output.statusCode >= 300) {
859
+ return de_BatchGetBuildBatchesCommandError(output, context);
860
+ }
861
+ const data = await parseBody(output.body, context);
862
+ let contents = {};
863
+ contents = de_BatchGetBuildBatchesOutput(data, context);
864
+ const response = {
865
+ $metadata: deserializeMetadata(output),
866
+ ...contents
867
+ };
868
+ return response;
869
+ }, "de_BatchGetBuildBatchesCommand");
870
+ var de_BatchGetBuildBatchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
871
+ const parsedOutput = {
872
+ ...output,
873
+ body: await parseErrorBody(output.body, context)
874
+ };
875
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
876
+ switch (errorCode) {
877
+ case "InvalidInputException":
878
+ case "com.amazonaws.codebuild#InvalidInputException":
879
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
880
+ default:
881
+ const parsedBody = parsedOutput.body;
882
+ return throwDefaultError({
883
+ output,
884
+ parsedBody,
885
+ errorCode
886
+ });
887
+ }
888
+ }, "de_BatchGetBuildBatchesCommandError");
889
+ var de_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
890
+ if (output.statusCode >= 300) {
891
+ return de_BatchGetBuildsCommandError(output, context);
892
+ }
893
+ const data = await parseBody(output.body, context);
894
+ let contents = {};
895
+ contents = de_BatchGetBuildsOutput(data, context);
896
+ const response = {
897
+ $metadata: deserializeMetadata(output),
898
+ ...contents
899
+ };
900
+ return response;
901
+ }, "de_BatchGetBuildsCommand");
902
+ var de_BatchGetBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
903
+ const parsedOutput = {
904
+ ...output,
905
+ body: await parseErrorBody(output.body, context)
906
+ };
907
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
908
+ switch (errorCode) {
909
+ case "InvalidInputException":
910
+ case "com.amazonaws.codebuild#InvalidInputException":
911
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
912
+ default:
913
+ const parsedBody = parsedOutput.body;
914
+ return throwDefaultError({
915
+ output,
916
+ parsedBody,
917
+ errorCode
918
+ });
919
+ }
920
+ }, "de_BatchGetBuildsCommandError");
921
+ var de_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
922
+ if (output.statusCode >= 300) {
923
+ return de_BatchGetProjectsCommandError(output, context);
924
+ }
925
+ const data = await parseBody(output.body, context);
926
+ let contents = {};
927
+ contents = de_BatchGetProjectsOutput(data, context);
928
+ const response = {
929
+ $metadata: deserializeMetadata(output),
930
+ ...contents
931
+ };
932
+ return response;
933
+ }, "de_BatchGetProjectsCommand");
934
+ var de_BatchGetProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
935
+ const parsedOutput = {
936
+ ...output,
937
+ body: await parseErrorBody(output.body, context)
938
+ };
939
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
940
+ switch (errorCode) {
941
+ case "InvalidInputException":
942
+ case "com.amazonaws.codebuild#InvalidInputException":
943
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
944
+ default:
945
+ const parsedBody = parsedOutput.body;
946
+ return throwDefaultError({
947
+ output,
948
+ parsedBody,
949
+ errorCode
950
+ });
951
+ }
952
+ }, "de_BatchGetProjectsCommandError");
953
+ var de_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
954
+ if (output.statusCode >= 300) {
955
+ return de_BatchGetReportGroupsCommandError(output, context);
956
+ }
957
+ const data = await parseBody(output.body, context);
958
+ let contents = {};
959
+ contents = de_BatchGetReportGroupsOutput(data, context);
960
+ const response = {
961
+ $metadata: deserializeMetadata(output),
962
+ ...contents
963
+ };
964
+ return response;
965
+ }, "de_BatchGetReportGroupsCommand");
966
+ var de_BatchGetReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
967
+ const parsedOutput = {
968
+ ...output,
969
+ body: await parseErrorBody(output.body, context)
970
+ };
971
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
972
+ switch (errorCode) {
973
+ case "InvalidInputException":
974
+ case "com.amazonaws.codebuild#InvalidInputException":
975
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
976
+ default:
977
+ const parsedBody = parsedOutput.body;
978
+ return throwDefaultError({
979
+ output,
980
+ parsedBody,
981
+ errorCode
982
+ });
983
+ }
984
+ }, "de_BatchGetReportGroupsCommandError");
985
+ var de_BatchGetReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
986
+ if (output.statusCode >= 300) {
987
+ return de_BatchGetReportsCommandError(output, context);
988
+ }
989
+ const data = await parseBody(output.body, context);
990
+ let contents = {};
991
+ contents = de_BatchGetReportsOutput(data, context);
992
+ const response = {
993
+ $metadata: deserializeMetadata(output),
994
+ ...contents
995
+ };
996
+ return response;
997
+ }, "de_BatchGetReportsCommand");
998
+ var de_BatchGetReportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
999
+ const parsedOutput = {
1000
+ ...output,
1001
+ body: await parseErrorBody(output.body, context)
1002
+ };
1003
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1004
+ switch (errorCode) {
1005
+ case "InvalidInputException":
1006
+ case "com.amazonaws.codebuild#InvalidInputException":
1007
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1008
+ default:
1009
+ const parsedBody = parsedOutput.body;
1010
+ return throwDefaultError({
1011
+ output,
1012
+ parsedBody,
1013
+ errorCode
1014
+ });
1015
+ }
1016
+ }, "de_BatchGetReportsCommandError");
1017
+ var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
1018
+ if (output.statusCode >= 300) {
1019
+ return de_CreateProjectCommandError(output, context);
1020
+ }
1021
+ const data = await parseBody(output.body, context);
1022
+ let contents = {};
1023
+ contents = de_CreateProjectOutput(data, context);
1024
+ const response = {
1025
+ $metadata: deserializeMetadata(output),
1026
+ ...contents
1027
+ };
1028
+ return response;
1029
+ }, "de_CreateProjectCommand");
1030
+ var de_CreateProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
1031
+ const parsedOutput = {
1032
+ ...output,
1033
+ body: await parseErrorBody(output.body, context)
1034
+ };
1035
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1036
+ switch (errorCode) {
1037
+ case "AccountLimitExceededException":
1038
+ case "com.amazonaws.codebuild#AccountLimitExceededException":
1039
+ throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
1040
+ case "InvalidInputException":
1041
+ case "com.amazonaws.codebuild#InvalidInputException":
1042
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1043
+ case "ResourceAlreadyExistsException":
1044
+ case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
1045
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1046
+ default:
1047
+ const parsedBody = parsedOutput.body;
1048
+ return throwDefaultError({
1049
+ output,
1050
+ parsedBody,
1051
+ errorCode
1052
+ });
1053
+ }
1054
+ }, "de_CreateProjectCommandError");
1055
+ var de_CreateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1056
+ if (output.statusCode >= 300) {
1057
+ return de_CreateReportGroupCommandError(output, context);
1058
+ }
1059
+ const data = await parseBody(output.body, context);
1060
+ let contents = {};
1061
+ contents = de_CreateReportGroupOutput(data, context);
1062
+ const response = {
1063
+ $metadata: deserializeMetadata(output),
1064
+ ...contents
1065
+ };
1066
+ return response;
1067
+ }, "de_CreateReportGroupCommand");
1068
+ var de_CreateReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1069
+ const parsedOutput = {
1070
+ ...output,
1071
+ body: await parseErrorBody(output.body, context)
1072
+ };
1073
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1074
+ switch (errorCode) {
1075
+ case "AccountLimitExceededException":
1076
+ case "com.amazonaws.codebuild#AccountLimitExceededException":
1077
+ throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
1078
+ case "InvalidInputException":
1079
+ case "com.amazonaws.codebuild#InvalidInputException":
1080
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1081
+ case "ResourceAlreadyExistsException":
1082
+ case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
1083
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1084
+ default:
1085
+ const parsedBody = parsedOutput.body;
1086
+ return throwDefaultError({
1087
+ output,
1088
+ parsedBody,
1089
+ errorCode
1090
+ });
1091
+ }
1092
+ }, "de_CreateReportGroupCommandError");
1093
+ var de_CreateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
1094
+ if (output.statusCode >= 300) {
1095
+ return de_CreateWebhookCommandError(output, context);
1096
+ }
1097
+ const data = await parseBody(output.body, context);
1098
+ let contents = {};
1099
+ contents = de_CreateWebhookOutput(data, context);
1100
+ const response = {
1101
+ $metadata: deserializeMetadata(output),
1102
+ ...contents
1103
+ };
1104
+ return response;
1105
+ }, "de_CreateWebhookCommand");
1106
+ var de_CreateWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
1107
+ const parsedOutput = {
1108
+ ...output,
1109
+ body: await parseErrorBody(output.body, context)
1110
+ };
1111
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1112
+ switch (errorCode) {
1113
+ case "InvalidInputException":
1114
+ case "com.amazonaws.codebuild#InvalidInputException":
1115
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1116
+ case "OAuthProviderException":
1117
+ case "com.amazonaws.codebuild#OAuthProviderException":
1118
+ throw await de_OAuthProviderExceptionRes(parsedOutput, context);
1119
+ case "ResourceAlreadyExistsException":
1120
+ case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
1121
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1122
+ case "ResourceNotFoundException":
1123
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1124
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1125
+ default:
1126
+ const parsedBody = parsedOutput.body;
1127
+ return throwDefaultError({
1128
+ output,
1129
+ parsedBody,
1130
+ errorCode
1131
+ });
1132
+ }
1133
+ }, "de_CreateWebhookCommandError");
1134
+ var de_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
1135
+ if (output.statusCode >= 300) {
1136
+ return de_DeleteBuildBatchCommandError(output, context);
1137
+ }
1138
+ const data = await parseBody(output.body, context);
1139
+ let contents = {};
1140
+ contents = (0, import_smithy_client._json)(data);
1141
+ const response = {
1142
+ $metadata: deserializeMetadata(output),
1143
+ ...contents
1144
+ };
1145
+ return response;
1146
+ }, "de_DeleteBuildBatchCommand");
1147
+ var de_DeleteBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
1148
+ const parsedOutput = {
1149
+ ...output,
1150
+ body: await parseErrorBody(output.body, context)
1151
+ };
1152
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1153
+ switch (errorCode) {
1154
+ case "InvalidInputException":
1155
+ case "com.amazonaws.codebuild#InvalidInputException":
1156
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1157
+ default:
1158
+ const parsedBody = parsedOutput.body;
1159
+ return throwDefaultError({
1160
+ output,
1161
+ parsedBody,
1162
+ errorCode
1163
+ });
1164
+ }
1165
+ }, "de_DeleteBuildBatchCommandError");
1166
+ var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
1167
+ if (output.statusCode >= 300) {
1168
+ return de_DeleteProjectCommandError(output, context);
1169
+ }
1170
+ const data = await parseBody(output.body, context);
1171
+ let contents = {};
1172
+ contents = (0, import_smithy_client._json)(data);
1173
+ const response = {
1174
+ $metadata: deserializeMetadata(output),
1175
+ ...contents
1176
+ };
1177
+ return response;
1178
+ }, "de_DeleteProjectCommand");
1179
+ var de_DeleteProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
1180
+ const parsedOutput = {
1181
+ ...output,
1182
+ body: await parseErrorBody(output.body, context)
1183
+ };
1184
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1185
+ switch (errorCode) {
1186
+ case "InvalidInputException":
1187
+ case "com.amazonaws.codebuild#InvalidInputException":
1188
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1189
+ default:
1190
+ const parsedBody = parsedOutput.body;
1191
+ return throwDefaultError({
1192
+ output,
1193
+ parsedBody,
1194
+ errorCode
1195
+ });
1196
+ }
1197
+ }, "de_DeleteProjectCommandError");
1198
+ var de_DeleteReportCommand = /* @__PURE__ */ __name(async (output, context) => {
1199
+ if (output.statusCode >= 300) {
1200
+ return de_DeleteReportCommandError(output, context);
1201
+ }
1202
+ const data = await parseBody(output.body, context);
1203
+ let contents = {};
1204
+ contents = (0, import_smithy_client._json)(data);
1205
+ const response = {
1206
+ $metadata: deserializeMetadata(output),
1207
+ ...contents
1208
+ };
1209
+ return response;
1210
+ }, "de_DeleteReportCommand");
1211
+ var de_DeleteReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
1212
+ const parsedOutput = {
1213
+ ...output,
1214
+ body: await parseErrorBody(output.body, context)
1215
+ };
1216
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1217
+ switch (errorCode) {
1218
+ case "InvalidInputException":
1219
+ case "com.amazonaws.codebuild#InvalidInputException":
1220
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1221
+ default:
1222
+ const parsedBody = parsedOutput.body;
1223
+ return throwDefaultError({
1224
+ output,
1225
+ parsedBody,
1226
+ errorCode
1227
+ });
1228
+ }
1229
+ }, "de_DeleteReportCommandError");
1230
+ var de_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1231
+ if (output.statusCode >= 300) {
1232
+ return de_DeleteReportGroupCommandError(output, context);
1233
+ }
1234
+ const data = await parseBody(output.body, context);
1235
+ let contents = {};
1236
+ contents = (0, import_smithy_client._json)(data);
1237
+ const response = {
1238
+ $metadata: deserializeMetadata(output),
1239
+ ...contents
1240
+ };
1241
+ return response;
1242
+ }, "de_DeleteReportGroupCommand");
1243
+ var de_DeleteReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1244
+ const parsedOutput = {
1245
+ ...output,
1246
+ body: await parseErrorBody(output.body, context)
1247
+ };
1248
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1249
+ switch (errorCode) {
1250
+ case "InvalidInputException":
1251
+ case "com.amazonaws.codebuild#InvalidInputException":
1252
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1253
+ default:
1254
+ const parsedBody = parsedOutput.body;
1255
+ return throwDefaultError({
1256
+ output,
1257
+ parsedBody,
1258
+ errorCode
1259
+ });
1260
+ }
1261
+ }, "de_DeleteReportGroupCommandError");
1262
+ var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1263
+ if (output.statusCode >= 300) {
1264
+ return de_DeleteResourcePolicyCommandError(output, context);
1265
+ }
1266
+ const data = await parseBody(output.body, context);
1267
+ let contents = {};
1268
+ contents = (0, import_smithy_client._json)(data);
1269
+ const response = {
1270
+ $metadata: deserializeMetadata(output),
1271
+ ...contents
1272
+ };
1273
+ return response;
1274
+ }, "de_DeleteResourcePolicyCommand");
1275
+ var de_DeleteResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1276
+ const parsedOutput = {
1277
+ ...output,
1278
+ body: await parseErrorBody(output.body, context)
1279
+ };
1280
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1281
+ switch (errorCode) {
1282
+ case "InvalidInputException":
1283
+ case "com.amazonaws.codebuild#InvalidInputException":
1284
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1285
+ default:
1286
+ const parsedBody = parsedOutput.body;
1287
+ return throwDefaultError({
1288
+ output,
1289
+ parsedBody,
1290
+ errorCode
1291
+ });
1292
+ }
1293
+ }, "de_DeleteResourcePolicyCommandError");
1294
+ var de_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
1295
+ if (output.statusCode >= 300) {
1296
+ return de_DeleteSourceCredentialsCommandError(output, context);
1297
+ }
1298
+ const data = await parseBody(output.body, context);
1299
+ let contents = {};
1300
+ contents = (0, import_smithy_client._json)(data);
1301
+ const response = {
1302
+ $metadata: deserializeMetadata(output),
1303
+ ...contents
1304
+ };
1305
+ return response;
1306
+ }, "de_DeleteSourceCredentialsCommand");
1307
+ var de_DeleteSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1308
+ const parsedOutput = {
1309
+ ...output,
1310
+ body: await parseErrorBody(output.body, context)
1311
+ };
1312
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1313
+ switch (errorCode) {
1314
+ case "InvalidInputException":
1315
+ case "com.amazonaws.codebuild#InvalidInputException":
1316
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1317
+ case "ResourceNotFoundException":
1318
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1319
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1320
+ default:
1321
+ const parsedBody = parsedOutput.body;
1322
+ return throwDefaultError({
1323
+ output,
1324
+ parsedBody,
1325
+ errorCode
1326
+ });
1327
+ }
1328
+ }, "de_DeleteSourceCredentialsCommandError");
1329
+ var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
1330
+ if (output.statusCode >= 300) {
1331
+ return de_DeleteWebhookCommandError(output, context);
1332
+ }
1333
+ const data = await parseBody(output.body, context);
1334
+ let contents = {};
1335
+ contents = (0, import_smithy_client._json)(data);
1336
+ const response = {
1337
+ $metadata: deserializeMetadata(output),
1338
+ ...contents
1339
+ };
1340
+ return response;
1341
+ }, "de_DeleteWebhookCommand");
1342
+ var de_DeleteWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
1343
+ const parsedOutput = {
1344
+ ...output,
1345
+ body: await parseErrorBody(output.body, context)
1346
+ };
1347
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1348
+ switch (errorCode) {
1349
+ case "InvalidInputException":
1350
+ case "com.amazonaws.codebuild#InvalidInputException":
1351
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1352
+ case "OAuthProviderException":
1353
+ case "com.amazonaws.codebuild#OAuthProviderException":
1354
+ throw await de_OAuthProviderExceptionRes(parsedOutput, context);
1355
+ case "ResourceNotFoundException":
1356
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1357
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1358
+ default:
1359
+ const parsedBody = parsedOutput.body;
1360
+ return throwDefaultError({
1361
+ output,
1362
+ parsedBody,
1363
+ errorCode
1364
+ });
1365
+ }
1366
+ }, "de_DeleteWebhookCommandError");
1367
+ var de_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (output, context) => {
1368
+ if (output.statusCode >= 300) {
1369
+ return de_DescribeCodeCoveragesCommandError(output, context);
1370
+ }
1371
+ const data = await parseBody(output.body, context);
1372
+ let contents = {};
1373
+ contents = de_DescribeCodeCoveragesOutput(data, context);
1374
+ const response = {
1375
+ $metadata: deserializeMetadata(output),
1376
+ ...contents
1377
+ };
1378
+ return response;
1379
+ }, "de_DescribeCodeCoveragesCommand");
1380
+ var de_DescribeCodeCoveragesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1381
+ const parsedOutput = {
1382
+ ...output,
1383
+ body: await parseErrorBody(output.body, context)
1384
+ };
1385
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1386
+ switch (errorCode) {
1387
+ case "InvalidInputException":
1388
+ case "com.amazonaws.codebuild#InvalidInputException":
1389
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1390
+ default:
1391
+ const parsedBody = parsedOutput.body;
1392
+ return throwDefaultError({
1393
+ output,
1394
+ parsedBody,
1395
+ errorCode
1396
+ });
1397
+ }
1398
+ }, "de_DescribeCodeCoveragesCommandError");
1399
+ var de_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (output, context) => {
1400
+ if (output.statusCode >= 300) {
1401
+ return de_DescribeTestCasesCommandError(output, context);
1402
+ }
1403
+ const data = await parseBody(output.body, context);
1404
+ let contents = {};
1405
+ contents = de_DescribeTestCasesOutput(data, context);
1406
+ const response = {
1407
+ $metadata: deserializeMetadata(output),
1408
+ ...contents
1409
+ };
1410
+ return response;
1411
+ }, "de_DescribeTestCasesCommand");
1412
+ var de_DescribeTestCasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1413
+ const parsedOutput = {
1414
+ ...output,
1415
+ body: await parseErrorBody(output.body, context)
1416
+ };
1417
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1418
+ switch (errorCode) {
1419
+ case "InvalidInputException":
1420
+ case "com.amazonaws.codebuild#InvalidInputException":
1421
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1422
+ case "ResourceNotFoundException":
1423
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1424
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1425
+ default:
1426
+ const parsedBody = parsedOutput.body;
1427
+ return throwDefaultError({
1428
+ output,
1429
+ parsedBody,
1430
+ errorCode
1431
+ });
1432
+ }
1433
+ }, "de_DescribeTestCasesCommandError");
1434
+ var de_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (output, context) => {
1435
+ if (output.statusCode >= 300) {
1436
+ return de_GetReportGroupTrendCommandError(output, context);
1437
+ }
1438
+ const data = await parseBody(output.body, context);
1439
+ let contents = {};
1440
+ contents = (0, import_smithy_client._json)(data);
1441
+ const response = {
1442
+ $metadata: deserializeMetadata(output),
1443
+ ...contents
1444
+ };
1445
+ return response;
1446
+ }, "de_GetReportGroupTrendCommand");
1447
+ var de_GetReportGroupTrendCommandError = /* @__PURE__ */ __name(async (output, context) => {
1448
+ const parsedOutput = {
1449
+ ...output,
1450
+ body: await parseErrorBody(output.body, context)
1451
+ };
1452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1453
+ switch (errorCode) {
1454
+ case "InvalidInputException":
1455
+ case "com.amazonaws.codebuild#InvalidInputException":
1456
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1457
+ case "ResourceNotFoundException":
1458
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1459
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1460
+ default:
1461
+ const parsedBody = parsedOutput.body;
1462
+ return throwDefaultError({
1463
+ output,
1464
+ parsedBody,
1465
+ errorCode
1466
+ });
1467
+ }
1468
+ }, "de_GetReportGroupTrendCommandError");
1469
+ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1470
+ if (output.statusCode >= 300) {
1471
+ return de_GetResourcePolicyCommandError(output, context);
1472
+ }
1473
+ const data = await parseBody(output.body, context);
1474
+ let contents = {};
1475
+ contents = (0, import_smithy_client._json)(data);
1476
+ const response = {
1477
+ $metadata: deserializeMetadata(output),
1478
+ ...contents
1479
+ };
1480
+ return response;
1481
+ }, "de_GetResourcePolicyCommand");
1482
+ var de_GetResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1483
+ const parsedOutput = {
1484
+ ...output,
1485
+ body: await parseErrorBody(output.body, context)
1486
+ };
1487
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1488
+ switch (errorCode) {
1489
+ case "InvalidInputException":
1490
+ case "com.amazonaws.codebuild#InvalidInputException":
1491
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1492
+ case "ResourceNotFoundException":
1493
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1494
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1495
+ default:
1496
+ const parsedBody = parsedOutput.body;
1497
+ return throwDefaultError({
1498
+ output,
1499
+ parsedBody,
1500
+ errorCode
1501
+ });
1502
+ }
1503
+ }, "de_GetResourcePolicyCommandError");
1504
+ var de_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
1505
+ if (output.statusCode >= 300) {
1506
+ return de_ImportSourceCredentialsCommandError(output, context);
1507
+ }
1508
+ const data = await parseBody(output.body, context);
1509
+ let contents = {};
1510
+ contents = (0, import_smithy_client._json)(data);
1511
+ const response = {
1512
+ $metadata: deserializeMetadata(output),
1513
+ ...contents
1514
+ };
1515
+ return response;
1516
+ }, "de_ImportSourceCredentialsCommand");
1517
+ var de_ImportSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1518
+ const parsedOutput = {
1519
+ ...output,
1520
+ body: await parseErrorBody(output.body, context)
1521
+ };
1522
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1523
+ switch (errorCode) {
1524
+ case "AccountLimitExceededException":
1525
+ case "com.amazonaws.codebuild#AccountLimitExceededException":
1526
+ throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
1527
+ case "InvalidInputException":
1528
+ case "com.amazonaws.codebuild#InvalidInputException":
1529
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1530
+ case "ResourceAlreadyExistsException":
1531
+ case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
1532
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1533
+ default:
1534
+ const parsedBody = parsedOutput.body;
1535
+ return throwDefaultError({
1536
+ output,
1537
+ parsedBody,
1538
+ errorCode
1539
+ });
1540
+ }
1541
+ }, "de_ImportSourceCredentialsCommandError");
1542
+ var de_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
1543
+ if (output.statusCode >= 300) {
1544
+ return de_InvalidateProjectCacheCommandError(output, context);
1545
+ }
1546
+ const data = await parseBody(output.body, context);
1547
+ let contents = {};
1548
+ contents = (0, import_smithy_client._json)(data);
1549
+ const response = {
1550
+ $metadata: deserializeMetadata(output),
1551
+ ...contents
1552
+ };
1553
+ return response;
1554
+ }, "de_InvalidateProjectCacheCommand");
1555
+ var de_InvalidateProjectCacheCommandError = /* @__PURE__ */ __name(async (output, context) => {
1556
+ const parsedOutput = {
1557
+ ...output,
1558
+ body: await parseErrorBody(output.body, context)
1559
+ };
1560
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1561
+ switch (errorCode) {
1562
+ case "InvalidInputException":
1563
+ case "com.amazonaws.codebuild#InvalidInputException":
1564
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1565
+ case "ResourceNotFoundException":
1566
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1568
+ default:
1569
+ const parsedBody = parsedOutput.body;
1570
+ return throwDefaultError({
1571
+ output,
1572
+ parsedBody,
1573
+ errorCode
1574
+ });
1575
+ }
1576
+ }, "de_InvalidateProjectCacheCommandError");
1577
+ var de_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
1578
+ if (output.statusCode >= 300) {
1579
+ return de_ListBuildBatchesCommandError(output, context);
1580
+ }
1581
+ const data = await parseBody(output.body, context);
1582
+ let contents = {};
1583
+ contents = (0, import_smithy_client._json)(data);
1584
+ const response = {
1585
+ $metadata: deserializeMetadata(output),
1586
+ ...contents
1587
+ };
1588
+ return response;
1589
+ }, "de_ListBuildBatchesCommand");
1590
+ var de_ListBuildBatchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1591
+ const parsedOutput = {
1592
+ ...output,
1593
+ body: await parseErrorBody(output.body, context)
1594
+ };
1595
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1596
+ switch (errorCode) {
1597
+ case "InvalidInputException":
1598
+ case "com.amazonaws.codebuild#InvalidInputException":
1599
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1600
+ default:
1601
+ const parsedBody = parsedOutput.body;
1602
+ return throwDefaultError({
1603
+ output,
1604
+ parsedBody,
1605
+ errorCode
1606
+ });
1607
+ }
1608
+ }, "de_ListBuildBatchesCommandError");
1609
+ var de_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
1610
+ if (output.statusCode >= 300) {
1611
+ return de_ListBuildBatchesForProjectCommandError(output, context);
1612
+ }
1613
+ const data = await parseBody(output.body, context);
1614
+ let contents = {};
1615
+ contents = (0, import_smithy_client._json)(data);
1616
+ const response = {
1617
+ $metadata: deserializeMetadata(output),
1618
+ ...contents
1619
+ };
1620
+ return response;
1621
+ }, "de_ListBuildBatchesForProjectCommand");
1622
+ var de_ListBuildBatchesForProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
1623
+ const parsedOutput = {
1624
+ ...output,
1625
+ body: await parseErrorBody(output.body, context)
1626
+ };
1627
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1628
+ switch (errorCode) {
1629
+ case "InvalidInputException":
1630
+ case "com.amazonaws.codebuild#InvalidInputException":
1631
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1632
+ case "ResourceNotFoundException":
1633
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1634
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1635
+ default:
1636
+ const parsedBody = parsedOutput.body;
1637
+ return throwDefaultError({
1638
+ output,
1639
+ parsedBody,
1640
+ errorCode
1641
+ });
1642
+ }
1643
+ }, "de_ListBuildBatchesForProjectCommandError");
1644
+ var de_ListBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
1645
+ if (output.statusCode >= 300) {
1646
+ return de_ListBuildsCommandError(output, context);
1647
+ }
1648
+ const data = await parseBody(output.body, context);
1649
+ let contents = {};
1650
+ contents = (0, import_smithy_client._json)(data);
1651
+ const response = {
1652
+ $metadata: deserializeMetadata(output),
1653
+ ...contents
1654
+ };
1655
+ return response;
1656
+ }, "de_ListBuildsCommand");
1657
+ var de_ListBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1658
+ const parsedOutput = {
1659
+ ...output,
1660
+ body: await parseErrorBody(output.body, context)
1661
+ };
1662
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1663
+ switch (errorCode) {
1664
+ case "InvalidInputException":
1665
+ case "com.amazonaws.codebuild#InvalidInputException":
1666
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1667
+ default:
1668
+ const parsedBody = parsedOutput.body;
1669
+ return throwDefaultError({
1670
+ output,
1671
+ parsedBody,
1672
+ errorCode
1673
+ });
1674
+ }
1675
+ }, "de_ListBuildsCommandError");
1676
+ var de_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
1677
+ if (output.statusCode >= 300) {
1678
+ return de_ListBuildsForProjectCommandError(output, context);
1679
+ }
1680
+ const data = await parseBody(output.body, context);
1681
+ let contents = {};
1682
+ contents = (0, import_smithy_client._json)(data);
1683
+ const response = {
1684
+ $metadata: deserializeMetadata(output),
1685
+ ...contents
1686
+ };
1687
+ return response;
1688
+ }, "de_ListBuildsForProjectCommand");
1689
+ var de_ListBuildsForProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
1690
+ const parsedOutput = {
1691
+ ...output,
1692
+ body: await parseErrorBody(output.body, context)
1693
+ };
1694
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1695
+ switch (errorCode) {
1696
+ case "InvalidInputException":
1697
+ case "com.amazonaws.codebuild#InvalidInputException":
1698
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1699
+ case "ResourceNotFoundException":
1700
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1701
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1702
+ default:
1703
+ const parsedBody = parsedOutput.body;
1704
+ return throwDefaultError({
1705
+ output,
1706
+ parsedBody,
1707
+ errorCode
1708
+ });
1709
+ }
1710
+ }, "de_ListBuildsForProjectCommandError");
1711
+ var de_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
1712
+ if (output.statusCode >= 300) {
1713
+ return de_ListCuratedEnvironmentImagesCommandError(output, context);
1714
+ }
1715
+ const data = await parseBody(output.body, context);
1716
+ let contents = {};
1717
+ contents = (0, import_smithy_client._json)(data);
1718
+ const response = {
1719
+ $metadata: deserializeMetadata(output),
1720
+ ...contents
1721
+ };
1722
+ return response;
1723
+ }, "de_ListCuratedEnvironmentImagesCommand");
1724
+ var de_ListCuratedEnvironmentImagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1725
+ const parsedOutput = {
1726
+ ...output,
1727
+ body: await parseErrorBody(output.body, context)
1728
+ };
1729
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1730
+ const parsedBody = parsedOutput.body;
1731
+ return throwDefaultError({
1732
+ output,
1733
+ parsedBody,
1734
+ errorCode
1735
+ });
1736
+ }, "de_ListCuratedEnvironmentImagesCommandError");
1737
+ var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
1738
+ if (output.statusCode >= 300) {
1739
+ return de_ListProjectsCommandError(output, context);
1740
+ }
1741
+ const data = await parseBody(output.body, context);
1742
+ let contents = {};
1743
+ contents = (0, import_smithy_client._json)(data);
1744
+ const response = {
1745
+ $metadata: deserializeMetadata(output),
1746
+ ...contents
1747
+ };
1748
+ return response;
1749
+ }, "de_ListProjectsCommand");
1750
+ var de_ListProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1751
+ const parsedOutput = {
1752
+ ...output,
1753
+ body: await parseErrorBody(output.body, context)
1754
+ };
1755
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1756
+ switch (errorCode) {
1757
+ case "InvalidInputException":
1758
+ case "com.amazonaws.codebuild#InvalidInputException":
1759
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1760
+ default:
1761
+ const parsedBody = parsedOutput.body;
1762
+ return throwDefaultError({
1763
+ output,
1764
+ parsedBody,
1765
+ errorCode
1766
+ });
1767
+ }
1768
+ }, "de_ListProjectsCommandError");
1769
+ var de_ListReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1770
+ if (output.statusCode >= 300) {
1771
+ return de_ListReportGroupsCommandError(output, context);
1772
+ }
1773
+ const data = await parseBody(output.body, context);
1774
+ let contents = {};
1775
+ contents = (0, import_smithy_client._json)(data);
1776
+ const response = {
1777
+ $metadata: deserializeMetadata(output),
1778
+ ...contents
1779
+ };
1780
+ return response;
1781
+ }, "de_ListReportGroupsCommand");
1782
+ var de_ListReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1783
+ const parsedOutput = {
1784
+ ...output,
1785
+ body: await parseErrorBody(output.body, context)
1786
+ };
1787
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1788
+ switch (errorCode) {
1789
+ case "InvalidInputException":
1790
+ case "com.amazonaws.codebuild#InvalidInputException":
1791
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1792
+ default:
1793
+ const parsedBody = parsedOutput.body;
1794
+ return throwDefaultError({
1795
+ output,
1796
+ parsedBody,
1797
+ errorCode
1798
+ });
1799
+ }
1800
+ }, "de_ListReportGroupsCommandError");
1801
+ var de_ListReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
1802
+ if (output.statusCode >= 300) {
1803
+ return de_ListReportsCommandError(output, context);
1804
+ }
1805
+ const data = await parseBody(output.body, context);
1806
+ let contents = {};
1807
+ contents = (0, import_smithy_client._json)(data);
1808
+ const response = {
1809
+ $metadata: deserializeMetadata(output),
1810
+ ...contents
1811
+ };
1812
+ return response;
1813
+ }, "de_ListReportsCommand");
1814
+ var de_ListReportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1815
+ const parsedOutput = {
1816
+ ...output,
1817
+ body: await parseErrorBody(output.body, context)
1818
+ };
1819
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1820
+ switch (errorCode) {
1821
+ case "InvalidInputException":
1822
+ case "com.amazonaws.codebuild#InvalidInputException":
1823
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1824
+ default:
1825
+ const parsedBody = parsedOutput.body;
1826
+ return throwDefaultError({
1827
+ output,
1828
+ parsedBody,
1829
+ errorCode
1830
+ });
1831
+ }
1832
+ }, "de_ListReportsCommandError");
1833
+ var de_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1834
+ if (output.statusCode >= 300) {
1835
+ return de_ListReportsForReportGroupCommandError(output, context);
1836
+ }
1837
+ const data = await parseBody(output.body, context);
1838
+ let contents = {};
1839
+ contents = (0, import_smithy_client._json)(data);
1840
+ const response = {
1841
+ $metadata: deserializeMetadata(output),
1842
+ ...contents
1843
+ };
1844
+ return response;
1845
+ }, "de_ListReportsForReportGroupCommand");
1846
+ var de_ListReportsForReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
1847
+ const parsedOutput = {
1848
+ ...output,
1849
+ body: await parseErrorBody(output.body, context)
1850
+ };
1851
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1852
+ switch (errorCode) {
1853
+ case "InvalidInputException":
1854
+ case "com.amazonaws.codebuild#InvalidInputException":
1855
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1856
+ case "ResourceNotFoundException":
1857
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1858
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1859
+ default:
1860
+ const parsedBody = parsedOutput.body;
1861
+ return throwDefaultError({
1862
+ output,
1863
+ parsedBody,
1864
+ errorCode
1865
+ });
1866
+ }
1867
+ }, "de_ListReportsForReportGroupCommandError");
1868
+ var de_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
1869
+ if (output.statusCode >= 300) {
1870
+ return de_ListSharedProjectsCommandError(output, context);
1871
+ }
1872
+ const data = await parseBody(output.body, context);
1873
+ let contents = {};
1874
+ contents = (0, import_smithy_client._json)(data);
1875
+ const response = {
1876
+ $metadata: deserializeMetadata(output),
1877
+ ...contents
1878
+ };
1879
+ return response;
1880
+ }, "de_ListSharedProjectsCommand");
1881
+ var de_ListSharedProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1882
+ const parsedOutput = {
1883
+ ...output,
1884
+ body: await parseErrorBody(output.body, context)
1885
+ };
1886
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1887
+ switch (errorCode) {
1888
+ case "InvalidInputException":
1889
+ case "com.amazonaws.codebuild#InvalidInputException":
1890
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1891
+ default:
1892
+ const parsedBody = parsedOutput.body;
1893
+ return throwDefaultError({
1894
+ output,
1895
+ parsedBody,
1896
+ errorCode
1897
+ });
1898
+ }
1899
+ }, "de_ListSharedProjectsCommandError");
1900
+ var de_ListSharedReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1901
+ if (output.statusCode >= 300) {
1902
+ return de_ListSharedReportGroupsCommandError(output, context);
1903
+ }
1904
+ const data = await parseBody(output.body, context);
1905
+ let contents = {};
1906
+ contents = (0, import_smithy_client._json)(data);
1907
+ const response = {
1908
+ $metadata: deserializeMetadata(output),
1909
+ ...contents
1910
+ };
1911
+ return response;
1912
+ }, "de_ListSharedReportGroupsCommand");
1913
+ var de_ListSharedReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1914
+ const parsedOutput = {
1915
+ ...output,
1916
+ body: await parseErrorBody(output.body, context)
1917
+ };
1918
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1919
+ switch (errorCode) {
1920
+ case "InvalidInputException":
1921
+ case "com.amazonaws.codebuild#InvalidInputException":
1922
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1923
+ default:
1924
+ const parsedBody = parsedOutput.body;
1925
+ return throwDefaultError({
1926
+ output,
1927
+ parsedBody,
1928
+ errorCode
1929
+ });
1930
+ }
1931
+ }, "de_ListSharedReportGroupsCommandError");
1932
+ var de_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
1933
+ if (output.statusCode >= 300) {
1934
+ return de_ListSourceCredentialsCommandError(output, context);
1935
+ }
1936
+ const data = await parseBody(output.body, context);
1937
+ let contents = {};
1938
+ contents = (0, import_smithy_client._json)(data);
1939
+ const response = {
1940
+ $metadata: deserializeMetadata(output),
1941
+ ...contents
1942
+ };
1943
+ return response;
1944
+ }, "de_ListSourceCredentialsCommand");
1945
+ var de_ListSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1946
+ const parsedOutput = {
1947
+ ...output,
1948
+ body: await parseErrorBody(output.body, context)
1949
+ };
1950
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1951
+ switch (errorCode) {
1952
+ case "InvalidInputException":
1953
+ case "com.amazonaws.codebuild#InvalidInputException":
1954
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1955
+ default:
1956
+ const parsedBody = parsedOutput.body;
1957
+ return throwDefaultError({
1958
+ output,
1959
+ parsedBody,
1960
+ errorCode
1961
+ });
1962
+ }
1963
+ }, "de_ListSourceCredentialsCommandError");
1964
+ var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1965
+ if (output.statusCode >= 300) {
1966
+ return de_PutResourcePolicyCommandError(output, context);
1967
+ }
1968
+ const data = await parseBody(output.body, context);
1969
+ let contents = {};
1970
+ contents = (0, import_smithy_client._json)(data);
1971
+ const response = {
1972
+ $metadata: deserializeMetadata(output),
1973
+ ...contents
1974
+ };
1975
+ return response;
1976
+ }, "de_PutResourcePolicyCommand");
1977
+ var de_PutResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1978
+ const parsedOutput = {
1979
+ ...output,
1980
+ body: await parseErrorBody(output.body, context)
1981
+ };
1982
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1983
+ switch (errorCode) {
1984
+ case "InvalidInputException":
1985
+ case "com.amazonaws.codebuild#InvalidInputException":
1986
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1987
+ case "ResourceNotFoundException":
1988
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
1989
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1990
+ default:
1991
+ const parsedBody = parsedOutput.body;
1992
+ return throwDefaultError({
1993
+ output,
1994
+ parsedBody,
1995
+ errorCode
1996
+ });
1997
+ }
1998
+ }, "de_PutResourcePolicyCommandError");
1999
+ var de_RetryBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
2000
+ if (output.statusCode >= 300) {
2001
+ return de_RetryBuildCommandError(output, context);
2002
+ }
2003
+ const data = await parseBody(output.body, context);
2004
+ let contents = {};
2005
+ contents = de_RetryBuildOutput(data, context);
2006
+ const response = {
2007
+ $metadata: deserializeMetadata(output),
2008
+ ...contents
2009
+ };
2010
+ return response;
2011
+ }, "de_RetryBuildCommand");
2012
+ var de_RetryBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
2013
+ const parsedOutput = {
2014
+ ...output,
2015
+ body: await parseErrorBody(output.body, context)
2016
+ };
2017
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2018
+ switch (errorCode) {
2019
+ case "AccountLimitExceededException":
2020
+ case "com.amazonaws.codebuild#AccountLimitExceededException":
2021
+ throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
2022
+ case "InvalidInputException":
2023
+ case "com.amazonaws.codebuild#InvalidInputException":
2024
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2025
+ case "ResourceNotFoundException":
2026
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2027
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2028
+ default:
2029
+ const parsedBody = parsedOutput.body;
2030
+ return throwDefaultError({
2031
+ output,
2032
+ parsedBody,
2033
+ errorCode
2034
+ });
2035
+ }
2036
+ }, "de_RetryBuildCommandError");
2037
+ var de_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
2038
+ if (output.statusCode >= 300) {
2039
+ return de_RetryBuildBatchCommandError(output, context);
2040
+ }
2041
+ const data = await parseBody(output.body, context);
2042
+ let contents = {};
2043
+ contents = de_RetryBuildBatchOutput(data, context);
2044
+ const response = {
2045
+ $metadata: deserializeMetadata(output),
2046
+ ...contents
2047
+ };
2048
+ return response;
2049
+ }, "de_RetryBuildBatchCommand");
2050
+ var de_RetryBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
2051
+ const parsedOutput = {
2052
+ ...output,
2053
+ body: await parseErrorBody(output.body, context)
2054
+ };
2055
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2056
+ switch (errorCode) {
2057
+ case "InvalidInputException":
2058
+ case "com.amazonaws.codebuild#InvalidInputException":
2059
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2060
+ case "ResourceNotFoundException":
2061
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2062
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2063
+ default:
2064
+ const parsedBody = parsedOutput.body;
2065
+ return throwDefaultError({
2066
+ output,
2067
+ parsedBody,
2068
+ errorCode
2069
+ });
2070
+ }
2071
+ }, "de_RetryBuildBatchCommandError");
2072
+ var de_StartBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
2073
+ if (output.statusCode >= 300) {
2074
+ return de_StartBuildCommandError(output, context);
2075
+ }
2076
+ const data = await parseBody(output.body, context);
2077
+ let contents = {};
2078
+ contents = de_StartBuildOutput(data, context);
2079
+ const response = {
2080
+ $metadata: deserializeMetadata(output),
2081
+ ...contents
2082
+ };
2083
+ return response;
2084
+ }, "de_StartBuildCommand");
2085
+ var de_StartBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
2086
+ const parsedOutput = {
2087
+ ...output,
2088
+ body: await parseErrorBody(output.body, context)
2089
+ };
2090
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2091
+ switch (errorCode) {
2092
+ case "AccountLimitExceededException":
2093
+ case "com.amazonaws.codebuild#AccountLimitExceededException":
2094
+ throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
2095
+ case "InvalidInputException":
2096
+ case "com.amazonaws.codebuild#InvalidInputException":
2097
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2098
+ case "ResourceNotFoundException":
2099
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2101
+ default:
2102
+ const parsedBody = parsedOutput.body;
2103
+ return throwDefaultError({
2104
+ output,
2105
+ parsedBody,
2106
+ errorCode
2107
+ });
2108
+ }
2109
+ }, "de_StartBuildCommandError");
2110
+ var de_StartBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
2111
+ if (output.statusCode >= 300) {
2112
+ return de_StartBuildBatchCommandError(output, context);
2113
+ }
2114
+ const data = await parseBody(output.body, context);
2115
+ let contents = {};
2116
+ contents = de_StartBuildBatchOutput(data, context);
2117
+ const response = {
2118
+ $metadata: deserializeMetadata(output),
2119
+ ...contents
2120
+ };
2121
+ return response;
2122
+ }, "de_StartBuildBatchCommand");
2123
+ var de_StartBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
2124
+ const parsedOutput = {
2125
+ ...output,
2126
+ body: await parseErrorBody(output.body, context)
2127
+ };
2128
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2129
+ switch (errorCode) {
2130
+ case "InvalidInputException":
2131
+ case "com.amazonaws.codebuild#InvalidInputException":
2132
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2133
+ case "ResourceNotFoundException":
2134
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2135
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2136
+ default:
2137
+ const parsedBody = parsedOutput.body;
2138
+ return throwDefaultError({
2139
+ output,
2140
+ parsedBody,
2141
+ errorCode
2142
+ });
2143
+ }
2144
+ }, "de_StartBuildBatchCommandError");
2145
+ var de_StopBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
2146
+ if (output.statusCode >= 300) {
2147
+ return de_StopBuildCommandError(output, context);
2148
+ }
2149
+ const data = await parseBody(output.body, context);
2150
+ let contents = {};
2151
+ contents = de_StopBuildOutput(data, context);
2152
+ const response = {
2153
+ $metadata: deserializeMetadata(output),
2154
+ ...contents
2155
+ };
2156
+ return response;
2157
+ }, "de_StopBuildCommand");
2158
+ var de_StopBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
2159
+ const parsedOutput = {
2160
+ ...output,
2161
+ body: await parseErrorBody(output.body, context)
2162
+ };
2163
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2164
+ switch (errorCode) {
2165
+ case "InvalidInputException":
2166
+ case "com.amazonaws.codebuild#InvalidInputException":
2167
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2168
+ case "ResourceNotFoundException":
2169
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2170
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2171
+ default:
2172
+ const parsedBody = parsedOutput.body;
2173
+ return throwDefaultError({
2174
+ output,
2175
+ parsedBody,
2176
+ errorCode
2177
+ });
2178
+ }
2179
+ }, "de_StopBuildCommandError");
2180
+ var de_StopBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
2181
+ if (output.statusCode >= 300) {
2182
+ return de_StopBuildBatchCommandError(output, context);
2183
+ }
2184
+ const data = await parseBody(output.body, context);
2185
+ let contents = {};
2186
+ contents = de_StopBuildBatchOutput(data, context);
2187
+ const response = {
2188
+ $metadata: deserializeMetadata(output),
2189
+ ...contents
2190
+ };
2191
+ return response;
2192
+ }, "de_StopBuildBatchCommand");
2193
+ var de_StopBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
2194
+ const parsedOutput = {
2195
+ ...output,
2196
+ body: await parseErrorBody(output.body, context)
2197
+ };
2198
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2199
+ switch (errorCode) {
2200
+ case "InvalidInputException":
2201
+ case "com.amazonaws.codebuild#InvalidInputException":
2202
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2203
+ case "ResourceNotFoundException":
2204
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2205
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2206
+ default:
2207
+ const parsedBody = parsedOutput.body;
2208
+ return throwDefaultError({
2209
+ output,
2210
+ parsedBody,
2211
+ errorCode
2212
+ });
2213
+ }
2214
+ }, "de_StopBuildBatchCommandError");
2215
+ var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
2216
+ if (output.statusCode >= 300) {
2217
+ return de_UpdateProjectCommandError(output, context);
2218
+ }
2219
+ const data = await parseBody(output.body, context);
2220
+ let contents = {};
2221
+ contents = de_UpdateProjectOutput(data, context);
2222
+ const response = {
2223
+ $metadata: deserializeMetadata(output),
2224
+ ...contents
2225
+ };
2226
+ return response;
2227
+ }, "de_UpdateProjectCommand");
2228
+ var de_UpdateProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
2229
+ const parsedOutput = {
2230
+ ...output,
2231
+ body: await parseErrorBody(output.body, context)
2232
+ };
2233
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2234
+ switch (errorCode) {
2235
+ case "InvalidInputException":
2236
+ case "com.amazonaws.codebuild#InvalidInputException":
2237
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2238
+ case "ResourceNotFoundException":
2239
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2240
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2241
+ default:
2242
+ const parsedBody = parsedOutput.body;
2243
+ return throwDefaultError({
2244
+ output,
2245
+ parsedBody,
2246
+ errorCode
2247
+ });
2248
+ }
2249
+ }, "de_UpdateProjectCommandError");
2250
+ var de_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (output, context) => {
2251
+ if (output.statusCode >= 300) {
2252
+ return de_UpdateProjectVisibilityCommandError(output, context);
2253
+ }
2254
+ const data = await parseBody(output.body, context);
2255
+ let contents = {};
2256
+ contents = (0, import_smithy_client._json)(data);
2257
+ const response = {
2258
+ $metadata: deserializeMetadata(output),
2259
+ ...contents
2260
+ };
2261
+ return response;
2262
+ }, "de_UpdateProjectVisibilityCommand");
2263
+ var de_UpdateProjectVisibilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
2264
+ const parsedOutput = {
2265
+ ...output,
2266
+ body: await parseErrorBody(output.body, context)
2267
+ };
2268
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2269
+ switch (errorCode) {
2270
+ case "InvalidInputException":
2271
+ case "com.amazonaws.codebuild#InvalidInputException":
2272
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2273
+ case "ResourceNotFoundException":
2274
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2275
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2276
+ default:
2277
+ const parsedBody = parsedOutput.body;
2278
+ return throwDefaultError({
2279
+ output,
2280
+ parsedBody,
2281
+ errorCode
2282
+ });
2283
+ }
2284
+ }, "de_UpdateProjectVisibilityCommandError");
2285
+ var de_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
2286
+ if (output.statusCode >= 300) {
2287
+ return de_UpdateReportGroupCommandError(output, context);
2288
+ }
2289
+ const data = await parseBody(output.body, context);
2290
+ let contents = {};
2291
+ contents = de_UpdateReportGroupOutput(data, context);
2292
+ const response = {
2293
+ $metadata: deserializeMetadata(output),
2294
+ ...contents
2295
+ };
2296
+ return response;
2297
+ }, "de_UpdateReportGroupCommand");
2298
+ var de_UpdateReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
2299
+ const parsedOutput = {
2300
+ ...output,
2301
+ body: await parseErrorBody(output.body, context)
2302
+ };
2303
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2304
+ switch (errorCode) {
2305
+ case "InvalidInputException":
2306
+ case "com.amazonaws.codebuild#InvalidInputException":
2307
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2308
+ case "ResourceNotFoundException":
2309
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2310
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2311
+ default:
2312
+ const parsedBody = parsedOutput.body;
2313
+ return throwDefaultError({
2314
+ output,
2315
+ parsedBody,
2316
+ errorCode
2317
+ });
2318
+ }
2319
+ }, "de_UpdateReportGroupCommandError");
2320
+ var de_UpdateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
2321
+ if (output.statusCode >= 300) {
2322
+ return de_UpdateWebhookCommandError(output, context);
2323
+ }
2324
+ const data = await parseBody(output.body, context);
2325
+ let contents = {};
2326
+ contents = de_UpdateWebhookOutput(data, context);
2327
+ const response = {
2328
+ $metadata: deserializeMetadata(output),
2329
+ ...contents
2330
+ };
2331
+ return response;
2332
+ }, "de_UpdateWebhookCommand");
2333
+ var de_UpdateWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
2334
+ const parsedOutput = {
2335
+ ...output,
2336
+ body: await parseErrorBody(output.body, context)
2337
+ };
2338
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2339
+ switch (errorCode) {
2340
+ case "InvalidInputException":
2341
+ case "com.amazonaws.codebuild#InvalidInputException":
2342
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2343
+ case "OAuthProviderException":
2344
+ case "com.amazonaws.codebuild#OAuthProviderException":
2345
+ throw await de_OAuthProviderExceptionRes(parsedOutput, context);
2346
+ case "ResourceNotFoundException":
2347
+ case "com.amazonaws.codebuild#ResourceNotFoundException":
2348
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2349
+ default:
2350
+ const parsedBody = parsedOutput.body;
2351
+ return throwDefaultError({
2352
+ output,
2353
+ parsedBody,
2354
+ errorCode
2355
+ });
2356
+ }
2357
+ }, "de_UpdateWebhookCommandError");
2358
+ var de_AccountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2359
+ const body = parsedOutput.body;
2360
+ const deserialized = (0, import_smithy_client._json)(body);
2361
+ const exception = new AccountLimitExceededException({
2362
+ $metadata: deserializeMetadata(parsedOutput),
2363
+ ...deserialized
2364
+ });
2365
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2366
+ }, "de_AccountLimitExceededExceptionRes");
2367
+ var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2368
+ const body = parsedOutput.body;
2369
+ const deserialized = (0, import_smithy_client._json)(body);
2370
+ const exception = new InvalidInputException({
2371
+ $metadata: deserializeMetadata(parsedOutput),
2372
+ ...deserialized
2373
+ });
2374
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2375
+ }, "de_InvalidInputExceptionRes");
2376
+ var de_OAuthProviderExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2377
+ const body = parsedOutput.body;
2378
+ const deserialized = (0, import_smithy_client._json)(body);
2379
+ const exception = new OAuthProviderException({
2380
+ $metadata: deserializeMetadata(parsedOutput),
2381
+ ...deserialized
2382
+ });
2383
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2384
+ }, "de_OAuthProviderExceptionRes");
2385
+ var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2386
+ const body = parsedOutput.body;
2387
+ const deserialized = (0, import_smithy_client._json)(body);
2388
+ const exception = new ResourceAlreadyExistsException({
2389
+ $metadata: deserializeMetadata(parsedOutput),
2390
+ ...deserialized
2391
+ });
2392
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2393
+ }, "de_ResourceAlreadyExistsExceptionRes");
2394
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2395
+ const body = parsedOutput.body;
2396
+ const deserialized = (0, import_smithy_client._json)(body);
2397
+ const exception = new ResourceNotFoundException({
2398
+ $metadata: deserializeMetadata(parsedOutput),
2399
+ ...deserialized
2400
+ });
2401
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2402
+ }, "de_ResourceNotFoundExceptionRes");
2403
+ var se_DescribeCodeCoveragesInput = /* @__PURE__ */ __name((input, context) => {
2404
+ return (0, import_smithy_client.take)(input, {
2405
+ maxLineCoveragePercentage: import_smithy_client.serializeFloat,
2406
+ maxResults: [],
2407
+ minLineCoveragePercentage: import_smithy_client.serializeFloat,
2408
+ nextToken: [],
2409
+ reportArn: [],
2410
+ sortBy: [],
2411
+ sortOrder: []
2412
+ });
2413
+ }, "se_DescribeCodeCoveragesInput");
2414
+ var de_BatchGetBuildBatchesOutput = /* @__PURE__ */ __name((output, context) => {
2415
+ return (0, import_smithy_client.take)(output, {
2416
+ buildBatches: (_) => de_BuildBatches(_, context),
2417
+ buildBatchesNotFound: import_smithy_client._json
2418
+ });
2419
+ }, "de_BatchGetBuildBatchesOutput");
2420
+ var de_BatchGetBuildsOutput = /* @__PURE__ */ __name((output, context) => {
2421
+ return (0, import_smithy_client.take)(output, {
2422
+ builds: (_) => de_Builds(_, context),
2423
+ buildsNotFound: import_smithy_client._json
2424
+ });
2425
+ }, "de_BatchGetBuildsOutput");
2426
+ var de_BatchGetProjectsOutput = /* @__PURE__ */ __name((output, context) => {
2427
+ return (0, import_smithy_client.take)(output, {
2428
+ projects: (_) => de_Projects(_, context),
2429
+ projectsNotFound: import_smithy_client._json
2430
+ });
2431
+ }, "de_BatchGetProjectsOutput");
2432
+ var de_BatchGetReportGroupsOutput = /* @__PURE__ */ __name((output, context) => {
2433
+ return (0, import_smithy_client.take)(output, {
2434
+ reportGroups: (_) => de_ReportGroups(_, context),
2435
+ reportGroupsNotFound: import_smithy_client._json
2436
+ });
2437
+ }, "de_BatchGetReportGroupsOutput");
2438
+ var de_BatchGetReportsOutput = /* @__PURE__ */ __name((output, context) => {
2439
+ return (0, import_smithy_client.take)(output, {
2440
+ reports: (_) => de_Reports(_, context),
2441
+ reportsNotFound: import_smithy_client._json
2442
+ });
2443
+ }, "de_BatchGetReportsOutput");
2444
+ var de_Build = /* @__PURE__ */ __name((output, context) => {
2445
+ return (0, import_smithy_client.take)(output, {
2446
+ arn: import_smithy_client.expectString,
2447
+ artifacts: import_smithy_client._json,
2448
+ buildBatchArn: import_smithy_client.expectString,
2449
+ buildComplete: import_smithy_client.expectBoolean,
2450
+ buildNumber: import_smithy_client.expectLong,
2451
+ buildStatus: import_smithy_client.expectString,
2452
+ cache: import_smithy_client._json,
2453
+ currentPhase: import_smithy_client.expectString,
2454
+ debugSession: import_smithy_client._json,
2455
+ encryptionKey: import_smithy_client.expectString,
2456
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2457
+ environment: import_smithy_client._json,
2458
+ exportedEnvironmentVariables: import_smithy_client._json,
2459
+ fileSystemLocations: import_smithy_client._json,
2460
+ id: import_smithy_client.expectString,
2461
+ initiator: import_smithy_client.expectString,
2462
+ logs: import_smithy_client._json,
2463
+ networkInterface: import_smithy_client._json,
2464
+ phases: (_) => de_BuildPhases(_, context),
2465
+ projectName: import_smithy_client.expectString,
2466
+ queuedTimeoutInMinutes: import_smithy_client.expectInt32,
2467
+ reportArns: import_smithy_client._json,
2468
+ resolvedSourceVersion: import_smithy_client.expectString,
2469
+ secondaryArtifacts: import_smithy_client._json,
2470
+ secondarySourceVersions: import_smithy_client._json,
2471
+ secondarySources: import_smithy_client._json,
2472
+ serviceRole: import_smithy_client.expectString,
2473
+ source: import_smithy_client._json,
2474
+ sourceVersion: import_smithy_client.expectString,
2475
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2476
+ timeoutInMinutes: import_smithy_client.expectInt32,
2477
+ vpcConfig: import_smithy_client._json
2478
+ });
2479
+ }, "de_Build");
2480
+ var de_BuildBatch = /* @__PURE__ */ __name((output, context) => {
2481
+ return (0, import_smithy_client.take)(output, {
2482
+ arn: import_smithy_client.expectString,
2483
+ artifacts: import_smithy_client._json,
2484
+ buildBatchConfig: import_smithy_client._json,
2485
+ buildBatchNumber: import_smithy_client.expectLong,
2486
+ buildBatchStatus: import_smithy_client.expectString,
2487
+ buildGroups: (_) => de_BuildGroups(_, context),
2488
+ buildTimeoutInMinutes: import_smithy_client.expectInt32,
2489
+ cache: import_smithy_client._json,
2490
+ complete: import_smithy_client.expectBoolean,
2491
+ currentPhase: import_smithy_client.expectString,
2492
+ debugSessionEnabled: import_smithy_client.expectBoolean,
2493
+ encryptionKey: import_smithy_client.expectString,
2494
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2495
+ environment: import_smithy_client._json,
2496
+ fileSystemLocations: import_smithy_client._json,
2497
+ id: import_smithy_client.expectString,
2498
+ initiator: import_smithy_client.expectString,
2499
+ logConfig: import_smithy_client._json,
2500
+ phases: (_) => de_BuildBatchPhases(_, context),
2501
+ projectName: import_smithy_client.expectString,
2502
+ queuedTimeoutInMinutes: import_smithy_client.expectInt32,
2503
+ resolvedSourceVersion: import_smithy_client.expectString,
2504
+ secondaryArtifacts: import_smithy_client._json,
2505
+ secondarySourceVersions: import_smithy_client._json,
2506
+ secondarySources: import_smithy_client._json,
2507
+ serviceRole: import_smithy_client.expectString,
2508
+ source: import_smithy_client._json,
2509
+ sourceVersion: import_smithy_client.expectString,
2510
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2511
+ vpcConfig: import_smithy_client._json
2512
+ });
2513
+ }, "de_BuildBatch");
2514
+ var de_BuildBatches = /* @__PURE__ */ __name((output, context) => {
2515
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2516
+ return de_BuildBatch(entry, context);
2517
+ });
2518
+ return retVal;
2519
+ }, "de_BuildBatches");
2520
+ var de_BuildBatchPhase = /* @__PURE__ */ __name((output, context) => {
2521
+ return (0, import_smithy_client.take)(output, {
2522
+ contexts: import_smithy_client._json,
2523
+ durationInSeconds: import_smithy_client.expectLong,
2524
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2525
+ phaseStatus: import_smithy_client.expectString,
2526
+ phaseType: import_smithy_client.expectString,
2527
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2528
+ });
2529
+ }, "de_BuildBatchPhase");
2530
+ var de_BuildBatchPhases = /* @__PURE__ */ __name((output, context) => {
2531
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2532
+ return de_BuildBatchPhase(entry, context);
2533
+ });
2534
+ return retVal;
2535
+ }, "de_BuildBatchPhases");
2536
+ var de_BuildGroup = /* @__PURE__ */ __name((output, context) => {
2537
+ return (0, import_smithy_client.take)(output, {
2538
+ currentBuildSummary: (_) => de_BuildSummary(_, context),
2539
+ dependsOn: import_smithy_client._json,
2540
+ identifier: import_smithy_client.expectString,
2541
+ ignoreFailure: import_smithy_client.expectBoolean,
2542
+ priorBuildSummaryList: (_) => de_BuildSummaries(_, context)
2543
+ });
2544
+ }, "de_BuildGroup");
2545
+ var de_BuildGroups = /* @__PURE__ */ __name((output, context) => {
2546
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2547
+ return de_BuildGroup(entry, context);
2548
+ });
2549
+ return retVal;
2550
+ }, "de_BuildGroups");
2551
+ var de_BuildPhase = /* @__PURE__ */ __name((output, context) => {
2552
+ return (0, import_smithy_client.take)(output, {
2553
+ contexts: import_smithy_client._json,
2554
+ durationInSeconds: import_smithy_client.expectLong,
2555
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2556
+ phaseStatus: import_smithy_client.expectString,
2557
+ phaseType: import_smithy_client.expectString,
2558
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2559
+ });
2560
+ }, "de_BuildPhase");
2561
+ var de_BuildPhases = /* @__PURE__ */ __name((output, context) => {
2562
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2563
+ return de_BuildPhase(entry, context);
2564
+ });
2565
+ return retVal;
2566
+ }, "de_BuildPhases");
2567
+ var de_Builds = /* @__PURE__ */ __name((output, context) => {
2568
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2569
+ return de_Build(entry, context);
2570
+ });
2571
+ return retVal;
2572
+ }, "de_Builds");
2573
+ var de_BuildSummaries = /* @__PURE__ */ __name((output, context) => {
2574
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2575
+ return de_BuildSummary(entry, context);
2576
+ });
2577
+ return retVal;
2578
+ }, "de_BuildSummaries");
2579
+ var de_BuildSummary = /* @__PURE__ */ __name((output, context) => {
2580
+ return (0, import_smithy_client.take)(output, {
2581
+ arn: import_smithy_client.expectString,
2582
+ buildStatus: import_smithy_client.expectString,
2583
+ primaryArtifact: import_smithy_client._json,
2584
+ requestedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2585
+ secondaryArtifacts: import_smithy_client._json
2586
+ });
2587
+ }, "de_BuildSummary");
2588
+ var de_CodeCoverage = /* @__PURE__ */ __name((output, context) => {
2589
+ return (0, import_smithy_client.take)(output, {
2590
+ branchCoveragePercentage: import_smithy_client.limitedParseDouble,
2591
+ branchesCovered: import_smithy_client.expectInt32,
2592
+ branchesMissed: import_smithy_client.expectInt32,
2593
+ expired: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2594
+ filePath: import_smithy_client.expectString,
2595
+ id: import_smithy_client.expectString,
2596
+ lineCoveragePercentage: import_smithy_client.limitedParseDouble,
2597
+ linesCovered: import_smithy_client.expectInt32,
2598
+ linesMissed: import_smithy_client.expectInt32,
2599
+ reportARN: import_smithy_client.expectString
2600
+ });
2601
+ }, "de_CodeCoverage");
2602
+ var de_CodeCoverageReportSummary = /* @__PURE__ */ __name((output, context) => {
2603
+ return (0, import_smithy_client.take)(output, {
2604
+ branchCoveragePercentage: import_smithy_client.limitedParseDouble,
2605
+ branchesCovered: import_smithy_client.expectInt32,
2606
+ branchesMissed: import_smithy_client.expectInt32,
2607
+ lineCoveragePercentage: import_smithy_client.limitedParseDouble,
2608
+ linesCovered: import_smithy_client.expectInt32,
2609
+ linesMissed: import_smithy_client.expectInt32
2610
+ });
2611
+ }, "de_CodeCoverageReportSummary");
2612
+ var de_CodeCoverages = /* @__PURE__ */ __name((output, context) => {
2613
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2614
+ return de_CodeCoverage(entry, context);
2615
+ });
2616
+ return retVal;
2617
+ }, "de_CodeCoverages");
2618
+ var de_CreateProjectOutput = /* @__PURE__ */ __name((output, context) => {
2619
+ return (0, import_smithy_client.take)(output, {
2620
+ project: (_) => de_Project(_, context)
2621
+ });
2622
+ }, "de_CreateProjectOutput");
2623
+ var de_CreateReportGroupOutput = /* @__PURE__ */ __name((output, context) => {
2624
+ return (0, import_smithy_client.take)(output, {
2625
+ reportGroup: (_) => de_ReportGroup(_, context)
2626
+ });
2627
+ }, "de_CreateReportGroupOutput");
2628
+ var de_CreateWebhookOutput = /* @__PURE__ */ __name((output, context) => {
2629
+ return (0, import_smithy_client.take)(output, {
2630
+ webhook: (_) => de_Webhook(_, context)
2631
+ });
2632
+ }, "de_CreateWebhookOutput");
2633
+ var de_DescribeCodeCoveragesOutput = /* @__PURE__ */ __name((output, context) => {
2634
+ return (0, import_smithy_client.take)(output, {
2635
+ codeCoverages: (_) => de_CodeCoverages(_, context),
2636
+ nextToken: import_smithy_client.expectString
2637
+ });
2638
+ }, "de_DescribeCodeCoveragesOutput");
2639
+ var de_DescribeTestCasesOutput = /* @__PURE__ */ __name((output, context) => {
2640
+ return (0, import_smithy_client.take)(output, {
2641
+ nextToken: import_smithy_client.expectString,
2642
+ testCases: (_) => de_TestCases(_, context)
2643
+ });
2644
+ }, "de_DescribeTestCasesOutput");
2645
+ var de_Project = /* @__PURE__ */ __name((output, context) => {
2646
+ return (0, import_smithy_client.take)(output, {
2647
+ arn: import_smithy_client.expectString,
2648
+ artifacts: import_smithy_client._json,
2649
+ badge: import_smithy_client._json,
2650
+ buildBatchConfig: import_smithy_client._json,
2651
+ cache: import_smithy_client._json,
2652
+ concurrentBuildLimit: import_smithy_client.expectInt32,
2653
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2654
+ description: import_smithy_client.expectString,
2655
+ encryptionKey: import_smithy_client.expectString,
2656
+ environment: import_smithy_client._json,
2657
+ fileSystemLocations: import_smithy_client._json,
2658
+ lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2659
+ logsConfig: import_smithy_client._json,
2660
+ name: import_smithy_client.expectString,
2661
+ projectVisibility: import_smithy_client.expectString,
2662
+ publicProjectAlias: import_smithy_client.expectString,
2663
+ queuedTimeoutInMinutes: import_smithy_client.expectInt32,
2664
+ resourceAccessRole: import_smithy_client.expectString,
2665
+ secondaryArtifacts: import_smithy_client._json,
2666
+ secondarySourceVersions: import_smithy_client._json,
2667
+ secondarySources: import_smithy_client._json,
2668
+ serviceRole: import_smithy_client.expectString,
2669
+ source: import_smithy_client._json,
2670
+ sourceVersion: import_smithy_client.expectString,
2671
+ tags: import_smithy_client._json,
2672
+ timeoutInMinutes: import_smithy_client.expectInt32,
2673
+ vpcConfig: import_smithy_client._json,
2674
+ webhook: (_) => de_Webhook(_, context)
2675
+ });
2676
+ }, "de_Project");
2677
+ var de_Projects = /* @__PURE__ */ __name((output, context) => {
2678
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2679
+ return de_Project(entry, context);
2680
+ });
2681
+ return retVal;
2682
+ }, "de_Projects");
2683
+ var de_Report = /* @__PURE__ */ __name((output, context) => {
2684
+ return (0, import_smithy_client.take)(output, {
2685
+ arn: import_smithy_client.expectString,
2686
+ codeCoverageSummary: (_) => de_CodeCoverageReportSummary(_, context),
2687
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2688
+ executionId: import_smithy_client.expectString,
2689
+ expired: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2690
+ exportConfig: import_smithy_client._json,
2691
+ name: import_smithy_client.expectString,
2692
+ reportGroupArn: import_smithy_client.expectString,
2693
+ status: import_smithy_client.expectString,
2694
+ testSummary: import_smithy_client._json,
2695
+ truncated: import_smithy_client.expectBoolean,
2696
+ type: import_smithy_client.expectString
2697
+ });
2698
+ }, "de_Report");
2699
+ var de_ReportGroup = /* @__PURE__ */ __name((output, context) => {
2700
+ return (0, import_smithy_client.take)(output, {
2701
+ arn: import_smithy_client.expectString,
2702
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2703
+ exportConfig: import_smithy_client._json,
2704
+ lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2705
+ name: import_smithy_client.expectString,
2706
+ status: import_smithy_client.expectString,
2707
+ tags: import_smithy_client._json,
2708
+ type: import_smithy_client.expectString
2709
+ });
2710
+ }, "de_ReportGroup");
2711
+ var de_ReportGroups = /* @__PURE__ */ __name((output, context) => {
2712
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2713
+ return de_ReportGroup(entry, context);
2714
+ });
2715
+ return retVal;
2716
+ }, "de_ReportGroups");
2717
+ var de_Reports = /* @__PURE__ */ __name((output, context) => {
2718
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2719
+ return de_Report(entry, context);
2720
+ });
2721
+ return retVal;
2722
+ }, "de_Reports");
2723
+ var de_RetryBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {
2724
+ return (0, import_smithy_client.take)(output, {
2725
+ buildBatch: (_) => de_BuildBatch(_, context)
2726
+ });
2727
+ }, "de_RetryBuildBatchOutput");
2728
+ var de_RetryBuildOutput = /* @__PURE__ */ __name((output, context) => {
2729
+ return (0, import_smithy_client.take)(output, {
2730
+ build: (_) => de_Build(_, context)
2731
+ });
2732
+ }, "de_RetryBuildOutput");
2733
+ var de_StartBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {
2734
+ return (0, import_smithy_client.take)(output, {
2735
+ buildBatch: (_) => de_BuildBatch(_, context)
2736
+ });
2737
+ }, "de_StartBuildBatchOutput");
2738
+ var de_StartBuildOutput = /* @__PURE__ */ __name((output, context) => {
2739
+ return (0, import_smithy_client.take)(output, {
2740
+ build: (_) => de_Build(_, context)
2741
+ });
2742
+ }, "de_StartBuildOutput");
2743
+ var de_StopBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {
2744
+ return (0, import_smithy_client.take)(output, {
2745
+ buildBatch: (_) => de_BuildBatch(_, context)
2746
+ });
2747
+ }, "de_StopBuildBatchOutput");
2748
+ var de_StopBuildOutput = /* @__PURE__ */ __name((output, context) => {
2749
+ return (0, import_smithy_client.take)(output, {
2750
+ build: (_) => de_Build(_, context)
2751
+ });
2752
+ }, "de_StopBuildOutput");
2753
+ var de_TestCase = /* @__PURE__ */ __name((output, context) => {
2754
+ return (0, import_smithy_client.take)(output, {
2755
+ durationInNanoSeconds: import_smithy_client.expectLong,
2756
+ expired: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2757
+ message: import_smithy_client.expectString,
2758
+ name: import_smithy_client.expectString,
2759
+ prefix: import_smithy_client.expectString,
2760
+ reportArn: import_smithy_client.expectString,
2761
+ status: import_smithy_client.expectString,
2762
+ testRawDataPath: import_smithy_client.expectString
2763
+ });
2764
+ }, "de_TestCase");
2765
+ var de_TestCases = /* @__PURE__ */ __name((output, context) => {
2766
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2767
+ return de_TestCase(entry, context);
2768
+ });
2769
+ return retVal;
2770
+ }, "de_TestCases");
2771
+ var de_UpdateProjectOutput = /* @__PURE__ */ __name((output, context) => {
2772
+ return (0, import_smithy_client.take)(output, {
2773
+ project: (_) => de_Project(_, context)
2774
+ });
2775
+ }, "de_UpdateProjectOutput");
2776
+ var de_UpdateReportGroupOutput = /* @__PURE__ */ __name((output, context) => {
2777
+ return (0, import_smithy_client.take)(output, {
2778
+ reportGroup: (_) => de_ReportGroup(_, context)
2779
+ });
2780
+ }, "de_UpdateReportGroupOutput");
2781
+ var de_UpdateWebhookOutput = /* @__PURE__ */ __name((output, context) => {
2782
+ return (0, import_smithy_client.take)(output, {
2783
+ webhook: (_) => de_Webhook(_, context)
2784
+ });
2785
+ }, "de_UpdateWebhookOutput");
2786
+ var de_Webhook = /* @__PURE__ */ __name((output, context) => {
2787
+ return (0, import_smithy_client.take)(output, {
2788
+ branchFilter: import_smithy_client.expectString,
2789
+ buildType: import_smithy_client.expectString,
2790
+ filterGroups: import_smithy_client._json,
2791
+ lastModifiedSecret: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2792
+ payloadUrl: import_smithy_client.expectString,
2793
+ secret: import_smithy_client.expectString,
2794
+ url: import_smithy_client.expectString
2795
+ });
2796
+ }, "de_Webhook");
2797
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2798
+ httpStatusCode: output.statusCode,
2799
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2800
+ extendedRequestId: output.headers["x-amz-id-2"],
2801
+ cfId: output.headers["x-amz-cf-id"]
2802
+ }), "deserializeMetadata");
2803
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2804
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeBuildServiceException);
2805
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2806
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2807
+ const contents = {
2808
+ protocol,
2809
+ hostname,
2810
+ port,
2811
+ method: "POST",
2812
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2813
+ headers
2814
+ };
2815
+ if (resolvedHostname !== void 0) {
2816
+ contents.hostname = resolvedHostname;
2817
+ }
2818
+ if (body !== void 0) {
2819
+ contents.body = body;
2820
+ }
2821
+ return new import_protocol_http.HttpRequest(contents);
2822
+ }, "buildHttpRpcRequest");
2823
+ function sharedHeaders(operation) {
2824
+ return {
2825
+ "content-type": "application/x-amz-json-1.1",
2826
+ "x-amz-target": `CodeBuild_20161006.${operation}`
2827
+ };
2828
+ }
2829
+ __name(sharedHeaders, "sharedHeaders");
2830
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2831
+ if (encoded.length) {
2832
+ return JSON.parse(encoded);
2833
+ }
2834
+ return {};
2835
+ }), "parseBody");
2836
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2837
+ const value = await parseBody(errorBody, context);
2838
+ value.message = value.message ?? value.Message;
2839
+ return value;
2840
+ }, "parseErrorBody");
2841
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2842
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2843
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2844
+ let cleanValue = rawValue;
2845
+ if (typeof cleanValue === "number") {
2846
+ cleanValue = cleanValue.toString();
2847
+ }
2848
+ if (cleanValue.indexOf(",") >= 0) {
2849
+ cleanValue = cleanValue.split(",")[0];
2850
+ }
2851
+ if (cleanValue.indexOf(":") >= 0) {
2852
+ cleanValue = cleanValue.split(":")[0];
2853
+ }
2854
+ if (cleanValue.indexOf("#") >= 0) {
2855
+ cleanValue = cleanValue.split("#")[1];
2856
+ }
2857
+ return cleanValue;
2858
+ }, "sanitizeErrorCode");
2859
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2860
+ if (headerKey !== void 0) {
2861
+ return sanitizeErrorCode(output.headers[headerKey]);
2862
+ }
2863
+ if (data.code !== void 0) {
2864
+ return sanitizeErrorCode(data.code);
2865
+ }
2866
+ if (data["__type"] !== void 0) {
2867
+ return sanitizeErrorCode(data["__type"]);
2868
+ }
2869
+ }, "loadRestJsonErrorCode");
2870
+
2871
+ // src/commands/BatchDeleteBuildsCommand.ts
2872
+ var _BatchDeleteBuildsCommand = class _BatchDeleteBuildsCommand extends import_smithy_client.Command.classBuilder().ep({
2873
+ ...commonParams
2874
+ }).m(function(Command, cs, config, o) {
2875
+ return [
2876
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2877
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2878
+ ];
2879
+ }).s("CodeBuild_20161006", "BatchDeleteBuilds", {}).n("CodeBuildClient", "BatchDeleteBuildsCommand").f(void 0, void 0).ser(se_BatchDeleteBuildsCommand).de(de_BatchDeleteBuildsCommand).build() {
2880
+ };
2881
+ __name(_BatchDeleteBuildsCommand, "BatchDeleteBuildsCommand");
2882
+ var BatchDeleteBuildsCommand = _BatchDeleteBuildsCommand;
2883
+
2884
+ // src/commands/BatchGetBuildBatchesCommand.ts
2885
+
2886
+
2887
+
2888
+
2889
+ var _BatchGetBuildBatchesCommand = class _BatchGetBuildBatchesCommand extends import_smithy_client.Command.classBuilder().ep({
2890
+ ...commonParams
2891
+ }).m(function(Command, cs, config, o) {
2892
+ return [
2893
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2894
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2895
+ ];
2896
+ }).s("CodeBuild_20161006", "BatchGetBuildBatches", {}).n("CodeBuildClient", "BatchGetBuildBatchesCommand").f(void 0, void 0).ser(se_BatchGetBuildBatchesCommand).de(de_BatchGetBuildBatchesCommand).build() {
2897
+ };
2898
+ __name(_BatchGetBuildBatchesCommand, "BatchGetBuildBatchesCommand");
2899
+ var BatchGetBuildBatchesCommand = _BatchGetBuildBatchesCommand;
2900
+
2901
+ // src/commands/BatchGetBuildsCommand.ts
2902
+
2903
+
2904
+
2905
+
2906
+ var _BatchGetBuildsCommand = class _BatchGetBuildsCommand extends import_smithy_client.Command.classBuilder().ep({
2907
+ ...commonParams
2908
+ }).m(function(Command, cs, config, o) {
2909
+ return [
2910
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2911
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2912
+ ];
2913
+ }).s("CodeBuild_20161006", "BatchGetBuilds", {}).n("CodeBuildClient", "BatchGetBuildsCommand").f(void 0, void 0).ser(se_BatchGetBuildsCommand).de(de_BatchGetBuildsCommand).build() {
2914
+ };
2915
+ __name(_BatchGetBuildsCommand, "BatchGetBuildsCommand");
2916
+ var BatchGetBuildsCommand = _BatchGetBuildsCommand;
2917
+
2918
+ // src/commands/BatchGetProjectsCommand.ts
2919
+
2920
+
2921
+
2922
+
2923
+ var _BatchGetProjectsCommand = class _BatchGetProjectsCommand extends import_smithy_client.Command.classBuilder().ep({
2924
+ ...commonParams
2925
+ }).m(function(Command, cs, config, o) {
2926
+ return [
2927
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2928
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2929
+ ];
2930
+ }).s("CodeBuild_20161006", "BatchGetProjects", {}).n("CodeBuildClient", "BatchGetProjectsCommand").f(void 0, void 0).ser(se_BatchGetProjectsCommand).de(de_BatchGetProjectsCommand).build() {
2931
+ };
2932
+ __name(_BatchGetProjectsCommand, "BatchGetProjectsCommand");
2933
+ var BatchGetProjectsCommand = _BatchGetProjectsCommand;
2934
+
2935
+ // src/commands/BatchGetReportGroupsCommand.ts
2936
+
2937
+
2938
+
2939
+
2940
+ var _BatchGetReportGroupsCommand = class _BatchGetReportGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
2941
+ ...commonParams
2942
+ }).m(function(Command, cs, config, o) {
2943
+ return [
2944
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2945
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2946
+ ];
2947
+ }).s("CodeBuild_20161006", "BatchGetReportGroups", {}).n("CodeBuildClient", "BatchGetReportGroupsCommand").f(void 0, void 0).ser(se_BatchGetReportGroupsCommand).de(de_BatchGetReportGroupsCommand).build() {
2948
+ };
2949
+ __name(_BatchGetReportGroupsCommand, "BatchGetReportGroupsCommand");
2950
+ var BatchGetReportGroupsCommand = _BatchGetReportGroupsCommand;
2951
+
2952
+ // src/commands/BatchGetReportsCommand.ts
2953
+
2954
+
2955
+
2956
+
2957
+ var _BatchGetReportsCommand = class _BatchGetReportsCommand extends import_smithy_client.Command.classBuilder().ep({
2958
+ ...commonParams
2959
+ }).m(function(Command, cs, config, o) {
2960
+ return [
2961
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2962
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2963
+ ];
2964
+ }).s("CodeBuild_20161006", "BatchGetReports", {}).n("CodeBuildClient", "BatchGetReportsCommand").f(void 0, void 0).ser(se_BatchGetReportsCommand).de(de_BatchGetReportsCommand).build() {
2965
+ };
2966
+ __name(_BatchGetReportsCommand, "BatchGetReportsCommand");
2967
+ var BatchGetReportsCommand = _BatchGetReportsCommand;
2968
+
2969
+ // src/commands/CreateProjectCommand.ts
2970
+
2971
+
2972
+
2973
+
2974
+ var _CreateProjectCommand = class _CreateProjectCommand extends import_smithy_client.Command.classBuilder().ep({
2975
+ ...commonParams
2976
+ }).m(function(Command, cs, config, o) {
2977
+ return [
2978
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2979
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2980
+ ];
2981
+ }).s("CodeBuild_20161006", "CreateProject", {}).n("CodeBuildClient", "CreateProjectCommand").f(void 0, void 0).ser(se_CreateProjectCommand).de(de_CreateProjectCommand).build() {
2982
+ };
2983
+ __name(_CreateProjectCommand, "CreateProjectCommand");
2984
+ var CreateProjectCommand = _CreateProjectCommand;
2985
+
2986
+ // src/commands/CreateReportGroupCommand.ts
2987
+
2988
+
2989
+
2990
+
2991
+ var _CreateReportGroupCommand = class _CreateReportGroupCommand extends import_smithy_client.Command.classBuilder().ep({
2992
+ ...commonParams
2993
+ }).m(function(Command, cs, config, o) {
2994
+ return [
2995
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2996
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2997
+ ];
2998
+ }).s("CodeBuild_20161006", "CreateReportGroup", {}).n("CodeBuildClient", "CreateReportGroupCommand").f(void 0, void 0).ser(se_CreateReportGroupCommand).de(de_CreateReportGroupCommand).build() {
2999
+ };
3000
+ __name(_CreateReportGroupCommand, "CreateReportGroupCommand");
3001
+ var CreateReportGroupCommand = _CreateReportGroupCommand;
3002
+
3003
+ // src/commands/CreateWebhookCommand.ts
3004
+
3005
+
3006
+
3007
+
3008
+ var _CreateWebhookCommand = class _CreateWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
3009
+ ...commonParams
3010
+ }).m(function(Command, cs, config, o) {
3011
+ return [
3012
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3013
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3014
+ ];
3015
+ }).s("CodeBuild_20161006", "CreateWebhook", {}).n("CodeBuildClient", "CreateWebhookCommand").f(void 0, void 0).ser(se_CreateWebhookCommand).de(de_CreateWebhookCommand).build() {
3016
+ };
3017
+ __name(_CreateWebhookCommand, "CreateWebhookCommand");
3018
+ var CreateWebhookCommand = _CreateWebhookCommand;
3019
+
3020
+ // src/commands/DeleteBuildBatchCommand.ts
3021
+
3022
+
3023
+
3024
+
3025
+ var _DeleteBuildBatchCommand = class _DeleteBuildBatchCommand extends import_smithy_client.Command.classBuilder().ep({
3026
+ ...commonParams
3027
+ }).m(function(Command, cs, config, o) {
3028
+ return [
3029
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3030
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3031
+ ];
3032
+ }).s("CodeBuild_20161006", "DeleteBuildBatch", {}).n("CodeBuildClient", "DeleteBuildBatchCommand").f(void 0, void 0).ser(se_DeleteBuildBatchCommand).de(de_DeleteBuildBatchCommand).build() {
3033
+ };
3034
+ __name(_DeleteBuildBatchCommand, "DeleteBuildBatchCommand");
3035
+ var DeleteBuildBatchCommand = _DeleteBuildBatchCommand;
3036
+
3037
+ // src/commands/DeleteProjectCommand.ts
3038
+
3039
+
3040
+
3041
+
3042
+ var _DeleteProjectCommand = class _DeleteProjectCommand extends import_smithy_client.Command.classBuilder().ep({
3043
+ ...commonParams
3044
+ }).m(function(Command, cs, config, o) {
3045
+ return [
3046
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3047
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3048
+ ];
3049
+ }).s("CodeBuild_20161006", "DeleteProject", {}).n("CodeBuildClient", "DeleteProjectCommand").f(void 0, void 0).ser(se_DeleteProjectCommand).de(de_DeleteProjectCommand).build() {
3050
+ };
3051
+ __name(_DeleteProjectCommand, "DeleteProjectCommand");
3052
+ var DeleteProjectCommand = _DeleteProjectCommand;
3053
+
3054
+ // src/commands/DeleteReportCommand.ts
3055
+
3056
+
3057
+
3058
+
3059
+ var _DeleteReportCommand = class _DeleteReportCommand extends import_smithy_client.Command.classBuilder().ep({
3060
+ ...commonParams
3061
+ }).m(function(Command, cs, config, o) {
3062
+ return [
3063
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3064
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3065
+ ];
3066
+ }).s("CodeBuild_20161006", "DeleteReport", {}).n("CodeBuildClient", "DeleteReportCommand").f(void 0, void 0).ser(se_DeleteReportCommand).de(de_DeleteReportCommand).build() {
3067
+ };
3068
+ __name(_DeleteReportCommand, "DeleteReportCommand");
3069
+ var DeleteReportCommand = _DeleteReportCommand;
3070
+
3071
+ // src/commands/DeleteReportGroupCommand.ts
3072
+
3073
+
3074
+
3075
+
3076
+ var _DeleteReportGroupCommand = class _DeleteReportGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3077
+ ...commonParams
3078
+ }).m(function(Command, cs, config, o) {
3079
+ return [
3080
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3081
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3082
+ ];
3083
+ }).s("CodeBuild_20161006", "DeleteReportGroup", {}).n("CodeBuildClient", "DeleteReportGroupCommand").f(void 0, void 0).ser(se_DeleteReportGroupCommand).de(de_DeleteReportGroupCommand).build() {
3084
+ };
3085
+ __name(_DeleteReportGroupCommand, "DeleteReportGroupCommand");
3086
+ var DeleteReportGroupCommand = _DeleteReportGroupCommand;
3087
+
3088
+ // src/commands/DeleteResourcePolicyCommand.ts
3089
+
3090
+
3091
+
3092
+
3093
+ var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3094
+ ...commonParams
3095
+ }).m(function(Command, cs, config, o) {
3096
+ return [
3097
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3098
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3099
+ ];
3100
+ }).s("CodeBuild_20161006", "DeleteResourcePolicy", {}).n("CodeBuildClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
3101
+ };
3102
+ __name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
3103
+ var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
3104
+
3105
+ // src/commands/DeleteSourceCredentialsCommand.ts
3106
+
3107
+
3108
+
3109
+
3110
+ var _DeleteSourceCredentialsCommand = class _DeleteSourceCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
3111
+ ...commonParams
3112
+ }).m(function(Command, cs, config, o) {
3113
+ return [
3114
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3115
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3116
+ ];
3117
+ }).s("CodeBuild_20161006", "DeleteSourceCredentials", {}).n("CodeBuildClient", "DeleteSourceCredentialsCommand").f(void 0, void 0).ser(se_DeleteSourceCredentialsCommand).de(de_DeleteSourceCredentialsCommand).build() {
3118
+ };
3119
+ __name(_DeleteSourceCredentialsCommand, "DeleteSourceCredentialsCommand");
3120
+ var DeleteSourceCredentialsCommand = _DeleteSourceCredentialsCommand;
3121
+
3122
+ // src/commands/DeleteWebhookCommand.ts
3123
+
3124
+
3125
+
3126
+
3127
+ var _DeleteWebhookCommand = class _DeleteWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
3128
+ ...commonParams
3129
+ }).m(function(Command, cs, config, o) {
3130
+ return [
3131
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3132
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3133
+ ];
3134
+ }).s("CodeBuild_20161006", "DeleteWebhook", {}).n("CodeBuildClient", "DeleteWebhookCommand").f(void 0, void 0).ser(se_DeleteWebhookCommand).de(de_DeleteWebhookCommand).build() {
3135
+ };
3136
+ __name(_DeleteWebhookCommand, "DeleteWebhookCommand");
3137
+ var DeleteWebhookCommand = _DeleteWebhookCommand;
3138
+
3139
+ // src/commands/DescribeCodeCoveragesCommand.ts
3140
+
3141
+
3142
+
3143
+
3144
+ var _DescribeCodeCoveragesCommand = class _DescribeCodeCoveragesCommand extends import_smithy_client.Command.classBuilder().ep({
3145
+ ...commonParams
3146
+ }).m(function(Command, cs, config, o) {
3147
+ return [
3148
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3149
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3150
+ ];
3151
+ }).s("CodeBuild_20161006", "DescribeCodeCoverages", {}).n("CodeBuildClient", "DescribeCodeCoveragesCommand").f(void 0, void 0).ser(se_DescribeCodeCoveragesCommand).de(de_DescribeCodeCoveragesCommand).build() {
3152
+ };
3153
+ __name(_DescribeCodeCoveragesCommand, "DescribeCodeCoveragesCommand");
3154
+ var DescribeCodeCoveragesCommand = _DescribeCodeCoveragesCommand;
3155
+
3156
+ // src/commands/DescribeTestCasesCommand.ts
3157
+
3158
+
3159
+
3160
+
3161
+ var _DescribeTestCasesCommand = class _DescribeTestCasesCommand extends import_smithy_client.Command.classBuilder().ep({
3162
+ ...commonParams
3163
+ }).m(function(Command, cs, config, o) {
3164
+ return [
3165
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3166
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3167
+ ];
3168
+ }).s("CodeBuild_20161006", "DescribeTestCases", {}).n("CodeBuildClient", "DescribeTestCasesCommand").f(void 0, void 0).ser(se_DescribeTestCasesCommand).de(de_DescribeTestCasesCommand).build() {
3169
+ };
3170
+ __name(_DescribeTestCasesCommand, "DescribeTestCasesCommand");
3171
+ var DescribeTestCasesCommand = _DescribeTestCasesCommand;
3172
+
3173
+ // src/commands/GetReportGroupTrendCommand.ts
3174
+
3175
+
3176
+
3177
+
3178
+ var _GetReportGroupTrendCommand = class _GetReportGroupTrendCommand extends import_smithy_client.Command.classBuilder().ep({
3179
+ ...commonParams
3180
+ }).m(function(Command, cs, config, o) {
3181
+ return [
3182
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3183
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3184
+ ];
3185
+ }).s("CodeBuild_20161006", "GetReportGroupTrend", {}).n("CodeBuildClient", "GetReportGroupTrendCommand").f(void 0, void 0).ser(se_GetReportGroupTrendCommand).de(de_GetReportGroupTrendCommand).build() {
3186
+ };
3187
+ __name(_GetReportGroupTrendCommand, "GetReportGroupTrendCommand");
3188
+ var GetReportGroupTrendCommand = _GetReportGroupTrendCommand;
3189
+
3190
+ // src/commands/GetResourcePolicyCommand.ts
3191
+
3192
+
3193
+
3194
+
3195
+ var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3196
+ ...commonParams
3197
+ }).m(function(Command, cs, config, o) {
3198
+ return [
3199
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3200
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3201
+ ];
3202
+ }).s("CodeBuild_20161006", "GetResourcePolicy", {}).n("CodeBuildClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
3203
+ };
3204
+ __name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
3205
+ var GetResourcePolicyCommand = _GetResourcePolicyCommand;
3206
+
3207
+ // src/commands/ImportSourceCredentialsCommand.ts
3208
+
3209
+
3210
+
3211
+
3212
+ var _ImportSourceCredentialsCommand = class _ImportSourceCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
3213
+ ...commonParams
3214
+ }).m(function(Command, cs, config, o) {
3215
+ return [
3216
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3217
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3218
+ ];
3219
+ }).s("CodeBuild_20161006", "ImportSourceCredentials", {}).n("CodeBuildClient", "ImportSourceCredentialsCommand").f(ImportSourceCredentialsInputFilterSensitiveLog, void 0).ser(se_ImportSourceCredentialsCommand).de(de_ImportSourceCredentialsCommand).build() {
3220
+ };
3221
+ __name(_ImportSourceCredentialsCommand, "ImportSourceCredentialsCommand");
3222
+ var ImportSourceCredentialsCommand = _ImportSourceCredentialsCommand;
3223
+
3224
+ // src/commands/InvalidateProjectCacheCommand.ts
3225
+
3226
+
3227
+
3228
+
3229
+ var _InvalidateProjectCacheCommand = class _InvalidateProjectCacheCommand extends import_smithy_client.Command.classBuilder().ep({
3230
+ ...commonParams
3231
+ }).m(function(Command, cs, config, o) {
3232
+ return [
3233
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3234
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3235
+ ];
3236
+ }).s("CodeBuild_20161006", "InvalidateProjectCache", {}).n("CodeBuildClient", "InvalidateProjectCacheCommand").f(void 0, void 0).ser(se_InvalidateProjectCacheCommand).de(de_InvalidateProjectCacheCommand).build() {
3237
+ };
3238
+ __name(_InvalidateProjectCacheCommand, "InvalidateProjectCacheCommand");
3239
+ var InvalidateProjectCacheCommand = _InvalidateProjectCacheCommand;
3240
+
3241
+ // src/commands/ListBuildBatchesCommand.ts
3242
+
3243
+
3244
+
3245
+
3246
+ var _ListBuildBatchesCommand = class _ListBuildBatchesCommand extends import_smithy_client.Command.classBuilder().ep({
3247
+ ...commonParams
3248
+ }).m(function(Command, cs, config, o) {
3249
+ return [
3250
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3251
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3252
+ ];
3253
+ }).s("CodeBuild_20161006", "ListBuildBatches", {}).n("CodeBuildClient", "ListBuildBatchesCommand").f(void 0, void 0).ser(se_ListBuildBatchesCommand).de(de_ListBuildBatchesCommand).build() {
3254
+ };
3255
+ __name(_ListBuildBatchesCommand, "ListBuildBatchesCommand");
3256
+ var ListBuildBatchesCommand = _ListBuildBatchesCommand;
3257
+
3258
+ // src/commands/ListBuildBatchesForProjectCommand.ts
3259
+
3260
+
3261
+
3262
+
3263
+ var _ListBuildBatchesForProjectCommand = class _ListBuildBatchesForProjectCommand extends import_smithy_client.Command.classBuilder().ep({
3264
+ ...commonParams
3265
+ }).m(function(Command, cs, config, o) {
3266
+ return [
3267
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3268
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3269
+ ];
3270
+ }).s("CodeBuild_20161006", "ListBuildBatchesForProject", {}).n("CodeBuildClient", "ListBuildBatchesForProjectCommand").f(void 0, void 0).ser(se_ListBuildBatchesForProjectCommand).de(de_ListBuildBatchesForProjectCommand).build() {
3271
+ };
3272
+ __name(_ListBuildBatchesForProjectCommand, "ListBuildBatchesForProjectCommand");
3273
+ var ListBuildBatchesForProjectCommand = _ListBuildBatchesForProjectCommand;
3274
+
3275
+ // src/commands/ListBuildsCommand.ts
3276
+
3277
+
3278
+
3279
+
3280
+ var _ListBuildsCommand = class _ListBuildsCommand extends import_smithy_client.Command.classBuilder().ep({
3281
+ ...commonParams
3282
+ }).m(function(Command, cs, config, o) {
3283
+ return [
3284
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3285
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3286
+ ];
3287
+ }).s("CodeBuild_20161006", "ListBuilds", {}).n("CodeBuildClient", "ListBuildsCommand").f(void 0, void 0).ser(se_ListBuildsCommand).de(de_ListBuildsCommand).build() {
3288
+ };
3289
+ __name(_ListBuildsCommand, "ListBuildsCommand");
3290
+ var ListBuildsCommand = _ListBuildsCommand;
3291
+
3292
+ // src/commands/ListBuildsForProjectCommand.ts
3293
+
3294
+
3295
+
3296
+
3297
+ var _ListBuildsForProjectCommand = class _ListBuildsForProjectCommand extends import_smithy_client.Command.classBuilder().ep({
3298
+ ...commonParams
3299
+ }).m(function(Command, cs, config, o) {
3300
+ return [
3301
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3302
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3303
+ ];
3304
+ }).s("CodeBuild_20161006", "ListBuildsForProject", {}).n("CodeBuildClient", "ListBuildsForProjectCommand").f(void 0, void 0).ser(se_ListBuildsForProjectCommand).de(de_ListBuildsForProjectCommand).build() {
3305
+ };
3306
+ __name(_ListBuildsForProjectCommand, "ListBuildsForProjectCommand");
3307
+ var ListBuildsForProjectCommand = _ListBuildsForProjectCommand;
3308
+
3309
+ // src/commands/ListCuratedEnvironmentImagesCommand.ts
3310
+
3311
+
3312
+
3313
+
3314
+ var _ListCuratedEnvironmentImagesCommand = class _ListCuratedEnvironmentImagesCommand extends import_smithy_client.Command.classBuilder().ep({
3315
+ ...commonParams
3316
+ }).m(function(Command, cs, config, o) {
3317
+ return [
3318
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3319
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3320
+ ];
3321
+ }).s("CodeBuild_20161006", "ListCuratedEnvironmentImages", {}).n("CodeBuildClient", "ListCuratedEnvironmentImagesCommand").f(void 0, void 0).ser(se_ListCuratedEnvironmentImagesCommand).de(de_ListCuratedEnvironmentImagesCommand).build() {
3322
+ };
3323
+ __name(_ListCuratedEnvironmentImagesCommand, "ListCuratedEnvironmentImagesCommand");
3324
+ var ListCuratedEnvironmentImagesCommand = _ListCuratedEnvironmentImagesCommand;
3325
+
3326
+ // src/commands/ListProjectsCommand.ts
3327
+
3328
+
3329
+
3330
+
3331
+ var _ListProjectsCommand = class _ListProjectsCommand extends import_smithy_client.Command.classBuilder().ep({
3332
+ ...commonParams
3333
+ }).m(function(Command, cs, config, o) {
3334
+ return [
3335
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3336
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3337
+ ];
3338
+ }).s("CodeBuild_20161006", "ListProjects", {}).n("CodeBuildClient", "ListProjectsCommand").f(void 0, void 0).ser(se_ListProjectsCommand).de(de_ListProjectsCommand).build() {
3339
+ };
3340
+ __name(_ListProjectsCommand, "ListProjectsCommand");
3341
+ var ListProjectsCommand = _ListProjectsCommand;
3342
+
3343
+ // src/commands/ListReportGroupsCommand.ts
3344
+
3345
+
3346
+
3347
+
3348
+ var _ListReportGroupsCommand = class _ListReportGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
3349
+ ...commonParams
3350
+ }).m(function(Command, cs, config, o) {
3351
+ return [
3352
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3353
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3354
+ ];
3355
+ }).s("CodeBuild_20161006", "ListReportGroups", {}).n("CodeBuildClient", "ListReportGroupsCommand").f(void 0, void 0).ser(se_ListReportGroupsCommand).de(de_ListReportGroupsCommand).build() {
3356
+ };
3357
+ __name(_ListReportGroupsCommand, "ListReportGroupsCommand");
3358
+ var ListReportGroupsCommand = _ListReportGroupsCommand;
3359
+
3360
+ // src/commands/ListReportsCommand.ts
3361
+
3362
+
3363
+
3364
+
3365
+ var _ListReportsCommand = class _ListReportsCommand extends import_smithy_client.Command.classBuilder().ep({
3366
+ ...commonParams
3367
+ }).m(function(Command, cs, config, o) {
3368
+ return [
3369
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3370
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3371
+ ];
3372
+ }).s("CodeBuild_20161006", "ListReports", {}).n("CodeBuildClient", "ListReportsCommand").f(void 0, void 0).ser(se_ListReportsCommand).de(de_ListReportsCommand).build() {
3373
+ };
3374
+ __name(_ListReportsCommand, "ListReportsCommand");
3375
+ var ListReportsCommand = _ListReportsCommand;
3376
+
3377
+ // src/commands/ListReportsForReportGroupCommand.ts
3378
+
3379
+
3380
+
3381
+
3382
+ var _ListReportsForReportGroupCommand = class _ListReportsForReportGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3383
+ ...commonParams
3384
+ }).m(function(Command, cs, config, o) {
3385
+ return [
3386
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3387
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3388
+ ];
3389
+ }).s("CodeBuild_20161006", "ListReportsForReportGroup", {}).n("CodeBuildClient", "ListReportsForReportGroupCommand").f(void 0, void 0).ser(se_ListReportsForReportGroupCommand).de(de_ListReportsForReportGroupCommand).build() {
3390
+ };
3391
+ __name(_ListReportsForReportGroupCommand, "ListReportsForReportGroupCommand");
3392
+ var ListReportsForReportGroupCommand = _ListReportsForReportGroupCommand;
3393
+
3394
+ // src/commands/ListSharedProjectsCommand.ts
3395
+
3396
+
3397
+
3398
+
3399
+ var _ListSharedProjectsCommand = class _ListSharedProjectsCommand extends import_smithy_client.Command.classBuilder().ep({
3400
+ ...commonParams
3401
+ }).m(function(Command, cs, config, o) {
3402
+ return [
3403
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3404
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3405
+ ];
3406
+ }).s("CodeBuild_20161006", "ListSharedProjects", {}).n("CodeBuildClient", "ListSharedProjectsCommand").f(void 0, void 0).ser(se_ListSharedProjectsCommand).de(de_ListSharedProjectsCommand).build() {
3407
+ };
3408
+ __name(_ListSharedProjectsCommand, "ListSharedProjectsCommand");
3409
+ var ListSharedProjectsCommand = _ListSharedProjectsCommand;
3410
+
3411
+ // src/commands/ListSharedReportGroupsCommand.ts
3412
+
3413
+
3414
+
3415
+
3416
+ var _ListSharedReportGroupsCommand = class _ListSharedReportGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
3417
+ ...commonParams
3418
+ }).m(function(Command, cs, config, o) {
3419
+ return [
3420
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3421
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3422
+ ];
3423
+ }).s("CodeBuild_20161006", "ListSharedReportGroups", {}).n("CodeBuildClient", "ListSharedReportGroupsCommand").f(void 0, void 0).ser(se_ListSharedReportGroupsCommand).de(de_ListSharedReportGroupsCommand).build() {
3424
+ };
3425
+ __name(_ListSharedReportGroupsCommand, "ListSharedReportGroupsCommand");
3426
+ var ListSharedReportGroupsCommand = _ListSharedReportGroupsCommand;
3427
+
3428
+ // src/commands/ListSourceCredentialsCommand.ts
3429
+
3430
+
3431
+
3432
+
3433
+ var _ListSourceCredentialsCommand = class _ListSourceCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
3434
+ ...commonParams
3435
+ }).m(function(Command, cs, config, o) {
3436
+ return [
3437
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3438
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3439
+ ];
3440
+ }).s("CodeBuild_20161006", "ListSourceCredentials", {}).n("CodeBuildClient", "ListSourceCredentialsCommand").f(void 0, void 0).ser(se_ListSourceCredentialsCommand).de(de_ListSourceCredentialsCommand).build() {
3441
+ };
3442
+ __name(_ListSourceCredentialsCommand, "ListSourceCredentialsCommand");
3443
+ var ListSourceCredentialsCommand = _ListSourceCredentialsCommand;
3444
+
3445
+ // src/commands/PutResourcePolicyCommand.ts
3446
+
3447
+
3448
+
3449
+
3450
+ var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3451
+ ...commonParams
3452
+ }).m(function(Command, cs, config, o) {
3453
+ return [
3454
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3455
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3456
+ ];
3457
+ }).s("CodeBuild_20161006", "PutResourcePolicy", {}).n("CodeBuildClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
3458
+ };
3459
+ __name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
3460
+ var PutResourcePolicyCommand = _PutResourcePolicyCommand;
3461
+
3462
+ // src/commands/RetryBuildBatchCommand.ts
3463
+
3464
+
3465
+
3466
+
3467
+ var _RetryBuildBatchCommand = class _RetryBuildBatchCommand extends import_smithy_client.Command.classBuilder().ep({
3468
+ ...commonParams
3469
+ }).m(function(Command, cs, config, o) {
3470
+ return [
3471
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3472
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3473
+ ];
3474
+ }).s("CodeBuild_20161006", "RetryBuildBatch", {}).n("CodeBuildClient", "RetryBuildBatchCommand").f(void 0, void 0).ser(se_RetryBuildBatchCommand).de(de_RetryBuildBatchCommand).build() {
3475
+ };
3476
+ __name(_RetryBuildBatchCommand, "RetryBuildBatchCommand");
3477
+ var RetryBuildBatchCommand = _RetryBuildBatchCommand;
3478
+
3479
+ // src/commands/RetryBuildCommand.ts
3480
+
3481
+
3482
+
3483
+
3484
+ var _RetryBuildCommand = class _RetryBuildCommand extends import_smithy_client.Command.classBuilder().ep({
3485
+ ...commonParams
3486
+ }).m(function(Command, cs, config, o) {
3487
+ return [
3488
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3489
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3490
+ ];
3491
+ }).s("CodeBuild_20161006", "RetryBuild", {}).n("CodeBuildClient", "RetryBuildCommand").f(void 0, void 0).ser(se_RetryBuildCommand).de(de_RetryBuildCommand).build() {
3492
+ };
3493
+ __name(_RetryBuildCommand, "RetryBuildCommand");
3494
+ var RetryBuildCommand = _RetryBuildCommand;
3495
+
3496
+ // src/commands/StartBuildBatchCommand.ts
3497
+
3498
+
3499
+
3500
+
3501
+ var _StartBuildBatchCommand = class _StartBuildBatchCommand extends import_smithy_client.Command.classBuilder().ep({
3502
+ ...commonParams
3503
+ }).m(function(Command, cs, config, o) {
3504
+ return [
3505
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3506
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3507
+ ];
3508
+ }).s("CodeBuild_20161006", "StartBuildBatch", {}).n("CodeBuildClient", "StartBuildBatchCommand").f(void 0, void 0).ser(se_StartBuildBatchCommand).de(de_StartBuildBatchCommand).build() {
3509
+ };
3510
+ __name(_StartBuildBatchCommand, "StartBuildBatchCommand");
3511
+ var StartBuildBatchCommand = _StartBuildBatchCommand;
3512
+
3513
+ // src/commands/StartBuildCommand.ts
3514
+
3515
+
3516
+
3517
+
3518
+ var _StartBuildCommand = class _StartBuildCommand extends import_smithy_client.Command.classBuilder().ep({
3519
+ ...commonParams
3520
+ }).m(function(Command, cs, config, o) {
3521
+ return [
3522
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3523
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3524
+ ];
3525
+ }).s("CodeBuild_20161006", "StartBuild", {}).n("CodeBuildClient", "StartBuildCommand").f(void 0, void 0).ser(se_StartBuildCommand).de(de_StartBuildCommand).build() {
3526
+ };
3527
+ __name(_StartBuildCommand, "StartBuildCommand");
3528
+ var StartBuildCommand = _StartBuildCommand;
3529
+
3530
+ // src/commands/StopBuildBatchCommand.ts
3531
+
3532
+
3533
+
3534
+
3535
+ var _StopBuildBatchCommand = class _StopBuildBatchCommand extends import_smithy_client.Command.classBuilder().ep({
3536
+ ...commonParams
3537
+ }).m(function(Command, cs, config, o) {
3538
+ return [
3539
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3540
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3541
+ ];
3542
+ }).s("CodeBuild_20161006", "StopBuildBatch", {}).n("CodeBuildClient", "StopBuildBatchCommand").f(void 0, void 0).ser(se_StopBuildBatchCommand).de(de_StopBuildBatchCommand).build() {
3543
+ };
3544
+ __name(_StopBuildBatchCommand, "StopBuildBatchCommand");
3545
+ var StopBuildBatchCommand = _StopBuildBatchCommand;
3546
+
3547
+ // src/commands/StopBuildCommand.ts
3548
+
3549
+
3550
+
3551
+
3552
+ var _StopBuildCommand = class _StopBuildCommand extends import_smithy_client.Command.classBuilder().ep({
3553
+ ...commonParams
3554
+ }).m(function(Command, cs, config, o) {
3555
+ return [
3556
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3557
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3558
+ ];
3559
+ }).s("CodeBuild_20161006", "StopBuild", {}).n("CodeBuildClient", "StopBuildCommand").f(void 0, void 0).ser(se_StopBuildCommand).de(de_StopBuildCommand).build() {
3560
+ };
3561
+ __name(_StopBuildCommand, "StopBuildCommand");
3562
+ var StopBuildCommand = _StopBuildCommand;
3563
+
3564
+ // src/commands/UpdateProjectCommand.ts
3565
+
3566
+
3567
+
3568
+
3569
+ var _UpdateProjectCommand = class _UpdateProjectCommand extends import_smithy_client.Command.classBuilder().ep({
3570
+ ...commonParams
3571
+ }).m(function(Command, cs, config, o) {
3572
+ return [
3573
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3574
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3575
+ ];
3576
+ }).s("CodeBuild_20161006", "UpdateProject", {}).n("CodeBuildClient", "UpdateProjectCommand").f(void 0, void 0).ser(se_UpdateProjectCommand).de(de_UpdateProjectCommand).build() {
3577
+ };
3578
+ __name(_UpdateProjectCommand, "UpdateProjectCommand");
3579
+ var UpdateProjectCommand = _UpdateProjectCommand;
3580
+
3581
+ // src/commands/UpdateProjectVisibilityCommand.ts
3582
+
3583
+
3584
+
3585
+
3586
+ var _UpdateProjectVisibilityCommand = class _UpdateProjectVisibilityCommand extends import_smithy_client.Command.classBuilder().ep({
3587
+ ...commonParams
3588
+ }).m(function(Command, cs, config, o) {
3589
+ return [
3590
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3591
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3592
+ ];
3593
+ }).s("CodeBuild_20161006", "UpdateProjectVisibility", {}).n("CodeBuildClient", "UpdateProjectVisibilityCommand").f(void 0, void 0).ser(se_UpdateProjectVisibilityCommand).de(de_UpdateProjectVisibilityCommand).build() {
3594
+ };
3595
+ __name(_UpdateProjectVisibilityCommand, "UpdateProjectVisibilityCommand");
3596
+ var UpdateProjectVisibilityCommand = _UpdateProjectVisibilityCommand;
3597
+
3598
+ // src/commands/UpdateReportGroupCommand.ts
3599
+
3600
+
3601
+
3602
+
3603
+ var _UpdateReportGroupCommand = class _UpdateReportGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3604
+ ...commonParams
3605
+ }).m(function(Command, cs, config, o) {
3606
+ return [
3607
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3608
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3609
+ ];
3610
+ }).s("CodeBuild_20161006", "UpdateReportGroup", {}).n("CodeBuildClient", "UpdateReportGroupCommand").f(void 0, void 0).ser(se_UpdateReportGroupCommand).de(de_UpdateReportGroupCommand).build() {
3611
+ };
3612
+ __name(_UpdateReportGroupCommand, "UpdateReportGroupCommand");
3613
+ var UpdateReportGroupCommand = _UpdateReportGroupCommand;
3614
+
3615
+ // src/commands/UpdateWebhookCommand.ts
3616
+
3617
+
3618
+
3619
+
3620
+ var _UpdateWebhookCommand = class _UpdateWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
3621
+ ...commonParams
3622
+ }).m(function(Command, cs, config, o) {
3623
+ return [
3624
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3625
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3626
+ ];
3627
+ }).s("CodeBuild_20161006", "UpdateWebhook", {}).n("CodeBuildClient", "UpdateWebhookCommand").f(void 0, void 0).ser(se_UpdateWebhookCommand).de(de_UpdateWebhookCommand).build() {
3628
+ };
3629
+ __name(_UpdateWebhookCommand, "UpdateWebhookCommand");
3630
+ var UpdateWebhookCommand = _UpdateWebhookCommand;
3631
+
3632
+ // src/CodeBuild.ts
3633
+ var commands = {
3634
+ BatchDeleteBuildsCommand,
3635
+ BatchGetBuildBatchesCommand,
3636
+ BatchGetBuildsCommand,
3637
+ BatchGetProjectsCommand,
3638
+ BatchGetReportGroupsCommand,
3639
+ BatchGetReportsCommand,
3640
+ CreateProjectCommand,
3641
+ CreateReportGroupCommand,
3642
+ CreateWebhookCommand,
3643
+ DeleteBuildBatchCommand,
3644
+ DeleteProjectCommand,
3645
+ DeleteReportCommand,
3646
+ DeleteReportGroupCommand,
3647
+ DeleteResourcePolicyCommand,
3648
+ DeleteSourceCredentialsCommand,
3649
+ DeleteWebhookCommand,
3650
+ DescribeCodeCoveragesCommand,
3651
+ DescribeTestCasesCommand,
3652
+ GetReportGroupTrendCommand,
3653
+ GetResourcePolicyCommand,
3654
+ ImportSourceCredentialsCommand,
3655
+ InvalidateProjectCacheCommand,
3656
+ ListBuildBatchesCommand,
3657
+ ListBuildBatchesForProjectCommand,
3658
+ ListBuildsCommand,
3659
+ ListBuildsForProjectCommand,
3660
+ ListCuratedEnvironmentImagesCommand,
3661
+ ListProjectsCommand,
3662
+ ListReportGroupsCommand,
3663
+ ListReportsCommand,
3664
+ ListReportsForReportGroupCommand,
3665
+ ListSharedProjectsCommand,
3666
+ ListSharedReportGroupsCommand,
3667
+ ListSourceCredentialsCommand,
3668
+ PutResourcePolicyCommand,
3669
+ RetryBuildCommand,
3670
+ RetryBuildBatchCommand,
3671
+ StartBuildCommand,
3672
+ StartBuildBatchCommand,
3673
+ StopBuildCommand,
3674
+ StopBuildBatchCommand,
3675
+ UpdateProjectCommand,
3676
+ UpdateProjectVisibilityCommand,
3677
+ UpdateReportGroupCommand,
3678
+ UpdateWebhookCommand
3679
+ };
3680
+ var _CodeBuild = class _CodeBuild extends CodeBuildClient {
3681
+ };
3682
+ __name(_CodeBuild, "CodeBuild");
3683
+ var CodeBuild = _CodeBuild;
3684
+ (0, import_smithy_client.createAggregatedClient)(commands, CodeBuild);
3685
+
3686
+ // src/pagination/DescribeCodeCoveragesPaginator.ts
3687
+ var import_core = require("@smithy/core");
3688
+ var paginateDescribeCodeCoverages = (0, import_core.createPaginator)(CodeBuildClient, DescribeCodeCoveragesCommand, "nextToken", "nextToken", "maxResults");
3689
+
3690
+ // src/pagination/DescribeTestCasesPaginator.ts
3691
+
3692
+ var paginateDescribeTestCases = (0, import_core.createPaginator)(CodeBuildClient, DescribeTestCasesCommand, "nextToken", "nextToken", "maxResults");
3693
+
3694
+ // src/pagination/ListBuildBatchesForProjectPaginator.ts
3695
+
3696
+ var paginateListBuildBatchesForProject = (0, import_core.createPaginator)(CodeBuildClient, ListBuildBatchesForProjectCommand, "nextToken", "nextToken", "maxResults");
3697
+
3698
+ // src/pagination/ListBuildBatchesPaginator.ts
3699
+
3700
+ var paginateListBuildBatches = (0, import_core.createPaginator)(CodeBuildClient, ListBuildBatchesCommand, "nextToken", "nextToken", "maxResults");
3701
+
3702
+ // src/pagination/ListBuildsForProjectPaginator.ts
3703
+
3704
+ var paginateListBuildsForProject = (0, import_core.createPaginator)(CodeBuildClient, ListBuildsForProjectCommand, "nextToken", "nextToken", "");
3705
+
3706
+ // src/pagination/ListBuildsPaginator.ts
3707
+
3708
+ var paginateListBuilds = (0, import_core.createPaginator)(CodeBuildClient, ListBuildsCommand, "nextToken", "nextToken", "");
3709
+
3710
+ // src/pagination/ListProjectsPaginator.ts
3711
+
3712
+ var paginateListProjects = (0, import_core.createPaginator)(CodeBuildClient, ListProjectsCommand, "nextToken", "nextToken", "");
3713
+
3714
+ // src/pagination/ListReportGroupsPaginator.ts
3715
+
3716
+ var paginateListReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListReportGroupsCommand, "nextToken", "nextToken", "maxResults");
3717
+
3718
+ // src/pagination/ListReportsForReportGroupPaginator.ts
3719
+
3720
+ var paginateListReportsForReportGroup = (0, import_core.createPaginator)(CodeBuildClient, ListReportsForReportGroupCommand, "nextToken", "nextToken", "maxResults");
3721
+
3722
+ // src/pagination/ListReportsPaginator.ts
3723
+
3724
+ var paginateListReports = (0, import_core.createPaginator)(CodeBuildClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
3725
+
3726
+ // src/pagination/ListSharedProjectsPaginator.ts
3727
+
3728
+ var paginateListSharedProjects = (0, import_core.createPaginator)(CodeBuildClient, ListSharedProjectsCommand, "nextToken", "nextToken", "maxResults");
3729
+
3730
+ // src/pagination/ListSharedReportGroupsPaginator.ts
3731
+
3732
+ var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListSharedReportGroupsCommand, "nextToken", "nextToken", "maxResults");
3733
+
3734
+ // src/index.ts
3735
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3736
+ // Annotate the CommonJS export names for ESM import in node:
3737
+ 0 && (module.exports = {
3738
+ AccountLimitExceededException,
3739
+ ArtifactNamespace,
3740
+ ArtifactPackaging,
3741
+ ArtifactsType,
3742
+ AuthType,
3743
+ BatchDeleteBuildsCommand,
3744
+ BatchGetBuildBatchesCommand,
3745
+ BatchGetBuildsCommand,
3746
+ BatchGetProjectsCommand,
3747
+ BatchGetReportGroupsCommand,
3748
+ BatchGetReportsCommand,
3749
+ BatchReportModeType,
3750
+ BucketOwnerAccess,
3751
+ BuildBatchPhaseType,
3752
+ BuildPhaseType,
3753
+ CacheMode,
3754
+ CacheType,
3755
+ CodeBuild,
3756
+ CodeBuildClient,
3757
+ CodeBuildServiceException,
3758
+ ComputeType,
3759
+ CreateProjectCommand,
3760
+ CreateReportGroupCommand,
3761
+ CreateWebhookCommand,
3762
+ CredentialProviderType,
3763
+ DeleteBuildBatchCommand,
3764
+ DeleteProjectCommand,
3765
+ DeleteReportCommand,
3766
+ DeleteReportGroupCommand,
3767
+ DeleteResourcePolicyCommand,
3768
+ DeleteSourceCredentialsCommand,
3769
+ DeleteWebhookCommand,
3770
+ DescribeCodeCoveragesCommand,
3771
+ DescribeTestCasesCommand,
3772
+ EnvironmentType,
3773
+ EnvironmentVariableType,
3774
+ FileSystemType,
3775
+ GetReportGroupTrendCommand,
3776
+ GetResourcePolicyCommand,
3777
+ ImagePullCredentialsType,
3778
+ ImportSourceCredentialsCommand,
3779
+ ImportSourceCredentialsInputFilterSensitiveLog,
3780
+ InvalidInputException,
3781
+ InvalidateProjectCacheCommand,
3782
+ LanguageType,
3783
+ ListBuildBatchesCommand,
3784
+ ListBuildBatchesForProjectCommand,
3785
+ ListBuildsCommand,
3786
+ ListBuildsForProjectCommand,
3787
+ ListCuratedEnvironmentImagesCommand,
3788
+ ListProjectsCommand,
3789
+ ListReportGroupsCommand,
3790
+ ListReportsCommand,
3791
+ ListReportsForReportGroupCommand,
3792
+ ListSharedProjectsCommand,
3793
+ ListSharedReportGroupsCommand,
3794
+ ListSourceCredentialsCommand,
3795
+ LogsConfigStatusType,
3796
+ OAuthProviderException,
3797
+ PlatformType,
3798
+ ProjectSortByType,
3799
+ ProjectVisibilityType,
3800
+ PutResourcePolicyCommand,
3801
+ ReportCodeCoverageSortByType,
3802
+ ReportExportConfigType,
3803
+ ReportGroupSortByType,
3804
+ ReportGroupStatusType,
3805
+ ReportGroupTrendFieldType,
3806
+ ReportPackagingType,
3807
+ ReportStatusType,
3808
+ ReportType,
3809
+ ResourceAlreadyExistsException,
3810
+ ResourceNotFoundException,
3811
+ RetryBuildBatchCommand,
3812
+ RetryBuildBatchType,
3813
+ RetryBuildCommand,
3814
+ ServerType,
3815
+ SharedResourceSortByType,
3816
+ SortOrderType,
3817
+ SourceAuthType,
3818
+ SourceType,
3819
+ StartBuildBatchCommand,
3820
+ StartBuildCommand,
3821
+ StatusType,
3822
+ StopBuildBatchCommand,
3823
+ StopBuildCommand,
3824
+ UpdateProjectCommand,
3825
+ UpdateProjectVisibilityCommand,
3826
+ UpdateReportGroupCommand,
3827
+ UpdateWebhookCommand,
3828
+ WebhookBuildType,
3829
+ WebhookFilterType,
3830
+ __Client,
3831
+ paginateDescribeCodeCoverages,
3832
+ paginateDescribeTestCases,
3833
+ paginateListBuildBatches,
3834
+ paginateListBuildBatchesForProject,
3835
+ paginateListBuilds,
3836
+ paginateListBuildsForProject,
3837
+ paginateListProjects,
3838
+ paginateListReportGroups,
3839
+ paginateListReports,
3840
+ paginateListReportsForReportGroup,
3841
+ paginateListSharedProjects,
3842
+ paginateListSharedReportGroups
3843
+ });