aws-sdk-codebuild 1.138.0 → 1.140.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55b21cc26c47b7be097cba7b6e02e20dd0815ee321cb80cccb1868625c9d137e
4
- data.tar.gz: 605b680d454e36cd9ce10b0c7e10c81e095f189d3b9f4d32cc0e6b0ed5782837
3
+ metadata.gz: f215888fec1db51c11085780b5bdb8b53200e09268e45aac9869989bafe07ea9
4
+ data.tar.gz: 9b83156e74fa20745553d0d2489c95f1129b68583a024d8fb2ee666f805e0131
5
5
  SHA512:
6
- metadata.gz: a143adcd8bfc595b0f52228cfc834200fa8f0a8bd459deee38951405c7084c2797f1c78157ac1180726718d6bfeed1c3267dd35acdec5f49a7a7b430823232a8
7
- data.tar.gz: d1d81de850615a7e6110a42c8bf028c65742e259c2d546f53e3961934dc7f2712d2cd488c5d037f1a44fd702cf6ab958525e6a2375c26e9e671a0e74ef77d633
6
+ metadata.gz: cebbabf23bdd2e3ca30f9cf460fc4afeab25fff40c06dfc90478f90c7181849704513bc87e4d3a00f8851d68ed1172a7164454ae2e2bc794e3b6c8971cfc6a5d
7
+ data.tar.gz: 4c2aeba629fcfc5fcdfe59dd00a8f5e1b8db9c81564988b3a73abb2a9971a4860ffb325a92b51a20b772e11079d0c5606ffd5df79dec2a0c5d6c87bbb7a9885d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.140.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.139.0 (2025-01-09)
10
+ ------------------
11
+
12
+ * Feature - AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda
13
+
4
14
  1.138.0 (2024-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.138.0
1
+ 1.140.0
@@ -257,11 +257,34 @@ module Aws::CodeBuild
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -618,6 +641,8 @@ module Aws::CodeBuild
618
641
  # resp.build_batches[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
619
642
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
620
643
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
644
+ # resp.build_batches[0].build_batch_config.restrictions.fleets_allowed #=> Array
645
+ # resp.build_batches[0].build_batch_config.restrictions.fleets_allowed[0] #=> String
621
646
  # resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
622
647
  # resp.build_batches[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
623
648
  # resp.build_batches[0].build_groups #=> Array
@@ -1030,6 +1055,8 @@ module Aws::CodeBuild
1030
1055
  # resp.projects[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1031
1056
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
1032
1057
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
1058
+ # resp.projects[0].build_batch_config.restrictions.fleets_allowed #=> Array
1059
+ # resp.projects[0].build_batch_config.restrictions.fleets_allowed[0] #=> String
1033
1060
  # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
1034
1061
  # resp.projects[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1035
1062
  # resp.projects[0].concurrent_build_limit #=> Integer
@@ -1765,6 +1792,7 @@ module Aws::CodeBuild
1765
1792
  # restrictions: {
1766
1793
  # maximum_builds_allowed: 1,
1767
1794
  # compute_types_allowed: ["NonEmptyString"],
1795
+ # fleets_allowed: ["NonEmptyString"],
1768
1796
  # },
1769
1797
  # timeout_in_mins: 1,
1770
1798
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -1898,6 +1926,8 @@ module Aws::CodeBuild
1898
1926
  # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1899
1927
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1900
1928
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1929
+ # resp.project.build_batch_config.restrictions.fleets_allowed #=> Array
1930
+ # resp.project.build_batch_config.restrictions.fleets_allowed[0] #=> String
1901
1931
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
1902
1932
  # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1903
1933
  # resp.project.concurrent_build_limit #=> Integer
@@ -3735,6 +3765,8 @@ module Aws::CodeBuild
3735
3765
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
3736
3766
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
3737
3767
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
3768
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
3769
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
3738
3770
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
3739
3771
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
3740
3772
  # resp.build_batch.build_groups #=> Array
@@ -3909,8 +3941,8 @@ module Aws::CodeBuild
3909
3941
  # @option params [Boolean] :report_build_status_override
3910
3942
  # Set to true to report to your source provider the status of a build's
3911
3943
  # start and completion. If you use this option with a source provider
3912
- # other than GitHub, GitHub Enterprise, or Bitbucket, an
3913
- # `invalidInputException` is thrown.
3944
+ # other than GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
3945
+ # Bitbucket, an `invalidInputException` is thrown.
3914
3946
  #
3915
3947
  # To be able to report the build status to the source provider, the user
3916
3948
  # associated with the source provider must have write access to the
@@ -4637,6 +4669,7 @@ module Aws::CodeBuild
4637
4669
  # restrictions: {
4638
4670
  # maximum_builds_allowed: 1,
4639
4671
  # compute_types_allowed: ["NonEmptyString"],
4672
+ # fleets_allowed: ["NonEmptyString"],
4640
4673
  # },
4641
4674
  # timeout_in_mins: 1,
4642
4675
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -4758,6 +4791,8 @@ module Aws::CodeBuild
4758
4791
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
4759
4792
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4760
4793
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4794
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
4795
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
4761
4796
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4762
4797
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4763
4798
  # resp.build_batch.build_groups #=> Array
@@ -5080,6 +5115,8 @@ module Aws::CodeBuild
5080
5115
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
5081
5116
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
5082
5117
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
5118
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
5119
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
5083
5120
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
5084
5121
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
5085
5122
  # resp.build_batch.build_groups #=> Array
@@ -5733,6 +5770,7 @@ module Aws::CodeBuild
5733
5770
  # restrictions: {
5734
5771
  # maximum_builds_allowed: 1,
5735
5772
  # compute_types_allowed: ["NonEmptyString"],
5773
+ # fleets_allowed: ["NonEmptyString"],
5736
5774
  # },
5737
5775
  # timeout_in_mins: 1,
5738
5776
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -5866,6 +5904,8 @@ module Aws::CodeBuild
5866
5904
  # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
5867
5905
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
5868
5906
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
5907
+ # resp.project.build_batch_config.restrictions.fleets_allowed #=> Array
5908
+ # resp.project.build_batch_config.restrictions.fleets_allowed[0] #=> String
5869
5909
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
5870
5910
  # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
5871
5911
  # resp.project.concurrent_build_limit #=> Integer
@@ -6141,7 +6181,7 @@ module Aws::CodeBuild
6141
6181
  tracer: tracer
6142
6182
  )
6143
6183
  context[:gem_name] = 'aws-sdk-codebuild'
6144
- context[:gem_version] = '1.138.0'
6184
+ context[:gem_version] = '1.140.0'
6145
6185
  Seahorse::Client::Request.new(handlers, context)
6146
6186
  end
6147
6187
 
@@ -135,6 +135,7 @@ module Aws::CodeBuild
135
135
  FleetStatus = Shapes::StructureShape.new(name: 'FleetStatus')
136
136
  FleetStatusCode = Shapes::StringShape.new(name: 'FleetStatusCode')
137
137
  Fleets = Shapes::ListShape.new(name: 'Fleets')
138
+ FleetsAllowed = Shapes::ListShape.new(name: 'FleetsAllowed')
138
139
  GetReportGroupTrendInput = Shapes::StructureShape.new(name: 'GetReportGroupTrendInput')
139
140
  GetReportGroupTrendOutput = Shapes::StructureShape.new(name: 'GetReportGroupTrendOutput')
140
141
  GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
@@ -364,6 +365,7 @@ module Aws::CodeBuild
364
365
 
365
366
  BatchRestrictions.add_member(:maximum_builds_allowed, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "maximumBuildsAllowed"))
366
367
  BatchRestrictions.add_member(:compute_types_allowed, Shapes::ShapeRef.new(shape: ComputeTypesAllowed, location_name: "computeTypesAllowed"))
368
+ BatchRestrictions.add_member(:fleets_allowed, Shapes::ShapeRef.new(shape: FleetsAllowed, location_name: "fleetsAllowed"))
367
369
  BatchRestrictions.struct_class = Types::BatchRestrictions
368
370
 
369
371
  Build.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
@@ -751,6 +753,8 @@ module Aws::CodeBuild
751
753
 
752
754
  Fleets.member = Shapes::ShapeRef.new(shape: Fleet)
753
755
 
756
+ FleetsAllowed.member = Shapes::ShapeRef.new(shape: NonEmptyString)
757
+
754
758
  GetReportGroupTrendInput.add_member(:report_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "reportGroupArn"))
755
759
  GetReportGroupTrendInput.add_member(:num_of_reports, Shapes::ShapeRef.new(shape: PageSize, location_name: "numOfReports"))
756
760
  GetReportGroupTrendInput.add_member(:trend_field, Shapes::ShapeRef.new(shape: ReportGroupTrendFieldType, required: true, location_name: "trendField"))
@@ -281,11 +281,22 @@ module Aws::CodeBuild
281
281
  # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
282
282
  # @return [Array<String>]
283
283
  #
284
+ # @!attribute [rw] fleets_allowed
285
+ # An array of strings that specify the fleets that are allowed for the
286
+ # batch build. See [Run builds on reserved capacity fleets][1] in the
287
+ # *CodeBuild User Guide* for more information.
288
+ #
289
+ #
290
+ #
291
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html
292
+ # @return [Array<String>]
293
+ #
284
294
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchRestrictions AWS API Documentation
285
295
  #
286
296
  class BatchRestrictions < Struct.new(
287
297
  :maximum_builds_allowed,
288
- :compute_types_allowed)
298
+ :compute_types_allowed,
299
+ :fleets_allowed)
289
300
  SENSITIVE = []
290
301
  include Aws::Structure
291
302
  end
@@ -5006,8 +5017,9 @@ module Aws::CodeBuild
5006
5017
  # Set to true to report the status of a build's start and finish to
5007
5018
  # your source provider. This option is valid only when your source
5008
5019
  # provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed,
5009
- # or Bitbucket. If this is set and you use a different source
5010
- # provider, an `invalidInputException` is thrown.
5020
+ # GitLab, GitLab Self Managed, or Bitbucket. If this is set and you
5021
+ # use a different source provider, an `invalidInputException` is
5022
+ # thrown.
5011
5023
  #
5012
5024
  # To be able to report the build status to the source provider, the
5013
5025
  # user associated with the source provider must have write access to
@@ -6276,8 +6288,8 @@ module Aws::CodeBuild
6276
6288
  # @!attribute [rw] report_build_status_override
6277
6289
  # Set to true to report to your source provider the status of a
6278
6290
  # build's start and completion. If you use this option with a source
6279
- # provider other than GitHub, GitHub Enterprise, or Bitbucket, an
6280
- # `invalidInputException` is thrown.
6291
+ # provider other than GitHub, GitHub Enterprise, GitLab, GitLab Self
6292
+ # Managed, or Bitbucket, an `invalidInputException` is thrown.
6281
6293
  #
6282
6294
  # To be able to report the build status to the source provider, the
6283
6295
  # user associated with the source provider must have write access to
@@ -54,7 +54,7 @@ module Aws::CodeBuild
54
54
  autoload :EndpointProvider, 'aws-sdk-codebuild/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codebuild/endpoints'
56
56
 
57
- GEM_VERSION = '1.138.0'
57
+ GEM_VERSION = '1.140.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -365,7 +367,8 @@ module Aws
365
367
  combine_artifacts: bool?,
366
368
  restrictions: {
367
369
  maximum_builds_allowed: ::Integer?,
368
- compute_types_allowed: Array[::String]?
370
+ compute_types_allowed: Array[::String]?,
371
+ fleets_allowed: Array[::String]?
369
372
  }?,
370
373
  timeout_in_mins: ::Integer?,
371
374
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
@@ -1046,7 +1049,8 @@ module Aws
1046
1049
  combine_artifacts: bool?,
1047
1050
  restrictions: {
1048
1051
  maximum_builds_allowed: ::Integer?,
1049
- compute_types_allowed: Array[::String]?
1052
+ compute_types_allowed: Array[::String]?,
1053
+ fleets_allowed: Array[::String]?
1050
1054
  }?,
1051
1055
  timeout_in_mins: ::Integer?,
1052
1056
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
@@ -1287,7 +1291,8 @@ module Aws
1287
1291
  combine_artifacts: bool?,
1288
1292
  restrictions: {
1289
1293
  maximum_builds_allowed: ::Integer?,
1290
- compute_types_allowed: Array[::String]?
1294
+ compute_types_allowed: Array[::String]?,
1295
+ fleets_allowed: Array[::String]?
1291
1296
  }?,
1292
1297
  timeout_in_mins: ::Integer?,
1293
1298
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -99,6 +99,7 @@ module Aws::CodeBuild
99
99
  class BatchRestrictions
100
100
  attr_accessor maximum_builds_allowed: ::Integer
101
101
  attr_accessor compute_types_allowed: ::Array[::String]
102
+ attr_accessor fleets_allowed: ::Array[::String]
102
103
  SENSITIVE: []
103
104
  end
104
105
 
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.138.0
4
+ version: 1.140.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-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement