aws-sdk-codebuild 1.22.0 → 1.23.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 +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +94 -57
- data/lib/aws-sdk-codebuild/client_api.rb +5 -0
- data/lib/aws-sdk-codebuild/types.rb +228 -196
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdbda0ef797482c65ee2442a3e3e51d7cd2d4c7c
|
4
|
+
data.tar.gz: 0433cbfe8e8458532f57223c7abaf0cd830a8d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49099faaec14731739274b9da8004ed4c2207d05802a2a6d5d133de8c7479810658ea4abc8b7c3a452a45e7be4183a9ed5aa8d31b1908f1dc24d9a3d5388bb9f
|
7
|
+
data.tar.gz: 5b53958b7f8d7ddcb16a92426bc5e00fd30b1b7d39aca25a9a97ab4a4a8c6af32a984d53c08f07acbb5ee82f6d99d4aaa3a28480b1bc14a7d3fe818234fc9a92
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::CodeBuild
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::CodeBuild
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::CodeBuild
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -503,7 +524,7 @@ module Aws::CodeBuild
|
|
503
524
|
# resp.builds[0].resolved_source_version #=> String
|
504
525
|
# resp.builds[0].project_name #=> String
|
505
526
|
# resp.builds[0].phases #=> Array
|
506
|
-
# resp.builds[0].phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
527
|
+
# resp.builds[0].phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
507
528
|
# resp.builds[0].phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
508
529
|
# resp.builds[0].phases[0].start_time #=> Time
|
509
530
|
# resp.builds[0].phases[0].end_time #=> Time
|
@@ -568,6 +589,7 @@ module Aws::CodeBuild
|
|
568
589
|
# resp.builds[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
569
590
|
# resp.builds[0].logs.s3_logs.location #=> String
|
570
591
|
# resp.builds[0].timeout_in_minutes #=> Integer
|
592
|
+
# resp.builds[0].queued_timeout_in_minutes #=> Integer
|
571
593
|
# resp.builds[0].build_complete #=> Boolean
|
572
594
|
# resp.builds[0].initiator #=> String
|
573
595
|
# resp.builds[0].vpc_config.vpc_id #=> String
|
@@ -663,6 +685,7 @@ module Aws::CodeBuild
|
|
663
685
|
# resp.projects[0].environment.certificate #=> String
|
664
686
|
# resp.projects[0].service_role #=> String
|
665
687
|
# resp.projects[0].timeout_in_minutes #=> Integer
|
688
|
+
# resp.projects[0].queued_timeout_in_minutes #=> Integer
|
666
689
|
# resp.projects[0].encryption_key #=> String
|
667
690
|
# resp.projects[0].tags #=> Array
|
668
691
|
# resp.projects[0].tags[0].key #=> String
|
@@ -732,15 +755,19 @@ module Aws::CodeBuild
|
|
732
755
|
#
|
733
756
|
# @option params [Integer] :timeout_in_minutes
|
734
757
|
# How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
|
735
|
-
# wait
|
736
|
-
# The default is 60 minutes.
|
758
|
+
# wait before it times out any build that has not been marked as
|
759
|
+
# completed. The default is 60 minutes.
|
760
|
+
#
|
761
|
+
# @option params [Integer] :queued_timeout_in_minutes
|
762
|
+
# The number of minutes a build is allowed to be queued before it times
|
763
|
+
# out.
|
737
764
|
#
|
738
765
|
# @option params [String] :encryption_key
|
739
766
|
# The AWS Key Management Service (AWS KMS) customer master key (CMK) to
|
740
767
|
# be used for encrypting the build output artifacts.
|
741
768
|
#
|
742
|
-
# You can specify either the
|
743
|
-
# available, the CMK's alias (using the format `alias/alias-name `).
|
769
|
+
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
770
|
+
# if available, the CMK's alias (using the format `alias/alias-name `).
|
744
771
|
#
|
745
772
|
# @option params [Array<Types::Tag>] :tags
|
746
773
|
# A set of tags for this build project.
|
@@ -752,12 +779,13 @@ module Aws::CodeBuild
|
|
752
779
|
# VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
753
780
|
#
|
754
781
|
# @option params [Boolean] :badge_enabled
|
755
|
-
# Set this to true to generate a publicly
|
782
|
+
# Set this to true to generate a publicly accessible URL for your
|
756
783
|
# project's build badge.
|
757
784
|
#
|
758
785
|
# @option params [Types::LogsConfig] :logs_config
|
759
|
-
# Information about logs for the build project.
|
760
|
-
# CloudWatch Logs, uploaded to a specified S3 bucket, or
|
786
|
+
# Information about logs for the build project. These can be logs in
|
787
|
+
# Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
788
|
+
# both.
|
761
789
|
#
|
762
790
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
763
791
|
#
|
@@ -840,6 +868,7 @@ module Aws::CodeBuild
|
|
840
868
|
# },
|
841
869
|
# service_role: "NonEmptyString", # required
|
842
870
|
# timeout_in_minutes: 1,
|
871
|
+
# queued_timeout_in_minutes: 1,
|
843
872
|
# encryption_key: "NonEmptyString",
|
844
873
|
# tags: [
|
845
874
|
# {
|
@@ -922,6 +951,7 @@ module Aws::CodeBuild
|
|
922
951
|
# resp.project.environment.certificate #=> String
|
923
952
|
# resp.project.service_role #=> String
|
924
953
|
# resp.project.timeout_in_minutes #=> Integer
|
954
|
+
# resp.project.queued_timeout_in_minutes #=> Integer
|
925
955
|
# resp.project.encryption_key #=> String
|
926
956
|
# resp.project.tags #=> Array
|
927
957
|
# resp.project.tags[0].key #=> String
|
@@ -957,18 +987,17 @@ module Aws::CodeBuild
|
|
957
987
|
|
958
988
|
# For an existing AWS CodeBuild build project that has its source code
|
959
989
|
# stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to
|
960
|
-
#
|
961
|
-
#
|
990
|
+
# start rebuilding the source code every time a code change is pushed to
|
991
|
+
# the repository.
|
962
992
|
#
|
963
993
|
# If you enable webhooks for an AWS CodeBuild project, and the project
|
964
994
|
# is used as a build step in AWS CodePipeline, then two identical builds
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
#
|
970
|
-
#
|
971
|
-
# Settings][1].
|
995
|
+
# are created for each commit. One build is triggered through webhooks,
|
996
|
+
# and one through AWS CodePipeline. Because billing is on a per-build
|
997
|
+
# basis, you are billed for both builds. Therefore, if you are using AWS
|
998
|
+
# CodePipeline, we recommend that you disable webhooks in AWS CodeBuild.
|
999
|
+
# In the AWS CodeBuild console, clear the Webhook box. For more
|
1000
|
+
# information, see step 5 in [Change a Build Project's Settings][1].
|
972
1001
|
#
|
973
1002
|
#
|
974
1003
|
#
|
@@ -978,10 +1007,10 @@ module Aws::CodeBuild
|
|
978
1007
|
# The name of the AWS CodeBuild project.
|
979
1008
|
#
|
980
1009
|
# @option params [String] :branch_filter
|
981
|
-
# A regular expression used to determine which branches
|
982
|
-
#
|
983
|
-
#
|
984
|
-
#
|
1010
|
+
# A regular expression used to determine which repository branches are
|
1011
|
+
# built when a webhook is triggered. If the name of a branch matches the
|
1012
|
+
# regular expression, then it is built. If `branchFilter` is empty, then
|
1013
|
+
# all branches are built.
|
985
1014
|
#
|
986
1015
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
987
1016
|
#
|
@@ -1035,8 +1064,8 @@ module Aws::CodeBuild
|
|
1035
1064
|
|
1036
1065
|
# For an existing AWS CodeBuild build project that has its source code
|
1037
1066
|
# stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from
|
1038
|
-
#
|
1039
|
-
#
|
1067
|
+
# rebuilding the source code every time a code change is pushed to the
|
1068
|
+
# repository.
|
1040
1069
|
#
|
1041
1070
|
# @option params [required, String] :project_name
|
1042
1071
|
# The name of the AWS CodeBuild project.
|
@@ -1061,8 +1090,8 @@ module Aws::CodeBuild
|
|
1061
1090
|
# Resets the cache for a project.
|
1062
1091
|
#
|
1063
1092
|
# @option params [required, String] :project_name
|
1064
|
-
# The name of the AWS CodeBuild build project that the cache
|
1065
|
-
#
|
1093
|
+
# The name of the AWS CodeBuild build project that the cache is reset
|
1094
|
+
# for.
|
1066
1095
|
#
|
1067
1096
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1068
1097
|
#
|
@@ -1189,7 +1218,7 @@ module Aws::CodeBuild
|
|
1189
1218
|
# resp.platforms #=> Array
|
1190
1219
|
# resp.platforms[0].platform #=> String, one of "DEBIAN", "AMAZON_LINUX", "UBUNTU", "WINDOWS_SERVER"
|
1191
1220
|
# resp.platforms[0].languages #=> Array
|
1192
|
-
# resp.platforms[0].languages[0].language #=> String, one of "JAVA", "PYTHON", "NODE_JS", "RUBY", "GOLANG", "DOCKER", "ANDROID", "DOTNET", "BASE"
|
1221
|
+
# resp.platforms[0].languages[0].language #=> String, one of "JAVA", "PYTHON", "NODE_JS", "RUBY", "GOLANG", "DOCKER", "ANDROID", "DOTNET", "BASE", "PHP"
|
1193
1222
|
# resp.platforms[0].languages[0].images #=> Array
|
1194
1223
|
# resp.platforms[0].languages[0].images[0].name #=> String
|
1195
1224
|
# resp.platforms[0].languages[0].images[0].description #=> String
|
@@ -1212,14 +1241,12 @@ module Aws::CodeBuild
|
|
1212
1241
|
# The criterion to be used to list build project names. Valid values
|
1213
1242
|
# include:
|
1214
1243
|
#
|
1215
|
-
# * `CREATED_TIME`\: List
|
1216
|
-
# build project was created.
|
1244
|
+
# * `CREATED_TIME`\: List based on when each build project was created.
|
1217
1245
|
#
|
1218
|
-
# * `LAST_MODIFIED_TIME`\: List
|
1219
|
-
#
|
1246
|
+
# * `LAST_MODIFIED_TIME`\: List based on when information about each
|
1247
|
+
# build project was last changed.
|
1220
1248
|
#
|
1221
|
-
# * `NAME`\: List
|
1222
|
-
# name.
|
1249
|
+
# * `NAME`\: List based on each build project's name.
|
1223
1250
|
#
|
1224
1251
|
# Use `sortOrder` to specify in what order to list the build project
|
1225
1252
|
# names based on the preceding criteria.
|
@@ -1227,9 +1254,9 @@ module Aws::CodeBuild
|
|
1227
1254
|
# @option params [String] :sort_order
|
1228
1255
|
# The order in which to list build projects. Valid values include:
|
1229
1256
|
#
|
1230
|
-
# * `ASCENDING`\: List
|
1257
|
+
# * `ASCENDING`\: List in ascending order.
|
1231
1258
|
#
|
1232
|
-
# * `DESCENDING`\: List
|
1259
|
+
# * `DESCENDING`\: List in descending order.
|
1233
1260
|
#
|
1234
1261
|
# Use `sortBy` to specify the criterion to be used to list build project
|
1235
1262
|
# names.
|
@@ -1286,8 +1313,7 @@ module Aws::CodeBuild
|
|
1286
1313
|
#
|
1287
1314
|
# @option params [String] :source_version
|
1288
1315
|
# A version of the build input to be built, for this build only. If not
|
1289
|
-
# specified, the latest version
|
1290
|
-
# of:
|
1316
|
+
# specified, the latest version is used. If specified, must be one of:
|
1291
1317
|
#
|
1292
1318
|
# * For AWS CodeCommit: the commit ID to use.
|
1293
1319
|
#
|
@@ -1295,17 +1321,16 @@ module Aws::CodeBuild
|
|
1295
1321
|
# that corresponds to the version of the source code you want to
|
1296
1322
|
# build. If a pull request ID is specified, it must use the format
|
1297
1323
|
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
1298
|
-
# specified, the branch's HEAD commit ID
|
1299
|
-
#
|
1324
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
1325
|
+
# the default branch's HEAD commit ID is used.
|
1300
1326
|
#
|
1301
1327
|
# * For Bitbucket: the commit ID, branch name, or tag name that
|
1302
1328
|
# corresponds to the version of the source code you want to build. If
|
1303
|
-
# a branch name is specified, the branch's HEAD commit ID
|
1304
|
-
#
|
1305
|
-
# used.
|
1329
|
+
# a branch name is specified, the branch's HEAD commit ID is used. If
|
1330
|
+
# not specified, the default branch's HEAD commit ID is used.
|
1306
1331
|
#
|
1307
1332
|
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
1308
|
-
# object
|
1333
|
+
# object that represents the build input ZIP file to use.
|
1309
1334
|
#
|
1310
1335
|
# @option params [Types::ProjectArtifacts] :artifacts_override
|
1311
1336
|
# Build output artifact settings that override, for this build only, the
|
@@ -1319,11 +1344,11 @@ module Aws::CodeBuild
|
|
1319
1344
|
# the latest ones already defined in the build project.
|
1320
1345
|
#
|
1321
1346
|
# @option params [String] :source_type_override
|
1322
|
-
# A source input type for this build that overrides the source input
|
1347
|
+
# A source input type, for this build, that overrides the source input
|
1323
1348
|
# defined in the build project.
|
1324
1349
|
#
|
1325
1350
|
# @option params [String] :source_location_override
|
1326
|
-
# A location that overrides for this build the source location for the
|
1351
|
+
# A location that overrides, for this build, the source location for the
|
1327
1352
|
# one defined in the build project.
|
1328
1353
|
#
|
1329
1354
|
# @option params [Types::SourceAuth] :source_auth_override
|
@@ -1385,6 +1410,10 @@ module Aws::CodeBuild
|
|
1385
1410
|
# overrides, for this build only, the latest setting already defined in
|
1386
1411
|
# the build project.
|
1387
1412
|
#
|
1413
|
+
# @option params [Integer] :queued_timeout_in_minutes_override
|
1414
|
+
# The number of minutes a build is allowed to be queued before it times
|
1415
|
+
# out.
|
1416
|
+
#
|
1388
1417
|
# @option params [String] :idempotency_token
|
1389
1418
|
# A unique, case sensitive identifier you provide to ensure the
|
1390
1419
|
# idempotency of the StartBuild request. The token is included in the
|
@@ -1478,6 +1507,7 @@ module Aws::CodeBuild
|
|
1478
1507
|
# service_role_override: "NonEmptyString",
|
1479
1508
|
# privileged_mode_override: false,
|
1480
1509
|
# timeout_in_minutes_override: 1,
|
1510
|
+
# queued_timeout_in_minutes_override: 1,
|
1481
1511
|
# idempotency_token: "String",
|
1482
1512
|
# logs_config_override: {
|
1483
1513
|
# cloud_watch_logs: {
|
@@ -1504,7 +1534,7 @@ module Aws::CodeBuild
|
|
1504
1534
|
# resp.build.resolved_source_version #=> String
|
1505
1535
|
# resp.build.project_name #=> String
|
1506
1536
|
# resp.build.phases #=> Array
|
1507
|
-
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
1537
|
+
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
1508
1538
|
# resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
1509
1539
|
# resp.build.phases[0].start_time #=> Time
|
1510
1540
|
# resp.build.phases[0].end_time #=> Time
|
@@ -1569,6 +1599,7 @@ module Aws::CodeBuild
|
|
1569
1599
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1570
1600
|
# resp.build.logs.s3_logs.location #=> String
|
1571
1601
|
# resp.build.timeout_in_minutes #=> Integer
|
1602
|
+
# resp.build.queued_timeout_in_minutes #=> Integer
|
1572
1603
|
# resp.build.build_complete #=> Boolean
|
1573
1604
|
# resp.build.initiator #=> String
|
1574
1605
|
# resp.build.vpc_config.vpc_id #=> String
|
@@ -1616,7 +1647,7 @@ module Aws::CodeBuild
|
|
1616
1647
|
# resp.build.resolved_source_version #=> String
|
1617
1648
|
# resp.build.project_name #=> String
|
1618
1649
|
# resp.build.phases #=> Array
|
1619
|
-
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
1650
|
+
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
1620
1651
|
# resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
1621
1652
|
# resp.build.phases[0].start_time #=> Time
|
1622
1653
|
# resp.build.phases[0].end_time #=> Time
|
@@ -1681,6 +1712,7 @@ module Aws::CodeBuild
|
|
1681
1712
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1682
1713
|
# resp.build.logs.s3_logs.location #=> String
|
1683
1714
|
# resp.build.timeout_in_minutes #=> Integer
|
1715
|
+
# resp.build.queued_timeout_in_minutes #=> Integer
|
1684
1716
|
# resp.build.build_complete #=> Boolean
|
1685
1717
|
# resp.build.initiator #=> String
|
1686
1718
|
# resp.build.vpc_config.vpc_id #=> String
|
@@ -1745,11 +1777,15 @@ module Aws::CodeBuild
|
|
1745
1777
|
# CodeBuild to wait before timing out any related build that did not get
|
1746
1778
|
# marked as completed.
|
1747
1779
|
#
|
1780
|
+
# @option params [Integer] :queued_timeout_in_minutes
|
1781
|
+
# The number of minutes a build is allowed to be queued before it times
|
1782
|
+
# out.
|
1783
|
+
#
|
1748
1784
|
# @option params [String] :encryption_key
|
1749
1785
|
# The replacement AWS Key Management Service (AWS KMS) customer master
|
1750
1786
|
# key (CMK) to be used for encrypting the build output artifacts.
|
1751
1787
|
#
|
1752
|
-
# You can specify either the
|
1788
|
+
# You can specify either the Amazon Resource Name (ARN)of the CMK or, if
|
1753
1789
|
# available, the CMK's alias (using the format `alias/alias-name `).
|
1754
1790
|
#
|
1755
1791
|
# @option params [Array<Types::Tag>] :tags
|
@@ -1762,12 +1798,12 @@ module Aws::CodeBuild
|
|
1762
1798
|
# VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
1763
1799
|
#
|
1764
1800
|
# @option params [Boolean] :badge_enabled
|
1765
|
-
# Set this to true to generate a publicly
|
1801
|
+
# Set this to true to generate a publicly accessible URL for your
|
1766
1802
|
# project's build badge.
|
1767
1803
|
#
|
1768
1804
|
# @option params [Types::LogsConfig] :logs_config
|
1769
1805
|
# Information about logs for the build project. A project can create
|
1770
|
-
# Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
1806
|
+
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
1771
1807
|
#
|
1772
1808
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1773
1809
|
#
|
@@ -1850,6 +1886,7 @@ module Aws::CodeBuild
|
|
1850
1886
|
# },
|
1851
1887
|
# service_role: "NonEmptyString",
|
1852
1888
|
# timeout_in_minutes: 1,
|
1889
|
+
# queued_timeout_in_minutes: 1,
|
1853
1890
|
# encryption_key: "NonEmptyString",
|
1854
1891
|
# tags: [
|
1855
1892
|
# {
|
@@ -1932,6 +1969,7 @@ module Aws::CodeBuild
|
|
1932
1969
|
# resp.project.environment.certificate #=> String
|
1933
1970
|
# resp.project.service_role #=> String
|
1934
1971
|
# resp.project.timeout_in_minutes #=> Integer
|
1972
|
+
# resp.project.queued_timeout_in_minutes #=> Integer
|
1935
1973
|
# resp.project.encryption_key #=> String
|
1936
1974
|
# resp.project.tags #=> Array
|
1937
1975
|
# resp.project.tags[0].key #=> String
|
@@ -1967,8 +2005,7 @@ module Aws::CodeBuild
|
|
1967
2005
|
|
1968
2006
|
# Updates the webhook associated with an AWS CodeBuild build project.
|
1969
2007
|
#
|
1970
|
-
# <note markdown="1"> If you use Bitbucket for your repository
|
1971
|
-
# ignored.
|
2008
|
+
# <note markdown="1"> If you use Bitbucket for your repository, `rotateSecret` is ignored.
|
1972
2009
|
#
|
1973
2010
|
# </note>
|
1974
2011
|
#
|
@@ -1976,15 +2013,15 @@ module Aws::CodeBuild
|
|
1976
2013
|
# The name of the AWS CodeBuild project.
|
1977
2014
|
#
|
1978
2015
|
# @option params [String] :branch_filter
|
1979
|
-
# A regular expression used to determine which branches
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
#
|
2016
|
+
# A regular expression used to determine which repository branches are
|
2017
|
+
# built when a webhook is triggered. If the name of a branch matches the
|
2018
|
+
# regular expression, then it is built. If `branchFilter` is empty, then
|
2019
|
+
# all branches are built.
|
1983
2020
|
#
|
1984
2021
|
# @option params [Boolean] :rotate_secret
|
1985
2022
|
# A boolean value that specifies whether the associated GitHub
|
1986
2023
|
# repository's secret token should be updated. If you use Bitbucket for
|
1987
|
-
# your repository
|
2024
|
+
# your repository, `rotateSecret` is ignored.
|
1988
2025
|
#
|
1989
2026
|
# @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1990
2027
|
#
|
@@ -2028,7 +2065,7 @@ module Aws::CodeBuild
|
|
2028
2065
|
params: params,
|
2029
2066
|
config: config)
|
2030
2067
|
context[:gem_name] = 'aws-sdk-codebuild'
|
2031
|
-
context[:gem_version] = '1.
|
2068
|
+
context[:gem_version] = '1.23.0'
|
2032
2069
|
Seahorse::Client::Request.new(handlers, context)
|
2033
2070
|
end
|
2034
2071
|
|
@@ -163,6 +163,7 @@ module Aws::CodeBuild
|
|
163
163
|
Build.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
164
164
|
Build.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
|
165
165
|
Build.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
|
166
|
+
Build.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "queuedTimeoutInMinutes"))
|
166
167
|
Build.add_member(:build_complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "buildComplete"))
|
167
168
|
Build.add_member(:initiator, Shapes::ShapeRef.new(shape: String, location_name: "initiator"))
|
168
169
|
Build.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
@@ -215,6 +216,7 @@ module Aws::CodeBuild
|
|
215
216
|
CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
|
216
217
|
CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "serviceRole"))
|
217
218
|
CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
|
219
|
+
CreateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
218
220
|
CreateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
219
221
|
CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
220
222
|
CreateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
@@ -339,6 +341,7 @@ module Aws::CodeBuild
|
|
339
341
|
Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
340
342
|
Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
341
343
|
Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
|
344
|
+
Project.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
342
345
|
Project.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
343
346
|
Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
344
347
|
Project.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
@@ -432,6 +435,7 @@ module Aws::CodeBuild
|
|
432
435
|
StartBuildInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
|
433
436
|
StartBuildInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
|
434
437
|
StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
|
438
|
+
StartBuildInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
|
435
439
|
StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
|
436
440
|
StartBuildInput.add_member(:logs_config_override, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfigOverride"))
|
437
441
|
StartBuildInput.struct_class = Types::StartBuildInput
|
@@ -463,6 +467,7 @@ module Aws::CodeBuild
|
|
463
467
|
UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
464
468
|
UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
465
469
|
UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
|
470
|
+
UpdateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
466
471
|
UpdateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
467
472
|
UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
468
473
|
UpdateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|