@aws-sdk/client-codebuild 3.495.0 → 3.499.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/commands/BatchGetFleetsCommand.js +1 -0
- package/dist-cjs/commands/CreateFleetCommand.js +1 -0
- package/dist-cjs/commands/DeleteFleetCommand.js +1 -0
- package/dist-cjs/commands/ListFleetsCommand.js +1 -0
- package/dist-cjs/commands/UpdateFleetCommand.js +1 -0
- package/dist-cjs/index.js +498 -52
- package/dist-cjs/pagination/ListFleetsPaginator.js +1 -0
- package/dist-es/CodeBuild.js +10 -0
- package/dist-es/commands/BatchGetFleetsCommand.js +24 -0
- package/dist-es/commands/CreateFleetCommand.js +24 -0
- package/dist-es/commands/DeleteFleetCommand.js +24 -0
- package/dist-es/commands/ListFleetsCommand.js +25 -0
- package/dist-es/commands/UpdateFleetCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListFleetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +303 -0
- package/dist-types/CodeBuild.d.ts +35 -0
- package/dist-types/CodeBuildClient.d.ts +7 -2
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetFleetsCommand.d.ts +99 -0
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +3 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +118 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFleetCommand.d.ts +59 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +67 -0
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/RetryBuildCommand.d.ts +3 -0
- package/dist-types/commands/StartBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/StartBuildCommand.d.ts +6 -0
- package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
- package/dist-types/commands/StopBuildCommand.d.ts +3 -0
- package/dist-types/commands/UpdateFleetCommand.d.ts +117 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +843 -57
- package/dist-types/pagination/ListFleetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/CodeBuild.d.ts +85 -0
- package/dist-types/ts3.4/CodeBuildClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetFleetsCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -11
- package/dist-types/ts3.4/pagination/ListFleetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
BatchDeleteBuildsCommand: () => BatchDeleteBuildsCommand,
|
|
30
30
|
BatchGetBuildBatchesCommand: () => BatchGetBuildBatchesCommand,
|
|
31
31
|
BatchGetBuildsCommand: () => BatchGetBuildsCommand,
|
|
32
|
+
BatchGetFleetsCommand: () => BatchGetFleetsCommand,
|
|
32
33
|
BatchGetProjectsCommand: () => BatchGetProjectsCommand,
|
|
33
34
|
BatchGetReportGroupsCommand: () => BatchGetReportGroupsCommand,
|
|
34
35
|
BatchGetReportsCommand: () => BatchGetReportsCommand,
|
|
@@ -42,11 +43,13 @@ __export(src_exports, {
|
|
|
42
43
|
CodeBuildClient: () => CodeBuildClient,
|
|
43
44
|
CodeBuildServiceException: () => CodeBuildServiceException,
|
|
44
45
|
ComputeType: () => ComputeType,
|
|
46
|
+
CreateFleetCommand: () => CreateFleetCommand,
|
|
45
47
|
CreateProjectCommand: () => CreateProjectCommand,
|
|
46
48
|
CreateReportGroupCommand: () => CreateReportGroupCommand,
|
|
47
49
|
CreateWebhookCommand: () => CreateWebhookCommand,
|
|
48
50
|
CredentialProviderType: () => CredentialProviderType,
|
|
49
51
|
DeleteBuildBatchCommand: () => DeleteBuildBatchCommand,
|
|
52
|
+
DeleteFleetCommand: () => DeleteFleetCommand,
|
|
50
53
|
DeleteProjectCommand: () => DeleteProjectCommand,
|
|
51
54
|
DeleteReportCommand: () => DeleteReportCommand,
|
|
52
55
|
DeleteReportGroupCommand: () => DeleteReportGroupCommand,
|
|
@@ -58,6 +61,11 @@ __export(src_exports, {
|
|
|
58
61
|
EnvironmentType: () => EnvironmentType,
|
|
59
62
|
EnvironmentVariableType: () => EnvironmentVariableType,
|
|
60
63
|
FileSystemType: () => FileSystemType,
|
|
64
|
+
FleetContextCode: () => FleetContextCode,
|
|
65
|
+
FleetScalingMetricType: () => FleetScalingMetricType,
|
|
66
|
+
FleetScalingType: () => FleetScalingType,
|
|
67
|
+
FleetSortByType: () => FleetSortByType,
|
|
68
|
+
FleetStatusCode: () => FleetStatusCode,
|
|
61
69
|
GetReportGroupTrendCommand: () => GetReportGroupTrendCommand,
|
|
62
70
|
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
63
71
|
ImagePullCredentialsType: () => ImagePullCredentialsType,
|
|
@@ -71,6 +79,8 @@ __export(src_exports, {
|
|
|
71
79
|
ListBuildsCommand: () => ListBuildsCommand,
|
|
72
80
|
ListBuildsForProjectCommand: () => ListBuildsForProjectCommand,
|
|
73
81
|
ListCuratedEnvironmentImagesCommand: () => ListCuratedEnvironmentImagesCommand,
|
|
82
|
+
ListFleetsCommand: () => ListFleetsCommand,
|
|
83
|
+
ListFleetsInputFilterSensitiveLog: () => ListFleetsInputFilterSensitiveLog,
|
|
74
84
|
ListProjectsCommand: () => ListProjectsCommand,
|
|
75
85
|
ListReportGroupsCommand: () => ListReportGroupsCommand,
|
|
76
86
|
ListReportsCommand: () => ListReportsCommand,
|
|
@@ -107,6 +117,7 @@ __export(src_exports, {
|
|
|
107
117
|
StatusType: () => StatusType,
|
|
108
118
|
StopBuildBatchCommand: () => StopBuildBatchCommand,
|
|
109
119
|
StopBuildCommand: () => StopBuildCommand,
|
|
120
|
+
UpdateFleetCommand: () => UpdateFleetCommand,
|
|
110
121
|
UpdateProjectCommand: () => UpdateProjectCommand,
|
|
111
122
|
UpdateProjectVisibilityCommand: () => UpdateProjectVisibilityCommand,
|
|
112
123
|
UpdateReportGroupCommand: () => UpdateReportGroupCommand,
|
|
@@ -120,6 +131,7 @@ __export(src_exports, {
|
|
|
120
131
|
paginateListBuildBatchesForProject: () => paginateListBuildBatchesForProject,
|
|
121
132
|
paginateListBuilds: () => paginateListBuilds,
|
|
122
133
|
paginateListBuildsForProject: () => paginateListBuildsForProject,
|
|
134
|
+
paginateListFleets: () => paginateListFleets,
|
|
123
135
|
paginateListProjects: () => paginateListProjects,
|
|
124
136
|
paginateListReportGroups: () => paginateListReportGroups,
|
|
125
137
|
paginateListReports: () => paginateListReports,
|
|
@@ -396,6 +408,25 @@ var BuildPhaseType = {
|
|
|
396
408
|
SUBMITTED: "SUBMITTED",
|
|
397
409
|
UPLOAD_ARTIFACTS: "UPLOAD_ARTIFACTS"
|
|
398
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
|
+
};
|
|
399
430
|
var ProjectVisibilityType = {
|
|
400
431
|
PRIVATE: "PRIVATE",
|
|
401
432
|
PUBLIC_READ: "PUBLIC_READ"
|
|
@@ -528,6 +559,11 @@ var PlatformType = {
|
|
|
528
559
|
UBUNTU: "UBUNTU",
|
|
529
560
|
WINDOWS_SERVER: "WINDOWS_SERVER"
|
|
530
561
|
};
|
|
562
|
+
var FleetSortByType = {
|
|
563
|
+
CREATED_TIME: "CREATED_TIME",
|
|
564
|
+
LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
|
|
565
|
+
NAME: "NAME"
|
|
566
|
+
};
|
|
531
567
|
var ProjectSortByType = {
|
|
532
568
|
CREATED_TIME: "CREATED_TIME",
|
|
533
569
|
LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
|
|
@@ -550,6 +586,10 @@ var ImportSourceCredentialsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj
|
|
|
550
586
|
...obj,
|
|
551
587
|
...obj.token && { token: import_smithy_client.SENSITIVE_STRING }
|
|
552
588
|
}), "ImportSourceCredentialsInputFilterSensitiveLog");
|
|
589
|
+
var ListFleetsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
590
|
+
...obj,
|
|
591
|
+
...obj.nextToken && { nextToken: import_smithy_client.SENSITIVE_STRING }
|
|
592
|
+
}), "ListFleetsInputFilterSensitiveLog");
|
|
553
593
|
|
|
554
594
|
// src/protocols/Aws_json1_1.ts
|
|
555
595
|
var se_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -570,6 +610,12 @@ var se_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
570
610
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
571
611
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
572
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");
|
|
573
619
|
var se_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
574
620
|
const headers = sharedHeaders("BatchGetProjects");
|
|
575
621
|
let body;
|
|
@@ -588,6 +634,12 @@ var se_BatchGetReportsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
588
634
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
589
635
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
590
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");
|
|
591
643
|
var se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
592
644
|
const headers = sharedHeaders("CreateProject");
|
|
593
645
|
let body;
|
|
@@ -612,6 +664,12 @@ var se_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
612
664
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
613
665
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
614
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");
|
|
615
673
|
var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
616
674
|
const headers = sharedHeaders("DeleteProject");
|
|
617
675
|
let body;
|
|
@@ -714,6 +772,12 @@ var se_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (input
|
|
|
714
772
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
715
773
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
716
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");
|
|
717
781
|
var se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
718
782
|
const headers = sharedHeaders("ListProjects");
|
|
719
783
|
let body;
|
|
@@ -798,6 +862,12 @@ var se_StopBuildBatchCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
798
862
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
799
863
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
800
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");
|
|
801
871
|
var se_UpdateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
802
872
|
const headers = sharedHeaders("UpdateProject");
|
|
803
873
|
let body;
|
|
@@ -918,6 +988,38 @@ var de_BatchGetBuildsCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
918
988
|
});
|
|
919
989
|
}
|
|
920
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");
|
|
921
1023
|
var de_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
922
1024
|
if (output.statusCode >= 300) {
|
|
923
1025
|
return de_BatchGetProjectsCommandError(output, context);
|
|
@@ -1014,6 +1116,44 @@ var de_BatchGetReportsCommandError = /* @__PURE__ */ __name(async (output, conte
|
|
|
1014
1116
|
});
|
|
1015
1117
|
}
|
|
1016
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");
|
|
1017
1157
|
var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1018
1158
|
if (output.statusCode >= 300) {
|
|
1019
1159
|
return de_CreateProjectCommandError(output, context);
|
|
@@ -1163,6 +1303,38 @@ var de_DeleteBuildBatchCommandError = /* @__PURE__ */ __name(async (output, cont
|
|
|
1163
1303
|
});
|
|
1164
1304
|
}
|
|
1165
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");
|
|
1166
1338
|
var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1167
1339
|
if (output.statusCode >= 300) {
|
|
1168
1340
|
return de_DeleteProjectCommandError(output, context);
|
|
@@ -1734,6 +1906,38 @@ var de_ListCuratedEnvironmentImagesCommandError = /* @__PURE__ */ __name(async (
|
|
|
1734
1906
|
errorCode
|
|
1735
1907
|
});
|
|
1736
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");
|
|
1737
1941
|
var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1738
1942
|
if (output.statusCode >= 300) {
|
|
1739
1943
|
return de_ListProjectsCommandError(output, context);
|
|
@@ -2212,6 +2416,44 @@ var de_StopBuildBatchCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
2212
2416
|
});
|
|
2213
2417
|
}
|
|
2214
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");
|
|
2215
2457
|
var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2216
2458
|
if (output.statusCode >= 300) {
|
|
2217
2459
|
return de_UpdateProjectCommandError(output, context);
|
|
@@ -2400,6 +2642,16 @@ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
|
|
|
2400
2642
|
});
|
|
2401
2643
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2402
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");
|
|
2403
2655
|
var se_DescribeCodeCoveragesInput = /* @__PURE__ */ __name((input, context) => {
|
|
2404
2656
|
return (0, import_smithy_client.take)(input, {
|
|
2405
2657
|
maxLineCoveragePercentage: import_smithy_client.serializeFloat,
|
|
@@ -2411,6 +2663,34 @@ var se_DescribeCodeCoveragesInput = /* @__PURE__ */ __name((input, context) => {
|
|
|
2411
2663
|
sortOrder: []
|
|
2412
2664
|
});
|
|
2413
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");
|
|
2414
2694
|
var de_BatchGetBuildBatchesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2415
2695
|
return (0, import_smithy_client.take)(output, {
|
|
2416
2696
|
buildBatches: (_) => de_BuildBatches(_, context),
|
|
@@ -2423,6 +2703,12 @@ var de_BatchGetBuildsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2423
2703
|
buildsNotFound: import_smithy_client._json
|
|
2424
2704
|
});
|
|
2425
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");
|
|
2426
2712
|
var de_BatchGetProjectsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2427
2713
|
return (0, import_smithy_client.take)(output, {
|
|
2428
2714
|
projects: (_) => de_Projects(_, context),
|
|
@@ -2615,6 +2901,11 @@ var de_CodeCoverages = /* @__PURE__ */ __name((output, context) => {
|
|
|
2615
2901
|
});
|
|
2616
2902
|
return retVal;
|
|
2617
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");
|
|
2618
2909
|
var de_CreateProjectOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2619
2910
|
return (0, import_smithy_client.take)(output, {
|
|
2620
2911
|
project: (_) => de_Project(_, context)
|
|
@@ -2642,6 +2933,27 @@ var de_DescribeTestCasesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2642
2933
|
testCases: (_) => de_TestCases(_, context)
|
|
2643
2934
|
});
|
|
2644
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");
|
|
2645
2957
|
var de_Project = /* @__PURE__ */ __name((output, context) => {
|
|
2646
2958
|
return (0, import_smithy_client.take)(output, {
|
|
2647
2959
|
arn: import_smithy_client.expectString,
|
|
@@ -2730,6 +3042,14 @@ var de_RetryBuildOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2730
3042
|
build: (_) => de_Build(_, context)
|
|
2731
3043
|
});
|
|
2732
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");
|
|
2733
3053
|
var de_StartBuildBatchOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2734
3054
|
return (0, import_smithy_client.take)(output, {
|
|
2735
3055
|
buildBatch: (_) => de_BuildBatch(_, context)
|
|
@@ -2750,6 +3070,18 @@ var de_StopBuildOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2750
3070
|
build: (_) => de_Build(_, context)
|
|
2751
3071
|
});
|
|
2752
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");
|
|
2753
3085
|
var de_TestCase = /* @__PURE__ */ __name((output, context) => {
|
|
2754
3086
|
return (0, import_smithy_client.take)(output, {
|
|
2755
3087
|
durationInNanoSeconds: import_smithy_client.expectLong,
|
|
@@ -2768,6 +3100,11 @@ var de_TestCases = /* @__PURE__ */ __name((output, context) => {
|
|
|
2768
3100
|
});
|
|
2769
3101
|
return retVal;
|
|
2770
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");
|
|
2771
3108
|
var de_UpdateProjectOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2772
3109
|
return (0, import_smithy_client.take)(output, {
|
|
2773
3110
|
project: (_) => de_Project(_, context)
|
|
@@ -2915,6 +3252,23 @@ var _BatchGetBuildsCommand = class _BatchGetBuildsCommand extends import_smithy_
|
|
|
2915
3252
|
__name(_BatchGetBuildsCommand, "BatchGetBuildsCommand");
|
|
2916
3253
|
var BatchGetBuildsCommand = _BatchGetBuildsCommand;
|
|
2917
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
|
+
|
|
2918
3272
|
// src/commands/BatchGetProjectsCommand.ts
|
|
2919
3273
|
|
|
2920
3274
|
|
|
@@ -2966,6 +3320,23 @@ var _BatchGetReportsCommand = class _BatchGetReportsCommand extends import_smith
|
|
|
2966
3320
|
__name(_BatchGetReportsCommand, "BatchGetReportsCommand");
|
|
2967
3321
|
var BatchGetReportsCommand = _BatchGetReportsCommand;
|
|
2968
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
|
+
|
|
2969
3340
|
// src/commands/CreateProjectCommand.ts
|
|
2970
3341
|
|
|
2971
3342
|
|
|
@@ -3034,6 +3405,23 @@ var _DeleteBuildBatchCommand = class _DeleteBuildBatchCommand extends import_smi
|
|
|
3034
3405
|
__name(_DeleteBuildBatchCommand, "DeleteBuildBatchCommand");
|
|
3035
3406
|
var DeleteBuildBatchCommand = _DeleteBuildBatchCommand;
|
|
3036
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
|
+
|
|
3037
3425
|
// src/commands/DeleteProjectCommand.ts
|
|
3038
3426
|
|
|
3039
3427
|
|
|
@@ -3323,6 +3711,23 @@ var _ListCuratedEnvironmentImagesCommand = class _ListCuratedEnvironmentImagesCo
|
|
|
3323
3711
|
__name(_ListCuratedEnvironmentImagesCommand, "ListCuratedEnvironmentImagesCommand");
|
|
3324
3712
|
var ListCuratedEnvironmentImagesCommand = _ListCuratedEnvironmentImagesCommand;
|
|
3325
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
|
+
|
|
3326
3731
|
// src/commands/ListProjectsCommand.ts
|
|
3327
3732
|
|
|
3328
3733
|
|
|
@@ -3561,6 +3966,23 @@ var _StopBuildCommand = class _StopBuildCommand extends import_smithy_client.Com
|
|
|
3561
3966
|
__name(_StopBuildCommand, "StopBuildCommand");
|
|
3562
3967
|
var StopBuildCommand = _StopBuildCommand;
|
|
3563
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
|
+
|
|
3564
3986
|
// src/commands/UpdateProjectCommand.ts
|
|
3565
3987
|
|
|
3566
3988
|
|
|
@@ -3634,13 +4056,16 @@ var commands = {
|
|
|
3634
4056
|
BatchDeleteBuildsCommand,
|
|
3635
4057
|
BatchGetBuildBatchesCommand,
|
|
3636
4058
|
BatchGetBuildsCommand,
|
|
4059
|
+
BatchGetFleetsCommand,
|
|
3637
4060
|
BatchGetProjectsCommand,
|
|
3638
4061
|
BatchGetReportGroupsCommand,
|
|
3639
4062
|
BatchGetReportsCommand,
|
|
4063
|
+
CreateFleetCommand,
|
|
3640
4064
|
CreateProjectCommand,
|
|
3641
4065
|
CreateReportGroupCommand,
|
|
3642
4066
|
CreateWebhookCommand,
|
|
3643
4067
|
DeleteBuildBatchCommand,
|
|
4068
|
+
DeleteFleetCommand,
|
|
3644
4069
|
DeleteProjectCommand,
|
|
3645
4070
|
DeleteReportCommand,
|
|
3646
4071
|
DeleteReportGroupCommand,
|
|
@@ -3658,6 +4083,7 @@ var commands = {
|
|
|
3658
4083
|
ListBuildsCommand,
|
|
3659
4084
|
ListBuildsForProjectCommand,
|
|
3660
4085
|
ListCuratedEnvironmentImagesCommand,
|
|
4086
|
+
ListFleetsCommand,
|
|
3661
4087
|
ListProjectsCommand,
|
|
3662
4088
|
ListReportGroupsCommand,
|
|
3663
4089
|
ListReportsCommand,
|
|
@@ -3672,6 +4098,7 @@ var commands = {
|
|
|
3672
4098
|
StartBuildBatchCommand,
|
|
3673
4099
|
StopBuildCommand,
|
|
3674
4100
|
StopBuildBatchCommand,
|
|
4101
|
+
UpdateFleetCommand,
|
|
3675
4102
|
UpdateProjectCommand,
|
|
3676
4103
|
UpdateProjectVisibilityCommand,
|
|
3677
4104
|
UpdateReportGroupCommand,
|
|
@@ -3707,6 +4134,10 @@ var paginateListBuildsForProject = (0, import_core.createPaginator)(CodeBuildCli
|
|
|
3707
4134
|
|
|
3708
4135
|
var paginateListBuilds = (0, import_core.createPaginator)(CodeBuildClient, ListBuildsCommand, "nextToken", "nextToken", "");
|
|
3709
4136
|
|
|
4137
|
+
// src/pagination/ListFleetsPaginator.ts
|
|
4138
|
+
|
|
4139
|
+
var paginateListFleets = (0, import_core.createPaginator)(CodeBuildClient, ListFleetsCommand, "nextToken", "nextToken", "maxResults");
|
|
4140
|
+
|
|
3710
4141
|
// src/pagination/ListProjectsPaginator.ts
|
|
3711
4142
|
|
|
3712
4143
|
var paginateListProjects = (0, import_core.createPaginator)(CodeBuildClient, ListProjectsCommand, "nextToken", "nextToken", "");
|
|
@@ -3734,33 +4165,26 @@ var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildC
|
|
|
3734
4165
|
// src/index.ts
|
|
3735
4166
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3736
4167
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4168
|
+
|
|
3737
4169
|
0 && (module.exports = {
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
4170
|
+
CodeBuildServiceException,
|
|
4171
|
+
__Client,
|
|
4172
|
+
CodeBuildClient,
|
|
4173
|
+
CodeBuild,
|
|
4174
|
+
$Command,
|
|
3743
4175
|
BatchDeleteBuildsCommand,
|
|
3744
4176
|
BatchGetBuildBatchesCommand,
|
|
3745
4177
|
BatchGetBuildsCommand,
|
|
4178
|
+
BatchGetFleetsCommand,
|
|
3746
4179
|
BatchGetProjectsCommand,
|
|
3747
4180
|
BatchGetReportGroupsCommand,
|
|
3748
4181
|
BatchGetReportsCommand,
|
|
3749
|
-
|
|
3750
|
-
BucketOwnerAccess,
|
|
3751
|
-
BuildBatchPhaseType,
|
|
3752
|
-
BuildPhaseType,
|
|
3753
|
-
CacheMode,
|
|
3754
|
-
CacheType,
|
|
3755
|
-
CodeBuild,
|
|
3756
|
-
CodeBuildClient,
|
|
3757
|
-
CodeBuildServiceException,
|
|
3758
|
-
ComputeType,
|
|
4182
|
+
CreateFleetCommand,
|
|
3759
4183
|
CreateProjectCommand,
|
|
3760
4184
|
CreateReportGroupCommand,
|
|
3761
4185
|
CreateWebhookCommand,
|
|
3762
|
-
CredentialProviderType,
|
|
3763
4186
|
DeleteBuildBatchCommand,
|
|
4187
|
+
DeleteFleetCommand,
|
|
3764
4188
|
DeleteProjectCommand,
|
|
3765
4189
|
DeleteReportCommand,
|
|
3766
4190
|
DeleteReportGroupCommand,
|
|
@@ -3769,22 +4193,16 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
3769
4193
|
DeleteWebhookCommand,
|
|
3770
4194
|
DescribeCodeCoveragesCommand,
|
|
3771
4195
|
DescribeTestCasesCommand,
|
|
3772
|
-
EnvironmentType,
|
|
3773
|
-
EnvironmentVariableType,
|
|
3774
|
-
FileSystemType,
|
|
3775
4196
|
GetReportGroupTrendCommand,
|
|
3776
4197
|
GetResourcePolicyCommand,
|
|
3777
|
-
ImagePullCredentialsType,
|
|
3778
4198
|
ImportSourceCredentialsCommand,
|
|
3779
|
-
ImportSourceCredentialsInputFilterSensitiveLog,
|
|
3780
|
-
InvalidInputException,
|
|
3781
4199
|
InvalidateProjectCacheCommand,
|
|
3782
|
-
LanguageType,
|
|
3783
4200
|
ListBuildBatchesCommand,
|
|
3784
4201
|
ListBuildBatchesForProjectCommand,
|
|
3785
4202
|
ListBuildsCommand,
|
|
3786
4203
|
ListBuildsForProjectCommand,
|
|
3787
4204
|
ListCuratedEnvironmentImagesCommand,
|
|
4205
|
+
ListFleetsCommand,
|
|
3788
4206
|
ListProjectsCommand,
|
|
3789
4207
|
ListReportGroupsCommand,
|
|
3790
4208
|
ListReportsCommand,
|
|
@@ -3792,52 +4210,80 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
3792
4210
|
ListSharedProjectsCommand,
|
|
3793
4211
|
ListSharedReportGroupsCommand,
|
|
3794
4212
|
ListSourceCredentialsCommand,
|
|
3795
|
-
LogsConfigStatusType,
|
|
3796
|
-
OAuthProviderException,
|
|
3797
|
-
PlatformType,
|
|
3798
|
-
ProjectSortByType,
|
|
3799
|
-
ProjectVisibilityType,
|
|
3800
4213
|
PutResourcePolicyCommand,
|
|
3801
|
-
ReportCodeCoverageSortByType,
|
|
3802
|
-
ReportExportConfigType,
|
|
3803
|
-
ReportGroupSortByType,
|
|
3804
|
-
ReportGroupStatusType,
|
|
3805
|
-
ReportGroupTrendFieldType,
|
|
3806
|
-
ReportPackagingType,
|
|
3807
|
-
ReportStatusType,
|
|
3808
|
-
ReportType,
|
|
3809
|
-
ResourceAlreadyExistsException,
|
|
3810
|
-
ResourceNotFoundException,
|
|
3811
4214
|
RetryBuildBatchCommand,
|
|
3812
|
-
RetryBuildBatchType,
|
|
3813
4215
|
RetryBuildCommand,
|
|
3814
|
-
ServerType,
|
|
3815
|
-
SharedResourceSortByType,
|
|
3816
|
-
SortOrderType,
|
|
3817
|
-
SourceAuthType,
|
|
3818
|
-
SourceType,
|
|
3819
4216
|
StartBuildBatchCommand,
|
|
3820
4217
|
StartBuildCommand,
|
|
3821
|
-
StatusType,
|
|
3822
4218
|
StopBuildBatchCommand,
|
|
3823
4219
|
StopBuildCommand,
|
|
4220
|
+
UpdateFleetCommand,
|
|
3824
4221
|
UpdateProjectCommand,
|
|
3825
4222
|
UpdateProjectVisibilityCommand,
|
|
3826
4223
|
UpdateReportGroupCommand,
|
|
3827
4224
|
UpdateWebhookCommand,
|
|
3828
|
-
WebhookBuildType,
|
|
3829
|
-
WebhookFilterType,
|
|
3830
|
-
__Client,
|
|
3831
4225
|
paginateDescribeCodeCoverages,
|
|
3832
4226
|
paginateDescribeTestCases,
|
|
3833
|
-
paginateListBuildBatches,
|
|
3834
4227
|
paginateListBuildBatchesForProject,
|
|
3835
|
-
|
|
4228
|
+
paginateListBuildBatches,
|
|
3836
4229
|
paginateListBuildsForProject,
|
|
4230
|
+
paginateListBuilds,
|
|
4231
|
+
paginateListFleets,
|
|
3837
4232
|
paginateListProjects,
|
|
3838
4233
|
paginateListReportGroups,
|
|
3839
|
-
paginateListReports,
|
|
3840
4234
|
paginateListReportsForReportGroup,
|
|
4235
|
+
paginateListReports,
|
|
3841
4236
|
paginateListSharedProjects,
|
|
3842
|
-
paginateListSharedReportGroups
|
|
4237
|
+
paginateListSharedReportGroups,
|
|
4238
|
+
AccountLimitExceededException,
|
|
4239
|
+
ArtifactNamespace,
|
|
4240
|
+
ArtifactPackaging,
|
|
4241
|
+
ArtifactsType,
|
|
4242
|
+
AuthType,
|
|
4243
|
+
InvalidInputException,
|
|
4244
|
+
BucketOwnerAccess,
|
|
4245
|
+
BatchReportModeType,
|
|
4246
|
+
StatusType,
|
|
4247
|
+
CacheMode,
|
|
4248
|
+
CacheType,
|
|
4249
|
+
ComputeType,
|
|
4250
|
+
EnvironmentVariableType,
|
|
4251
|
+
ImagePullCredentialsType,
|
|
4252
|
+
CredentialProviderType,
|
|
4253
|
+
EnvironmentType,
|
|
4254
|
+
FileSystemType,
|
|
4255
|
+
LogsConfigStatusType,
|
|
4256
|
+
BuildBatchPhaseType,
|
|
4257
|
+
SourceAuthType,
|
|
4258
|
+
SourceType,
|
|
4259
|
+
BuildPhaseType,
|
|
4260
|
+
FleetScalingType,
|
|
4261
|
+
FleetScalingMetricType,
|
|
4262
|
+
FleetContextCode,
|
|
4263
|
+
FleetStatusCode,
|
|
4264
|
+
ProjectVisibilityType,
|
|
4265
|
+
WebhookBuildType,
|
|
4266
|
+
WebhookFilterType,
|
|
4267
|
+
ReportExportConfigType,
|
|
4268
|
+
ReportPackagingType,
|
|
4269
|
+
ReportGroupStatusType,
|
|
4270
|
+
ReportType,
|
|
4271
|
+
ReportStatusType,
|
|
4272
|
+
ResourceAlreadyExistsException,
|
|
4273
|
+
OAuthProviderException,
|
|
4274
|
+
ResourceNotFoundException,
|
|
4275
|
+
ReportCodeCoverageSortByType,
|
|
4276
|
+
SortOrderType,
|
|
4277
|
+
ReportGroupTrendFieldType,
|
|
4278
|
+
ServerType,
|
|
4279
|
+
LanguageType,
|
|
4280
|
+
PlatformType,
|
|
4281
|
+
FleetSortByType,
|
|
4282
|
+
ProjectSortByType,
|
|
4283
|
+
ReportGroupSortByType,
|
|
4284
|
+
SharedResourceSortByType,
|
|
4285
|
+
RetryBuildBatchType,
|
|
4286
|
+
ImportSourceCredentialsInputFilterSensitiveLog,
|
|
4287
|
+
ListFleetsInputFilterSensitiveLog
|
|
3843
4288
|
});
|
|
4289
|
+
|