aws-sdk-codebuild 1.76.0 → 1.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +205 -367
- data/lib/aws-sdk-codebuild/client_api.rb +26 -0
- data/lib/aws-sdk-codebuild/types.rb +498 -356
- data/lib/aws-sdk-codebuild.rb +1 -1
- 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: 6c516510bb2c723ce072f2c10496523debe7aca1cccb41f56bdcb56fc602ac62
|
4
|
+
data.tar.gz: 1c8d3abef00ad33016a3a7703f59d9ceeec726cabf0f0e882e3f2f1a3eca8b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac31ee10aca654614495ba3aa3960fa58b4ef882b972045ee6d534140afb7e48ddcc428145c141e3d780548525804afb300da03961247c3e5eb8dfe926325ba
|
7
|
+
data.tar.gz: bfd270039db5ffbd988fc261d806c49644e3251b32a039eb523bdcfd034a3d072870c6b804e9796b745d76789f1e174a5f5b48abe09b93c0bfb1dd8eaaeb4b12
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2021-08-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for CodeBuild
|
8
|
+
|
9
|
+
1.79.0 (2021-08-18)
|
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.78.0 (2021-08-16)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project.
|
18
|
+
|
19
|
+
1.77.0 (2021-08-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.76.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -546,259 +546,6 @@ module Aws::CodeBuild
|
|
546
546
|
# * {Types::BatchGetBuildsOutput#builds #builds} => Array<Types::Build>
|
547
547
|
# * {Types::BatchGetBuildsOutput#builds_not_found #builds_not_found} => Array<String>
|
548
548
|
#
|
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
549
|
# @example Request syntax with placeholder values
|
803
550
|
#
|
804
551
|
# resp = client.batch_get_builds({
|
@@ -942,8 +689,8 @@ module Aws::CodeBuild
|
|
942
689
|
#
|
943
690
|
# @option params [required, Array<String>] :names
|
944
691
|
# The names or ARNs of the build projects. To get information about a
|
945
|
-
# project shared with your
|
946
|
-
# cannot specify a shared project using its name.
|
692
|
+
# project shared with your Amazon Web Services account, its ARN must be
|
693
|
+
# specified. You cannot specify a shared project using its name.
|
947
694
|
#
|
948
695
|
# @return [Types::BatchGetProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
949
696
|
#
|
@@ -1075,6 +822,9 @@ module Aws::CodeBuild
|
|
1075
822
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1076
823
|
# resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
|
1077
824
|
# resp.projects[0].concurrent_build_limit #=> Integer
|
825
|
+
# resp.projects[0].project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
826
|
+
# resp.projects[0].public_project_alias #=> String
|
827
|
+
# resp.projects[0].resource_access_role #=> String
|
1078
828
|
# resp.projects_not_found #=> Array
|
1079
829
|
# resp.projects_not_found[0] #=> String
|
1080
830
|
#
|
@@ -1211,7 +961,7 @@ module Aws::CodeBuild
|
|
1211
961
|
# specified, the latest version is used. If specified, it must be one
|
1212
962
|
# of:
|
1213
963
|
#
|
1214
|
-
# * For
|
964
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
1215
965
|
#
|
1216
966
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
1217
967
|
# that corresponds to the version of the source code you want to
|
@@ -1232,7 +982,7 @@ module Aws::CodeBuild
|
|
1232
982
|
# takes precedence over this `sourceVersion` (at the project level).
|
1233
983
|
#
|
1234
984
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
1235
|
-
# the *
|
985
|
+
# the *CodeBuild User Guide*.
|
1236
986
|
#
|
1237
987
|
#
|
1238
988
|
#
|
@@ -1258,22 +1008,22 @@ module Aws::CodeBuild
|
|
1258
1008
|
# Information about the build environment for the build project.
|
1259
1009
|
#
|
1260
1010
|
# @option params [required, String] :service_role
|
1261
|
-
# The ARN of the
|
1262
|
-
#
|
1263
|
-
#
|
1011
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
1012
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
1013
|
+
# Services account.
|
1264
1014
|
#
|
1265
1015
|
# @option params [Integer] :timeout_in_minutes
|
1266
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
1267
|
-
#
|
1268
|
-
#
|
1016
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
1017
|
+
# before it times out any build that has not been marked as completed.
|
1018
|
+
# The default is 60 minutes.
|
1269
1019
|
#
|
1270
1020
|
# @option params [Integer] :queued_timeout_in_minutes
|
1271
1021
|
# The number of minutes a build is allowed to be queued before it times
|
1272
1022
|
# out.
|
1273
1023
|
#
|
1274
1024
|
# @option params [String] :encryption_key
|
1275
|
-
# The
|
1276
|
-
#
|
1025
|
+
# The Key Management Service customer master key (CMK) to be used for
|
1026
|
+
# encrypting the build output artifacts.
|
1277
1027
|
#
|
1278
1028
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
1279
1029
|
# artifacts if your service role has permission to that key.
|
@@ -1287,11 +1037,11 @@ module Aws::CodeBuild
|
|
1287
1037
|
# @option params [Array<Types::Tag>] :tags
|
1288
1038
|
# A list of tag key and value pairs associated with this build project.
|
1289
1039
|
#
|
1290
|
-
# These tags are available for use by
|
1291
|
-
# CodeBuild build project tags.
|
1040
|
+
# These tags are available for use by Amazon Web Services services that
|
1041
|
+
# support CodeBuild build project tags.
|
1292
1042
|
#
|
1293
1043
|
# @option params [Types::VpcConfig] :vpc_config
|
1294
|
-
# VpcConfig enables
|
1044
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
1295
1045
|
#
|
1296
1046
|
# @option params [Boolean] :badge_enabled
|
1297
1047
|
# Set this to true to generate a publicly accessible URL for your
|
@@ -1299,8 +1049,7 @@ module Aws::CodeBuild
|
|
1299
1049
|
#
|
1300
1050
|
# @option params [Types::LogsConfig] :logs_config
|
1301
1051
|
# Information about logs for the build project. These can be logs in
|
1302
|
-
#
|
1303
|
-
# both.
|
1052
|
+
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
|
1304
1053
|
#
|
1305
1054
|
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
1306
1055
|
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
@@ -1596,6 +1345,9 @@ module Aws::CodeBuild
|
|
1596
1345
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1597
1346
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1598
1347
|
# resp.project.concurrent_build_limit #=> Integer
|
1348
|
+
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
1349
|
+
# resp.project.public_project_alias #=> String
|
1350
|
+
# resp.project.resource_access_role #=> String
|
1599
1351
|
#
|
1600
1352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1601
1353
|
#
|
@@ -1622,8 +1374,8 @@ module Aws::CodeBuild
|
|
1622
1374
|
# @option params [Array<Types::Tag>] :tags
|
1623
1375
|
# A list of tag key and value pairs associated with this report group.
|
1624
1376
|
#
|
1625
|
-
# These tags are available for use by
|
1626
|
-
# CodeBuild report group tags.
|
1377
|
+
# These tags are available for use by Amazon Web Services services that
|
1378
|
+
# support CodeBuild report group tags.
|
1627
1379
|
#
|
1628
1380
|
# @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1629
1381
|
#
|
@@ -1681,26 +1433,26 @@ module Aws::CodeBuild
|
|
1681
1433
|
req.send_request(options)
|
1682
1434
|
end
|
1683
1435
|
|
1684
|
-
# For an existing
|
1685
|
-
# stored in a GitHub or Bitbucket repository, enables
|
1686
|
-
#
|
1687
|
-
#
|
1436
|
+
# For an existing CodeBuild build project that has its source code
|
1437
|
+
# stored in a GitHub or Bitbucket repository, enables CodeBuild to start
|
1438
|
+
# rebuilding the source code every time a code change is pushed to the
|
1439
|
+
# repository.
|
1688
1440
|
#
|
1689
|
-
# If you enable webhooks for an
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1441
|
+
# If you enable webhooks for an CodeBuild project, and the project is
|
1442
|
+
# used as a build step in CodePipeline, then two identical builds are
|
1443
|
+
# created for each commit. One build is triggered through webhooks, and
|
1444
|
+
# one through CodePipeline. Because billing is on a per-build basis, you
|
1445
|
+
# are billed for both builds. Therefore, if you are using CodePipeline,
|
1446
|
+
# we recommend that you disable webhooks in CodeBuild. In the CodeBuild
|
1447
|
+
# console, clear the Webhook box. For more information, see step 5 in
|
1448
|
+
# [Change a Build Project's Settings][1].
|
1697
1449
|
#
|
1698
1450
|
#
|
1699
1451
|
#
|
1700
1452
|
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console
|
1701
1453
|
#
|
1702
1454
|
# @option params [required, String] :project_name
|
1703
|
-
# The name of the
|
1455
|
+
# The name of the CodeBuild project.
|
1704
1456
|
#
|
1705
1457
|
# @option params [String] :branch_filter
|
1706
1458
|
# A regular expression used to determine which repository branches are
|
@@ -1939,13 +1691,13 @@ module Aws::CodeBuild
|
|
1939
1691
|
req.send_request(options)
|
1940
1692
|
end
|
1941
1693
|
|
1942
|
-
# For an existing
|
1943
|
-
# stored in a GitHub or Bitbucket repository, stops
|
1694
|
+
# For an existing CodeBuild build project that has its source code
|
1695
|
+
# stored in a GitHub or Bitbucket repository, stops CodeBuild from
|
1944
1696
|
# rebuilding the source code every time a code change is pushed to the
|
1945
1697
|
# repository.
|
1946
1698
|
#
|
1947
1699
|
# @option params [required, String] :project_name
|
1948
|
-
# The name of the
|
1700
|
+
# The name of the CodeBuild project.
|
1949
1701
|
#
|
1950
1702
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1951
1703
|
#
|
@@ -2226,7 +1978,7 @@ module Aws::CodeBuild
|
|
2226
1978
|
req.send_request(options)
|
2227
1979
|
end
|
2228
1980
|
|
2229
|
-
# Imports the source repository credentials for an
|
1981
|
+
# Imports the source repository credentials for an CodeBuild project
|
2230
1982
|
# that has its source code stored in a GitHub, GitHub Enterprise, or
|
2231
1983
|
# Bitbucket repository.
|
2232
1984
|
#
|
@@ -2245,8 +1997,7 @@ module Aws::CodeBuild
|
|
2245
1997
|
# @option params [required, String] :auth_type
|
2246
1998
|
# The type of authentication used to connect to a GitHub, GitHub
|
2247
1999
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
2248
|
-
# supported by the API and must be created using the
|
2249
|
-
# console.
|
2000
|
+
# supported by the API and must be created using the CodeBuild console.
|
2250
2001
|
#
|
2251
2002
|
# @option params [Boolean] :should_overwrite
|
2252
2003
|
# Set to `false` to prevent overwriting the repository source
|
@@ -2283,8 +2034,7 @@ module Aws::CodeBuild
|
|
2283
2034
|
# Resets the cache for a project.
|
2284
2035
|
#
|
2285
2036
|
# @option params [required, String] :project_name
|
2286
|
-
# The name of the
|
2287
|
-
# for.
|
2037
|
+
# The name of the CodeBuild build project that the cache is reset for.
|
2288
2038
|
#
|
2289
2039
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2290
2040
|
#
|
@@ -2469,7 +2219,7 @@ module Aws::CodeBuild
|
|
2469
2219
|
# each build identifier representing a single build.
|
2470
2220
|
#
|
2471
2221
|
# @option params [required, String] :project_name
|
2472
|
-
# The name of the
|
2222
|
+
# The name of the CodeBuild project.
|
2473
2223
|
#
|
2474
2224
|
# @option params [String] :sort_order
|
2475
2225
|
# The order to list results in. The results are sorted by build number,
|
@@ -2523,8 +2273,7 @@ module Aws::CodeBuild
|
|
2523
2273
|
req.send_request(options)
|
2524
2274
|
end
|
2525
2275
|
|
2526
|
-
# Gets information about Docker images that are managed by
|
2527
|
-
# CodeBuild.
|
2276
|
+
# Gets information about Docker images that are managed by CodeBuild.
|
2528
2277
|
#
|
2529
2278
|
# @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2530
2279
|
#
|
@@ -2617,7 +2366,8 @@ module Aws::CodeBuild
|
|
2617
2366
|
req.send_request(options)
|
2618
2367
|
end
|
2619
2368
|
|
2620
|
-
# Gets a list ARNs for the report groups in the current
|
2369
|
+
# Gets a list ARNs for the report groups in the current Amazon Web
|
2370
|
+
# Services account.
|
2621
2371
|
#
|
2622
2372
|
# @option params [String] :sort_order
|
2623
2373
|
# Used to specify the order to sort the list of returned report groups.
|
@@ -2679,7 +2429,8 @@ module Aws::CodeBuild
|
|
2679
2429
|
req.send_request(options)
|
2680
2430
|
end
|
2681
2431
|
|
2682
|
-
# Returns a list of ARNs for the reports in the current
|
2432
|
+
# Returns a list of ARNs for the reports in the current Amazon Web
|
2433
|
+
# Services account.
|
2683
2434
|
#
|
2684
2435
|
# @option params [String] :sort_order
|
2685
2436
|
# Specifies the sort order for the list of returned reports. Valid
|
@@ -2801,12 +2552,12 @@ module Aws::CodeBuild
|
|
2801
2552
|
req.send_request(options)
|
2802
2553
|
end
|
2803
2554
|
|
2804
|
-
# Gets a list of projects that are shared with other
|
2805
|
-
# users.
|
2555
|
+
# Gets a list of projects that are shared with other Amazon Web Services
|
2556
|
+
# accounts or users.
|
2806
2557
|
#
|
2807
2558
|
# @option params [String] :sort_by
|
2808
2559
|
# The criterion to be used to list build projects shared with the
|
2809
|
-
# current
|
2560
|
+
# current Amazon Web Services account or user. Valid values include:
|
2810
2561
|
#
|
2811
2562
|
# * `ARN`\: List based on the ARN.
|
2812
2563
|
#
|
@@ -2866,8 +2617,8 @@ module Aws::CodeBuild
|
|
2866
2617
|
req.send_request(options)
|
2867
2618
|
end
|
2868
2619
|
|
2869
|
-
# Gets a list of report groups that are shared with other
|
2870
|
-
# or users.
|
2620
|
+
# Gets a list of report groups that are shared with other Amazon Web
|
2621
|
+
# Services accounts or users.
|
2871
2622
|
#
|
2872
2623
|
# @option params [String] :sort_order
|
2873
2624
|
# The order in which to list shared report groups. Valid values include:
|
@@ -2878,7 +2629,7 @@ module Aws::CodeBuild
|
|
2878
2629
|
#
|
2879
2630
|
# @option params [String] :sort_by
|
2880
2631
|
# The criterion to be used to list report groups shared with the current
|
2881
|
-
#
|
2632
|
+
# Amazon Web Services account or user. Valid values include:
|
2882
2633
|
#
|
2883
2634
|
# * `ARN`\: List based on the ARN.
|
2884
2635
|
#
|
@@ -2957,7 +2708,7 @@ module Aws::CodeBuild
|
|
2957
2708
|
#
|
2958
2709
|
# @option params [required, String] :policy
|
2959
2710
|
# A JSON-formatted resource policy. For more information, see [Sharing a
|
2960
|
-
# Project][1] and [Sharing a Report Group][2] in the *
|
2711
|
+
# Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
2961
2712
|
# Guide*.
|
2962
2713
|
#
|
2963
2714
|
#
|
@@ -3002,7 +2753,7 @@ module Aws::CodeBuild
|
|
3002
2753
|
# A unique, case sensitive identifier you provide to ensure the
|
3003
2754
|
# idempotency of the `RetryBuild` request. The token is included in the
|
3004
2755
|
# `RetryBuild` request and is valid for five minutes. If you repeat the
|
3005
|
-
# `RetryBuild` request with the same token, but change a parameter,
|
2756
|
+
# `RetryBuild` request with the same token, but change a parameter,
|
3006
2757
|
# CodeBuild returns a parameter mismatch error.
|
3007
2758
|
#
|
3008
2759
|
# @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3157,7 +2908,7 @@ module Aws::CodeBuild
|
|
3157
2908
|
# idempotency of the `RetryBuildBatch` request. The token is included in
|
3158
2909
|
# the `RetryBuildBatch` request and is valid for five minutes. If you
|
3159
2910
|
# repeat the `RetryBuildBatch` request with the same token, but change a
|
3160
|
-
# parameter,
|
2911
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
3161
2912
|
#
|
3162
2913
|
# @option params [String] :retry_type
|
3163
2914
|
# Specifies the type of retry to perform.
|
@@ -3324,7 +3075,7 @@ module Aws::CodeBuild
|
|
3324
3075
|
# Starts running a build.
|
3325
3076
|
#
|
3326
3077
|
# @option params [required, String] :project_name
|
3327
|
-
# The name of the
|
3078
|
+
# The name of the CodeBuild build project to start running a build.
|
3328
3079
|
#
|
3329
3080
|
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3330
3081
|
# An array of `ProjectSource` objects.
|
@@ -3339,7 +3090,7 @@ module Aws::CodeBuild
|
|
3339
3090
|
# not specified, the latest version is used. If specified, the contents
|
3340
3091
|
# depends on the source provider:
|
3341
3092
|
#
|
3342
|
-
#
|
3093
|
+
# CodeCommit
|
3343
3094
|
#
|
3344
3095
|
# : The commit ID, branch, or Git tag to use.
|
3345
3096
|
#
|
@@ -3368,7 +3119,7 @@ module Aws::CodeBuild
|
|
3368
3119
|
# `sourceVersion` (at the build level) takes precedence.
|
3369
3120
|
#
|
3370
3121
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3371
|
-
# the *
|
3122
|
+
# the *CodeBuild User Guide*.
|
3372
3123
|
#
|
3373
3124
|
#
|
3374
3125
|
#
|
@@ -3405,7 +3156,7 @@ module Aws::CodeBuild
|
|
3405
3156
|
#
|
3406
3157
|
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3407
3158
|
# Information about the Git submodules configuration for this build of
|
3408
|
-
# an
|
3159
|
+
# an CodeBuild build project.
|
3409
3160
|
#
|
3410
3161
|
# @option params [String] :buildspec_override
|
3411
3162
|
# A buildspec file declaration that overrides, for this build only, the
|
@@ -3414,12 +3165,12 @@ module Aws::CodeBuild
|
|
3414
3165
|
# If this value is set, it can be either an inline buildspec definition,
|
3415
3166
|
# the path to an alternate buildspec file relative to the value of the
|
3416
3167
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3417
|
-
# S3 bucket. The bucket must be in the same
|
3418
|
-
# project. Specify the buildspec file using its ARN (for
|
3419
|
-
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3420
|
-
# not provided or is set to an empty string, the source code
|
3421
|
-
# contain a buildspec file in its root directory. For more
|
3422
|
-
# see [Buildspec File Name and Storage Location][1].
|
3168
|
+
# S3 bucket. The bucket must be in the same Amazon Web Services Region
|
3169
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
3170
|
+
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3171
|
+
# value is not provided or is set to an empty string, the source code
|
3172
|
+
# must contain a buildspec file in its root directory. For more
|
3173
|
+
# information, see [Buildspec File Name and Storage Location][1].
|
3423
3174
|
#
|
3424
3175
|
#
|
3425
3176
|
#
|
@@ -3442,7 +3193,7 @@ module Aws::CodeBuild
|
|
3442
3193
|
# associated with the source provider must have write access to the
|
3443
3194
|
# repo. If the user does not have write access, the build status cannot
|
3444
3195
|
# be updated. For more information, see [Source provider access][1] in
|
3445
|
-
# the *
|
3196
|
+
# the *CodeBuild User Guide*.
|
3446
3197
|
#
|
3447
3198
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3448
3199
|
# your source provider.
|
@@ -3495,9 +3246,9 @@ module Aws::CodeBuild
|
|
3495
3246
|
# out.
|
3496
3247
|
#
|
3497
3248
|
# @option params [String] :encryption_key_override
|
3498
|
-
# The
|
3499
|
-
#
|
3500
|
-
#
|
3249
|
+
# The Key Management Service customer master key (CMK) that overrides
|
3250
|
+
# the one specified in the build project. The CMK key encrypts the build
|
3251
|
+
# output artifacts.
|
3501
3252
|
#
|
3502
3253
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3503
3254
|
# artifacts if your service role has permission to that key.
|
@@ -3512,7 +3263,7 @@ module Aws::CodeBuild
|
|
3512
3263
|
# A unique, case sensitive identifier you provide to ensure the
|
3513
3264
|
# idempotency of the StartBuild request. The token is included in the
|
3514
3265
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
3515
|
-
# StartBuild request with the same token, but change a parameter,
|
3266
|
+
# StartBuild request with the same token, but change a parameter,
|
3516
3267
|
# CodeBuild returns a parameter mismatch error.
|
3517
3268
|
#
|
3518
3269
|
# @option params [Types::LogsConfig] :logs_config_override
|
@@ -3523,23 +3274,22 @@ module Aws::CodeBuild
|
|
3523
3274
|
# The credentials for access to a private registry.
|
3524
3275
|
#
|
3525
3276
|
# @option params [String] :image_pull_credentials_type_override
|
3526
|
-
# The type of credentials
|
3527
|
-
#
|
3277
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
3278
|
+
# There are two valid values:
|
3528
3279
|
#
|
3529
3280
|
# CODEBUILD
|
3530
3281
|
#
|
3531
|
-
# : Specifies that
|
3532
|
-
# that you modify your ECR repository policy to trust
|
3282
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
3283
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
3533
3284
|
# service principal.
|
3534
3285
|
#
|
3535
3286
|
# SERVICE\_ROLE
|
3536
3287
|
#
|
3537
|
-
# : Specifies that
|
3538
|
-
# role.
|
3288
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
3539
3289
|
#
|
3540
3290
|
# When using a cross-account or private registry image, you must use
|
3541
|
-
# `SERVICE_ROLE` credentials. When using an
|
3542
|
-
#
|
3291
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image, you
|
3292
|
+
# must use `CODEBUILD` credentials.
|
3543
3293
|
#
|
3544
3294
|
# @option params [Boolean] :debug_session_enabled
|
3545
3295
|
# Specifies if session debugging is enabled for this build. For more
|
@@ -3820,7 +3570,7 @@ module Aws::CodeBuild
|
|
3820
3570
|
# If not specified, the latest version is used. If specified, the
|
3821
3571
|
# contents depends on the source provider:
|
3822
3572
|
#
|
3823
|
-
#
|
3573
|
+
# CodeCommit
|
3824
3574
|
#
|
3825
3575
|
# : The commit ID, branch, or Git tag to use.
|
3826
3576
|
#
|
@@ -3849,7 +3599,7 @@ module Aws::CodeBuild
|
|
3849
3599
|
# `sourceVersion` (at the build level) takes precedence.
|
3850
3600
|
#
|
3851
3601
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3852
|
-
# the *
|
3602
|
+
# the *CodeBuild User Guide*.
|
3853
3603
|
#
|
3854
3604
|
#
|
3855
3605
|
#
|
@@ -3896,12 +3646,12 @@ module Aws::CodeBuild
|
|
3896
3646
|
# If this value is set, it can be either an inline buildspec definition,
|
3897
3647
|
# the path to an alternate buildspec file relative to the value of the
|
3898
3648
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3899
|
-
# S3 bucket. The bucket must be in the same
|
3900
|
-
# project. Specify the buildspec file using its ARN (for
|
3901
|
-
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3902
|
-
# not provided or is set to an empty string, the source code
|
3903
|
-
# contain a buildspec file in its root directory. For more
|
3904
|
-
# see [Buildspec File Name and Storage Location][1].
|
3649
|
+
# S3 bucket. The bucket must be in the same Amazon Web Services Region
|
3650
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
3651
|
+
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3652
|
+
# value is not provided or is set to an empty string, the source code
|
3653
|
+
# must contain a buildspec file in its root directory. For more
|
3654
|
+
# information, see [Buildspec File Name and Storage Location][1].
|
3905
3655
|
#
|
3906
3656
|
#
|
3907
3657
|
#
|
@@ -3960,9 +3710,9 @@ module Aws::CodeBuild
|
|
3960
3710
|
# times out.
|
3961
3711
|
#
|
3962
3712
|
# @option params [String] :encryption_key_override
|
3963
|
-
# The
|
3964
|
-
#
|
3965
|
-
#
|
3713
|
+
# The Key Management Service customer master key (CMK) that overrides
|
3714
|
+
# the one specified in the batch build project. The CMK key encrypts the
|
3715
|
+
# build output artifacts.
|
3966
3716
|
#
|
3967
3717
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3968
3718
|
# artifacts if your service role has permission to that key.
|
@@ -3978,7 +3728,7 @@ module Aws::CodeBuild
|
|
3978
3728
|
# idempotency of the `StartBuildBatch` request. The token is included in
|
3979
3729
|
# the `StartBuildBatch` request and is valid for five minutes. If you
|
3980
3730
|
# repeat the `StartBuildBatch` request with the same token, but change a
|
3981
|
-
# parameter,
|
3731
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
3982
3732
|
#
|
3983
3733
|
# @option params [Types::LogsConfig] :logs_config_override
|
3984
3734
|
# A `LogsConfig` object that override the log settings defined in the
|
@@ -3989,23 +3739,22 @@ module Aws::CodeBuild
|
|
3989
3739
|
# a private registry.
|
3990
3740
|
#
|
3991
3741
|
# @option params [String] :image_pull_credentials_type_override
|
3992
|
-
# The type of credentials
|
3993
|
-
#
|
3742
|
+
# The type of credentials CodeBuild uses to pull images in your batch
|
3743
|
+
# build. There are two valid values:
|
3994
3744
|
#
|
3995
3745
|
# CODEBUILD
|
3996
3746
|
#
|
3997
|
-
# : Specifies that
|
3998
|
-
# that you modify your ECR repository policy to trust
|
3747
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
3748
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
3999
3749
|
# service principal.
|
4000
3750
|
#
|
4001
3751
|
# SERVICE\_ROLE
|
4002
3752
|
#
|
4003
|
-
# : Specifies that
|
4004
|
-
# role.
|
3753
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
4005
3754
|
#
|
4006
3755
|
# When using a cross-account or private registry image, you must use
|
4007
|
-
# `SERVICE_ROLE` credentials. When using an
|
4008
|
-
#
|
3756
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image, you
|
3757
|
+
# must use `CODEBUILD` credentials.
|
4009
3758
|
#
|
4010
3759
|
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
|
4011
3760
|
# A `BuildBatchConfigOverride` object that contains batch build
|
@@ -4626,7 +4375,7 @@ module Aws::CodeBuild
|
|
4626
4375
|
# specified, the latest version is used. If specified, it must be one
|
4627
4376
|
# of:
|
4628
4377
|
#
|
4629
|
-
# * For
|
4378
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
4630
4379
|
#
|
4631
4380
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
4632
4381
|
# that corresponds to the version of the source code you want to
|
@@ -4647,7 +4396,7 @@ module Aws::CodeBuild
|
|
4647
4396
|
# takes precedence over this `sourceVersion` (at the project level).
|
4648
4397
|
#
|
4649
4398
|
# For more information, see [Source Version Sample with CodeBuild][1] in
|
4650
|
-
# the *
|
4399
|
+
# the *CodeBuild User Guide*.
|
4651
4400
|
#
|
4652
4401
|
#
|
4653
4402
|
#
|
@@ -4674,12 +4423,12 @@ module Aws::CodeBuild
|
|
4674
4423
|
# project.
|
4675
4424
|
#
|
4676
4425
|
# @option params [String] :service_role
|
4677
|
-
# The replacement ARN of the
|
4678
|
-
#
|
4679
|
-
#
|
4426
|
+
# The replacement ARN of the IAM role that enables CodeBuild to interact
|
4427
|
+
# with dependent Amazon Web Services services on behalf of the Amazon
|
4428
|
+
# Web Services account.
|
4680
4429
|
#
|
4681
4430
|
# @option params [Integer] :timeout_in_minutes
|
4682
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
4431
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
4683
4432
|
# CodeBuild to wait before timing out any related build that did not get
|
4684
4433
|
# marked as completed.
|
4685
4434
|
#
|
@@ -4688,8 +4437,8 @@ module Aws::CodeBuild
|
|
4688
4437
|
# out.
|
4689
4438
|
#
|
4690
4439
|
# @option params [String] :encryption_key
|
4691
|
-
# The
|
4692
|
-
#
|
4440
|
+
# The Key Management Service customer master key (CMK) to be used for
|
4441
|
+
# encrypting the build output artifacts.
|
4693
4442
|
#
|
4694
4443
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
4695
4444
|
# artifacts if your service role has permission to that key.
|
@@ -4704,11 +4453,11 @@ module Aws::CodeBuild
|
|
4704
4453
|
# An updated list of tag key and value pairs associated with this build
|
4705
4454
|
# project.
|
4706
4455
|
#
|
4707
|
-
# These tags are available for use by
|
4708
|
-
# CodeBuild build project tags.
|
4456
|
+
# These tags are available for use by Amazon Web Services services that
|
4457
|
+
# support CodeBuild build project tags.
|
4709
4458
|
#
|
4710
4459
|
# @option params [Types::VpcConfig] :vpc_config
|
4711
|
-
# VpcConfig enables
|
4460
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
4712
4461
|
#
|
4713
4462
|
# @option params [Boolean] :badge_enabled
|
4714
4463
|
# Set this to true to generate a publicly accessible URL for your
|
@@ -4716,7 +4465,7 @@ module Aws::CodeBuild
|
|
4716
4465
|
#
|
4717
4466
|
# @option params [Types::LogsConfig] :logs_config
|
4718
4467
|
# Information about logs for the build project. A project can create
|
4719
|
-
# logs in
|
4468
|
+
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
4720
4469
|
#
|
4721
4470
|
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
4722
4471
|
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
@@ -5013,6 +4762,9 @@ module Aws::CodeBuild
|
|
5013
4762
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
5014
4763
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
5015
4764
|
# resp.project.concurrent_build_limit #=> Integer
|
4765
|
+
# resp.project.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
4766
|
+
# resp.project.public_project_alias #=> String
|
4767
|
+
# resp.project.resource_access_role #=> String
|
5016
4768
|
#
|
5017
4769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
5018
4770
|
#
|
@@ -5023,6 +4775,92 @@ module Aws::CodeBuild
|
|
5023
4775
|
req.send_request(options)
|
5024
4776
|
end
|
5025
4777
|
|
4778
|
+
# Changes the public visibility for a project. The project's build
|
4779
|
+
# results, logs, and artifacts are available to the general public. For
|
4780
|
+
# more information, see [Public build projects][1] in the *CodeBuild
|
4781
|
+
# User Guide*.
|
4782
|
+
#
|
4783
|
+
# The following should be kept in mind when making your projects public:
|
4784
|
+
#
|
4785
|
+
# * All of a project's build results, logs, and artifacts, including
|
4786
|
+
# builds that were run when the project was private, are available to
|
4787
|
+
# the general public.
|
4788
|
+
#
|
4789
|
+
# * All build logs and artifacts are available to the public.
|
4790
|
+
# Environment variables, source code, and other sensitive information
|
4791
|
+
# may have been output to the build logs and artifacts. You must be
|
4792
|
+
# careful about what information is output to the build logs. Some
|
4793
|
+
# best practice are:
|
4794
|
+
#
|
4795
|
+
# * Do not store sensitive values, especially Amazon Web Services
|
4796
|
+
# access key IDs and secret access keys, in environment variables.
|
4797
|
+
# We recommend that you use an Amazon EC2 Systems Manager Parameter
|
4798
|
+
# Store or Secrets Manager to store sensitive values.
|
4799
|
+
#
|
4800
|
+
# * Follow [Best practices for using webhooks][2] in the *CodeBuild
|
4801
|
+
# User Guide* to limit which entities can trigger a build, and do
|
4802
|
+
# not store the buildspec in the project itself, to ensure that your
|
4803
|
+
# webhooks are as secure as possible.
|
4804
|
+
#
|
4805
|
+
# * A malicious user can use public builds to distribute malicious
|
4806
|
+
# artifacts. We recommend that you review all pull requests to verify
|
4807
|
+
# that the pull request is a legitimate change. We also recommend that
|
4808
|
+
# you validate any artifacts with their checksums to make sure that
|
4809
|
+
# the correct artifacts are being downloaded.
|
4810
|
+
#
|
4811
|
+
#
|
4812
|
+
#
|
4813
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/public-builds.html
|
4814
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices
|
4815
|
+
#
|
4816
|
+
# @option params [required, String] :project_arn
|
4817
|
+
# The Amazon Resource Name (ARN) of the build project.
|
4818
|
+
#
|
4819
|
+
# @option params [required, String] :project_visibility
|
4820
|
+
# Specifies the visibility of the project's builds. Possible values
|
4821
|
+
# are:
|
4822
|
+
#
|
4823
|
+
# PUBLIC\_READ
|
4824
|
+
#
|
4825
|
+
# : The project builds are visible to the public.
|
4826
|
+
#
|
4827
|
+
# PRIVATE
|
4828
|
+
#
|
4829
|
+
# : The project builds are not visible to the public.
|
4830
|
+
#
|
4831
|
+
# @option params [String] :resource_access_role
|
4832
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
4833
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
4834
|
+
#
|
4835
|
+
# @return [Types::UpdateProjectVisibilityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4836
|
+
#
|
4837
|
+
# * {Types::UpdateProjectVisibilityOutput#project_arn #project_arn} => String
|
4838
|
+
# * {Types::UpdateProjectVisibilityOutput#public_project_alias #public_project_alias} => String
|
4839
|
+
# * {Types::UpdateProjectVisibilityOutput#project_visibility #project_visibility} => String
|
4840
|
+
#
|
4841
|
+
# @example Request syntax with placeholder values
|
4842
|
+
#
|
4843
|
+
# resp = client.update_project_visibility({
|
4844
|
+
# project_arn: "NonEmptyString", # required
|
4845
|
+
# project_visibility: "PUBLIC_READ", # required, accepts PUBLIC_READ, PRIVATE
|
4846
|
+
# resource_access_role: "NonEmptyString",
|
4847
|
+
# })
|
4848
|
+
#
|
4849
|
+
# @example Response structure
|
4850
|
+
#
|
4851
|
+
# resp.project_arn #=> String
|
4852
|
+
# resp.public_project_alias #=> String
|
4853
|
+
# resp.project_visibility #=> String, one of "PUBLIC_READ", "PRIVATE"
|
4854
|
+
#
|
4855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibility AWS API Documentation
|
4856
|
+
#
|
4857
|
+
# @overload update_project_visibility(params = {})
|
4858
|
+
# @param [Hash] params ({})
|
4859
|
+
def update_project_visibility(params = {}, options = {})
|
4860
|
+
req = build_request(:update_project_visibility, params)
|
4861
|
+
req.send_request(options)
|
4862
|
+
end
|
4863
|
+
|
5026
4864
|
# Updates a report group.
|
5027
4865
|
#
|
5028
4866
|
# @option params [required, String] :arn
|
@@ -5039,8 +4877,8 @@ module Aws::CodeBuild
|
|
5039
4877
|
# An updated list of tag key and value pairs associated with this report
|
5040
4878
|
# group.
|
5041
4879
|
#
|
5042
|
-
# These tags are available for use by
|
5043
|
-
# CodeBuild report group tags.
|
4880
|
+
# These tags are available for use by Amazon Web Services services that
|
4881
|
+
# support CodeBuild report group tags.
|
5044
4882
|
#
|
5045
4883
|
# @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5046
4884
|
#
|
@@ -5097,14 +4935,14 @@ module Aws::CodeBuild
|
|
5097
4935
|
req.send_request(options)
|
5098
4936
|
end
|
5099
4937
|
|
5100
|
-
# Updates the webhook associated with an
|
4938
|
+
# Updates the webhook associated with an CodeBuild build project.
|
5101
4939
|
#
|
5102
4940
|
# <note markdown="1"> If you use Bitbucket for your repository, `rotateSecret` is ignored.
|
5103
4941
|
#
|
5104
4942
|
# </note>
|
5105
4943
|
#
|
5106
4944
|
# @option params [required, String] :project_name
|
5107
|
-
# The name of the
|
4945
|
+
# The name of the CodeBuild project.
|
5108
4946
|
#
|
5109
4947
|
# @option params [String] :branch_filter
|
5110
4948
|
# A regular expression used to determine which repository branches are
|
@@ -5188,7 +5026,7 @@ module Aws::CodeBuild
|
|
5188
5026
|
params: params,
|
5189
5027
|
config: config)
|
5190
5028
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5191
|
-
context[:gem_version] = '1.
|
5029
|
+
context[:gem_version] = '1.80.0'
|
5192
5030
|
Seahorse::Client::Request.new(handlers, context)
|
5193
5031
|
end
|
5194
5032
|
|