aws-sdk-codebuild 1.74.0 → 1.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1697621eed3b745d3e08582628aae40cb0b28d643cb5781430712fddf8cee11
4
- data.tar.gz: a01c774582b02f2abd2f222f530f21e17c6c2d80365d570103651a5755f705b2
3
+ metadata.gz: ef796e3aee183ce381eea961c87933a20c1fd2c3488680a7ef2846a263e5b807
4
+ data.tar.gz: 9c041544a6d2f50c4ae2d91e80f785e202e8a45f81945a84426bf13cc102820e
5
5
  SHA512:
6
- metadata.gz: 02e3bd0aefd245fca9eec018b5a71beefef1cf3468dc9a0e020959d7d9562d4fe08b65dadc2f19e54b0702ae1c3501398a3e2e64de62818403400201a8ba5961
7
- data.tar.gz: db89dd49a8899396ba9912bf523a0d1aeec629b1126c9ffd958f2ce1517e4eaf6bf8b42fbccad7c9f24f1183013f713c7ff8fb30e7b221c7bd248c8ad9592be4
6
+ metadata.gz: 249d3c289dee53a0c4c7efea1401f51c78f73b161d7a4ffcf0ecde05b9ef6110488063ab7e1e7c5ffef72b39513b9f3f52a79c0f0c3568dd6f4d0442c0ba80f9
7
+ data.tar.gz: 06cd691b4dcc8afd01a486f1bd28d4af40081c6098736e31544e74faa5cdbb8cf0ae6c431d48d0eecba12da8c96e336984b5b451f54802705fc171dc00395f2b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2021-08-16)
5
+ ------------------
6
+
7
+ * Feature - CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project.
8
+
9
+ 1.77.0 (2021-08-11)
10
+ ------------------
11
+
12
+ * Feature - CodeBuild now allows you to make the build results for your build projects available to the public without requiring access to an AWS account.
13
+
14
+ 1.76.0 (2021-07-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.75.0 (2021-07-28)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.74.0 (2021-07-21)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.78.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codebuild/customizations'
48
48
  # @!group service
49
49
  module Aws::CodeBuild
50
50
 
51
- GEM_VERSION = '1.74.0'
51
+ GEM_VERSION = '1.78.0'
52
52
 
53
53
  end
@@ -497,6 +497,7 @@ module Aws::CodeBuild
497
497
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
498
498
  # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
499
499
  # resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
500
+ # resp.build_batches[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
500
501
  # resp.build_batches[0].build_groups #=> Array
501
502
  # resp.build_batches[0].build_groups[0].identifier #=> String
502
503
  # resp.build_batches[0].build_groups[0].depends_on #=> Array
@@ -546,259 +547,6 @@ module Aws::CodeBuild
546
547
  # * {Types::BatchGetBuildsOutput#builds #builds} => Array<Types::Build>
547
548
  # * {Types::BatchGetBuildsOutput#builds_not_found #builds_not_found} => Array<String>
548
549
  #
549
- #
550
- # @example Example: To get information about builds
551
- #
552
- # # The following example gets information about builds with the specified build IDs.
553
- #
554
- # resp = client.batch_get_builds({
555
- # ids: [
556
- # "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
557
- # "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
558
- # ],
559
- # })
560
- #
561
- # resp.to_h outputs the following:
562
- # {
563
- # builds: [
564
- # {
565
- # arn: "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
566
- # artifacts: {
567
- # location: "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project",
568
- # },
569
- # build_complete: true,
570
- # build_status: "SUCCEEDED",
571
- # current_phase: "COMPLETED",
572
- # end_time: Time.parse(1479832474.764),
573
- # environment: {
574
- # type: "LINUX_CONTAINER",
575
- # compute_type: "BUILD_GENERAL1_SMALL",
576
- # environment_variables: [
577
- # ],
578
- # image: "aws/codebuild/java:openjdk-8",
579
- # privileged_mode: false,
580
- # },
581
- # id: "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
582
- # initiator: "MyDemoUser",
583
- # logs: {
584
- # deep_link: "https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEvent:group=/aws/codebuild/codebuild-demo-project;stream=9b0ac37f-d19e-4254-9079-f47e9a389eEX",
585
- # group_name: "/aws/codebuild/codebuild-demo-project",
586
- # stream_name: "9b0ac37f-d19e-4254-9079-f47e9a389eEX",
587
- # },
588
- # phases: [
589
- # {
590
- # duration_in_seconds: 0,
591
- # end_time: Time.parse(1479832342.23),
592
- # phase_status: "SUCCEEDED",
593
- # phase_type: "SUBMITTED",
594
- # start_time: Time.parse(1479832341.854),
595
- # },
596
- # {
597
- # contexts: [
598
- # ],
599
- # duration_in_seconds: 72,
600
- # end_time: Time.parse(1479832415.064),
601
- # phase_status: "SUCCEEDED",
602
- # phase_type: "PROVISIONING",
603
- # start_time: Time.parse(1479832342.23),
604
- # },
605
- # {
606
- # contexts: [
607
- # ],
608
- # duration_in_seconds: 46,
609
- # end_time: Time.parse(1479832461.261),
610
- # phase_status: "SUCCEEDED",
611
- # phase_type: "DOWNLOAD_SOURCE",
612
- # start_time: Time.parse(1479832415.064),
613
- # },
614
- # {
615
- # contexts: [
616
- # ],
617
- # duration_in_seconds: 0,
618
- # end_time: Time.parse(1479832461.354),
619
- # phase_status: "SUCCEEDED",
620
- # phase_type: "INSTALL",
621
- # start_time: Time.parse(1479832461.261),
622
- # },
623
- # {
624
- # contexts: [
625
- # ],
626
- # duration_in_seconds: 0,
627
- # end_time: Time.parse(1479832461.448),
628
- # phase_status: "SUCCEEDED",
629
- # phase_type: "PRE_BUILD",
630
- # start_time: Time.parse(1479832461.354),
631
- # },
632
- # {
633
- # contexts: [
634
- # ],
635
- # duration_in_seconds: 9,
636
- # end_time: Time.parse(1479832471.115),
637
- # phase_status: "SUCCEEDED",
638
- # phase_type: "BUILD",
639
- # start_time: Time.parse(1479832461.448),
640
- # },
641
- # {
642
- # contexts: [
643
- # ],
644
- # duration_in_seconds: 0,
645
- # end_time: Time.parse(1479832471.224),
646
- # phase_status: "SUCCEEDED",
647
- # phase_type: "POST_BUILD",
648
- # start_time: Time.parse(1479832471.115),
649
- # },
650
- # {
651
- # contexts: [
652
- # ],
653
- # duration_in_seconds: 0,
654
- # end_time: Time.parse(1479832471.791),
655
- # phase_status: "SUCCEEDED",
656
- # phase_type: "UPLOAD_ARTIFACTS",
657
- # start_time: Time.parse(1479832471.224),
658
- # },
659
- # {
660
- # contexts: [
661
- # ],
662
- # duration_in_seconds: 2,
663
- # end_time: Time.parse(1479832474.764),
664
- # phase_status: "SUCCEEDED",
665
- # phase_type: "FINALIZING",
666
- # start_time: Time.parse(1479832471.791),
667
- # },
668
- # {
669
- # phase_type: "COMPLETED",
670
- # start_time: Time.parse(1479832474.764),
671
- # },
672
- # ],
673
- # project_name: "codebuild-demo-project",
674
- # source: {
675
- # type: "S3",
676
- # buildspec: "",
677
- # location: "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip",
678
- # },
679
- # start_time: Time.parse(1479832341.854),
680
- # timeout_in_minutes: 60,
681
- # },
682
- # {
683
- # arn: "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
684
- # artifacts: {
685
- # location: "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project",
686
- # },
687
- # build_complete: true,
688
- # build_status: "SUCCEEDED",
689
- # current_phase: "COMPLETED",
690
- # end_time: Time.parse(1479401214.239),
691
- # environment: {
692
- # type: "LINUX_CONTAINER",
693
- # compute_type: "BUILD_GENERAL1_SMALL",
694
- # environment_variables: [
695
- # ],
696
- # image: "aws/codebuild/java:openjdk-8",
697
- # privileged_mode: false,
698
- # },
699
- # id: "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
700
- # initiator: "MyDemoUser",
701
- # logs: {
702
- # deep_link: "https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEvent:group=/aws/codebuild/codebuild-demo-project;stream=b79a46f7-1473-4636-a23f-da9c45c208EX",
703
- # group_name: "/aws/codebuild/codebuild-demo-project",
704
- # stream_name: "b79a46f7-1473-4636-a23f-da9c45c208EX",
705
- # },
706
- # phases: [
707
- # {
708
- # duration_in_seconds: 0,
709
- # end_time: Time.parse(1479401082.342),
710
- # phase_status: "SUCCEEDED",
711
- # phase_type: "SUBMITTED",
712
- # start_time: Time.parse(1479401081.869),
713
- # },
714
- # {
715
- # contexts: [
716
- # ],
717
- # duration_in_seconds: 71,
718
- # end_time: Time.parse(1479401154.129),
719
- # phase_status: "SUCCEEDED",
720
- # phase_type: "PROVISIONING",
721
- # start_time: Time.parse(1479401082.342),
722
- # },
723
- # {
724
- # contexts: [
725
- # ],
726
- # duration_in_seconds: 45,
727
- # end_time: Time.parse(1479401199.136),
728
- # phase_status: "SUCCEEDED",
729
- # phase_type: "DOWNLOAD_SOURCE",
730
- # start_time: Time.parse(1479401154.129),
731
- # },
732
- # {
733
- # contexts: [
734
- # ],
735
- # duration_in_seconds: 0,
736
- # end_time: Time.parse(1479401199.236),
737
- # phase_status: "SUCCEEDED",
738
- # phase_type: "INSTALL",
739
- # start_time: Time.parse(1479401199.136),
740
- # },
741
- # {
742
- # contexts: [
743
- # ],
744
- # duration_in_seconds: 0,
745
- # end_time: Time.parse(1479401199.345),
746
- # phase_status: "SUCCEEDED",
747
- # phase_type: "PRE_BUILD",
748
- # start_time: Time.parse(1479401199.236),
749
- # },
750
- # {
751
- # contexts: [
752
- # ],
753
- # duration_in_seconds: 9,
754
- # end_time: Time.parse(1479401208.68),
755
- # phase_status: "SUCCEEDED",
756
- # phase_type: "BUILD",
757
- # start_time: Time.parse(1479401199.345),
758
- # },
759
- # {
760
- # contexts: [
761
- # ],
762
- # duration_in_seconds: 0,
763
- # end_time: Time.parse(1479401208.783),
764
- # phase_status: "SUCCEEDED",
765
- # phase_type: "POST_BUILD",
766
- # start_time: Time.parse(1479401208.68),
767
- # },
768
- # {
769
- # contexts: [
770
- # ],
771
- # duration_in_seconds: 0,
772
- # end_time: Time.parse(1479401209.463),
773
- # phase_status: "SUCCEEDED",
774
- # phase_type: "UPLOAD_ARTIFACTS",
775
- # start_time: Time.parse(1479401208.783),
776
- # },
777
- # {
778
- # contexts: [
779
- # ],
780
- # duration_in_seconds: 4,
781
- # end_time: Time.parse(1479401214.239),
782
- # phase_status: "SUCCEEDED",
783
- # phase_type: "FINALIZING",
784
- # start_time: Time.parse(1479401209.463),
785
- # },
786
- # {
787
- # phase_type: "COMPLETED",
788
- # start_time: Time.parse(1479401214.239),
789
- # },
790
- # ],
791
- # project_name: "codebuild-demo-project",
792
- # source: {
793
- # type: "S3",
794
- # location: "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip",
795
- # },
796
- # start_time: Time.parse(1479401081.869),
797
- # timeout_in_minutes: 60,
798
- # },
799
- # ],
800
- # }
801
- #
802
550
  # @example Request syntax with placeholder values
803
551
  #
804
552
  # resp = client.batch_get_builds({
@@ -942,8 +690,8 @@ module Aws::CodeBuild
942
690
  #
943
691
  # @option params [required, Array<String>] :names
944
692
  # The names or ARNs of the build projects. To get information about a
945
- # project shared with your AWS account, its ARN must be specified. You
946
- # cannot specify a shared project using its name.
693
+ # project shared with your Amazon Web Services account, its ARN must be
694
+ # specified. You cannot specify a shared project using its name.
947
695
  #
948
696
  # @return [Types::BatchGetProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
949
697
  #
@@ -1074,7 +822,11 @@ module Aws::CodeBuild
1074
822
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
1075
823
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
1076
824
  # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
825
+ # resp.projects[0].build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1077
826
  # resp.projects[0].concurrent_build_limit #=> Integer
827
+ # resp.projects[0].project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
828
+ # resp.projects[0].public_project_alias #=> String
829
+ # resp.projects[0].resource_access_role #=> String
1078
830
  # resp.projects_not_found #=> Array
1079
831
  # resp.projects_not_found[0] #=> String
1080
832
  #
@@ -1211,7 +963,7 @@ module Aws::CodeBuild
1211
963
  # specified, the latest version is used. If specified, it must be one
1212
964
  # of:
1213
965
  #
1214
- # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
966
+ # * For CodeCommit: the commit ID, branch, or Git tag to use.
1215
967
  #
1216
968
  # * For GitHub: the commit ID, pull request ID, branch name, or tag name
1217
969
  # that corresponds to the version of the source code you want to
@@ -1232,7 +984,7 @@ module Aws::CodeBuild
1232
984
  # takes precedence over this `sourceVersion` (at the project level).
1233
985
  #
1234
986
  # For more information, see [Source Version Sample with CodeBuild][1] in
1235
- # the *AWS CodeBuild User Guide*.
987
+ # the *CodeBuild User Guide*.
1236
988
  #
1237
989
  #
1238
990
  #
@@ -1258,22 +1010,22 @@ module Aws::CodeBuild
1258
1010
  # Information about the build environment for the build project.
1259
1011
  #
1260
1012
  # @option params [required, String] :service_role
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.
1013
+ # The ARN of the IAM role that enables CodeBuild to interact with
1014
+ # dependent Amazon Web Services services on behalf of the Amazon Web
1015
+ # Services account.
1264
1016
  #
1265
1017
  # @option params [Integer] :timeout_in_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.
1018
+ # How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
1019
+ # before it times out any build that has not been marked as completed.
1020
+ # The default is 60 minutes.
1269
1021
  #
1270
1022
  # @option params [Integer] :queued_timeout_in_minutes
1271
1023
  # The number of minutes a build is allowed to be queued before it times
1272
1024
  # out.
1273
1025
  #
1274
1026
  # @option params [String] :encryption_key
1275
- # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
1276
- # be used for encrypting the build output artifacts.
1027
+ # The Key Management Service customer master key (CMK) to be used for
1028
+ # encrypting the build output artifacts.
1277
1029
  #
1278
1030
  # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
1279
1031
  # artifacts if your service role has permission to that key.
@@ -1287,11 +1039,11 @@ module Aws::CodeBuild
1287
1039
  # @option params [Array<Types::Tag>] :tags
1288
1040
  # A list of tag key and value pairs associated with this build project.
1289
1041
  #
1290
- # These tags are available for use by AWS services that support AWS
1291
- # CodeBuild build project tags.
1042
+ # These tags are available for use by Amazon Web Services services that
1043
+ # support CodeBuild build project tags.
1292
1044
  #
1293
1045
  # @option params [Types::VpcConfig] :vpc_config
1294
- # VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
1046
+ # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
1295
1047
  #
1296
1048
  # @option params [Boolean] :badge_enabled
1297
1049
  # Set this to true to generate a publicly accessible URL for your
@@ -1299,8 +1051,7 @@ module Aws::CodeBuild
1299
1051
  #
1300
1052
  # @option params [Types::LogsConfig] :logs_config
1301
1053
  # Information about logs for the build project. These can be logs in
1302
- # Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
1303
- # both.
1054
+ # CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
1304
1055
  #
1305
1056
  # @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
1306
1057
  # An array of `ProjectFileSystemLocation` objects for a CodeBuild build
@@ -1474,6 +1225,7 @@ module Aws::CodeBuild
1474
1225
  # compute_types_allowed: ["NonEmptyString"],
1475
1226
  # },
1476
1227
  # timeout_in_mins: 1,
1228
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
1477
1229
  # },
1478
1230
  # concurrent_build_limit: 1,
1479
1231
  # })
@@ -1595,7 +1347,11 @@ module Aws::CodeBuild
1595
1347
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1596
1348
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1597
1349
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
1350
+ # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
1598
1351
  # resp.project.concurrent_build_limit #=> Integer
1352
+ # resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
1353
+ # resp.project.public_project_alias #=> String
1354
+ # resp.project.resource_access_role #=> String
1599
1355
  #
1600
1356
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
1601
1357
  #
@@ -1622,8 +1378,8 @@ module Aws::CodeBuild
1622
1378
  # @option params [Array<Types::Tag>] :tags
1623
1379
  # A list of tag key and value pairs associated with this report group.
1624
1380
  #
1625
- # These tags are available for use by AWS services that support AWS
1626
- # CodeBuild report group tags.
1381
+ # These tags are available for use by Amazon Web Services services that
1382
+ # support CodeBuild report group tags.
1627
1383
  #
1628
1384
  # @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1629
1385
  #
@@ -1681,26 +1437,26 @@ module Aws::CodeBuild
1681
1437
  req.send_request(options)
1682
1438
  end
1683
1439
 
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.
1440
+ # For an existing CodeBuild build project that has its source code
1441
+ # stored in a GitHub or Bitbucket repository, enables CodeBuild to start
1442
+ # rebuilding the source code every time a code change is pushed to the
1443
+ # repository.
1688
1444
  #
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].
1445
+ # If you enable webhooks for an CodeBuild project, and the project is
1446
+ # used as a build step in CodePipeline, then two identical builds are
1447
+ # created for each commit. One build is triggered through webhooks, and
1448
+ # one through CodePipeline. Because billing is on a per-build basis, you
1449
+ # are billed for both builds. Therefore, if you are using CodePipeline,
1450
+ # we recommend that you disable webhooks in CodeBuild. In the CodeBuild
1451
+ # console, clear the Webhook box. For more information, see step 5 in
1452
+ # [Change a Build Project's Settings][1].
1697
1453
  #
1698
1454
  #
1699
1455
  #
1700
1456
  # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console
1701
1457
  #
1702
1458
  # @option params [required, String] :project_name
1703
- # The name of the AWS CodeBuild project.
1459
+ # The name of the CodeBuild project.
1704
1460
  #
1705
1461
  # @option params [String] :branch_filter
1706
1462
  # A regular expression used to determine which repository branches are
@@ -1939,13 +1695,13 @@ module Aws::CodeBuild
1939
1695
  req.send_request(options)
1940
1696
  end
1941
1697
 
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
1698
+ # For an existing CodeBuild build project that has its source code
1699
+ # stored in a GitHub or Bitbucket repository, stops CodeBuild from
1944
1700
  # rebuilding the source code every time a code change is pushed to the
1945
1701
  # repository.
1946
1702
  #
1947
1703
  # @option params [required, String] :project_name
1948
- # The name of the AWS CodeBuild project.
1704
+ # The name of the CodeBuild project.
1949
1705
  #
1950
1706
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1951
1707
  #
@@ -2226,7 +1982,7 @@ module Aws::CodeBuild
2226
1982
  req.send_request(options)
2227
1983
  end
2228
1984
 
2229
- # Imports the source repository credentials for an AWS CodeBuild project
1985
+ # Imports the source repository credentials for an CodeBuild project
2230
1986
  # that has its source code stored in a GitHub, GitHub Enterprise, or
2231
1987
  # Bitbucket repository.
2232
1988
  #
@@ -2245,8 +2001,7 @@ module Aws::CodeBuild
2245
2001
  # @option params [required, String] :auth_type
2246
2002
  # The type of authentication used to connect to a GitHub, GitHub
2247
2003
  # Enterprise, or Bitbucket repository. An OAUTH connection is not
2248
- # supported by the API and must be created using the AWS CodeBuild
2249
- # console.
2004
+ # supported by the API and must be created using the CodeBuild console.
2250
2005
  #
2251
2006
  # @option params [Boolean] :should_overwrite
2252
2007
  # Set to `false` to prevent overwriting the repository source
@@ -2283,8 +2038,7 @@ module Aws::CodeBuild
2283
2038
  # Resets the cache for a project.
2284
2039
  #
2285
2040
  # @option params [required, String] :project_name
2286
- # The name of the AWS CodeBuild build project that the cache is reset
2287
- # for.
2041
+ # The name of the CodeBuild build project that the cache is reset for.
2288
2042
  #
2289
2043
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2290
2044
  #
@@ -2469,7 +2223,7 @@ module Aws::CodeBuild
2469
2223
  # each build identifier representing a single build.
2470
2224
  #
2471
2225
  # @option params [required, String] :project_name
2472
- # The name of the AWS CodeBuild project.
2226
+ # The name of the CodeBuild project.
2473
2227
  #
2474
2228
  # @option params [String] :sort_order
2475
2229
  # The order to list results in. The results are sorted by build number,
@@ -2523,8 +2277,7 @@ module Aws::CodeBuild
2523
2277
  req.send_request(options)
2524
2278
  end
2525
2279
 
2526
- # Gets information about Docker images that are managed by AWS
2527
- # CodeBuild.
2280
+ # Gets information about Docker images that are managed by CodeBuild.
2528
2281
  #
2529
2282
  # @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2530
2283
  #
@@ -2617,7 +2370,8 @@ module Aws::CodeBuild
2617
2370
  req.send_request(options)
2618
2371
  end
2619
2372
 
2620
- # Gets a list ARNs for the report groups in the current AWS account.
2373
+ # Gets a list ARNs for the report groups in the current Amazon Web
2374
+ # Services account.
2621
2375
  #
2622
2376
  # @option params [String] :sort_order
2623
2377
  # Used to specify the order to sort the list of returned report groups.
@@ -2679,7 +2433,8 @@ module Aws::CodeBuild
2679
2433
  req.send_request(options)
2680
2434
  end
2681
2435
 
2682
- # Returns a list of ARNs for the reports in the current AWS account.
2436
+ # Returns a list of ARNs for the reports in the current Amazon Web
2437
+ # Services account.
2683
2438
  #
2684
2439
  # @option params [String] :sort_order
2685
2440
  # Specifies the sort order for the list of returned reports. Valid
@@ -2801,12 +2556,12 @@ module Aws::CodeBuild
2801
2556
  req.send_request(options)
2802
2557
  end
2803
2558
 
2804
- # Gets a list of projects that are shared with other AWS accounts or
2805
- # users.
2559
+ # Gets a list of projects that are shared with other Amazon Web Services
2560
+ # accounts or users.
2806
2561
  #
2807
2562
  # @option params [String] :sort_by
2808
2563
  # The criterion to be used to list build projects shared with the
2809
- # current AWS account or user. Valid values include:
2564
+ # current Amazon Web Services account or user. Valid values include:
2810
2565
  #
2811
2566
  # * `ARN`\: List based on the ARN.
2812
2567
  #
@@ -2866,8 +2621,8 @@ module Aws::CodeBuild
2866
2621
  req.send_request(options)
2867
2622
  end
2868
2623
 
2869
- # Gets a list of report groups that are shared with other AWS accounts
2870
- # or users.
2624
+ # Gets a list of report groups that are shared with other Amazon Web
2625
+ # Services accounts or users.
2871
2626
  #
2872
2627
  # @option params [String] :sort_order
2873
2628
  # The order in which to list shared report groups. Valid values include:
@@ -2878,7 +2633,7 @@ module Aws::CodeBuild
2878
2633
  #
2879
2634
  # @option params [String] :sort_by
2880
2635
  # The criterion to be used to list report groups shared with the current
2881
- # AWS account or user. Valid values include:
2636
+ # Amazon Web Services account or user. Valid values include:
2882
2637
  #
2883
2638
  # * `ARN`\: List based on the ARN.
2884
2639
  #
@@ -2957,7 +2712,7 @@ module Aws::CodeBuild
2957
2712
  #
2958
2713
  # @option params [required, String] :policy
2959
2714
  # A JSON-formatted resource policy. For more information, see [Sharing a
2960
- # Project][1] and [Sharing a Report Group][2] in the *AWS CodeBuild User
2715
+ # Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
2961
2716
  # Guide*.
2962
2717
  #
2963
2718
  #
@@ -3002,7 +2757,7 @@ module Aws::CodeBuild
3002
2757
  # A unique, case sensitive identifier you provide to ensure the
3003
2758
  # idempotency of the `RetryBuild` request. The token is included in the
3004
2759
  # `RetryBuild` request and is valid for five minutes. If you repeat the
3005
- # `RetryBuild` request with the same token, but change a parameter, AWS
2760
+ # `RetryBuild` request with the same token, but change a parameter,
3006
2761
  # CodeBuild returns a parameter mismatch error.
3007
2762
  #
3008
2763
  # @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -3157,7 +2912,7 @@ module Aws::CodeBuild
3157
2912
  # idempotency of the `RetryBuildBatch` request. The token is included in
3158
2913
  # the `RetryBuildBatch` request and is valid for five minutes. If you
3159
2914
  # repeat the `RetryBuildBatch` request with the same token, but change a
3160
- # parameter, AWS CodeBuild returns a parameter mismatch error.
2915
+ # parameter, CodeBuild returns a parameter mismatch error.
3161
2916
  #
3162
2917
  # @option params [String] :retry_type
3163
2918
  # Specifies the type of retry to perform.
@@ -3284,6 +3039,7 @@ module Aws::CodeBuild
3284
3039
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
3285
3040
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
3286
3041
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
3042
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
3287
3043
  # resp.build_batch.build_groups #=> Array
3288
3044
  # resp.build_batch.build_groups[0].identifier #=> String
3289
3045
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -3324,7 +3080,7 @@ module Aws::CodeBuild
3324
3080
  # Starts running a build.
3325
3081
  #
3326
3082
  # @option params [required, String] :project_name
3327
- # The name of the AWS CodeBuild build project to start running a build.
3083
+ # The name of the CodeBuild build project to start running a build.
3328
3084
  #
3329
3085
  # @option params [Array<Types::ProjectSource>] :secondary_sources_override
3330
3086
  # An array of `ProjectSource` objects.
@@ -3339,7 +3095,7 @@ module Aws::CodeBuild
3339
3095
  # not specified, the latest version is used. If specified, the contents
3340
3096
  # depends on the source provider:
3341
3097
  #
3342
- # AWS CodeCommit
3098
+ # CodeCommit
3343
3099
  #
3344
3100
  # : The commit ID, branch, or Git tag to use.
3345
3101
  #
@@ -3368,7 +3124,7 @@ module Aws::CodeBuild
3368
3124
  # `sourceVersion` (at the build level) takes precedence.
3369
3125
  #
3370
3126
  # For more information, see [Source Version Sample with CodeBuild][1] in
3371
- # the *AWS CodeBuild User Guide*.
3127
+ # the *CodeBuild User Guide*.
3372
3128
  #
3373
3129
  #
3374
3130
  #
@@ -3405,7 +3161,7 @@ module Aws::CodeBuild
3405
3161
  #
3406
3162
  # @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
3407
3163
  # Information about the Git submodules configuration for this build of
3408
- # an AWS CodeBuild build project.
3164
+ # an CodeBuild build project.
3409
3165
  #
3410
3166
  # @option params [String] :buildspec_override
3411
3167
  # A buildspec file declaration that overrides, for this build only, the
@@ -3414,12 +3170,12 @@ module Aws::CodeBuild
3414
3170
  # If this value is set, it can be either an inline buildspec definition,
3415
3171
  # the path to an alternate buildspec file relative to the value of the
3416
3172
  # built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
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,
3419
- # `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
3420
- # not provided or is set to an empty string, the source code must
3421
- # contain a buildspec file in its root directory. For more information,
3422
- # see [Buildspec File Name and Storage Location][1].
3173
+ # S3 bucket. The bucket must be in the same Amazon Web Services Region
3174
+ # as the build project. Specify the buildspec file using its ARN (for
3175
+ # example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
3176
+ # value is not provided or is set to an empty string, the source code
3177
+ # must contain a buildspec file in its root directory. For more
3178
+ # information, see [Buildspec File Name and Storage Location][1].
3423
3179
  #
3424
3180
  #
3425
3181
  #
@@ -3442,7 +3198,7 @@ module Aws::CodeBuild
3442
3198
  # associated with the source provider must have write access to the
3443
3199
  # repo. If the user does not have write access, the build status cannot
3444
3200
  # be updated. For more information, see [Source provider access][1] in
3445
- # the *AWS CodeBuild User Guide*.
3201
+ # the *CodeBuild User Guide*.
3446
3202
  #
3447
3203
  # <note markdown="1"> The status of a build triggered by a webhook is always reported to
3448
3204
  # your source provider.
@@ -3495,9 +3251,9 @@ module Aws::CodeBuild
3495
3251
  # out.
3496
3252
  #
3497
3253
  # @option params [String] :encryption_key_override
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.
3254
+ # The Key Management Service customer master key (CMK) that overrides
3255
+ # the one specified in the build project. The CMK key encrypts the build
3256
+ # output artifacts.
3501
3257
  #
3502
3258
  # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
3503
3259
  # artifacts if your service role has permission to that key.
@@ -3512,7 +3268,7 @@ module Aws::CodeBuild
3512
3268
  # A unique, case sensitive identifier you provide to ensure the
3513
3269
  # idempotency of the StartBuild request. The token is included in the
3514
3270
  # StartBuild request and is valid for 5 minutes. If you repeat the
3515
- # StartBuild request with the same token, but change a parameter, AWS
3271
+ # StartBuild request with the same token, but change a parameter,
3516
3272
  # CodeBuild returns a parameter mismatch error.
3517
3273
  #
3518
3274
  # @option params [Types::LogsConfig] :logs_config_override
@@ -3523,23 +3279,22 @@ module Aws::CodeBuild
3523
3279
  # The credentials for access to a private registry.
3524
3280
  #
3525
3281
  # @option params [String] :image_pull_credentials_type_override
3526
- # The type of credentials AWS CodeBuild uses to pull images in your
3527
- # build. There are two valid values:
3282
+ # The type of credentials CodeBuild uses to pull images in your build.
3283
+ # There are two valid values:
3528
3284
  #
3529
3285
  # CODEBUILD
3530
3286
  #
3531
- # : Specifies that AWS CodeBuild uses its own credentials. This requires
3532
- # that you modify your ECR repository policy to trust AWS CodeBuild's
3287
+ # : Specifies that CodeBuild uses its own credentials. This requires
3288
+ # that you modify your ECR repository policy to trust CodeBuild's
3533
3289
  # service principal.
3534
3290
  #
3535
3291
  # SERVICE\_ROLE
3536
3292
  #
3537
- # : Specifies that AWS CodeBuild uses your build project's service
3538
- # role.
3293
+ # : Specifies that CodeBuild uses your build project's service role.
3539
3294
  #
3540
3295
  # When using a cross-account or private registry image, you must use
3541
- # `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
3542
- # you must use `CODEBUILD` credentials.
3296
+ # `SERVICE_ROLE` credentials. When using an CodeBuild curated image, you
3297
+ # must use `CODEBUILD` credentials.
3543
3298
  #
3544
3299
  # @option params [Boolean] :debug_session_enabled
3545
3300
  # Specifies if session debugging is enabled for this build. For more
@@ -3820,7 +3575,7 @@ module Aws::CodeBuild
3820
3575
  # If not specified, the latest version is used. If specified, the
3821
3576
  # contents depends on the source provider:
3822
3577
  #
3823
- # AWS CodeCommit
3578
+ # CodeCommit
3824
3579
  #
3825
3580
  # : The commit ID, branch, or Git tag to use.
3826
3581
  #
@@ -3849,7 +3604,7 @@ module Aws::CodeBuild
3849
3604
  # `sourceVersion` (at the build level) takes precedence.
3850
3605
  #
3851
3606
  # For more information, see [Source Version Sample with CodeBuild][1] in
3852
- # the *AWS CodeBuild User Guide*.
3607
+ # the *CodeBuild User Guide*.
3853
3608
  #
3854
3609
  #
3855
3610
  #
@@ -3896,12 +3651,12 @@ module Aws::CodeBuild
3896
3651
  # If this value is set, it can be either an inline buildspec definition,
3897
3652
  # the path to an alternate buildspec file relative to the value of the
3898
3653
  # built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
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,
3901
- # `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
3902
- # not provided or is set to an empty string, the source code must
3903
- # contain a buildspec file in its root directory. For more information,
3904
- # see [Buildspec File Name and Storage Location][1].
3654
+ # S3 bucket. The bucket must be in the same Amazon Web Services Region
3655
+ # as the build project. Specify the buildspec file using its ARN (for
3656
+ # example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
3657
+ # value is not provided or is set to an empty string, the source code
3658
+ # must contain a buildspec file in its root directory. For more
3659
+ # information, see [Buildspec File Name and Storage Location][1].
3905
3660
  #
3906
3661
  #
3907
3662
  #
@@ -3960,9 +3715,9 @@ module Aws::CodeBuild
3960
3715
  # times out.
3961
3716
  #
3962
3717
  # @option params [String] :encryption_key_override
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.
3718
+ # The Key Management Service customer master key (CMK) that overrides
3719
+ # the one specified in the batch build project. The CMK key encrypts the
3720
+ # build output artifacts.
3966
3721
  #
3967
3722
  # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
3968
3723
  # artifacts if your service role has permission to that key.
@@ -3978,7 +3733,7 @@ module Aws::CodeBuild
3978
3733
  # idempotency of the `StartBuildBatch` request. The token is included in
3979
3734
  # the `StartBuildBatch` request and is valid for five minutes. If you
3980
3735
  # repeat the `StartBuildBatch` request with the same token, but change a
3981
- # parameter, AWS CodeBuild returns a parameter mismatch error.
3736
+ # parameter, CodeBuild returns a parameter mismatch error.
3982
3737
  #
3983
3738
  # @option params [Types::LogsConfig] :logs_config_override
3984
3739
  # A `LogsConfig` object that override the log settings defined in the
@@ -3989,23 +3744,22 @@ module Aws::CodeBuild
3989
3744
  # a private registry.
3990
3745
  #
3991
3746
  # @option params [String] :image_pull_credentials_type_override
3992
- # The type of credentials AWS CodeBuild uses to pull images in your
3993
- # batch build. There are two valid values:
3747
+ # The type of credentials CodeBuild uses to pull images in your batch
3748
+ # build. There are two valid values:
3994
3749
  #
3995
3750
  # CODEBUILD
3996
3751
  #
3997
- # : Specifies that AWS CodeBuild uses its own credentials. This requires
3998
- # that you modify your ECR repository policy to trust AWS CodeBuild's
3752
+ # : Specifies that CodeBuild uses its own credentials. This requires
3753
+ # that you modify your ECR repository policy to trust CodeBuild's
3999
3754
  # service principal.
4000
3755
  #
4001
3756
  # SERVICE\_ROLE
4002
3757
  #
4003
- # : Specifies that AWS CodeBuild uses your build project's service
4004
- # role.
3758
+ # : Specifies that CodeBuild uses your build project's service role.
4005
3759
  #
4006
3760
  # When using a cross-account or private registry image, you must use
4007
- # `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
4008
- # you must use `CODEBUILD` credentials.
3761
+ # `SERVICE_ROLE` credentials. When using an CodeBuild curated image, you
3762
+ # must use `CODEBUILD` credentials.
4009
3763
  #
4010
3764
  # @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
4011
3765
  # A `BuildBatchConfigOverride` object that contains batch build
@@ -4144,6 +3898,7 @@ module Aws::CodeBuild
4144
3898
  # compute_types_allowed: ["NonEmptyString"],
4145
3899
  # },
4146
3900
  # timeout_in_mins: 1,
3901
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
4147
3902
  # },
4148
3903
  # debug_session_enabled: false,
4149
3904
  # })
@@ -4258,6 +4013,7 @@ module Aws::CodeBuild
4258
4013
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4259
4014
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4260
4015
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4016
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4261
4017
  # resp.build_batch.build_groups #=> Array
4262
4018
  # resp.build_batch.build_groups[0].identifier #=> String
4263
4019
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -4565,6 +4321,7 @@ module Aws::CodeBuild
4565
4321
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4566
4322
  # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4567
4323
  # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4324
+ # resp.build_batch.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
4568
4325
  # resp.build_batch.build_groups #=> Array
4569
4326
  # resp.build_batch.build_groups[0].identifier #=> String
4570
4327
  # resp.build_batch.build_groups[0].depends_on #=> Array
@@ -4626,7 +4383,7 @@ module Aws::CodeBuild
4626
4383
  # specified, the latest version is used. If specified, it must be one
4627
4384
  # of:
4628
4385
  #
4629
- # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
4386
+ # * For CodeCommit: the commit ID, branch, or Git tag to use.
4630
4387
  #
4631
4388
  # * For GitHub: the commit ID, pull request ID, branch name, or tag name
4632
4389
  # that corresponds to the version of the source code you want to
@@ -4647,7 +4404,7 @@ module Aws::CodeBuild
4647
4404
  # takes precedence over this `sourceVersion` (at the project level).
4648
4405
  #
4649
4406
  # For more information, see [Source Version Sample with CodeBuild][1] in
4650
- # the *AWS CodeBuild User Guide*.
4407
+ # the *CodeBuild User Guide*.
4651
4408
  #
4652
4409
  #
4653
4410
  #
@@ -4674,12 +4431,12 @@ module Aws::CodeBuild
4674
4431
  # project.
4675
4432
  #
4676
4433
  # @option params [String] :service_role
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.
4434
+ # The replacement ARN of the IAM role that enables CodeBuild to interact
4435
+ # with dependent Amazon Web Services services on behalf of the Amazon
4436
+ # Web Services account.
4680
4437
  #
4681
4438
  # @option params [Integer] :timeout_in_minutes
4682
- # The replacement value in minutes, from 5 to 480 (8 hours), for AWS
4439
+ # The replacement value in minutes, from 5 to 480 (8 hours), for
4683
4440
  # CodeBuild to wait before timing out any related build that did not get
4684
4441
  # marked as completed.
4685
4442
  #
@@ -4688,8 +4445,8 @@ module Aws::CodeBuild
4688
4445
  # out.
4689
4446
  #
4690
4447
  # @option params [String] :encryption_key
4691
- # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
4692
- # be used for encrypting the build output artifacts.
4448
+ # The Key Management Service customer master key (CMK) to be used for
4449
+ # encrypting the build output artifacts.
4693
4450
  #
4694
4451
  # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
4695
4452
  # artifacts if your service role has permission to that key.
@@ -4704,11 +4461,11 @@ module Aws::CodeBuild
4704
4461
  # An updated list of tag key and value pairs associated with this build
4705
4462
  # project.
4706
4463
  #
4707
- # These tags are available for use by AWS services that support AWS
4708
- # CodeBuild build project tags.
4464
+ # These tags are available for use by Amazon Web Services services that
4465
+ # support CodeBuild build project tags.
4709
4466
  #
4710
4467
  # @option params [Types::VpcConfig] :vpc_config
4711
- # VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
4468
+ # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
4712
4469
  #
4713
4470
  # @option params [Boolean] :badge_enabled
4714
4471
  # Set this to true to generate a publicly accessible URL for your
@@ -4716,7 +4473,7 @@ module Aws::CodeBuild
4716
4473
  #
4717
4474
  # @option params [Types::LogsConfig] :logs_config
4718
4475
  # Information about logs for the build project. A project can create
4719
- # logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
4476
+ # logs in CloudWatch Logs, logs in an S3 bucket, or both.
4720
4477
  #
4721
4478
  # @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
4722
4479
  # An array of `ProjectFileSystemLocation` objects for a CodeBuild build
@@ -4891,6 +4648,7 @@ module Aws::CodeBuild
4891
4648
  # compute_types_allowed: ["NonEmptyString"],
4892
4649
  # },
4893
4650
  # timeout_in_mins: 1,
4651
+ # batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
4894
4652
  # },
4895
4653
  # concurrent_build_limit: 1,
4896
4654
  # })
@@ -5012,7 +4770,11 @@ module Aws::CodeBuild
5012
4770
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
5013
4771
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
5014
4772
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
4773
+ # resp.project.build_batch_config.batch_report_mode #=> String, one of "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH"
5015
4774
  # resp.project.concurrent_build_limit #=> Integer
4775
+ # resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
4776
+ # resp.project.public_project_alias #=> String
4777
+ # resp.project.resource_access_role #=> String
5016
4778
  #
5017
4779
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
5018
4780
  #
@@ -5023,6 +4785,92 @@ module Aws::CodeBuild
5023
4785
  req.send_request(options)
5024
4786
  end
5025
4787
 
4788
+ # Changes the public visibility for a project. The project's build
4789
+ # results, logs, and artifacts are available to the general public. For
4790
+ # more information, see [Public build projects][1] in the *CodeBuild
4791
+ # User Guide*.
4792
+ #
4793
+ # The following should be kept in mind when making your projects public:
4794
+ #
4795
+ # * All of a project's build results, logs, and artifacts, including
4796
+ # builds that were run when the project was private, are available to
4797
+ # the general public.
4798
+ #
4799
+ # * All build logs and artifacts are available to the public.
4800
+ # Environment variables, source code, and other sensitive information
4801
+ # may have been output to the build logs and artifacts. You must be
4802
+ # careful about what information is output to the build logs. Some
4803
+ # best practice are:
4804
+ #
4805
+ # * Do not store sensitive values, especially Amazon Web Services
4806
+ # access key IDs and secret access keys, in environment variables.
4807
+ # We recommend that you use an Amazon EC2 Systems Manager Parameter
4808
+ # Store or Secrets Manager to store sensitive values.
4809
+ #
4810
+ # * Follow [Best practices for using webhooks][2] in the *CodeBuild
4811
+ # User Guide* to limit which entities can trigger a build, and do
4812
+ # not store the buildspec in the project itself, to ensure that your
4813
+ # webhooks are as secure as possible.
4814
+ #
4815
+ # * A malicious user can use public builds to distribute malicious
4816
+ # artifacts. We recommend that you review all pull requests to verify
4817
+ # that the pull request is a legitimate change. We also recommend that
4818
+ # you validate any artifacts with their checksums to make sure that
4819
+ # the correct artifacts are being downloaded.
4820
+ #
4821
+ #
4822
+ #
4823
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/public-builds.html
4824
+ # [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices
4825
+ #
4826
+ # @option params [required, String] :project_arn
4827
+ # The Amazon Resource Name (ARN) of the build project.
4828
+ #
4829
+ # @option params [required, String] :project_visibility
4830
+ # Specifies the visibility of the project's builds. Possible values
4831
+ # are:
4832
+ #
4833
+ # PUBLIC\_READ
4834
+ #
4835
+ # : The project builds are visible to the public.
4836
+ #
4837
+ # PRIVATE
4838
+ #
4839
+ # : The project builds are not visible to the public.
4840
+ #
4841
+ # @option params [String] :resource_access_role
4842
+ # The ARN of the IAM role that enables CodeBuild to access the
4843
+ # CloudWatch Logs and Amazon S3 artifacts for the project's builds.
4844
+ #
4845
+ # @return [Types::UpdateProjectVisibilityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4846
+ #
4847
+ # * {Types::UpdateProjectVisibilityOutput#project_arn #project_arn} => String
4848
+ # * {Types::UpdateProjectVisibilityOutput#public_project_alias #public_project_alias} => String
4849
+ # * {Types::UpdateProjectVisibilityOutput#project_visibility #project_visibility} => String
4850
+ #
4851
+ # @example Request syntax with placeholder values
4852
+ #
4853
+ # resp = client.update_project_visibility({
4854
+ # project_arn: "NonEmptyString", # required
4855
+ # project_visibility: "PUBLIC_READ", # required, accepts PUBLIC_READ, PRIVATE
4856
+ # resource_access_role: "NonEmptyString",
4857
+ # })
4858
+ #
4859
+ # @example Response structure
4860
+ #
4861
+ # resp.project_arn #=> String
4862
+ # resp.public_project_alias #=> String
4863
+ # resp.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
4864
+ #
4865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibility AWS API Documentation
4866
+ #
4867
+ # @overload update_project_visibility(params = {})
4868
+ # @param [Hash] params ({})
4869
+ def update_project_visibility(params = {}, options = {})
4870
+ req = build_request(:update_project_visibility, params)
4871
+ req.send_request(options)
4872
+ end
4873
+
5026
4874
  # Updates a report group.
5027
4875
  #
5028
4876
  # @option params [required, String] :arn
@@ -5039,8 +4887,8 @@ module Aws::CodeBuild
5039
4887
  # An updated list of tag key and value pairs associated with this report
5040
4888
  # group.
5041
4889
  #
5042
- # These tags are available for use by AWS services that support AWS
5043
- # CodeBuild report group tags.
4890
+ # These tags are available for use by Amazon Web Services services that
4891
+ # support CodeBuild report group tags.
5044
4892
  #
5045
4893
  # @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5046
4894
  #
@@ -5097,14 +4945,14 @@ module Aws::CodeBuild
5097
4945
  req.send_request(options)
5098
4946
  end
5099
4947
 
5100
- # Updates the webhook associated with an AWS CodeBuild build project.
4948
+ # Updates the webhook associated with an CodeBuild build project.
5101
4949
  #
5102
4950
  # <note markdown="1"> If you use Bitbucket for your repository, `rotateSecret` is ignored.
5103
4951
  #
5104
4952
  # </note>
5105
4953
  #
5106
4954
  # @option params [required, String] :project_name
5107
- # The name of the AWS CodeBuild project.
4955
+ # The name of the CodeBuild project.
5108
4956
  #
5109
4957
  # @option params [String] :branch_filter
5110
4958
  # A regular expression used to determine which repository branches are
@@ -5188,7 +5036,7 @@ module Aws::CodeBuild
5188
5036
  params: params,
5189
5037
  config: config)
5190
5038
  context[:gem_name] = 'aws-sdk-codebuild'
5191
- context[:gem_version] = '1.74.0'
5039
+ context[:gem_version] = '1.78.0'
5192
5040
  Seahorse::Client::Request.new(handlers, context)
5193
5041
  end
5194
5042