aws-sdk-codebuild 1.73.0 → 1.74.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.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +151 -102
- data/lib/aws-sdk-codebuild/client_api.rb +4 -0
- data/lib/aws-sdk-codebuild/types.rb +430 -308
- 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: e1697621eed3b745d3e08582628aae40cb0b28d643cb5781430712fddf8cee11
|
4
|
+
data.tar.gz: a01c774582b02f2abd2f222f530f21e17c6c2d80365d570103651a5755f705b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e3bd0aefd245fca9eec018b5a71beefef1cf3468dc9a0e020959d7d9562d4fe08b65dadc2f19e54b0702ae1c3501398a3e2e64de62818403400201a8ba5961
|
7
|
+
data.tar.gz: db89dd49a8899396ba9912bf523a0d1aeec629b1126c9ffd958f2ce1517e4eaf6bf8b42fbccad7c9f24f1183013f713c7ff8fb30e7b221c7bd248c8ad9592be4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2021-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CodeBuild now allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account.
|
8
|
+
|
4
9
|
1.73.0 (2021-06-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -441,6 +441,7 @@ module Aws::CodeBuild
|
|
441
441
|
# resp.build_batches[0].artifacts.override_artifact_name #=> Boolean
|
442
442
|
# resp.build_batches[0].artifacts.encryption_disabled #=> Boolean
|
443
443
|
# resp.build_batches[0].artifacts.artifact_identifier #=> String
|
444
|
+
# resp.build_batches[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
444
445
|
# resp.build_batches[0].secondary_artifacts #=> Array
|
445
446
|
# resp.build_batches[0].secondary_artifacts[0].location #=> String
|
446
447
|
# resp.build_batches[0].secondary_artifacts[0].sha256sum #=> String
|
@@ -448,6 +449,7 @@ module Aws::CodeBuild
|
|
448
449
|
# resp.build_batches[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
449
450
|
# resp.build_batches[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
450
451
|
# resp.build_batches[0].secondary_artifacts[0].artifact_identifier #=> String
|
452
|
+
# resp.build_batches[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
451
453
|
# resp.build_batches[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
452
454
|
# resp.build_batches[0].cache.location #=> String
|
453
455
|
# resp.build_batches[0].cache.modes #=> Array
|
@@ -471,6 +473,7 @@ module Aws::CodeBuild
|
|
471
473
|
# resp.build_batches[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
472
474
|
# resp.build_batches[0].log_config.s3_logs.location #=> String
|
473
475
|
# resp.build_batches[0].log_config.s3_logs.encryption_disabled #=> Boolean
|
476
|
+
# resp.build_batches[0].log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
474
477
|
# resp.build_batches[0].build_timeout_in_minutes #=> Integer
|
475
478
|
# resp.build_batches[0].queued_timeout_in_minutes #=> Integer
|
476
479
|
# resp.build_batches[0].complete #=> Boolean
|
@@ -858,6 +861,7 @@ module Aws::CodeBuild
|
|
858
861
|
# resp.builds[0].artifacts.override_artifact_name #=> Boolean
|
859
862
|
# resp.builds[0].artifacts.encryption_disabled #=> Boolean
|
860
863
|
# resp.builds[0].artifacts.artifact_identifier #=> String
|
864
|
+
# resp.builds[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
861
865
|
# resp.builds[0].secondary_artifacts #=> Array
|
862
866
|
# resp.builds[0].secondary_artifacts[0].location #=> String
|
863
867
|
# resp.builds[0].secondary_artifacts[0].sha256sum #=> String
|
@@ -865,6 +869,7 @@ module Aws::CodeBuild
|
|
865
869
|
# resp.builds[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
866
870
|
# resp.builds[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
867
871
|
# resp.builds[0].secondary_artifacts[0].artifact_identifier #=> String
|
872
|
+
# resp.builds[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
868
873
|
# resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
869
874
|
# resp.builds[0].cache.location #=> String
|
870
875
|
# resp.builds[0].cache.modes #=> Array
|
@@ -894,6 +899,7 @@ module Aws::CodeBuild
|
|
894
899
|
# resp.builds[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
895
900
|
# resp.builds[0].logs.s3_logs.location #=> String
|
896
901
|
# resp.builds[0].logs.s3_logs.encryption_disabled #=> Boolean
|
902
|
+
# resp.builds[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
897
903
|
# resp.builds[0].timeout_in_minutes #=> Integer
|
898
904
|
# resp.builds[0].queued_timeout_in_minutes #=> Integer
|
899
905
|
# resp.builds[0].build_complete #=> Boolean
|
@@ -936,8 +942,8 @@ module Aws::CodeBuild
|
|
936
942
|
#
|
937
943
|
# @option params [required, Array<String>] :names
|
938
944
|
# The names or ARNs of the build projects. To get information about a
|
939
|
-
# project shared with your
|
940
|
-
#
|
945
|
+
# project shared with your AWS account, its ARN must be specified. You
|
946
|
+
# cannot specify a shared project using its name.
|
941
947
|
#
|
942
948
|
# @return [Types::BatchGetProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
943
949
|
#
|
@@ -994,6 +1000,7 @@ module Aws::CodeBuild
|
|
994
1000
|
# resp.projects[0].artifacts.override_artifact_name #=> Boolean
|
995
1001
|
# resp.projects[0].artifacts.encryption_disabled #=> Boolean
|
996
1002
|
# resp.projects[0].artifacts.artifact_identifier #=> String
|
1003
|
+
# resp.projects[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
997
1004
|
# resp.projects[0].secondary_artifacts #=> Array
|
998
1005
|
# resp.projects[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
999
1006
|
# resp.projects[0].secondary_artifacts[0].location #=> String
|
@@ -1004,6 +1011,7 @@ module Aws::CodeBuild
|
|
1004
1011
|
# resp.projects[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
1005
1012
|
# resp.projects[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
1006
1013
|
# resp.projects[0].secondary_artifacts[0].artifact_identifier #=> String
|
1014
|
+
# resp.projects[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1007
1015
|
# resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1008
1016
|
# resp.projects[0].cache.location #=> String
|
1009
1017
|
# resp.projects[0].cache.modes #=> Array
|
@@ -1053,6 +1061,7 @@ module Aws::CodeBuild
|
|
1053
1061
|
# resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1054
1062
|
# resp.projects[0].logs_config.s3_logs.location #=> String
|
1055
1063
|
# resp.projects[0].logs_config.s3_logs.encryption_disabled #=> Boolean
|
1064
|
+
# resp.projects[0].logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1056
1065
|
# resp.projects[0].file_system_locations #=> Array
|
1057
1066
|
# resp.projects[0].file_system_locations[0].type #=> String, one of "EFS"
|
1058
1067
|
# resp.projects[0].file_system_locations[0].location #=> String
|
@@ -1202,7 +1211,7 @@ module Aws::CodeBuild
|
|
1202
1211
|
# specified, the latest version is used. If specified, it must be one
|
1203
1212
|
# of:
|
1204
1213
|
#
|
1205
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
1214
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
1206
1215
|
#
|
1207
1216
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
1208
1217
|
# that corresponds to the version of the source code you want to
|
@@ -1223,7 +1232,7 @@ module Aws::CodeBuild
|
|
1223
1232
|
# takes precedence over this `sourceVersion` (at the project level).
|
1224
1233
|
#
|
1225
1234
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
1226
|
-
# the *CodeBuild User Guide*.
|
1235
|
+
# the *AWS CodeBuild User Guide*.
|
1227
1236
|
#
|
1228
1237
|
#
|
1229
1238
|
#
|
@@ -1249,22 +1258,22 @@ module Aws::CodeBuild
|
|
1249
1258
|
# Information about the build environment for the build project.
|
1250
1259
|
#
|
1251
1260
|
# @option params [required, String] :service_role
|
1252
|
-
# The ARN of the Identity and Access Management role that
|
1253
|
-
# CodeBuild to interact with dependent
|
1254
|
-
# behalf of the
|
1261
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
1262
|
+
# enables AWS CodeBuild to interact with dependent AWS services on
|
1263
|
+
# behalf of the AWS account.
|
1255
1264
|
#
|
1256
1265
|
# @option params [Integer] :timeout_in_minutes
|
1257
|
-
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to
|
1258
|
-
# before it times out any build that has not been marked as
|
1259
|
-
# The default is 60 minutes.
|
1266
|
+
# How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
|
1267
|
+
# wait before it times out any build that has not been marked as
|
1268
|
+
# completed. The default is 60 minutes.
|
1260
1269
|
#
|
1261
1270
|
# @option params [Integer] :queued_timeout_in_minutes
|
1262
1271
|
# The number of minutes a build is allowed to be queued before it times
|
1263
1272
|
# out.
|
1264
1273
|
#
|
1265
1274
|
# @option params [String] :encryption_key
|
1266
|
-
# The Key Management Service customer master key (CMK) to
|
1267
|
-
# encrypting the build output artifacts.
|
1275
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK) to
|
1276
|
+
# be used for encrypting the build output artifacts.
|
1268
1277
|
#
|
1269
1278
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
1270
1279
|
# artifacts if your service role has permission to that key.
|
@@ -1278,11 +1287,11 @@ module Aws::CodeBuild
|
|
1278
1287
|
# @option params [Array<Types::Tag>] :tags
|
1279
1288
|
# A list of tag key and value pairs associated with this build project.
|
1280
1289
|
#
|
1281
|
-
# These tags are available for use by
|
1282
|
-
#
|
1290
|
+
# These tags are available for use by AWS services that support AWS
|
1291
|
+
# CodeBuild build project tags.
|
1283
1292
|
#
|
1284
1293
|
# @option params [Types::VpcConfig] :vpc_config
|
1285
|
-
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
1294
|
+
# VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
1286
1295
|
#
|
1287
1296
|
# @option params [Boolean] :badge_enabled
|
1288
1297
|
# Set this to true to generate a publicly accessible URL for your
|
@@ -1290,7 +1299,8 @@ module Aws::CodeBuild
|
|
1290
1299
|
#
|
1291
1300
|
# @option params [Types::LogsConfig] :logs_config
|
1292
1301
|
# Information about logs for the build project. These can be logs in
|
1293
|
-
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1302
|
+
# Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1303
|
+
# both.
|
1294
1304
|
#
|
1295
1305
|
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
1296
1306
|
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
@@ -1378,6 +1388,7 @@ module Aws::CodeBuild
|
|
1378
1388
|
# override_artifact_name: false,
|
1379
1389
|
# encryption_disabled: false,
|
1380
1390
|
# artifact_identifier: "String",
|
1391
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1381
1392
|
# },
|
1382
1393
|
# secondary_artifacts: [
|
1383
1394
|
# {
|
@@ -1390,6 +1401,7 @@ module Aws::CodeBuild
|
|
1390
1401
|
# override_artifact_name: false,
|
1391
1402
|
# encryption_disabled: false,
|
1392
1403
|
# artifact_identifier: "String",
|
1404
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1393
1405
|
# },
|
1394
1406
|
# ],
|
1395
1407
|
# cache: {
|
@@ -1442,6 +1454,7 @@ module Aws::CodeBuild
|
|
1442
1454
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1443
1455
|
# location: "String",
|
1444
1456
|
# encryption_disabled: false,
|
1457
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1445
1458
|
# },
|
1446
1459
|
# },
|
1447
1460
|
# file_system_locations: [
|
@@ -1508,6 +1521,7 @@ module Aws::CodeBuild
|
|
1508
1521
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
1509
1522
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
1510
1523
|
# resp.project.artifacts.artifact_identifier #=> String
|
1524
|
+
# resp.project.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1511
1525
|
# resp.project.secondary_artifacts #=> Array
|
1512
1526
|
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
1513
1527
|
# resp.project.secondary_artifacts[0].location #=> String
|
@@ -1518,6 +1532,7 @@ module Aws::CodeBuild
|
|
1518
1532
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
1519
1533
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
1520
1534
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
1535
|
+
# resp.project.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1521
1536
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1522
1537
|
# resp.project.cache.location #=> String
|
1523
1538
|
# resp.project.cache.modes #=> Array
|
@@ -1567,6 +1582,7 @@ module Aws::CodeBuild
|
|
1567
1582
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1568
1583
|
# resp.project.logs_config.s3_logs.location #=> String
|
1569
1584
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
1585
|
+
# resp.project.logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1570
1586
|
# resp.project.file_system_locations #=> Array
|
1571
1587
|
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
1572
1588
|
# resp.project.file_system_locations[0].location #=> String
|
@@ -1606,8 +1622,8 @@ module Aws::CodeBuild
|
|
1606
1622
|
# @option params [Array<Types::Tag>] :tags
|
1607
1623
|
# A list of tag key and value pairs associated with this report group.
|
1608
1624
|
#
|
1609
|
-
# These tags are available for use by
|
1610
|
-
#
|
1625
|
+
# These tags are available for use by AWS services that support AWS
|
1626
|
+
# CodeBuild report group tags.
|
1611
1627
|
#
|
1612
1628
|
# @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1613
1629
|
#
|
@@ -1665,26 +1681,26 @@ module Aws::CodeBuild
|
|
1665
1681
|
req.send_request(options)
|
1666
1682
|
end
|
1667
1683
|
|
1668
|
-
# For an existing CodeBuild build project that has its source code
|
1669
|
-
# stored in a GitHub or Bitbucket repository, enables CodeBuild to
|
1670
|
-
# rebuilding the source code every time a code change is pushed to
|
1671
|
-
# repository.
|
1684
|
+
# For an existing AWS CodeBuild build project that has its source code
|
1685
|
+
# stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to
|
1686
|
+
# start rebuilding the source code every time a code change is pushed to
|
1687
|
+
# the repository.
|
1672
1688
|
#
|
1673
|
-
# If you enable webhooks for an CodeBuild project, and the project
|
1674
|
-
# used as a build step in CodePipeline, then two identical builds
|
1675
|
-
# created for each commit. One build is triggered through webhooks,
|
1676
|
-
# one through CodePipeline. Because billing is on a per-build
|
1677
|
-
# are billed for both builds. Therefore, if you are using
|
1678
|
-
# we recommend that you disable webhooks in CodeBuild.
|
1679
|
-
# console, clear the Webhook box. For more
|
1680
|
-
# [Change a Build Project's Settings][1].
|
1689
|
+
# If you enable webhooks for an AWS CodeBuild project, and the project
|
1690
|
+
# is used as a build step in AWS CodePipeline, then two identical builds
|
1691
|
+
# are created for each commit. One build is triggered through webhooks,
|
1692
|
+
# and one through AWS CodePipeline. Because billing is on a per-build
|
1693
|
+
# basis, you are billed for both builds. Therefore, if you are using AWS
|
1694
|
+
# CodePipeline, we recommend that you disable webhooks in AWS CodeBuild.
|
1695
|
+
# In the AWS CodeBuild console, clear the Webhook box. For more
|
1696
|
+
# information, see step 5 in [Change a Build Project's Settings][1].
|
1681
1697
|
#
|
1682
1698
|
#
|
1683
1699
|
#
|
1684
1700
|
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console
|
1685
1701
|
#
|
1686
1702
|
# @option params [required, String] :project_name
|
1687
|
-
# The name of the CodeBuild project.
|
1703
|
+
# The name of the AWS CodeBuild project.
|
1688
1704
|
#
|
1689
1705
|
# @option params [String] :branch_filter
|
1690
1706
|
# A regular expression used to determine which repository branches are
|
@@ -1923,13 +1939,13 @@ module Aws::CodeBuild
|
|
1923
1939
|
req.send_request(options)
|
1924
1940
|
end
|
1925
1941
|
|
1926
|
-
# For an existing CodeBuild build project that has its source code
|
1927
|
-
# stored in a GitHub or Bitbucket repository, stops CodeBuild from
|
1942
|
+
# For an existing AWS CodeBuild build project that has its source code
|
1943
|
+
# stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from
|
1928
1944
|
# rebuilding the source code every time a code change is pushed to the
|
1929
1945
|
# repository.
|
1930
1946
|
#
|
1931
1947
|
# @option params [required, String] :project_name
|
1932
|
-
# The name of the CodeBuild project.
|
1948
|
+
# The name of the AWS CodeBuild project.
|
1933
1949
|
#
|
1934
1950
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1935
1951
|
#
|
@@ -2210,7 +2226,7 @@ module Aws::CodeBuild
|
|
2210
2226
|
req.send_request(options)
|
2211
2227
|
end
|
2212
2228
|
|
2213
|
-
# Imports the source repository credentials for an CodeBuild project
|
2229
|
+
# Imports the source repository credentials for an AWS CodeBuild project
|
2214
2230
|
# that has its source code stored in a GitHub, GitHub Enterprise, or
|
2215
2231
|
# Bitbucket repository.
|
2216
2232
|
#
|
@@ -2229,7 +2245,8 @@ module Aws::CodeBuild
|
|
2229
2245
|
# @option params [required, String] :auth_type
|
2230
2246
|
# The type of authentication used to connect to a GitHub, GitHub
|
2231
2247
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
2232
|
-
# supported by the API and must be created using the CodeBuild
|
2248
|
+
# supported by the API and must be created using the AWS CodeBuild
|
2249
|
+
# console.
|
2233
2250
|
#
|
2234
2251
|
# @option params [Boolean] :should_overwrite
|
2235
2252
|
# Set to `false` to prevent overwriting the repository source
|
@@ -2266,7 +2283,8 @@ module Aws::CodeBuild
|
|
2266
2283
|
# Resets the cache for a project.
|
2267
2284
|
#
|
2268
2285
|
# @option params [required, String] :project_name
|
2269
|
-
# The name of the CodeBuild build project that the cache is reset
|
2286
|
+
# The name of the AWS CodeBuild build project that the cache is reset
|
2287
|
+
# for.
|
2270
2288
|
#
|
2271
2289
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2272
2290
|
#
|
@@ -2451,7 +2469,7 @@ module Aws::CodeBuild
|
|
2451
2469
|
# each build identifier representing a single build.
|
2452
2470
|
#
|
2453
2471
|
# @option params [required, String] :project_name
|
2454
|
-
# The name of the CodeBuild project.
|
2472
|
+
# The name of the AWS CodeBuild project.
|
2455
2473
|
#
|
2456
2474
|
# @option params [String] :sort_order
|
2457
2475
|
# The order to list results in. The results are sorted by build number,
|
@@ -2505,7 +2523,8 @@ module Aws::CodeBuild
|
|
2505
2523
|
req.send_request(options)
|
2506
2524
|
end
|
2507
2525
|
|
2508
|
-
# Gets information about Docker images that are managed by
|
2526
|
+
# Gets information about Docker images that are managed by AWS
|
2527
|
+
# CodeBuild.
|
2509
2528
|
#
|
2510
2529
|
# @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2511
2530
|
#
|
@@ -2598,8 +2617,7 @@ module Aws::CodeBuild
|
|
2598
2617
|
req.send_request(options)
|
2599
2618
|
end
|
2600
2619
|
|
2601
|
-
# Gets a list ARNs for the report groups in the current
|
2602
|
-
# Services account.
|
2620
|
+
# Gets a list ARNs for the report groups in the current AWS account.
|
2603
2621
|
#
|
2604
2622
|
# @option params [String] :sort_order
|
2605
2623
|
# Used to specify the order to sort the list of returned report groups.
|
@@ -2661,8 +2679,7 @@ module Aws::CodeBuild
|
|
2661
2679
|
req.send_request(options)
|
2662
2680
|
end
|
2663
2681
|
|
2664
|
-
# Returns a list of ARNs for the reports in the current
|
2665
|
-
# Services account.
|
2682
|
+
# Returns a list of ARNs for the reports in the current AWS account.
|
2666
2683
|
#
|
2667
2684
|
# @option params [String] :sort_order
|
2668
2685
|
# Specifies the sort order for the list of returned reports. Valid
|
@@ -2784,12 +2801,12 @@ module Aws::CodeBuild
|
|
2784
2801
|
req.send_request(options)
|
2785
2802
|
end
|
2786
2803
|
|
2787
|
-
# Gets a list of projects that are shared with other
|
2788
|
-
#
|
2804
|
+
# Gets a list of projects that are shared with other AWS accounts or
|
2805
|
+
# users.
|
2789
2806
|
#
|
2790
2807
|
# @option params [String] :sort_by
|
2791
2808
|
# The criterion to be used to list build projects shared with the
|
2792
|
-
# current
|
2809
|
+
# current AWS account or user. Valid values include:
|
2793
2810
|
#
|
2794
2811
|
# * `ARN`\: List based on the ARN.
|
2795
2812
|
#
|
@@ -2849,8 +2866,8 @@ module Aws::CodeBuild
|
|
2849
2866
|
req.send_request(options)
|
2850
2867
|
end
|
2851
2868
|
|
2852
|
-
# Gets a list of report groups that are shared with other
|
2853
|
-
#
|
2869
|
+
# Gets a list of report groups that are shared with other AWS accounts
|
2870
|
+
# or users.
|
2854
2871
|
#
|
2855
2872
|
# @option params [String] :sort_order
|
2856
2873
|
# The order in which to list shared report groups. Valid values include:
|
@@ -2861,7 +2878,7 @@ module Aws::CodeBuild
|
|
2861
2878
|
#
|
2862
2879
|
# @option params [String] :sort_by
|
2863
2880
|
# The criterion to be used to list report groups shared with the current
|
2864
|
-
#
|
2881
|
+
# AWS account or user. Valid values include:
|
2865
2882
|
#
|
2866
2883
|
# * `ARN`\: List based on the ARN.
|
2867
2884
|
#
|
@@ -2940,7 +2957,7 @@ module Aws::CodeBuild
|
|
2940
2957
|
#
|
2941
2958
|
# @option params [required, String] :policy
|
2942
2959
|
# A JSON-formatted resource policy. For more information, see [Sharing a
|
2943
|
-
# Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
2960
|
+
# Project][1] and [Sharing a Report Group][2] in the *AWS CodeBuild User
|
2944
2961
|
# Guide*.
|
2945
2962
|
#
|
2946
2963
|
#
|
@@ -2985,7 +3002,7 @@ module Aws::CodeBuild
|
|
2985
3002
|
# A unique, case sensitive identifier you provide to ensure the
|
2986
3003
|
# idempotency of the `RetryBuild` request. The token is included in the
|
2987
3004
|
# `RetryBuild` request and is valid for five minutes. If you repeat the
|
2988
|
-
# `RetryBuild` request with the same token, but change a parameter,
|
3005
|
+
# `RetryBuild` request with the same token, but change a parameter, AWS
|
2989
3006
|
# CodeBuild returns a parameter mismatch error.
|
2990
3007
|
#
|
2991
3008
|
# @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3054,6 +3071,7 @@ module Aws::CodeBuild
|
|
3054
3071
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
3055
3072
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
3056
3073
|
# resp.build.artifacts.artifact_identifier #=> String
|
3074
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3057
3075
|
# resp.build.secondary_artifacts #=> Array
|
3058
3076
|
# resp.build.secondary_artifacts[0].location #=> String
|
3059
3077
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -3061,6 +3079,7 @@ module Aws::CodeBuild
|
|
3061
3079
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3062
3080
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3063
3081
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
3082
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3064
3083
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3065
3084
|
# resp.build.cache.location #=> String
|
3066
3085
|
# resp.build.cache.modes #=> Array
|
@@ -3090,6 +3109,7 @@ module Aws::CodeBuild
|
|
3090
3109
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3091
3110
|
# resp.build.logs.s3_logs.location #=> String
|
3092
3111
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
3112
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3093
3113
|
# resp.build.timeout_in_minutes #=> Integer
|
3094
3114
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
3095
3115
|
# resp.build.build_complete #=> Boolean
|
@@ -3137,7 +3157,7 @@ module Aws::CodeBuild
|
|
3137
3157
|
# idempotency of the `RetryBuildBatch` request. The token is included in
|
3138
3158
|
# the `RetryBuildBatch` request and is valid for five minutes. If you
|
3139
3159
|
# repeat the `RetryBuildBatch` request with the same token, but change a
|
3140
|
-
# parameter, CodeBuild returns a parameter mismatch error.
|
3160
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
3141
3161
|
#
|
3142
3162
|
# @option params [String] :retry_type
|
3143
3163
|
# Specifies the type of retry to perform.
|
@@ -3208,6 +3228,7 @@ module Aws::CodeBuild
|
|
3208
3228
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
3209
3229
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
3210
3230
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
3231
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3211
3232
|
# resp.build_batch.secondary_artifacts #=> Array
|
3212
3233
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
3213
3234
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -3215,6 +3236,7 @@ module Aws::CodeBuild
|
|
3215
3236
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3216
3237
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3217
3238
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
3239
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3218
3240
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3219
3241
|
# resp.build_batch.cache.location #=> String
|
3220
3242
|
# resp.build_batch.cache.modes #=> Array
|
@@ -3238,6 +3260,7 @@ module Aws::CodeBuild
|
|
3238
3260
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3239
3261
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
3240
3262
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
3263
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3241
3264
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
3242
3265
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
3243
3266
|
# resp.build_batch.complete #=> Boolean
|
@@ -3301,7 +3324,7 @@ module Aws::CodeBuild
|
|
3301
3324
|
# Starts running a build.
|
3302
3325
|
#
|
3303
3326
|
# @option params [required, String] :project_name
|
3304
|
-
# The name of the CodeBuild build project to start running a build.
|
3327
|
+
# The name of the AWS CodeBuild build project to start running a build.
|
3305
3328
|
#
|
3306
3329
|
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3307
3330
|
# An array of `ProjectSource` objects.
|
@@ -3316,7 +3339,7 @@ module Aws::CodeBuild
|
|
3316
3339
|
# not specified, the latest version is used. If specified, the contents
|
3317
3340
|
# depends on the source provider:
|
3318
3341
|
#
|
3319
|
-
# CodeCommit
|
3342
|
+
# AWS CodeCommit
|
3320
3343
|
#
|
3321
3344
|
# : The commit ID, branch, or Git tag to use.
|
3322
3345
|
#
|
@@ -3345,7 +3368,7 @@ module Aws::CodeBuild
|
|
3345
3368
|
# `sourceVersion` (at the build level) takes precedence.
|
3346
3369
|
#
|
3347
3370
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3348
|
-
# the *CodeBuild User Guide*.
|
3371
|
+
# the *AWS CodeBuild User Guide*.
|
3349
3372
|
#
|
3350
3373
|
#
|
3351
3374
|
#
|
@@ -3382,7 +3405,7 @@ module Aws::CodeBuild
|
|
3382
3405
|
#
|
3383
3406
|
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3384
3407
|
# Information about the Git submodules configuration for this build of
|
3385
|
-
# an CodeBuild build project.
|
3408
|
+
# an AWS CodeBuild build project.
|
3386
3409
|
#
|
3387
3410
|
# @option params [String] :buildspec_override
|
3388
3411
|
# A buildspec file declaration that overrides, for this build only, the
|
@@ -3391,8 +3414,8 @@ module Aws::CodeBuild
|
|
3391
3414
|
# If this value is set, it can be either an inline buildspec definition,
|
3392
3415
|
# the path to an alternate buildspec file relative to the value of the
|
3393
3416
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3394
|
-
# S3 bucket. The bucket must be in the same Region as the build
|
3395
|
-
# Specify the buildspec file using its ARN (for example,
|
3417
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3418
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3396
3419
|
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3397
3420
|
# not provided or is set to an empty string, the source code must
|
3398
3421
|
# contain a buildspec file in its root directory. For more information,
|
@@ -3419,7 +3442,7 @@ module Aws::CodeBuild
|
|
3419
3442
|
# associated with the source provider must have write access to the
|
3420
3443
|
# repo. If the user does not have write access, the build status cannot
|
3421
3444
|
# be updated. For more information, see [Source provider access][1] in
|
3422
|
-
# the *CodeBuild User Guide*.
|
3445
|
+
# the *AWS CodeBuild User Guide*.
|
3423
3446
|
#
|
3424
3447
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3425
3448
|
# your source provider.
|
@@ -3472,9 +3495,9 @@ module Aws::CodeBuild
|
|
3472
3495
|
# out.
|
3473
3496
|
#
|
3474
3497
|
# @option params [String] :encryption_key_override
|
3475
|
-
# The Key Management Service customer master key (CMK)
|
3476
|
-
# the one specified in the build project. The CMK key
|
3477
|
-
# output artifacts.
|
3498
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
3499
|
+
# that overrides the one specified in the build project. The CMK key
|
3500
|
+
# encrypts the build output artifacts.
|
3478
3501
|
#
|
3479
3502
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3480
3503
|
# artifacts if your service role has permission to that key.
|
@@ -3489,7 +3512,7 @@ module Aws::CodeBuild
|
|
3489
3512
|
# A unique, case sensitive identifier you provide to ensure the
|
3490
3513
|
# idempotency of the StartBuild request. The token is included in the
|
3491
3514
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
3492
|
-
# StartBuild request with the same token, but change a parameter,
|
3515
|
+
# StartBuild request with the same token, but change a parameter, AWS
|
3493
3516
|
# CodeBuild returns a parameter mismatch error.
|
3494
3517
|
#
|
3495
3518
|
# @option params [Types::LogsConfig] :logs_config_override
|
@@ -3500,22 +3523,23 @@ module Aws::CodeBuild
|
|
3500
3523
|
# The credentials for access to a private registry.
|
3501
3524
|
#
|
3502
3525
|
# @option params [String] :image_pull_credentials_type_override
|
3503
|
-
# The type of credentials CodeBuild uses to pull images in your
|
3504
|
-
# There are two valid values:
|
3526
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
3527
|
+
# build. There are two valid values:
|
3505
3528
|
#
|
3506
3529
|
# CODEBUILD
|
3507
3530
|
#
|
3508
|
-
# : Specifies that CodeBuild uses its own credentials. This requires
|
3509
|
-
# that you modify your ECR repository policy to trust CodeBuild's
|
3531
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3532
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3510
3533
|
# service principal.
|
3511
3534
|
#
|
3512
3535
|
# SERVICE\_ROLE
|
3513
3536
|
#
|
3514
|
-
# : Specifies that CodeBuild uses your build project's service
|
3537
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
3538
|
+
# role.
|
3515
3539
|
#
|
3516
3540
|
# When using a cross-account or private registry image, you must use
|
3517
|
-
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
3518
|
-
# must use `CODEBUILD` credentials.
|
3541
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
3542
|
+
# you must use `CODEBUILD` credentials.
|
3519
3543
|
#
|
3520
3544
|
# @option params [Boolean] :debug_session_enabled
|
3521
3545
|
# Specifies if session debugging is enabled for this build. For more
|
@@ -3572,6 +3596,7 @@ module Aws::CodeBuild
|
|
3572
3596
|
# override_artifact_name: false,
|
3573
3597
|
# encryption_disabled: false,
|
3574
3598
|
# artifact_identifier: "String",
|
3599
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3575
3600
|
# },
|
3576
3601
|
# secondary_artifacts_override: [
|
3577
3602
|
# {
|
@@ -3584,6 +3609,7 @@ module Aws::CodeBuild
|
|
3584
3609
|
# override_artifact_name: false,
|
3585
3610
|
# encryption_disabled: false,
|
3586
3611
|
# artifact_identifier: "String",
|
3612
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3587
3613
|
# },
|
3588
3614
|
# ],
|
3589
3615
|
# environment_variables_override: [
|
@@ -3635,6 +3661,7 @@ module Aws::CodeBuild
|
|
3635
3661
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3636
3662
|
# location: "String",
|
3637
3663
|
# encryption_disabled: false,
|
3664
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3638
3665
|
# },
|
3639
3666
|
# },
|
3640
3667
|
# registry_credential_override: {
|
@@ -3700,6 +3727,7 @@ module Aws::CodeBuild
|
|
3700
3727
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
3701
3728
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
3702
3729
|
# resp.build.artifacts.artifact_identifier #=> String
|
3730
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3703
3731
|
# resp.build.secondary_artifacts #=> Array
|
3704
3732
|
# resp.build.secondary_artifacts[0].location #=> String
|
3705
3733
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -3707,6 +3735,7 @@ module Aws::CodeBuild
|
|
3707
3735
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3708
3736
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3709
3737
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
3738
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3710
3739
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3711
3740
|
# resp.build.cache.location #=> String
|
3712
3741
|
# resp.build.cache.modes #=> Array
|
@@ -3736,6 +3765,7 @@ module Aws::CodeBuild
|
|
3736
3765
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3737
3766
|
# resp.build.logs.s3_logs.location #=> String
|
3738
3767
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
3768
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3739
3769
|
# resp.build.timeout_in_minutes #=> Integer
|
3740
3770
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
3741
3771
|
# resp.build.build_complete #=> Boolean
|
@@ -3790,7 +3820,7 @@ module Aws::CodeBuild
|
|
3790
3820
|
# If not specified, the latest version is used. If specified, the
|
3791
3821
|
# contents depends on the source provider:
|
3792
3822
|
#
|
3793
|
-
# CodeCommit
|
3823
|
+
# AWS CodeCommit
|
3794
3824
|
#
|
3795
3825
|
# : The commit ID, branch, or Git tag to use.
|
3796
3826
|
#
|
@@ -3819,7 +3849,7 @@ module Aws::CodeBuild
|
|
3819
3849
|
# `sourceVersion` (at the build level) takes precedence.
|
3820
3850
|
#
|
3821
3851
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3822
|
-
# the *CodeBuild User Guide*.
|
3852
|
+
# the *AWS CodeBuild User Guide*.
|
3823
3853
|
#
|
3824
3854
|
#
|
3825
3855
|
#
|
@@ -3866,8 +3896,8 @@ module Aws::CodeBuild
|
|
3866
3896
|
# If this value is set, it can be either an inline buildspec definition,
|
3867
3897
|
# the path to an alternate buildspec file relative to the value of the
|
3868
3898
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3869
|
-
# S3 bucket. The bucket must be in the same Region as the build
|
3870
|
-
# Specify the buildspec file using its ARN (for example,
|
3899
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3900
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3871
3901
|
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3872
3902
|
# not provided or is set to an empty string, the source code must
|
3873
3903
|
# contain a buildspec file in its root directory. For more information,
|
@@ -3930,9 +3960,9 @@ module Aws::CodeBuild
|
|
3930
3960
|
# times out.
|
3931
3961
|
#
|
3932
3962
|
# @option params [String] :encryption_key_override
|
3933
|
-
# The Key Management Service customer master key (CMK)
|
3934
|
-
# the one specified in the batch build project. The CMK
|
3935
|
-
# build output artifacts.
|
3963
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
3964
|
+
# that overrides the one specified in the batch build project. The CMK
|
3965
|
+
# key encrypts the build output artifacts.
|
3936
3966
|
#
|
3937
3967
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3938
3968
|
# artifacts if your service role has permission to that key.
|
@@ -3948,7 +3978,7 @@ module Aws::CodeBuild
|
|
3948
3978
|
# idempotency of the `StartBuildBatch` request. The token is included in
|
3949
3979
|
# the `StartBuildBatch` request and is valid for five minutes. If you
|
3950
3980
|
# repeat the `StartBuildBatch` request with the same token, but change a
|
3951
|
-
# parameter, CodeBuild returns a parameter mismatch error.
|
3981
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
3952
3982
|
#
|
3953
3983
|
# @option params [Types::LogsConfig] :logs_config_override
|
3954
3984
|
# A `LogsConfig` object that override the log settings defined in the
|
@@ -3959,22 +3989,23 @@ module Aws::CodeBuild
|
|
3959
3989
|
# a private registry.
|
3960
3990
|
#
|
3961
3991
|
# @option params [String] :image_pull_credentials_type_override
|
3962
|
-
# The type of credentials CodeBuild uses to pull images in your
|
3963
|
-
# build. There are two valid values:
|
3992
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
3993
|
+
# batch build. There are two valid values:
|
3964
3994
|
#
|
3965
3995
|
# CODEBUILD
|
3966
3996
|
#
|
3967
|
-
# : Specifies that CodeBuild uses its own credentials. This requires
|
3968
|
-
# that you modify your ECR repository policy to trust CodeBuild's
|
3997
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3998
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3969
3999
|
# service principal.
|
3970
4000
|
#
|
3971
4001
|
# SERVICE\_ROLE
|
3972
4002
|
#
|
3973
|
-
# : Specifies that CodeBuild uses your build project's service
|
4003
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
4004
|
+
# role.
|
3974
4005
|
#
|
3975
4006
|
# When using a cross-account or private registry image, you must use
|
3976
|
-
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
3977
|
-
# must use `CODEBUILD` credentials.
|
4007
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
4008
|
+
# you must use `CODEBUILD` credentials.
|
3978
4009
|
#
|
3979
4010
|
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
|
3980
4011
|
# A `BuildBatchConfigOverride` object that contains batch build
|
@@ -4036,6 +4067,7 @@ module Aws::CodeBuild
|
|
4036
4067
|
# override_artifact_name: false,
|
4037
4068
|
# encryption_disabled: false,
|
4038
4069
|
# artifact_identifier: "String",
|
4070
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4039
4071
|
# },
|
4040
4072
|
# secondary_artifacts_override: [
|
4041
4073
|
# {
|
@@ -4048,6 +4080,7 @@ module Aws::CodeBuild
|
|
4048
4080
|
# override_artifact_name: false,
|
4049
4081
|
# encryption_disabled: false,
|
4050
4082
|
# artifact_identifier: "String",
|
4083
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4051
4084
|
# },
|
4052
4085
|
# ],
|
4053
4086
|
# environment_variables_override: [
|
@@ -4095,6 +4128,7 @@ module Aws::CodeBuild
|
|
4095
4128
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
4096
4129
|
# location: "String",
|
4097
4130
|
# encryption_disabled: false,
|
4131
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4098
4132
|
# },
|
4099
4133
|
# },
|
4100
4134
|
# registry_credential_override: {
|
@@ -4168,6 +4202,7 @@ module Aws::CodeBuild
|
|
4168
4202
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4169
4203
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4170
4204
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4205
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4171
4206
|
# resp.build_batch.secondary_artifacts #=> Array
|
4172
4207
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4173
4208
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -4175,6 +4210,7 @@ module Aws::CodeBuild
|
|
4175
4210
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4176
4211
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4177
4212
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4213
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4178
4214
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4179
4215
|
# resp.build_batch.cache.location #=> String
|
4180
4216
|
# resp.build_batch.cache.modes #=> Array
|
@@ -4198,6 +4234,7 @@ module Aws::CodeBuild
|
|
4198
4234
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4199
4235
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
4200
4236
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4237
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4201
4238
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4202
4239
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4203
4240
|
# resp.build_batch.complete #=> Boolean
|
@@ -4328,6 +4365,7 @@ module Aws::CodeBuild
|
|
4328
4365
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
4329
4366
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
4330
4367
|
# resp.build.artifacts.artifact_identifier #=> String
|
4368
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4331
4369
|
# resp.build.secondary_artifacts #=> Array
|
4332
4370
|
# resp.build.secondary_artifacts[0].location #=> String
|
4333
4371
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -4335,6 +4373,7 @@ module Aws::CodeBuild
|
|
4335
4373
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4336
4374
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4337
4375
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
4376
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4338
4377
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4339
4378
|
# resp.build.cache.location #=> String
|
4340
4379
|
# resp.build.cache.modes #=> Array
|
@@ -4364,6 +4403,7 @@ module Aws::CodeBuild
|
|
4364
4403
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4365
4404
|
# resp.build.logs.s3_logs.location #=> String
|
4366
4405
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
4406
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4367
4407
|
# resp.build.timeout_in_minutes #=> Integer
|
4368
4408
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
4369
4409
|
# resp.build.build_complete #=> Boolean
|
@@ -4469,6 +4509,7 @@ module Aws::CodeBuild
|
|
4469
4509
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4470
4510
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4471
4511
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4512
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4472
4513
|
# resp.build_batch.secondary_artifacts #=> Array
|
4473
4514
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4474
4515
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -4476,6 +4517,7 @@ module Aws::CodeBuild
|
|
4476
4517
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4477
4518
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4478
4519
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4520
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4479
4521
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4480
4522
|
# resp.build_batch.cache.location #=> String
|
4481
4523
|
# resp.build_batch.cache.modes #=> Array
|
@@ -4499,6 +4541,7 @@ module Aws::CodeBuild
|
|
4499
4541
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4500
4542
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
4501
4543
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4544
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4502
4545
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4503
4546
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4504
4547
|
# resp.build_batch.complete #=> Boolean
|
@@ -4583,7 +4626,7 @@ module Aws::CodeBuild
|
|
4583
4626
|
# specified, the latest version is used. If specified, it must be one
|
4584
4627
|
# of:
|
4585
4628
|
#
|
4586
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
4629
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
4587
4630
|
#
|
4588
4631
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
4589
4632
|
# that corresponds to the version of the source code you want to
|
@@ -4604,7 +4647,7 @@ module Aws::CodeBuild
|
|
4604
4647
|
# takes precedence over this `sourceVersion` (at the project level).
|
4605
4648
|
#
|
4606
4649
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
4607
|
-
# the *CodeBuild User Guide*.
|
4650
|
+
# the *AWS CodeBuild User Guide*.
|
4608
4651
|
#
|
4609
4652
|
#
|
4610
4653
|
#
|
@@ -4631,12 +4674,12 @@ module Aws::CodeBuild
|
|
4631
4674
|
# project.
|
4632
4675
|
#
|
4633
4676
|
# @option params [String] :service_role
|
4634
|
-
# The replacement ARN of the Identity and Access Management
|
4635
|
-
# enables CodeBuild to interact with dependent
|
4636
|
-
# services on behalf of the
|
4677
|
+
# The replacement ARN of the AWS Identity and Access Management (IAM)
|
4678
|
+
# role that enables AWS CodeBuild to interact with dependent AWS
|
4679
|
+
# services on behalf of the AWS account.
|
4637
4680
|
#
|
4638
4681
|
# @option params [Integer] :timeout_in_minutes
|
4639
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
4682
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for AWS
|
4640
4683
|
# CodeBuild to wait before timing out any related build that did not get
|
4641
4684
|
# marked as completed.
|
4642
4685
|
#
|
@@ -4645,8 +4688,8 @@ module Aws::CodeBuild
|
|
4645
4688
|
# out.
|
4646
4689
|
#
|
4647
4690
|
# @option params [String] :encryption_key
|
4648
|
-
# The Key Management Service customer master key (CMK) to
|
4649
|
-
# encrypting the build output artifacts.
|
4691
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK) to
|
4692
|
+
# be used for encrypting the build output artifacts.
|
4650
4693
|
#
|
4651
4694
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
4652
4695
|
# artifacts if your service role has permission to that key.
|
@@ -4661,11 +4704,11 @@ module Aws::CodeBuild
|
|
4661
4704
|
# An updated list of tag key and value pairs associated with this build
|
4662
4705
|
# project.
|
4663
4706
|
#
|
4664
|
-
# These tags are available for use by
|
4665
|
-
#
|
4707
|
+
# These tags are available for use by AWS services that support AWS
|
4708
|
+
# CodeBuild build project tags.
|
4666
4709
|
#
|
4667
4710
|
# @option params [Types::VpcConfig] :vpc_config
|
4668
|
-
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
4711
|
+
# VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
4669
4712
|
#
|
4670
4713
|
# @option params [Boolean] :badge_enabled
|
4671
4714
|
# Set this to true to generate a publicly accessible URL for your
|
@@ -4673,7 +4716,7 @@ module Aws::CodeBuild
|
|
4673
4716
|
#
|
4674
4717
|
# @option params [Types::LogsConfig] :logs_config
|
4675
4718
|
# Information about logs for the build project. A project can create
|
4676
|
-
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
4719
|
+
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
4677
4720
|
#
|
4678
4721
|
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
4679
4722
|
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
@@ -4762,6 +4805,7 @@ module Aws::CodeBuild
|
|
4762
4805
|
# override_artifact_name: false,
|
4763
4806
|
# encryption_disabled: false,
|
4764
4807
|
# artifact_identifier: "String",
|
4808
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4765
4809
|
# },
|
4766
4810
|
# secondary_artifacts: [
|
4767
4811
|
# {
|
@@ -4774,6 +4818,7 @@ module Aws::CodeBuild
|
|
4774
4818
|
# override_artifact_name: false,
|
4775
4819
|
# encryption_disabled: false,
|
4776
4820
|
# artifact_identifier: "String",
|
4821
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4777
4822
|
# },
|
4778
4823
|
# ],
|
4779
4824
|
# cache: {
|
@@ -4826,6 +4871,7 @@ module Aws::CodeBuild
|
|
4826
4871
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
4827
4872
|
# location: "String",
|
4828
4873
|
# encryption_disabled: false,
|
4874
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4829
4875
|
# },
|
4830
4876
|
# },
|
4831
4877
|
# file_system_locations: [
|
@@ -4892,6 +4938,7 @@ module Aws::CodeBuild
|
|
4892
4938
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
4893
4939
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
4894
4940
|
# resp.project.artifacts.artifact_identifier #=> String
|
4941
|
+
# resp.project.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4895
4942
|
# resp.project.secondary_artifacts #=> Array
|
4896
4943
|
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4897
4944
|
# resp.project.secondary_artifacts[0].location #=> String
|
@@ -4902,6 +4949,7 @@ module Aws::CodeBuild
|
|
4902
4949
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4903
4950
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4904
4951
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
4952
|
+
# resp.project.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4905
4953
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4906
4954
|
# resp.project.cache.location #=> String
|
4907
4955
|
# resp.project.cache.modes #=> Array
|
@@ -4951,6 +4999,7 @@ module Aws::CodeBuild
|
|
4951
4999
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4952
5000
|
# resp.project.logs_config.s3_logs.location #=> String
|
4953
5001
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
5002
|
+
# resp.project.logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4954
5003
|
# resp.project.file_system_locations #=> Array
|
4955
5004
|
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
4956
5005
|
# resp.project.file_system_locations[0].location #=> String
|
@@ -4990,8 +5039,8 @@ module Aws::CodeBuild
|
|
4990
5039
|
# An updated list of tag key and value pairs associated with this report
|
4991
5040
|
# group.
|
4992
5041
|
#
|
4993
|
-
# These tags are available for use by
|
4994
|
-
#
|
5042
|
+
# These tags are available for use by AWS services that support AWS
|
5043
|
+
# CodeBuild report group tags.
|
4995
5044
|
#
|
4996
5045
|
# @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4997
5046
|
#
|
@@ -5048,14 +5097,14 @@ module Aws::CodeBuild
|
|
5048
5097
|
req.send_request(options)
|
5049
5098
|
end
|
5050
5099
|
|
5051
|
-
# Updates the webhook associated with an CodeBuild build project.
|
5100
|
+
# Updates the webhook associated with an AWS CodeBuild build project.
|
5052
5101
|
#
|
5053
5102
|
# <note markdown="1"> If you use Bitbucket for your repository, `rotateSecret` is ignored.
|
5054
5103
|
#
|
5055
5104
|
# </note>
|
5056
5105
|
#
|
5057
5106
|
# @option params [required, String] :project_name
|
5058
|
-
# The name of the CodeBuild project.
|
5107
|
+
# The name of the AWS CodeBuild project.
|
5059
5108
|
#
|
5060
5109
|
# @option params [String] :branch_filter
|
5061
5110
|
# A regular expression used to determine which repository branches are
|
@@ -5139,7 +5188,7 @@ module Aws::CodeBuild
|
|
5139
5188
|
params: params,
|
5140
5189
|
config: config)
|
5141
5190
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5142
|
-
context[:gem_version] = '1.
|
5191
|
+
context[:gem_version] = '1.74.0'
|
5143
5192
|
Seahorse::Client::Request.new(handlers, context)
|
5144
5193
|
end
|
5145
5194
|
|