aws-sdk-codebuild 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +260 -10
- data/lib/aws-sdk-codebuild/client_api.rb +32 -0
- data/lib/aws-sdk-codebuild/types.rb +245 -7
- 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: 01515c82fb45fbf94c50a196a269e93adb5f7c98
|
|
4
|
+
data.tar.gz: c22eec9e1f0f03faea722c68c7c7d2b42a02f4cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59bbbb72df8448ea133a2afb2bed12ed11f452cd839be0667c0e3d60fac92496942d1078a9bc35f5b54eaf6775fcec838887312a8b0dfc1a56089acbfd6fdf47
|
|
7
|
+
data.tar.gz: b7f2a732a8ab2dc51dc3a7094e5f03933119846b595d9e4f78ac4e638a9cdfab72d6f0b4507d845ad16b570152d0ba9b84aa4e0bfa7c989bc09e759a3fd7f205
|
data/lib/aws-sdk-codebuild.rb
CHANGED
|
@@ -488,7 +488,7 @@ module Aws::CodeBuild
|
|
|
488
488
|
# resp.builds[0].phases[0].contexts #=> Array
|
|
489
489
|
# resp.builds[0].phases[0].contexts[0].status_code #=> String
|
|
490
490
|
# resp.builds[0].phases[0].contexts[0].message #=> String
|
|
491
|
-
# resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
491
|
+
# resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
492
492
|
# resp.builds[0].source.location #=> String
|
|
493
493
|
# resp.builds[0].source.git_clone_depth #=> Integer
|
|
494
494
|
# resp.builds[0].source.buildspec #=> String
|
|
@@ -496,11 +496,33 @@ module Aws::CodeBuild
|
|
|
496
496
|
# resp.builds[0].source.auth.resource #=> String
|
|
497
497
|
# resp.builds[0].source.report_build_status #=> Boolean
|
|
498
498
|
# resp.builds[0].source.insecure_ssl #=> Boolean
|
|
499
|
+
# resp.builds[0].source.source_identifier #=> String
|
|
500
|
+
# resp.builds[0].secondary_sources #=> Array
|
|
501
|
+
# resp.builds[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
502
|
+
# resp.builds[0].secondary_sources[0].location #=> String
|
|
503
|
+
# resp.builds[0].secondary_sources[0].git_clone_depth #=> Integer
|
|
504
|
+
# resp.builds[0].secondary_sources[0].buildspec #=> String
|
|
505
|
+
# resp.builds[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
506
|
+
# resp.builds[0].secondary_sources[0].auth.resource #=> String
|
|
507
|
+
# resp.builds[0].secondary_sources[0].report_build_status #=> Boolean
|
|
508
|
+
# resp.builds[0].secondary_sources[0].insecure_ssl #=> Boolean
|
|
509
|
+
# resp.builds[0].secondary_sources[0].source_identifier #=> String
|
|
510
|
+
# resp.builds[0].secondary_source_versions #=> Array
|
|
511
|
+
# resp.builds[0].secondary_source_versions[0].source_identifier #=> String
|
|
512
|
+
# resp.builds[0].secondary_source_versions[0].source_version #=> String
|
|
499
513
|
# resp.builds[0].artifacts.location #=> String
|
|
500
514
|
# resp.builds[0].artifacts.sha256sum #=> String
|
|
501
515
|
# resp.builds[0].artifacts.md5sum #=> String
|
|
502
516
|
# resp.builds[0].artifacts.override_artifact_name #=> Boolean
|
|
503
517
|
# resp.builds[0].artifacts.encryption_disabled #=> Boolean
|
|
518
|
+
# resp.builds[0].artifacts.artifact_identifier #=> String
|
|
519
|
+
# resp.builds[0].secondary_artifacts #=> Array
|
|
520
|
+
# resp.builds[0].secondary_artifacts[0].location #=> String
|
|
521
|
+
# resp.builds[0].secondary_artifacts[0].sha256sum #=> String
|
|
522
|
+
# resp.builds[0].secondary_artifacts[0].md5sum #=> String
|
|
523
|
+
# resp.builds[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
524
|
+
# resp.builds[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
525
|
+
# resp.builds[0].secondary_artifacts[0].artifact_identifier #=> String
|
|
504
526
|
# resp.builds[0].cache.type #=> String, one of "NO_CACHE", "S3"
|
|
505
527
|
# resp.builds[0].cache.location #=> String
|
|
506
528
|
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -561,7 +583,7 @@ module Aws::CodeBuild
|
|
|
561
583
|
# resp.projects[0].name #=> String
|
|
562
584
|
# resp.projects[0].arn #=> String
|
|
563
585
|
# resp.projects[0].description #=> String
|
|
564
|
-
# resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
586
|
+
# resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
565
587
|
# resp.projects[0].source.location #=> String
|
|
566
588
|
# resp.projects[0].source.git_clone_depth #=> Integer
|
|
567
589
|
# resp.projects[0].source.buildspec #=> String
|
|
@@ -569,6 +591,17 @@ module Aws::CodeBuild
|
|
|
569
591
|
# resp.projects[0].source.auth.resource #=> String
|
|
570
592
|
# resp.projects[0].source.report_build_status #=> Boolean
|
|
571
593
|
# resp.projects[0].source.insecure_ssl #=> Boolean
|
|
594
|
+
# resp.projects[0].source.source_identifier #=> String
|
|
595
|
+
# resp.projects[0].secondary_sources #=> Array
|
|
596
|
+
# resp.projects[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
597
|
+
# resp.projects[0].secondary_sources[0].location #=> String
|
|
598
|
+
# resp.projects[0].secondary_sources[0].git_clone_depth #=> Integer
|
|
599
|
+
# resp.projects[0].secondary_sources[0].buildspec #=> String
|
|
600
|
+
# resp.projects[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
601
|
+
# resp.projects[0].secondary_sources[0].auth.resource #=> String
|
|
602
|
+
# resp.projects[0].secondary_sources[0].report_build_status #=> Boolean
|
|
603
|
+
# resp.projects[0].secondary_sources[0].insecure_ssl #=> Boolean
|
|
604
|
+
# resp.projects[0].secondary_sources[0].source_identifier #=> String
|
|
572
605
|
# resp.projects[0].artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
573
606
|
# resp.projects[0].artifacts.location #=> String
|
|
574
607
|
# resp.projects[0].artifacts.path #=> String
|
|
@@ -577,6 +610,17 @@ module Aws::CodeBuild
|
|
|
577
610
|
# resp.projects[0].artifacts.packaging #=> String, one of "NONE", "ZIP"
|
|
578
611
|
# resp.projects[0].artifacts.override_artifact_name #=> Boolean
|
|
579
612
|
# resp.projects[0].artifacts.encryption_disabled #=> Boolean
|
|
613
|
+
# resp.projects[0].artifacts.artifact_identifier #=> String
|
|
614
|
+
# resp.projects[0].secondary_artifacts #=> Array
|
|
615
|
+
# resp.projects[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
616
|
+
# resp.projects[0].secondary_artifacts[0].location #=> String
|
|
617
|
+
# resp.projects[0].secondary_artifacts[0].path #=> String
|
|
618
|
+
# resp.projects[0].secondary_artifacts[0].namespace_type #=> String, one of "NONE", "BUILD_ID"
|
|
619
|
+
# resp.projects[0].secondary_artifacts[0].name #=> String
|
|
620
|
+
# resp.projects[0].secondary_artifacts[0].packaging #=> String, one of "NONE", "ZIP"
|
|
621
|
+
# resp.projects[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
622
|
+
# resp.projects[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
623
|
+
# resp.projects[0].secondary_artifacts[0].artifact_identifier #=> String
|
|
580
624
|
# resp.projects[0].cache.type #=> String, one of "NO_CACHE", "S3"
|
|
581
625
|
# resp.projects[0].cache.location #=> String
|
|
582
626
|
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -631,9 +675,15 @@ module Aws::CodeBuild
|
|
|
631
675
|
# @option params [required, Types::ProjectSource] :source
|
|
632
676
|
# Information about the build input source code for the build project.
|
|
633
677
|
#
|
|
678
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources
|
|
679
|
+
# An array of `ProjectSource` objects.
|
|
680
|
+
#
|
|
634
681
|
# @option params [required, Types::ProjectArtifacts] :artifacts
|
|
635
682
|
# Information about the build output artifacts for the build project.
|
|
636
683
|
#
|
|
684
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts
|
|
685
|
+
# An array of `ProjectArtifacts` objects.
|
|
686
|
+
#
|
|
637
687
|
# @option params [Types::ProjectCache] :cache
|
|
638
688
|
# Stores recently used information so that it can be quickly accessed at
|
|
639
689
|
# a later time.
|
|
@@ -681,7 +731,7 @@ module Aws::CodeBuild
|
|
|
681
731
|
# name: "ProjectName", # required
|
|
682
732
|
# description: "ProjectDescription",
|
|
683
733
|
# source: { # required
|
|
684
|
-
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
734
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
685
735
|
# location: "String",
|
|
686
736
|
# git_clone_depth: 1,
|
|
687
737
|
# buildspec: "String",
|
|
@@ -691,7 +741,23 @@ module Aws::CodeBuild
|
|
|
691
741
|
# },
|
|
692
742
|
# report_build_status: false,
|
|
693
743
|
# insecure_ssl: false,
|
|
744
|
+
# source_identifier: "String",
|
|
694
745
|
# },
|
|
746
|
+
# secondary_sources: [
|
|
747
|
+
# {
|
|
748
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
749
|
+
# location: "String",
|
|
750
|
+
# git_clone_depth: 1,
|
|
751
|
+
# buildspec: "String",
|
|
752
|
+
# auth: {
|
|
753
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
754
|
+
# resource: "String",
|
|
755
|
+
# },
|
|
756
|
+
# report_build_status: false,
|
|
757
|
+
# insecure_ssl: false,
|
|
758
|
+
# source_identifier: "String",
|
|
759
|
+
# },
|
|
760
|
+
# ],
|
|
695
761
|
# artifacts: { # required
|
|
696
762
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
697
763
|
# location: "String",
|
|
@@ -701,7 +767,21 @@ module Aws::CodeBuild
|
|
|
701
767
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
702
768
|
# override_artifact_name: false,
|
|
703
769
|
# encryption_disabled: false,
|
|
770
|
+
# artifact_identifier: "String",
|
|
704
771
|
# },
|
|
772
|
+
# secondary_artifacts: [
|
|
773
|
+
# {
|
|
774
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
775
|
+
# location: "String",
|
|
776
|
+
# path: "String",
|
|
777
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
778
|
+
# name: "String",
|
|
779
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
780
|
+
# override_artifact_name: false,
|
|
781
|
+
# encryption_disabled: false,
|
|
782
|
+
# artifact_identifier: "String",
|
|
783
|
+
# },
|
|
784
|
+
# ],
|
|
705
785
|
# cache: {
|
|
706
786
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
|
707
787
|
# location: "String",
|
|
@@ -742,7 +822,7 @@ module Aws::CodeBuild
|
|
|
742
822
|
# resp.project.name #=> String
|
|
743
823
|
# resp.project.arn #=> String
|
|
744
824
|
# resp.project.description #=> String
|
|
745
|
-
# resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
825
|
+
# resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
746
826
|
# resp.project.source.location #=> String
|
|
747
827
|
# resp.project.source.git_clone_depth #=> Integer
|
|
748
828
|
# resp.project.source.buildspec #=> String
|
|
@@ -750,6 +830,17 @@ module Aws::CodeBuild
|
|
|
750
830
|
# resp.project.source.auth.resource #=> String
|
|
751
831
|
# resp.project.source.report_build_status #=> Boolean
|
|
752
832
|
# resp.project.source.insecure_ssl #=> Boolean
|
|
833
|
+
# resp.project.source.source_identifier #=> String
|
|
834
|
+
# resp.project.secondary_sources #=> Array
|
|
835
|
+
# resp.project.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
836
|
+
# resp.project.secondary_sources[0].location #=> String
|
|
837
|
+
# resp.project.secondary_sources[0].git_clone_depth #=> Integer
|
|
838
|
+
# resp.project.secondary_sources[0].buildspec #=> String
|
|
839
|
+
# resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
840
|
+
# resp.project.secondary_sources[0].auth.resource #=> String
|
|
841
|
+
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
|
842
|
+
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
|
843
|
+
# resp.project.secondary_sources[0].source_identifier #=> String
|
|
753
844
|
# resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
754
845
|
# resp.project.artifacts.location #=> String
|
|
755
846
|
# resp.project.artifacts.path #=> String
|
|
@@ -758,6 +849,17 @@ module Aws::CodeBuild
|
|
|
758
849
|
# resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
|
|
759
850
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
|
760
851
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
|
852
|
+
# resp.project.artifacts.artifact_identifier #=> String
|
|
853
|
+
# resp.project.secondary_artifacts #=> Array
|
|
854
|
+
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
855
|
+
# resp.project.secondary_artifacts[0].location #=> String
|
|
856
|
+
# resp.project.secondary_artifacts[0].path #=> String
|
|
857
|
+
# resp.project.secondary_artifacts[0].namespace_type #=> String, one of "NONE", "BUILD_ID"
|
|
858
|
+
# resp.project.secondary_artifacts[0].name #=> String
|
|
859
|
+
# resp.project.secondary_artifacts[0].packaging #=> String, one of "NONE", "ZIP"
|
|
860
|
+
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
861
|
+
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
862
|
+
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
|
761
863
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
|
|
762
864
|
# resp.project.cache.location #=> String
|
|
763
865
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -1120,6 +1222,14 @@ module Aws::CodeBuild
|
|
|
1120
1222
|
# @option params [required, String] :project_name
|
|
1121
1223
|
# The name of the AWS CodeBuild build project to start running a build.
|
|
1122
1224
|
#
|
|
1225
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
|
1226
|
+
# An array of `ProjectSource` objects.
|
|
1227
|
+
#
|
|
1228
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
|
1229
|
+
# An array of `ProjectSourceVersion` objects that specify one or more
|
|
1230
|
+
# versions of the project's secondary sources to be used for this build
|
|
1231
|
+
# only.
|
|
1232
|
+
#
|
|
1123
1233
|
# @option params [String] :source_version
|
|
1124
1234
|
# A version of the build input to be built, for this build only. If not
|
|
1125
1235
|
# specified, the latest version will be used. If specified, must be one
|
|
@@ -1147,6 +1257,9 @@ module Aws::CodeBuild
|
|
|
1147
1257
|
# Build output artifact settings that override, for this build only, the
|
|
1148
1258
|
# latest ones already defined in the build project.
|
|
1149
1259
|
#
|
|
1260
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
|
1261
|
+
# An array of `ProjectArtifacts` objects.
|
|
1262
|
+
#
|
|
1150
1263
|
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
|
1151
1264
|
# A set of environment variables that overrides, for this build only,
|
|
1152
1265
|
# the latest ones already defined in the build project.
|
|
@@ -1232,6 +1345,27 @@ module Aws::CodeBuild
|
|
|
1232
1345
|
#
|
|
1233
1346
|
# resp = client.start_build({
|
|
1234
1347
|
# project_name: "NonEmptyString", # required
|
|
1348
|
+
# secondary_sources_override: [
|
|
1349
|
+
# {
|
|
1350
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1351
|
+
# location: "String",
|
|
1352
|
+
# git_clone_depth: 1,
|
|
1353
|
+
# buildspec: "String",
|
|
1354
|
+
# auth: {
|
|
1355
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
1356
|
+
# resource: "String",
|
|
1357
|
+
# },
|
|
1358
|
+
# report_build_status: false,
|
|
1359
|
+
# insecure_ssl: false,
|
|
1360
|
+
# source_identifier: "String",
|
|
1361
|
+
# },
|
|
1362
|
+
# ],
|
|
1363
|
+
# secondary_sources_version_override: [
|
|
1364
|
+
# {
|
|
1365
|
+
# source_identifier: "String", # required
|
|
1366
|
+
# source_version: "String", # required
|
|
1367
|
+
# },
|
|
1368
|
+
# ],
|
|
1235
1369
|
# source_version: "String",
|
|
1236
1370
|
# artifacts_override: {
|
|
1237
1371
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
@@ -1242,7 +1376,21 @@ module Aws::CodeBuild
|
|
|
1242
1376
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
1243
1377
|
# override_artifact_name: false,
|
|
1244
1378
|
# encryption_disabled: false,
|
|
1379
|
+
# artifact_identifier: "String",
|
|
1245
1380
|
# },
|
|
1381
|
+
# secondary_artifacts_override: [
|
|
1382
|
+
# {
|
|
1383
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
1384
|
+
# location: "String",
|
|
1385
|
+
# path: "String",
|
|
1386
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
1387
|
+
# name: "String",
|
|
1388
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
1389
|
+
# override_artifact_name: false,
|
|
1390
|
+
# encryption_disabled: false,
|
|
1391
|
+
# artifact_identifier: "String",
|
|
1392
|
+
# },
|
|
1393
|
+
# ],
|
|
1246
1394
|
# environment_variables_override: [
|
|
1247
1395
|
# {
|
|
1248
1396
|
# name: "NonEmptyString", # required
|
|
@@ -1250,7 +1398,7 @@ module Aws::CodeBuild
|
|
|
1250
1398
|
# type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
|
|
1251
1399
|
# },
|
|
1252
1400
|
# ],
|
|
1253
|
-
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
1401
|
+
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1254
1402
|
# source_location_override: "String",
|
|
1255
1403
|
# source_auth_override: {
|
|
1256
1404
|
# type: "OAUTH", # required, accepts OAUTH
|
|
@@ -1293,7 +1441,7 @@ module Aws::CodeBuild
|
|
|
1293
1441
|
# resp.build.phases[0].contexts #=> Array
|
|
1294
1442
|
# resp.build.phases[0].contexts[0].status_code #=> String
|
|
1295
1443
|
# resp.build.phases[0].contexts[0].message #=> String
|
|
1296
|
-
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
1444
|
+
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1297
1445
|
# resp.build.source.location #=> String
|
|
1298
1446
|
# resp.build.source.git_clone_depth #=> Integer
|
|
1299
1447
|
# resp.build.source.buildspec #=> String
|
|
@@ -1301,11 +1449,33 @@ module Aws::CodeBuild
|
|
|
1301
1449
|
# resp.build.source.auth.resource #=> String
|
|
1302
1450
|
# resp.build.source.report_build_status #=> Boolean
|
|
1303
1451
|
# resp.build.source.insecure_ssl #=> Boolean
|
|
1452
|
+
# resp.build.source.source_identifier #=> String
|
|
1453
|
+
# resp.build.secondary_sources #=> Array
|
|
1454
|
+
# resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1455
|
+
# resp.build.secondary_sources[0].location #=> String
|
|
1456
|
+
# resp.build.secondary_sources[0].git_clone_depth #=> Integer
|
|
1457
|
+
# resp.build.secondary_sources[0].buildspec #=> String
|
|
1458
|
+
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
1459
|
+
# resp.build.secondary_sources[0].auth.resource #=> String
|
|
1460
|
+
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
|
1461
|
+
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
|
1462
|
+
# resp.build.secondary_sources[0].source_identifier #=> String
|
|
1463
|
+
# resp.build.secondary_source_versions #=> Array
|
|
1464
|
+
# resp.build.secondary_source_versions[0].source_identifier #=> String
|
|
1465
|
+
# resp.build.secondary_source_versions[0].source_version #=> String
|
|
1304
1466
|
# resp.build.artifacts.location #=> String
|
|
1305
1467
|
# resp.build.artifacts.sha256sum #=> String
|
|
1306
1468
|
# resp.build.artifacts.md5sum #=> String
|
|
1307
1469
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
|
1308
1470
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
|
1471
|
+
# resp.build.artifacts.artifact_identifier #=> String
|
|
1472
|
+
# resp.build.secondary_artifacts #=> Array
|
|
1473
|
+
# resp.build.secondary_artifacts[0].location #=> String
|
|
1474
|
+
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
|
1475
|
+
# resp.build.secondary_artifacts[0].md5sum #=> String
|
|
1476
|
+
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
1477
|
+
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
1478
|
+
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
|
1309
1479
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
|
|
1310
1480
|
# resp.build.cache.location #=> String
|
|
1311
1481
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -1376,7 +1546,7 @@ module Aws::CodeBuild
|
|
|
1376
1546
|
# resp.build.phases[0].contexts #=> Array
|
|
1377
1547
|
# resp.build.phases[0].contexts[0].status_code #=> String
|
|
1378
1548
|
# resp.build.phases[0].contexts[0].message #=> String
|
|
1379
|
-
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
1549
|
+
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1380
1550
|
# resp.build.source.location #=> String
|
|
1381
1551
|
# resp.build.source.git_clone_depth #=> Integer
|
|
1382
1552
|
# resp.build.source.buildspec #=> String
|
|
@@ -1384,11 +1554,33 @@ module Aws::CodeBuild
|
|
|
1384
1554
|
# resp.build.source.auth.resource #=> String
|
|
1385
1555
|
# resp.build.source.report_build_status #=> Boolean
|
|
1386
1556
|
# resp.build.source.insecure_ssl #=> Boolean
|
|
1557
|
+
# resp.build.source.source_identifier #=> String
|
|
1558
|
+
# resp.build.secondary_sources #=> Array
|
|
1559
|
+
# resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1560
|
+
# resp.build.secondary_sources[0].location #=> String
|
|
1561
|
+
# resp.build.secondary_sources[0].git_clone_depth #=> Integer
|
|
1562
|
+
# resp.build.secondary_sources[0].buildspec #=> String
|
|
1563
|
+
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
1564
|
+
# resp.build.secondary_sources[0].auth.resource #=> String
|
|
1565
|
+
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
|
1566
|
+
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
|
1567
|
+
# resp.build.secondary_sources[0].source_identifier #=> String
|
|
1568
|
+
# resp.build.secondary_source_versions #=> Array
|
|
1569
|
+
# resp.build.secondary_source_versions[0].source_identifier #=> String
|
|
1570
|
+
# resp.build.secondary_source_versions[0].source_version #=> String
|
|
1387
1571
|
# resp.build.artifacts.location #=> String
|
|
1388
1572
|
# resp.build.artifacts.sha256sum #=> String
|
|
1389
1573
|
# resp.build.artifacts.md5sum #=> String
|
|
1390
1574
|
# resp.build.artifacts.override_artifact_name #=> Boolean
|
|
1391
1575
|
# resp.build.artifacts.encryption_disabled #=> Boolean
|
|
1576
|
+
# resp.build.artifacts.artifact_identifier #=> String
|
|
1577
|
+
# resp.build.secondary_artifacts #=> Array
|
|
1578
|
+
# resp.build.secondary_artifacts[0].location #=> String
|
|
1579
|
+
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
|
1580
|
+
# resp.build.secondary_artifacts[0].md5sum #=> String
|
|
1581
|
+
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
1582
|
+
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
1583
|
+
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
|
1392
1584
|
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3"
|
|
1393
1585
|
# resp.build.cache.location #=> String
|
|
1394
1586
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -1441,10 +1633,16 @@ module Aws::CodeBuild
|
|
|
1441
1633
|
# Information to be changed about the build input source code for the
|
|
1442
1634
|
# build project.
|
|
1443
1635
|
#
|
|
1636
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources
|
|
1637
|
+
# An array of `ProjectSource` objects.
|
|
1638
|
+
#
|
|
1444
1639
|
# @option params [Types::ProjectArtifacts] :artifacts
|
|
1445
1640
|
# Information to be changed about the build output artifacts for the
|
|
1446
1641
|
# build project.
|
|
1447
1642
|
#
|
|
1643
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts
|
|
1644
|
+
# An array of `ProjectSource` objects.
|
|
1645
|
+
#
|
|
1448
1646
|
# @option params [Types::ProjectCache] :cache
|
|
1449
1647
|
# Stores recently used information so that it can be quickly accessed at
|
|
1450
1648
|
# a later time.
|
|
@@ -1493,7 +1691,7 @@ module Aws::CodeBuild
|
|
|
1493
1691
|
# name: "NonEmptyString", # required
|
|
1494
1692
|
# description: "ProjectDescription",
|
|
1495
1693
|
# source: {
|
|
1496
|
-
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
1694
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1497
1695
|
# location: "String",
|
|
1498
1696
|
# git_clone_depth: 1,
|
|
1499
1697
|
# buildspec: "String",
|
|
@@ -1503,7 +1701,23 @@ module Aws::CodeBuild
|
|
|
1503
1701
|
# },
|
|
1504
1702
|
# report_build_status: false,
|
|
1505
1703
|
# insecure_ssl: false,
|
|
1704
|
+
# source_identifier: "String",
|
|
1506
1705
|
# },
|
|
1706
|
+
# secondary_sources: [
|
|
1707
|
+
# {
|
|
1708
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1709
|
+
# location: "String",
|
|
1710
|
+
# git_clone_depth: 1,
|
|
1711
|
+
# buildspec: "String",
|
|
1712
|
+
# auth: {
|
|
1713
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
1714
|
+
# resource: "String",
|
|
1715
|
+
# },
|
|
1716
|
+
# report_build_status: false,
|
|
1717
|
+
# insecure_ssl: false,
|
|
1718
|
+
# source_identifier: "String",
|
|
1719
|
+
# },
|
|
1720
|
+
# ],
|
|
1507
1721
|
# artifacts: {
|
|
1508
1722
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
1509
1723
|
# location: "String",
|
|
@@ -1513,7 +1727,21 @@ module Aws::CodeBuild
|
|
|
1513
1727
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
1514
1728
|
# override_artifact_name: false,
|
|
1515
1729
|
# encryption_disabled: false,
|
|
1730
|
+
# artifact_identifier: "String",
|
|
1516
1731
|
# },
|
|
1732
|
+
# secondary_artifacts: [
|
|
1733
|
+
# {
|
|
1734
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
1735
|
+
# location: "String",
|
|
1736
|
+
# path: "String",
|
|
1737
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
1738
|
+
# name: "String",
|
|
1739
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
1740
|
+
# override_artifact_name: false,
|
|
1741
|
+
# encryption_disabled: false,
|
|
1742
|
+
# artifact_identifier: "String",
|
|
1743
|
+
# },
|
|
1744
|
+
# ],
|
|
1517
1745
|
# cache: {
|
|
1518
1746
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
|
1519
1747
|
# location: "String",
|
|
@@ -1554,7 +1782,7 @@ module Aws::CodeBuild
|
|
|
1554
1782
|
# resp.project.name #=> String
|
|
1555
1783
|
# resp.project.arn #=> String
|
|
1556
1784
|
# resp.project.description #=> String
|
|
1557
|
-
# resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE"
|
|
1785
|
+
# resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1558
1786
|
# resp.project.source.location #=> String
|
|
1559
1787
|
# resp.project.source.git_clone_depth #=> Integer
|
|
1560
1788
|
# resp.project.source.buildspec #=> String
|
|
@@ -1562,6 +1790,17 @@ module Aws::CodeBuild
|
|
|
1562
1790
|
# resp.project.source.auth.resource #=> String
|
|
1563
1791
|
# resp.project.source.report_build_status #=> Boolean
|
|
1564
1792
|
# resp.project.source.insecure_ssl #=> Boolean
|
|
1793
|
+
# resp.project.source.source_identifier #=> String
|
|
1794
|
+
# resp.project.secondary_sources #=> Array
|
|
1795
|
+
# resp.project.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
|
1796
|
+
# resp.project.secondary_sources[0].location #=> String
|
|
1797
|
+
# resp.project.secondary_sources[0].git_clone_depth #=> Integer
|
|
1798
|
+
# resp.project.secondary_sources[0].buildspec #=> String
|
|
1799
|
+
# resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
|
1800
|
+
# resp.project.secondary_sources[0].auth.resource #=> String
|
|
1801
|
+
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
|
1802
|
+
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
|
1803
|
+
# resp.project.secondary_sources[0].source_identifier #=> String
|
|
1565
1804
|
# resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
1566
1805
|
# resp.project.artifacts.location #=> String
|
|
1567
1806
|
# resp.project.artifacts.path #=> String
|
|
@@ -1570,6 +1809,17 @@ module Aws::CodeBuild
|
|
|
1570
1809
|
# resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
|
|
1571
1810
|
# resp.project.artifacts.override_artifact_name #=> Boolean
|
|
1572
1811
|
# resp.project.artifacts.encryption_disabled #=> Boolean
|
|
1812
|
+
# resp.project.artifacts.artifact_identifier #=> String
|
|
1813
|
+
# resp.project.secondary_artifacts #=> Array
|
|
1814
|
+
# resp.project.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
|
1815
|
+
# resp.project.secondary_artifacts[0].location #=> String
|
|
1816
|
+
# resp.project.secondary_artifacts[0].path #=> String
|
|
1817
|
+
# resp.project.secondary_artifacts[0].namespace_type #=> String, one of "NONE", "BUILD_ID"
|
|
1818
|
+
# resp.project.secondary_artifacts[0].name #=> String
|
|
1819
|
+
# resp.project.secondary_artifacts[0].packaging #=> String, one of "NONE", "ZIP"
|
|
1820
|
+
# resp.project.secondary_artifacts[0].override_artifact_name #=> Boolean
|
|
1821
|
+
# resp.project.secondary_artifacts[0].encryption_disabled #=> Boolean
|
|
1822
|
+
# resp.project.secondary_artifacts[0].artifact_identifier #=> String
|
|
1573
1823
|
# resp.project.cache.type #=> String, one of "NO_CACHE", "S3"
|
|
1574
1824
|
# resp.project.cache.location #=> String
|
|
1575
1825
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER"
|
|
@@ -1668,7 +1918,7 @@ module Aws::CodeBuild
|
|
|
1668
1918
|
params: params,
|
|
1669
1919
|
config: config)
|
|
1670
1920
|
context[:gem_name] = 'aws-sdk-codebuild'
|
|
1671
|
-
context[:gem_version] = '1.
|
|
1921
|
+
context[:gem_version] = '1.15.0'
|
|
1672
1922
|
Seahorse::Client::Request.new(handlers, context)
|
|
1673
1923
|
end
|
|
1674
1924
|
|
|
@@ -24,6 +24,7 @@ module Aws::CodeBuild
|
|
|
24
24
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
25
25
|
Build = Shapes::StructureShape.new(name: 'Build')
|
|
26
26
|
BuildArtifacts = Shapes::StructureShape.new(name: 'BuildArtifacts')
|
|
27
|
+
BuildArtifactsList = Shapes::ListShape.new(name: 'BuildArtifactsList')
|
|
27
28
|
BuildIds = Shapes::ListShape.new(name: 'BuildIds')
|
|
28
29
|
BuildNotDeleted = Shapes::StructureShape.new(name: 'BuildNotDeleted')
|
|
29
30
|
BuildPhase = Shapes::StructureShape.new(name: 'BuildPhase')
|
|
@@ -75,14 +76,18 @@ module Aws::CodeBuild
|
|
|
75
76
|
PlatformType = Shapes::StringShape.new(name: 'PlatformType')
|
|
76
77
|
Project = Shapes::StructureShape.new(name: 'Project')
|
|
77
78
|
ProjectArtifacts = Shapes::StructureShape.new(name: 'ProjectArtifacts')
|
|
79
|
+
ProjectArtifactsList = Shapes::ListShape.new(name: 'ProjectArtifactsList')
|
|
78
80
|
ProjectBadge = Shapes::StructureShape.new(name: 'ProjectBadge')
|
|
79
81
|
ProjectCache = Shapes::StructureShape.new(name: 'ProjectCache')
|
|
80
82
|
ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
|
|
81
83
|
ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
|
|
82
84
|
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
|
83
85
|
ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
|
|
86
|
+
ProjectSecondarySourceVersions = Shapes::ListShape.new(name: 'ProjectSecondarySourceVersions')
|
|
84
87
|
ProjectSortByType = Shapes::StringShape.new(name: 'ProjectSortByType')
|
|
85
88
|
ProjectSource = Shapes::StructureShape.new(name: 'ProjectSource')
|
|
89
|
+
ProjectSourceVersion = Shapes::StructureShape.new(name: 'ProjectSourceVersion')
|
|
90
|
+
ProjectSources = Shapes::ListShape.new(name: 'ProjectSources')
|
|
86
91
|
Projects = Shapes::ListShape.new(name: 'Projects')
|
|
87
92
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
|
88
93
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -144,7 +149,10 @@ module Aws::CodeBuild
|
|
|
144
149
|
Build.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
|
|
145
150
|
Build.add_member(:phases, Shapes::ShapeRef.new(shape: BuildPhases, location_name: "phases"))
|
|
146
151
|
Build.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
|
152
|
+
Build.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
|
153
|
+
Build.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
|
|
147
154
|
Build.add_member(:artifacts, Shapes::ShapeRef.new(shape: BuildArtifacts, location_name: "artifacts"))
|
|
155
|
+
Build.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: BuildArtifactsList, location_name: "secondaryArtifacts"))
|
|
148
156
|
Build.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
|
149
157
|
Build.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
|
150
158
|
Build.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
|
@@ -162,8 +170,11 @@ module Aws::CodeBuild
|
|
|
162
170
|
BuildArtifacts.add_member(:md5sum, Shapes::ShapeRef.new(shape: String, location_name: "md5sum"))
|
|
163
171
|
BuildArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
|
|
164
172
|
BuildArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
|
173
|
+
BuildArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
|
|
165
174
|
BuildArtifacts.struct_class = Types::BuildArtifacts
|
|
166
175
|
|
|
176
|
+
BuildArtifactsList.member = Shapes::ShapeRef.new(shape: BuildArtifacts)
|
|
177
|
+
|
|
167
178
|
BuildIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
168
179
|
|
|
169
180
|
BuildNotDeleted.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
|
|
@@ -187,7 +198,9 @@ module Aws::CodeBuild
|
|
|
187
198
|
CreateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
|
|
188
199
|
CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
|
189
200
|
CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
|
|
201
|
+
CreateProjectInput.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
|
190
202
|
CreateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, required: true, location_name: "artifacts"))
|
|
203
|
+
CreateProjectInput.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
|
191
204
|
CreateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
|
192
205
|
CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
|
|
193
206
|
CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "serviceRole"))
|
|
@@ -301,7 +314,9 @@ module Aws::CodeBuild
|
|
|
301
314
|
Project.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
302
315
|
Project.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
|
303
316
|
Project.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
|
317
|
+
Project.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
|
304
318
|
Project.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
|
|
319
|
+
Project.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
|
305
320
|
Project.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
|
306
321
|
Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
|
307
322
|
Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
|
@@ -323,8 +338,11 @@ module Aws::CodeBuild
|
|
|
323
338
|
ProjectArtifacts.add_member(:packaging, Shapes::ShapeRef.new(shape: ArtifactPackaging, location_name: "packaging"))
|
|
324
339
|
ProjectArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
|
|
325
340
|
ProjectArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
|
341
|
+
ProjectArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
|
|
326
342
|
ProjectArtifacts.struct_class = Types::ProjectArtifacts
|
|
327
343
|
|
|
344
|
+
ProjectArtifactsList.member = Shapes::ShapeRef.new(shape: ProjectArtifacts)
|
|
345
|
+
|
|
328
346
|
ProjectBadge.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "badgeEnabled"))
|
|
329
347
|
ProjectBadge.add_member(:badge_request_url, Shapes::ShapeRef.new(shape: String, location_name: "badgeRequestUrl"))
|
|
330
348
|
ProjectBadge.struct_class = Types::ProjectBadge
|
|
@@ -343,6 +361,8 @@ module Aws::CodeBuild
|
|
|
343
361
|
|
|
344
362
|
ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
345
363
|
|
|
364
|
+
ProjectSecondarySourceVersions.member = Shapes::ShapeRef.new(shape: ProjectSourceVersion)
|
|
365
|
+
|
|
346
366
|
ProjectSource.add_member(:type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "type"))
|
|
347
367
|
ProjectSource.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
|
348
368
|
ProjectSource.add_member(:git_clone_depth, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepth"))
|
|
@@ -350,8 +370,15 @@ module Aws::CodeBuild
|
|
|
350
370
|
ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
|
|
351
371
|
ProjectSource.add_member(:report_build_status, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatus"))
|
|
352
372
|
ProjectSource.add_member(:insecure_ssl, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSsl"))
|
|
373
|
+
ProjectSource.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "sourceIdentifier"))
|
|
353
374
|
ProjectSource.struct_class = Types::ProjectSource
|
|
354
375
|
|
|
376
|
+
ProjectSourceVersion.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceIdentifier"))
|
|
377
|
+
ProjectSourceVersion.add_member(:source_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceVersion"))
|
|
378
|
+
ProjectSourceVersion.struct_class = Types::ProjectSourceVersion
|
|
379
|
+
|
|
380
|
+
ProjectSources.member = Shapes::ShapeRef.new(shape: ProjectSource)
|
|
381
|
+
|
|
355
382
|
Projects.member = Shapes::ShapeRef.new(shape: Project)
|
|
356
383
|
|
|
357
384
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
@@ -361,8 +388,11 @@ module Aws::CodeBuild
|
|
|
361
388
|
SourceAuth.struct_class = Types::SourceAuth
|
|
362
389
|
|
|
363
390
|
StartBuildInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
|
|
391
|
+
StartBuildInput.add_member(:secondary_sources_override, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySourcesOverride"))
|
|
392
|
+
StartBuildInput.add_member(:secondary_sources_version_override, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourcesVersionOverride"))
|
|
364
393
|
StartBuildInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
|
|
365
394
|
StartBuildInput.add_member(:artifacts_override, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifactsOverride"))
|
|
395
|
+
StartBuildInput.add_member(:secondary_artifacts_override, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifactsOverride"))
|
|
366
396
|
StartBuildInput.add_member(:environment_variables_override, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariablesOverride"))
|
|
367
397
|
StartBuildInput.add_member(:source_type_override, Shapes::ShapeRef.new(shape: SourceType, location_name: "sourceTypeOverride"))
|
|
368
398
|
StartBuildInput.add_member(:source_location_override, Shapes::ShapeRef.new(shape: String, location_name: "sourceLocationOverride"))
|
|
@@ -402,7 +432,9 @@ module Aws::CodeBuild
|
|
|
402
432
|
UpdateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
|
403
433
|
UpdateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
|
404
434
|
UpdateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
|
435
|
+
UpdateProjectInput.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
|
405
436
|
UpdateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
|
|
437
|
+
UpdateProjectInput.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
|
406
438
|
UpdateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
|
407
439
|
UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
|
408
440
|
UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
|
@@ -167,10 +167,41 @@ module Aws::CodeBuild
|
|
|
167
167
|
# Information about the source code to be built.
|
|
168
168
|
# @return [Types::ProjectSource]
|
|
169
169
|
#
|
|
170
|
+
# @!attribute [rw] secondary_sources
|
|
171
|
+
# An array of `ProjectSource` objects.
|
|
172
|
+
# @return [Array<Types::ProjectSource>]
|
|
173
|
+
#
|
|
174
|
+
# @!attribute [rw] secondary_source_versions
|
|
175
|
+
# An array of `ProjectSourceVersion` objects. Each
|
|
176
|
+
# `ProjectSourceVersion` must be one of:
|
|
177
|
+
#
|
|
178
|
+
# * For AWS CodeCommit: the commit ID to use.
|
|
179
|
+
#
|
|
180
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
181
|
+
# name that corresponds to the version of the source code you want
|
|
182
|
+
# to build. If a pull request ID is specified, it must use the
|
|
183
|
+
# format `pr/pull-request-ID` (for example `pr/25`). If a branch
|
|
184
|
+
# name is specified, the branch's HEAD commit ID will be used. If
|
|
185
|
+
# not specified, the default branch's HEAD commit ID will be used.
|
|
186
|
+
#
|
|
187
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
188
|
+
# corresponds to the version of the source code you want to build.
|
|
189
|
+
# If a branch name is specified, the branch's HEAD commit ID will
|
|
190
|
+
# be used. If not specified, the default branch's HEAD commit ID
|
|
191
|
+
# will be used.
|
|
192
|
+
#
|
|
193
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
|
194
|
+
# the object representing the build input ZIP file to use.
|
|
195
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
|
196
|
+
#
|
|
170
197
|
# @!attribute [rw] artifacts
|
|
171
198
|
# Information about the output artifacts for the build.
|
|
172
199
|
# @return [Types::BuildArtifacts]
|
|
173
200
|
#
|
|
201
|
+
# @!attribute [rw] secondary_artifacts
|
|
202
|
+
# An array of `ProjectArtifacts` objects.
|
|
203
|
+
# @return [Array<Types::BuildArtifacts>]
|
|
204
|
+
#
|
|
174
205
|
# @!attribute [rw] cache
|
|
175
206
|
# Information about the cache for the build.
|
|
176
207
|
# @return [Types::ProjectCache]
|
|
@@ -243,7 +274,10 @@ module Aws::CodeBuild
|
|
|
243
274
|
:project_name,
|
|
244
275
|
:phases,
|
|
245
276
|
:source,
|
|
277
|
+
:secondary_sources,
|
|
278
|
+
:secondary_source_versions,
|
|
246
279
|
:artifacts,
|
|
280
|
+
:secondary_artifacts,
|
|
247
281
|
:cache,
|
|
248
282
|
:environment,
|
|
249
283
|
:service_role,
|
|
@@ -300,6 +334,10 @@ module Aws::CodeBuild
|
|
|
300
334
|
# disabled.
|
|
301
335
|
# @return [Boolean]
|
|
302
336
|
#
|
|
337
|
+
# @!attribute [rw] artifact_identifier
|
|
338
|
+
# An identifier for this artifact definition.
|
|
339
|
+
# @return [String]
|
|
340
|
+
#
|
|
303
341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts AWS API Documentation
|
|
304
342
|
#
|
|
305
343
|
class BuildArtifacts < Struct.new(
|
|
@@ -307,7 +345,8 @@ module Aws::CodeBuild
|
|
|
307
345
|
:sha256sum,
|
|
308
346
|
:md5sum,
|
|
309
347
|
:override_artifact_name,
|
|
310
|
-
:encryption_disabled
|
|
348
|
+
:encryption_disabled,
|
|
349
|
+
:artifact_identifier)
|
|
311
350
|
include Aws::Structure
|
|
312
351
|
end
|
|
313
352
|
|
|
@@ -416,7 +455,7 @@ module Aws::CodeBuild
|
|
|
416
455
|
# name: "ProjectName", # required
|
|
417
456
|
# description: "ProjectDescription",
|
|
418
457
|
# source: { # required
|
|
419
|
-
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
458
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
420
459
|
# location: "String",
|
|
421
460
|
# git_clone_depth: 1,
|
|
422
461
|
# buildspec: "String",
|
|
@@ -426,7 +465,23 @@ module Aws::CodeBuild
|
|
|
426
465
|
# },
|
|
427
466
|
# report_build_status: false,
|
|
428
467
|
# insecure_ssl: false,
|
|
468
|
+
# source_identifier: "String",
|
|
429
469
|
# },
|
|
470
|
+
# secondary_sources: [
|
|
471
|
+
# {
|
|
472
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
473
|
+
# location: "String",
|
|
474
|
+
# git_clone_depth: 1,
|
|
475
|
+
# buildspec: "String",
|
|
476
|
+
# auth: {
|
|
477
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
478
|
+
# resource: "String",
|
|
479
|
+
# },
|
|
480
|
+
# report_build_status: false,
|
|
481
|
+
# insecure_ssl: false,
|
|
482
|
+
# source_identifier: "String",
|
|
483
|
+
# },
|
|
484
|
+
# ],
|
|
430
485
|
# artifacts: { # required
|
|
431
486
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
432
487
|
# location: "String",
|
|
@@ -436,7 +491,21 @@ module Aws::CodeBuild
|
|
|
436
491
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
437
492
|
# override_artifact_name: false,
|
|
438
493
|
# encryption_disabled: false,
|
|
494
|
+
# artifact_identifier: "String",
|
|
439
495
|
# },
|
|
496
|
+
# secondary_artifacts: [
|
|
497
|
+
# {
|
|
498
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
499
|
+
# location: "String",
|
|
500
|
+
# path: "String",
|
|
501
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
502
|
+
# name: "String",
|
|
503
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
504
|
+
# override_artifact_name: false,
|
|
505
|
+
# encryption_disabled: false,
|
|
506
|
+
# artifact_identifier: "String",
|
|
507
|
+
# },
|
|
508
|
+
# ],
|
|
440
509
|
# cache: {
|
|
441
510
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
|
442
511
|
# location: "String",
|
|
@@ -484,10 +553,18 @@ module Aws::CodeBuild
|
|
|
484
553
|
# Information about the build input source code for the build project.
|
|
485
554
|
# @return [Types::ProjectSource]
|
|
486
555
|
#
|
|
556
|
+
# @!attribute [rw] secondary_sources
|
|
557
|
+
# An array of `ProjectSource` objects.
|
|
558
|
+
# @return [Array<Types::ProjectSource>]
|
|
559
|
+
#
|
|
487
560
|
# @!attribute [rw] artifacts
|
|
488
561
|
# Information about the build output artifacts for the build project.
|
|
489
562
|
# @return [Types::ProjectArtifacts]
|
|
490
563
|
#
|
|
564
|
+
# @!attribute [rw] secondary_artifacts
|
|
565
|
+
# An array of `ProjectArtifacts` objects.
|
|
566
|
+
# @return [Array<Types::ProjectArtifacts>]
|
|
567
|
+
#
|
|
491
568
|
# @!attribute [rw] cache
|
|
492
569
|
# Stores recently used information so that it can be quickly accessed
|
|
493
570
|
# at a later time.
|
|
@@ -540,7 +617,9 @@ module Aws::CodeBuild
|
|
|
540
617
|
:name,
|
|
541
618
|
:description,
|
|
542
619
|
:source,
|
|
620
|
+
:secondary_sources,
|
|
543
621
|
:artifacts,
|
|
622
|
+
:secondary_artifacts,
|
|
544
623
|
:cache,
|
|
545
624
|
:environment,
|
|
546
625
|
:service_role,
|
|
@@ -1064,10 +1143,18 @@ module Aws::CodeBuild
|
|
|
1064
1143
|
# project.
|
|
1065
1144
|
# @return [Types::ProjectSource]
|
|
1066
1145
|
#
|
|
1146
|
+
# @!attribute [rw] secondary_sources
|
|
1147
|
+
# An array of `ProjectSource` objects.
|
|
1148
|
+
# @return [Array<Types::ProjectSource>]
|
|
1149
|
+
#
|
|
1067
1150
|
# @!attribute [rw] artifacts
|
|
1068
1151
|
# Information about the build output artifacts for the build project.
|
|
1069
1152
|
# @return [Types::ProjectArtifacts]
|
|
1070
1153
|
#
|
|
1154
|
+
# @!attribute [rw] secondary_artifacts
|
|
1155
|
+
# An array of `ProjectArtifacts` objects.
|
|
1156
|
+
# @return [Array<Types::ProjectArtifacts>]
|
|
1157
|
+
#
|
|
1071
1158
|
# @!attribute [rw] cache
|
|
1072
1159
|
# Information about the cache for the build project.
|
|
1073
1160
|
# @return [Types::ProjectCache]
|
|
@@ -1134,7 +1221,9 @@ module Aws::CodeBuild
|
|
|
1134
1221
|
:arn,
|
|
1135
1222
|
:description,
|
|
1136
1223
|
:source,
|
|
1224
|
+
:secondary_sources,
|
|
1137
1225
|
:artifacts,
|
|
1226
|
+
:secondary_artifacts,
|
|
1138
1227
|
:cache,
|
|
1139
1228
|
:environment,
|
|
1140
1229
|
:service_role,
|
|
@@ -1163,6 +1252,7 @@ module Aws::CodeBuild
|
|
|
1163
1252
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
1164
1253
|
# override_artifact_name: false,
|
|
1165
1254
|
# encryption_disabled: false,
|
|
1255
|
+
# artifact_identifier: "String",
|
|
1166
1256
|
# }
|
|
1167
1257
|
#
|
|
1168
1258
|
# @!attribute [rw] type
|
|
@@ -1304,6 +1394,10 @@ module Aws::CodeBuild
|
|
|
1304
1394
|
# thrown.
|
|
1305
1395
|
# @return [Boolean]
|
|
1306
1396
|
#
|
|
1397
|
+
# @!attribute [rw] artifact_identifier
|
|
1398
|
+
# An identifier for this artifact definition.
|
|
1399
|
+
# @return [String]
|
|
1400
|
+
#
|
|
1307
1401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts AWS API Documentation
|
|
1308
1402
|
#
|
|
1309
1403
|
class ProjectArtifacts < Struct.new(
|
|
@@ -1314,7 +1408,8 @@ module Aws::CodeBuild
|
|
|
1314
1408
|
:name,
|
|
1315
1409
|
:packaging,
|
|
1316
1410
|
:override_artifact_name,
|
|
1317
|
-
:encryption_disabled
|
|
1411
|
+
:encryption_disabled,
|
|
1412
|
+
:artifact_identifier)
|
|
1318
1413
|
include Aws::Structure
|
|
1319
1414
|
end
|
|
1320
1415
|
|
|
@@ -1468,7 +1563,7 @@ module Aws::CodeBuild
|
|
|
1468
1563
|
# data as a hash:
|
|
1469
1564
|
#
|
|
1470
1565
|
# {
|
|
1471
|
-
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
1566
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1472
1567
|
# location: "String",
|
|
1473
1568
|
# git_clone_depth: 1,
|
|
1474
1569
|
# buildspec: "String",
|
|
@@ -1478,6 +1573,7 @@ module Aws::CodeBuild
|
|
|
1478
1573
|
# },
|
|
1479
1574
|
# report_build_status: false,
|
|
1480
1575
|
# insecure_ssl: false,
|
|
1576
|
+
# source_identifier: "String",
|
|
1481
1577
|
# }
|
|
1482
1578
|
#
|
|
1483
1579
|
# @!attribute [rw] type
|
|
@@ -1578,6 +1674,10 @@ module Aws::CodeBuild
|
|
|
1578
1674
|
# project source code.
|
|
1579
1675
|
# @return [Boolean]
|
|
1580
1676
|
#
|
|
1677
|
+
# @!attribute [rw] source_identifier
|
|
1678
|
+
# An identifier for this project source.
|
|
1679
|
+
# @return [String]
|
|
1680
|
+
#
|
|
1581
1681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource AWS API Documentation
|
|
1582
1682
|
#
|
|
1583
1683
|
class ProjectSource < Struct.new(
|
|
@@ -1587,7 +1687,53 @@ module Aws::CodeBuild
|
|
|
1587
1687
|
:buildspec,
|
|
1588
1688
|
:auth,
|
|
1589
1689
|
:report_build_status,
|
|
1590
|
-
:insecure_ssl
|
|
1690
|
+
:insecure_ssl,
|
|
1691
|
+
:source_identifier)
|
|
1692
|
+
include Aws::Structure
|
|
1693
|
+
end
|
|
1694
|
+
|
|
1695
|
+
# A source identifier and its corresponding version.
|
|
1696
|
+
#
|
|
1697
|
+
# @note When making an API call, you may pass ProjectSourceVersion
|
|
1698
|
+
# data as a hash:
|
|
1699
|
+
#
|
|
1700
|
+
# {
|
|
1701
|
+
# source_identifier: "String", # required
|
|
1702
|
+
# source_version: "String", # required
|
|
1703
|
+
# }
|
|
1704
|
+
#
|
|
1705
|
+
# @!attribute [rw] source_identifier
|
|
1706
|
+
# An identifier for a source in the build project.
|
|
1707
|
+
# @return [String]
|
|
1708
|
+
#
|
|
1709
|
+
# @!attribute [rw] source_version
|
|
1710
|
+
# The source version for the corresponding source identifier. If
|
|
1711
|
+
# specified, must be one of:
|
|
1712
|
+
#
|
|
1713
|
+
# * For AWS CodeCommit: the commit ID to use.
|
|
1714
|
+
#
|
|
1715
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
1716
|
+
# name that corresponds to the version of the source code you want
|
|
1717
|
+
# to build. If a pull request ID is specified, it must use the
|
|
1718
|
+
# format `pr/pull-request-ID` (for example `pr/25`). If a branch
|
|
1719
|
+
# name is specified, the branch's HEAD commit ID will be used. If
|
|
1720
|
+
# not specified, the default branch's HEAD commit ID will be used.
|
|
1721
|
+
#
|
|
1722
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
|
1723
|
+
# corresponds to the version of the source code you want to build.
|
|
1724
|
+
# If a branch name is specified, the branch's HEAD commit ID will
|
|
1725
|
+
# be used. If not specified, the default branch's HEAD commit ID
|
|
1726
|
+
# will be used.
|
|
1727
|
+
#
|
|
1728
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
|
1729
|
+
# the object representing the build input ZIP file to use.
|
|
1730
|
+
# @return [String]
|
|
1731
|
+
#
|
|
1732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSourceVersion AWS API Documentation
|
|
1733
|
+
#
|
|
1734
|
+
class ProjectSourceVersion < Struct.new(
|
|
1735
|
+
:source_identifier,
|
|
1736
|
+
:source_version)
|
|
1591
1737
|
include Aws::Structure
|
|
1592
1738
|
end
|
|
1593
1739
|
|
|
@@ -1628,6 +1774,27 @@ module Aws::CodeBuild
|
|
|
1628
1774
|
#
|
|
1629
1775
|
# {
|
|
1630
1776
|
# project_name: "NonEmptyString", # required
|
|
1777
|
+
# secondary_sources_override: [
|
|
1778
|
+
# {
|
|
1779
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1780
|
+
# location: "String",
|
|
1781
|
+
# git_clone_depth: 1,
|
|
1782
|
+
# buildspec: "String",
|
|
1783
|
+
# auth: {
|
|
1784
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
1785
|
+
# resource: "String",
|
|
1786
|
+
# },
|
|
1787
|
+
# report_build_status: false,
|
|
1788
|
+
# insecure_ssl: false,
|
|
1789
|
+
# source_identifier: "String",
|
|
1790
|
+
# },
|
|
1791
|
+
# ],
|
|
1792
|
+
# secondary_sources_version_override: [
|
|
1793
|
+
# {
|
|
1794
|
+
# source_identifier: "String", # required
|
|
1795
|
+
# source_version: "String", # required
|
|
1796
|
+
# },
|
|
1797
|
+
# ],
|
|
1631
1798
|
# source_version: "String",
|
|
1632
1799
|
# artifacts_override: {
|
|
1633
1800
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
@@ -1638,7 +1805,21 @@ module Aws::CodeBuild
|
|
|
1638
1805
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
1639
1806
|
# override_artifact_name: false,
|
|
1640
1807
|
# encryption_disabled: false,
|
|
1808
|
+
# artifact_identifier: "String",
|
|
1641
1809
|
# },
|
|
1810
|
+
# secondary_artifacts_override: [
|
|
1811
|
+
# {
|
|
1812
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
1813
|
+
# location: "String",
|
|
1814
|
+
# path: "String",
|
|
1815
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
1816
|
+
# name: "String",
|
|
1817
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
1818
|
+
# override_artifact_name: false,
|
|
1819
|
+
# encryption_disabled: false,
|
|
1820
|
+
# artifact_identifier: "String",
|
|
1821
|
+
# },
|
|
1822
|
+
# ],
|
|
1642
1823
|
# environment_variables_override: [
|
|
1643
1824
|
# {
|
|
1644
1825
|
# name: "NonEmptyString", # required
|
|
@@ -1646,7 +1827,7 @@ module Aws::CodeBuild
|
|
|
1646
1827
|
# type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
|
|
1647
1828
|
# },
|
|
1648
1829
|
# ],
|
|
1649
|
-
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
1830
|
+
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1650
1831
|
# source_location_override: "String",
|
|
1651
1832
|
# source_auth_override: {
|
|
1652
1833
|
# type: "OAUTH", # required, accepts OAUTH
|
|
@@ -1675,6 +1856,16 @@ module Aws::CodeBuild
|
|
|
1675
1856
|
# build.
|
|
1676
1857
|
# @return [String]
|
|
1677
1858
|
#
|
|
1859
|
+
# @!attribute [rw] secondary_sources_override
|
|
1860
|
+
# An array of `ProjectSource` objects.
|
|
1861
|
+
# @return [Array<Types::ProjectSource>]
|
|
1862
|
+
#
|
|
1863
|
+
# @!attribute [rw] secondary_sources_version_override
|
|
1864
|
+
# An array of `ProjectSourceVersion` objects that specify one or more
|
|
1865
|
+
# versions of the project's secondary sources to be used for this
|
|
1866
|
+
# build only.
|
|
1867
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
|
1868
|
+
#
|
|
1678
1869
|
# @!attribute [rw] source_version
|
|
1679
1870
|
# A version of the build input to be built, for this build only. If
|
|
1680
1871
|
# not specified, the latest version will be used. If specified, must
|
|
@@ -1704,6 +1895,10 @@ module Aws::CodeBuild
|
|
|
1704
1895
|
# the latest ones already defined in the build project.
|
|
1705
1896
|
# @return [Types::ProjectArtifacts]
|
|
1706
1897
|
#
|
|
1898
|
+
# @!attribute [rw] secondary_artifacts_override
|
|
1899
|
+
# An array of `ProjectArtifacts` objects.
|
|
1900
|
+
# @return [Array<Types::ProjectArtifacts>]
|
|
1901
|
+
#
|
|
1707
1902
|
# @!attribute [rw] environment_variables_override
|
|
1708
1903
|
# A set of environment variables that overrides, for this build only,
|
|
1709
1904
|
# the latest ones already defined in the build project.
|
|
@@ -1802,8 +1997,11 @@ module Aws::CodeBuild
|
|
|
1802
1997
|
#
|
|
1803
1998
|
class StartBuildInput < Struct.new(
|
|
1804
1999
|
:project_name,
|
|
2000
|
+
:secondary_sources_override,
|
|
2001
|
+
:secondary_sources_version_override,
|
|
1805
2002
|
:source_version,
|
|
1806
2003
|
:artifacts_override,
|
|
2004
|
+
:secondary_artifacts_override,
|
|
1807
2005
|
:environment_variables_override,
|
|
1808
2006
|
:source_type_override,
|
|
1809
2007
|
:source_location_override,
|
|
@@ -1900,7 +2098,7 @@ module Aws::CodeBuild
|
|
|
1900
2098
|
# name: "NonEmptyString", # required
|
|
1901
2099
|
# description: "ProjectDescription",
|
|
1902
2100
|
# source: {
|
|
1903
|
-
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
|
|
2101
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
1904
2102
|
# location: "String",
|
|
1905
2103
|
# git_clone_depth: 1,
|
|
1906
2104
|
# buildspec: "String",
|
|
@@ -1910,7 +2108,23 @@ module Aws::CodeBuild
|
|
|
1910
2108
|
# },
|
|
1911
2109
|
# report_build_status: false,
|
|
1912
2110
|
# insecure_ssl: false,
|
|
2111
|
+
# source_identifier: "String",
|
|
1913
2112
|
# },
|
|
2113
|
+
# secondary_sources: [
|
|
2114
|
+
# {
|
|
2115
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
|
2116
|
+
# location: "String",
|
|
2117
|
+
# git_clone_depth: 1,
|
|
2118
|
+
# buildspec: "String",
|
|
2119
|
+
# auth: {
|
|
2120
|
+
# type: "OAUTH", # required, accepts OAUTH
|
|
2121
|
+
# resource: "String",
|
|
2122
|
+
# },
|
|
2123
|
+
# report_build_status: false,
|
|
2124
|
+
# insecure_ssl: false,
|
|
2125
|
+
# source_identifier: "String",
|
|
2126
|
+
# },
|
|
2127
|
+
# ],
|
|
1914
2128
|
# artifacts: {
|
|
1915
2129
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
1916
2130
|
# location: "String",
|
|
@@ -1920,7 +2134,21 @@ module Aws::CodeBuild
|
|
|
1920
2134
|
# packaging: "NONE", # accepts NONE, ZIP
|
|
1921
2135
|
# override_artifact_name: false,
|
|
1922
2136
|
# encryption_disabled: false,
|
|
2137
|
+
# artifact_identifier: "String",
|
|
1923
2138
|
# },
|
|
2139
|
+
# secondary_artifacts: [
|
|
2140
|
+
# {
|
|
2141
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
|
2142
|
+
# location: "String",
|
|
2143
|
+
# path: "String",
|
|
2144
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
|
2145
|
+
# name: "String",
|
|
2146
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
|
2147
|
+
# override_artifact_name: false,
|
|
2148
|
+
# encryption_disabled: false,
|
|
2149
|
+
# artifact_identifier: "String",
|
|
2150
|
+
# },
|
|
2151
|
+
# ],
|
|
1924
2152
|
# cache: {
|
|
1925
2153
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3
|
|
1926
2154
|
# location: "String",
|
|
@@ -1973,11 +2201,19 @@ module Aws::CodeBuild
|
|
|
1973
2201
|
# build project.
|
|
1974
2202
|
# @return [Types::ProjectSource]
|
|
1975
2203
|
#
|
|
2204
|
+
# @!attribute [rw] secondary_sources
|
|
2205
|
+
# An array of `ProjectSource` objects.
|
|
2206
|
+
# @return [Array<Types::ProjectSource>]
|
|
2207
|
+
#
|
|
1976
2208
|
# @!attribute [rw] artifacts
|
|
1977
2209
|
# Information to be changed about the build output artifacts for the
|
|
1978
2210
|
# build project.
|
|
1979
2211
|
# @return [Types::ProjectArtifacts]
|
|
1980
2212
|
#
|
|
2213
|
+
# @!attribute [rw] secondary_artifacts
|
|
2214
|
+
# An array of `ProjectSource` objects.
|
|
2215
|
+
# @return [Array<Types::ProjectArtifacts>]
|
|
2216
|
+
#
|
|
1981
2217
|
# @!attribute [rw] cache
|
|
1982
2218
|
# Stores recently used information so that it can be quickly accessed
|
|
1983
2219
|
# at a later time.
|
|
@@ -2031,7 +2267,9 @@ module Aws::CodeBuild
|
|
|
2031
2267
|
:name,
|
|
2032
2268
|
:description,
|
|
2033
2269
|
:source,
|
|
2270
|
+
:secondary_sources,
|
|
2034
2271
|
:artifacts,
|
|
2272
|
+
:secondary_artifacts,
|
|
2035
2273
|
:cache,
|
|
2036
2274
|
:environment,
|
|
2037
2275
|
:service_role,
|
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.15.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: 2018-08-
|
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|