aws-sdk-codebuild 1.137.0 → 1.139.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: 0c61ad620f05865429f162b30fe713c9359c3a1e503fff146d6b686917ce4711
4
- data.tar.gz: b0a1e1d9a2cdc4e95c6f9fcf13bf8e625de4d2878b48c00d85de442908ebd5d4
3
+ metadata.gz: 0d6faa01d1064c60e4878dd2f2b7fe0daa8255afbe7f58cfe039eb97c815f6d9
4
+ data.tar.gz: 9fe71d0225d8f6f3c3c44f6238d84d0c2424f6975c8da9dada2dff276bd6adfa
5
5
  SHA512:
6
- metadata.gz: a085b9589f48a6afb490092702139e783e054e49417bb9c1df37dfcfda87b2d6c187412cb532ebd4a901dd50f4ecbee44cab4acf01ea94de10a527f2930dc704
7
- data.tar.gz: bea90cb04ce372a5788564d9766306451f410026d70109a15569b645c078d94c86ae6a1e7e436737e1cf301acca35343bb0952ce3468a0aebcd7af8b07007abd
6
+ metadata.gz: d518adf1a0b416665f31d261418bdd5e84f50a289812bf2e214e07e7e285470b51c3a9239a31347d194718719a6ccea86ed1227c54ef56033101135519b827c1
7
+ data.tar.gz: cad4b285f4cd4d220f2dee1808d181a04231c1d68a7028f9bc21575759b7e4c60a1110f59a735e5a796d70d1fb8bd2504c4531f9513b5133364c03d99d616e70
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.139.0 (2025-01-09)
5
+ ------------------
6
+
7
+ * Feature - AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda
8
+
9
+ 1.138.0 (2024-11-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.137.0 (2024-11-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.137.0
1
+ 1.139.0
@@ -618,6 +618,8 @@ module Aws::CodeBuild
618
618
  # resp.build_batches[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
619
619
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
620
620
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
621
+ # resp.build_batches[0].build_batch_config.restrictions.fleets_allowed #=> Array
622
+ # resp.build_batches[0].build_batch_config.restrictions.fleets_allowed[0] #=> String
621
623
  # resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
622
624
  # resp.build_batches[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
623
625
  # resp.build_batches[0].build_groups #=> Array
@@ -1030,6 +1032,8 @@ module Aws::CodeBuild
1030
1032
  # resp.projects[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1031
1033
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
1032
1034
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
1035
+ # resp.projects[0].build_batch_config.restrictions.fleets_allowed #=> Array
1036
+ # resp.projects[0].build_batch_config.restrictions.fleets_allowed[0] #=> String
1033
1037
  # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
1034
1038
  # resp.projects[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1035
1039
  # resp.projects[0].concurrent_build_limit #=> Integer
@@ -1765,6 +1769,7 @@ module Aws::CodeBuild
1765
1769
  # restrictions: {
1766
1770
  # maximum_builds_allowed: 1,
1767
1771
  # compute_types_allowed: ["NonEmptyString"],
1772
+ # fleets_allowed: ["NonEmptyString"],
1768
1773
  # },
1769
1774
  # timeout_in_mins: 1,
1770
1775
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -1898,6 +1903,8 @@ module Aws::CodeBuild
1898
1903
  # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1899
1904
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1900
1905
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1906
+ # resp.project.build_batch_config.restrictions.fleets_allowed #=> Array
1907
+ # resp.project.build_batch_config.restrictions.fleets_allowed[0] #=> String
1901
1908
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
1902
1909
  # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1903
1910
  # resp.project.concurrent_build_limit #=> Integer
@@ -3735,6 +3742,8 @@ module Aws::CodeBuild
3735
3742
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
3736
3743
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
3737
3744
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
3745
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
3746
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
3738
3747
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
3739
3748
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
3740
3749
  # resp.build_batch.build_groups #=> Array
@@ -3909,8 +3918,8 @@ module Aws::CodeBuild
3909
3918
  # @option params [Boolean] :report_build_status_override
3910
3919
  # Set to true to report to your source provider the status of a build's
3911
3920
  # 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.
3921
+ # other than GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
3922
+ # Bitbucket, an `invalidInputException` is thrown.
3914
3923
  #
3915
3924
  # To be able to report the build status to the source provider, the user
3916
3925
  # associated with the source provider must have write access to the
@@ -4637,6 +4646,7 @@ module Aws::CodeBuild
4637
4646
  # restrictions: {
4638
4647
  # maximum_builds_allowed: 1,
4639
4648
  # compute_types_allowed: ["NonEmptyString"],
4649
+ # fleets_allowed: ["NonEmptyString"],
4640
4650
  # },
4641
4651
  # timeout_in_mins: 1,
4642
4652
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -4758,6 +4768,8 @@ module Aws::CodeBuild
4758
4768
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
4759
4769
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4760
4770
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4771
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
4772
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
4761
4773
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4762
4774
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4763
4775
  # resp.build_batch.build_groups #=> Array
@@ -5080,6 +5092,8 @@ module Aws::CodeBuild
5080
5092
  # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
5081
5093
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
5082
5094
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
5095
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed #=> Array
5096
+ # resp.build_batch.build_batch_config.restrictions.fleets_allowed[0] #=> String
5083
5097
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
5084
5098
  # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
5085
5099
  # resp.build_batch.build_groups #=> Array
@@ -5733,6 +5747,7 @@ module Aws::CodeBuild
5733
5747
  # restrictions: {
5734
5748
  # maximum_builds_allowed: 1,
5735
5749
  # compute_types_allowed: ["NonEmptyString"],
5750
+ # fleets_allowed: ["NonEmptyString"],
5736
5751
  # },
5737
5752
  # timeout_in_mins: 1,
5738
5753
  # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
@@ -5866,6 +5881,8 @@ module Aws::CodeBuild
5866
5881
  # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
5867
5882
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
5868
5883
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
5884
+ # resp.project.build_batch_config.restrictions.fleets_allowed #=> Array
5885
+ # resp.project.build_batch_config.restrictions.fleets_allowed[0] #=> String
5869
5886
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
5870
5887
  # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
5871
5888
  # resp.project.concurrent_build_limit #=> Integer
@@ -5908,7 +5925,6 @@ module Aws::CodeBuild
5908
5925
  # User Guide* to limit which entities can trigger a build, and do
5909
5926
  # not store the buildspec in the project itself, to ensure that your
5910
5927
  # webhooks are as secure as possible.
5911
- #
5912
5928
  # * A malicious user can use public builds to distribute malicious
5913
5929
  # artifacts. We recommend that you review all pull requests to verify
5914
5930
  # that the pull request is a legitimate change. We also recommend that
@@ -6142,7 +6158,7 @@ module Aws::CodeBuild
6142
6158
  tracer: tracer
6143
6159
  )
6144
6160
  context[:gem_name] = 'aws-sdk-codebuild'
6145
- context[:gem_version] = '1.137.0'
6161
+ context[:gem_version] = '1.139.0'
6146
6162
  Seahorse::Client::Request.new(handlers, context)
6147
6163
  end
6148
6164
 
@@ -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
@@ -4922,7 +4933,6 @@ module Aws::CodeBuild
4922
4933
  #
4923
4934
  # * The path to the folder that contains the source code (for
4924
4935
  # example, `<bucket-name>/<path-to-source-code>/<folder>/`).
4925
- #
4926
4936
  # * For source code in a GitHub repository, the HTTPS clone URL to the
4927
4937
  # repository that contains the source and the buildspec file. You
4928
4938
  # must connect your Amazon Web Services account to your GitHub
@@ -5007,8 +5017,9 @@ module Aws::CodeBuild
5007
5017
  # Set to true to report the status of a build's start and finish to
5008
5018
  # your source provider. This option is valid only when your source
5009
5019
  # provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed,
5010
- # or Bitbucket. If this is set and you use a different source
5011
- # 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.
5012
5023
  #
5013
5024
  # To be able to report the build status to the source provider, the
5014
5025
  # user associated with the source provider must have write access to
@@ -6277,8 +6288,8 @@ module Aws::CodeBuild
6277
6288
  # @!attribute [rw] report_build_status_override
6278
6289
  # Set to true to report to your source provider the status of a
6279
6290
  # build's start and completion. If you use this option with a source
6280
- # provider other than GitHub, GitHub Enterprise, or Bitbucket, an
6281
- # `invalidInputException` is thrown.
6291
+ # provider other than GitHub, GitHub Enterprise, GitLab, GitLab Self
6292
+ # Managed, or Bitbucket, an `invalidInputException` is thrown.
6282
6293
  #
6283
6294
  # To be able to report the build status to the source provider, the
6284
6295
  # user associated with the source provider must have write access to
@@ -7428,7 +7439,6 @@ module Aws::CodeBuild
7428
7439
  # `PRERELEASED` work with GitHub only.
7429
7440
  #
7430
7441
  # </note>
7431
- #
7432
7442
  # * ACTOR\_ACCOUNT\_ID
7433
7443
  #
7434
7444
  # * A webhook event triggers a build when a GitHub, GitHub
@@ -7436,7 +7446,6 @@ module Aws::CodeBuild
7436
7446
  # expression `pattern`.
7437
7447
  #
7438
7448
  # ^
7439
- #
7440
7449
  # * HEAD\_REF
7441
7450
  #
7442
7451
  # * A webhook event triggers a build when the head reference matches
@@ -7448,7 +7457,6 @@ module Aws::CodeBuild
7448
7457
  # request events.
7449
7458
  #
7450
7459
  # </note>
7451
- #
7452
7460
  # * BASE\_REF
7453
7461
  #
7454
7462
  # * A webhook event triggers a build when the base reference matches
@@ -7458,7 +7466,6 @@ module Aws::CodeBuild
7458
7466
  # <note markdown="1"> Works with pull request events only.
7459
7467
  #
7460
7468
  # </note>
7461
- #
7462
7469
  # * FILE\_PATH
7463
7470
  #
7464
7471
  # * A webhook triggers a build when the path of a changed file
@@ -7469,7 +7476,6 @@ module Aws::CodeBuild
7469
7476
  # not work with GitHub Enterprise pull request events.
7470
7477
  #
7471
7478
  # </note>
7472
- #
7473
7479
  # * COMMIT\_MESSAGE
7474
7480
  #
7475
7481
  # * A webhook triggers a build when the head commit message matches
@@ -7480,7 +7486,6 @@ module Aws::CodeBuild
7480
7486
  # not work with GitHub Enterprise pull request events.
7481
7487
  #
7482
7488
  # </note>
7483
- #
7484
7489
  # * TAG\_NAME
7485
7490
  #
7486
7491
  # * A webhook triggers a build when the tag name of the release
@@ -7489,7 +7494,6 @@ module Aws::CodeBuild
7489
7494
  # <note markdown="1"> Works with `RELEASED` and `PRERELEASED` events only.
7490
7495
  #
7491
7496
  # </note>
7492
- #
7493
7497
  # * RELEASE\_NAME
7494
7498
  #
7495
7499
  # * A webhook triggers a build when the release name matches the
@@ -7498,7 +7502,6 @@ module Aws::CodeBuild
7498
7502
  # <note markdown="1"> Works with `RELEASED` and `PRERELEASED` events only.
7499
7503
  #
7500
7504
  # </note>
7501
- #
7502
7505
  # * REPOSITORY\_NAME
7503
7506
  #
7504
7507
  # * A webhook triggers a build when the repository name matches the
@@ -7507,7 +7510,6 @@ module Aws::CodeBuild
7507
7510
  # <note markdown="1"> Works with GitHub global or organization webhooks only.
7508
7511
  #
7509
7512
  # </note>
7510
- #
7511
7513
  # * WORKFLOW\_NAME
7512
7514
  #
7513
7515
  # * A webhook triggers a build when the workflow name matches the
@@ -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.137.0'
57
+ GEM_VERSION = '1.139.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -365,7 +365,8 @@ module Aws
365
365
  combine_artifacts: bool?,
366
366
  restrictions: {
367
367
  maximum_builds_allowed: ::Integer?,
368
- compute_types_allowed: Array[::String]?
368
+ compute_types_allowed: Array[::String]?,
369
+ fleets_allowed: Array[::String]?
369
370
  }?,
370
371
  timeout_in_mins: ::Integer?,
371
372
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
@@ -1046,7 +1047,8 @@ module Aws
1046
1047
  combine_artifacts: bool?,
1047
1048
  restrictions: {
1048
1049
  maximum_builds_allowed: ::Integer?,
1049
- compute_types_allowed: Array[::String]?
1050
+ compute_types_allowed: Array[::String]?,
1051
+ fleets_allowed: Array[::String]?
1050
1052
  }?,
1051
1053
  timeout_in_mins: ::Integer?,
1052
1054
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
@@ -1287,7 +1289,8 @@ module Aws
1287
1289
  combine_artifacts: bool?,
1288
1290
  restrictions: {
1289
1291
  maximum_builds_allowed: ::Integer?,
1290
- compute_types_allowed: Array[::String]?
1292
+ compute_types_allowed: Array[::String]?,
1293
+ fleets_allowed: Array[::String]?
1291
1294
  }?,
1292
1295
  timeout_in_mins: ::Integer?,
1293
1296
  batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
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.137.0
4
+ version: 1.139.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-12 00:00:00.000000000 Z
11
+ date: 2025-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core