aws-sdk-codebuild 1.111.0 → 1.113.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +94 -9
- data/lib/aws-sdk-codebuild/client_api.rb +7 -0
- data/lib/aws-sdk-codebuild/types.rb +98 -9
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/types.rbs +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78f9264716711452171d6469f510d7c21f145c9a9d931f478155cda081735f2a
|
|
4
|
+
data.tar.gz: d2f24879928f2e0b9f2d0401f66145edf586166b927292c8b9827d2be60af68a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 802cbc10611957fb28a2494c48f224263304aad60219da6cbaabdb13974b161146561d9a6d1026376480c2397aff85f519824b4364297866192cddc734723df6
|
|
7
|
+
data.tar.gz: 313596add193ad123094161a083e5a287328db3e97841cde61a433f33d38ce7a7f7c48c5dab35cbf61e2d1d62a1a0b05fef17e1a03c86a634df101a1d58515a7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.113.0 (2024-05-15)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - CodeBuild Reserved Capacity VPC Support
|
|
8
|
+
|
|
9
|
+
1.112.0 (2024-05-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.111.0 (2024-04-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.113.0
|
|
@@ -301,8 +301,9 @@ module Aws::CodeBuild
|
|
|
301
301
|
#
|
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
|
303
303
|
# A unique and opaque application ID that is appended to the
|
|
304
|
-
# User-Agent header as app
|
|
305
|
-
# maximum length of 50.
|
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
306
307
|
#
|
|
307
308
|
# @option options [String] :secret_access_key
|
|
308
309
|
#
|
|
@@ -798,7 +799,7 @@ module Aws::CodeBuild
|
|
|
798
799
|
# resp.fleets[0].created #=> Time
|
|
799
800
|
# resp.fleets[0].last_modified #=> Time
|
|
800
801
|
# resp.fleets[0].status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
|
801
|
-
# resp.fleets[0].status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
|
802
|
+
# resp.fleets[0].status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
|
|
802
803
|
# resp.fleets[0].status.message #=> String
|
|
803
804
|
# resp.fleets[0].base_capacity #=> Integer
|
|
804
805
|
# resp.fleets[0].environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
|
@@ -810,6 +811,12 @@ module Aws::CodeBuild
|
|
|
810
811
|
# resp.fleets[0].scaling_configuration.max_capacity #=> Integer
|
|
811
812
|
# resp.fleets[0].scaling_configuration.desired_capacity #=> Integer
|
|
812
813
|
# resp.fleets[0].overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
|
|
814
|
+
# resp.fleets[0].vpc_config.vpc_id #=> String
|
|
815
|
+
# resp.fleets[0].vpc_config.subnets #=> Array
|
|
816
|
+
# resp.fleets[0].vpc_config.subnets[0] #=> String
|
|
817
|
+
# resp.fleets[0].vpc_config.security_group_ids #=> Array
|
|
818
|
+
# resp.fleets[0].vpc_config.security_group_ids[0] #=> String
|
|
819
|
+
# resp.fleets[0].fleet_service_role #=> String
|
|
813
820
|
# resp.fleets[0].tags #=> Array
|
|
814
821
|
# resp.fleets[0].tags[0].key #=> String
|
|
815
822
|
# resp.fleets[0].tags[0].value #=> String
|
|
@@ -1192,6 +1199,25 @@ module Aws::CodeBuild
|
|
|
1192
1199
|
# * For overflow behavior `ON_DEMAND`, your overflow builds run on
|
|
1193
1200
|
# CodeBuild on-demand.
|
|
1194
1201
|
#
|
|
1202
|
+
# <note markdown="1"> If you choose to set your overflow behavior to on-demand while
|
|
1203
|
+
# creating a VPC-connected fleet, make sure that you add the required
|
|
1204
|
+
# VPC permissions to your project service role. For more information,
|
|
1205
|
+
# see [Example policy statement to allow CodeBuild access to Amazon
|
|
1206
|
+
# Web Services services required to create a VPC network
|
|
1207
|
+
# interface][1].
|
|
1208
|
+
#
|
|
1209
|
+
# </note>
|
|
1210
|
+
#
|
|
1211
|
+
#
|
|
1212
|
+
#
|
|
1213
|
+
# [1]: 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
|
|
1214
|
+
#
|
|
1215
|
+
# @option params [Types::VpcConfig] :vpc_config
|
|
1216
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
1217
|
+
#
|
|
1218
|
+
# @option params [String] :fleet_service_role
|
|
1219
|
+
# The service role associated with the compute fleet.
|
|
1220
|
+
#
|
|
1195
1221
|
# @option params [Array<Types::Tag>] :tags
|
|
1196
1222
|
# A list of tag key and value pairs associated with this compute fleet.
|
|
1197
1223
|
#
|
|
@@ -1220,6 +1246,12 @@ module Aws::CodeBuild
|
|
|
1220
1246
|
# max_capacity: 1,
|
|
1221
1247
|
# },
|
|
1222
1248
|
# overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
|
|
1249
|
+
# vpc_config: {
|
|
1250
|
+
# vpc_id: "NonEmptyString",
|
|
1251
|
+
# subnets: ["NonEmptyString"],
|
|
1252
|
+
# security_group_ids: ["NonEmptyString"],
|
|
1253
|
+
# },
|
|
1254
|
+
# fleet_service_role: "NonEmptyString",
|
|
1223
1255
|
# tags: [
|
|
1224
1256
|
# {
|
|
1225
1257
|
# key: "KeyInput",
|
|
@@ -1236,7 +1268,7 @@ module Aws::CodeBuild
|
|
|
1236
1268
|
# resp.fleet.created #=> Time
|
|
1237
1269
|
# resp.fleet.last_modified #=> Time
|
|
1238
1270
|
# resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
|
1239
|
-
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
|
1271
|
+
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
|
|
1240
1272
|
# resp.fleet.status.message #=> String
|
|
1241
1273
|
# resp.fleet.base_capacity #=> Integer
|
|
1242
1274
|
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
|
@@ -1248,6 +1280,12 @@ module Aws::CodeBuild
|
|
|
1248
1280
|
# resp.fleet.scaling_configuration.max_capacity #=> Integer
|
|
1249
1281
|
# resp.fleet.scaling_configuration.desired_capacity #=> Integer
|
|
1250
1282
|
# resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
|
|
1283
|
+
# resp.fleet.vpc_config.vpc_id #=> String
|
|
1284
|
+
# resp.fleet.vpc_config.subnets #=> Array
|
|
1285
|
+
# resp.fleet.vpc_config.subnets[0] #=> String
|
|
1286
|
+
# resp.fleet.vpc_config.security_group_ids #=> Array
|
|
1287
|
+
# resp.fleet.vpc_config.security_group_ids[0] #=> String
|
|
1288
|
+
# resp.fleet.fleet_service_role #=> String
|
|
1251
1289
|
# resp.fleet.tags #=> Array
|
|
1252
1290
|
# resp.fleet.tags[0].key #=> String
|
|
1253
1291
|
# resp.fleet.tags[0].value #=> String
|
|
@@ -1289,6 +1327,8 @@ module Aws::CodeBuild
|
|
|
1289
1327
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
1290
1328
|
# the default branch's HEAD commit ID is used.
|
|
1291
1329
|
#
|
|
1330
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
1331
|
+
#
|
|
1292
1332
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
1293
1333
|
# corresponds to the version of the source code you want to build. If
|
|
1294
1334
|
# a branch name is specified, the branch's HEAD commit ID is used. If
|
|
@@ -1362,6 +1402,11 @@ module Aws::CodeBuild
|
|
|
1362
1402
|
# @option params [Types::VpcConfig] :vpc_config
|
|
1363
1403
|
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
1364
1404
|
#
|
|
1405
|
+
# <note markdown="1"> If you're using compute fleets during project creation, do not
|
|
1406
|
+
# provide vpcConfig.
|
|
1407
|
+
#
|
|
1408
|
+
# </note>
|
|
1409
|
+
#
|
|
1365
1410
|
# @option params [Boolean] :badge_enabled
|
|
1366
1411
|
# Set this to true to generate a publicly accessible URL for your
|
|
1367
1412
|
# project's build badge.
|
|
@@ -2338,14 +2383,17 @@ module Aws::CodeBuild
|
|
|
2338
2383
|
# @option params [required, String] :token
|
|
2339
2384
|
# For GitHub or GitHub Enterprise, this is the personal access token.
|
|
2340
2385
|
# For Bitbucket, this is either the access token or the app password.
|
|
2386
|
+
# For the `authType` CODECONNECTIONS, this is the `connectionArn`.
|
|
2341
2387
|
#
|
|
2342
2388
|
# @option params [required, String] :server_type
|
|
2343
2389
|
# The source provider used for this project.
|
|
2344
2390
|
#
|
|
2345
2391
|
# @option params [required, String] :auth_type
|
|
2346
2392
|
# The type of authentication used to connect to a GitHub, GitHub
|
|
2347
|
-
# Enterprise, or Bitbucket repository. An
|
|
2348
|
-
# supported by the API and must be created using
|
|
2393
|
+
# Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An
|
|
2394
|
+
# OAUTH connection is not supported by the API and must be created using
|
|
2395
|
+
# the CodeBuild console. Note that CODECONNECTIONS is only valid for
|
|
2396
|
+
# GitLab and GitLab Self Managed.
|
|
2349
2397
|
#
|
|
2350
2398
|
# @option params [Boolean] :should_overwrite
|
|
2351
2399
|
# Set to `false` to prevent overwriting the repository source
|
|
@@ -3537,6 +3585,10 @@ module Aws::CodeBuild
|
|
|
3537
3585
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
3538
3586
|
# the default branch's HEAD commit ID is used.
|
|
3539
3587
|
#
|
|
3588
|
+
# GitLab
|
|
3589
|
+
#
|
|
3590
|
+
# : The commit ID, branch, or Git tag to use.
|
|
3591
|
+
#
|
|
3540
3592
|
# Bitbucket
|
|
3541
3593
|
#
|
|
3542
3594
|
# : The commit ID, branch name, or tag name that corresponds to the
|
|
@@ -3581,7 +3633,7 @@ module Aws::CodeBuild
|
|
|
3581
3633
|
# @option params [Types::SourceAuth] :source_auth_override
|
|
3582
3634
|
# An authorization type for this build that overrides the one defined in
|
|
3583
3635
|
# the build project. This override applies only if the build project's
|
|
3584
|
-
# source is BitBucket or
|
|
3636
|
+
# source is BitBucket, GitHub, GitLab, or GitLab Self Managed.
|
|
3585
3637
|
#
|
|
3586
3638
|
# @option params [Integer] :git_clone_depth_override
|
|
3587
3639
|
# The user-defined depth of history, with a minimum value of 0, that
|
|
@@ -4917,6 +4969,25 @@ module Aws::CodeBuild
|
|
|
4917
4969
|
# * For overflow behavior `ON_DEMAND`, your overflow builds run on
|
|
4918
4970
|
# CodeBuild on-demand.
|
|
4919
4971
|
#
|
|
4972
|
+
# <note markdown="1"> If you choose to set your overflow behavior to on-demand while
|
|
4973
|
+
# creating a VPC-connected fleet, make sure that you add the required
|
|
4974
|
+
# VPC permissions to your project service role. For more information,
|
|
4975
|
+
# see [Example policy statement to allow CodeBuild access to Amazon
|
|
4976
|
+
# Web Services services required to create a VPC network
|
|
4977
|
+
# interface][1].
|
|
4978
|
+
#
|
|
4979
|
+
# </note>
|
|
4980
|
+
#
|
|
4981
|
+
#
|
|
4982
|
+
#
|
|
4983
|
+
# [1]: 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
|
|
4984
|
+
#
|
|
4985
|
+
# @option params [Types::VpcConfig] :vpc_config
|
|
4986
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
4987
|
+
#
|
|
4988
|
+
# @option params [String] :fleet_service_role
|
|
4989
|
+
# The service role associated with the compute fleet.
|
|
4990
|
+
#
|
|
4920
4991
|
# @option params [Array<Types::Tag>] :tags
|
|
4921
4992
|
# A list of tag key and value pairs associated with this compute fleet.
|
|
4922
4993
|
#
|
|
@@ -4945,6 +5016,12 @@ module Aws::CodeBuild
|
|
|
4945
5016
|
# max_capacity: 1,
|
|
4946
5017
|
# },
|
|
4947
5018
|
# overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
|
|
5019
|
+
# vpc_config: {
|
|
5020
|
+
# vpc_id: "NonEmptyString",
|
|
5021
|
+
# subnets: ["NonEmptyString"],
|
|
5022
|
+
# security_group_ids: ["NonEmptyString"],
|
|
5023
|
+
# },
|
|
5024
|
+
# fleet_service_role: "NonEmptyString",
|
|
4948
5025
|
# tags: [
|
|
4949
5026
|
# {
|
|
4950
5027
|
# key: "KeyInput",
|
|
@@ -4961,7 +5038,7 @@ module Aws::CodeBuild
|
|
|
4961
5038
|
# resp.fleet.created #=> Time
|
|
4962
5039
|
# resp.fleet.last_modified #=> Time
|
|
4963
5040
|
# resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
|
|
4964
|
-
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
|
|
5041
|
+
# resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
|
|
4965
5042
|
# resp.fleet.status.message #=> String
|
|
4966
5043
|
# resp.fleet.base_capacity #=> Integer
|
|
4967
5044
|
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER"
|
|
@@ -4973,6 +5050,12 @@ module Aws::CodeBuild
|
|
|
4973
5050
|
# resp.fleet.scaling_configuration.max_capacity #=> Integer
|
|
4974
5051
|
# resp.fleet.scaling_configuration.desired_capacity #=> Integer
|
|
4975
5052
|
# resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
|
|
5053
|
+
# resp.fleet.vpc_config.vpc_id #=> String
|
|
5054
|
+
# resp.fleet.vpc_config.subnets #=> Array
|
|
5055
|
+
# resp.fleet.vpc_config.subnets[0] #=> String
|
|
5056
|
+
# resp.fleet.vpc_config.security_group_ids #=> Array
|
|
5057
|
+
# resp.fleet.vpc_config.security_group_ids[0] #=> String
|
|
5058
|
+
# resp.fleet.fleet_service_role #=> String
|
|
4976
5059
|
# resp.fleet.tags #=> Array
|
|
4977
5060
|
# resp.fleet.tags[0].key #=> String
|
|
4978
5061
|
# resp.fleet.tags[0].value #=> String
|
|
@@ -5019,6 +5102,8 @@ module Aws::CodeBuild
|
|
|
5019
5102
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
5020
5103
|
# the default branch's HEAD commit ID is used.
|
|
5021
5104
|
#
|
|
5105
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
5106
|
+
#
|
|
5022
5107
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
5023
5108
|
# corresponds to the version of the source code you want to build. If
|
|
5024
5109
|
# a branch name is specified, the branch's HEAD commit ID is used. If
|
|
@@ -5666,7 +5751,7 @@ module Aws::CodeBuild
|
|
|
5666
5751
|
params: params,
|
|
5667
5752
|
config: config)
|
|
5668
5753
|
context[:gem_name] = 'aws-sdk-codebuild'
|
|
5669
|
-
context[:gem_version] = '1.
|
|
5754
|
+
context[:gem_version] = '1.113.0'
|
|
5670
5755
|
Seahorse::Client::Request.new(handlers, context)
|
|
5671
5756
|
end
|
|
5672
5757
|
|
|
@@ -519,6 +519,8 @@ module Aws::CodeBuild
|
|
|
519
519
|
CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
|
520
520
|
CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
|
521
521
|
CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
|
522
|
+
CreateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
523
|
+
CreateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
|
|
522
524
|
CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
523
525
|
CreateFleetInput.struct_class = Types::CreateFleetInput
|
|
524
526
|
|
|
@@ -688,6 +690,8 @@ module Aws::CodeBuild
|
|
|
688
690
|
Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
|
689
691
|
Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
|
|
690
692
|
Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
|
693
|
+
Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
694
|
+
Fleet.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
|
|
691
695
|
Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
692
696
|
Fleet.struct_class = Types::Fleet
|
|
693
697
|
|
|
@@ -1251,6 +1255,8 @@ module Aws::CodeBuild
|
|
|
1251
1255
|
UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
|
1252
1256
|
UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
|
1253
1257
|
UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
|
1258
|
+
UpdateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
1259
|
+
UpdateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
|
|
1254
1260
|
UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1255
1261
|
UpdateFleetInput.struct_class = Types::UpdateFleetInput
|
|
1256
1262
|
|
|
@@ -1341,6 +1347,7 @@ module Aws::CodeBuild
|
|
|
1341
1347
|
"endpointPrefix" => "codebuild",
|
|
1342
1348
|
"jsonVersion" => "1.1",
|
|
1343
1349
|
"protocol" => "json",
|
|
1350
|
+
"protocols" => ["json"],
|
|
1344
1351
|
"serviceFullName" => "AWS CodeBuild",
|
|
1345
1352
|
"serviceId" => "CodeBuild",
|
|
1346
1353
|
"signatureVersion" => "v4",
|
|
@@ -388,8 +388,8 @@ module Aws::CodeBuild
|
|
|
388
388
|
# @return [Types::LogsLocation]
|
|
389
389
|
#
|
|
390
390
|
# @!attribute [rw] timeout_in_minutes
|
|
391
|
-
# How long, in minutes,
|
|
392
|
-
# build if it does not get marked as completed.
|
|
391
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
|
392
|
+
# before timing out this build if it does not get marked as completed.
|
|
393
393
|
# @return [Integer]
|
|
394
394
|
#
|
|
395
395
|
# @!attribute [rw] queued_timeout_in_minutes
|
|
@@ -1506,6 +1506,27 @@ module Aws::CodeBuild
|
|
|
1506
1506
|
#
|
|
1507
1507
|
# * For overflow behavior `ON_DEMAND`, your overflow builds run on
|
|
1508
1508
|
# CodeBuild on-demand.
|
|
1509
|
+
#
|
|
1510
|
+
# <note markdown="1"> If you choose to set your overflow behavior to on-demand while
|
|
1511
|
+
# creating a VPC-connected fleet, make sure that you add the
|
|
1512
|
+
# required VPC permissions to your project service role. For more
|
|
1513
|
+
# information, see [Example policy statement to allow CodeBuild
|
|
1514
|
+
# access to Amazon Web Services services required to create a VPC
|
|
1515
|
+
# network interface][1].
|
|
1516
|
+
#
|
|
1517
|
+
# </note>
|
|
1518
|
+
#
|
|
1519
|
+
#
|
|
1520
|
+
#
|
|
1521
|
+
# [1]: 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
|
|
1522
|
+
# @return [String]
|
|
1523
|
+
#
|
|
1524
|
+
# @!attribute [rw] vpc_config
|
|
1525
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
1526
|
+
# @return [Types::VpcConfig]
|
|
1527
|
+
#
|
|
1528
|
+
# @!attribute [rw] fleet_service_role
|
|
1529
|
+
# The service role associated with the compute fleet.
|
|
1509
1530
|
# @return [String]
|
|
1510
1531
|
#
|
|
1511
1532
|
# @!attribute [rw] tags
|
|
@@ -1525,6 +1546,8 @@ module Aws::CodeBuild
|
|
|
1525
1546
|
:compute_type,
|
|
1526
1547
|
:scaling_configuration,
|
|
1527
1548
|
:overflow_behavior,
|
|
1549
|
+
:vpc_config,
|
|
1550
|
+
:fleet_service_role,
|
|
1528
1551
|
:tags)
|
|
1529
1552
|
SENSITIVE = []
|
|
1530
1553
|
include Aws::Structure
|
|
@@ -1572,6 +1595,8 @@ module Aws::CodeBuild
|
|
|
1572
1595
|
# name is specified, the branch's HEAD commit ID is used. If not
|
|
1573
1596
|
# specified, the default branch's HEAD commit ID is used.
|
|
1574
1597
|
#
|
|
1598
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
1599
|
+
#
|
|
1575
1600
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
1576
1601
|
# corresponds to the version of the source code you want to build.
|
|
1577
1602
|
# If a branch name is specified, the branch's HEAD commit ID is
|
|
@@ -1658,6 +1683,11 @@ module Aws::CodeBuild
|
|
|
1658
1683
|
#
|
|
1659
1684
|
# @!attribute [rw] vpc_config
|
|
1660
1685
|
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
1686
|
+
#
|
|
1687
|
+
# <note markdown="1"> If you're using compute fleets during project creation, do not
|
|
1688
|
+
# provide vpcConfig.
|
|
1689
|
+
#
|
|
1690
|
+
# </note>
|
|
1661
1691
|
# @return [Types::VpcConfig]
|
|
1662
1692
|
#
|
|
1663
1693
|
# @!attribute [rw] badge_enabled
|
|
@@ -2447,6 +2477,27 @@ module Aws::CodeBuild
|
|
|
2447
2477
|
#
|
|
2448
2478
|
# * For overflow behavior `ON_DEMAND`, your overflow builds run on
|
|
2449
2479
|
# CodeBuild on-demand.
|
|
2480
|
+
#
|
|
2481
|
+
# <note markdown="1"> If you choose to set your overflow behavior to on-demand while
|
|
2482
|
+
# creating a VPC-connected fleet, make sure that you add the
|
|
2483
|
+
# required VPC permissions to your project service role. For more
|
|
2484
|
+
# information, see [Example policy statement to allow CodeBuild
|
|
2485
|
+
# access to Amazon Web Services services required to create a VPC
|
|
2486
|
+
# network interface][1].
|
|
2487
|
+
#
|
|
2488
|
+
# </note>
|
|
2489
|
+
#
|
|
2490
|
+
#
|
|
2491
|
+
#
|
|
2492
|
+
# [1]: 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
|
|
2493
|
+
# @return [String]
|
|
2494
|
+
#
|
|
2495
|
+
# @!attribute [rw] vpc_config
|
|
2496
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
2497
|
+
# @return [Types::VpcConfig]
|
|
2498
|
+
#
|
|
2499
|
+
# @!attribute [rw] fleet_service_role
|
|
2500
|
+
# The service role associated with the compute fleet.
|
|
2450
2501
|
# @return [String]
|
|
2451
2502
|
#
|
|
2452
2503
|
# @!attribute [rw] tags
|
|
@@ -2471,6 +2522,8 @@ module Aws::CodeBuild
|
|
|
2471
2522
|
:compute_type,
|
|
2472
2523
|
:scaling_configuration,
|
|
2473
2524
|
:overflow_behavior,
|
|
2525
|
+
:vpc_config,
|
|
2526
|
+
:fleet_service_role,
|
|
2474
2527
|
:tags)
|
|
2475
2528
|
SENSITIVE = []
|
|
2476
2529
|
include Aws::Structure
|
|
@@ -2662,6 +2715,7 @@ module Aws::CodeBuild
|
|
|
2662
2715
|
# @!attribute [rw] token
|
|
2663
2716
|
# For GitHub or GitHub Enterprise, this is the personal access token.
|
|
2664
2717
|
# For Bitbucket, this is either the access token or the app password.
|
|
2718
|
+
# For the `authType` CODECONNECTIONS, this is the `connectionArn`.
|
|
2665
2719
|
# @return [String]
|
|
2666
2720
|
#
|
|
2667
2721
|
# @!attribute [rw] server_type
|
|
@@ -2670,9 +2724,10 @@ module Aws::CodeBuild
|
|
|
2670
2724
|
#
|
|
2671
2725
|
# @!attribute [rw] auth_type
|
|
2672
2726
|
# The type of authentication used to connect to a GitHub, GitHub
|
|
2673
|
-
# Enterprise, or Bitbucket repository. An
|
|
2674
|
-
# supported by the API and must be created
|
|
2675
|
-
# console.
|
|
2727
|
+
# Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An
|
|
2728
|
+
# OAUTH connection is not supported by the API and must be created
|
|
2729
|
+
# using the CodeBuild console. Note that CODECONNECTIONS is only valid
|
|
2730
|
+
# for GitLab and GitLab Self Managed.
|
|
2676
2731
|
# @return [String]
|
|
2677
2732
|
#
|
|
2678
2733
|
# @!attribute [rw] should_overwrite
|
|
@@ -3642,6 +3697,8 @@ module Aws::CodeBuild
|
|
|
3642
3697
|
# name is specified, the branch's HEAD commit ID is used. If not
|
|
3643
3698
|
# specified, the default branch's HEAD commit ID is used.
|
|
3644
3699
|
#
|
|
3700
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
3701
|
+
#
|
|
3645
3702
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
3646
3703
|
# corresponds to the version of the source code you want to build.
|
|
3647
3704
|
# If a branch name is specified, the branch's HEAD commit ID is
|
|
@@ -4714,13 +4771,15 @@ module Aws::CodeBuild
|
|
|
4714
4771
|
#
|
|
4715
4772
|
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
4716
4773
|
#
|
|
4717
|
-
# * For GitHub
|
|
4718
|
-
#
|
|
4719
|
-
#
|
|
4774
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
4775
|
+
# name that corresponds to the version of the source code you want
|
|
4776
|
+
# to build. If a pull request ID is specified, it must use the
|
|
4720
4777
|
# format `pr/pull-request-ID` (for example, `pr/25`). If a branch
|
|
4721
4778
|
# name is specified, the branch's HEAD commit ID is used. If not
|
|
4722
4779
|
# specified, the default branch's HEAD commit ID is used.
|
|
4723
4780
|
#
|
|
4781
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
4782
|
+
#
|
|
4724
4783
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
4725
4784
|
# corresponds to the version of the source code you want to build.
|
|
4726
4785
|
# If a branch name is specified, the branch's HEAD commit ID is
|
|
@@ -5754,6 +5813,10 @@ module Aws::CodeBuild
|
|
|
5754
5813
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
5755
5814
|
# the default branch's HEAD commit ID is used.
|
|
5756
5815
|
#
|
|
5816
|
+
# GitLab
|
|
5817
|
+
#
|
|
5818
|
+
# : The commit ID, branch, or Git tag to use.
|
|
5819
|
+
#
|
|
5757
5820
|
# Bitbucket
|
|
5758
5821
|
#
|
|
5759
5822
|
# : The commit ID, branch name, or tag name that corresponds to the
|
|
@@ -5804,7 +5867,8 @@ module Aws::CodeBuild
|
|
|
5804
5867
|
# @!attribute [rw] source_auth_override
|
|
5805
5868
|
# An authorization type for this build that overrides the one defined
|
|
5806
5869
|
# in the build project. This override applies only if the build
|
|
5807
|
-
# project's source is BitBucket or
|
|
5870
|
+
# project's source is BitBucket, GitHub, GitLab, or GitLab Self
|
|
5871
|
+
# Managed.
|
|
5808
5872
|
# @return [Types::SourceAuth]
|
|
5809
5873
|
#
|
|
5810
5874
|
# @!attribute [rw] git_clone_depth_override
|
|
@@ -6362,6 +6426,27 @@ module Aws::CodeBuild
|
|
|
6362
6426
|
#
|
|
6363
6427
|
# * For overflow behavior `ON_DEMAND`, your overflow builds run on
|
|
6364
6428
|
# CodeBuild on-demand.
|
|
6429
|
+
#
|
|
6430
|
+
# <note markdown="1"> If you choose to set your overflow behavior to on-demand while
|
|
6431
|
+
# creating a VPC-connected fleet, make sure that you add the
|
|
6432
|
+
# required VPC permissions to your project service role. For more
|
|
6433
|
+
# information, see [Example policy statement to allow CodeBuild
|
|
6434
|
+
# access to Amazon Web Services services required to create a VPC
|
|
6435
|
+
# network interface][1].
|
|
6436
|
+
#
|
|
6437
|
+
# </note>
|
|
6438
|
+
#
|
|
6439
|
+
#
|
|
6440
|
+
#
|
|
6441
|
+
# [1]: 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
|
|
6442
|
+
# @return [String]
|
|
6443
|
+
#
|
|
6444
|
+
# @!attribute [rw] vpc_config
|
|
6445
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
6446
|
+
# @return [Types::VpcConfig]
|
|
6447
|
+
#
|
|
6448
|
+
# @!attribute [rw] fleet_service_role
|
|
6449
|
+
# The service role associated with the compute fleet.
|
|
6365
6450
|
# @return [String]
|
|
6366
6451
|
#
|
|
6367
6452
|
# @!attribute [rw] tags
|
|
@@ -6381,6 +6466,8 @@ module Aws::CodeBuild
|
|
|
6381
6466
|
:compute_type,
|
|
6382
6467
|
:scaling_configuration,
|
|
6383
6468
|
:overflow_behavior,
|
|
6469
|
+
:vpc_config,
|
|
6470
|
+
:fleet_service_role,
|
|
6384
6471
|
:tags)
|
|
6385
6472
|
SENSITIVE = []
|
|
6386
6473
|
include Aws::Structure
|
|
@@ -6433,6 +6520,8 @@ module Aws::CodeBuild
|
|
|
6433
6520
|
# name is specified, the branch's HEAD commit ID is used. If not
|
|
6434
6521
|
# specified, the default branch's HEAD commit ID is used.
|
|
6435
6522
|
#
|
|
6523
|
+
# * For GitLab: the commit ID, branch, or Git tag to use.
|
|
6524
|
+
#
|
|
6436
6525
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
6437
6526
|
# corresponds to the version of the source code you want to build.
|
|
6438
6527
|
# If a branch name is specified, the branch's HEAD commit ID is
|
data/lib/aws-sdk-codebuild.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -171,6 +171,12 @@ module Aws
|
|
|
171
171
|
max_capacity: ::Integer?
|
|
172
172
|
},
|
|
173
173
|
?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
|
|
174
|
+
?vpc_config: {
|
|
175
|
+
vpc_id: ::String?,
|
|
176
|
+
subnets: Array[::String]?,
|
|
177
|
+
security_group_ids: Array[::String]?
|
|
178
|
+
},
|
|
179
|
+
?fleet_service_role: ::String,
|
|
174
180
|
?tags: Array[
|
|
175
181
|
{
|
|
176
182
|
key: ::String?,
|
|
@@ -1056,6 +1062,12 @@ module Aws
|
|
|
1056
1062
|
max_capacity: ::Integer?
|
|
1057
1063
|
},
|
|
1058
1064
|
?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
|
|
1065
|
+
?vpc_config: {
|
|
1066
|
+
vpc_id: ::String?,
|
|
1067
|
+
subnets: Array[::String]?,
|
|
1068
|
+
security_group_ids: Array[::String]?
|
|
1069
|
+
},
|
|
1070
|
+
?fleet_service_role: ::String,
|
|
1059
1071
|
?tags: Array[
|
|
1060
1072
|
{
|
|
1061
1073
|
key: ::String?,
|
data/sig/types.rbs
CHANGED
|
@@ -268,6 +268,8 @@ module Aws::CodeBuild
|
|
|
268
268
|
attr_accessor compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB")
|
|
269
269
|
attr_accessor scaling_configuration: Types::ScalingConfigurationInput
|
|
270
270
|
attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
|
|
271
|
+
attr_accessor vpc_config: Types::VpcConfig
|
|
272
|
+
attr_accessor fleet_service_role: ::String
|
|
271
273
|
attr_accessor tags: ::Array[Types::Tag]
|
|
272
274
|
SENSITIVE: []
|
|
273
275
|
end
|
|
@@ -485,13 +487,15 @@ module Aws::CodeBuild
|
|
|
485
487
|
attr_accessor compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB")
|
|
486
488
|
attr_accessor scaling_configuration: Types::ScalingConfigurationOutput
|
|
487
489
|
attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
|
|
490
|
+
attr_accessor vpc_config: Types::VpcConfig
|
|
491
|
+
attr_accessor fleet_service_role: ::String
|
|
488
492
|
attr_accessor tags: ::Array[Types::Tag]
|
|
489
493
|
SENSITIVE: []
|
|
490
494
|
end
|
|
491
495
|
|
|
492
496
|
class FleetStatus
|
|
493
497
|
attr_accessor status_code: ("CREATING" | "UPDATING" | "ROTATING" | "PENDING_DELETION" | "DELETING" | "CREATE_FAILED" | "UPDATE_ROLLBACK_FAILED" | "ACTIVE")
|
|
494
|
-
attr_accessor context: ("CREATE_FAILED" | "UPDATE_FAILED")
|
|
498
|
+
attr_accessor context: ("CREATE_FAILED" | "UPDATE_FAILED" | "ACTION_REQUIRED")
|
|
495
499
|
attr_accessor message: ::String
|
|
496
500
|
SENSITIVE: []
|
|
497
501
|
end
|
|
@@ -1162,6 +1166,8 @@ module Aws::CodeBuild
|
|
|
1162
1166
|
attr_accessor compute_type: ("BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB")
|
|
1163
1167
|
attr_accessor scaling_configuration: Types::ScalingConfigurationInput
|
|
1164
1168
|
attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
|
|
1169
|
+
attr_accessor vpc_config: Types::VpcConfig
|
|
1170
|
+
attr_accessor fleet_service_role: ::String
|
|
1165
1171
|
attr_accessor tags: ::Array[Types::Tag]
|
|
1166
1172
|
SENSITIVE: []
|
|
1167
1173
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-codebuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.113.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|