aws-sdk-codebuild 1.3.0 → 1.4.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: 17428437049cc1067f5deab1a3a7d41dbed14628
4
- data.tar.gz: 34649d10580974112ca8098119fff6a0fa5636ef
3
+ metadata.gz: b5dc9395bfce59aa9a74f8e71bf6ed432bd6918c
4
+ data.tar.gz: 4a96f56b17337ea8679726c1d425d6fe47be9a8b
5
5
  SHA512:
6
- metadata.gz: 3d7c267fa5e490722c4bcacf15189325c45bdc95c1761edda6f630067a0000cc87bcae5c15bf6e6e7a6ba2dfd3bcb47a9962f125ef810f8bd130a9ae766b6bf4
7
- data.tar.gz: 1e626afa2896183776fe637d6f33c5b07a63672605f2c459992606c1f8f15cec1f82a71f2bda6f23936cdc423e45048a23cfbcd726d22c146c792b1f8e483e81
6
+ metadata.gz: acbcdf842a70f8ec258f57e50d30c27b0f8eb7c7ea37780121de18e851e187d1c7b26dd2f1b19f3459745ad896317e14f14eef20d86f93904f8d97a6ab351f80
7
+ data.tar.gz: ba6055dce5f5c9d4289aa9f4a9cbbf9c3e08dd0c713a19c249918c83fea15348544131c21180832d88528ce1a5bd5fe63394b634c287530e261022b9290bcd91
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -485,6 +485,8 @@ module Aws::CodeBuild
485
485
  # resp.builds[0].artifacts.location #=> String
486
486
  # resp.builds[0].artifacts.sha256sum #=> String
487
487
  # resp.builds[0].artifacts.md5sum #=> String
488
+ # resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3"
489
+ # resp.builds[0].cache.location #=> String
488
490
  # resp.builds[0].environment.type #=> String, one of "LINUX_CONTAINER"
489
491
  # resp.builds[0].environment.image #=> String
490
492
  # resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -499,6 +501,13 @@ module Aws::CodeBuild
499
501
  # resp.builds[0].timeout_in_minutes #=> Integer
500
502
  # resp.builds[0].build_complete #=> Boolean
501
503
  # resp.builds[0].initiator #=> String
504
+ # resp.builds[0].vpc_config.vpc_id #=> String
505
+ # resp.builds[0].vpc_config.subnets #=> Array
506
+ # resp.builds[0].vpc_config.subnets[0] #=> String
507
+ # resp.builds[0].vpc_config.security_group_ids #=> Array
508
+ # resp.builds[0].vpc_config.security_group_ids[0] #=> String
509
+ # resp.builds[0].network_interface.subnet_id #=> String
510
+ # resp.builds[0].network_interface.network_interface_id #=> String
502
511
  # resp.builds_not_found #=> Array
503
512
  # resp.builds_not_found[0] #=> String
504
513
  #
@@ -544,6 +553,8 @@ module Aws::CodeBuild
544
553
  # resp.projects[0].artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
545
554
  # resp.projects[0].artifacts.name #=> String
546
555
  # resp.projects[0].artifacts.packaging #=> String, one of "NONE", "ZIP"
556
+ # resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3"
557
+ # resp.projects[0].cache.location #=> String
547
558
  # resp.projects[0].environment.type #=> String, one of "LINUX_CONTAINER"
548
559
  # resp.projects[0].environment.image #=> String
549
560
  # resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -561,6 +572,13 @@ module Aws::CodeBuild
561
572
  # resp.projects[0].created #=> Time
562
573
  # resp.projects[0].last_modified #=> Time
563
574
  # resp.projects[0].webhook.url #=> String
575
+ # resp.projects[0].vpc_config.vpc_id #=> String
576
+ # resp.projects[0].vpc_config.subnets #=> Array
577
+ # resp.projects[0].vpc_config.subnets[0] #=> String
578
+ # resp.projects[0].vpc_config.security_group_ids #=> Array
579
+ # resp.projects[0].vpc_config.security_group_ids[0] #=> String
580
+ # resp.projects[0].badge.badge_enabled #=> Boolean
581
+ # resp.projects[0].badge.badge_request_url #=> String
564
582
  # resp.projects_not_found #=> Array
565
583
  # resp.projects_not_found[0] #=> String
566
584
  #
@@ -587,6 +605,10 @@ module Aws::CodeBuild
587
605
  # @option params [required, Types::ProjectArtifacts] :artifacts
588
606
  # Information about the build output artifacts for the build project.
589
607
  #
608
+ # @option params [Types::ProjectCache] :cache
609
+ # Stores recently used information so that it can be quickly accessed at
610
+ # a later time.
611
+ #
590
612
  # @option params [required, Types::ProjectEnvironment] :environment
591
613
  # Information about the build environment for the build project.
592
614
  #
@@ -613,6 +635,13 @@ module Aws::CodeBuild
613
635
  # These tags are available for use by AWS services that support AWS
614
636
  # CodeBuild build project tags.
615
637
  #
638
+ # @option params [Types::VpcConfig] :vpc_config
639
+ # VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
640
+ #
641
+ # @option params [Boolean] :badge_enabled
642
+ # Set this to true to generate a publicly-accessible URL for your
643
+ # project's build badge.
644
+ #
616
645
  # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
617
646
  #
618
647
  # * {Types::CreateProjectOutput#project #project} => Types::Project
@@ -639,6 +668,10 @@ module Aws::CodeBuild
639
668
  # name: "String",
640
669
  # packaging: "NONE", # accepts NONE, ZIP
641
670
  # },
671
+ # cache: {
672
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
673
+ # location: "String",
674
+ # },
642
675
  # environment: { # required
643
676
  # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
644
677
  # image: "NonEmptyString", # required
@@ -661,6 +694,12 @@ module Aws::CodeBuild
661
694
  # value: "ValueInput",
662
695
  # },
663
696
  # ],
697
+ # vpc_config: {
698
+ # vpc_id: "NonEmptyString",
699
+ # subnets: ["NonEmptyString"],
700
+ # security_group_ids: ["NonEmptyString"],
701
+ # },
702
+ # badge_enabled: false,
664
703
  # })
665
704
  #
666
705
  # @example Response structure
@@ -679,6 +718,8 @@ module Aws::CodeBuild
679
718
  # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
680
719
  # resp.project.artifacts.name #=> String
681
720
  # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
721
+ # resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
722
+ # resp.project.cache.location #=> String
682
723
  # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
683
724
  # resp.project.environment.image #=> String
684
725
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -696,6 +737,13 @@ module Aws::CodeBuild
696
737
  # resp.project.created #=> Time
697
738
  # resp.project.last_modified #=> Time
698
739
  # resp.project.webhook.url #=> String
740
+ # resp.project.vpc_config.vpc_id #=> String
741
+ # resp.project.vpc_config.subnets #=> Array
742
+ # resp.project.vpc_config.subnets[0] #=> String
743
+ # resp.project.vpc_config.security_group_ids #=> Array
744
+ # resp.project.vpc_config.security_group_ids[0] #=> String
745
+ # resp.project.badge.badge_enabled #=> Boolean
746
+ # resp.project.badge.badge_request_url #=> String
699
747
  #
700
748
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
701
749
  #
@@ -798,6 +846,28 @@ module Aws::CodeBuild
798
846
  req.send_request(options)
799
847
  end
800
848
 
849
+ # Resets the cache for a project.
850
+ #
851
+ # @option params [required, String] :project_name
852
+ # The name of the build project that the cache will be reset for.
853
+ #
854
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
855
+ #
856
+ # @example Request syntax with placeholder values
857
+ #
858
+ # resp = client.invalidate_project_cache({
859
+ # project_name: "NonEmptyString", # required
860
+ # })
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache AWS API Documentation
863
+ #
864
+ # @overload invalidate_project_cache(params = {})
865
+ # @param [Hash] params ({})
866
+ def invalidate_project_cache(params = {}, options = {})
867
+ req = build_request(:invalidate_project_cache, params)
868
+ req.send_request(options)
869
+ end
870
+
801
871
  # Gets a list of build IDs, with each build ID representing a single
802
872
  # build.
803
873
  #
@@ -1086,6 +1156,8 @@ module Aws::CodeBuild
1086
1156
  # resp.build.artifacts.location #=> String
1087
1157
  # resp.build.artifacts.sha256sum #=> String
1088
1158
  # resp.build.artifacts.md5sum #=> String
1159
+ # resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
1160
+ # resp.build.cache.location #=> String
1089
1161
  # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
1090
1162
  # resp.build.environment.image #=> String
1091
1163
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -1100,6 +1172,13 @@ module Aws::CodeBuild
1100
1172
  # resp.build.timeout_in_minutes #=> Integer
1101
1173
  # resp.build.build_complete #=> Boolean
1102
1174
  # resp.build.initiator #=> String
1175
+ # resp.build.vpc_config.vpc_id #=> String
1176
+ # resp.build.vpc_config.subnets #=> Array
1177
+ # resp.build.vpc_config.subnets[0] #=> String
1178
+ # resp.build.vpc_config.security_group_ids #=> Array
1179
+ # resp.build.vpc_config.security_group_ids[0] #=> String
1180
+ # resp.build.network_interface.subnet_id #=> String
1181
+ # resp.build.network_interface.network_interface_id #=> String
1103
1182
  #
1104
1183
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
1105
1184
  #
@@ -1152,6 +1231,8 @@ module Aws::CodeBuild
1152
1231
  # resp.build.artifacts.location #=> String
1153
1232
  # resp.build.artifacts.sha256sum #=> String
1154
1233
  # resp.build.artifacts.md5sum #=> String
1234
+ # resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
1235
+ # resp.build.cache.location #=> String
1155
1236
  # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
1156
1237
  # resp.build.environment.image #=> String
1157
1238
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -1166,6 +1247,13 @@ module Aws::CodeBuild
1166
1247
  # resp.build.timeout_in_minutes #=> Integer
1167
1248
  # resp.build.build_complete #=> Boolean
1168
1249
  # resp.build.initiator #=> String
1250
+ # resp.build.vpc_config.vpc_id #=> String
1251
+ # resp.build.vpc_config.subnets #=> Array
1252
+ # resp.build.vpc_config.subnets[0] #=> String
1253
+ # resp.build.vpc_config.security_group_ids #=> Array
1254
+ # resp.build.vpc_config.security_group_ids[0] #=> String
1255
+ # resp.build.network_interface.subnet_id #=> String
1256
+ # resp.build.network_interface.network_interface_id #=> String
1169
1257
  #
1170
1258
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
1171
1259
  #
@@ -1196,6 +1284,10 @@ module Aws::CodeBuild
1196
1284
  # Information to be changed about the build output artifacts for the
1197
1285
  # build project.
1198
1286
  #
1287
+ # @option params [Types::ProjectCache] :cache
1288
+ # Stores recently used information so that it can be quickly accessed at
1289
+ # a later time.
1290
+ #
1199
1291
  # @option params [Types::ProjectEnvironment] :environment
1200
1292
  # Information to be changed about the build environment for the build
1201
1293
  # project.
@@ -1223,6 +1315,13 @@ module Aws::CodeBuild
1223
1315
  # These tags are available for use by AWS services that support AWS
1224
1316
  # CodeBuild build project tags.
1225
1317
  #
1318
+ # @option params [Types::VpcConfig] :vpc_config
1319
+ # VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
1320
+ #
1321
+ # @option params [Boolean] :badge_enabled
1322
+ # Set this to true to generate a publicly-accessible URL for your
1323
+ # project's build badge.
1324
+ #
1226
1325
  # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1227
1326
  #
1228
1327
  # * {Types::UpdateProjectOutput#project #project} => Types::Project
@@ -1249,6 +1348,10 @@ module Aws::CodeBuild
1249
1348
  # name: "String",
1250
1349
  # packaging: "NONE", # accepts NONE, ZIP
1251
1350
  # },
1351
+ # cache: {
1352
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
1353
+ # location: "String",
1354
+ # },
1252
1355
  # environment: {
1253
1356
  # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
1254
1357
  # image: "NonEmptyString", # required
@@ -1271,6 +1374,12 @@ module Aws::CodeBuild
1271
1374
  # value: "ValueInput",
1272
1375
  # },
1273
1376
  # ],
1377
+ # vpc_config: {
1378
+ # vpc_id: "NonEmptyString",
1379
+ # subnets: ["NonEmptyString"],
1380
+ # security_group_ids: ["NonEmptyString"],
1381
+ # },
1382
+ # badge_enabled: false,
1274
1383
  # })
1275
1384
  #
1276
1385
  # @example Response structure
@@ -1289,6 +1398,8 @@ module Aws::CodeBuild
1289
1398
  # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
1290
1399
  # resp.project.artifacts.name #=> String
1291
1400
  # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
1401
+ # resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
1402
+ # resp.project.cache.location #=> String
1292
1403
  # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
1293
1404
  # resp.project.environment.image #=> String
1294
1405
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
@@ -1306,6 +1417,13 @@ module Aws::CodeBuild
1306
1417
  # resp.project.created #=> Time
1307
1418
  # resp.project.last_modified #=> Time
1308
1419
  # resp.project.webhook.url #=> String
1420
+ # resp.project.vpc_config.vpc_id #=> String
1421
+ # resp.project.vpc_config.subnets #=> Array
1422
+ # resp.project.vpc_config.subnets[0] #=> String
1423
+ # resp.project.vpc_config.security_group_ids #=> Array
1424
+ # resp.project.vpc_config.security_group_ids[0] #=> String
1425
+ # resp.project.badge.badge_enabled #=> Boolean
1426
+ # resp.project.badge.badge_request_url #=> String
1309
1427
  #
1310
1428
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
1311
1429
  #
@@ -1329,7 +1447,7 @@ module Aws::CodeBuild
1329
1447
  params: params,
1330
1448
  config: config)
1331
1449
  context[:gem_name] = 'aws-sdk-codebuild'
1332
- context[:gem_version] = '1.3.0'
1450
+ context[:gem_version] = '1.4.0'
1333
1451
  Seahorse::Client::Request.new(handlers, context)
1334
1452
  end
1335
1453
 
@@ -31,6 +31,7 @@ module Aws::CodeBuild
31
31
  BuildPhases = Shapes::ListShape.new(name: 'BuildPhases')
32
32
  Builds = Shapes::ListShape.new(name: 'Builds')
33
33
  BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
34
+ CacheType = Shapes::StringShape.new(name: 'CacheType')
34
35
  ComputeType = Shapes::StringShape.new(name: 'ComputeType')
35
36
  CreateProjectInput = Shapes::StructureShape.new(name: 'CreateProjectInput')
36
37
  CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
@@ -51,6 +52,8 @@ module Aws::CodeBuild
51
52
  EnvironmentVariableType = Shapes::StringShape.new(name: 'EnvironmentVariableType')
52
53
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
53
54
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
55
+ InvalidateProjectCacheInput = Shapes::StructureShape.new(name: 'InvalidateProjectCacheInput')
56
+ InvalidateProjectCacheOutput = Shapes::StructureShape.new(name: 'InvalidateProjectCacheOutput')
54
57
  KeyInput = Shapes::StringShape.new(name: 'KeyInput')
55
58
  LanguageType = Shapes::StringShape.new(name: 'LanguageType')
56
59
  ListBuildsForProjectInput = Shapes::StructureShape.new(name: 'ListBuildsForProjectInput')
@@ -62,6 +65,7 @@ module Aws::CodeBuild
62
65
  ListProjectsInput = Shapes::StructureShape.new(name: 'ListProjectsInput')
63
66
  ListProjectsOutput = Shapes::StructureShape.new(name: 'ListProjectsOutput')
64
67
  LogsLocation = Shapes::StructureShape.new(name: 'LogsLocation')
68
+ NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
65
69
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
66
70
  OAuthProviderException = Shapes::StructureShape.new(name: 'OAuthProviderException')
67
71
  PhaseContext = Shapes::StructureShape.new(name: 'PhaseContext')
@@ -69,6 +73,8 @@ module Aws::CodeBuild
69
73
  PlatformType = Shapes::StringShape.new(name: 'PlatformType')
70
74
  Project = Shapes::StructureShape.new(name: 'Project')
71
75
  ProjectArtifacts = Shapes::StructureShape.new(name: 'ProjectArtifacts')
76
+ ProjectBadge = Shapes::StructureShape.new(name: 'ProjectBadge')
77
+ ProjectCache = Shapes::StructureShape.new(name: 'ProjectCache')
72
78
  ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
73
79
  ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
74
80
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
@@ -78,6 +84,7 @@ module Aws::CodeBuild
78
84
  Projects = Shapes::ListShape.new(name: 'Projects')
79
85
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
80
86
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
87
+ SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
81
88
  SortOrderType = Shapes::StringShape.new(name: 'SortOrderType')
82
89
  SourceAuth = Shapes::StructureShape.new(name: 'SourceAuth')
83
90
  SourceAuthType = Shapes::StringShape.new(name: 'SourceAuthType')
@@ -88,6 +95,7 @@ module Aws::CodeBuild
88
95
  StopBuildInput = Shapes::StructureShape.new(name: 'StopBuildInput')
89
96
  StopBuildOutput = Shapes::StructureShape.new(name: 'StopBuildOutput')
90
97
  String = Shapes::StringShape.new(name: 'String')
98
+ Subnets = Shapes::ListShape.new(name: 'Subnets')
91
99
  Tag = Shapes::StructureShape.new(name: 'Tag')
92
100
  TagList = Shapes::ListShape.new(name: 'TagList')
93
101
  TimeOut = Shapes::IntegerShape.new(name: 'TimeOut')
@@ -95,6 +103,7 @@ module Aws::CodeBuild
95
103
  UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
96
104
  UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
97
105
  ValueInput = Shapes::StringShape.new(name: 'ValueInput')
106
+ VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
98
107
  Webhook = Shapes::StructureShape.new(name: 'Webhook')
99
108
  WrapperBoolean = Shapes::BooleanShape.new(name: 'WrapperBoolean')
100
109
  WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
@@ -132,11 +141,14 @@ module Aws::CodeBuild
132
141
  Build.add_member(:phases, Shapes::ShapeRef.new(shape: BuildPhases, location_name: "phases"))
133
142
  Build.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
134
143
  Build.add_member(:artifacts, Shapes::ShapeRef.new(shape: BuildArtifacts, location_name: "artifacts"))
144
+ Build.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
135
145
  Build.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
136
146
  Build.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
137
147
  Build.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
138
148
  Build.add_member(:build_complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "buildComplete"))
139
149
  Build.add_member(:initiator, Shapes::ShapeRef.new(shape: String, location_name: "initiator"))
150
+ Build.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
151
+ Build.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
140
152
  Build.struct_class = Types::Build
141
153
 
142
154
  BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
@@ -168,11 +180,14 @@ module Aws::CodeBuild
168
180
  CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
169
181
  CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
170
182
  CreateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, required: true, location_name: "artifacts"))
183
+ CreateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
171
184
  CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
172
185
  CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
173
186
  CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
174
187
  CreateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
175
188
  CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
189
+ CreateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
190
+ CreateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
176
191
  CreateProjectInput.struct_class = Types::CreateProjectInput
177
192
 
178
193
  CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -219,6 +234,11 @@ module Aws::CodeBuild
219
234
 
220
235
  EnvironmentVariables.member = Shapes::ShapeRef.new(shape: EnvironmentVariable)
221
236
 
237
+ InvalidateProjectCacheInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
238
+ InvalidateProjectCacheInput.struct_class = Types::InvalidateProjectCacheInput
239
+
240
+ InvalidateProjectCacheOutput.struct_class = Types::InvalidateProjectCacheOutput
241
+
222
242
  ListBuildsForProjectInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
223
243
  ListBuildsForProjectInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
224
244
  ListBuildsForProjectInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
@@ -255,6 +275,10 @@ module Aws::CodeBuild
255
275
  LogsLocation.add_member(:deep_link, Shapes::ShapeRef.new(shape: String, location_name: "deepLink"))
256
276
  LogsLocation.struct_class = Types::LogsLocation
257
277
 
278
+ NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subnetId"))
279
+ NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "networkInterfaceId"))
280
+ NetworkInterface.struct_class = Types::NetworkInterface
281
+
258
282
  PhaseContext.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
259
283
  PhaseContext.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
260
284
  PhaseContext.struct_class = Types::PhaseContext
@@ -266,6 +290,7 @@ module Aws::CodeBuild
266
290
  Project.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
267
291
  Project.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
268
292
  Project.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
293
+ Project.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
269
294
  Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
270
295
  Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
271
296
  Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
@@ -274,6 +299,8 @@ module Aws::CodeBuild
274
299
  Project.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
275
300
  Project.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
276
301
  Project.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
302
+ Project.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
303
+ Project.add_member(:badge, Shapes::ShapeRef.new(shape: ProjectBadge, location_name: "badge"))
277
304
  Project.struct_class = Types::Project
278
305
 
279
306
  ProjectArtifacts.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, required: true, location_name: "type"))
@@ -284,6 +311,14 @@ module Aws::CodeBuild
284
311
  ProjectArtifacts.add_member(:packaging, Shapes::ShapeRef.new(shape: ArtifactPackaging, location_name: "packaging"))
285
312
  ProjectArtifacts.struct_class = Types::ProjectArtifacts
286
313
 
314
+ ProjectBadge.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "badgeEnabled"))
315
+ ProjectBadge.add_member(:badge_request_url, Shapes::ShapeRef.new(shape: String, location_name: "badgeRequestUrl"))
316
+ ProjectBadge.struct_class = Types::ProjectBadge
317
+
318
+ ProjectCache.add_member(:type, Shapes::ShapeRef.new(shape: CacheType, required: true, location_name: "type"))
319
+ ProjectCache.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
320
+ ProjectCache.struct_class = Types::ProjectCache
321
+
287
322
  ProjectEnvironment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
288
323
  ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
289
324
  ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
@@ -301,6 +336,8 @@ module Aws::CodeBuild
301
336
 
302
337
  Projects.member = Shapes::ShapeRef.new(shape: Project)
303
338
 
339
+ SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
340
+
304
341
  SourceAuth.add_member(:type, Shapes::ShapeRef.new(shape: SourceAuthType, required: true, location_name: "type"))
305
342
  SourceAuth.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
306
343
  SourceAuth.struct_class = Types::SourceAuth
@@ -322,6 +359,8 @@ module Aws::CodeBuild
322
359
  StopBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
323
360
  StopBuildOutput.struct_class = Types::StopBuildOutput
324
361
 
362
+ Subnets.member = Shapes::ShapeRef.new(shape: NonEmptyString)
363
+
325
364
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: KeyInput, location_name: "key"))
326
365
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: ValueInput, location_name: "value"))
327
366
  Tag.struct_class = Types::Tag
@@ -332,16 +371,24 @@ module Aws::CodeBuild
332
371
  UpdateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
333
372
  UpdateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
334
373
  UpdateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
374
+ UpdateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
335
375
  UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
336
376
  UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
337
377
  UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
338
378
  UpdateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
339
379
  UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
380
+ UpdateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
381
+ UpdateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
340
382
  UpdateProjectInput.struct_class = Types::UpdateProjectInput
341
383
 
342
384
  UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
343
385
  UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
344
386
 
387
+ VpcConfig.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "vpcId"))
388
+ VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, location_name: "subnets"))
389
+ VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
390
+ VpcConfig.struct_class = Types::VpcConfig
391
+
345
392
  Webhook.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
346
393
  Webhook.struct_class = Types::Webhook
347
394
 
@@ -430,6 +477,16 @@ module Aws::CodeBuild
430
477
  o.errors << Shapes::ShapeRef.new(shape: OAuthProviderException)
431
478
  end)
432
479
 
480
+ api.add_operation(:invalidate_project_cache, Seahorse::Model::Operation.new.tap do |o|
481
+ o.name = "InvalidateProjectCache"
482
+ o.http_method = "POST"
483
+ o.http_request_uri = "/"
484
+ o.input = Shapes::ShapeRef.new(shape: InvalidateProjectCacheInput)
485
+ o.output = Shapes::ShapeRef.new(shape: InvalidateProjectCacheOutput)
486
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
488
+ end)
489
+
433
490
  api.add_operation(:list_builds, Seahorse::Model::Operation.new.tap do |o|
434
491
  o.name = "ListBuilds"
435
492
  o.http_method = "POST"
@@ -171,6 +171,10 @@ module Aws::CodeBuild
171
171
  # Information about the output artifacts for the build.
172
172
  # @return [Types::BuildArtifacts]
173
173
  #
174
+ # @!attribute [rw] cache
175
+ # Information about the cache for the build.
176
+ # @return [Types::ProjectCache]
177
+ #
174
178
  # @!attribute [rw] environment
175
179
  # Information about the build environment for this build.
176
180
  # @return [Types::ProjectEnvironment]
@@ -201,6 +205,18 @@ module Aws::CodeBuild
201
205
  # string `CodeBuild-Jenkins-Plugin`.
202
206
  # @return [String]
203
207
  #
208
+ # @!attribute [rw] vpc_config
209
+ # If your AWS CodeBuild project accesses resources in an Amazon VPC,
210
+ # you provide this parameter that identifies the VPC ID and the list
211
+ # of security group IDs and subnet IDs. The security groups and
212
+ # subnets must belong to the same VPC. You must provide at least one
213
+ # security group and one subnet ID.
214
+ # @return [Types::VpcConfig]
215
+ #
216
+ # @!attribute [rw] network_interface
217
+ # Describes a network interface.
218
+ # @return [Types::NetworkInterface]
219
+ #
204
220
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
205
221
  #
206
222
  class Build < Struct.new(
@@ -215,11 +231,14 @@ module Aws::CodeBuild
215
231
  :phases,
216
232
  :source,
217
233
  :artifacts,
234
+ :cache,
218
235
  :environment,
219
236
  :logs,
220
237
  :timeout_in_minutes,
221
238
  :build_complete,
222
- :initiator)
239
+ :initiator,
240
+ :vpc_config,
241
+ :network_interface)
223
242
  include Aws::Structure
224
243
  end
225
244
 
@@ -383,6 +402,10 @@ module Aws::CodeBuild
383
402
  # name: "String",
384
403
  # packaging: "NONE", # accepts NONE, ZIP
385
404
  # },
405
+ # cache: {
406
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
407
+ # location: "String",
408
+ # },
386
409
  # environment: { # required
387
410
  # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
388
411
  # image: "NonEmptyString", # required
@@ -405,6 +428,12 @@ module Aws::CodeBuild
405
428
  # value: "ValueInput",
406
429
  # },
407
430
  # ],
431
+ # vpc_config: {
432
+ # vpc_id: "NonEmptyString",
433
+ # subnets: ["NonEmptyString"],
434
+ # security_group_ids: ["NonEmptyString"],
435
+ # },
436
+ # badge_enabled: false,
408
437
  # }
409
438
  #
410
439
  # @!attribute [rw] name
@@ -423,6 +452,11 @@ module Aws::CodeBuild
423
452
  # Information about the build output artifacts for the build project.
424
453
  # @return [Types::ProjectArtifacts]
425
454
  #
455
+ # @!attribute [rw] cache
456
+ # Stores recently used information so that it can be quickly accessed
457
+ # at a later time.
458
+ # @return [Types::ProjectCache]
459
+ #
426
460
  # @!attribute [rw] environment
427
461
  # Information about the build environment for the build project.
428
462
  # @return [Types::ProjectEnvironment]
@@ -454,6 +488,16 @@ module Aws::CodeBuild
454
488
  # CodeBuild build project tags.
455
489
  # @return [Array<Types::Tag>]
456
490
  #
491
+ # @!attribute [rw] vpc_config
492
+ # VpcConfig enables AWS CodeBuild to access resources in an Amazon
493
+ # VPC.
494
+ # @return [Types::VpcConfig]
495
+ #
496
+ # @!attribute [rw] badge_enabled
497
+ # Set this to true to generate a publicly-accessible URL for your
498
+ # project's build badge.
499
+ # @return [Boolean]
500
+ #
457
501
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
458
502
  #
459
503
  class CreateProjectInput < Struct.new(
@@ -461,11 +505,14 @@ module Aws::CodeBuild
461
505
  :description,
462
506
  :source,
463
507
  :artifacts,
508
+ :cache,
464
509
  :environment,
465
510
  :service_role,
466
511
  :timeout_in_minutes,
467
512
  :encryption_key,
468
- :tags)
513
+ :tags,
514
+ :vpc_config,
515
+ :badge_enabled)
469
516
  include Aws::Structure
470
517
  end
471
518
 
@@ -656,6 +703,28 @@ module Aws::CodeBuild
656
703
  include Aws::Structure
657
704
  end
658
705
 
706
+ # @note When making an API call, you may pass InvalidateProjectCacheInput
707
+ # data as a hash:
708
+ #
709
+ # {
710
+ # project_name: "NonEmptyString", # required
711
+ # }
712
+ #
713
+ # @!attribute [rw] project_name
714
+ # The name of the build project that the cache will be reset for.
715
+ # @return [String]
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
718
+ #
719
+ class InvalidateProjectCacheInput < Struct.new(
720
+ :project_name)
721
+ include Aws::Structure
722
+ end
723
+
724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheOutput AWS API Documentation
725
+ #
726
+ class InvalidateProjectCacheOutput < Aws::EmptyStructure; end
727
+
659
728
  # @note When making an API call, you may pass ListBuildsForProjectInput
660
729
  # data as a hash:
661
730
  #
@@ -886,6 +955,24 @@ module Aws::CodeBuild
886
955
  include Aws::Structure
887
956
  end
888
957
 
958
+ # Describes a network interface.
959
+ #
960
+ # @!attribute [rw] subnet_id
961
+ # The ID of the subnet.
962
+ # @return [String]
963
+ #
964
+ # @!attribute [rw] network_interface_id
965
+ # The ID of the network interface.
966
+ # @return [String]
967
+ #
968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/NetworkInterface AWS API Documentation
969
+ #
970
+ class NetworkInterface < Struct.new(
971
+ :subnet_id,
972
+ :network_interface_id)
973
+ include Aws::Structure
974
+ end
975
+
889
976
  # Additional information about a build phase that has an error. You can
890
977
  # use this information to help troubleshoot a failed build.
891
978
  #
@@ -929,6 +1016,10 @@ module Aws::CodeBuild
929
1016
  # Information about the build output artifacts for the build project.
930
1017
  # @return [Types::ProjectArtifacts]
931
1018
  #
1019
+ # @!attribute [rw] cache
1020
+ # Information about the cache for the build project.
1021
+ # @return [Types::ProjectCache]
1022
+ #
932
1023
  # @!attribute [rw] environment
933
1024
  # Information about the build environment for this build project.
934
1025
  # @return [Types::ProjectEnvironment]
@@ -975,6 +1066,18 @@ module Aws::CodeBuild
975
1066
  # events to a build project in AWS CodeBuild.
976
1067
  # @return [Types::Webhook]
977
1068
  #
1069
+ # @!attribute [rw] vpc_config
1070
+ # If your AWS CodeBuild project accesses resources in an Amazon VPC,
1071
+ # you provide this parameter that identifies the VPC ID and the list
1072
+ # of security group IDs and subnet IDs. The security groups and
1073
+ # subnets must belong to the same VPC. You must provide at least one
1074
+ # security group and one subnet ID.
1075
+ # @return [Types::VpcConfig]
1076
+ #
1077
+ # @!attribute [rw] badge
1078
+ # Information about the build badge for the build project.
1079
+ # @return [Types::ProjectBadge]
1080
+ #
978
1081
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
979
1082
  #
980
1083
  class Project < Struct.new(
@@ -983,6 +1086,7 @@ module Aws::CodeBuild
983
1086
  :description,
984
1087
  :source,
985
1088
  :artifacts,
1089
+ :cache,
986
1090
  :environment,
987
1091
  :service_role,
988
1092
  :timeout_in_minutes,
@@ -990,7 +1094,9 @@ module Aws::CodeBuild
990
1094
  :tags,
991
1095
  :created,
992
1096
  :last_modified,
993
- :webhook)
1097
+ :webhook,
1098
+ :vpc_config,
1099
+ :badge)
994
1100
  include Aws::Structure
995
1101
  end
996
1102
 
@@ -1134,6 +1240,60 @@ module Aws::CodeBuild
1134
1240
  include Aws::Structure
1135
1241
  end
1136
1242
 
1243
+ # Information about the build badge for the build project.
1244
+ #
1245
+ # @!attribute [rw] badge_enabled
1246
+ # Set this to true to generate a publicly-accessible URL for your
1247
+ # project's build badge.
1248
+ # @return [Boolean]
1249
+ #
1250
+ # @!attribute [rw] badge_request_url
1251
+ # The publicly-accessible URL through which you can access the build
1252
+ # badge for your project.
1253
+ # @return [String]
1254
+ #
1255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge AWS API Documentation
1256
+ #
1257
+ class ProjectBadge < Struct.new(
1258
+ :badge_enabled,
1259
+ :badge_request_url)
1260
+ include Aws::Structure
1261
+ end
1262
+
1263
+ # Information about the cache for the build project.
1264
+ #
1265
+ # @note When making an API call, you may pass ProjectCache
1266
+ # data as a hash:
1267
+ #
1268
+ # {
1269
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
1270
+ # location: "String",
1271
+ # }
1272
+ #
1273
+ # @!attribute [rw] type
1274
+ # The type of cache used by the build project. Valid values include:
1275
+ #
1276
+ # * `NO_CACHE`\: The build project will not use any cache.
1277
+ #
1278
+ # * `S3`\: The build project will read and write from/to S3.
1279
+ # @return [String]
1280
+ #
1281
+ # @!attribute [rw] location
1282
+ # Information about the cache location, as follows:
1283
+ #
1284
+ # * `NO_CACHE`\: This value will be ignored.
1285
+ #
1286
+ # * `S3`\: This is the S3 bucket name/prefix.
1287
+ # @return [String]
1288
+ #
1289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache AWS API Documentation
1290
+ #
1291
+ class ProjectCache < Struct.new(
1292
+ :type,
1293
+ :location)
1294
+ include Aws::Structure
1295
+ end
1296
+
1137
1297
  # Information about the build environment of the build project.
1138
1298
  #
1139
1299
  # @note When making an API call, you may pass ProjectEnvironment
@@ -1527,6 +1687,10 @@ module Aws::CodeBuild
1527
1687
  # name: "String",
1528
1688
  # packaging: "NONE", # accepts NONE, ZIP
1529
1689
  # },
1690
+ # cache: {
1691
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
1692
+ # location: "String",
1693
+ # },
1530
1694
  # environment: {
1531
1695
  # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
1532
1696
  # image: "NonEmptyString", # required
@@ -1549,6 +1713,12 @@ module Aws::CodeBuild
1549
1713
  # value: "ValueInput",
1550
1714
  # },
1551
1715
  # ],
1716
+ # vpc_config: {
1717
+ # vpc_id: "NonEmptyString",
1718
+ # subnets: ["NonEmptyString"],
1719
+ # security_group_ids: ["NonEmptyString"],
1720
+ # },
1721
+ # badge_enabled: false,
1552
1722
  # }
1553
1723
  #
1554
1724
  # @!attribute [rw] name
@@ -1573,6 +1743,11 @@ module Aws::CodeBuild
1573
1743
  # build project.
1574
1744
  # @return [Types::ProjectArtifacts]
1575
1745
  #
1746
+ # @!attribute [rw] cache
1747
+ # Stores recently used information so that it can be quickly accessed
1748
+ # at a later time.
1749
+ # @return [Types::ProjectCache]
1750
+ #
1576
1751
  # @!attribute [rw] environment
1577
1752
  # Information to be changed about the build environment for the build
1578
1753
  # project.
@@ -1605,6 +1780,16 @@ module Aws::CodeBuild
1605
1780
  # CodeBuild build project tags.
1606
1781
  # @return [Array<Types::Tag>]
1607
1782
  #
1783
+ # @!attribute [rw] vpc_config
1784
+ # VpcConfig enables AWS CodeBuild to access resources in an Amazon
1785
+ # VPC.
1786
+ # @return [Types::VpcConfig]
1787
+ #
1788
+ # @!attribute [rw] badge_enabled
1789
+ # Set this to true to generate a publicly-accessible URL for your
1790
+ # project's build badge.
1791
+ # @return [Boolean]
1792
+ #
1608
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
1609
1794
  #
1610
1795
  class UpdateProjectInput < Struct.new(
@@ -1612,11 +1797,14 @@ module Aws::CodeBuild
1612
1797
  :description,
1613
1798
  :source,
1614
1799
  :artifacts,
1800
+ :cache,
1615
1801
  :environment,
1616
1802
  :service_role,
1617
1803
  :timeout_in_minutes,
1618
1804
  :encryption_key,
1619
- :tags)
1805
+ :tags,
1806
+ :vpc_config,
1807
+ :badge_enabled)
1620
1808
  include Aws::Structure
1621
1809
  end
1622
1810
 
@@ -1631,6 +1819,42 @@ module Aws::CodeBuild
1631
1819
  include Aws::Structure
1632
1820
  end
1633
1821
 
1822
+ # If your AWS CodeBuild project accesses resources in an Amazon VPC, you
1823
+ # provide this parameter that identifies the VPC ID and the list of
1824
+ # security group IDs and subnet IDs. The security groups and subnets
1825
+ # must belong to the same VPC. You must provide at least one security
1826
+ # group and one subnet ID.
1827
+ #
1828
+ # @note When making an API call, you may pass VpcConfig
1829
+ # data as a hash:
1830
+ #
1831
+ # {
1832
+ # vpc_id: "NonEmptyString",
1833
+ # subnets: ["NonEmptyString"],
1834
+ # security_group_ids: ["NonEmptyString"],
1835
+ # }
1836
+ #
1837
+ # @!attribute [rw] vpc_id
1838
+ # The ID of the Amazon VPC.
1839
+ # @return [String]
1840
+ #
1841
+ # @!attribute [rw] subnets
1842
+ # A list of one or more subnet IDs in your Amazon VPC.
1843
+ # @return [Array<String>]
1844
+ #
1845
+ # @!attribute [rw] security_group_ids
1846
+ # A list of one or more security groups IDs in your Amazon VPC.
1847
+ # @return [Array<String>]
1848
+ #
1849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/VpcConfig AWS API Documentation
1850
+ #
1851
+ class VpcConfig < Struct.new(
1852
+ :vpc_id,
1853
+ :subnets,
1854
+ :security_group_ids)
1855
+ include Aws::Structure
1856
+ end
1857
+
1634
1858
  # Information about a webhook in GitHub that connects repository events
1635
1859
  # to a build project in AWS CodeBuild.
1636
1860
  #
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.3.0
4
+ version: 1.4.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: 2017-09-29 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core