aws-sdk-codebuild 1.112.0 → 1.114.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0df6099a663315f0aa1ada2f8f237bcdfd5b73ede76686bb387be921f5d89fa
4
- data.tar.gz: '09a653ba91a25b494146e19190cf178069f341c538f752f9d9243b9c7da63fa6'
3
+ metadata.gz: 75591482384a8f908fdda2c29855eb315d572999e56ddbb56229b9b91eca3b01
4
+ data.tar.gz: 82de6fff579f37e9e931e22509967074c7fa974182e61c3e74084eb4b7238cf1
5
5
  SHA512:
6
- metadata.gz: c383c88c2e7043f995844127c561e4d5693e3d8368031bd8125fa4f250d92d231d6d12319f8f0b19739c7c024537e5b4cd9824943dd8b857bf6211c2d334dfc8
7
- data.tar.gz: 6c02f48d9209c55273c7ade0f4dc8af43bd8e05a94492e3b7af40eb2197dbfb76fbd1f12fc89b884bf888e0a84a5f0c4e5ba1c2b2909516b551fe1bb711db962
6
+ metadata.gz: f9f490cab650e59287ce5beaf0c53be142b40cc96bae2a0e9180a289501fad056335229c4095586dfae90408c1c0920b912f3cda9fc8d7da2592b2dce7e15d51
7
+ data.tar.gz: f0ef20b6d9d30219faab3b08ae2d92125a8e7740f27cc03dae1e5ea36ee58ef90372557f71ae0b1ed2ad8df41eac3c835a13da98d0806d6b5f21aa3bec724256
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.114.0 (2024-05-17)
5
+ ------------------
6
+
7
+ * Feature - Aws CodeBuild now supports 36 hours build timeout
8
+
9
+ 1.113.0 (2024-05-15)
10
+ ------------------
11
+
12
+ * Feature - CodeBuild Reserved Capacity VPC Support
13
+
4
14
  1.112.0 (2024-05-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.112.0
1
+ 1.114.0
@@ -799,7 +799,7 @@ module Aws::CodeBuild
799
799
  # resp.fleets[0].created #=> Time
800
800
  # resp.fleets[0].last_modified #=> Time
801
801
  # resp.fleets[0].status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
802
- # 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"
803
803
  # resp.fleets[0].status.message #=> String
804
804
  # resp.fleets[0].base_capacity #=> Integer
805
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"
@@ -811,6 +811,12 @@ module Aws::CodeBuild
811
811
  # resp.fleets[0].scaling_configuration.max_capacity #=> Integer
812
812
  # resp.fleets[0].scaling_configuration.desired_capacity #=> Integer
813
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
814
820
  # resp.fleets[0].tags #=> Array
815
821
  # resp.fleets[0].tags[0].key #=> String
816
822
  # resp.fleets[0].tags[0].value #=> String
@@ -1193,6 +1199,25 @@ module Aws::CodeBuild
1193
1199
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1194
1200
  # CodeBuild on-demand.
1195
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
+ #
1196
1221
  # @option params [Array<Types::Tag>] :tags
1197
1222
  # A list of tag key and value pairs associated with this compute fleet.
1198
1223
  #
@@ -1221,6 +1246,12 @@ module Aws::CodeBuild
1221
1246
  # max_capacity: 1,
1222
1247
  # },
1223
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",
1224
1255
  # tags: [
1225
1256
  # {
1226
1257
  # key: "KeyInput",
@@ -1237,7 +1268,7 @@ module Aws::CodeBuild
1237
1268
  # resp.fleet.created #=> Time
1238
1269
  # resp.fleet.last_modified #=> Time
1239
1270
  # resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
1240
- # 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"
1241
1272
  # resp.fleet.status.message #=> String
1242
1273
  # resp.fleet.base_capacity #=> Integer
1243
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"
@@ -1249,6 +1280,12 @@ module Aws::CodeBuild
1249
1280
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
1250
1281
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
1251
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
1252
1289
  # resp.fleet.tags #=> Array
1253
1290
  # resp.fleet.tags[0].key #=> String
1254
1291
  # resp.fleet.tags[0].value #=> String
@@ -1290,6 +1327,8 @@ module Aws::CodeBuild
1290
1327
  # specified, the branch's HEAD commit ID is used. If not specified,
1291
1328
  # the default branch's HEAD commit ID is used.
1292
1329
  #
1330
+ # * For GitLab: the commit ID, branch, or Git tag to use.
1331
+ #
1293
1332
  # * For Bitbucket: the commit ID, branch name, or tag name that
1294
1333
  # corresponds to the version of the source code you want to build. If
1295
1334
  # a branch name is specified, the branch's HEAD commit ID is used. If
@@ -1333,7 +1372,7 @@ module Aws::CodeBuild
1333
1372
  # Services account.
1334
1373
  #
1335
1374
  # @option params [Integer] :timeout_in_minutes
1336
- # How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
1375
+ # How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait
1337
1376
  # before it times out any build that has not been marked as completed.
1338
1377
  # The default is 60 minutes.
1339
1378
  #
@@ -1363,6 +1402,11 @@ module Aws::CodeBuild
1363
1402
  # @option params [Types::VpcConfig] :vpc_config
1364
1403
  # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
1365
1404
  #
1405
+ # <note markdown="1"> If you're using compute fleets during project creation, do not
1406
+ # provide vpcConfig.
1407
+ #
1408
+ # </note>
1409
+ #
1366
1410
  # @option params [Boolean] :badge_enabled
1367
1411
  # Set this to true to generate a publicly accessible URL for your
1368
1412
  # project's build badge.
@@ -2339,14 +2383,17 @@ module Aws::CodeBuild
2339
2383
  # @option params [required, String] :token
2340
2384
  # For GitHub or GitHub Enterprise, this is the personal access token.
2341
2385
  # For Bitbucket, this is either the access token or the app password.
2386
+ # For the `authType` CODECONNECTIONS, this is the `connectionArn`.
2342
2387
  #
2343
2388
  # @option params [required, String] :server_type
2344
2389
  # The source provider used for this project.
2345
2390
  #
2346
2391
  # @option params [required, String] :auth_type
2347
2392
  # The type of authentication used to connect to a GitHub, GitHub
2348
- # Enterprise, or Bitbucket repository. An OAUTH connection is not
2349
- # supported by the API and must be created using the CodeBuild console.
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.
2350
2397
  #
2351
2398
  # @option params [Boolean] :should_overwrite
2352
2399
  # Set to `false` to prevent overwriting the repository source
@@ -3538,6 +3585,10 @@ module Aws::CodeBuild
3538
3585
  # specified, the branch's HEAD commit ID is used. If not specified,
3539
3586
  # the default branch's HEAD commit ID is used.
3540
3587
  #
3588
+ # GitLab
3589
+ #
3590
+ # : The commit ID, branch, or Git tag to use.
3591
+ #
3541
3592
  # Bitbucket
3542
3593
  #
3543
3594
  # : The commit ID, branch name, or tag name that corresponds to the
@@ -3582,7 +3633,7 @@ module Aws::CodeBuild
3582
3633
  # @option params [Types::SourceAuth] :source_auth_override
3583
3634
  # An authorization type for this build that overrides the one defined in
3584
3635
  # the build project. This override applies only if the build project's
3585
- # source is BitBucket or GitHub.
3636
+ # source is BitBucket, GitHub, GitLab, or GitLab Self Managed.
3586
3637
  #
3587
3638
  # @option params [Integer] :git_clone_depth_override
3588
3639
  # The user-defined depth of history, with a minimum value of 0, that
@@ -3682,7 +3733,7 @@ module Aws::CodeBuild
3682
3733
  # Enable this flag to override privileged mode in the build project.
3683
3734
  #
3684
3735
  # @option params [Integer] :timeout_in_minutes_override
3685
- # The number of build timeout minutes, from 5 to 480 (8 hours), that
3736
+ # The number of build timeout minutes, from 5 to 2160 (36 hours), that
3686
3737
  # overrides, for this build only, the latest setting already defined in
3687
3738
  # the build project.
3688
3739
  #
@@ -4918,6 +4969,25 @@ module Aws::CodeBuild
4918
4969
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
4919
4970
  # CodeBuild on-demand.
4920
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
+ #
4921
4991
  # @option params [Array<Types::Tag>] :tags
4922
4992
  # A list of tag key and value pairs associated with this compute fleet.
4923
4993
  #
@@ -4946,6 +5016,12 @@ module Aws::CodeBuild
4946
5016
  # max_capacity: 1,
4947
5017
  # },
4948
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",
4949
5025
  # tags: [
4950
5026
  # {
4951
5027
  # key: "KeyInput",
@@ -4962,7 +5038,7 @@ module Aws::CodeBuild
4962
5038
  # resp.fleet.created #=> Time
4963
5039
  # resp.fleet.last_modified #=> Time
4964
5040
  # resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
4965
- # 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"
4966
5042
  # resp.fleet.status.message #=> String
4967
5043
  # resp.fleet.base_capacity #=> Integer
4968
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"
@@ -4974,6 +5050,12 @@ module Aws::CodeBuild
4974
5050
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
4975
5051
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
4976
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
4977
5059
  # resp.fleet.tags #=> Array
4978
5060
  # resp.fleet.tags[0].key #=> String
4979
5061
  # resp.fleet.tags[0].value #=> String
@@ -5020,6 +5102,8 @@ module Aws::CodeBuild
5020
5102
  # specified, the branch's HEAD commit ID is used. If not specified,
5021
5103
  # the default branch's HEAD commit ID is used.
5022
5104
  #
5105
+ # * For GitLab: the commit ID, branch, or Git tag to use.
5106
+ #
5023
5107
  # * For Bitbucket: the commit ID, branch name, or tag name that
5024
5108
  # corresponds to the version of the source code you want to build. If
5025
5109
  # a branch name is specified, the branch's HEAD commit ID is used. If
@@ -5064,7 +5148,7 @@ module Aws::CodeBuild
5064
5148
  # Web Services account.
5065
5149
  #
5066
5150
  # @option params [Integer] :timeout_in_minutes
5067
- # The replacement value in minutes, from 5 to 480 (8 hours), for
5151
+ # The replacement value in minutes, from 5 to 2160 (36 hours), for
5068
5152
  # CodeBuild to wait before timing out any related build that did not get
5069
5153
  # marked as completed.
5070
5154
  #
@@ -5667,7 +5751,7 @@ module Aws::CodeBuild
5667
5751
  params: params,
5668
5752
  config: config)
5669
5753
  context[:gem_name] = 'aws-sdk-codebuild'
5670
- context[:gem_version] = '1.112.0'
5754
+ context[:gem_version] = '1.114.0'
5671
5755
  Seahorse::Client::Request.new(handlers, context)
5672
5756
  end
5673
5757
 
@@ -57,6 +57,7 @@ module Aws::CodeBuild
57
57
  BuildStatusConfig = Shapes::StructureShape.new(name: 'BuildStatusConfig')
58
58
  BuildSummaries = Shapes::ListShape.new(name: 'BuildSummaries')
59
59
  BuildSummary = Shapes::StructureShape.new(name: 'BuildSummary')
60
+ BuildTimeOut = Shapes::IntegerShape.new(name: 'BuildTimeOut')
60
61
  Builds = Shapes::ListShape.new(name: 'Builds')
61
62
  BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
62
63
  CacheMode = Shapes::StringShape.new(name: 'CacheMode')
@@ -519,6 +520,8 @@ module Aws::CodeBuild
519
520
  CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
520
521
  CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
521
522
  CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
523
+ CreateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
524
+ CreateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
522
525
  CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
523
526
  CreateFleetInput.struct_class = Types::CreateFleetInput
524
527
 
@@ -536,7 +539,7 @@ module Aws::CodeBuild
536
539
  CreateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
537
540
  CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
538
541
  CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "serviceRole"))
539
- CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
542
+ CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
540
543
  CreateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
541
544
  CreateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
542
545
  CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -688,6 +691,8 @@ module Aws::CodeBuild
688
691
  Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
689
692
  Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
690
693
  Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
694
+ Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
695
+ Fleet.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
691
696
  Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
692
697
  Fleet.struct_class = Types::Fleet
693
698
 
@@ -897,7 +902,7 @@ module Aws::CodeBuild
897
902
  Project.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
898
903
  Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
899
904
  Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
900
- Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
905
+ Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
901
906
  Project.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
902
907
  Project.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
903
908
  Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -1147,7 +1152,7 @@ module Aws::CodeBuild
1147
1152
  StartBuildBatchInput.add_member(:cache_override, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cacheOverride"))
1148
1153
  StartBuildBatchInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
1149
1154
  StartBuildBatchInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
1150
- StartBuildBatchInput.add_member(:build_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "buildTimeoutInMinutesOverride"))
1155
+ StartBuildBatchInput.add_member(:build_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "buildTimeoutInMinutesOverride"))
1151
1156
  StartBuildBatchInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
1152
1157
  StartBuildBatchInput.add_member(:encryption_key_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKeyOverride"))
1153
1158
  StartBuildBatchInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
@@ -1184,7 +1189,7 @@ module Aws::CodeBuild
1184
1189
  StartBuildInput.add_member(:cache_override, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cacheOverride"))
1185
1190
  StartBuildInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
1186
1191
  StartBuildInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
1187
- StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
1192
+ StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutesOverride"))
1188
1193
  StartBuildInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
1189
1194
  StartBuildInput.add_member(:encryption_key_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKeyOverride"))
1190
1195
  StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
@@ -1251,6 +1256,8 @@ module Aws::CodeBuild
1251
1256
  UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
1252
1257
  UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
1253
1258
  UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
1259
+ UpdateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1260
+ UpdateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
1254
1261
  UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1255
1262
  UpdateFleetInput.struct_class = Types::UpdateFleetInput
1256
1263
 
@@ -1268,7 +1275,7 @@ module Aws::CodeBuild
1268
1275
  UpdateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
1269
1276
  UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
1270
1277
  UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
1271
- UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
1278
+ UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
1272
1279
  UpdateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
1273
1280
  UpdateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
1274
1281
  UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -1341,6 +1348,7 @@ module Aws::CodeBuild
1341
1348
  "endpointPrefix" => "codebuild",
1342
1349
  "jsonVersion" => "1.1",
1343
1350
  "protocol" => "json",
1351
+ "protocols" => ["json"],
1344
1352
  "serviceFullName" => "AWS CodeBuild",
1345
1353
  "serviceId" => "CodeBuild",
1346
1354
  "signatureVersion" => "v4",
@@ -388,8 +388,9 @@ module Aws::CodeBuild
388
388
  # @return [Types::LogsLocation]
389
389
  #
390
390
  # @!attribute [rw] timeout_in_minutes
391
- # How long, in minutes, for CodeBuild to wait before timing out this
392
- # build if it does not get marked as completed.
391
+ # How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
392
+ # wait before timing out this build if it does not get marked as
393
+ # completed.
393
394
  # @return [Integer]
394
395
  #
395
396
  # @!attribute [rw] queued_timeout_in_minutes
@@ -1506,6 +1507,27 @@ module Aws::CodeBuild
1506
1507
  #
1507
1508
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1508
1509
  # CodeBuild on-demand.
1510
+ #
1511
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
1512
+ # creating a VPC-connected fleet, make sure that you add the
1513
+ # required VPC permissions to your project service role. For more
1514
+ # information, see [Example policy statement to allow CodeBuild
1515
+ # access to Amazon Web Services services required to create a VPC
1516
+ # network interface][1].
1517
+ #
1518
+ # </note>
1519
+ #
1520
+ #
1521
+ #
1522
+ # [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
1523
+ # @return [String]
1524
+ #
1525
+ # @!attribute [rw] vpc_config
1526
+ # Information about the VPC configuration that CodeBuild accesses.
1527
+ # @return [Types::VpcConfig]
1528
+ #
1529
+ # @!attribute [rw] fleet_service_role
1530
+ # The service role associated with the compute fleet.
1509
1531
  # @return [String]
1510
1532
  #
1511
1533
  # @!attribute [rw] tags
@@ -1525,6 +1547,8 @@ module Aws::CodeBuild
1525
1547
  :compute_type,
1526
1548
  :scaling_configuration,
1527
1549
  :overflow_behavior,
1550
+ :vpc_config,
1551
+ :fleet_service_role,
1528
1552
  :tags)
1529
1553
  SENSITIVE = []
1530
1554
  include Aws::Structure
@@ -1572,6 +1596,8 @@ module Aws::CodeBuild
1572
1596
  # name is specified, the branch's HEAD commit ID is used. If not
1573
1597
  # specified, the default branch's HEAD commit ID is used.
1574
1598
  #
1599
+ # * For GitLab: the commit ID, branch, or Git tag to use.
1600
+ #
1575
1601
  # * For Bitbucket: the commit ID, branch name, or tag name that
1576
1602
  # corresponds to the version of the source code you want to build.
1577
1603
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -1624,9 +1650,9 @@ module Aws::CodeBuild
1624
1650
  # @return [String]
1625
1651
  #
1626
1652
  # @!attribute [rw] timeout_in_minutes
1627
- # How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
1628
- # before it times out any build that has not been marked as completed.
1629
- # The default is 60 minutes.
1653
+ # How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
1654
+ # wait before it times out any build that has not been marked as
1655
+ # completed. The default is 60 minutes.
1630
1656
  # @return [Integer]
1631
1657
  #
1632
1658
  # @!attribute [rw] queued_timeout_in_minutes
@@ -1658,6 +1684,11 @@ module Aws::CodeBuild
1658
1684
  #
1659
1685
  # @!attribute [rw] vpc_config
1660
1686
  # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
1687
+ #
1688
+ # <note markdown="1"> If you're using compute fleets during project creation, do not
1689
+ # provide vpcConfig.
1690
+ #
1691
+ # </note>
1661
1692
  # @return [Types::VpcConfig]
1662
1693
  #
1663
1694
  # @!attribute [rw] badge_enabled
@@ -2447,6 +2478,27 @@ module Aws::CodeBuild
2447
2478
  #
2448
2479
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
2449
2480
  # CodeBuild on-demand.
2481
+ #
2482
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
2483
+ # creating a VPC-connected fleet, make sure that you add the
2484
+ # required VPC permissions to your project service role. For more
2485
+ # information, see [Example policy statement to allow CodeBuild
2486
+ # access to Amazon Web Services services required to create a VPC
2487
+ # network interface][1].
2488
+ #
2489
+ # </note>
2490
+ #
2491
+ #
2492
+ #
2493
+ # [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
2494
+ # @return [String]
2495
+ #
2496
+ # @!attribute [rw] vpc_config
2497
+ # Information about the VPC configuration that CodeBuild accesses.
2498
+ # @return [Types::VpcConfig]
2499
+ #
2500
+ # @!attribute [rw] fleet_service_role
2501
+ # The service role associated with the compute fleet.
2450
2502
  # @return [String]
2451
2503
  #
2452
2504
  # @!attribute [rw] tags
@@ -2471,6 +2523,8 @@ module Aws::CodeBuild
2471
2523
  :compute_type,
2472
2524
  :scaling_configuration,
2473
2525
  :overflow_behavior,
2526
+ :vpc_config,
2527
+ :fleet_service_role,
2474
2528
  :tags)
2475
2529
  SENSITIVE = []
2476
2530
  include Aws::Structure
@@ -2662,6 +2716,7 @@ module Aws::CodeBuild
2662
2716
  # @!attribute [rw] token
2663
2717
  # For GitHub or GitHub Enterprise, this is the personal access token.
2664
2718
  # For Bitbucket, this is either the access token or the app password.
2719
+ # For the `authType` CODECONNECTIONS, this is the `connectionArn`.
2665
2720
  # @return [String]
2666
2721
  #
2667
2722
  # @!attribute [rw] server_type
@@ -2670,9 +2725,10 @@ module Aws::CodeBuild
2670
2725
  #
2671
2726
  # @!attribute [rw] auth_type
2672
2727
  # The type of authentication used to connect to a GitHub, GitHub
2673
- # Enterprise, or Bitbucket repository. An OAUTH connection is not
2674
- # supported by the API and must be created using the CodeBuild
2675
- # console.
2728
+ # Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An
2729
+ # OAUTH connection is not supported by the API and must be created
2730
+ # using the CodeBuild console. Note that CODECONNECTIONS is only valid
2731
+ # for GitLab and GitLab Self Managed.
2676
2732
  # @return [String]
2677
2733
  #
2678
2734
  # @!attribute [rw] should_overwrite
@@ -3642,6 +3698,8 @@ module Aws::CodeBuild
3642
3698
  # name is specified, the branch's HEAD commit ID is used. If not
3643
3699
  # specified, the default branch's HEAD commit ID is used.
3644
3700
  #
3701
+ # * For GitLab: the commit ID, branch, or Git tag to use.
3702
+ #
3645
3703
  # * For Bitbucket: the commit ID, branch name, or tag name that
3646
3704
  # corresponds to the version of the source code you want to build.
3647
3705
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -3692,8 +3750,8 @@ module Aws::CodeBuild
3692
3750
  # @return [String]
3693
3751
  #
3694
3752
  # @!attribute [rw] timeout_in_minutes
3695
- # How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
3696
- # before timing out any related build that did not get marked as
3753
+ # How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
3754
+ # wait before timing out any related build that did not get marked as
3697
3755
  # completed. The default is 60 minutes.
3698
3756
  # @return [Integer]
3699
3757
  #
@@ -4714,13 +4772,15 @@ module Aws::CodeBuild
4714
4772
  #
4715
4773
  # * For CodeCommit: the commit ID, branch, or Git tag to use.
4716
4774
  #
4717
- # * For GitHub or GitLab: the commit ID, pull request ID, branch name,
4718
- # or tag name that corresponds to the version of the source code you
4719
- # want to build. If a pull request ID is specified, it must use the
4775
+ # * For GitHub: the commit ID, pull request ID, branch name, or tag
4776
+ # name that corresponds to the version of the source code you want
4777
+ # to build. If a pull request ID is specified, it must use the
4720
4778
  # format `pr/pull-request-ID` (for example, `pr/25`). If a branch
4721
4779
  # name is specified, the branch's HEAD commit ID is used. If not
4722
4780
  # specified, the default branch's HEAD commit ID is used.
4723
4781
  #
4782
+ # * For GitLab: the commit ID, branch, or Git tag to use.
4783
+ #
4724
4784
  # * For Bitbucket: the commit ID, branch name, or tag name that
4725
4785
  # corresponds to the version of the source code you want to build.
4726
4786
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -5754,6 +5814,10 @@ module Aws::CodeBuild
5754
5814
  # specified, the branch's HEAD commit ID is used. If not specified,
5755
5815
  # the default branch's HEAD commit ID is used.
5756
5816
  #
5817
+ # GitLab
5818
+ #
5819
+ # : The commit ID, branch, or Git tag to use.
5820
+ #
5757
5821
  # Bitbucket
5758
5822
  #
5759
5823
  # : The commit ID, branch name, or tag name that corresponds to the
@@ -5804,7 +5868,8 @@ module Aws::CodeBuild
5804
5868
  # @!attribute [rw] source_auth_override
5805
5869
  # An authorization type for this build that overrides the one defined
5806
5870
  # in the build project. This override applies only if the build
5807
- # project's source is BitBucket or GitHub.
5871
+ # project's source is BitBucket, GitHub, GitLab, or GitLab Self
5872
+ # Managed.
5808
5873
  # @return [Types::SourceAuth]
5809
5874
  #
5810
5875
  # @!attribute [rw] git_clone_depth_override
@@ -5920,7 +5985,7 @@ module Aws::CodeBuild
5920
5985
  # @return [Boolean]
5921
5986
  #
5922
5987
  # @!attribute [rw] timeout_in_minutes_override
5923
- # The number of build timeout minutes, from 5 to 480 (8 hours), that
5988
+ # The number of build timeout minutes, from 5 to 2160 (36 hours), that
5924
5989
  # overrides, for this build only, the latest setting already defined
5925
5990
  # in the build project.
5926
5991
  # @return [Integer]
@@ -6362,6 +6427,27 @@ module Aws::CodeBuild
6362
6427
  #
6363
6428
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
6364
6429
  # CodeBuild on-demand.
6430
+ #
6431
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
6432
+ # creating a VPC-connected fleet, make sure that you add the
6433
+ # required VPC permissions to your project service role. For more
6434
+ # information, see [Example policy statement to allow CodeBuild
6435
+ # access to Amazon Web Services services required to create a VPC
6436
+ # network interface][1].
6437
+ #
6438
+ # </note>
6439
+ #
6440
+ #
6441
+ #
6442
+ # [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
6443
+ # @return [String]
6444
+ #
6445
+ # @!attribute [rw] vpc_config
6446
+ # Information about the VPC configuration that CodeBuild accesses.
6447
+ # @return [Types::VpcConfig]
6448
+ #
6449
+ # @!attribute [rw] fleet_service_role
6450
+ # The service role associated with the compute fleet.
6365
6451
  # @return [String]
6366
6452
  #
6367
6453
  # @!attribute [rw] tags
@@ -6381,6 +6467,8 @@ module Aws::CodeBuild
6381
6467
  :compute_type,
6382
6468
  :scaling_configuration,
6383
6469
  :overflow_behavior,
6470
+ :vpc_config,
6471
+ :fleet_service_role,
6384
6472
  :tags)
6385
6473
  SENSITIVE = []
6386
6474
  include Aws::Structure
@@ -6433,6 +6521,8 @@ module Aws::CodeBuild
6433
6521
  # name is specified, the branch's HEAD commit ID is used. If not
6434
6522
  # specified, the default branch's HEAD commit ID is used.
6435
6523
  #
6524
+ # * For GitLab: the commit ID, branch, or Git tag to use.
6525
+ #
6436
6526
  # * For Bitbucket: the commit ID, branch name, or tag name that
6437
6527
  # corresponds to the version of the source code you want to build.
6438
6528
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -6486,7 +6576,7 @@ module Aws::CodeBuild
6486
6576
  # @return [String]
6487
6577
  #
6488
6578
  # @!attribute [rw] timeout_in_minutes
6489
- # The replacement value in minutes, from 5 to 480 (8 hours), for
6579
+ # The replacement value in minutes, from 5 to 2160 (36 hours), for
6490
6580
  # CodeBuild to wait before timing out any related build that did not
6491
6581
  # get marked as completed.
6492
6582
  # @return [Integer]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codebuild/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeBuild
54
54
 
55
- GEM_VERSION = '1.112.0'
55
+ GEM_VERSION = '1.114.0'
56
56
 
57
57
  end
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.112.0
4
+ version: 1.114.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core