aws-sdk-codebuild 1.73.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +159 -272
- data/lib/aws-sdk-codebuild/client_api.rb +30 -0
- data/lib/aws-sdk-codebuild/types.rb +306 -49
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b34cc60e456b0dbc514d690534252ca002b4c50198f09e4155839a82ee61ef4
|
4
|
+
data.tar.gz: 73e1e1d126fa531e6dfedede6549639df811d3523bb3b393c565fa305182623f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7582511992ed16187a15628e531abbc411db55f885f371cc7c2d82941b941b440f4f49feba61df55a3d2cf590307173bd2d9881fc6fa82ebd56a6e432eb2bb75
|
7
|
+
data.tar.gz: baf60870ae94231d16c3775dfac1306a244dcbe501064ff39064725cb80c3051f1e4896b2f1e1e015cffa34ca0ecca58a5b738fd271829591dfeef5ab1beb5f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2021-08-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.76.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.75.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.74.0 (2021-07-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS CodeBuild now allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account.
|
23
|
+
|
4
24
|
1.73.0 (2021-06-24)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -441,6 +441,7 @@ module Aws::CodeBuild
|
|
441
441
|
# resp.build_batches[0].artifacts.override_artifact_name #=> Boolean
|
442
442
|
# resp.build_batches[0].artifacts.encryption_disabled #=> Boolean
|
443
443
|
# resp.build_batches[0].artifacts.artifact_identifier #=> String
|
444
|
+
# resp.build_batches[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
444
445
|
# resp.build_batches[0].secondary_artifacts #=> Array
|
445
446
|
# resp.build_batches[0].secondary_artifacts[0].location #=> String
|
446
447
|
# resp.build_batches[0].secondary_artifacts[0].sha256sum #=> String
|
@@ -448,6 +449,7 @@ module Aws::CodeBuild
|
|
448
449
|
# resp.build_batches[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
449
450
|
# resp.build_batches[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
450
451
|
# resp.build_batches[0].secondary_artifacts[0].artifact_identifier #=> String
|
452
|
+
# resp.build_batches[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
451
453
|
# resp.build_batches[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
452
454
|
# resp.build_batches[0].cache.location #=> String
|
453
455
|
# resp.build_batches[0].cache.modes #=> Array
|
@@ -471,6 +473,7 @@ module Aws::CodeBuild
|
|
471
473
|
# resp.build_batches[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
472
474
|
# resp.build_batches[0].log_config.s3_logs.location #=> String
|
473
475
|
# resp.build_batches[0].log_config.s3_logs.encryption_disabled #=> Boolean
|
476
|
+
# resp.build_batches[0].log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
474
477
|
# resp.build_batches[0].build_timeout_in_minutes #=> Integer
|
475
478
|
# resp.build_batches[0].queued_timeout_in_minutes #=> Integer
|
476
479
|
# resp.build_batches[0].complete #=> Boolean
|
@@ -543,259 +546,6 @@ module Aws::CodeBuild
|
|
543
546
|
# * {Types::BatchGetBuildsOutput#builds #builds} => Array<Types::Build>
|
544
547
|
# * {Types::BatchGetBuildsOutput#builds_not_found #builds_not_found} => Array<String>
|
545
548
|
#
|
546
|
-
#
|
547
|
-
# @example Example: To get information about builds
|
548
|
-
#
|
549
|
-
# # The following example gets information about builds with the specified build IDs.
|
550
|
-
#
|
551
|
-
# resp = client.batch_get_builds({
|
552
|
-
# ids: [
|
553
|
-
# "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
|
554
|
-
# "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
|
555
|
-
# ],
|
556
|
-
# })
|
557
|
-
#
|
558
|
-
# resp.to_h outputs the following:
|
559
|
-
# {
|
560
|
-
# builds: [
|
561
|
-
# {
|
562
|
-
# arn: "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
|
563
|
-
# artifacts: {
|
564
|
-
# location: "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project",
|
565
|
-
# },
|
566
|
-
# build_complete: true,
|
567
|
-
# build_status: "SUCCEEDED",
|
568
|
-
# current_phase: "COMPLETED",
|
569
|
-
# end_time: Time.parse(1479832474.764),
|
570
|
-
# environment: {
|
571
|
-
# type: "LINUX_CONTAINER",
|
572
|
-
# compute_type: "BUILD_GENERAL1_SMALL",
|
573
|
-
# environment_variables: [
|
574
|
-
# ],
|
575
|
-
# image: "aws/codebuild/java:openjdk-8",
|
576
|
-
# privileged_mode: false,
|
577
|
-
# },
|
578
|
-
# id: "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
|
579
|
-
# initiator: "MyDemoUser",
|
580
|
-
# logs: {
|
581
|
-
# 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",
|
582
|
-
# group_name: "/aws/codebuild/codebuild-demo-project",
|
583
|
-
# stream_name: "9b0ac37f-d19e-4254-9079-f47e9a389eEX",
|
584
|
-
# },
|
585
|
-
# phases: [
|
586
|
-
# {
|
587
|
-
# duration_in_seconds: 0,
|
588
|
-
# end_time: Time.parse(1479832342.23),
|
589
|
-
# phase_status: "SUCCEEDED",
|
590
|
-
# phase_type: "SUBMITTED",
|
591
|
-
# start_time: Time.parse(1479832341.854),
|
592
|
-
# },
|
593
|
-
# {
|
594
|
-
# contexts: [
|
595
|
-
# ],
|
596
|
-
# duration_in_seconds: 72,
|
597
|
-
# end_time: Time.parse(1479832415.064),
|
598
|
-
# phase_status: "SUCCEEDED",
|
599
|
-
# phase_type: "PROVISIONING",
|
600
|
-
# start_time: Time.parse(1479832342.23),
|
601
|
-
# },
|
602
|
-
# {
|
603
|
-
# contexts: [
|
604
|
-
# ],
|
605
|
-
# duration_in_seconds: 46,
|
606
|
-
# end_time: Time.parse(1479832461.261),
|
607
|
-
# phase_status: "SUCCEEDED",
|
608
|
-
# phase_type: "DOWNLOAD_SOURCE",
|
609
|
-
# start_time: Time.parse(1479832415.064),
|
610
|
-
# },
|
611
|
-
# {
|
612
|
-
# contexts: [
|
613
|
-
# ],
|
614
|
-
# duration_in_seconds: 0,
|
615
|
-
# end_time: Time.parse(1479832461.354),
|
616
|
-
# phase_status: "SUCCEEDED",
|
617
|
-
# phase_type: "INSTALL",
|
618
|
-
# start_time: Time.parse(1479832461.261),
|
619
|
-
# },
|
620
|
-
# {
|
621
|
-
# contexts: [
|
622
|
-
# ],
|
623
|
-
# duration_in_seconds: 0,
|
624
|
-
# end_time: Time.parse(1479832461.448),
|
625
|
-
# phase_status: "SUCCEEDED",
|
626
|
-
# phase_type: "PRE_BUILD",
|
627
|
-
# start_time: Time.parse(1479832461.354),
|
628
|
-
# },
|
629
|
-
# {
|
630
|
-
# contexts: [
|
631
|
-
# ],
|
632
|
-
# duration_in_seconds: 9,
|
633
|
-
# end_time: Time.parse(1479832471.115),
|
634
|
-
# phase_status: "SUCCEEDED",
|
635
|
-
# phase_type: "BUILD",
|
636
|
-
# start_time: Time.parse(1479832461.448),
|
637
|
-
# },
|
638
|
-
# {
|
639
|
-
# contexts: [
|
640
|
-
# ],
|
641
|
-
# duration_in_seconds: 0,
|
642
|
-
# end_time: Time.parse(1479832471.224),
|
643
|
-
# phase_status: "SUCCEEDED",
|
644
|
-
# phase_type: "POST_BUILD",
|
645
|
-
# start_time: Time.parse(1479832471.115),
|
646
|
-
# },
|
647
|
-
# {
|
648
|
-
# contexts: [
|
649
|
-
# ],
|
650
|
-
# duration_in_seconds: 0,
|
651
|
-
# end_time: Time.parse(1479832471.791),
|
652
|
-
# phase_status: "SUCCEEDED",
|
653
|
-
# phase_type: "UPLOAD_ARTIFACTS",
|
654
|
-
# start_time: Time.parse(1479832471.224),
|
655
|
-
# },
|
656
|
-
# {
|
657
|
-
# contexts: [
|
658
|
-
# ],
|
659
|
-
# duration_in_seconds: 2,
|
660
|
-
# end_time: Time.parse(1479832474.764),
|
661
|
-
# phase_status: "SUCCEEDED",
|
662
|
-
# phase_type: "FINALIZING",
|
663
|
-
# start_time: Time.parse(1479832471.791),
|
664
|
-
# },
|
665
|
-
# {
|
666
|
-
# phase_type: "COMPLETED",
|
667
|
-
# start_time: Time.parse(1479832474.764),
|
668
|
-
# },
|
669
|
-
# ],
|
670
|
-
# project_name: "codebuild-demo-project",
|
671
|
-
# source: {
|
672
|
-
# type: "S3",
|
673
|
-
# buildspec: "",
|
674
|
-
# location: "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip",
|
675
|
-
# },
|
676
|
-
# start_time: Time.parse(1479832341.854),
|
677
|
-
# timeout_in_minutes: 60,
|
678
|
-
# },
|
679
|
-
# {
|
680
|
-
# arn: "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
|
681
|
-
# artifacts: {
|
682
|
-
# location: "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project",
|
683
|
-
# },
|
684
|
-
# build_complete: true,
|
685
|
-
# build_status: "SUCCEEDED",
|
686
|
-
# current_phase: "COMPLETED",
|
687
|
-
# end_time: Time.parse(1479401214.239),
|
688
|
-
# environment: {
|
689
|
-
# type: "LINUX_CONTAINER",
|
690
|
-
# compute_type: "BUILD_GENERAL1_SMALL",
|
691
|
-
# environment_variables: [
|
692
|
-
# ],
|
693
|
-
# image: "aws/codebuild/java:openjdk-8",
|
694
|
-
# privileged_mode: false,
|
695
|
-
# },
|
696
|
-
# id: "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
|
697
|
-
# initiator: "MyDemoUser",
|
698
|
-
# logs: {
|
699
|
-
# 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",
|
700
|
-
# group_name: "/aws/codebuild/codebuild-demo-project",
|
701
|
-
# stream_name: "b79a46f7-1473-4636-a23f-da9c45c208EX",
|
702
|
-
# },
|
703
|
-
# phases: [
|
704
|
-
# {
|
705
|
-
# duration_in_seconds: 0,
|
706
|
-
# end_time: Time.parse(1479401082.342),
|
707
|
-
# phase_status: "SUCCEEDED",
|
708
|
-
# phase_type: "SUBMITTED",
|
709
|
-
# start_time: Time.parse(1479401081.869),
|
710
|
-
# },
|
711
|
-
# {
|
712
|
-
# contexts: [
|
713
|
-
# ],
|
714
|
-
# duration_in_seconds: 71,
|
715
|
-
# end_time: Time.parse(1479401154.129),
|
716
|
-
# phase_status: "SUCCEEDED",
|
717
|
-
# phase_type: "PROVISIONING",
|
718
|
-
# start_time: Time.parse(1479401082.342),
|
719
|
-
# },
|
720
|
-
# {
|
721
|
-
# contexts: [
|
722
|
-
# ],
|
723
|
-
# duration_in_seconds: 45,
|
724
|
-
# end_time: Time.parse(1479401199.136),
|
725
|
-
# phase_status: "SUCCEEDED",
|
726
|
-
# phase_type: "DOWNLOAD_SOURCE",
|
727
|
-
# start_time: Time.parse(1479401154.129),
|
728
|
-
# },
|
729
|
-
# {
|
730
|
-
# contexts: [
|
731
|
-
# ],
|
732
|
-
# duration_in_seconds: 0,
|
733
|
-
# end_time: Time.parse(1479401199.236),
|
734
|
-
# phase_status: "SUCCEEDED",
|
735
|
-
# phase_type: "INSTALL",
|
736
|
-
# start_time: Time.parse(1479401199.136),
|
737
|
-
# },
|
738
|
-
# {
|
739
|
-
# contexts: [
|
740
|
-
# ],
|
741
|
-
# duration_in_seconds: 0,
|
742
|
-
# end_time: Time.parse(1479401199.345),
|
743
|
-
# phase_status: "SUCCEEDED",
|
744
|
-
# phase_type: "PRE_BUILD",
|
745
|
-
# start_time: Time.parse(1479401199.236),
|
746
|
-
# },
|
747
|
-
# {
|
748
|
-
# contexts: [
|
749
|
-
# ],
|
750
|
-
# duration_in_seconds: 9,
|
751
|
-
# end_time: Time.parse(1479401208.68),
|
752
|
-
# phase_status: "SUCCEEDED",
|
753
|
-
# phase_type: "BUILD",
|
754
|
-
# start_time: Time.parse(1479401199.345),
|
755
|
-
# },
|
756
|
-
# {
|
757
|
-
# contexts: [
|
758
|
-
# ],
|
759
|
-
# duration_in_seconds: 0,
|
760
|
-
# end_time: Time.parse(1479401208.783),
|
761
|
-
# phase_status: "SUCCEEDED",
|
762
|
-
# phase_type: "POST_BUILD",
|
763
|
-
# start_time: Time.parse(1479401208.68),
|
764
|
-
# },
|
765
|
-
# {
|
766
|
-
# contexts: [
|
767
|
-
# ],
|
768
|
-
# duration_in_seconds: 0,
|
769
|
-
# end_time: Time.parse(1479401209.463),
|
770
|
-
# phase_status: "SUCCEEDED",
|
771
|
-
# phase_type: "UPLOAD_ARTIFACTS",
|
772
|
-
# start_time: Time.parse(1479401208.783),
|
773
|
-
# },
|
774
|
-
# {
|
775
|
-
# contexts: [
|
776
|
-
# ],
|
777
|
-
# duration_in_seconds: 4,
|
778
|
-
# end_time: Time.parse(1479401214.239),
|
779
|
-
# phase_status: "SUCCEEDED",
|
780
|
-
# phase_type: "FINALIZING",
|
781
|
-
# start_time: Time.parse(1479401209.463),
|
782
|
-
# },
|
783
|
-
# {
|
784
|
-
# phase_type: "COMPLETED",
|
785
|
-
# start_time: Time.parse(1479401214.239),
|
786
|
-
# },
|
787
|
-
# ],
|
788
|
-
# project_name: "codebuild-demo-project",
|
789
|
-
# source: {
|
790
|
-
# type: "S3",
|
791
|
-
# location: "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip",
|
792
|
-
# },
|
793
|
-
# start_time: Time.parse(1479401081.869),
|
794
|
-
# timeout_in_minutes: 60,
|
795
|
-
# },
|
796
|
-
# ],
|
797
|
-
# }
|
798
|
-
#
|
799
549
|
# @example Request syntax with placeholder values
|
800
550
|
#
|
801
551
|
# resp = client.batch_get_builds({
|
@@ -858,6 +608,7 @@ module Aws::CodeBuild
|
|
858
608
|
# resp.builds[0].artifacts.override_artifact_name #=> Boolean
|
859
609
|
# resp.builds[0].artifacts.encryption_disabled #=> Boolean
|
860
610
|
# resp.builds[0].artifacts.artifact_identifier #=> String
|
611
|
+
# resp.builds[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
861
612
|
# resp.builds[0].secondary_artifacts #=> Array
|
862
613
|
# resp.builds[0].secondary_artifacts[0].location #=> String
|
863
614
|
# resp.builds[0].secondary_artifacts[0].sha256sum #=> String
|
@@ -865,6 +616,7 @@ module Aws::CodeBuild
|
|
865
616
|
# resp.builds[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
866
617
|
# resp.builds[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
867
618
|
# resp.builds[0].secondary_artifacts[0].artifact_identifier #=> String
|
619
|
+
# resp.builds[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
868
620
|
# resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
869
621
|
# resp.builds[0].cache.location #=> String
|
870
622
|
# resp.builds[0].cache.modes #=> Array
|
@@ -894,6 +646,7 @@ module Aws::CodeBuild
|
|
894
646
|
# resp.builds[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
895
647
|
# resp.builds[0].logs.s3_logs.location #=> String
|
896
648
|
# resp.builds[0].logs.s3_logs.encryption_disabled #=> Boolean
|
649
|
+
# resp.builds[0].logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
897
650
|
# resp.builds[0].timeout_in_minutes #=> Integer
|
898
651
|
# resp.builds[0].queued_timeout_in_minutes #=> Integer
|
899
652
|
# resp.builds[0].build_complete #=> Boolean
|
@@ -994,6 +747,7 @@ module Aws::CodeBuild
|
|
994
747
|
# resp.projects[0].artifacts.override_artifact_name #=> Boolean
|
995
748
|
# resp.projects[0].artifacts.encryption_disabled #=> Boolean
|
996
749
|
# resp.projects[0].artifacts.artifact_identifier #=> String
|
750
|
+
# resp.projects[0].artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
997
751
|
# resp.projects[0].secondary_artifacts #=> Array
|
998
752
|
# resp.projects[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
999
753
|
# resp.projects[0].secondary_artifacts[0].location #=> String
|
@@ -1004,6 +758,7 @@ module Aws::CodeBuild
|
|
1004
758
|
# resp.projects[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
1005
759
|
# resp.projects[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
1006
760
|
# resp.projects[0].secondary_artifacts[0].artifact_identifier #=> String
|
761
|
+
# resp.projects[0].secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1007
762
|
# resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1008
763
|
# resp.projects[0].cache.location #=> String
|
1009
764
|
# resp.projects[0].cache.modes #=> Array
|
@@ -1053,6 +808,7 @@ module Aws::CodeBuild
|
|
1053
808
|
# resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1054
809
|
# resp.projects[0].logs_config.s3_logs.location #=> String
|
1055
810
|
# resp.projects[0].logs_config.s3_logs.encryption_disabled #=> Boolean
|
811
|
+
# resp.projects[0].logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1056
812
|
# resp.projects[0].file_system_locations #=> Array
|
1057
813
|
# resp.projects[0].file_system_locations[0].type #=> String, one of "EFS"
|
1058
814
|
# resp.projects[0].file_system_locations[0].location #=> String
|
@@ -1066,6 +822,9 @@ module Aws::CodeBuild
|
|
1066
822
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1067
823
|
# resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
|
1068
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
|
1069
828
|
# resp.projects_not_found #=> Array
|
1070
829
|
# resp.projects_not_found[0] #=> String
|
1071
830
|
#
|
@@ -1249,9 +1008,9 @@ module Aws::CodeBuild
|
|
1249
1008
|
# Information about the build environment for the build project.
|
1250
1009
|
#
|
1251
1010
|
# @option params [required, String] :service_role
|
1252
|
-
# The ARN of the
|
1253
|
-
#
|
1254
|
-
#
|
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.
|
1255
1014
|
#
|
1256
1015
|
# @option params [Integer] :timeout_in_minutes
|
1257
1016
|
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
@@ -1378,6 +1137,7 @@ module Aws::CodeBuild
|
|
1378
1137
|
# override_artifact_name: false,
|
1379
1138
|
# encryption_disabled: false,
|
1380
1139
|
# artifact_identifier: "String",
|
1140
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1381
1141
|
# },
|
1382
1142
|
# secondary_artifacts: [
|
1383
1143
|
# {
|
@@ -1390,6 +1150,7 @@ module Aws::CodeBuild
|
|
1390
1150
|
# override_artifact_name: false,
|
1391
1151
|
# encryption_disabled: false,
|
1392
1152
|
# artifact_identifier: "String",
|
1153
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1393
1154
|
# },
|
1394
1155
|
# ],
|
1395
1156
|
# cache: {
|
@@ -1442,6 +1203,7 @@ module Aws::CodeBuild
|
|
1442
1203
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1443
1204
|
# location: "String",
|
1444
1205
|
# encryption_disabled: false,
|
1206
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1445
1207
|
# },
|
1446
1208
|
# },
|
1447
1209
|
# file_system_locations: [
|
@@ -1508,6 +1270,7 @@ module Aws::CodeBuild
|
|
1508
1270
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
1509
1271
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
1510
1272
|
# resp.project.artifacts.artifact_identifier #=> String
|
1273
|
+
# resp.project.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1511
1274
|
# resp.project.secondary_artifacts #=> Array
|
1512
1275
|
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
1513
1276
|
# resp.project.secondary_artifacts[0].location #=> String
|
@@ -1518,6 +1281,7 @@ module Aws::CodeBuild
|
|
1518
1281
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
1519
1282
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
1520
1283
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
1284
|
+
# resp.project.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1521
1285
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1522
1286
|
# resp.project.cache.location #=> String
|
1523
1287
|
# resp.project.cache.modes #=> Array
|
@@ -1567,6 +1331,7 @@ module Aws::CodeBuild
|
|
1567
1331
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1568
1332
|
# resp.project.logs_config.s3_logs.location #=> String
|
1569
1333
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
1334
|
+
# resp.project.logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
1570
1335
|
# resp.project.file_system_locations #=> Array
|
1571
1336
|
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
1572
1337
|
# resp.project.file_system_locations[0].location #=> String
|
@@ -1580,6 +1345,9 @@ module Aws::CodeBuild
|
|
1580
1345
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1581
1346
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1582
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
|
1583
1351
|
#
|
1584
1352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1585
1353
|
#
|
@@ -3054,6 +2822,7 @@ module Aws::CodeBuild
|
|
3054
2822
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
3055
2823
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
3056
2824
|
# resp.build.artifacts.artifact_identifier #=> String
|
2825
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3057
2826
|
# resp.build.secondary_artifacts #=> Array
|
3058
2827
|
# resp.build.secondary_artifacts[0].location #=> String
|
3059
2828
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -3061,6 +2830,7 @@ module Aws::CodeBuild
|
|
3061
2830
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3062
2831
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3063
2832
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
2833
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3064
2834
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3065
2835
|
# resp.build.cache.location #=> String
|
3066
2836
|
# resp.build.cache.modes #=> Array
|
@@ -3090,6 +2860,7 @@ module Aws::CodeBuild
|
|
3090
2860
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3091
2861
|
# resp.build.logs.s3_logs.location #=> String
|
3092
2862
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
2863
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3093
2864
|
# resp.build.timeout_in_minutes #=> Integer
|
3094
2865
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
3095
2866
|
# resp.build.build_complete #=> Boolean
|
@@ -3208,6 +2979,7 @@ module Aws::CodeBuild
|
|
3208
2979
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
3209
2980
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
3210
2981
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
2982
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3211
2983
|
# resp.build_batch.secondary_artifacts #=> Array
|
3212
2984
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
3213
2985
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -3215,6 +2987,7 @@ module Aws::CodeBuild
|
|
3215
2987
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3216
2988
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3217
2989
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
2990
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3218
2991
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3219
2992
|
# resp.build_batch.cache.location #=> String
|
3220
2993
|
# resp.build_batch.cache.modes #=> Array
|
@@ -3238,6 +3011,7 @@ module Aws::CodeBuild
|
|
3238
3011
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3239
3012
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
3240
3013
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
3014
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3241
3015
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
3242
3016
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
3243
3017
|
# resp.build_batch.complete #=> Boolean
|
@@ -3391,12 +3165,12 @@ module Aws::CodeBuild
|
|
3391
3165
|
# If this value is set, it can be either an inline buildspec definition,
|
3392
3166
|
# the path to an alternate buildspec file relative to the value of the
|
3393
3167
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3394
|
-
# S3 bucket. The bucket must be in the same
|
3395
|
-
# Specify the buildspec file using its ARN (for
|
3396
|
-
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3397
|
-
# not provided or is set to an empty string, the source code
|
3398
|
-
# contain a buildspec file in its root directory. For more
|
3399
|
-
# 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].
|
3400
3174
|
#
|
3401
3175
|
#
|
3402
3176
|
#
|
@@ -3572,6 +3346,7 @@ module Aws::CodeBuild
|
|
3572
3346
|
# override_artifact_name: false,
|
3573
3347
|
# encryption_disabled: false,
|
3574
3348
|
# artifact_identifier: "String",
|
3349
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3575
3350
|
# },
|
3576
3351
|
# secondary_artifacts_override: [
|
3577
3352
|
# {
|
@@ -3584,6 +3359,7 @@ module Aws::CodeBuild
|
|
3584
3359
|
# override_artifact_name: false,
|
3585
3360
|
# encryption_disabled: false,
|
3586
3361
|
# artifact_identifier: "String",
|
3362
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3587
3363
|
# },
|
3588
3364
|
# ],
|
3589
3365
|
# environment_variables_override: [
|
@@ -3635,6 +3411,7 @@ module Aws::CodeBuild
|
|
3635
3411
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3636
3412
|
# location: "String",
|
3637
3413
|
# encryption_disabled: false,
|
3414
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3638
3415
|
# },
|
3639
3416
|
# },
|
3640
3417
|
# registry_credential_override: {
|
@@ -3700,6 +3477,7 @@ module Aws::CodeBuild
|
|
3700
3477
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
3701
3478
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
3702
3479
|
# resp.build.artifacts.artifact_identifier #=> String
|
3480
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3703
3481
|
# resp.build.secondary_artifacts #=> Array
|
3704
3482
|
# resp.build.secondary_artifacts[0].location #=> String
|
3705
3483
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -3707,6 +3485,7 @@ module Aws::CodeBuild
|
|
3707
3485
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3708
3486
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3709
3487
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
3488
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3710
3489
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3711
3490
|
# resp.build.cache.location #=> String
|
3712
3491
|
# resp.build.cache.modes #=> Array
|
@@ -3736,6 +3515,7 @@ module Aws::CodeBuild
|
|
3736
3515
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3737
3516
|
# resp.build.logs.s3_logs.location #=> String
|
3738
3517
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
3518
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
3739
3519
|
# resp.build.timeout_in_minutes #=> Integer
|
3740
3520
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
3741
3521
|
# resp.build.build_complete #=> Boolean
|
@@ -3866,12 +3646,12 @@ module Aws::CodeBuild
|
|
3866
3646
|
# If this value is set, it can be either an inline buildspec definition,
|
3867
3647
|
# the path to an alternate buildspec file relative to the value of the
|
3868
3648
|
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3869
|
-
# S3 bucket. The bucket must be in the same
|
3870
|
-
# Specify the buildspec file using its ARN (for
|
3871
|
-
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3872
|
-
# not provided or is set to an empty string, the source code
|
3873
|
-
# contain a buildspec file in its root directory. For more
|
3874
|
-
# 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].
|
3875
3655
|
#
|
3876
3656
|
#
|
3877
3657
|
#
|
@@ -4036,6 +3816,7 @@ module Aws::CodeBuild
|
|
4036
3816
|
# override_artifact_name: false,
|
4037
3817
|
# encryption_disabled: false,
|
4038
3818
|
# artifact_identifier: "String",
|
3819
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4039
3820
|
# },
|
4040
3821
|
# secondary_artifacts_override: [
|
4041
3822
|
# {
|
@@ -4048,6 +3829,7 @@ module Aws::CodeBuild
|
|
4048
3829
|
# override_artifact_name: false,
|
4049
3830
|
# encryption_disabled: false,
|
4050
3831
|
# artifact_identifier: "String",
|
3832
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4051
3833
|
# },
|
4052
3834
|
# ],
|
4053
3835
|
# environment_variables_override: [
|
@@ -4095,6 +3877,7 @@ module Aws::CodeBuild
|
|
4095
3877
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
4096
3878
|
# location: "String",
|
4097
3879
|
# encryption_disabled: false,
|
3880
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4098
3881
|
# },
|
4099
3882
|
# },
|
4100
3883
|
# registry_credential_override: {
|
@@ -4168,6 +3951,7 @@ module Aws::CodeBuild
|
|
4168
3951
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4169
3952
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4170
3953
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
3954
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4171
3955
|
# resp.build_batch.secondary_artifacts #=> Array
|
4172
3956
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4173
3957
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -4175,6 +3959,7 @@ module Aws::CodeBuild
|
|
4175
3959
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4176
3960
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4177
3961
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
3962
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4178
3963
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4179
3964
|
# resp.build_batch.cache.location #=> String
|
4180
3965
|
# resp.build_batch.cache.modes #=> Array
|
@@ -4198,6 +3983,7 @@ module Aws::CodeBuild
|
|
4198
3983
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4199
3984
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
4200
3985
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
3986
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4201
3987
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4202
3988
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4203
3989
|
# resp.build_batch.complete #=> Boolean
|
@@ -4328,6 +4114,7 @@ module Aws::CodeBuild
|
|
4328
4114
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
4329
4115
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
4330
4116
|
# resp.build.artifacts.artifact_identifier #=> String
|
4117
|
+
# resp.build.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4331
4118
|
# resp.build.secondary_artifacts #=> Array
|
4332
4119
|
# resp.build.secondary_artifacts[0].location #=> String
|
4333
4120
|
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
@@ -4335,6 +4122,7 @@ module Aws::CodeBuild
|
|
4335
4122
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4336
4123
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4337
4124
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
4125
|
+
# resp.build.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4338
4126
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4339
4127
|
# resp.build.cache.location #=> String
|
4340
4128
|
# resp.build.cache.modes #=> Array
|
@@ -4364,6 +4152,7 @@ module Aws::CodeBuild
|
|
4364
4152
|
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4365
4153
|
# resp.build.logs.s3_logs.location #=> String
|
4366
4154
|
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
4155
|
+
# resp.build.logs.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4367
4156
|
# resp.build.timeout_in_minutes #=> Integer
|
4368
4157
|
# resp.build.queued_timeout_in_minutes #=> Integer
|
4369
4158
|
# resp.build.build_complete #=> Boolean
|
@@ -4469,6 +4258,7 @@ module Aws::CodeBuild
|
|
4469
4258
|
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4470
4259
|
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4471
4260
|
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4261
|
+
# resp.build_batch.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4472
4262
|
# resp.build_batch.secondary_artifacts #=> Array
|
4473
4263
|
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4474
4264
|
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
@@ -4476,6 +4266,7 @@ module Aws::CodeBuild
|
|
4476
4266
|
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4477
4267
|
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4478
4268
|
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4269
|
+
# resp.build_batch.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4479
4270
|
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4480
4271
|
# resp.build_batch.cache.location #=> String
|
4481
4272
|
# resp.build_batch.cache.modes #=> Array
|
@@ -4499,6 +4290,7 @@ module Aws::CodeBuild
|
|
4499
4290
|
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4500
4291
|
# resp.build_batch.log_config.s3_logs.location #=> String
|
4501
4292
|
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4293
|
+
# resp.build_batch.log_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4502
4294
|
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4503
4295
|
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4504
4296
|
# resp.build_batch.complete #=> Boolean
|
@@ -4631,9 +4423,9 @@ module Aws::CodeBuild
|
|
4631
4423
|
# project.
|
4632
4424
|
#
|
4633
4425
|
# @option params [String] :service_role
|
4634
|
-
# The replacement ARN of the
|
4635
|
-
#
|
4636
|
-
#
|
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.
|
4637
4429
|
#
|
4638
4430
|
# @option params [Integer] :timeout_in_minutes
|
4639
4431
|
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
@@ -4762,6 +4554,7 @@ module Aws::CodeBuild
|
|
4762
4554
|
# override_artifact_name: false,
|
4763
4555
|
# encryption_disabled: false,
|
4764
4556
|
# artifact_identifier: "String",
|
4557
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4765
4558
|
# },
|
4766
4559
|
# secondary_artifacts: [
|
4767
4560
|
# {
|
@@ -4774,6 +4567,7 @@ module Aws::CodeBuild
|
|
4774
4567
|
# override_artifact_name: false,
|
4775
4568
|
# encryption_disabled: false,
|
4776
4569
|
# artifact_identifier: "String",
|
4570
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4777
4571
|
# },
|
4778
4572
|
# ],
|
4779
4573
|
# cache: {
|
@@ -4826,6 +4620,7 @@ module Aws::CodeBuild
|
|
4826
4620
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
4827
4621
|
# location: "String",
|
4828
4622
|
# encryption_disabled: false,
|
4623
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
4829
4624
|
# },
|
4830
4625
|
# },
|
4831
4626
|
# file_system_locations: [
|
@@ -4892,6 +4687,7 @@ module Aws::CodeBuild
|
|
4892
4687
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
4893
4688
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
4894
4689
|
# resp.project.artifacts.artifact_identifier #=> String
|
4690
|
+
# resp.project.artifacts.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4895
4691
|
# resp.project.secondary_artifacts #=> Array
|
4896
4692
|
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4897
4693
|
# resp.project.secondary_artifacts[0].location #=> String
|
@@ -4902,6 +4698,7 @@ module Aws::CodeBuild
|
|
4902
4698
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4903
4699
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4904
4700
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
4701
|
+
# resp.project.secondary_artifacts[0].bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4905
4702
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4906
4703
|
# resp.project.cache.location #=> String
|
4907
4704
|
# resp.project.cache.modes #=> Array
|
@@ -4951,6 +4748,7 @@ module Aws::CodeBuild
|
|
4951
4748
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4952
4749
|
# resp.project.logs_config.s3_logs.location #=> String
|
4953
4750
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
4751
|
+
# resp.project.logs_config.s3_logs.bucket_owner_access #=> String, one of "NONE", "READ_ONLY", "FULL"
|
4954
4752
|
# resp.project.file_system_locations #=> Array
|
4955
4753
|
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
4956
4754
|
# resp.project.file_system_locations[0].location #=> String
|
@@ -4964,6 +4762,9 @@ module Aws::CodeBuild
|
|
4964
4762
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4965
4763
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
4966
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
|
4967
4768
|
#
|
4968
4769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
4969
4770
|
#
|
@@ -4974,6 +4775,92 @@ module Aws::CodeBuild
|
|
4974
4775
|
req.send_request(options)
|
4975
4776
|
end
|
4976
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
|
+
|
4977
4864
|
# Updates a report group.
|
4978
4865
|
#
|
4979
4866
|
# @option params [required, String] :arn
|
@@ -5139,7 +5026,7 @@ module Aws::CodeBuild
|
|
5139
5026
|
params: params,
|
5140
5027
|
config: config)
|
5141
5028
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5142
|
-
context[:gem_version] = '1.
|
5029
|
+
context[:gem_version] = '1.77.0'
|
5143
5030
|
Seahorse::Client::Request.new(handlers, context)
|
5144
5031
|
end
|
5145
5032
|
|