@aws-sdk/client-codebuild 3.575.0 → 3.577.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +10 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/commands/BatchGetFleetsCommand.d.ts +11 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +21 -1
- package/dist-types/commands/UpdateFleetCommand.d.ts +21 -1
- package/dist-types/models/models_0.d.ts +77 -7
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -483,6 +483,7 @@ var FleetScalingMetricType = {
|
|
|
483
483
|
FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE"
|
|
484
484
|
};
|
|
485
485
|
var FleetContextCode = {
|
|
486
|
+
ACTION_REQUIRED: "ACTION_REQUIRED",
|
|
486
487
|
CREATE_FAILED: "CREATE_FAILED",
|
|
487
488
|
UPDATE_FAILED: "UPDATE_FAILED"
|
|
488
489
|
};
|
|
@@ -1697,10 +1698,12 @@ var se_CreateFleetInput = /* @__PURE__ */ __name((input, context) => {
|
|
|
1697
1698
|
baseCapacity: [],
|
|
1698
1699
|
computeType: [],
|
|
1699
1700
|
environmentType: [],
|
|
1701
|
+
fleetServiceRole: [],
|
|
1700
1702
|
name: [],
|
|
1701
1703
|
overflowBehavior: [],
|
|
1702
1704
|
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1703
|
-
tags: import_smithy_client._json
|
|
1705
|
+
tags: import_smithy_client._json,
|
|
1706
|
+
vpcConfig: import_smithy_client._json
|
|
1704
1707
|
});
|
|
1705
1708
|
}, "se_CreateFleetInput");
|
|
1706
1709
|
var se_DescribeCodeCoveragesInput = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1738,9 +1741,11 @@ var se_UpdateFleetInput = /* @__PURE__ */ __name((input, context) => {
|
|
|
1738
1741
|
baseCapacity: [],
|
|
1739
1742
|
computeType: [],
|
|
1740
1743
|
environmentType: [],
|
|
1744
|
+
fleetServiceRole: [],
|
|
1741
1745
|
overflowBehavior: [],
|
|
1742
1746
|
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1743
|
-
tags: import_smithy_client._json
|
|
1747
|
+
tags: import_smithy_client._json,
|
|
1748
|
+
vpcConfig: import_smithy_client._json
|
|
1744
1749
|
});
|
|
1745
1750
|
}, "se_UpdateFleetInput");
|
|
1746
1751
|
var de_BatchGetBuildBatchesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1992,13 +1997,15 @@ var de_Fleet = /* @__PURE__ */ __name((output, context) => {
|
|
|
1992
1997
|
computeType: import_smithy_client.expectString,
|
|
1993
1998
|
created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1994
1999
|
environmentType: import_smithy_client.expectString,
|
|
2000
|
+
fleetServiceRole: import_smithy_client.expectString,
|
|
1995
2001
|
id: import_smithy_client.expectString,
|
|
1996
2002
|
lastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1997
2003
|
name: import_smithy_client.expectString,
|
|
1998
2004
|
overflowBehavior: import_smithy_client.expectString,
|
|
1999
2005
|
scalingConfiguration: (_) => de_ScalingConfigurationOutput(_, context),
|
|
2000
2006
|
status: import_smithy_client._json,
|
|
2001
|
-
tags: import_smithy_client._json
|
|
2007
|
+
tags: import_smithy_client._json,
|
|
2008
|
+
vpcConfig: import_smithy_client._json
|
|
2002
2009
|
});
|
|
2003
2010
|
}, "de_Fleet");
|
|
2004
2011
|
var de_Fleets = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -158,6 +158,7 @@ export const FleetScalingMetricType = {
|
|
|
158
158
|
FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE",
|
|
159
159
|
};
|
|
160
160
|
export const FleetContextCode = {
|
|
161
|
+
ACTION_REQUIRED: "ACTION_REQUIRED",
|
|
161
162
|
CREATE_FAILED: "CREATE_FAILED",
|
|
162
163
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
163
164
|
};
|
|
@@ -1034,10 +1034,12 @@ const se_CreateFleetInput = (input, context) => {
|
|
|
1034
1034
|
baseCapacity: [],
|
|
1035
1035
|
computeType: [],
|
|
1036
1036
|
environmentType: [],
|
|
1037
|
+
fleetServiceRole: [],
|
|
1037
1038
|
name: [],
|
|
1038
1039
|
overflowBehavior: [],
|
|
1039
1040
|
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1040
1041
|
tags: _json,
|
|
1042
|
+
vpcConfig: _json,
|
|
1041
1043
|
});
|
|
1042
1044
|
};
|
|
1043
1045
|
const se_DescribeCodeCoveragesInput = (input, context) => {
|
|
@@ -1077,9 +1079,11 @@ const se_UpdateFleetInput = (input, context) => {
|
|
|
1077
1079
|
baseCapacity: [],
|
|
1078
1080
|
computeType: [],
|
|
1079
1081
|
environmentType: [],
|
|
1082
|
+
fleetServiceRole: [],
|
|
1080
1083
|
overflowBehavior: [],
|
|
1081
1084
|
scalingConfiguration: (_) => se_ScalingConfigurationInput(_, context),
|
|
1082
1085
|
tags: _json,
|
|
1086
|
+
vpcConfig: _json,
|
|
1083
1087
|
});
|
|
1084
1088
|
};
|
|
1085
1089
|
const de_BatchGetBuildBatchesOutput = (output, context) => {
|
|
@@ -1345,6 +1349,7 @@ const de_Fleet = (output, context) => {
|
|
|
1345
1349
|
computeType: __expectString,
|
|
1346
1350
|
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1347
1351
|
environmentType: __expectString,
|
|
1352
|
+
fleetServiceRole: __expectString,
|
|
1348
1353
|
id: __expectString,
|
|
1349
1354
|
lastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1350
1355
|
name: __expectString,
|
|
@@ -1352,6 +1357,7 @@ const de_Fleet = (output, context) => {
|
|
|
1352
1357
|
scalingConfiguration: (_) => de_ScalingConfigurationOutput(_, context),
|
|
1353
1358
|
status: _json,
|
|
1354
1359
|
tags: _json,
|
|
1360
|
+
vpcConfig: _json,
|
|
1355
1361
|
});
|
|
1356
1362
|
};
|
|
1357
1363
|
const de_Fleets = (output, context) => {
|
|
@@ -50,7 +50,7 @@ declare const BatchGetFleetsCommand_base: {
|
|
|
50
50
|
* // lastModified: new Date("TIMESTAMP"),
|
|
51
51
|
* // status: { // FleetStatus
|
|
52
52
|
* // statusCode: "CREATING" || "UPDATING" || "ROTATING" || "PENDING_DELETION" || "DELETING" || "CREATE_FAILED" || "UPDATE_ROLLBACK_FAILED" || "ACTIVE",
|
|
53
|
-
* // context: "CREATE_FAILED" || "UPDATE_FAILED",
|
|
53
|
+
* // context: "CREATE_FAILED" || "UPDATE_FAILED" || "ACTION_REQUIRED",
|
|
54
54
|
* // message: "STRING_VALUE",
|
|
55
55
|
* // },
|
|
56
56
|
* // baseCapacity: Number("int"),
|
|
@@ -68,6 +68,16 @@ declare const BatchGetFleetsCommand_base: {
|
|
|
68
68
|
* // desiredCapacity: Number("int"),
|
|
69
69
|
* // },
|
|
70
70
|
* // overflowBehavior: "QUEUE" || "ON_DEMAND",
|
|
71
|
+
* // vpcConfig: { // VpcConfig
|
|
72
|
+
* // vpcId: "STRING_VALUE",
|
|
73
|
+
* // subnets: [ // Subnets
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // fleetServiceRole: "STRING_VALUE",
|
|
71
81
|
* // tags: [ // TagList
|
|
72
82
|
* // { // Tag
|
|
73
83
|
* // key: "STRING_VALUE",
|
|
@@ -49,6 +49,16 @@ declare const CreateFleetCommand_base: {
|
|
|
49
49
|
* maxCapacity: Number("int"),
|
|
50
50
|
* },
|
|
51
51
|
* overflowBehavior: "QUEUE" || "ON_DEMAND",
|
|
52
|
+
* vpcConfig: { // VpcConfig
|
|
53
|
+
* vpcId: "STRING_VALUE",
|
|
54
|
+
* subnets: [ // Subnets
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* fleetServiceRole: "STRING_VALUE",
|
|
52
62
|
* tags: [ // TagList
|
|
53
63
|
* { // Tag
|
|
54
64
|
* key: "STRING_VALUE",
|
|
@@ -67,7 +77,7 @@ declare const CreateFleetCommand_base: {
|
|
|
67
77
|
* // lastModified: new Date("TIMESTAMP"),
|
|
68
78
|
* // status: { // FleetStatus
|
|
69
79
|
* // statusCode: "CREATING" || "UPDATING" || "ROTATING" || "PENDING_DELETION" || "DELETING" || "CREATE_FAILED" || "UPDATE_ROLLBACK_FAILED" || "ACTIVE",
|
|
70
|
-
* // context: "CREATE_FAILED" || "UPDATE_FAILED",
|
|
80
|
+
* // context: "CREATE_FAILED" || "UPDATE_FAILED" || "ACTION_REQUIRED",
|
|
71
81
|
* // message: "STRING_VALUE",
|
|
72
82
|
* // },
|
|
73
83
|
* // baseCapacity: Number("int"),
|
|
@@ -85,6 +95,16 @@ declare const CreateFleetCommand_base: {
|
|
|
85
95
|
* // desiredCapacity: Number("int"),
|
|
86
96
|
* // },
|
|
87
97
|
* // overflowBehavior: "QUEUE" || "ON_DEMAND",
|
|
98
|
+
* // vpcConfig: { // VpcConfig
|
|
99
|
+
* // vpcId: "STRING_VALUE",
|
|
100
|
+
* // subnets: [ // Subnets
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // fleetServiceRole: "STRING_VALUE",
|
|
88
108
|
* // tags: [ // TagList
|
|
89
109
|
* // { // Tag
|
|
90
110
|
* // key: "STRING_VALUE",
|
|
@@ -49,6 +49,16 @@ declare const UpdateFleetCommand_base: {
|
|
|
49
49
|
* maxCapacity: Number("int"),
|
|
50
50
|
* },
|
|
51
51
|
* overflowBehavior: "QUEUE" || "ON_DEMAND",
|
|
52
|
+
* vpcConfig: { // VpcConfig
|
|
53
|
+
* vpcId: "STRING_VALUE",
|
|
54
|
+
* subnets: [ // Subnets
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* fleetServiceRole: "STRING_VALUE",
|
|
52
62
|
* tags: [ // TagList
|
|
53
63
|
* { // Tag
|
|
54
64
|
* key: "STRING_VALUE",
|
|
@@ -67,7 +77,7 @@ declare const UpdateFleetCommand_base: {
|
|
|
67
77
|
* // lastModified: new Date("TIMESTAMP"),
|
|
68
78
|
* // status: { // FleetStatus
|
|
69
79
|
* // statusCode: "CREATING" || "UPDATING" || "ROTATING" || "PENDING_DELETION" || "DELETING" || "CREATE_FAILED" || "UPDATE_ROLLBACK_FAILED" || "ACTIVE",
|
|
70
|
-
* // context: "CREATE_FAILED" || "UPDATE_FAILED",
|
|
80
|
+
* // context: "CREATE_FAILED" || "UPDATE_FAILED" || "ACTION_REQUIRED",
|
|
71
81
|
* // message: "STRING_VALUE",
|
|
72
82
|
* // },
|
|
73
83
|
* // baseCapacity: Number("int"),
|
|
@@ -85,6 +95,16 @@ declare const UpdateFleetCommand_base: {
|
|
|
85
95
|
* // desiredCapacity: Number("int"),
|
|
86
96
|
* // },
|
|
87
97
|
* // overflowBehavior: "QUEUE" || "ON_DEMAND",
|
|
98
|
+
* // vpcConfig: { // VpcConfig
|
|
99
|
+
* // vpcId: "STRING_VALUE",
|
|
100
|
+
* // subnets: [ // Subnets
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // fleetServiceRole: "STRING_VALUE",
|
|
88
108
|
* // tags: [ // TagList
|
|
89
109
|
* // { // Tag
|
|
90
110
|
* // key: "STRING_VALUE",
|
|
@@ -1643,7 +1643,7 @@ export interface ProjectSourceVersion {
|
|
|
1643
1643
|
* <p>For CodeCommit: the commit ID, branch, or Git tag to use.</p>
|
|
1644
1644
|
* </li>
|
|
1645
1645
|
* <li>
|
|
1646
|
-
* <p>For GitHub
|
|
1646
|
+
* <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that
|
|
1647
1647
|
* corresponds to the version of the source code you want to build. If a pull
|
|
1648
1648
|
* request ID is specified, it must use the format <code>pr/pull-request-ID</code>
|
|
1649
1649
|
* (for example, <code>pr/25</code>). If a branch name is specified, the branch's
|
|
@@ -1651,6 +1651,9 @@ export interface ProjectSourceVersion {
|
|
|
1651
1651
|
* used.</p>
|
|
1652
1652
|
* </li>
|
|
1653
1653
|
* <li>
|
|
1654
|
+
* <p>For GitLab: the commit ID, branch, or Git tag to use.</p>
|
|
1655
|
+
* </li>
|
|
1656
|
+
* <li>
|
|
1654
1657
|
* <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the
|
|
1655
1658
|
* version of the source code you want to build. If a branch name is specified, the
|
|
1656
1659
|
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD
|
|
@@ -2357,7 +2360,7 @@ export interface Build {
|
|
|
2357
2360
|
*/
|
|
2358
2361
|
logs?: LogsLocation;
|
|
2359
2362
|
/**
|
|
2360
|
-
* <p>How long, in minutes, for CodeBuild to wait before timing out this build if it does not
|
|
2363
|
+
* <p>How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out this build if it does not
|
|
2361
2364
|
* get marked as completed.</p>
|
|
2362
2365
|
* @public
|
|
2363
2366
|
*/
|
|
@@ -2555,6 +2558,7 @@ export interface ScalingConfigurationOutput {
|
|
|
2555
2558
|
* @enum
|
|
2556
2559
|
*/
|
|
2557
2560
|
export declare const FleetContextCode: {
|
|
2561
|
+
readonly ACTION_REQUIRED: "ACTION_REQUIRED";
|
|
2558
2562
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
2559
2563
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
2560
2564
|
};
|
|
@@ -2822,11 +2826,27 @@ export interface Fleet {
|
|
|
2822
2826
|
* </li>
|
|
2823
2827
|
* <li>
|
|
2824
2828
|
* <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
|
|
2829
|
+
* <note>
|
|
2830
|
+
* <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected
|
|
2831
|
+
* fleet, make sure that you add the required VPC permissions to your project service role. For more
|
|
2832
|
+
* information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
|
|
2833
|
+
* policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p>
|
|
2834
|
+
* </note>
|
|
2825
2835
|
* </li>
|
|
2826
2836
|
* </ul>
|
|
2827
2837
|
* @public
|
|
2828
2838
|
*/
|
|
2829
2839
|
overflowBehavior?: FleetOverflowBehavior;
|
|
2840
|
+
/**
|
|
2841
|
+
* <p>Information about the VPC configuration that CodeBuild accesses.</p>
|
|
2842
|
+
* @public
|
|
2843
|
+
*/
|
|
2844
|
+
vpcConfig?: VpcConfig;
|
|
2845
|
+
/**
|
|
2846
|
+
* <p>The service role associated with the compute fleet.</p>
|
|
2847
|
+
* @public
|
|
2848
|
+
*/
|
|
2849
|
+
fleetServiceRole?: string;
|
|
2830
2850
|
/**
|
|
2831
2851
|
* <p>A list of tag key and value pairs associated with this compute fleet.</p>
|
|
2832
2852
|
* <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
|
|
@@ -3440,6 +3460,9 @@ export interface Project {
|
|
|
3440
3460
|
* used.</p>
|
|
3441
3461
|
* </li>
|
|
3442
3462
|
* <li>
|
|
3463
|
+
* <p>For GitLab: the commit ID, branch, or Git tag to use.</p>
|
|
3464
|
+
* </li>
|
|
3465
|
+
* <li>
|
|
3443
3466
|
* <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the
|
|
3444
3467
|
* version of the source code you want to build. If a branch name is specified, the
|
|
3445
3468
|
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD
|
|
@@ -4212,11 +4235,27 @@ export interface CreateFleetInput {
|
|
|
4212
4235
|
* </li>
|
|
4213
4236
|
* <li>
|
|
4214
4237
|
* <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
|
|
4238
|
+
* <note>
|
|
4239
|
+
* <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected
|
|
4240
|
+
* fleet, make sure that you add the required VPC permissions to your project service role. For more
|
|
4241
|
+
* information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
|
|
4242
|
+
* policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p>
|
|
4243
|
+
* </note>
|
|
4215
4244
|
* </li>
|
|
4216
4245
|
* </ul>
|
|
4217
4246
|
* @public
|
|
4218
4247
|
*/
|
|
4219
4248
|
overflowBehavior?: FleetOverflowBehavior;
|
|
4249
|
+
/**
|
|
4250
|
+
* <p>Information about the VPC configuration that CodeBuild accesses.</p>
|
|
4251
|
+
* @public
|
|
4252
|
+
*/
|
|
4253
|
+
vpcConfig?: VpcConfig;
|
|
4254
|
+
/**
|
|
4255
|
+
* <p>The service role associated with the compute fleet.</p>
|
|
4256
|
+
* @public
|
|
4257
|
+
*/
|
|
4258
|
+
fleetServiceRole?: string;
|
|
4220
4259
|
/**
|
|
4221
4260
|
* <p>A list of tag key and value pairs associated with this compute fleet.</p>
|
|
4222
4261
|
* <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
|
|
@@ -4288,6 +4327,9 @@ export interface CreateProjectInput {
|
|
|
4288
4327
|
* used.</p>
|
|
4289
4328
|
* </li>
|
|
4290
4329
|
* <li>
|
|
4330
|
+
* <p>For GitLab: the commit ID, branch, or Git tag to use.</p>
|
|
4331
|
+
* </li>
|
|
4332
|
+
* <li>
|
|
4291
4333
|
* <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the
|
|
4292
4334
|
* version of the source code you want to build. If a branch name is specified, the
|
|
4293
4335
|
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD
|
|
@@ -4374,6 +4416,9 @@ export interface CreateProjectInput {
|
|
|
4374
4416
|
tags?: Tag[];
|
|
4375
4417
|
/**
|
|
4376
4418
|
* <p>VpcConfig enables CodeBuild to access resources in an Amazon VPC.</p>
|
|
4419
|
+
* <note>
|
|
4420
|
+
* <p>If you're using compute fleets during project creation, do not provide vpcConfig.</p>
|
|
4421
|
+
* </note>
|
|
4377
4422
|
* @public
|
|
4378
4423
|
*/
|
|
4379
4424
|
vpcConfig?: VpcConfig;
|
|
@@ -5207,7 +5252,8 @@ export interface ImportSourceCredentialsInput {
|
|
|
5207
5252
|
username?: string;
|
|
5208
5253
|
/**
|
|
5209
5254
|
* <p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
|
|
5210
|
-
* this is either the access token or the app password. </
|
|
5255
|
+
* this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS,
|
|
5256
|
+
* this is the <code>connectionArn</code>.</p>
|
|
5211
5257
|
* @public
|
|
5212
5258
|
*/
|
|
5213
5259
|
token: string | undefined;
|
|
@@ -5217,9 +5263,10 @@ export interface ImportSourceCredentialsInput {
|
|
|
5217
5263
|
*/
|
|
5218
5264
|
serverType: ServerType | undefined;
|
|
5219
5265
|
/**
|
|
5220
|
-
* <p> The type of authentication used to connect to a GitHub, GitHub Enterprise, or
|
|
5266
|
+
* <p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
|
|
5221
5267
|
* Bitbucket repository. An OAUTH connection is not supported by the API and must be
|
|
5222
|
-
* created using the CodeBuild console.
|
|
5268
|
+
* created using the CodeBuild console. Note that CODECONNECTIONS is only valid for
|
|
5269
|
+
* GitLab and GitLab Self Managed.</p>
|
|
5223
5270
|
* @public
|
|
5224
5271
|
*/
|
|
5225
5272
|
authType: AuthType | undefined;
|
|
@@ -6356,6 +6403,10 @@ export interface StartBuildInput {
|
|
|
6356
6403
|
* HEAD commit ID is used. If not specified, the default branch's HEAD commit
|
|
6357
6404
|
* ID is used.</p>
|
|
6358
6405
|
* </dd>
|
|
6406
|
+
* <dt>GitLab</dt>
|
|
6407
|
+
* <dd>
|
|
6408
|
+
* <p>The commit ID, branch, or Git tag to use.</p>
|
|
6409
|
+
* </dd>
|
|
6359
6410
|
* <dt>Bitbucket</dt>
|
|
6360
6411
|
* <dd>
|
|
6361
6412
|
* <p>The commit ID, branch name, or tag name that corresponds to the version of
|
|
@@ -6407,8 +6458,8 @@ export interface StartBuildInput {
|
|
|
6407
6458
|
sourceLocationOverride?: string;
|
|
6408
6459
|
/**
|
|
6409
6460
|
* <p>An authorization type for this build that overrides the one defined in the build
|
|
6410
|
-
* project. This override applies only if the build project's source is BitBucket
|
|
6411
|
-
*
|
|
6461
|
+
* project. This override applies only if the build project's source is BitBucket, GitHub,
|
|
6462
|
+
* GitLab, or GitLab Self Managed.</p>
|
|
6412
6463
|
* @public
|
|
6413
6464
|
*/
|
|
6414
6465
|
sourceAuthOverride?: SourceAuth;
|
|
@@ -7041,11 +7092,27 @@ export interface UpdateFleetInput {
|
|
|
7041
7092
|
* </li>
|
|
7042
7093
|
* <li>
|
|
7043
7094
|
* <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>
|
|
7095
|
+
* <note>
|
|
7096
|
+
* <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected
|
|
7097
|
+
* fleet, make sure that you add the required VPC permissions to your project service role. For more
|
|
7098
|
+
* information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface">Example
|
|
7099
|
+
* policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p>
|
|
7100
|
+
* </note>
|
|
7044
7101
|
* </li>
|
|
7045
7102
|
* </ul>
|
|
7046
7103
|
* @public
|
|
7047
7104
|
*/
|
|
7048
7105
|
overflowBehavior?: FleetOverflowBehavior;
|
|
7106
|
+
/**
|
|
7107
|
+
* <p>Information about the VPC configuration that CodeBuild accesses.</p>
|
|
7108
|
+
* @public
|
|
7109
|
+
*/
|
|
7110
|
+
vpcConfig?: VpcConfig;
|
|
7111
|
+
/**
|
|
7112
|
+
* <p>The service role associated with the compute fleet.</p>
|
|
7113
|
+
* @public
|
|
7114
|
+
*/
|
|
7115
|
+
fleetServiceRole?: string;
|
|
7049
7116
|
/**
|
|
7050
7117
|
* <p>A list of tag key and value pairs associated with this compute fleet.</p>
|
|
7051
7118
|
* <p>These tags are available for use by Amazon Web Services services that support CodeBuild build project
|
|
@@ -7108,6 +7175,9 @@ export interface UpdateProjectInput {
|
|
|
7108
7175
|
* used.</p>
|
|
7109
7176
|
* </li>
|
|
7110
7177
|
* <li>
|
|
7178
|
+
* <p>For GitLab: the commit ID, branch, or Git tag to use.</p>
|
|
7179
|
+
* </li>
|
|
7180
|
+
* <li>
|
|
7111
7181
|
* <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the
|
|
7112
7182
|
* version of the source code you want to build. If a branch name is specified, the
|
|
7113
7183
|
* branch's HEAD commit ID is used. If not specified, the default branch's HEAD
|
|
@@ -454,6 +454,7 @@ export interface ScalingConfigurationOutput {
|
|
|
454
454
|
desiredCapacity?: number;
|
|
455
455
|
}
|
|
456
456
|
export declare const FleetContextCode: {
|
|
457
|
+
readonly ACTION_REQUIRED: "ACTION_REQUIRED";
|
|
457
458
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
458
459
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
459
460
|
};
|
|
@@ -492,6 +493,8 @@ export interface Fleet {
|
|
|
492
493
|
computeType?: ComputeType;
|
|
493
494
|
scalingConfiguration?: ScalingConfigurationOutput;
|
|
494
495
|
overflowBehavior?: FleetOverflowBehavior;
|
|
496
|
+
vpcConfig?: VpcConfig;
|
|
497
|
+
fleetServiceRole?: string;
|
|
495
498
|
tags?: Tag[];
|
|
496
499
|
}
|
|
497
500
|
export interface BatchGetFleetsOutput {
|
|
@@ -700,6 +703,8 @@ export interface CreateFleetInput {
|
|
|
700
703
|
computeType: ComputeType | undefined;
|
|
701
704
|
scalingConfiguration?: ScalingConfigurationInput;
|
|
702
705
|
overflowBehavior?: FleetOverflowBehavior;
|
|
706
|
+
vpcConfig?: VpcConfig;
|
|
707
|
+
fleetServiceRole?: string;
|
|
703
708
|
tags?: Tag[];
|
|
704
709
|
}
|
|
705
710
|
export interface CreateFleetOutput {
|
|
@@ -1233,6 +1238,8 @@ export interface UpdateFleetInput {
|
|
|
1233
1238
|
computeType?: ComputeType;
|
|
1234
1239
|
scalingConfiguration?: ScalingConfigurationInput;
|
|
1235
1240
|
overflowBehavior?: FleetOverflowBehavior;
|
|
1241
|
+
vpcConfig?: VpcConfig;
|
|
1242
|
+
fleetServiceRole?: string;
|
|
1236
1243
|
tags?: Tag[];
|
|
1237
1244
|
}
|
|
1238
1245
|
export interface UpdateFleetOutput {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codebuild",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.577.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codebuild",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.577.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.577.0",
|
|
25
|
+
"@aws-sdk/core": "3.576.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.577.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.577.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.577.0",
|
|
32
|
+
"@aws-sdk/types": "3.577.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.577.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
37
|
"@smithy/core": "^2.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.0",
|