aws-sdk-codebuild 1.104.0 → 1.106.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: 408bfdb695e692b541dc395c0f3d331257e074af8513e0d1f4473a8941c3246e
4
- data.tar.gz: f141db2d6e2b14cca6ba6eb45cd9d95622c2e05d2f87a34c7b0853b76415727d
3
+ metadata.gz: e1a7543ba3f2d1ba3bbb50e81f88bc40c6088332ee694444e21c59dcf5e57d76
4
+ data.tar.gz: b4b8519123d71bff5b16f76880b2d0429ce21e37334ef3a603c4f163afd23f44
5
5
  SHA512:
6
- metadata.gz: 10f2a0b6c7dc048deb0a3539975f1c8ae2be5bc26f9c61cd60ac65218b29b2b7c640d15e3a0ec66206e7c014f7a00ab56f3e0c8806d56e6c8dcb38c375b200cc
7
- data.tar.gz: 82092a7a26a425acc6be70399721a7d16aa4cbd8689730998a811ebaab16a728f3ee5861f7ae461129fc27220641ab80a457facd80b9c3e3d27f9f7338bb5902
6
+ metadata.gz: 15234e7e0a6ae0312816c2691f9690d8410f56abcbb8c340f1b67c0a5df8ef333651924b2bc46bec25bb3206b5b0f3f57b272405f41b4803c0488d2e6eb0da2a
7
+ data.tar.gz: 10a55ce15117e196aa57eb4319b1f9be78405cef9a413e2f8f6753873bc32200e571c78cd1fb2f8ac4a137b96b0f4a4da240479f2a99700c2b619215e371e3a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2024-03-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for new webhook events (RELEASED and PRERELEASED) and filter types (TAG_NAME and RELEASE_NAME).
8
+
9
+ 1.105.0 (2024-03-15)
10
+ ------------------
11
+
12
+ * Feature - AWS CodeBuild now supports overflow behavior on Reserved Capacity.
13
+
4
14
  1.104.0 (2024-03-08)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.106.0
@@ -785,6 +785,7 @@ module Aws::CodeBuild
785
785
  # resp.fleets[0].scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
786
786
  # resp.fleets[0].scaling_configuration.max_capacity #=> Integer
787
787
  # resp.fleets[0].scaling_configuration.desired_capacity #=> Integer
788
+ # resp.fleets[0].overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
788
789
  # resp.fleets[0].tags #=> Array
789
790
  # resp.fleets[0].tags[0].key #=> String
790
791
  # resp.fleets[0].tags[0].value #=> String
@@ -1158,6 +1159,15 @@ module Aws::CodeBuild
1158
1159
  # @option params [Types::ScalingConfigurationInput] :scaling_configuration
1159
1160
  # The scaling configuration of the compute fleet.
1160
1161
  #
1162
+ # @option params [String] :overflow_behavior
1163
+ # The compute fleet overflow behavior.
1164
+ #
1165
+ # * For overflow behavior `QUEUE`, your overflow builds need to wait on
1166
+ # the existing fleet instance to become available.
1167
+ #
1168
+ # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1169
+ # CodeBuild on-demand.
1170
+ #
1161
1171
  # @option params [Array<Types::Tag>] :tags
1162
1172
  # A list of tag key and value pairs associated with this compute fleet.
1163
1173
  #
@@ -1185,6 +1195,7 @@ module Aws::CodeBuild
1185
1195
  # ],
1186
1196
  # max_capacity: 1,
1187
1197
  # },
1198
+ # overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
1188
1199
  # tags: [
1189
1200
  # {
1190
1201
  # key: "KeyInput",
@@ -1212,6 +1223,7 @@ module Aws::CodeBuild
1212
1223
  # resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
1213
1224
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
1214
1225
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
1226
+ # resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
1215
1227
  # resp.fleet.tags #=> Array
1216
1228
  # resp.fleet.tags[0].key #=> String
1217
1229
  # resp.fleet.tags[0].value #=> String
@@ -4871,6 +4883,15 @@ module Aws::CodeBuild
4871
4883
  # @option params [Types::ScalingConfigurationInput] :scaling_configuration
4872
4884
  # The scaling configuration of the compute fleet.
4873
4885
  #
4886
+ # @option params [String] :overflow_behavior
4887
+ # The compute fleet overflow behavior.
4888
+ #
4889
+ # * For overflow behavior `QUEUE`, your overflow builds need to wait on
4890
+ # the existing fleet instance to become available.
4891
+ #
4892
+ # * For overflow behavior `ON_DEMAND`, your overflow builds run on
4893
+ # CodeBuild on-demand.
4894
+ #
4874
4895
  # @option params [Array<Types::Tag>] :tags
4875
4896
  # A list of tag key and value pairs associated with this compute fleet.
4876
4897
  #
@@ -4898,6 +4919,7 @@ module Aws::CodeBuild
4898
4919
  # ],
4899
4920
  # max_capacity: 1,
4900
4921
  # },
4922
+ # overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
4901
4923
  # tags: [
4902
4924
  # {
4903
4925
  # key: "KeyInput",
@@ -4925,6 +4947,7 @@ module Aws::CodeBuild
4925
4947
  # resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].target_value #=> Float
4926
4948
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
4927
4949
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
4950
+ # resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
4928
4951
  # resp.fleet.tags #=> Array
4929
4952
  # resp.fleet.tags[0].key #=> String
4930
4953
  # resp.fleet.tags[0].value #=> String
@@ -5618,7 +5641,7 @@ module Aws::CodeBuild
5618
5641
  params: params,
5619
5642
  config: config)
5620
5643
  context[:gem_name] = 'aws-sdk-codebuild'
5621
- context[:gem_version] = '1.104.0'
5644
+ context[:gem_version] = '1.106.0'
5622
5645
  Seahorse::Client::Request.new(handlers, context)
5623
5646
  end
5624
5647
 
@@ -118,6 +118,7 @@ module Aws::CodeBuild
118
118
  FleetContextCode = Shapes::StringShape.new(name: 'FleetContextCode')
119
119
  FleetName = Shapes::StringShape.new(name: 'FleetName')
120
120
  FleetNames = Shapes::ListShape.new(name: 'FleetNames')
121
+ FleetOverflowBehavior = Shapes::StringShape.new(name: 'FleetOverflowBehavior')
121
122
  FleetScalingMetricType = Shapes::StringShape.new(name: 'FleetScalingMetricType')
122
123
  FleetScalingType = Shapes::StringShape.new(name: 'FleetScalingType')
123
124
  FleetSortByType = Shapes::StringShape.new(name: 'FleetSortByType')
@@ -517,6 +518,7 @@ module Aws::CodeBuild
517
518
  CreateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "environmentType"))
518
519
  CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
519
520
  CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
521
+ CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
520
522
  CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
521
523
  CreateFleetInput.struct_class = Types::CreateFleetInput
522
524
 
@@ -685,6 +687,7 @@ module Aws::CodeBuild
685
687
  Fleet.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
686
688
  Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
687
689
  Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
690
+ Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
688
691
  Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
689
692
  Fleet.struct_class = Types::Fleet
690
693
 
@@ -1246,6 +1249,7 @@ module Aws::CodeBuild
1246
1249
  UpdateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
1247
1250
  UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
1248
1251
  UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
1252
+ UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
1249
1253
  UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1250
1254
  UpdateFleetInput.struct_class = Types::UpdateFleetInput
1251
1255
 
@@ -1498,6 +1498,16 @@ module Aws::CodeBuild
1498
1498
  # The scaling configuration of the compute fleet.
1499
1499
  # @return [Types::ScalingConfigurationInput]
1500
1500
  #
1501
+ # @!attribute [rw] overflow_behavior
1502
+ # The compute fleet overflow behavior.
1503
+ #
1504
+ # * For overflow behavior `QUEUE`, your overflow builds need to wait
1505
+ # on the existing fleet instance to become available.
1506
+ #
1507
+ # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1508
+ # CodeBuild on-demand.
1509
+ # @return [String]
1510
+ #
1501
1511
  # @!attribute [rw] tags
1502
1512
  # A list of tag key and value pairs associated with this compute
1503
1513
  # fleet.
@@ -1514,6 +1524,7 @@ module Aws::CodeBuild
1514
1524
  :environment_type,
1515
1525
  :compute_type,
1516
1526
  :scaling_configuration,
1527
+ :overflow_behavior,
1517
1528
  :tags)
1518
1529
  SENSITIVE = []
1519
1530
  include Aws::Structure
@@ -2428,6 +2439,16 @@ module Aws::CodeBuild
2428
2439
  # The scaling configuration of the compute fleet.
2429
2440
  # @return [Types::ScalingConfigurationOutput]
2430
2441
  #
2442
+ # @!attribute [rw] overflow_behavior
2443
+ # The compute fleet overflow behavior.
2444
+ #
2445
+ # * For overflow behavior `QUEUE`, your overflow builds need to wait
2446
+ # on the existing fleet instance to become available.
2447
+ #
2448
+ # * For overflow behavior `ON_DEMAND`, your overflow builds run on
2449
+ # CodeBuild on-demand.
2450
+ # @return [String]
2451
+ #
2431
2452
  # @!attribute [rw] tags
2432
2453
  # A list of tag key and value pairs associated with this compute
2433
2454
  # fleet.
@@ -2449,6 +2470,7 @@ module Aws::CodeBuild
2449
2470
  :environment_type,
2450
2471
  :compute_type,
2451
2472
  :scaling_configuration,
2473
+ :overflow_behavior,
2452
2474
  :tags)
2453
2475
  SENSITIVE = []
2454
2476
  include Aws::Structure
@@ -6309,6 +6331,16 @@ module Aws::CodeBuild
6309
6331
  # The scaling configuration of the compute fleet.
6310
6332
  # @return [Types::ScalingConfigurationInput]
6311
6333
  #
6334
+ # @!attribute [rw] overflow_behavior
6335
+ # The compute fleet overflow behavior.
6336
+ #
6337
+ # * For overflow behavior `QUEUE`, your overflow builds need to wait
6338
+ # on the existing fleet instance to become available.
6339
+ #
6340
+ # * For overflow behavior `ON_DEMAND`, your overflow builds run on
6341
+ # CodeBuild on-demand.
6342
+ # @return [String]
6343
+ #
6312
6344
  # @!attribute [rw] tags
6313
6345
  # A list of tag key and value pairs associated with this compute
6314
6346
  # fleet.
@@ -6325,6 +6357,7 @@ module Aws::CodeBuild
6325
6357
  :environment_type,
6326
6358
  :compute_type,
6327
6359
  :scaling_configuration,
6360
+ :overflow_behavior,
6328
6361
  :tags)
6329
6362
  SENSITIVE = []
6330
6363
  include Aws::Structure
@@ -6791,22 +6824,25 @@ module Aws::CodeBuild
6791
6824
  # A filter used to determine which webhooks trigger a build.
6792
6825
  #
6793
6826
  # @!attribute [rw] type
6794
- # The type of webhook filter. There are six webhook filter types:
6827
+ # The type of webhook filter. There are eight webhook filter types:
6795
6828
  # `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, `FILE_PATH`,
6796
- # and `COMMIT_MESSAGE`.
6829
+ # `COMMIT_MESSAGE`, `TAG_NAME`, and `RELEASE_NAME`.
6797
6830
  #
6798
6831
  # * EVENT
6799
6832
  #
6800
6833
  # * A webhook event triggers a build when the provided `pattern`
6801
- # matches one of six event types: `PUSH`, `PULL_REQUEST_CREATED`,
6802
- # `PULL_REQUEST_UPDATED`, `PULL_REQUEST_CLOSED`,
6803
- # `PULL_REQUEST_REOPENED`, and `PULL_REQUEST_MERGED`. The `EVENT`
6804
- # patterns are specified as a comma-separated string. For example,
6805
- # `PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED` filters all
6806
- # push, pull request created, and pull request updated events.
6834
+ # matches one of eight event types: `PUSH`,
6835
+ # `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`,
6836
+ # `PULL_REQUEST_CLOSED`, `PULL_REQUEST_REOPENED`,
6837
+ # `PULL_REQUEST_MERGED`, `RELEASED`, and `PRERELEASED`. The
6838
+ # `EVENT` patterns are specified as a comma-separated string. For
6839
+ # example, `PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`
6840
+ # filters all push, pull request created, and pull request updated
6841
+ # events.
6807
6842
  #
6808
6843
  # <note markdown="1"> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub
6809
- # Enterprise only.
6844
+ # Enterprise only. The `RELEASED` and `PRERELEASED` work with
6845
+ # GitHub only.
6810
6846
  #
6811
6847
  # </note>
6812
6848
  #
@@ -6824,10 +6860,12 @@ module Aws::CodeBuild
6824
6860
  # the regular expression `pattern`. For example,
6825
6861
  # `refs/heads/branch-name` and `refs/tags/tag-name`.
6826
6862
  #
6827
- # Works with GitHub and GitHub Enterprise push, GitHub and GitHub
6863
+ # <note markdown="1"> Works with GitHub and GitHub Enterprise push, GitHub and GitHub
6828
6864
  # Enterprise pull request, Bitbucket push, and Bitbucket pull
6829
6865
  # request events.
6830
6866
  #
6867
+ # </note>
6868
+ #
6831
6869
  # * BASE\_REF
6832
6870
  #
6833
6871
  # * A webhook event triggers a build when the base reference matches
@@ -6859,6 +6897,24 @@ module Aws::CodeBuild
6859
6897
  # not work with GitHub Enterprise pull request events.
6860
6898
  #
6861
6899
  # </note>
6900
+ #
6901
+ # * TAG\_NAME
6902
+ #
6903
+ # * A webhook triggers a build when the tag name of the release
6904
+ # matches the regular expression `pattern`.
6905
+ #
6906
+ # <note markdown="1"> Works with `RELEASED` and `PRERELEASED` events only.
6907
+ #
6908
+ # </note>
6909
+ #
6910
+ # * RELEASE\_NAME
6911
+ #
6912
+ # * A webhook triggers a build when the release name matches the
6913
+ # regular expression `pattern`.
6914
+ #
6915
+ # <note markdown="1"> Works with `RELEASED` and `PRERELEASED` events only.
6916
+ #
6917
+ # </note>
6862
6918
  # @return [String]
6863
6919
  #
6864
6920
  # @!attribute [rw] pattern
@@ -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.104.0'
55
+ GEM_VERSION = '1.106.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -170,6 +170,7 @@ module Aws
170
170
  ]?,
171
171
  max_capacity: ::Integer?
172
172
  },
173
+ ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
173
174
  ?tags: Array[
174
175
  {
175
176
  key: ::String?,
@@ -1054,6 +1055,7 @@ module Aws
1054
1055
  ]?,
1055
1056
  max_capacity: ::Integer?
1056
1057
  },
1058
+ ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
1057
1059
  ?tags: Array[
1058
1060
  {
1059
1061
  key: ::String?,
data/sig/types.rbs CHANGED
@@ -267,6 +267,7 @@ module Aws::CodeBuild
267
267
  attr_accessor environment_type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER")
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
+ attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
270
271
  attr_accessor tags: ::Array[Types::Tag]
271
272
  SENSITIVE: []
272
273
  end
@@ -483,6 +484,7 @@ module Aws::CodeBuild
483
484
  attr_accessor environment_type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER")
484
485
  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")
485
486
  attr_accessor scaling_configuration: Types::ScalingConfigurationOutput
487
+ attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
486
488
  attr_accessor tags: ::Array[Types::Tag]
487
489
  SENSITIVE: []
488
490
  end
@@ -1158,6 +1160,7 @@ module Aws::CodeBuild
1158
1160
  attr_accessor environment_type: ("WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER")
1159
1161
  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")
1160
1162
  attr_accessor scaling_configuration: Types::ScalingConfigurationInput
1163
+ attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
1161
1164
  attr_accessor tags: ::Array[Types::Tag]
1162
1165
  SENSITIVE: []
1163
1166
  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.104.0
4
+ version: 1.106.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-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core