aws-sdk-codebuild 1.81.0 → 1.85.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +31 -7
- data/lib/aws-sdk-codebuild/client_api.rb +2 -0
- data/lib/aws-sdk-codebuild/types.rb +33 -8
- data/lib/aws-sdk-codebuild.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5605eae8834564b824f7dc879da8fd998e18a28331f146243972ccfdec228267
|
4
|
+
data.tar.gz: e84dae3a0d42660439ae9d79af4a6669151e8a0ded54cf948c08a8af81ef8c61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88db05141a8fd58dc0835b35140d678de992b21657a809088c07f02d7b8f1b0e2b8ffcd912165606db25be088edb693c555dc2060f1650eda1046043c220499a
|
7
|
+
data.tar.gz: 5fbdda74ecade7474243a962f9cabb64ad607de821c81d0de4a62a371046bee6d0b3db1afb6b9924e79f11b27c937453fb941cb2cb143874b31dffafa991a984
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.84.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.83.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.82.0 (2021-10-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project.
|
23
|
+
|
4
24
|
1.81.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -119,7 +119,9 @@ module Aws::CodeBuild
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::CodeBuild
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -497,6 +508,7 @@ module Aws::CodeBuild
|
|
497
508
|
# resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
|
498
509
|
# resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
499
510
|
# resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
|
511
|
+
# resp.build_batches[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
500
512
|
# resp.build_batches[0].build_groups #=> Array
|
501
513
|
# resp.build_batches[0].build_groups[0].identifier #=> String
|
502
514
|
# resp.build_batches[0].build_groups[0].depends_on #=> Array
|
@@ -821,6 +833,7 @@ module Aws::CodeBuild
|
|
821
833
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
|
822
834
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
823
835
|
# resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
|
836
|
+
# resp.projects[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
824
837
|
# resp.projects[0].concurrent_build_limit #=> Integer
|
825
838
|
# resp.projects[0].project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
826
839
|
# resp.projects[0].public_project_alias #=> String
|
@@ -1223,6 +1236,7 @@ module Aws::CodeBuild
|
|
1223
1236
|
# compute_types_allowed: ["NonEmptyString"],
|
1224
1237
|
# },
|
1225
1238
|
# timeout_in_mins: 1,
|
1239
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
1226
1240
|
# },
|
1227
1241
|
# concurrent_build_limit: 1,
|
1228
1242
|
# })
|
@@ -1344,6 +1358,7 @@ module Aws::CodeBuild
|
|
1344
1358
|
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
1345
1359
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1346
1360
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1361
|
+
# resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
1347
1362
|
# resp.project.concurrent_build_limit #=> Integer
|
1348
1363
|
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
1349
1364
|
# resp.project.public_project_alias #=> String
|
@@ -2222,14 +2237,17 @@ module Aws::CodeBuild
|
|
2222
2237
|
# The name of the CodeBuild project.
|
2223
2238
|
#
|
2224
2239
|
# @option params [String] :sort_order
|
2225
|
-
# The order to
|
2226
|
-
# not the build identifier.
|
2240
|
+
# The order to sort the results in. The results are sorted by build
|
2241
|
+
# number, not the build identifier. If this is not specified, the
|
2242
|
+
# results are sorted in descending order.
|
2227
2243
|
#
|
2228
2244
|
# Valid values include:
|
2229
2245
|
#
|
2230
|
-
# * `ASCENDING`\: List the build
|
2246
|
+
# * `ASCENDING`\: List the build identifiers in ascending order, by
|
2247
|
+
# build number.
|
2231
2248
|
#
|
2232
|
-
# * `DESCENDING`\: List the build
|
2249
|
+
# * `DESCENDING`\: List the build identifiers in descending order, by
|
2250
|
+
# build number.
|
2233
2251
|
#
|
2234
2252
|
# If the project has more than 100 builds, setting the sort order will
|
2235
2253
|
# result in an error.
|
@@ -3035,6 +3053,7 @@ module Aws::CodeBuild
|
|
3035
3053
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
3036
3054
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
3037
3055
|
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
3056
|
+
# resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
3038
3057
|
# resp.build_batch.build_groups #=> Array
|
3039
3058
|
# resp.build_batch.build_groups[0].identifier #=> String
|
3040
3059
|
# resp.build_batch.build_groups[0].depends_on #=> Array
|
@@ -3893,6 +3912,7 @@ module Aws::CodeBuild
|
|
3893
3912
|
# compute_types_allowed: ["NonEmptyString"],
|
3894
3913
|
# },
|
3895
3914
|
# timeout_in_mins: 1,
|
3915
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
3896
3916
|
# },
|
3897
3917
|
# debug_session_enabled: false,
|
3898
3918
|
# })
|
@@ -4007,6 +4027,7 @@ module Aws::CodeBuild
|
|
4007
4027
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4008
4028
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4009
4029
|
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4030
|
+
# resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
4010
4031
|
# resp.build_batch.build_groups #=> Array
|
4011
4032
|
# resp.build_batch.build_groups[0].identifier #=> String
|
4012
4033
|
# resp.build_batch.build_groups[0].depends_on #=> Array
|
@@ -4314,6 +4335,7 @@ module Aws::CodeBuild
|
|
4314
4335
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4315
4336
|
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4316
4337
|
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4338
|
+
# resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
4317
4339
|
# resp.build_batch.build_groups #=> Array
|
4318
4340
|
# resp.build_batch.build_groups[0].identifier #=> String
|
4319
4341
|
# resp.build_batch.build_groups[0].depends_on #=> Array
|
@@ -4412,7 +4434,7 @@ module Aws::CodeBuild
|
|
4412
4434
|
# build project.
|
4413
4435
|
#
|
4414
4436
|
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts
|
4415
|
-
# An array of `
|
4437
|
+
# An array of `ProjectArtifact` objects.
|
4416
4438
|
#
|
4417
4439
|
# @option params [Types::ProjectCache] :cache
|
4418
4440
|
# Stores recently used information so that it can be quickly accessed at
|
@@ -4640,6 +4662,7 @@ module Aws::CodeBuild
|
|
4640
4662
|
# compute_types_allowed: ["NonEmptyString"],
|
4641
4663
|
# },
|
4642
4664
|
# timeout_in_mins: 1,
|
4665
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
4643
4666
|
# },
|
4644
4667
|
# concurrent_build_limit: 1,
|
4645
4668
|
# })
|
@@ -4761,6 +4784,7 @@ module Aws::CodeBuild
|
|
4761
4784
|
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4762
4785
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4763
4786
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
4787
|
+
# resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
|
4764
4788
|
# resp.project.concurrent_build_limit #=> Integer
|
4765
4789
|
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
4766
4790
|
# resp.project.public_project_alias #=> String
|
@@ -5026,7 +5050,7 @@ module Aws::CodeBuild
|
|
5026
5050
|
params: params,
|
5027
5051
|
config: config)
|
5028
5052
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5029
|
-
context[:gem_version] = '1.
|
5053
|
+
context[:gem_version] = '1.85.0'
|
5030
5054
|
Seahorse::Client::Request.new(handlers, context)
|
5031
5055
|
end
|
5032
5056
|
|
@@ -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
|
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
|
2887
|
+
# * `ASCENDING`\: List the build identifiers in ascending order, by
|
2888
|
+
# build number.
|
2886
2889
|
#
|
2887
|
-
# * `DESCENDING`\: List the build
|
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
|
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 `
|
6800
|
+
# An array of `ProjectArtifact` objects.
|
6776
6801
|
# @return [Array<Types::ProjectArtifacts>]
|
6777
6802
|
#
|
6778
6803
|
# @!attribute [rw] cache
|
data/lib/aws-sdk-codebuild.rb
CHANGED
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.
|
4
|
+
version: 1.85.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-
|
11
|
+
date: 2021-11-30 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.
|
22
|
+
version: 3.122.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.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|