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