aws-sdk-codebuild 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +35 -30
- data/lib/aws-sdk-codebuild/client_api.rb +6 -1
- data/lib/aws-sdk-codebuild/types.rb +76 -44
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 426c389b814d80093fe2ccf4b0634d2ad7e843a7
|
4
|
+
data.tar.gz: a9b18be727e25d3d5cf15728e404f8b6296ebdf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47064650064336492f605c4b990f32c8123341dc21f402b714436dff230a72c79e8993d1fe5e64d1d1a00330edb734dd28fa5f87ef0f0be327591a78042fa3d9
|
7
|
+
data.tar.gz: 2e472960e33d6afd020ac43d3587b0551112d6c3a7214ab60eedf638753e7dc518d05bc5617737eb620875e67676eaa09103b953540ee2b91224c080c988b482
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -573,8 +573,10 @@ module Aws::CodeBuild
|
|
573
573
|
# resp.builds[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
574
574
|
# resp.builds[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
575
575
|
# resp.builds[0].secondary_artifacts[0].artifact_identifier #=> String
|
576
|
-
# resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3"
|
576
|
+
# resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
577
577
|
# resp.builds[0].cache.location #=> String
|
578
|
+
# resp.builds[0].cache.modes #=> Array
|
579
|
+
# resp.builds[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
578
580
|
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
579
581
|
# resp.builds[0].environment.image #=> String
|
580
582
|
# resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -681,8 +683,10 @@ module Aws::CodeBuild
|
|
681
683
|
# resp.projects[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
682
684
|
# resp.projects[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
683
685
|
# resp.projects[0].secondary_artifacts[0].artifact_identifier #=> String
|
684
|
-
# resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3"
|
686
|
+
# resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
685
687
|
# resp.projects[0].cache.location #=> String
|
688
|
+
# resp.projects[0].cache.modes #=> Array
|
689
|
+
# resp.projects[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
686
690
|
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
687
691
|
# resp.projects[0].environment.image #=> String
|
688
692
|
# resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -783,11 +787,6 @@ module Aws::CodeBuild
|
|
783
787
|
# The AWS Key Management Service (AWS KMS) customer master key (CMK) to
|
784
788
|
# be used for encrypting the build output artifacts.
|
785
789
|
#
|
786
|
-
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
787
|
-
# artifacts if your service role has permission to that key.
|
788
|
-
#
|
789
|
-
# </note>
|
790
|
-
#
|
791
790
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
792
791
|
# if available, the CMK's alias (using the format `alias/alias-name `).
|
793
792
|
#
|
@@ -871,8 +870,9 @@ module Aws::CodeBuild
|
|
871
870
|
# },
|
872
871
|
# ],
|
873
872
|
# cache: {
|
874
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
873
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
875
874
|
# location: "String",
|
875
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
876
876
|
# },
|
877
877
|
# environment: { # required
|
878
878
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER
|
@@ -965,8 +965,10 @@ module Aws::CodeBuild
|
|
965
965
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
966
966
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
967
967
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
968
|
-
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
|
968
|
+
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
969
969
|
# resp.project.cache.location #=> String
|
970
|
+
# resp.project.cache.modes #=> Array
|
971
|
+
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
970
972
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
971
973
|
# resp.project.environment.image #=> String
|
972
974
|
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -1681,8 +1683,9 @@ module Aws::CodeBuild
|
|
1681
1683
|
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
|
1682
1684
|
# certificate_override: "String",
|
1683
1685
|
# cache_override: {
|
1684
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
1686
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
1685
1687
|
# location: "String",
|
1688
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
1686
1689
|
# },
|
1687
1690
|
# service_role_override: "NonEmptyString",
|
1688
1691
|
# privileged_mode_override: false,
|
@@ -1762,8 +1765,10 @@ module Aws::CodeBuild
|
|
1762
1765
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
1763
1766
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
1764
1767
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
1765
|
-
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
|
1768
|
+
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1766
1769
|
# resp.build.cache.location #=> String
|
1770
|
+
# resp.build.cache.modes #=> Array
|
1771
|
+
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
1767
1772
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
1768
1773
|
# resp.build.environment.image #=> String
|
1769
1774
|
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -1878,8 +1883,10 @@ module Aws::CodeBuild
|
|
1878
1883
|
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
1879
1884
|
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
1880
1885
|
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
1881
|
-
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
|
1886
|
+
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
1882
1887
|
# resp.build.cache.location #=> String
|
1888
|
+
# resp.build.cache.modes #=> Array
|
1889
|
+
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
1883
1890
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
1884
1891
|
# resp.build.environment.image #=> String
|
1885
1892
|
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -1973,16 +1980,11 @@ module Aws::CodeBuild
|
|
1973
1980
|
# out.
|
1974
1981
|
#
|
1975
1982
|
# @option params [String] :encryption_key
|
1976
|
-
# The AWS Key Management Service (AWS KMS) customer master
|
1977
|
-
# be used for encrypting the build output artifacts.
|
1983
|
+
# The replacement AWS Key Management Service (AWS KMS) customer master
|
1984
|
+
# key (CMK) to be used for encrypting the build output artifacts.
|
1978
1985
|
#
|
1979
|
-
#
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
# </note>
|
1983
|
-
#
|
1984
|
-
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
1985
|
-
# if available, the CMK's alias (using the format `alias/alias-name `).
|
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 `).
|
1986
1988
|
#
|
1987
1989
|
# @option params [Array<Types::Tag>] :tags
|
1988
1990
|
# The replacement set of tags for this build project.
|
@@ -2063,8 +2065,9 @@ module Aws::CodeBuild
|
|
2063
2065
|
# },
|
2064
2066
|
# ],
|
2065
2067
|
# cache: {
|
2066
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
2068
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
2067
2069
|
# location: "String",
|
2070
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
2068
2071
|
# },
|
2069
2072
|
# environment: {
|
2070
2073
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER
|
@@ -2157,8 +2160,10 @@ module Aws::CodeBuild
|
|
2157
2160
|
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
2158
2161
|
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
2159
2162
|
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
2160
|
-
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
|
2163
|
+
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
2161
2164
|
# resp.project.cache.location #=> String
|
2165
|
+
# resp.project.cache.modes #=> Array
|
2166
|
+
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
2162
2167
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
2163
2168
|
# resp.project.environment.image #=> String
|
2164
2169
|
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
|
@@ -2232,16 +2237,16 @@ module Aws::CodeBuild
|
|
2232
2237
|
#
|
2233
2238
|
# </note>
|
2234
2239
|
#
|
2235
|
-
# @option params [Array<Array>] :filter_groups
|
2236
|
-
# An array of arrays of `WebhookFilter` objects used to determine if a
|
2237
|
-
# webhook event can trigger a build. A filter group must pcontain at
|
2238
|
-
# least one `EVENT` `WebhookFilter`.
|
2239
|
-
#
|
2240
2240
|
# @option params [Boolean] :rotate_secret
|
2241
2241
|
# A boolean value that specifies whether the associated GitHub
|
2242
2242
|
# repository's secret token should be updated. If you use Bitbucket for
|
2243
2243
|
# your repository, `rotateSecret` is ignored.
|
2244
2244
|
#
|
2245
|
+
# @option params [Array<Array>] :filter_groups
|
2246
|
+
# An array of arrays of `WebhookFilter` objects used to determine if a
|
2247
|
+
# webhook event can trigger a build. A filter group must pcontain at
|
2248
|
+
# least one `EVENT` `WebhookFilter`.
|
2249
|
+
#
|
2245
2250
|
# @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2246
2251
|
#
|
2247
2252
|
# * {Types::UpdateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -2251,6 +2256,7 @@ module Aws::CodeBuild
|
|
2251
2256
|
# resp = client.update_webhook({
|
2252
2257
|
# project_name: "ProjectName", # required
|
2253
2258
|
# branch_filter: "String",
|
2259
|
+
# rotate_secret: false,
|
2254
2260
|
# filter_groups: [
|
2255
2261
|
# [
|
2256
2262
|
# {
|
@@ -2260,7 +2266,6 @@ module Aws::CodeBuild
|
|
2260
2266
|
# },
|
2261
2267
|
# ],
|
2262
2268
|
# ],
|
2263
|
-
# rotate_secret: false,
|
2264
2269
|
# })
|
2265
2270
|
#
|
2266
2271
|
# @example Response structure
|
@@ -2298,7 +2303,7 @@ module Aws::CodeBuild
|
|
2298
2303
|
params: params,
|
2299
2304
|
config: config)
|
2300
2305
|
context[:gem_name] = 'aws-sdk-codebuild'
|
2301
|
-
context[:gem_version] = '1.
|
2306
|
+
context[:gem_version] = '1.28.0'
|
2302
2307
|
Seahorse::Client::Request.new(handlers, context)
|
2303
2308
|
end
|
2304
2309
|
|
@@ -33,6 +33,7 @@ module Aws::CodeBuild
|
|
33
33
|
BuildPhases = Shapes::ListShape.new(name: 'BuildPhases')
|
34
34
|
Builds = Shapes::ListShape.new(name: 'Builds')
|
35
35
|
BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
|
36
|
+
CacheMode = Shapes::StringShape.new(name: 'CacheMode')
|
36
37
|
CacheType = Shapes::StringShape.new(name: 'CacheType')
|
37
38
|
CloudWatchLogsConfig = Shapes::StructureShape.new(name: 'CloudWatchLogsConfig')
|
38
39
|
ComputeType = Shapes::StringShape.new(name: 'ComputeType')
|
@@ -93,6 +94,7 @@ module Aws::CodeBuild
|
|
93
94
|
ProjectArtifactsList = Shapes::ListShape.new(name: 'ProjectArtifactsList')
|
94
95
|
ProjectBadge = Shapes::StructureShape.new(name: 'ProjectBadge')
|
95
96
|
ProjectCache = Shapes::StructureShape.new(name: 'ProjectCache')
|
97
|
+
ProjectCacheModes = Shapes::ListShape.new(name: 'ProjectCacheModes')
|
96
98
|
ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
|
97
99
|
ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
|
98
100
|
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
@@ -414,8 +416,11 @@ module Aws::CodeBuild
|
|
414
416
|
|
415
417
|
ProjectCache.add_member(:type, Shapes::ShapeRef.new(shape: CacheType, required: true, location_name: "type"))
|
416
418
|
ProjectCache.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
419
|
+
ProjectCache.add_member(:modes, Shapes::ShapeRef.new(shape: ProjectCacheModes, location_name: "modes"))
|
417
420
|
ProjectCache.struct_class = Types::ProjectCache
|
418
421
|
|
422
|
+
ProjectCacheModes.member = Shapes::ShapeRef.new(shape: CacheMode)
|
423
|
+
|
419
424
|
ProjectEnvironment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
|
420
425
|
ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
|
421
426
|
ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
@@ -538,8 +543,8 @@ module Aws::CodeBuild
|
|
538
543
|
|
539
544
|
UpdateWebhookInput.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
|
540
545
|
UpdateWebhookInput.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
541
|
-
UpdateWebhookInput.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
|
542
546
|
UpdateWebhookInput.add_member(:rotate_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "rotateSecret"))
|
547
|
+
UpdateWebhookInput.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
|
543
548
|
UpdateWebhookInput.struct_class = Types::UpdateWebhookInput
|
544
549
|
|
545
550
|
UpdateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
|
@@ -274,14 +274,9 @@ 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
|
-
#
|
278
|
-
#
|
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
|
-
# `).
|
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 `).
|
285
280
|
# @return [String]
|
286
281
|
#
|
287
282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
|
@@ -587,8 +582,9 @@ module Aws::CodeBuild
|
|
587
582
|
# },
|
588
583
|
# ],
|
589
584
|
# cache: {
|
590
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
585
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
591
586
|
# location: "String",
|
587
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
592
588
|
# },
|
593
589
|
# environment: { # required
|
594
590
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER
|
@@ -692,11 +688,6 @@ module Aws::CodeBuild
|
|
692
688
|
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
693
689
|
# to be used for encrypting the build output artifacts.
|
694
690
|
#
|
695
|
-
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
696
|
-
# artifacts if your service role has permission to that key.
|
697
|
-
#
|
698
|
-
# </note>
|
699
|
-
#
|
700
691
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
701
692
|
# if available, the CMK's alias (using the format `alias/alias-name
|
702
693
|
# `).
|
@@ -1474,14 +1465,9 @@ module Aws::CodeBuild
|
|
1474
1465
|
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
1475
1466
|
# to be used for encrypting the build output artifacts.
|
1476
1467
|
#
|
1477
|
-
#
|
1478
|
-
#
|
1479
|
-
#
|
1480
|
-
# </note>
|
1481
|
-
#
|
1482
|
-
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
1483
|
-
# if available, the CMK's alias (using the format `alias/alias-name
|
1484
|
-
# `).
|
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 `).
|
1485
1471
|
# @return [String]
|
1486
1472
|
#
|
1487
1473
|
# @!attribute [rw] tags
|
@@ -1744,8 +1730,9 @@ module Aws::CodeBuild
|
|
1744
1730
|
# data as a hash:
|
1745
1731
|
#
|
1746
1732
|
# {
|
1747
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
1733
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
1748
1734
|
# location: "String",
|
1735
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
1749
1736
|
# }
|
1750
1737
|
#
|
1751
1738
|
# @!attribute [rw] type
|
@@ -1754,21 +1741,69 @@ module Aws::CodeBuild
|
|
1754
1741
|
# * `NO_CACHE`\: The build project does not use any cache.
|
1755
1742
|
#
|
1756
1743
|
# * `S3`\: The build project reads and writes from and to S3.
|
1744
|
+
#
|
1745
|
+
# * `LOCAL`\: The build project stores a cache locally on a build host
|
1746
|
+
# that is only available to that build host.
|
1757
1747
|
# @return [String]
|
1758
1748
|
#
|
1759
1749
|
# @!attribute [rw] location
|
1760
1750
|
# Information about the cache location:
|
1761
1751
|
#
|
1762
|
-
# * `NO_CACHE`\: This value is ignored.
|
1752
|
+
# * `NO_CACHE` or `LOCAL`\: This value is ignored.
|
1763
1753
|
#
|
1764
1754
|
# * `S3`\: This is the S3 bucket name/prefix.
|
1765
1755
|
# @return [String]
|
1766
1756
|
#
|
1757
|
+
# @!attribute [rw] modes
|
1758
|
+
# If you use a `LOCAL` cache, the local cache mode. You can use one or
|
1759
|
+
# more local cache modes at the same time.
|
1760
|
+
#
|
1761
|
+
# * `LOCAL_SOURCE_CACHE` mode caches Git metadata for primary and
|
1762
|
+
# secondary sources. After the cache is created, subsequent builds
|
1763
|
+
# pull only the change between commits. This mode is a good choice
|
1764
|
+
# 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.
|
1768
|
+
#
|
1769
|
+
# * `LOCAL_DOCKER_LAYER_CACHE` mode caches existing Docker layers.
|
1770
|
+
# 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.
|
1773
|
+
#
|
1774
|
+
# <note markdown="1"> * You can only use a Docker layer cache in the Linux enviornment.
|
1775
|
+
#
|
1776
|
+
# * The `privileged` flag must be set so that your project has the
|
1777
|
+
# necessary Docker privileges.
|
1778
|
+
#
|
1779
|
+
# * You should consider the security implications before using a
|
1780
|
+
# Docker layer cache.
|
1781
|
+
#
|
1782
|
+
# </note>
|
1783
|
+
# ^
|
1784
|
+
#
|
1785
|
+
# * `LOCAL_CUSTOM_CACHE` mode caches directories you specify in the
|
1786
|
+
# 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:
|
1789
|
+
#
|
1790
|
+
# * Only directories can be specified for caching. You cannot
|
1791
|
+
# specify individual files.
|
1792
|
+
#
|
1793
|
+
# * Symlinks are used to reference cached directories.
|
1794
|
+
#
|
1795
|
+
# * Cached directories are linked to your build before it downloads
|
1796
|
+
# its project sources. Cached items are overriden if a source item
|
1797
|
+
# has the same name. Directories are specified using cache paths
|
1798
|
+
# in the buildspec file.
|
1799
|
+
# @return [Array<String>]
|
1800
|
+
#
|
1767
1801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache AWS API Documentation
|
1768
1802
|
#
|
1769
1803
|
class ProjectCache < Struct.new(
|
1770
1804
|
:type,
|
1771
|
-
:location
|
1805
|
+
:location,
|
1806
|
+
:modes)
|
1772
1807
|
include Aws::Structure
|
1773
1808
|
end
|
1774
1809
|
|
@@ -2298,8 +2333,9 @@ module Aws::CodeBuild
|
|
2298
2333
|
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
|
2299
2334
|
# certificate_override: "String",
|
2300
2335
|
# cache_override: {
|
2301
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
2336
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
2302
2337
|
# location: "String",
|
2338
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
2303
2339
|
# },
|
2304
2340
|
# service_role_override: "NonEmptyString",
|
2305
2341
|
# privileged_mode_override: false,
|
@@ -2658,8 +2694,9 @@ module Aws::CodeBuild
|
|
2658
2694
|
# },
|
2659
2695
|
# ],
|
2660
2696
|
# cache: {
|
2661
|
-
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
2697
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
2662
2698
|
# location: "String",
|
2699
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
2663
2700
|
# },
|
2664
2701
|
# environment: {
|
2665
2702
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER
|
@@ -2767,15 +2804,10 @@ module Aws::CodeBuild
|
|
2767
2804
|
# @return [Integer]
|
2768
2805
|
#
|
2769
2806
|
# @!attribute [rw] encryption_key
|
2770
|
-
# The AWS Key Management Service (AWS KMS) customer master
|
2771
|
-
# to be used for encrypting the build output artifacts.
|
2772
|
-
#
|
2773
|
-
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
2774
|
-
# artifacts if your service role has permission to that key.
|
2807
|
+
# The replacement AWS Key Management Service (AWS KMS) customer master
|
2808
|
+
# key (CMK) to be used for encrypting the build output artifacts.
|
2775
2809
|
#
|
2776
|
-
#
|
2777
|
-
#
|
2778
|
-
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
2810
|
+
# You can specify either the Amazon Resource Name (ARN)of the CMK or,
|
2779
2811
|
# if available, the CMK's alias (using the format `alias/alias-name
|
2780
2812
|
# `).
|
2781
2813
|
# @return [String]
|
@@ -2841,6 +2873,7 @@ module Aws::CodeBuild
|
|
2841
2873
|
# {
|
2842
2874
|
# project_name: "ProjectName", # required
|
2843
2875
|
# branch_filter: "String",
|
2876
|
+
# rotate_secret: false,
|
2844
2877
|
# filter_groups: [
|
2845
2878
|
# [
|
2846
2879
|
# {
|
@@ -2850,7 +2883,6 @@ module Aws::CodeBuild
|
|
2850
2883
|
# },
|
2851
2884
|
# ],
|
2852
2885
|
# ],
|
2853
|
-
# rotate_secret: false,
|
2854
2886
|
# }
|
2855
2887
|
#
|
2856
2888
|
# @!attribute [rw] project_name
|
@@ -2869,25 +2901,25 @@ module Aws::CodeBuild
|
|
2869
2901
|
# </note>
|
2870
2902
|
# @return [String]
|
2871
2903
|
#
|
2872
|
-
# @!attribute [rw] filter_groups
|
2873
|
-
# An array of arrays of `WebhookFilter` objects used to determine if a
|
2874
|
-
# webhook event can trigger a build. A filter group must pcontain at
|
2875
|
-
# least one `EVENT` `WebhookFilter`.
|
2876
|
-
# @return [Array<Array<Types::WebhookFilter>>]
|
2877
|
-
#
|
2878
2904
|
# @!attribute [rw] rotate_secret
|
2879
2905
|
# A boolean value that specifies whether the associated GitHub
|
2880
2906
|
# repository's secret token should be updated. If you use Bitbucket
|
2881
2907
|
# for your repository, `rotateSecret` is ignored.
|
2882
2908
|
# @return [Boolean]
|
2883
2909
|
#
|
2910
|
+
# @!attribute [rw] filter_groups
|
2911
|
+
# An array of arrays of `WebhookFilter` objects used to determine if a
|
2912
|
+
# webhook event can trigger a build. A filter group must pcontain at
|
2913
|
+
# least one `EVENT` `WebhookFilter`.
|
2914
|
+
# @return [Array<Array<Types::WebhookFilter>>]
|
2915
|
+
#
|
2884
2916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookInput AWS API Documentation
|
2885
2917
|
#
|
2886
2918
|
class UpdateWebhookInput < Struct.new(
|
2887
2919
|
:project_name,
|
2888
2920
|
:branch_filter,
|
2889
|
-
:
|
2890
|
-
:
|
2921
|
+
:rotate_secret,
|
2922
|
+
:filter_groups)
|
2891
2923
|
include Aws::Structure
|
2892
2924
|
end
|
2893
2925
|
|
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.
|
4
|
+
version: 1.28.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-
|
11
|
+
date: 2019-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|