aws-sdk-codebuild 1.81.0 → 1.82.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: 92b4c9435d00b91897d1bf55bd817559daa383231086f2ffc5e41321bae4a6b8
4
- data.tar.gz: 16b497f7197c5948e538d77ea9e546b0757f8fa832de46077175e43fc182c04c
3
+ metadata.gz: 14f6145b8ebdc94e73cef7159aa3f7b0b4d9b442b73d28af3c5de08f5e6bee90
4
+ data.tar.gz: 0b449defa109edee38412bcdfec2875981c5212992c09ed22f80e62834249ae4
5
5
  SHA512:
6
- metadata.gz: 6ecf33e29685946c5f234fb2aca1dfe9244418df844ac22592c2a955e31151dbcc83f2fd49c268778ed0736cfd12b837b281eb2d98de91803d9863a1313aafa5
7
- data.tar.gz: 18cda7c40a220757370adc4dab769bff68467d04d6adbb807a63eeb444614e79f5417b7737e2e02ab0b79f7c4814dfac23bd8d7d9fa9a45521d61b7c35b8b23e
6
+ metadata.gz: c9dacc4e3c71927c7c76352885c690d02b345e3bf2878b0dcb30430b738e9740800aa46927a024d74915bf33d50e290b4e84eafb51c57e244543a2f11f557db0
7
+ data.tar.gz: 82c965ea3cdff09df157109aa1381cc8df7ebe6c245932d6af419c8b3ca57f89bad6e8a620bb92757bc351ea41b5bee249317c2a99118ae1263f5ba27bb0dfc3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.82.0 (2021-10-04)
5
+ ------------------
6
+
7
+ * Feature - CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project.
8
+
4
9
  1.81.0 (2021-09-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.81.0
1
+ 1.82.0
@@ -497,6 +497,7 @@ module Aws::CodeBuild
497
497
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
498
498
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
499
499
  # resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
500
+ # resp.build_batches[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
500
501
  # resp.build_batches[0].build_groups #=> Array
501
502
  # resp.build_batches[0].build_groups[0].identifier #=> String
502
503
  # resp.build_batches[0].build_groups[0].depends_on #=> Array
@@ -821,6 +822,7 @@ module Aws::CodeBuild
821
822
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
822
823
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
823
824
  # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
825
+ # resp.projects[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
824
826
  # resp.projects[0].concurrent_build_limit #=> Integer
825
827
  # resp.projects[0].project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
826
828
  # resp.projects[0].public_project_alias #=> String
@@ -1223,6 +1225,7 @@ module Aws::CodeBuild
1223
1225
  # compute_types_allowed: ["NonEmptyString"],
1224
1226
  # },
1225
1227
  # timeout_in_mins: 1,
1228
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
1226
1229
  # },
1227
1230
  # concurrent_build_limit: 1,
1228
1231
  # })
@@ -1344,6 +1347,7 @@ module Aws::CodeBuild
1344
1347
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1345
1348
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1346
1349
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
1350
+ # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1347
1351
  # resp.project.concurrent_build_limit #=> Integer
1348
1352
  # resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
1349
1353
  # resp.project.public_project_alias #=> String
@@ -2222,14 +2226,17 @@ module Aws::CodeBuild
2222
2226
  # The name of the CodeBuild project.
2223
2227
  #
2224
2228
  # @option params [String] :sort_order
2225
- # The order to list results in. The results are sorted by build number,
2226
- # not the build identifier.
2229
+ # The order to sort the results in. The results are sorted by build
2230
+ # number, not the build identifier. If this is not specified, the
2231
+ # results are sorted in descending order.
2227
2232
  #
2228
2233
  # Valid values include:
2229
2234
  #
2230
- # * `ASCENDING`\: List the build IDs in ascending order by build ID.
2235
+ # * `ASCENDING`\: List the build identifiers in ascending order, by
2236
+ # build number.
2231
2237
  #
2232
- # * `DESCENDING`\: List the build IDs in descending order by build ID.
2238
+ # * `DESCENDING`\: List the build identifiers in descending order, by
2239
+ # build number.
2233
2240
  #
2234
2241
  # If the project has more than 100 builds, setting the sort order will
2235
2242
  # result in an error.
@@ -3035,6 +3042,7 @@ module Aws::CodeBuild
3035
3042
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
3036
3043
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
3037
3044
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
3045
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
3038
3046
  # resp.build_batch.build_groups #=> Array
3039
3047
  # resp.build_batch.build_groups[0].identifier #=> String
3040
3048
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -3893,6 +3901,7 @@ module Aws::CodeBuild
3893
3901
  # compute_types_allowed: ["NonEmptyString"],
3894
3902
  # },
3895
3903
  # timeout_in_mins: 1,
3904
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
3896
3905
  # },
3897
3906
  # debug_session_enabled: false,
3898
3907
  # })
@@ -4007,6 +4016,7 @@ module Aws::CodeBuild
4007
4016
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4008
4017
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4009
4018
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4019
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4010
4020
  # resp.build_batch.build_groups #=> Array
4011
4021
  # resp.build_batch.build_groups[0].identifier #=> String
4012
4022
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -4314,6 +4324,7 @@ module Aws::CodeBuild
4314
4324
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4315
4325
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4316
4326
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4327
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4317
4328
  # resp.build_batch.build_groups #=> Array
4318
4329
  # resp.build_batch.build_groups[0].identifier #=> String
4319
4330
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -4412,7 +4423,7 @@ module Aws::CodeBuild
4412
4423
  # build project.
4413
4424
  #
4414
4425
  # @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts
4415
- # An array of `ProjectSource` objects.
4426
+ # An array of `ProjectArtifact` objects.
4416
4427
  #
4417
4428
  # @option params [Types::ProjectCache] :cache
4418
4429
  # Stores recently used information so that it can be quickly accessed at
@@ -4640,6 +4651,7 @@ module Aws::CodeBuild
4640
4651
  # compute_types_allowed: ["NonEmptyString"],
4641
4652
  # },
4642
4653
  # timeout_in_mins: 1,
4654
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
4643
4655
  # },
4644
4656
  # concurrent_build_limit: 1,
4645
4657
  # })
@@ -4761,6 +4773,7 @@ module Aws::CodeBuild
4761
4773
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
4762
4774
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4763
4775
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
4776
+ # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4764
4777
  # resp.project.concurrent_build_limit #=> Integer
4765
4778
  # resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
4766
4779
  # resp.project.public_project_alias #=> String
@@ -5026,7 +5039,7 @@ module Aws::CodeBuild
5026
5039
  params: params,
5027
5040
  config: config)
5028
5041
  context[:gem_name] = 'aws-sdk-codebuild'
5029
- context[:gem_version] = '1.81.0'
5042
+ context[:gem_version] = '1.82.0'
5030
5043
  Seahorse::Client::Request.new(handlers, context)
5031
5044
  end
5032
5045
 
@@ -30,6 +30,7 @@ module Aws::CodeBuild
30
30
  BatchGetReportGroupsOutput = Shapes::StructureShape.new(name: 'BatchGetReportGroupsOutput')
31
31
  BatchGetReportsInput = Shapes::StructureShape.new(name: 'BatchGetReportsInput')
32
32
  BatchGetReportsOutput = Shapes::StructureShape.new(name: 'BatchGetReportsOutput')
33
+ BatchReportModeType = Shapes::StringShape.new(name: 'BatchReportModeType')
33
34
  BatchRestrictions = Shapes::StructureShape.new(name: 'BatchRestrictions')
34
35
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
36
  BucketOwnerAccess = Shapes::StringShape.new(name: 'BucketOwnerAccess')
@@ -849,6 +850,7 @@ module Aws::CodeBuild
849
850
  ProjectBuildBatchConfig.add_member(:combine_artifacts, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "combineArtifacts"))
850
851
  ProjectBuildBatchConfig.add_member(:restrictions, Shapes::ShapeRef.new(shape: BatchRestrictions, location_name: "restrictions"))
851
852
  ProjectBuildBatchConfig.add_member(:timeout_in_mins, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMins"))
853
+ ProjectBuildBatchConfig.add_member(:batch_report_mode, Shapes::ShapeRef.new(shape: BatchReportModeType, location_name: "batchReportMode"))
852
854
  ProjectBuildBatchConfig.struct_class = Types::ProjectBuildBatchConfig
853
855
 
854
856
  ProjectCache.add_member(:type, Shapes::ShapeRef.new(shape: CacheType, required: true, location_name: "type"))
@@ -1591,6 +1591,7 @@ module Aws::CodeBuild
1591
1591
  # compute_types_allowed: ["NonEmptyString"],
1592
1592
  # },
1593
1593
  # timeout_in_mins: 1,
1594
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
1594
1595
  # },
1595
1596
  # concurrent_build_limit: 1,
1596
1597
  # }
@@ -2877,14 +2878,17 @@ module Aws::CodeBuild
2877
2878
  # @return [String]
2878
2879
  #
2879
2880
  # @!attribute [rw] sort_order
2880
- # The order to list results in. The results are sorted by build
2881
- # number, not the build identifier.
2881
+ # The order to sort the results in. The results are sorted by build
2882
+ # number, not the build identifier. If this is not specified, the
2883
+ # results are sorted in descending order.
2882
2884
  #
2883
2885
  # Valid values include:
2884
2886
  #
2885
- # * `ASCENDING`\: List the build IDs in ascending order by build ID.
2887
+ # * `ASCENDING`\: List the build identifiers in ascending order, by
2888
+ # build number.
2886
2889
  #
2887
- # * `DESCENDING`\: List the build IDs in descending order by build ID.
2890
+ # * `DESCENDING`\: List the build identifiers in descending order, by
2891
+ # build number.
2888
2892
  #
2889
2893
  # If the project has more than 100 builds, setting the sort order will
2890
2894
  # result in an error.
@@ -2911,8 +2915,8 @@ module Aws::CodeBuild
2911
2915
  end
2912
2916
 
2913
2917
  # @!attribute [rw] ids
2914
- # A list of build IDs for the specified build project, with each build
2915
- # ID representing a single build.
2918
+ # A list of build identifiers for the specified build project, with
2919
+ # each build ID representing a single build.
2916
2920
  # @return [Array<String>]
2917
2921
  #
2918
2922
  # @!attribute [rw] next_token
@@ -4124,6 +4128,7 @@ module Aws::CodeBuild
4124
4128
  # compute_types_allowed: ["NonEmptyString"],
4125
4129
  # },
4126
4130
  # timeout_in_mins: 1,
4131
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
4127
4132
  # }
4128
4133
  #
4129
4134
  # @!attribute [rw] service_role
@@ -4145,13 +4150,31 @@ module Aws::CodeBuild
4145
4150
  # build must be completed in.
4146
4151
  # @return [Integer]
4147
4152
  #
4153
+ # @!attribute [rw] batch_report_mode
4154
+ # Specifies how build status reports are sent to the source provider
4155
+ # for the batch build. This property is only used when the source
4156
+ # provider for your project is Bitbucket, GitHub, or GitHub
4157
+ # Enterprise, and your project is configured to report build statuses
4158
+ # to the source provider.
4159
+ #
4160
+ # REPORT\_AGGREGATED\_BATCH
4161
+ #
4162
+ # : (Default) Aggregate all of the build statuses into a single status
4163
+ # report.
4164
+ #
4165
+ # REPORT\_INDIVIDUAL\_BUILDS
4166
+ #
4167
+ # : Send a separate status report for each individual build.
4168
+ # @return [String]
4169
+ #
4148
4170
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBuildBatchConfig AWS API Documentation
4149
4171
  #
4150
4172
  class ProjectBuildBatchConfig < Struct.new(
4151
4173
  :service_role,
4152
4174
  :combine_artifacts,
4153
4175
  :restrictions,
4154
- :timeout_in_mins)
4176
+ :timeout_in_mins,
4177
+ :batch_report_mode)
4155
4178
  SENSITIVE = []
4156
4179
  include Aws::Structure
4157
4180
  end
@@ -5601,6 +5624,7 @@ module Aws::CodeBuild
5601
5624
  # compute_types_allowed: ["NonEmptyString"],
5602
5625
  # },
5603
5626
  # timeout_in_mins: 1,
5627
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
5604
5628
  # },
5605
5629
  # debug_session_enabled: false,
5606
5630
  # }
@@ -6700,6 +6724,7 @@ module Aws::CodeBuild
6700
6724
  # compute_types_allowed: ["NonEmptyString"],
6701
6725
  # },
6702
6726
  # timeout_in_mins: 1,
6727
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
6703
6728
  # },
6704
6729
  # concurrent_build_limit: 1,
6705
6730
  # }
@@ -6772,7 +6797,7 @@ module Aws::CodeBuild
6772
6797
  # @return [Types::ProjectArtifacts]
6773
6798
  #
6774
6799
  # @!attribute [rw] secondary_artifacts
6775
- # An array of `ProjectSource` objects.
6800
+ # An array of `ProjectArtifact` objects.
6776
6801
  # @return [Array<Types::ProjectArtifacts>]
6777
6802
  #
6778
6803
  # @!attribute [rw] cache
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codebuild/customizations'
48
48
  # @!group service
49
49
  module Aws::CodeBuild
50
50
 
51
- GEM_VERSION = '1.81.0'
51
+ GEM_VERSION = '1.82.0'
52
52
 
53
53
  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.81.0
4
+ version: 1.82.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: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core