aws-sdk-codebuild 1.134.0 → 1.135.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +41 -1
- data/lib/aws-sdk-codebuild/client_api.rb +12 -0
- data/lib/aws-sdk-codebuild/types.rb +78 -5
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +6 -3
- data/sig/types.rbs +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1390c22e745e5ec76e1132be2693552a0ddd4a4993706103b3c805d4750585f
|
4
|
+
data.tar.gz: 78e4faad97afb22149296f732a510bd22157269b059eb5a975d22885763effb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfa6cc283b33bb90774e4d2eb16f0aadda279a59332b04b123660138ee2ae7064faefc4d557f0e43de7c8dc1f41748ec0ef59b574d12350aaca4973432813fe9
|
7
|
+
data.tar.gz: 8fa398dc6c497fdece5ed65e1822e1e86697901c53ca235dd5e2cefc89bd45a6651188afd79603a79d9946c1a4668fc531a8738a5ef97dad4606d4bc5ffe53f0
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.135.0
|
@@ -793,6 +793,10 @@ module Aws::CodeBuild
|
|
793
793
|
# resp.builds[0].debug_session.session_enabled #=> Boolean
|
794
794
|
# resp.builds[0].debug_session.session_target #=> String
|
795
795
|
# resp.builds[0].build_batch_arn #=> String
|
796
|
+
# resp.builds[0].auto_retry_config.auto_retry_limit #=> Integer
|
797
|
+
# resp.builds[0].auto_retry_config.auto_retry_number #=> Integer
|
798
|
+
# resp.builds[0].auto_retry_config.next_auto_retry #=> String
|
799
|
+
# resp.builds[0].auto_retry_config.previous_auto_retry #=> String
|
796
800
|
# resp.builds_not_found #=> Array
|
797
801
|
# resp.builds_not_found[0] #=> String
|
798
802
|
#
|
@@ -1016,6 +1020,7 @@ module Aws::CodeBuild
|
|
1016
1020
|
# resp.projects[0].project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
1017
1021
|
# resp.projects[0].public_project_alias #=> String
|
1018
1022
|
# resp.projects[0].resource_access_role #=> String
|
1023
|
+
# resp.projects[0].auto_retry_limit #=> Integer
|
1019
1024
|
# resp.projects_not_found #=> Array
|
1020
1025
|
# resp.projects_not_found[0] #=> String
|
1021
1026
|
#
|
@@ -1513,6 +1518,12 @@ module Aws::CodeBuild
|
|
1513
1518
|
# than or equal to this limit. If the current build count meets this
|
1514
1519
|
# limit, new builds are throttled and are not run.
|
1515
1520
|
#
|
1521
|
+
# @option params [Integer] :auto_retry_limit
|
1522
|
+
# The maximum number of additional automatic retries after a failed
|
1523
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
1524
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
1525
|
+
# up to 2 additional times.
|
1526
|
+
#
|
1516
1527
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
1528
|
#
|
1518
1529
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1673,6 +1684,7 @@ module Aws::CodeBuild
|
|
1673
1684
|
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
1674
1685
|
# },
|
1675
1686
|
# concurrent_build_limit: 1,
|
1687
|
+
# auto_retry_limit: 1,
|
1676
1688
|
# })
|
1677
1689
|
#
|
1678
1690
|
# @example Response structure
|
@@ -1802,6 +1814,7 @@ module Aws::CodeBuild
|
|
1802
1814
|
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
1803
1815
|
# resp.project.public_project_alias #=> String
|
1804
1816
|
# resp.project.resource_access_role #=> String
|
1817
|
+
# resp.project.auto_retry_limit #=> Integer
|
1805
1818
|
#
|
1806
1819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1807
1820
|
#
|
@@ -3472,6 +3485,10 @@ module Aws::CodeBuild
|
|
3472
3485
|
# resp.build.debug_session.session_enabled #=> Boolean
|
3473
3486
|
# resp.build.debug_session.session_target #=> String
|
3474
3487
|
# resp.build.build_batch_arn #=> String
|
3488
|
+
# resp.build.auto_retry_config.auto_retry_limit #=> Integer
|
3489
|
+
# resp.build.auto_retry_config.auto_retry_number #=> Integer
|
3490
|
+
# resp.build.auto_retry_config.next_auto_retry #=> String
|
3491
|
+
# resp.build.auto_retry_config.previous_auto_retry #=> String
|
3475
3492
|
#
|
3476
3493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild AWS API Documentation
|
3477
3494
|
#
|
@@ -3911,6 +3928,12 @@ module Aws::CodeBuild
|
|
3911
3928
|
# A ProjectFleet object specified for this build that overrides the one
|
3912
3929
|
# defined in the build project.
|
3913
3930
|
#
|
3931
|
+
# @option params [Integer] :auto_retry_limit_override
|
3932
|
+
# The maximum number of additional automatic retries after a failed
|
3933
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
3934
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
3935
|
+
# up to 2 additional times.
|
3936
|
+
#
|
3914
3937
|
# @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3915
3938
|
#
|
3916
3939
|
# * {Types::StartBuildOutput#build #build} => Types::Build
|
@@ -4035,6 +4058,7 @@ module Aws::CodeBuild
|
|
4035
4058
|
# fleet_override: {
|
4036
4059
|
# fleet_arn: "String",
|
4037
4060
|
# },
|
4061
|
+
# auto_retry_limit_override: 1,
|
4038
4062
|
# })
|
4039
4063
|
#
|
4040
4064
|
# @example Response structure
|
@@ -4158,6 +4182,10 @@ module Aws::CodeBuild
|
|
4158
4182
|
# resp.build.debug_session.session_enabled #=> Boolean
|
4159
4183
|
# resp.build.debug_session.session_target #=> String
|
4160
4184
|
# resp.build.build_batch_arn #=> String
|
4185
|
+
# resp.build.auto_retry_config.auto_retry_limit #=> Integer
|
4186
|
+
# resp.build.auto_retry_config.auto_retry_number #=> Integer
|
4187
|
+
# resp.build.auto_retry_config.next_auto_retry #=> String
|
4188
|
+
# resp.build.auto_retry_config.previous_auto_retry #=> String
|
4161
4189
|
#
|
4162
4190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
|
4163
4191
|
#
|
@@ -4799,6 +4827,10 @@ module Aws::CodeBuild
|
|
4799
4827
|
# resp.build.debug_session.session_enabled #=> Boolean
|
4800
4828
|
# resp.build.debug_session.session_target #=> String
|
4801
4829
|
# resp.build.build_batch_arn #=> String
|
4830
|
+
# resp.build.auto_retry_config.auto_retry_limit #=> Integer
|
4831
|
+
# resp.build.auto_retry_config.auto_retry_number #=> Integer
|
4832
|
+
# resp.build.auto_retry_config.next_auto_retry #=> String
|
4833
|
+
# resp.build.auto_retry_config.previous_auto_retry #=> String
|
4802
4834
|
#
|
4803
4835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
|
4804
4836
|
#
|
@@ -5356,6 +5388,12 @@ module Aws::CodeBuild
|
|
5356
5388
|
#
|
5357
5389
|
# To remove this limit, set this value to -1.
|
5358
5390
|
#
|
5391
|
+
# @option params [Integer] :auto_retry_limit
|
5392
|
+
# The maximum number of additional automatic retries after a failed
|
5393
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
5394
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
5395
|
+
# up to 2 additional times.
|
5396
|
+
#
|
5359
5397
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5360
5398
|
#
|
5361
5399
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -5516,6 +5554,7 @@ module Aws::CodeBuild
|
|
5516
5554
|
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
5517
5555
|
# },
|
5518
5556
|
# concurrent_build_limit: 1,
|
5557
|
+
# auto_retry_limit: 1,
|
5519
5558
|
# })
|
5520
5559
|
#
|
5521
5560
|
# @example Response structure
|
@@ -5645,6 +5684,7 @@ module Aws::CodeBuild
|
|
5645
5684
|
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
5646
5685
|
# resp.project.public_project_alias #=> String
|
5647
5686
|
# resp.project.resource_access_role #=> String
|
5687
|
+
# resp.project.auto_retry_limit #=> Integer
|
5648
5688
|
#
|
5649
5689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
5650
5690
|
#
|
@@ -5914,7 +5954,7 @@ module Aws::CodeBuild
|
|
5914
5954
|
tracer: tracer
|
5915
5955
|
)
|
5916
5956
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5917
|
-
context[:gem_version] = '1.
|
5957
|
+
context[:gem_version] = '1.135.0'
|
5918
5958
|
Seahorse::Client::Request.new(handlers, context)
|
5919
5959
|
end
|
5920
5960
|
|
@@ -19,6 +19,7 @@ module Aws::CodeBuild
|
|
19
19
|
ArtifactPackaging = Shapes::StringShape.new(name: 'ArtifactPackaging')
|
20
20
|
ArtifactsType = Shapes::StringShape.new(name: 'ArtifactsType')
|
21
21
|
AuthType = Shapes::StringShape.new(name: 'AuthType')
|
22
|
+
AutoRetryConfig = Shapes::StructureShape.new(name: 'AutoRetryConfig')
|
22
23
|
BatchDeleteBuildsInput = Shapes::StructureShape.new(name: 'BatchDeleteBuildsInput')
|
23
24
|
BatchDeleteBuildsOutput = Shapes::StructureShape.new(name: 'BatchDeleteBuildsOutput')
|
24
25
|
BatchGetBuildBatchesInput = Shapes::StructureShape.new(name: 'BatchGetBuildBatchesInput')
|
@@ -304,6 +305,12 @@ module Aws::CodeBuild
|
|
304
305
|
|
305
306
|
AccountLimitExceededException.struct_class = Types::AccountLimitExceededException
|
306
307
|
|
308
|
+
AutoRetryConfig.add_member(:auto_retry_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimit"))
|
309
|
+
AutoRetryConfig.add_member(:auto_retry_number, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryNumber"))
|
310
|
+
AutoRetryConfig.add_member(:next_auto_retry, Shapes::ShapeRef.new(shape: String, location_name: "nextAutoRetry"))
|
311
|
+
AutoRetryConfig.add_member(:previous_auto_retry, Shapes::ShapeRef.new(shape: String, location_name: "previousAutoRetry"))
|
312
|
+
AutoRetryConfig.struct_class = Types::AutoRetryConfig
|
313
|
+
|
307
314
|
BatchDeleteBuildsInput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, required: true, location_name: "ids"))
|
308
315
|
BatchDeleteBuildsInput.struct_class = Types::BatchDeleteBuildsInput
|
309
316
|
|
@@ -389,6 +396,7 @@ module Aws::CodeBuild
|
|
389
396
|
Build.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
390
397
|
Build.add_member(:debug_session, Shapes::ShapeRef.new(shape: DebugSession, location_name: "debugSession"))
|
391
398
|
Build.add_member(:build_batch_arn, Shapes::ShapeRef.new(shape: String, location_name: "buildBatchArn"))
|
399
|
+
Build.add_member(:auto_retry_config, Shapes::ShapeRef.new(shape: AutoRetryConfig, location_name: "autoRetryConfig"))
|
392
400
|
Build.struct_class = Types::Build
|
393
401
|
|
394
402
|
BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
@@ -561,6 +569,7 @@ module Aws::CodeBuild
|
|
561
569
|
CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
562
570
|
CreateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
563
571
|
CreateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
572
|
+
CreateProjectInput.add_member(:auto_retry_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimit"))
|
564
573
|
CreateProjectInput.struct_class = Types::CreateProjectInput
|
565
574
|
|
566
575
|
CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -943,6 +952,7 @@ module Aws::CodeBuild
|
|
943
952
|
Project.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, location_name: "projectVisibility"))
|
944
953
|
Project.add_member(:public_project_alias, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publicProjectAlias"))
|
945
954
|
Project.add_member(:resource_access_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceAccessRole"))
|
955
|
+
Project.add_member(:auto_retry_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimit"))
|
946
956
|
Project.struct_class = Types::Project
|
947
957
|
|
948
958
|
ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -1232,6 +1242,7 @@ module Aws::CodeBuild
|
|
1232
1242
|
StartBuildInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
|
1233
1243
|
StartBuildInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
|
1234
1244
|
StartBuildInput.add_member(:fleet_override, Shapes::ShapeRef.new(shape: ProjectFleet, location_name: "fleetOverride"))
|
1245
|
+
StartBuildInput.add_member(:auto_retry_limit_override, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimitOverride"))
|
1235
1246
|
StartBuildInput.struct_class = Types::StartBuildInput
|
1236
1247
|
|
1237
1248
|
StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
|
@@ -1321,6 +1332,7 @@ module Aws::CodeBuild
|
|
1321
1332
|
UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
1322
1333
|
UpdateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
1323
1334
|
UpdateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
1335
|
+
UpdateProjectInput.add_member(:auto_retry_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimit"))
|
1324
1336
|
UpdateProjectInput.struct_class = Types::UpdateProjectInput
|
1325
1337
|
|
1326
1338
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -17,6 +17,42 @@ module Aws::CodeBuild
|
|
17
17
|
#
|
18
18
|
class AccountLimitExceededException < Aws::EmptyStructure; end
|
19
19
|
|
20
|
+
# Information about the auto-retry configuration for the build.
|
21
|
+
#
|
22
|
+
# @!attribute [rw] auto_retry_limit
|
23
|
+
# The maximum number of additional automatic retries after a failed
|
24
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
25
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
26
|
+
# up to 2 additional times.
|
27
|
+
# @return [Integer]
|
28
|
+
#
|
29
|
+
# @!attribute [rw] auto_retry_number
|
30
|
+
# The number of times that the build has been retried. The initial
|
31
|
+
# build will have an auto-retry number of 0.
|
32
|
+
# @return [Integer]
|
33
|
+
#
|
34
|
+
# @!attribute [rw] next_auto_retry
|
35
|
+
# The build ARN of the auto-retried build triggered by the current
|
36
|
+
# build. The next auto-retry will be `null` for builds that don't
|
37
|
+
# trigger an auto-retry.
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] previous_auto_retry
|
41
|
+
# The build ARN of the build that triggered the current auto-retry
|
42
|
+
# build. The previous auto-retry will be `null` for the initial build.
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AutoRetryConfig AWS API Documentation
|
46
|
+
#
|
47
|
+
class AutoRetryConfig < Struct.new(
|
48
|
+
:auto_retry_limit,
|
49
|
+
:auto_retry_number,
|
50
|
+
:next_auto_retry,
|
51
|
+
:previous_auto_retry)
|
52
|
+
SENSITIVE = []
|
53
|
+
include Aws::Structure
|
54
|
+
end
|
55
|
+
|
20
56
|
# @!attribute [rw] ids
|
21
57
|
# The IDs of the builds to delete.
|
22
58
|
# @return [Array<String>]
|
@@ -474,6 +510,10 @@ module Aws::CodeBuild
|
|
474
510
|
# applicable.
|
475
511
|
# @return [String]
|
476
512
|
#
|
513
|
+
# @!attribute [rw] auto_retry_config
|
514
|
+
# Information about the auto-retry configuration for the build.
|
515
|
+
# @return [Types::AutoRetryConfig]
|
516
|
+
#
|
477
517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
|
478
518
|
#
|
479
519
|
class Build < Struct.new(
|
@@ -508,7 +548,8 @@ module Aws::CodeBuild
|
|
508
548
|
:report_arns,
|
509
549
|
:file_system_locations,
|
510
550
|
:debug_session,
|
511
|
-
:build_batch_arn
|
551
|
+
:build_batch_arn,
|
552
|
+
:auto_retry_config)
|
512
553
|
SENSITIVE = []
|
513
554
|
include Aws::Structure
|
514
555
|
end
|
@@ -1746,6 +1787,13 @@ module Aws::CodeBuild
|
|
1746
1787
|
# limit, new builds are throttled and are not run.
|
1747
1788
|
# @return [Integer]
|
1748
1789
|
#
|
1790
|
+
# @!attribute [rw] auto_retry_limit
|
1791
|
+
# The maximum number of additional automatic retries after a failed
|
1792
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
1793
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
1794
|
+
# up to 2 additional times.
|
1795
|
+
# @return [Integer]
|
1796
|
+
#
|
1749
1797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
|
1750
1798
|
#
|
1751
1799
|
class CreateProjectInput < Struct.new(
|
@@ -1769,7 +1817,8 @@ module Aws::CodeBuild
|
|
1769
1817
|
:logs_config,
|
1770
1818
|
:file_system_locations,
|
1771
1819
|
:build_batch_config,
|
1772
|
-
:concurrent_build_limit
|
1820
|
+
:concurrent_build_limit,
|
1821
|
+
:auto_retry_limit)
|
1773
1822
|
SENSITIVE = []
|
1774
1823
|
include Aws::Structure
|
1775
1824
|
end
|
@@ -3947,6 +3996,13 @@ module Aws::CodeBuild
|
|
3947
3996
|
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
3948
3997
|
# @return [String]
|
3949
3998
|
#
|
3999
|
+
# @!attribute [rw] auto_retry_limit
|
4000
|
+
# The maximum number of additional automatic retries after a failed
|
4001
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
4002
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
4003
|
+
# up to 2 additional times.
|
4004
|
+
# @return [Integer]
|
4005
|
+
#
|
3950
4006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
3951
4007
|
#
|
3952
4008
|
class Project < Struct.new(
|
@@ -3977,7 +4033,8 @@ module Aws::CodeBuild
|
|
3977
4033
|
:concurrent_build_limit,
|
3978
4034
|
:project_visibility,
|
3979
4035
|
:public_project_alias,
|
3980
|
-
:resource_access_role
|
4036
|
+
:resource_access_role,
|
4037
|
+
:auto_retry_limit)
|
3981
4038
|
SENSITIVE = []
|
3982
4039
|
include Aws::Structure
|
3983
4040
|
end
|
@@ -6199,6 +6256,13 @@ module Aws::CodeBuild
|
|
6199
6256
|
# one defined in the build project.
|
6200
6257
|
# @return [Types::ProjectFleet]
|
6201
6258
|
#
|
6259
|
+
# @!attribute [rw] auto_retry_limit_override
|
6260
|
+
# The maximum number of additional automatic retries after a failed
|
6261
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
6262
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
6263
|
+
# up to 2 additional times.
|
6264
|
+
# @return [Integer]
|
6265
|
+
#
|
6202
6266
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
|
6203
6267
|
#
|
6204
6268
|
class StartBuildInput < Struct.new(
|
@@ -6233,7 +6297,8 @@ module Aws::CodeBuild
|
|
6233
6297
|
:registry_credential_override,
|
6234
6298
|
:image_pull_credentials_type_override,
|
6235
6299
|
:debug_session_enabled,
|
6236
|
-
:fleet_override
|
6300
|
+
:fleet_override,
|
6301
|
+
:auto_retry_limit_override)
|
6237
6302
|
SENSITIVE = []
|
6238
6303
|
include Aws::Structure
|
6239
6304
|
end
|
@@ -6807,6 +6872,13 @@ module Aws::CodeBuild
|
|
6807
6872
|
# To remove this limit, set this value to -1.
|
6808
6873
|
# @return [Integer]
|
6809
6874
|
#
|
6875
|
+
# @!attribute [rw] auto_retry_limit
|
6876
|
+
# The maximum number of additional automatic retries after a failed
|
6877
|
+
# build. For example, if the auto-retry limit is set to 2, CodeBuild
|
6878
|
+
# will call the `RetryBuild` API to automatically retry your build for
|
6879
|
+
# up to 2 additional times.
|
6880
|
+
# @return [Integer]
|
6881
|
+
#
|
6810
6882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
|
6811
6883
|
#
|
6812
6884
|
class UpdateProjectInput < Struct.new(
|
@@ -6830,7 +6902,8 @@ module Aws::CodeBuild
|
|
6830
6902
|
:logs_config,
|
6831
6903
|
:file_system_locations,
|
6832
6904
|
:build_batch_config,
|
6833
|
-
:concurrent_build_limit
|
6905
|
+
:concurrent_build_limit,
|
6906
|
+
:auto_retry_limit)
|
6834
6907
|
SENSITIVE = []
|
6835
6908
|
include Aws::Structure
|
6836
6909
|
end
|
data/lib/aws-sdk-codebuild.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -358,7 +358,8 @@ module Aws
|
|
358
358
|
timeout_in_mins: ::Integer?,
|
359
359
|
batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
|
360
360
|
},
|
361
|
-
?concurrent_build_limit: ::Integer
|
361
|
+
?concurrent_build_limit: ::Integer,
|
362
|
+
?auto_retry_limit: ::Integer
|
362
363
|
) -> _CreateProjectResponseSuccess
|
363
364
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
|
364
365
|
|
@@ -908,7 +909,8 @@ module Aws
|
|
908
909
|
?debug_session_enabled: bool,
|
909
910
|
?fleet_override: {
|
910
911
|
fleet_arn: ::String?
|
911
|
-
}
|
912
|
+
},
|
913
|
+
?auto_retry_limit_override: ::Integer
|
912
914
|
) -> _StartBuildResponseSuccess
|
913
915
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildResponseSuccess
|
914
916
|
|
@@ -1266,7 +1268,8 @@ module Aws
|
|
1266
1268
|
timeout_in_mins: ::Integer?,
|
1267
1269
|
batch_report_mode: ("REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH")?
|
1268
1270
|
},
|
1269
|
-
?concurrent_build_limit: ::Integer
|
1271
|
+
?concurrent_build_limit: ::Integer,
|
1272
|
+
?auto_retry_limit: ::Integer
|
1270
1273
|
) -> _UpdateProjectResponseSuccess
|
1271
1274
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
|
1272
1275
|
|
data/sig/types.rbs
CHANGED
@@ -11,6 +11,14 @@ module Aws::CodeBuild
|
|
11
11
|
class AccountLimitExceededException < Aws::EmptyStructure
|
12
12
|
end
|
13
13
|
|
14
|
+
class AutoRetryConfig
|
15
|
+
attr_accessor auto_retry_limit: ::Integer
|
16
|
+
attr_accessor auto_retry_number: ::Integer
|
17
|
+
attr_accessor next_auto_retry: ::String
|
18
|
+
attr_accessor previous_auto_retry: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
14
22
|
class BatchDeleteBuildsInput
|
15
23
|
attr_accessor ids: ::Array[::String]
|
16
24
|
SENSITIVE: []
|
@@ -127,6 +135,7 @@ module Aws::CodeBuild
|
|
127
135
|
attr_accessor file_system_locations: ::Array[Types::ProjectFileSystemLocation]
|
128
136
|
attr_accessor debug_session: Types::DebugSession
|
129
137
|
attr_accessor build_batch_arn: ::String
|
138
|
+
attr_accessor auto_retry_config: Types::AutoRetryConfig
|
130
139
|
SENSITIVE: []
|
131
140
|
end
|
132
141
|
|
@@ -303,6 +312,7 @@ module Aws::CodeBuild
|
|
303
312
|
attr_accessor file_system_locations: ::Array[Types::ProjectFileSystemLocation]
|
304
313
|
attr_accessor build_batch_config: Types::ProjectBuildBatchConfig
|
305
314
|
attr_accessor concurrent_build_limit: ::Integer
|
315
|
+
attr_accessor auto_retry_limit: ::Integer
|
306
316
|
SENSITIVE: []
|
307
317
|
end
|
308
318
|
|
@@ -796,6 +806,7 @@ module Aws::CodeBuild
|
|
796
806
|
attr_accessor project_visibility: ("PUBLIC_READ" | "PRIVATE")
|
797
807
|
attr_accessor public_project_alias: ::String
|
798
808
|
attr_accessor resource_access_role: ::String
|
809
|
+
attr_accessor auto_retry_limit: ::Integer
|
799
810
|
SENSITIVE: []
|
800
811
|
end
|
801
812
|
|
@@ -1120,6 +1131,7 @@ module Aws::CodeBuild
|
|
1120
1131
|
attr_accessor image_pull_credentials_type_override: ("CODEBUILD" | "SERVICE_ROLE")
|
1121
1132
|
attr_accessor debug_session_enabled: bool
|
1122
1133
|
attr_accessor fleet_override: Types::ProjectFleet
|
1134
|
+
attr_accessor auto_retry_limit_override: ::Integer
|
1123
1135
|
SENSITIVE: []
|
1124
1136
|
end
|
1125
1137
|
|
@@ -1227,6 +1239,7 @@ module Aws::CodeBuild
|
|
1227
1239
|
attr_accessor file_system_locations: ::Array[Types::ProjectFileSystemLocation]
|
1228
1240
|
attr_accessor build_batch_config: Types::ProjectBuildBatchConfig
|
1229
1241
|
attr_accessor concurrent_build_limit: ::Integer
|
1242
|
+
attr_accessor auto_retry_limit: ::Integer
|
1230
1243
|
SENSITIVE: []
|
1231
1244
|
end
|
1232
1245
|
|
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.135.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-10-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|