aws-sdk-codebuild 1.5.0 → 1.6.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: 334030287fa3f50e6cede46106b02840d308117d
4
- data.tar.gz: 9012394261cbfb62a797f27aac264c0bea6a9435
3
+ metadata.gz: dff6920815312013c544b7b20fba2f89e9c66e9e
4
+ data.tar.gz: c7380a03741c3f1ff5a216e5e49fc66efb5d381b
5
5
  SHA512:
6
- metadata.gz: 09f9d520a269c83eeb19edb7f8ba8d208264e4925ced6914dd7d1037dad253812ddc06a652f28bae104791f3c35f962c93fa4e076a7645cae87c1d6cbe270999
7
- data.tar.gz: 3da72013521e75d36d39ef502b1497cd81903d52d07de4a7732c9ed11f8cbe8d39c0f5c4bdc35039d61331347471c37e9e1aee42b4078e8d401bc36be2ee10f1
6
+ metadata.gz: 39638f73c9b9cf39f1e5cfa71d7ca56b0754f64324e823cd76c5fd236a0f3563496728031a23d62436815e0d46bdc92bafb423eefcf5807d011a45d8727219cf
7
+ data.tar.gz: 5ff406c7946082918c25b267c390327d7a0ac11a6d93f993e2ba7e34049386eb51d43c30b6ceb3356af6b418ee48e40a2497172d0d5bf9a373832ab09efea929
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -477,11 +477,13 @@ module Aws::CodeBuild
477
477
  # resp.builds[0].phases[0].contexts #=> Array
478
478
  # resp.builds[0].phases[0].contexts[0].status_code #=> String
479
479
  # resp.builds[0].phases[0].contexts[0].message #=> String
480
- # resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
480
+ # resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
481
481
  # resp.builds[0].source.location #=> String
482
+ # resp.builds[0].source.git_clone_depth #=> Integer
482
483
  # resp.builds[0].source.buildspec #=> String
483
484
  # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
484
485
  # resp.builds[0].source.auth.resource #=> String
486
+ # resp.builds[0].source.insecure_ssl #=> Boolean
485
487
  # resp.builds[0].artifacts.location #=> String
486
488
  # resp.builds[0].artifacts.sha256sum #=> String
487
489
  # resp.builds[0].artifacts.md5sum #=> String
@@ -495,6 +497,7 @@ module Aws::CodeBuild
495
497
  # resp.builds[0].environment.environment_variables[0].value #=> String
496
498
  # resp.builds[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
497
499
  # resp.builds[0].environment.privileged_mode #=> Boolean
500
+ # resp.builds[0].environment.certificate #=> String
498
501
  # resp.builds[0].logs.group_name #=> String
499
502
  # resp.builds[0].logs.stream_name #=> String
500
503
  # resp.builds[0].logs.deep_link #=> String
@@ -542,11 +545,13 @@ module Aws::CodeBuild
542
545
  # resp.projects[0].name #=> String
543
546
  # resp.projects[0].arn #=> String
544
547
  # resp.projects[0].description #=> String
545
- # resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
548
+ # resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
546
549
  # resp.projects[0].source.location #=> String
550
+ # resp.projects[0].source.git_clone_depth #=> Integer
547
551
  # resp.projects[0].source.buildspec #=> String
548
552
  # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
549
553
  # resp.projects[0].source.auth.resource #=> String
554
+ # resp.projects[0].source.insecure_ssl #=> Boolean
550
555
  # resp.projects[0].artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
551
556
  # resp.projects[0].artifacts.location #=> String
552
557
  # resp.projects[0].artifacts.path #=> String
@@ -563,6 +568,7 @@ module Aws::CodeBuild
563
568
  # resp.projects[0].environment.environment_variables[0].value #=> String
564
569
  # resp.projects[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
565
570
  # resp.projects[0].environment.privileged_mode #=> Boolean
571
+ # resp.projects[0].environment.certificate #=> String
566
572
  # resp.projects[0].service_role #=> String
567
573
  # resp.projects[0].timeout_in_minutes #=> Integer
568
574
  # resp.projects[0].encryption_key #=> String
@@ -572,6 +578,8 @@ module Aws::CodeBuild
572
578
  # resp.projects[0].created #=> Time
573
579
  # resp.projects[0].last_modified #=> Time
574
580
  # resp.projects[0].webhook.url #=> String
581
+ # resp.projects[0].webhook.payload_url #=> String
582
+ # resp.projects[0].webhook.secret #=> String
575
583
  # resp.projects[0].vpc_config.vpc_id #=> String
576
584
  # resp.projects[0].vpc_config.subnets #=> Array
577
585
  # resp.projects[0].vpc_config.subnets[0] #=> String
@@ -652,13 +660,15 @@ module Aws::CodeBuild
652
660
  # name: "ProjectName", # required
653
661
  # description: "ProjectDescription",
654
662
  # source: { # required
655
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET
663
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
656
664
  # location: "String",
665
+ # git_clone_depth: 1,
657
666
  # buildspec: "String",
658
667
  # auth: {
659
668
  # type: "OAUTH", # required, accepts OAUTH
660
669
  # resource: "String",
661
670
  # },
671
+ # insecure_ssl: false,
662
672
  # },
663
673
  # artifacts: { # required
664
674
  # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
@@ -684,6 +694,7 @@ module Aws::CodeBuild
684
694
  # },
685
695
  # ],
686
696
  # privileged_mode: false,
697
+ # certificate: "String",
687
698
  # },
688
699
  # service_role: "NonEmptyString",
689
700
  # timeout_in_minutes: 1,
@@ -707,11 +718,13 @@ module Aws::CodeBuild
707
718
  # resp.project.name #=> String
708
719
  # resp.project.arn #=> String
709
720
  # resp.project.description #=> String
710
- # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
721
+ # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
711
722
  # resp.project.source.location #=> String
723
+ # resp.project.source.git_clone_depth #=> Integer
712
724
  # resp.project.source.buildspec #=> String
713
725
  # resp.project.source.auth.type #=> String, one of "OAUTH"
714
726
  # resp.project.source.auth.resource #=> String
727
+ # resp.project.source.insecure_ssl #=> Boolean
715
728
  # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
716
729
  # resp.project.artifacts.location #=> String
717
730
  # resp.project.artifacts.path #=> String
@@ -728,6 +741,7 @@ module Aws::CodeBuild
728
741
  # resp.project.environment.environment_variables[0].value #=> String
729
742
  # resp.project.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
730
743
  # resp.project.environment.privileged_mode #=> Boolean
744
+ # resp.project.environment.certificate #=> String
731
745
  # resp.project.service_role #=> String
732
746
  # resp.project.timeout_in_minutes #=> Integer
733
747
  # resp.project.encryption_key #=> String
@@ -737,6 +751,8 @@ module Aws::CodeBuild
737
751
  # resp.project.created #=> Time
738
752
  # resp.project.last_modified #=> Time
739
753
  # resp.project.webhook.url #=> String
754
+ # resp.project.webhook.payload_url #=> String
755
+ # resp.project.webhook.secret #=> String
740
756
  # resp.project.vpc_config.vpc_id #=> String
741
757
  # resp.project.vpc_config.subnets #=> Array
742
758
  # resp.project.vpc_config.subnets[0] #=> String
@@ -766,7 +782,7 @@ module Aws::CodeBuild
766
782
  # per-build basis, you will be billed for both builds. Therefore, if you
767
783
  # are using AWS CodePipeline, we recommend that you disable webhooks in
768
784
  # CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For
769
- # more information, see step 9 in [Change a Build Projects
785
+ # more information, see step 9 in [Change a Build Project's
770
786
  # Settings][1].
771
787
  #
772
788
  #
@@ -789,6 +805,8 @@ module Aws::CodeBuild
789
805
  # @example Response structure
790
806
  #
791
807
  # resp.webhook.url #=> String
808
+ # resp.webhook.payload_url #=> String
809
+ # resp.webhook.secret #=> String
792
810
  #
793
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
794
812
  #
@@ -1094,6 +1112,11 @@ module Aws::CodeBuild
1094
1112
  # A set of environment variables that overrides, for this build only,
1095
1113
  # the latest ones already defined in the build project.
1096
1114
  #
1115
+ # @option params [Integer] :git_clone_depth_override
1116
+ # The user-defined depth of history, with a minimum value of 0, that
1117
+ # overrides, for this build only, any previous depth of history defined
1118
+ # in the build project.
1119
+ #
1097
1120
  # @option params [String] :buildspec_override
1098
1121
  # A build spec declaration that overrides, for this build only, the
1099
1122
  # latest one already defined in the build project.
@@ -1127,6 +1150,7 @@ module Aws::CodeBuild
1127
1150
  # type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
1128
1151
  # },
1129
1152
  # ],
1153
+ # git_clone_depth_override: 1,
1130
1154
  # buildspec_override: "String",
1131
1155
  # timeout_in_minutes_override: 1,
1132
1156
  # })
@@ -1150,11 +1174,13 @@ module Aws::CodeBuild
1150
1174
  # resp.build.phases[0].contexts #=> Array
1151
1175
  # resp.build.phases[0].contexts[0].status_code #=> String
1152
1176
  # resp.build.phases[0].contexts[0].message #=> String
1153
- # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
1177
+ # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
1154
1178
  # resp.build.source.location #=> String
1179
+ # resp.build.source.git_clone_depth #=> Integer
1155
1180
  # resp.build.source.buildspec #=> String
1156
1181
  # resp.build.source.auth.type #=> String, one of "OAUTH"
1157
1182
  # resp.build.source.auth.resource #=> String
1183
+ # resp.build.source.insecure_ssl #=> Boolean
1158
1184
  # resp.build.artifacts.location #=> String
1159
1185
  # resp.build.artifacts.sha256sum #=> String
1160
1186
  # resp.build.artifacts.md5sum #=> String
@@ -1168,6 +1194,7 @@ module Aws::CodeBuild
1168
1194
  # resp.build.environment.environment_variables[0].value #=> String
1169
1195
  # resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
1170
1196
  # resp.build.environment.privileged_mode #=> Boolean
1197
+ # resp.build.environment.certificate #=> String
1171
1198
  # resp.build.logs.group_name #=> String
1172
1199
  # resp.build.logs.stream_name #=> String
1173
1200
  # resp.build.logs.deep_link #=> String
@@ -1225,11 +1252,13 @@ module Aws::CodeBuild
1225
1252
  # resp.build.phases[0].contexts #=> Array
1226
1253
  # resp.build.phases[0].contexts[0].status_code #=> String
1227
1254
  # resp.build.phases[0].contexts[0].message #=> String
1228
- # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
1255
+ # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
1229
1256
  # resp.build.source.location #=> String
1257
+ # resp.build.source.git_clone_depth #=> Integer
1230
1258
  # resp.build.source.buildspec #=> String
1231
1259
  # resp.build.source.auth.type #=> String, one of "OAUTH"
1232
1260
  # resp.build.source.auth.resource #=> String
1261
+ # resp.build.source.insecure_ssl #=> Boolean
1233
1262
  # resp.build.artifacts.location #=> String
1234
1263
  # resp.build.artifacts.sha256sum #=> String
1235
1264
  # resp.build.artifacts.md5sum #=> String
@@ -1243,6 +1272,7 @@ module Aws::CodeBuild
1243
1272
  # resp.build.environment.environment_variables[0].value #=> String
1244
1273
  # resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
1245
1274
  # resp.build.environment.privileged_mode #=> Boolean
1275
+ # resp.build.environment.certificate #=> String
1246
1276
  # resp.build.logs.group_name #=> String
1247
1277
  # resp.build.logs.stream_name #=> String
1248
1278
  # resp.build.logs.deep_link #=> String
@@ -1334,13 +1364,15 @@ module Aws::CodeBuild
1334
1364
  # name: "NonEmptyString", # required
1335
1365
  # description: "ProjectDescription",
1336
1366
  # source: {
1337
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET
1367
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
1338
1368
  # location: "String",
1369
+ # git_clone_depth: 1,
1339
1370
  # buildspec: "String",
1340
1371
  # auth: {
1341
1372
  # type: "OAUTH", # required, accepts OAUTH
1342
1373
  # resource: "String",
1343
1374
  # },
1375
+ # insecure_ssl: false,
1344
1376
  # },
1345
1377
  # artifacts: {
1346
1378
  # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
@@ -1366,6 +1398,7 @@ module Aws::CodeBuild
1366
1398
  # },
1367
1399
  # ],
1368
1400
  # privileged_mode: false,
1401
+ # certificate: "String",
1369
1402
  # },
1370
1403
  # service_role: "NonEmptyString",
1371
1404
  # timeout_in_minutes: 1,
@@ -1389,11 +1422,13 @@ module Aws::CodeBuild
1389
1422
  # resp.project.name #=> String
1390
1423
  # resp.project.arn #=> String
1391
1424
  # resp.project.description #=> String
1392
- # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET"
1425
+ # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
1393
1426
  # resp.project.source.location #=> String
1427
+ # resp.project.source.git_clone_depth #=> Integer
1394
1428
  # resp.project.source.buildspec #=> String
1395
1429
  # resp.project.source.auth.type #=> String, one of "OAUTH"
1396
1430
  # resp.project.source.auth.resource #=> String
1431
+ # resp.project.source.insecure_ssl #=> Boolean
1397
1432
  # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
1398
1433
  # resp.project.artifacts.location #=> String
1399
1434
  # resp.project.artifacts.path #=> String
@@ -1410,6 +1445,7 @@ module Aws::CodeBuild
1410
1445
  # resp.project.environment.environment_variables[0].value #=> String
1411
1446
  # resp.project.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
1412
1447
  # resp.project.environment.privileged_mode #=> Boolean
1448
+ # resp.project.environment.certificate #=> String
1413
1449
  # resp.project.service_role #=> String
1414
1450
  # resp.project.timeout_in_minutes #=> Integer
1415
1451
  # resp.project.encryption_key #=> String
@@ -1419,6 +1455,8 @@ module Aws::CodeBuild
1419
1455
  # resp.project.created #=> Time
1420
1456
  # resp.project.last_modified #=> Time
1421
1457
  # resp.project.webhook.url #=> String
1458
+ # resp.project.webhook.payload_url #=> String
1459
+ # resp.project.webhook.secret #=> String
1422
1460
  # resp.project.vpc_config.vpc_id #=> String
1423
1461
  # resp.project.vpc_config.subnets #=> Array
1424
1462
  # resp.project.vpc_config.subnets[0] #=> String
@@ -1449,7 +1487,7 @@ module Aws::CodeBuild
1449
1487
  params: params,
1450
1488
  config: config)
1451
1489
  context[:gem_name] = 'aws-sdk-codebuild'
1452
- context[:gem_version] = '1.5.0'
1490
+ context[:gem_version] = '1.6.0'
1453
1491
  Seahorse::Client::Request.new(handlers, context)
1454
1492
  end
1455
1493
 
@@ -51,6 +51,7 @@ module Aws::CodeBuild
51
51
  EnvironmentVariable = Shapes::StructureShape.new(name: 'EnvironmentVariable')
52
52
  EnvironmentVariableType = Shapes::StringShape.new(name: 'EnvironmentVariableType')
53
53
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
54
+ GitCloneDepth = Shapes::IntegerShape.new(name: 'GitCloneDepth')
54
55
  ImageVersions = Shapes::ListShape.new(name: 'ImageVersions')
55
56
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
56
57
  InvalidateProjectCacheInput = Shapes::StructureShape.new(name: 'InvalidateProjectCacheInput')
@@ -328,14 +329,17 @@ module Aws::CodeBuild
328
329
  ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
329
330
  ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
330
331
  ProjectEnvironment.add_member(:privileged_mode, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedMode"))
332
+ ProjectEnvironment.add_member(:certificate, Shapes::ShapeRef.new(shape: String, location_name: "certificate"))
331
333
  ProjectEnvironment.struct_class = Types::ProjectEnvironment
332
334
 
333
335
  ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
334
336
 
335
337
  ProjectSource.add_member(:type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "type"))
336
338
  ProjectSource.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
339
+ ProjectSource.add_member(:git_clone_depth, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepth"))
337
340
  ProjectSource.add_member(:buildspec, Shapes::ShapeRef.new(shape: String, location_name: "buildspec"))
338
341
  ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
342
+ ProjectSource.add_member(:insecure_ssl, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSsl"))
339
343
  ProjectSource.struct_class = Types::ProjectSource
340
344
 
341
345
  Projects.member = Shapes::ShapeRef.new(shape: Project)
@@ -350,6 +354,7 @@ module Aws::CodeBuild
350
354
  StartBuildInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
351
355
  StartBuildInput.add_member(:artifacts_override, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifactsOverride"))
352
356
  StartBuildInput.add_member(:environment_variables_override, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariablesOverride"))
357
+ StartBuildInput.add_member(:git_clone_depth_override, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepthOverride"))
353
358
  StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
354
359
  StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
355
360
  StartBuildInput.struct_class = Types::StartBuildInput
@@ -394,6 +399,8 @@ module Aws::CodeBuild
394
399
  VpcConfig.struct_class = Types::VpcConfig
395
400
 
396
401
  Webhook.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
402
+ Webhook.add_member(:payload_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "payloadUrl"))
403
+ Webhook.add_member(:secret, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "secret"))
397
404
  Webhook.struct_class = Types::Webhook
398
405
 
399
406
 
@@ -386,13 +386,15 @@ module Aws::CodeBuild
386
386
  # name: "ProjectName", # required
387
387
  # description: "ProjectDescription",
388
388
  # source: { # required
389
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET
389
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
390
390
  # location: "String",
391
+ # git_clone_depth: 1,
391
392
  # buildspec: "String",
392
393
  # auth: {
393
394
  # type: "OAUTH", # required, accepts OAUTH
394
395
  # resource: "String",
395
396
  # },
397
+ # insecure_ssl: false,
396
398
  # },
397
399
  # artifacts: { # required
398
400
  # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
@@ -418,6 +420,7 @@ module Aws::CodeBuild
418
420
  # },
419
421
  # ],
420
422
  # privileged_mode: false,
423
+ # certificate: "String",
421
424
  # },
422
425
  # service_role: "NonEmptyString",
423
426
  # timeout_in_minutes: 1,
@@ -1313,6 +1316,7 @@ module Aws::CodeBuild
1313
1316
  # },
1314
1317
  # ],
1315
1318
  # privileged_mode: false,
1319
+ # certificate: "String",
1316
1320
  # }
1317
1321
  #
1318
1322
  # @!attribute [rw] type
@@ -1361,6 +1365,10 @@ module Aws::CodeBuild
1361
1365
  # sh -c "until docker info; do echo .; sleep 1; done"`
1362
1366
  # @return [Boolean]
1363
1367
  #
1368
+ # @!attribute [rw] certificate
1369
+ # The certificate to use with this build project.
1370
+ # @return [String]
1371
+ #
1364
1372
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
1365
1373
  #
1366
1374
  class ProjectEnvironment < Struct.new(
@@ -1368,7 +1376,8 @@ module Aws::CodeBuild
1368
1376
  :image,
1369
1377
  :compute_type,
1370
1378
  :environment_variables,
1371
- :privileged_mode)
1379
+ :privileged_mode,
1380
+ :certificate)
1372
1381
  include Aws::Structure
1373
1382
  end
1374
1383
 
@@ -1378,13 +1387,15 @@ module Aws::CodeBuild
1378
1387
  # data as a hash:
1379
1388
  #
1380
1389
  # {
1381
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET
1390
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
1382
1391
  # location: "String",
1392
+ # git_clone_depth: 1,
1383
1393
  # buildspec: "String",
1384
1394
  # auth: {
1385
1395
  # type: "OAUTH", # required, accepts OAUTH
1386
1396
  # resource: "String",
1387
1397
  # },
1398
+ # insecure_ssl: false,
1388
1399
  # }
1389
1400
  #
1390
1401
  # @!attribute [rw] type
@@ -1452,6 +1463,10 @@ module Aws::CodeBuild
1452
1463
  # `type` value to `OAUTH`.
1453
1464
  # @return [String]
1454
1465
  #
1466
+ # @!attribute [rw] git_clone_depth
1467
+ # Information about the git clone depth for the build project.
1468
+ # @return [Integer]
1469
+ #
1455
1470
  # @!attribute [rw] buildspec
1456
1471
  # The build spec declaration to use for the builds in this build
1457
1472
  # project.
@@ -1469,13 +1484,20 @@ module Aws::CodeBuild
1469
1484
  # build project's source `type` value is `BITBUCKET` or `GITHUB`).
1470
1485
  # @return [Types::SourceAuth]
1471
1486
  #
1487
+ # @!attribute [rw] insecure_ssl
1488
+ # Enable this flag to ignore SSL warnings while connecting to the
1489
+ # project source code.
1490
+ # @return [Boolean]
1491
+ #
1472
1492
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource AWS API Documentation
1473
1493
  #
1474
1494
  class ProjectSource < Struct.new(
1475
1495
  :type,
1476
1496
  :location,
1497
+ :git_clone_depth,
1477
1498
  :buildspec,
1478
- :auth)
1499
+ :auth,
1500
+ :insecure_ssl)
1479
1501
  include Aws::Structure
1480
1502
  end
1481
1503
 
@@ -1532,6 +1554,7 @@ module Aws::CodeBuild
1532
1554
  # type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
1533
1555
  # },
1534
1556
  # ],
1557
+ # git_clone_depth_override: 1,
1535
1558
  # buildspec_override: "String",
1536
1559
  # timeout_in_minutes_override: 1,
1537
1560
  # }
@@ -1574,6 +1597,12 @@ module Aws::CodeBuild
1574
1597
  # the latest ones already defined in the build project.
1575
1598
  # @return [Array<Types::EnvironmentVariable>]
1576
1599
  #
1600
+ # @!attribute [rw] git_clone_depth_override
1601
+ # The user-defined depth of history, with a minimum value of 0, that
1602
+ # overrides, for this build only, any previous depth of history
1603
+ # defined in the build project.
1604
+ # @return [Integer]
1605
+ #
1577
1606
  # @!attribute [rw] buildspec_override
1578
1607
  # A build spec declaration that overrides, for this build only, the
1579
1608
  # latest one already defined in the build project.
@@ -1592,6 +1621,7 @@ module Aws::CodeBuild
1592
1621
  :source_version,
1593
1622
  :artifacts_override,
1594
1623
  :environment_variables_override,
1624
+ :git_clone_depth_override,
1595
1625
  :buildspec_override,
1596
1626
  :timeout_in_minutes_override)
1597
1627
  include Aws::Structure
@@ -1673,13 +1703,15 @@ module Aws::CodeBuild
1673
1703
  # name: "NonEmptyString", # required
1674
1704
  # description: "ProjectDescription",
1675
1705
  # source: {
1676
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET
1706
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
1677
1707
  # location: "String",
1708
+ # git_clone_depth: 1,
1678
1709
  # buildspec: "String",
1679
1710
  # auth: {
1680
1711
  # type: "OAUTH", # required, accepts OAUTH
1681
1712
  # resource: "String",
1682
1713
  # },
1714
+ # insecure_ssl: false,
1683
1715
  # },
1684
1716
  # artifacts: {
1685
1717
  # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
@@ -1705,6 +1737,7 @@ module Aws::CodeBuild
1705
1737
  # },
1706
1738
  # ],
1707
1739
  # privileged_mode: false,
1740
+ # certificate: "String",
1708
1741
  # },
1709
1742
  # service_role: "NonEmptyString",
1710
1743
  # timeout_in_minutes: 1,
@@ -1861,10 +1894,22 @@ module Aws::CodeBuild
1861
1894
  # The URL to the webhook.
1862
1895
  # @return [String]
1863
1896
  #
1897
+ # @!attribute [rw] payload_url
1898
+ # This is the server endpoint that will receive the webhook payload.
1899
+ # @return [String]
1900
+ #
1901
+ # @!attribute [rw] secret
1902
+ # Use this secret while creating a webhook in GitHub for Enterprise.
1903
+ # The secret allows webhook requests sent by GitHub for Enterprise to
1904
+ # be authenticated by AWS CodeBuild.
1905
+ # @return [String]
1906
+ #
1864
1907
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook AWS API Documentation
1865
1908
  #
1866
1909
  class Webhook < Struct.new(
1867
- :url)
1910
+ :url,
1911
+ :payload_url,
1912
+ :secret)
1868
1913
  include Aws::Structure
1869
1914
  end
1870
1915
 
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.5.0
4
+ version: 1.6.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-12-21 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core