aws-sdk-codebuild 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 426c389b814d80093fe2ccf4b0634d2ad7e843a7
4
- data.tar.gz: a9b18be727e25d3d5cf15728e404f8b6296ebdf5
3
+ metadata.gz: '0896f571d84192d96562f1c0a5a38ec21a4e621c'
4
+ data.tar.gz: ba83c2569a14a0771675aa471a8c4cd95f9a43e5
5
5
  SHA512:
6
- metadata.gz: 47064650064336492f605c4b990f32c8123341dc21f402b714436dff230a72c79e8993d1fe5e64d1d1a00330edb734dd28fa5f87ef0f0be327591a78042fa3d9
7
- data.tar.gz: 2e472960e33d6afd020ac43d3587b0551112d6c3a7214ab60eedf638753e7dc518d05bc5617737eb620875e67676eaa09103b953540ee2b91224c080c988b482
6
+ metadata.gz: e0e3f6620e8a9e3d2005ef08acb9370a2941bf06b6e93b8cf9a26a571120f35c169329a0caac0b8ef6e5fd3ca490d5999e418b4c0358a4cf49a73e980592dac4
7
+ data.tar.gz: a824e3dd5d856df51e9d8368c48c14d7e2cfb2be8682b97b3a63ba5e5f006b991f457efab24daecc7dfc90bcc4129b37e0cdbba830c9cab6ed0fb137c8a9ea6d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.28.0'
45
+ GEM_VERSION = '1.29.0'
46
46
 
47
47
  end
@@ -541,6 +541,7 @@ module Aws::CodeBuild
541
541
  # resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
542
542
  # resp.builds[0].source.location #=> String
543
543
  # resp.builds[0].source.git_clone_depth #=> Integer
544
+ # resp.builds[0].source.git_submodules_config.fetch_submodules #=> Boolean
544
545
  # resp.builds[0].source.buildspec #=> String
545
546
  # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
546
547
  # resp.builds[0].source.auth.resource #=> String
@@ -551,6 +552,7 @@ module Aws::CodeBuild
551
552
  # resp.builds[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
552
553
  # resp.builds[0].secondary_sources[0].location #=> String
553
554
  # resp.builds[0].secondary_sources[0].git_clone_depth #=> Integer
555
+ # resp.builds[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
554
556
  # resp.builds[0].secondary_sources[0].buildspec #=> String
555
557
  # resp.builds[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
556
558
  # resp.builds[0].secondary_sources[0].auth.resource #=> String
@@ -599,6 +601,7 @@ module Aws::CodeBuild
599
601
  # resp.builds[0].logs.cloud_watch_logs.stream_name #=> String
600
602
  # resp.builds[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
601
603
  # resp.builds[0].logs.s3_logs.location #=> String
604
+ # resp.builds[0].logs.s3_logs.encryption_disabled #=> Boolean
602
605
  # resp.builds[0].timeout_in_minutes #=> Integer
603
606
  # resp.builds[0].queued_timeout_in_minutes #=> Integer
604
607
  # resp.builds[0].build_complete #=> Boolean
@@ -648,6 +651,7 @@ module Aws::CodeBuild
648
651
  # resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
649
652
  # resp.projects[0].source.location #=> String
650
653
  # resp.projects[0].source.git_clone_depth #=> Integer
654
+ # resp.projects[0].source.git_submodules_config.fetch_submodules #=> Boolean
651
655
  # resp.projects[0].source.buildspec #=> String
652
656
  # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
653
657
  # resp.projects[0].source.auth.resource #=> String
@@ -658,6 +662,7 @@ module Aws::CodeBuild
658
662
  # resp.projects[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
659
663
  # resp.projects[0].secondary_sources[0].location #=> String
660
664
  # resp.projects[0].secondary_sources[0].git_clone_depth #=> Integer
665
+ # resp.projects[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
661
666
  # resp.projects[0].secondary_sources[0].buildspec #=> String
662
667
  # resp.projects[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
663
668
  # resp.projects[0].secondary_sources[0].auth.resource #=> String
@@ -730,6 +735,7 @@ module Aws::CodeBuild
730
735
  # resp.projects[0].logs_config.cloud_watch_logs.stream_name #=> String
731
736
  # resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
732
737
  # resp.projects[0].logs_config.s3_logs.location #=> String
738
+ # resp.projects[0].logs_config.s3_logs.encryption_disabled #=> Boolean
733
739
  # resp.projects_not_found #=> Array
734
740
  # resp.projects_not_found[0] #=> String
735
741
  #
@@ -787,6 +793,11 @@ module Aws::CodeBuild
787
793
  # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
788
794
  # be used for encrypting the build output artifacts.
789
795
  #
796
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
797
+ # artifacts if your service role has permission to that key.
798
+ #
799
+ # </note>
800
+ #
790
801
  # You can specify either the Amazon Resource Name (ARN) of the CMK or,
791
802
  # if available, the CMK's alias (using the format `alias/alias-name `).
792
803
  #
@@ -821,6 +832,9 @@ module Aws::CodeBuild
821
832
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
822
833
  # location: "String",
823
834
  # git_clone_depth: 1,
835
+ # git_submodules_config: {
836
+ # fetch_submodules: false, # required
837
+ # },
824
838
  # buildspec: "String",
825
839
  # auth: {
826
840
  # type: "OAUTH", # required, accepts OAUTH
@@ -835,6 +849,9 @@ module Aws::CodeBuild
835
849
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
836
850
  # location: "String",
837
851
  # git_clone_depth: 1,
852
+ # git_submodules_config: {
853
+ # fetch_submodules: false, # required
854
+ # },
838
855
  # buildspec: "String",
839
856
  # auth: {
840
857
  # type: "OAUTH", # required, accepts OAUTH
@@ -918,6 +935,7 @@ module Aws::CodeBuild
918
935
  # s3_logs: {
919
936
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
920
937
  # location: "String",
938
+ # encryption_disabled: false,
921
939
  # },
922
940
  # },
923
941
  # })
@@ -930,6 +948,7 @@ module Aws::CodeBuild
930
948
  # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
931
949
  # resp.project.source.location #=> String
932
950
  # resp.project.source.git_clone_depth #=> Integer
951
+ # resp.project.source.git_submodules_config.fetch_submodules #=> Boolean
933
952
  # resp.project.source.buildspec #=> String
934
953
  # resp.project.source.auth.type #=> String, one of "OAUTH"
935
954
  # resp.project.source.auth.resource #=> String
@@ -940,6 +959,7 @@ module Aws::CodeBuild
940
959
  # resp.project.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
941
960
  # resp.project.secondary_sources[0].location #=> String
942
961
  # resp.project.secondary_sources[0].git_clone_depth #=> Integer
962
+ # resp.project.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
943
963
  # resp.project.secondary_sources[0].buildspec #=> String
944
964
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
945
965
  # resp.project.secondary_sources[0].auth.resource #=> String
@@ -1012,6 +1032,7 @@ module Aws::CodeBuild
1012
1032
  # resp.project.logs_config.cloud_watch_logs.stream_name #=> String
1013
1033
  # resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1014
1034
  # resp.project.logs_config.s3_logs.location #=> String
1035
+ # resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
1015
1036
  #
1016
1037
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
1017
1038
  #
@@ -1525,6 +1546,10 @@ module Aws::CodeBuild
1525
1546
  # overrides, for this build only, any previous depth of history defined
1526
1547
  # in the build project.
1527
1548
  #
1549
+ # @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
1550
+ # Information about the Git submodules configuration for this build of
1551
+ # an AWS CodeBuild build project.
1552
+ #
1528
1553
  # @option params [String] :buildspec_override
1529
1554
  # A build spec declaration that overrides, for this build only, the
1530
1555
  # latest one already defined in the build project.
@@ -1620,6 +1645,9 @@ module Aws::CodeBuild
1620
1645
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
1621
1646
  # location: "String",
1622
1647
  # git_clone_depth: 1,
1648
+ # git_submodules_config: {
1649
+ # fetch_submodules: false, # required
1650
+ # },
1623
1651
  # buildspec: "String",
1624
1652
  # auth: {
1625
1653
  # type: "OAUTH", # required, accepts OAUTH
@@ -1675,6 +1703,9 @@ module Aws::CodeBuild
1675
1703
  # resource: "String",
1676
1704
  # },
1677
1705
  # git_clone_depth_override: 1,
1706
+ # git_submodules_config_override: {
1707
+ # fetch_submodules: false, # required
1708
+ # },
1678
1709
  # buildspec_override: "String",
1679
1710
  # insecure_ssl_override: false,
1680
1711
  # report_build_status_override: false,
@@ -1701,6 +1732,7 @@ module Aws::CodeBuild
1701
1732
  # s3_logs: {
1702
1733
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
1703
1734
  # location: "String",
1735
+ # encryption_disabled: false,
1704
1736
  # },
1705
1737
  # },
1706
1738
  # registry_credential_override: {
@@ -1733,6 +1765,7 @@ module Aws::CodeBuild
1733
1765
  # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
1734
1766
  # resp.build.source.location #=> String
1735
1767
  # resp.build.source.git_clone_depth #=> Integer
1768
+ # resp.build.source.git_submodules_config.fetch_submodules #=> Boolean
1736
1769
  # resp.build.source.buildspec #=> String
1737
1770
  # resp.build.source.auth.type #=> String, one of "OAUTH"
1738
1771
  # resp.build.source.auth.resource #=> String
@@ -1743,6 +1776,7 @@ module Aws::CodeBuild
1743
1776
  # resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
1744
1777
  # resp.build.secondary_sources[0].location #=> String
1745
1778
  # resp.build.secondary_sources[0].git_clone_depth #=> Integer
1779
+ # resp.build.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
1746
1780
  # resp.build.secondary_sources[0].buildspec #=> String
1747
1781
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
1748
1782
  # resp.build.secondary_sources[0].auth.resource #=> String
@@ -1791,6 +1825,7 @@ module Aws::CodeBuild
1791
1825
  # resp.build.logs.cloud_watch_logs.stream_name #=> String
1792
1826
  # resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1793
1827
  # resp.build.logs.s3_logs.location #=> String
1828
+ # resp.build.logs.s3_logs.encryption_disabled #=> Boolean
1794
1829
  # resp.build.timeout_in_minutes #=> Integer
1795
1830
  # resp.build.queued_timeout_in_minutes #=> Integer
1796
1831
  # resp.build.build_complete #=> Boolean
@@ -1851,6 +1886,7 @@ module Aws::CodeBuild
1851
1886
  # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
1852
1887
  # resp.build.source.location #=> String
1853
1888
  # resp.build.source.git_clone_depth #=> Integer
1889
+ # resp.build.source.git_submodules_config.fetch_submodules #=> Boolean
1854
1890
  # resp.build.source.buildspec #=> String
1855
1891
  # resp.build.source.auth.type #=> String, one of "OAUTH"
1856
1892
  # resp.build.source.auth.resource #=> String
@@ -1861,6 +1897,7 @@ module Aws::CodeBuild
1861
1897
  # resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
1862
1898
  # resp.build.secondary_sources[0].location #=> String
1863
1899
  # resp.build.secondary_sources[0].git_clone_depth #=> Integer
1900
+ # resp.build.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
1864
1901
  # resp.build.secondary_sources[0].buildspec #=> String
1865
1902
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
1866
1903
  # resp.build.secondary_sources[0].auth.resource #=> String
@@ -1909,6 +1946,7 @@ module Aws::CodeBuild
1909
1946
  # resp.build.logs.cloud_watch_logs.stream_name #=> String
1910
1947
  # resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1911
1948
  # resp.build.logs.s3_logs.location #=> String
1949
+ # resp.build.logs.s3_logs.encryption_disabled #=> Boolean
1912
1950
  # resp.build.timeout_in_minutes #=> Integer
1913
1951
  # resp.build.queued_timeout_in_minutes #=> Integer
1914
1952
  # resp.build.build_complete #=> Boolean
@@ -1980,11 +2018,16 @@ module Aws::CodeBuild
1980
2018
  # out.
1981
2019
  #
1982
2020
  # @option params [String] :encryption_key
1983
- # The replacement AWS Key Management Service (AWS KMS) customer master
1984
- # key (CMK) to be used for encrypting the build output artifacts.
2021
+ # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
2022
+ # be used for encrypting the build output artifacts.
2023
+ #
2024
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
2025
+ # artifacts if your service role has permission to that key.
2026
+ #
2027
+ # </note>
1985
2028
  #
1986
- # You can specify either the Amazon Resource Name (ARN)of the CMK or, if
1987
- # available, the CMK's alias (using the format `alias/alias-name `).
2029
+ # You can specify either the Amazon Resource Name (ARN) of the CMK or,
2030
+ # if available, the CMK's alias (using the format `alias/alias-name `).
1988
2031
  #
1989
2032
  # @option params [Array<Types::Tag>] :tags
1990
2033
  # The replacement set of tags for this build project.
@@ -2016,6 +2059,9 @@ module Aws::CodeBuild
2016
2059
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
2017
2060
  # location: "String",
2018
2061
  # git_clone_depth: 1,
2062
+ # git_submodules_config: {
2063
+ # fetch_submodules: false, # required
2064
+ # },
2019
2065
  # buildspec: "String",
2020
2066
  # auth: {
2021
2067
  # type: "OAUTH", # required, accepts OAUTH
@@ -2030,6 +2076,9 @@ module Aws::CodeBuild
2030
2076
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
2031
2077
  # location: "String",
2032
2078
  # git_clone_depth: 1,
2079
+ # git_submodules_config: {
2080
+ # fetch_submodules: false, # required
2081
+ # },
2033
2082
  # buildspec: "String",
2034
2083
  # auth: {
2035
2084
  # type: "OAUTH", # required, accepts OAUTH
@@ -2113,6 +2162,7 @@ module Aws::CodeBuild
2113
2162
  # s3_logs: {
2114
2163
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
2115
2164
  # location: "String",
2165
+ # encryption_disabled: false,
2116
2166
  # },
2117
2167
  # },
2118
2168
  # })
@@ -2125,6 +2175,7 @@ module Aws::CodeBuild
2125
2175
  # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
2126
2176
  # resp.project.source.location #=> String
2127
2177
  # resp.project.source.git_clone_depth #=> Integer
2178
+ # resp.project.source.git_submodules_config.fetch_submodules #=> Boolean
2128
2179
  # resp.project.source.buildspec #=> String
2129
2180
  # resp.project.source.auth.type #=> String, one of "OAUTH"
2130
2181
  # resp.project.source.auth.resource #=> String
@@ -2135,6 +2186,7 @@ module Aws::CodeBuild
2135
2186
  # resp.project.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
2136
2187
  # resp.project.secondary_sources[0].location #=> String
2137
2188
  # resp.project.secondary_sources[0].git_clone_depth #=> Integer
2189
+ # resp.project.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
2138
2190
  # resp.project.secondary_sources[0].buildspec #=> String
2139
2191
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2140
2192
  # resp.project.secondary_sources[0].auth.resource #=> String
@@ -2207,6 +2259,7 @@ module Aws::CodeBuild
2207
2259
  # resp.project.logs_config.cloud_watch_logs.stream_name #=> String
2208
2260
  # resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
2209
2261
  # resp.project.logs_config.s3_logs.location #=> String
2262
+ # resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
2210
2263
  #
2211
2264
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
2212
2265
  #
@@ -2303,7 +2356,7 @@ module Aws::CodeBuild
2303
2356
  params: params,
2304
2357
  config: config)
2305
2358
  context[:gem_name] = 'aws-sdk-codebuild'
2306
- context[:gem_version] = '1.28.0'
2359
+ context[:gem_version] = '1.29.0'
2307
2360
  Seahorse::Client::Request.new(handlers, context)
2308
2361
  end
2309
2362
 
@@ -61,6 +61,7 @@ module Aws::CodeBuild
61
61
  FilterGroup = Shapes::ListShape.new(name: 'FilterGroup')
62
62
  FilterGroups = Shapes::ListShape.new(name: 'FilterGroups')
63
63
  GitCloneDepth = Shapes::IntegerShape.new(name: 'GitCloneDepth')
64
+ GitSubmodulesConfig = Shapes::StructureShape.new(name: 'GitSubmodulesConfig')
64
65
  ImagePullCredentialsType = Shapes::StringShape.new(name: 'ImagePullCredentialsType')
65
66
  ImageVersions = Shapes::ListShape.new(name: 'ImageVersions')
66
67
  ImportSourceCredentialsInput = Shapes::StructureShape.new(name: 'ImportSourceCredentialsInput')
@@ -301,6 +302,9 @@ module Aws::CodeBuild
301
302
 
302
303
  FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
303
304
 
305
+ GitSubmodulesConfig.add_member(:fetch_submodules, Shapes::ShapeRef.new(shape: WrapperBoolean, required: true, location_name: "fetchSubmodules"))
306
+ GitSubmodulesConfig.struct_class = Types::GitSubmodulesConfig
307
+
304
308
  ImageVersions.member = Shapes::ShapeRef.new(shape: String)
305
309
 
306
310
  ImportSourceCredentialsInput.add_member(:username, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "username"))
@@ -438,6 +442,7 @@ module Aws::CodeBuild
438
442
  ProjectSource.add_member(:type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "type"))
439
443
  ProjectSource.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
440
444
  ProjectSource.add_member(:git_clone_depth, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepth"))
445
+ ProjectSource.add_member(:git_submodules_config, Shapes::ShapeRef.new(shape: GitSubmodulesConfig, location_name: "gitSubmodulesConfig"))
441
446
  ProjectSource.add_member(:buildspec, Shapes::ShapeRef.new(shape: String, location_name: "buildspec"))
442
447
  ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
443
448
  ProjectSource.add_member(:report_build_status, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatus"))
@@ -459,6 +464,7 @@ module Aws::CodeBuild
459
464
 
460
465
  S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
461
466
  S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
467
+ S3LogsConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
462
468
  S3LogsConfig.struct_class = Types::S3LogsConfig
463
469
 
464
470
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -485,6 +491,7 @@ module Aws::CodeBuild
485
491
  StartBuildInput.add_member(:source_location_override, Shapes::ShapeRef.new(shape: String, location_name: "sourceLocationOverride"))
486
492
  StartBuildInput.add_member(:source_auth_override, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "sourceAuthOverride"))
487
493
  StartBuildInput.add_member(:git_clone_depth_override, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepthOverride"))
494
+ StartBuildInput.add_member(:git_submodules_config_override, Shapes::ShapeRef.new(shape: GitSubmodulesConfig, location_name: "gitSubmodulesConfigOverride"))
488
495
  StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
489
496
  StartBuildInput.add_member(:insecure_ssl_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSslOverride"))
490
497
  StartBuildInput.add_member(:report_build_status_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatusOverride"))
@@ -274,9 +274,14 @@ module Aws::CodeBuild
274
274
  # The AWS Key Management Service (AWS KMS) customer master key (CMK)
275
275
  # to be used for encrypting the build output artifacts.
276
276
  #
277
- # This is expressed either as the Amazon Resource Name (ARN) of the
278
- # CMK or, if specified, the CMK's alias (using the format
279
- # `alias/alias-name `).
277
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
278
+ # artifacts if your service role has permission to that key.
279
+ #
280
+ # </note>
281
+ #
282
+ # You can specify either the Amazon Resource Name (ARN) of the CMK or,
283
+ # if available, the CMK's alias (using the format `alias/alias-name
284
+ # `).
280
285
  # @return [String]
281
286
  #
282
287
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
@@ -533,6 +538,9 @@ module Aws::CodeBuild
533
538
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
534
539
  # location: "String",
535
540
  # git_clone_depth: 1,
541
+ # git_submodules_config: {
542
+ # fetch_submodules: false, # required
543
+ # },
536
544
  # buildspec: "String",
537
545
  # auth: {
538
546
  # type: "OAUTH", # required, accepts OAUTH
@@ -547,6 +555,9 @@ module Aws::CodeBuild
547
555
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
548
556
  # location: "String",
549
557
  # git_clone_depth: 1,
558
+ # git_submodules_config: {
559
+ # fetch_submodules: false, # required
560
+ # },
550
561
  # buildspec: "String",
551
562
  # auth: {
552
563
  # type: "OAUTH", # required, accepts OAUTH
@@ -630,6 +641,7 @@ module Aws::CodeBuild
630
641
  # s3_logs: {
631
642
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
632
643
  # location: "String",
644
+ # encryption_disabled: false,
633
645
  # },
634
646
  # },
635
647
  # }
@@ -688,6 +700,11 @@ module Aws::CodeBuild
688
700
  # The AWS Key Management Service (AWS KMS) customer master key (CMK)
689
701
  # to be used for encrypting the build output artifacts.
690
702
  #
703
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
704
+ # artifacts if your service role has permission to that key.
705
+ #
706
+ # </note>
707
+ #
691
708
  # You can specify either the Amazon Resource Name (ARN) of the CMK or,
692
709
  # if available, the CMK's alias (using the format `alias/alias-name
693
710
  # `).
@@ -992,6 +1009,28 @@ module Aws::CodeBuild
992
1009
  include Aws::Structure
993
1010
  end
994
1011
 
1012
+ # Information about the Git submodules configuration for an AWS
1013
+ # CodeBuild build project.
1014
+ #
1015
+ # @note When making an API call, you may pass GitSubmodulesConfig
1016
+ # data as a hash:
1017
+ #
1018
+ # {
1019
+ # fetch_submodules: false, # required
1020
+ # }
1021
+ #
1022
+ # @!attribute [rw] fetch_submodules
1023
+ # Set to true to fetch Git submodules for your AWS CodeBuild build
1024
+ # project.
1025
+ # @return [Boolean]
1026
+ #
1027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GitSubmodulesConfig AWS API Documentation
1028
+ #
1029
+ class GitSubmodulesConfig < Struct.new(
1030
+ :fetch_submodules)
1031
+ include Aws::Structure
1032
+ end
1033
+
995
1034
  # @note When making an API call, you may pass ImportSourceCredentialsInput
996
1035
  # data as a hash:
997
1036
  #
@@ -1308,6 +1347,7 @@ module Aws::CodeBuild
1308
1347
  # s3_logs: {
1309
1348
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
1310
1349
  # location: "String",
1350
+ # encryption_disabled: false,
1311
1351
  # },
1312
1352
  # }
1313
1353
  #
@@ -1465,9 +1505,14 @@ module Aws::CodeBuild
1465
1505
  # The AWS Key Management Service (AWS KMS) customer master key (CMK)
1466
1506
  # to be used for encrypting the build output artifacts.
1467
1507
  #
1468
- # This is expressed either as the Amazon Resource Name (ARN) of the
1469
- # CMK or, if specified, the CMK's alias (using the format
1470
- # `alias/alias-name `).
1508
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
1509
+ # artifacts if your service role has permission to that key.
1510
+ #
1511
+ # </note>
1512
+ #
1513
+ # You can specify either the Amazon Resource Name (ARN) of the CMK or,
1514
+ # if available, the CMK's alias (using the format `alias/alias-name
1515
+ # `).
1471
1516
  # @return [String]
1472
1517
  #
1473
1518
  # @!attribute [rw] tags
@@ -1762,21 +1807,21 @@ module Aws::CodeBuild
1762
1807
  # secondary sources. After the cache is created, subsequent builds
1763
1808
  # pull only the change between commits. This mode is a good choice
1764
1809
  # for projects with a clean working directory and a source that is a
1765
- # large Git repository. If your project does not use a Git
1766
- # repository (GitHub, GitHub Enterprise, or Bitbucket) and you
1767
- # choose this option, then it is ignored.
1810
+ # large Git repository. If you choose this option and your project
1811
+ # does not use a Git repository (GitHub, GitHub Enterprise, or
1812
+ # Bitbucket), the option is ignored.
1768
1813
  #
1769
1814
  # * `LOCAL_DOCKER_LAYER_CACHE` mode caches existing Docker layers.
1770
1815
  # This mode is a good choice for projects that build or pull large
1771
- # Docker images. It can prevent the performance hit that would be
1772
- # caused by pulling large Docker images down from the network.
1816
+ # Docker images. It can prevent the performance issues caused by
1817
+ # pulling large Docker images down from the network.
1773
1818
  #
1774
- # <note markdown="1"> * You can only use a Docker layer cache in the Linux enviornment.
1819
+ # <note markdown="1"> * You can use a Docker layer cache in the Linux enviornment only.
1775
1820
  #
1776
1821
  # * The `privileged` flag must be set so that your project has the
1777
- # necessary Docker privileges.
1822
+ # required Docker permissions.
1778
1823
  #
1779
- # * You should consider the security implications before using a
1824
+ # * You should consider the security implications before you use a
1780
1825
  # Docker layer cache.
1781
1826
  #
1782
1827
  # </note>
@@ -1784,8 +1829,8 @@ module Aws::CodeBuild
1784
1829
  #
1785
1830
  # * `LOCAL_CUSTOM_CACHE` mode caches directories you specify in the
1786
1831
  # buildspec file. This mode is a good choice if your build scenario
1787
- # does not match one that works well with one of the other three
1788
- # local cache modes. If you use a custom cache:
1832
+ # is not suited to one of the other three local cache modes. If you
1833
+ # use a custom cache:
1789
1834
  #
1790
1835
  # * Only directories can be specified for caching. You cannot
1791
1836
  # specify individual files.
@@ -1943,6 +1988,9 @@ module Aws::CodeBuild
1943
1988
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
1944
1989
  # location: "String",
1945
1990
  # git_clone_depth: 1,
1991
+ # git_submodules_config: {
1992
+ # fetch_submodules: false, # required
1993
+ # },
1946
1994
  # buildspec: "String",
1947
1995
  # auth: {
1948
1996
  # type: "OAUTH", # required, accepts OAUTH
@@ -2025,9 +2073,14 @@ module Aws::CodeBuild
2025
2073
  # @return [String]
2026
2074
  #
2027
2075
  # @!attribute [rw] git_clone_depth
2028
- # Information about the git clone depth for the build project.
2076
+ # Information about the Git clone depth for the build project.
2029
2077
  # @return [Integer]
2030
2078
  #
2079
+ # @!attribute [rw] git_submodules_config
2080
+ # Information about the Git submodules configuration for the build
2081
+ # project.
2082
+ # @return [Types::GitSubmodulesConfig]
2083
+ #
2031
2084
  # @!attribute [rw] buildspec
2032
2085
  # The build spec declaration to use for the builds in this build
2033
2086
  # project.
@@ -2067,6 +2120,7 @@ module Aws::CodeBuild
2067
2120
  :type,
2068
2121
  :location,
2069
2122
  :git_clone_depth,
2123
+ :git_submodules_config,
2070
2124
  :buildspec,
2071
2125
  :auth,
2072
2126
  :report_build_status,
@@ -2174,6 +2228,7 @@ module Aws::CodeBuild
2174
2228
  # {
2175
2229
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
2176
2230
  # location: "String",
2231
+ # encryption_disabled: false,
2177
2232
  # }
2178
2233
  #
2179
2234
  # @!attribute [rw] status
@@ -2191,11 +2246,17 @@ module Aws::CodeBuild
2191
2246
  # `arn:aws:s3:::my-bucket/build-log`.
2192
2247
  # @return [String]
2193
2248
  #
2249
+ # @!attribute [rw] encryption_disabled
2250
+ # Set to true if you do not want your S3 build log output encrypted.
2251
+ # By default S3 build logs are encrypted.
2252
+ # @return [Boolean]
2253
+ #
2194
2254
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/S3LogsConfig AWS API Documentation
2195
2255
  #
2196
2256
  class S3LogsConfig < Struct.new(
2197
2257
  :status,
2198
- :location)
2258
+ :location,
2259
+ :encryption_disabled)
2199
2260
  include Aws::Structure
2200
2261
  end
2201
2262
 
@@ -2270,6 +2331,9 @@ module Aws::CodeBuild
2270
2331
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
2271
2332
  # location: "String",
2272
2333
  # git_clone_depth: 1,
2334
+ # git_submodules_config: {
2335
+ # fetch_submodules: false, # required
2336
+ # },
2273
2337
  # buildspec: "String",
2274
2338
  # auth: {
2275
2339
  # type: "OAUTH", # required, accepts OAUTH
@@ -2325,6 +2389,9 @@ module Aws::CodeBuild
2325
2389
  # resource: "String",
2326
2390
  # },
2327
2391
  # git_clone_depth_override: 1,
2392
+ # git_submodules_config_override: {
2393
+ # fetch_submodules: false, # required
2394
+ # },
2328
2395
  # buildspec_override: "String",
2329
2396
  # insecure_ssl_override: false,
2330
2397
  # report_build_status_override: false,
@@ -2351,6 +2418,7 @@ module Aws::CodeBuild
2351
2418
  # s3_logs: {
2352
2419
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
2353
2420
  # location: "String",
2421
+ # encryption_disabled: false,
2354
2422
  # },
2355
2423
  # },
2356
2424
  # registry_credential_override: {
@@ -2435,6 +2503,11 @@ module Aws::CodeBuild
2435
2503
  # defined in the build project.
2436
2504
  # @return [Integer]
2437
2505
  #
2506
+ # @!attribute [rw] git_submodules_config_override
2507
+ # Information about the Git submodules configuration for this build of
2508
+ # an AWS CodeBuild build project.
2509
+ # @return [Types::GitSubmodulesConfig]
2510
+ #
2438
2511
  # @!attribute [rw] buildspec_override
2439
2512
  # A build spec declaration that overrides, for this build only, the
2440
2513
  # latest one already defined in the build project.
@@ -2547,6 +2620,7 @@ module Aws::CodeBuild
2547
2620
  :source_location_override,
2548
2621
  :source_auth_override,
2549
2622
  :git_clone_depth_override,
2623
+ :git_submodules_config_override,
2550
2624
  :buildspec_override,
2551
2625
  :insecure_ssl_override,
2552
2626
  :report_build_status_override,
@@ -2645,6 +2719,9 @@ module Aws::CodeBuild
2645
2719
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
2646
2720
  # location: "String",
2647
2721
  # git_clone_depth: 1,
2722
+ # git_submodules_config: {
2723
+ # fetch_submodules: false, # required
2724
+ # },
2648
2725
  # buildspec: "String",
2649
2726
  # auth: {
2650
2727
  # type: "OAUTH", # required, accepts OAUTH
@@ -2659,6 +2736,9 @@ module Aws::CodeBuild
2659
2736
  # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
2660
2737
  # location: "String",
2661
2738
  # git_clone_depth: 1,
2739
+ # git_submodules_config: {
2740
+ # fetch_submodules: false, # required
2741
+ # },
2662
2742
  # buildspec: "String",
2663
2743
  # auth: {
2664
2744
  # type: "OAUTH", # required, accepts OAUTH
@@ -2742,6 +2822,7 @@ module Aws::CodeBuild
2742
2822
  # s3_logs: {
2743
2823
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
2744
2824
  # location: "String",
2825
+ # encryption_disabled: false,
2745
2826
  # },
2746
2827
  # },
2747
2828
  # }
@@ -2804,10 +2885,15 @@ module Aws::CodeBuild
2804
2885
  # @return [Integer]
2805
2886
  #
2806
2887
  # @!attribute [rw] encryption_key
2807
- # The replacement AWS Key Management Service (AWS KMS) customer master
2808
- # key (CMK) to be used for encrypting the build output artifacts.
2888
+ # The AWS Key Management Service (AWS KMS) customer master key (CMK)
2889
+ # to be used for encrypting the build output artifacts.
2890
+ #
2891
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
2892
+ # artifacts if your service role has permission to that key.
2809
2893
  #
2810
- # You can specify either the Amazon Resource Name (ARN)of the CMK or,
2894
+ # </note>
2895
+ #
2896
+ # You can specify either the Amazon Resource Name (ARN) of the CMK or,
2811
2897
  # if available, the CMK's alias (using the format `alias/alias-name
2812
2898
  # `).
2813
2899
  # @return [String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-21 00:00:00.000000000 Z
11
+ date: 2019-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core