aws-sdk-codebuild 1.54.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +1617 -127
- data/lib/aws-sdk-codebuild/client_api.rb +385 -0
- data/lib/aws-sdk-codebuild/types.rb +1993 -238
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc900c83b5ae9e5ff77171b050095d93e9c3e466f9443ae4ab500344dd9e7b42
|
4
|
+
data.tar.gz: 9e43f554dc49763d60e918897ba287a6e8a75afbf7cdc4a400d28d702703d558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87c88b1b3a1a9b5a3867bdc6a6868b6db4f66a62b94079bede2ca5f1bdcbfe6f9ff790f5da0bbb8d9ad3aa54dc17fb07dcdea4cc096ce5aff8a507f3ef4348d4
|
7
|
+
data.tar.gz: 247a1671fb049d4599ea0b88c83bb3ebd437b7ff284a99671c26fa23440820b6d4ab79afba8dc036edbd4f2e084595fdbaabd14050ef6fcca35cb558bf7071f6
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -355,6 +355,168 @@ module Aws::CodeBuild
|
|
355
355
|
req.send_request(options)
|
356
356
|
end
|
357
357
|
|
358
|
+
# Retrieves information about one or more batch builds.
|
359
|
+
#
|
360
|
+
# @option params [required, Array<String>] :ids
|
361
|
+
# An array that contains the batch build identifiers to retrieve.
|
362
|
+
#
|
363
|
+
# @return [Types::BatchGetBuildBatchesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
364
|
+
#
|
365
|
+
# * {Types::BatchGetBuildBatchesOutput#build_batches #build_batches} => Array<Types::BuildBatch>
|
366
|
+
# * {Types::BatchGetBuildBatchesOutput#build_batches_not_found #build_batches_not_found} => Array<String>
|
367
|
+
#
|
368
|
+
# @example Request syntax with placeholder values
|
369
|
+
#
|
370
|
+
# resp = client.batch_get_build_batches({
|
371
|
+
# ids: ["NonEmptyString"], # required
|
372
|
+
# })
|
373
|
+
#
|
374
|
+
# @example Response structure
|
375
|
+
#
|
376
|
+
# resp.build_batches #=> Array
|
377
|
+
# resp.build_batches[0].id #=> String
|
378
|
+
# resp.build_batches[0].arn #=> String
|
379
|
+
# resp.build_batches[0].start_time #=> Time
|
380
|
+
# resp.build_batches[0].end_time #=> Time
|
381
|
+
# resp.build_batches[0].current_phase #=> String
|
382
|
+
# resp.build_batches[0].build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
383
|
+
# resp.build_batches[0].source_version #=> String
|
384
|
+
# resp.build_batches[0].resolved_source_version #=> String
|
385
|
+
# resp.build_batches[0].project_name #=> String
|
386
|
+
# resp.build_batches[0].phases #=> Array
|
387
|
+
# resp.build_batches[0].phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
388
|
+
# resp.build_batches[0].phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
389
|
+
# resp.build_batches[0].phases[0].start_time #=> Time
|
390
|
+
# resp.build_batches[0].phases[0].end_time #=> Time
|
391
|
+
# resp.build_batches[0].phases[0].duration_in_seconds #=> Integer
|
392
|
+
# resp.build_batches[0].phases[0].contexts #=> Array
|
393
|
+
# resp.build_batches[0].phases[0].contexts[0].status_code #=> String
|
394
|
+
# resp.build_batches[0].phases[0].contexts[0].message #=> String
|
395
|
+
# resp.build_batches[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
396
|
+
# resp.build_batches[0].source.location #=> String
|
397
|
+
# resp.build_batches[0].source.git_clone_depth #=> Integer
|
398
|
+
# resp.build_batches[0].source.git_submodules_config.fetch_submodules #=> Boolean
|
399
|
+
# resp.build_batches[0].source.buildspec #=> String
|
400
|
+
# resp.build_batches[0].source.auth.type #=> String, one of "OAUTH"
|
401
|
+
# resp.build_batches[0].source.auth.resource #=> String
|
402
|
+
# resp.build_batches[0].source.report_build_status #=> Boolean
|
403
|
+
# resp.build_batches[0].source.build_status_config.context #=> String
|
404
|
+
# resp.build_batches[0].source.build_status_config.target_url #=> String
|
405
|
+
# resp.build_batches[0].source.insecure_ssl #=> Boolean
|
406
|
+
# resp.build_batches[0].source.source_identifier #=> String
|
407
|
+
# resp.build_batches[0].secondary_sources #=> Array
|
408
|
+
# resp.build_batches[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
409
|
+
# resp.build_batches[0].secondary_sources[0].location #=> String
|
410
|
+
# resp.build_batches[0].secondary_sources[0].git_clone_depth #=> Integer
|
411
|
+
# resp.build_batches[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
412
|
+
# resp.build_batches[0].secondary_sources[0].buildspec #=> String
|
413
|
+
# resp.build_batches[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
414
|
+
# resp.build_batches[0].secondary_sources[0].auth.resource #=> String
|
415
|
+
# resp.build_batches[0].secondary_sources[0].report_build_status #=> Boolean
|
416
|
+
# resp.build_batches[0].secondary_sources[0].build_status_config.context #=> String
|
417
|
+
# resp.build_batches[0].secondary_sources[0].build_status_config.target_url #=> String
|
418
|
+
# resp.build_batches[0].secondary_sources[0].insecure_ssl #=> Boolean
|
419
|
+
# resp.build_batches[0].secondary_sources[0].source_identifier #=> String
|
420
|
+
# resp.build_batches[0].secondary_source_versions #=> Array
|
421
|
+
# resp.build_batches[0].secondary_source_versions[0].source_identifier #=> String
|
422
|
+
# resp.build_batches[0].secondary_source_versions[0].source_version #=> String
|
423
|
+
# resp.build_batches[0].artifacts.location #=> String
|
424
|
+
# resp.build_batches[0].artifacts.sha256sum #=> String
|
425
|
+
# resp.build_batches[0].artifacts.md5sum #=> String
|
426
|
+
# resp.build_batches[0].artifacts.override_artifact_name #=> Boolean
|
427
|
+
# resp.build_batches[0].artifacts.encryption_disabled #=> Boolean
|
428
|
+
# resp.build_batches[0].artifacts.artifact_identifier #=> String
|
429
|
+
# resp.build_batches[0].secondary_artifacts #=> Array
|
430
|
+
# resp.build_batches[0].secondary_artifacts[0].location #=> String
|
431
|
+
# resp.build_batches[0].secondary_artifacts[0].sha256sum #=> String
|
432
|
+
# resp.build_batches[0].secondary_artifacts[0].md5sum #=> String
|
433
|
+
# resp.build_batches[0].secondary_artifacts[0].override_artifact_name #=> Boolean
|
434
|
+
# resp.build_batches[0].secondary_artifacts[0].encryption_disabled #=> Boolean
|
435
|
+
# resp.build_batches[0].secondary_artifacts[0].artifact_identifier #=> String
|
436
|
+
# resp.build_batches[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
437
|
+
# resp.build_batches[0].cache.location #=> String
|
438
|
+
# resp.build_batches[0].cache.modes #=> Array
|
439
|
+
# resp.build_batches[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
440
|
+
# resp.build_batches[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
441
|
+
# resp.build_batches[0].environment.image #=> String
|
442
|
+
# resp.build_batches[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
443
|
+
# resp.build_batches[0].environment.environment_variables #=> Array
|
444
|
+
# resp.build_batches[0].environment.environment_variables[0].name #=> String
|
445
|
+
# resp.build_batches[0].environment.environment_variables[0].value #=> String
|
446
|
+
# resp.build_batches[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
447
|
+
# resp.build_batches[0].environment.privileged_mode #=> Boolean
|
448
|
+
# resp.build_batches[0].environment.certificate #=> String
|
449
|
+
# resp.build_batches[0].environment.registry_credential.credential #=> String
|
450
|
+
# resp.build_batches[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
451
|
+
# resp.build_batches[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
452
|
+
# resp.build_batches[0].service_role #=> String
|
453
|
+
# resp.build_batches[0].log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
454
|
+
# resp.build_batches[0].log_config.cloud_watch_logs.group_name #=> String
|
455
|
+
# resp.build_batches[0].log_config.cloud_watch_logs.stream_name #=> String
|
456
|
+
# resp.build_batches[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
457
|
+
# resp.build_batches[0].log_config.s3_logs.location #=> String
|
458
|
+
# resp.build_batches[0].log_config.s3_logs.encryption_disabled #=> Boolean
|
459
|
+
# resp.build_batches[0].build_timeout_in_minutes #=> Integer
|
460
|
+
# resp.build_batches[0].queued_timeout_in_minutes #=> Integer
|
461
|
+
# resp.build_batches[0].complete #=> Boolean
|
462
|
+
# resp.build_batches[0].initiator #=> String
|
463
|
+
# resp.build_batches[0].vpc_config.vpc_id #=> String
|
464
|
+
# resp.build_batches[0].vpc_config.subnets #=> Array
|
465
|
+
# resp.build_batches[0].vpc_config.subnets[0] #=> String
|
466
|
+
# resp.build_batches[0].vpc_config.security_group_ids #=> Array
|
467
|
+
# resp.build_batches[0].vpc_config.security_group_ids[0] #=> String
|
468
|
+
# resp.build_batches[0].encryption_key #=> String
|
469
|
+
# resp.build_batches[0].build_batch_number #=> Integer
|
470
|
+
# resp.build_batches[0].file_system_locations #=> Array
|
471
|
+
# resp.build_batches[0].file_system_locations[0].type #=> String, one of "EFS"
|
472
|
+
# resp.build_batches[0].file_system_locations[0].location #=> String
|
473
|
+
# resp.build_batches[0].file_system_locations[0].mount_point #=> String
|
474
|
+
# resp.build_batches[0].file_system_locations[0].identifier #=> String
|
475
|
+
# resp.build_batches[0].file_system_locations[0].mount_options #=> String
|
476
|
+
# resp.build_batches[0].build_batch_config.service_role #=> String
|
477
|
+
# resp.build_batches[0].build_batch_config.combine_artifacts #=> Boolean
|
478
|
+
# resp.build_batches[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
479
|
+
# resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
|
480
|
+
# resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
481
|
+
# resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
|
482
|
+
# resp.build_batches[0].build_groups #=> Array
|
483
|
+
# resp.build_batches[0].build_groups[0].identifier #=> String
|
484
|
+
# resp.build_batches[0].build_groups[0].depends_on #=> Array
|
485
|
+
# resp.build_batches[0].build_groups[0].depends_on[0] #=> String
|
486
|
+
# resp.build_batches[0].build_groups[0].ignore_failure #=> Boolean
|
487
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.arn #=> String
|
488
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.requested_on #=> Time
|
489
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
490
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
491
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.location #=> String
|
492
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
493
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
494
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
495
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
496
|
+
# resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
497
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list #=> Array
|
498
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].arn #=> String
|
499
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
500
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
501
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
502
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
503
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
504
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
505
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
506
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
507
|
+
# resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
508
|
+
# resp.build_batches_not_found #=> Array
|
509
|
+
# resp.build_batches_not_found[0] #=> String
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildBatches AWS API Documentation
|
512
|
+
#
|
513
|
+
# @overload batch_get_build_batches(params = {})
|
514
|
+
# @param [Hash] params ({})
|
515
|
+
def batch_get_build_batches(params = {}, options = {})
|
516
|
+
req = build_request(:batch_get_build_batches, params)
|
517
|
+
req.send_request(options)
|
518
|
+
end
|
519
|
+
|
358
520
|
# Gets information about one or more builds.
|
359
521
|
#
|
360
522
|
# @option params [required, Array<String>] :ids
|
@@ -654,6 +816,8 @@ module Aws::CodeBuild
|
|
654
816
|
# resp.builds[0].source.auth.type #=> String, one of "OAUTH"
|
655
817
|
# resp.builds[0].source.auth.resource #=> String
|
656
818
|
# resp.builds[0].source.report_build_status #=> Boolean
|
819
|
+
# resp.builds[0].source.build_status_config.context #=> String
|
820
|
+
# resp.builds[0].source.build_status_config.target_url #=> String
|
657
821
|
# resp.builds[0].source.insecure_ssl #=> Boolean
|
658
822
|
# resp.builds[0].source.source_identifier #=> String
|
659
823
|
# resp.builds[0].secondary_sources #=> Array
|
@@ -665,6 +829,8 @@ module Aws::CodeBuild
|
|
665
829
|
# resp.builds[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
666
830
|
# resp.builds[0].secondary_sources[0].auth.resource #=> String
|
667
831
|
# resp.builds[0].secondary_sources[0].report_build_status #=> Boolean
|
832
|
+
# resp.builds[0].secondary_sources[0].build_status_config.context #=> String
|
833
|
+
# resp.builds[0].secondary_sources[0].build_status_config.target_url #=> String
|
668
834
|
# resp.builds[0].secondary_sources[0].insecure_ssl #=> Boolean
|
669
835
|
# resp.builds[0].secondary_sources[0].source_identifier #=> String
|
670
836
|
# resp.builds[0].secondary_source_versions #=> Array
|
@@ -687,7 +853,7 @@ module Aws::CodeBuild
|
|
687
853
|
# resp.builds[0].cache.location #=> String
|
688
854
|
# resp.builds[0].cache.modes #=> Array
|
689
855
|
# resp.builds[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
690
|
-
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
856
|
+
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
691
857
|
# resp.builds[0].environment.image #=> String
|
692
858
|
# resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
693
859
|
# resp.builds[0].environment.environment_variables #=> Array
|
@@ -735,6 +901,9 @@ module Aws::CodeBuild
|
|
735
901
|
# resp.builds[0].file_system_locations[0].mount_point #=> String
|
736
902
|
# resp.builds[0].file_system_locations[0].identifier #=> String
|
737
903
|
# resp.builds[0].file_system_locations[0].mount_options #=> String
|
904
|
+
# resp.builds[0].debug_session.session_enabled #=> Boolean
|
905
|
+
# resp.builds[0].debug_session.session_target #=> String
|
906
|
+
# resp.builds[0].build_batch_arn #=> String
|
738
907
|
# resp.builds_not_found #=> Array
|
739
908
|
# resp.builds_not_found[0] #=> String
|
740
909
|
#
|
@@ -779,6 +948,8 @@ module Aws::CodeBuild
|
|
779
948
|
# resp.projects[0].source.auth.type #=> String, one of "OAUTH"
|
780
949
|
# resp.projects[0].source.auth.resource #=> String
|
781
950
|
# resp.projects[0].source.report_build_status #=> Boolean
|
951
|
+
# resp.projects[0].source.build_status_config.context #=> String
|
952
|
+
# resp.projects[0].source.build_status_config.target_url #=> String
|
782
953
|
# resp.projects[0].source.insecure_ssl #=> Boolean
|
783
954
|
# resp.projects[0].source.source_identifier #=> String
|
784
955
|
# resp.projects[0].secondary_sources #=> Array
|
@@ -790,6 +961,8 @@ module Aws::CodeBuild
|
|
790
961
|
# resp.projects[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
791
962
|
# resp.projects[0].secondary_sources[0].auth.resource #=> String
|
792
963
|
# resp.projects[0].secondary_sources[0].report_build_status #=> Boolean
|
964
|
+
# resp.projects[0].secondary_sources[0].build_status_config.context #=> String
|
965
|
+
# resp.projects[0].secondary_sources[0].build_status_config.target_url #=> String
|
793
966
|
# resp.projects[0].secondary_sources[0].insecure_ssl #=> Boolean
|
794
967
|
# resp.projects[0].secondary_sources[0].source_identifier #=> String
|
795
968
|
# resp.projects[0].source_version #=> String
|
@@ -819,7 +992,7 @@ module Aws::CodeBuild
|
|
819
992
|
# resp.projects[0].cache.location #=> String
|
820
993
|
# resp.projects[0].cache.modes #=> Array
|
821
994
|
# resp.projects[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
822
|
-
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
995
|
+
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
823
996
|
# resp.projects[0].environment.image #=> String
|
824
997
|
# resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
825
998
|
# resp.projects[0].environment.environment_variables #=> Array
|
@@ -849,6 +1022,7 @@ module Aws::CodeBuild
|
|
849
1022
|
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
850
1023
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
851
1024
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1025
|
+
# resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
852
1026
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
853
1027
|
# resp.projects[0].vpc_config.vpc_id #=> String
|
854
1028
|
# resp.projects[0].vpc_config.subnets #=> Array
|
@@ -869,6 +1043,12 @@ module Aws::CodeBuild
|
|
869
1043
|
# resp.projects[0].file_system_locations[0].mount_point #=> String
|
870
1044
|
# resp.projects[0].file_system_locations[0].identifier #=> String
|
871
1045
|
# resp.projects[0].file_system_locations[0].mount_options #=> String
|
1046
|
+
# resp.projects[0].build_batch_config.service_role #=> String
|
1047
|
+
# resp.projects[0].build_batch_config.combine_artifacts #=> Boolean
|
1048
|
+
# resp.projects[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
1049
|
+
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
|
1050
|
+
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1051
|
+
# resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
|
872
1052
|
# resp.projects_not_found #=> Array
|
873
1053
|
# resp.projects_not_found[0] #=> String
|
874
1054
|
#
|
@@ -903,7 +1083,7 @@ module Aws::CodeBuild
|
|
903
1083
|
# resp.report_groups #=> Array
|
904
1084
|
# resp.report_groups[0].arn #=> String
|
905
1085
|
# resp.report_groups[0].name #=> String
|
906
|
-
# resp.report_groups[0].type #=> String, one of "TEST"
|
1086
|
+
# resp.report_groups[0].type #=> String, one of "TEST", "CODE_COVERAGE"
|
907
1087
|
# resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
908
1088
|
# resp.report_groups[0].export_config.s3_destination.bucket #=> String
|
909
1089
|
# resp.report_groups[0].export_config.s3_destination.path #=> String
|
@@ -947,7 +1127,7 @@ module Aws::CodeBuild
|
|
947
1127
|
#
|
948
1128
|
# resp.reports #=> Array
|
949
1129
|
# resp.reports[0].arn #=> String
|
950
|
-
# resp.reports[0].type #=> String, one of "TEST"
|
1130
|
+
# resp.reports[0].type #=> String, one of "TEST", "CODE_COVERAGE"
|
951
1131
|
# resp.reports[0].name #=> String
|
952
1132
|
# resp.reports[0].report_group_arn #=> String
|
953
1133
|
# resp.reports[0].execution_id #=> String
|
@@ -965,6 +1145,12 @@ module Aws::CodeBuild
|
|
965
1145
|
# resp.reports[0].test_summary.status_counts #=> Hash
|
966
1146
|
# resp.reports[0].test_summary.status_counts["String"] #=> Integer
|
967
1147
|
# resp.reports[0].test_summary.duration_in_nano_seconds #=> Integer
|
1148
|
+
# resp.reports[0].code_coverage_summary.line_coverage_percentage #=> Float
|
1149
|
+
# resp.reports[0].code_coverage_summary.lines_covered #=> Integer
|
1150
|
+
# resp.reports[0].code_coverage_summary.lines_missed #=> Integer
|
1151
|
+
# resp.reports[0].code_coverage_summary.branch_coverage_percentage #=> Float
|
1152
|
+
# resp.reports[0].code_coverage_summary.branches_covered #=> Integer
|
1153
|
+
# resp.reports[0].code_coverage_summary.branches_missed #=> Integer
|
968
1154
|
# resp.reports_not_found #=> Array
|
969
1155
|
# resp.reports_not_found[0] #=> String
|
970
1156
|
#
|
@@ -1066,7 +1252,8 @@ module Aws::CodeBuild
|
|
1066
1252
|
# </note>
|
1067
1253
|
#
|
1068
1254
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
1069
|
-
# if available, the CMK's alias (using the format
|
1255
|
+
# if available, the CMK's alias (using the format
|
1256
|
+
# `alias/<alias-name>`).
|
1070
1257
|
#
|
1071
1258
|
# @option params [Array<Types::Tag>] :tags
|
1072
1259
|
# A list of tag key and value pairs associated with this build project.
|
@@ -1092,6 +1279,10 @@ module Aws::CodeBuild
|
|
1092
1279
|
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
1093
1280
|
# a file system created using Amazon Elastic File System.
|
1094
1281
|
#
|
1282
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config
|
1283
|
+
# A ProjectBuildBatchConfig object that defines the batch build options
|
1284
|
+
# for the project.
|
1285
|
+
#
|
1095
1286
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1096
1287
|
#
|
1097
1288
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1114,6 +1305,10 @@ module Aws::CodeBuild
|
|
1114
1305
|
# resource: "String",
|
1115
1306
|
# },
|
1116
1307
|
# report_build_status: false,
|
1308
|
+
# build_status_config: {
|
1309
|
+
# context: "String",
|
1310
|
+
# target_url: "String",
|
1311
|
+
# },
|
1117
1312
|
# insecure_ssl: false,
|
1118
1313
|
# source_identifier: "String",
|
1119
1314
|
# },
|
@@ -1131,6 +1326,10 @@ module Aws::CodeBuild
|
|
1131
1326
|
# resource: "String",
|
1132
1327
|
# },
|
1133
1328
|
# report_build_status: false,
|
1329
|
+
# build_status_config: {
|
1330
|
+
# context: "String",
|
1331
|
+
# target_url: "String",
|
1332
|
+
# },
|
1134
1333
|
# insecure_ssl: false,
|
1135
1334
|
# source_identifier: "String",
|
1136
1335
|
# },
|
@@ -1172,7 +1371,7 @@ module Aws::CodeBuild
|
|
1172
1371
|
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
1173
1372
|
# },
|
1174
1373
|
# environment: { # required
|
1175
|
-
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
|
1374
|
+
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
|
1176
1375
|
# image: "NonEmptyString", # required
|
1177
1376
|
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
|
1178
1377
|
# environment_variables: [
|
@@ -1227,6 +1426,15 @@ module Aws::CodeBuild
|
|
1227
1426
|
# mount_options: "String",
|
1228
1427
|
# },
|
1229
1428
|
# ],
|
1429
|
+
# build_batch_config: {
|
1430
|
+
# service_role: "NonEmptyString",
|
1431
|
+
# combine_artifacts: false,
|
1432
|
+
# restrictions: {
|
1433
|
+
# maximum_builds_allowed: 1,
|
1434
|
+
# compute_types_allowed: ["NonEmptyString"],
|
1435
|
+
# },
|
1436
|
+
# timeout_in_mins: 1,
|
1437
|
+
# },
|
1230
1438
|
# })
|
1231
1439
|
#
|
1232
1440
|
# @example Response structure
|
@@ -1242,6 +1450,8 @@ module Aws::CodeBuild
|
|
1242
1450
|
# resp.project.source.auth.type #=> String, one of "OAUTH"
|
1243
1451
|
# resp.project.source.auth.resource #=> String
|
1244
1452
|
# resp.project.source.report_build_status #=> Boolean
|
1453
|
+
# resp.project.source.build_status_config.context #=> String
|
1454
|
+
# resp.project.source.build_status_config.target_url #=> String
|
1245
1455
|
# resp.project.source.insecure_ssl #=> Boolean
|
1246
1456
|
# resp.project.source.source_identifier #=> String
|
1247
1457
|
# resp.project.secondary_sources #=> Array
|
@@ -1253,6 +1463,8 @@ module Aws::CodeBuild
|
|
1253
1463
|
# resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
1254
1464
|
# resp.project.secondary_sources[0].auth.resource #=> String
|
1255
1465
|
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
1466
|
+
# resp.project.secondary_sources[0].build_status_config.context #=> String
|
1467
|
+
# resp.project.secondary_sources[0].build_status_config.target_url #=> String
|
1256
1468
|
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
1257
1469
|
# resp.project.secondary_sources[0].source_identifier #=> String
|
1258
1470
|
# resp.project.source_version #=> String
|
@@ -1282,7 +1494,7 @@ module Aws::CodeBuild
|
|
1282
1494
|
# resp.project.cache.location #=> String
|
1283
1495
|
# resp.project.cache.modes #=> Array
|
1284
1496
|
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
1285
|
-
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
1497
|
+
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
1286
1498
|
# resp.project.environment.image #=> String
|
1287
1499
|
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
1288
1500
|
# resp.project.environment.environment_variables #=> Array
|
@@ -1312,6 +1524,7 @@ module Aws::CodeBuild
|
|
1312
1524
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1313
1525
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1314
1526
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1527
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1315
1528
|
# resp.project.webhook.last_modified_secret #=> Time
|
1316
1529
|
# resp.project.vpc_config.vpc_id #=> String
|
1317
1530
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -1332,6 +1545,12 @@ module Aws::CodeBuild
|
|
1332
1545
|
# resp.project.file_system_locations[0].mount_point #=> String
|
1333
1546
|
# resp.project.file_system_locations[0].identifier #=> String
|
1334
1547
|
# resp.project.file_system_locations[0].mount_options #=> String
|
1548
|
+
# resp.project.build_batch_config.service_role #=> String
|
1549
|
+
# resp.project.build_batch_config.combine_artifacts #=> Boolean
|
1550
|
+
# resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
1551
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
1552
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1553
|
+
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1335
1554
|
#
|
1336
1555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1337
1556
|
#
|
@@ -1369,7 +1588,7 @@ module Aws::CodeBuild
|
|
1369
1588
|
#
|
1370
1589
|
# resp = client.create_report_group({
|
1371
1590
|
# name: "ReportGroupName", # required
|
1372
|
-
# type: "TEST", # required, accepts TEST
|
1591
|
+
# type: "TEST", # required, accepts TEST, CODE_COVERAGE
|
1373
1592
|
# export_config: { # required
|
1374
1593
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
1375
1594
|
# s3_destination: {
|
@@ -1392,7 +1611,7 @@ module Aws::CodeBuild
|
|
1392
1611
|
#
|
1393
1612
|
# resp.report_group.arn #=> String
|
1394
1613
|
# resp.report_group.name #=> String
|
1395
|
-
# resp.report_group.type #=> String, one of "TEST"
|
1614
|
+
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
1396
1615
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
1397
1616
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
1398
1617
|
# resp.report_group.export_config.s3_destination.path #=> String
|
@@ -1455,6 +1674,9 @@ module Aws::CodeBuild
|
|
1455
1674
|
# `filterGroups` array must pass. For a filter group to pass, each of
|
1456
1675
|
# its filters must pass.
|
1457
1676
|
#
|
1677
|
+
# @option params [String] :build_type
|
1678
|
+
# Specifies the type of build this webhook will trigger.
|
1679
|
+
#
|
1458
1680
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1459
1681
|
#
|
1460
1682
|
# * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -1473,6 +1695,7 @@ module Aws::CodeBuild
|
|
1473
1695
|
# },
|
1474
1696
|
# ],
|
1475
1697
|
# ],
|
1698
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
1476
1699
|
# })
|
1477
1700
|
#
|
1478
1701
|
# @example Response structure
|
@@ -1486,6 +1709,7 @@ module Aws::CodeBuild
|
|
1486
1709
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1487
1710
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1488
1711
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1712
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1489
1713
|
# resp.webhook.last_modified_secret #=> Time
|
1490
1714
|
#
|
1491
1715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
|
@@ -1497,6 +1721,41 @@ module Aws::CodeBuild
|
|
1497
1721
|
req.send_request(options)
|
1498
1722
|
end
|
1499
1723
|
|
1724
|
+
# Deletes a batch build.
|
1725
|
+
#
|
1726
|
+
# @option params [required, String] :id
|
1727
|
+
# The identifier of the batch build to delete.
|
1728
|
+
#
|
1729
|
+
# @return [Types::DeleteBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1730
|
+
#
|
1731
|
+
# * {Types::DeleteBuildBatchOutput#status_code #status_code} => String
|
1732
|
+
# * {Types::DeleteBuildBatchOutput#builds_deleted #builds_deleted} => Array<String>
|
1733
|
+
# * {Types::DeleteBuildBatchOutput#builds_not_deleted #builds_not_deleted} => Array<Types::BuildNotDeleted>
|
1734
|
+
#
|
1735
|
+
# @example Request syntax with placeholder values
|
1736
|
+
#
|
1737
|
+
# resp = client.delete_build_batch({
|
1738
|
+
# id: "NonEmptyString", # required
|
1739
|
+
# })
|
1740
|
+
#
|
1741
|
+
# @example Response structure
|
1742
|
+
#
|
1743
|
+
# resp.status_code #=> String
|
1744
|
+
# resp.builds_deleted #=> Array
|
1745
|
+
# resp.builds_deleted[0] #=> String
|
1746
|
+
# resp.builds_not_deleted #=> Array
|
1747
|
+
# resp.builds_not_deleted[0].id #=> String
|
1748
|
+
# resp.builds_not_deleted[0].status_code #=> String
|
1749
|
+
#
|
1750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch AWS API Documentation
|
1751
|
+
#
|
1752
|
+
# @overload delete_build_batch(params = {})
|
1753
|
+
# @param [Hash] params ({})
|
1754
|
+
def delete_build_batch(params = {}, options = {})
|
1755
|
+
req = build_request(:delete_build_batch, params)
|
1756
|
+
req.send_request(options)
|
1757
|
+
end
|
1758
|
+
|
1500
1759
|
# Deletes a build project. When you delete a project, its builds are not
|
1501
1760
|
# deleted.
|
1502
1761
|
#
|
@@ -1650,6 +1909,82 @@ module Aws::CodeBuild
|
|
1650
1909
|
req.send_request(options)
|
1651
1910
|
end
|
1652
1911
|
|
1912
|
+
# Retrieves one or more code coverage reports.
|
1913
|
+
#
|
1914
|
+
# @option params [required, String] :report_arn
|
1915
|
+
# The ARN of the report for which test cases are returned.
|
1916
|
+
#
|
1917
|
+
# @option params [String] :next_token
|
1918
|
+
# The `nextToken` value returned from a previous call to
|
1919
|
+
# `DescribeCodeCoverages`. This specifies the next item to return. To
|
1920
|
+
# return the beginning of the list, exclude this parameter.
|
1921
|
+
#
|
1922
|
+
# @option params [Integer] :max_results
|
1923
|
+
# The maximum number of results to return.
|
1924
|
+
#
|
1925
|
+
# @option params [String] :sort_order
|
1926
|
+
# Specifies if the results are sorted in ascending or descending order.
|
1927
|
+
#
|
1928
|
+
# @option params [String] :sort_by
|
1929
|
+
# Specifies how the results are sorted. Possible values are:
|
1930
|
+
#
|
1931
|
+
# FILE\_PATH
|
1932
|
+
#
|
1933
|
+
# : The results are sorted by file path.
|
1934
|
+
#
|
1935
|
+
# LINE\_COVERAGE\_PERCENTAGE
|
1936
|
+
#
|
1937
|
+
# : The results are sorted by the percentage of lines that are covered.
|
1938
|
+
#
|
1939
|
+
# @option params [Float] :min_line_coverage_percentage
|
1940
|
+
# The minimum line coverage percentage to report.
|
1941
|
+
#
|
1942
|
+
# @option params [Float] :max_line_coverage_percentage
|
1943
|
+
# The maximum line coverage percentage to report.
|
1944
|
+
#
|
1945
|
+
# @return [Types::DescribeCodeCoveragesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1946
|
+
#
|
1947
|
+
# * {Types::DescribeCodeCoveragesOutput#next_token #next_token} => String
|
1948
|
+
# * {Types::DescribeCodeCoveragesOutput#code_coverages #code_coverages} => Array<Types::CodeCoverage>
|
1949
|
+
#
|
1950
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1951
|
+
#
|
1952
|
+
# @example Request syntax with placeholder values
|
1953
|
+
#
|
1954
|
+
# resp = client.describe_code_coverages({
|
1955
|
+
# report_arn: "NonEmptyString", # required
|
1956
|
+
# next_token: "String",
|
1957
|
+
# max_results: 1,
|
1958
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1959
|
+
# sort_by: "LINE_COVERAGE_PERCENTAGE", # accepts LINE_COVERAGE_PERCENTAGE, FILE_PATH
|
1960
|
+
# min_line_coverage_percentage: 1.0,
|
1961
|
+
# max_line_coverage_percentage: 1.0,
|
1962
|
+
# })
|
1963
|
+
#
|
1964
|
+
# @example Response structure
|
1965
|
+
#
|
1966
|
+
# resp.next_token #=> String
|
1967
|
+
# resp.code_coverages #=> Array
|
1968
|
+
# resp.code_coverages[0].id #=> String
|
1969
|
+
# resp.code_coverages[0].report_arn #=> String
|
1970
|
+
# resp.code_coverages[0].file_path #=> String
|
1971
|
+
# resp.code_coverages[0].line_coverage_percentage #=> Float
|
1972
|
+
# resp.code_coverages[0].lines_covered #=> Integer
|
1973
|
+
# resp.code_coverages[0].lines_missed #=> Integer
|
1974
|
+
# resp.code_coverages[0].branch_coverage_percentage #=> Float
|
1975
|
+
# resp.code_coverages[0].branches_covered #=> Integer
|
1976
|
+
# resp.code_coverages[0].branches_missed #=> Integer
|
1977
|
+
# resp.code_coverages[0].expired #=> Time
|
1978
|
+
#
|
1979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeCodeCoverages AWS API Documentation
|
1980
|
+
#
|
1981
|
+
# @overload describe_code_coverages(params = {})
|
1982
|
+
# @param [Hash] params ({})
|
1983
|
+
def describe_code_coverages(params = {}, options = {})
|
1984
|
+
req = build_request(:describe_code_coverages, params)
|
1985
|
+
req.send_request(options)
|
1986
|
+
end
|
1987
|
+
|
1653
1988
|
# Returns a list of details about test cases for a report.
|
1654
1989
|
#
|
1655
1990
|
# @option params [required, String] :report_arn
|
@@ -1817,6 +2152,120 @@ module Aws::CodeBuild
|
|
1817
2152
|
req.send_request(options)
|
1818
2153
|
end
|
1819
2154
|
|
2155
|
+
# Retrieves the identifiers of your build batches in the current region.
|
2156
|
+
#
|
2157
|
+
# @option params [Types::BuildBatchFilter] :filter
|
2158
|
+
# A `BuildBatchFilter` object that specifies the filters for the search.
|
2159
|
+
#
|
2160
|
+
# @option params [Integer] :max_results
|
2161
|
+
# The maximum number of results to return.
|
2162
|
+
#
|
2163
|
+
# @option params [String] :sort_order
|
2164
|
+
# Specifies the sort order of the returned items. Valid values include:
|
2165
|
+
#
|
2166
|
+
# * `ASCENDING`\: List the batch build identifiers in ascending order by
|
2167
|
+
# identifier.
|
2168
|
+
#
|
2169
|
+
# * `DESCENDING`\: List the batch build identifiers in descending order
|
2170
|
+
# by identifier.
|
2171
|
+
#
|
2172
|
+
# @option params [String] :next_token
|
2173
|
+
# The `nextToken` value returned from a previous call to
|
2174
|
+
# `ListBuildBatches`. This specifies the next item to return. To return
|
2175
|
+
# the beginning of the list, exclude this parameter.
|
2176
|
+
#
|
2177
|
+
# @return [Types::ListBuildBatchesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2178
|
+
#
|
2179
|
+
# * {Types::ListBuildBatchesOutput#ids #ids} => Array<String>
|
2180
|
+
# * {Types::ListBuildBatchesOutput#next_token #next_token} => String
|
2181
|
+
#
|
2182
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2183
|
+
#
|
2184
|
+
# @example Request syntax with placeholder values
|
2185
|
+
#
|
2186
|
+
# resp = client.list_build_batches({
|
2187
|
+
# filter: {
|
2188
|
+
# status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
|
2189
|
+
# },
|
2190
|
+
# max_results: 1,
|
2191
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2192
|
+
# next_token: "String",
|
2193
|
+
# })
|
2194
|
+
#
|
2195
|
+
# @example Response structure
|
2196
|
+
#
|
2197
|
+
# resp.ids #=> Array
|
2198
|
+
# resp.ids[0] #=> String
|
2199
|
+
# resp.next_token #=> String
|
2200
|
+
#
|
2201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatches AWS API Documentation
|
2202
|
+
#
|
2203
|
+
# @overload list_build_batches(params = {})
|
2204
|
+
# @param [Hash] params ({})
|
2205
|
+
def list_build_batches(params = {}, options = {})
|
2206
|
+
req = build_request(:list_build_batches, params)
|
2207
|
+
req.send_request(options)
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
# Retrieves the identifiers of the build batches for a specific project.
|
2211
|
+
#
|
2212
|
+
# @option params [String] :project_name
|
2213
|
+
# The name of the project.
|
2214
|
+
#
|
2215
|
+
# @option params [Types::BuildBatchFilter] :filter
|
2216
|
+
# A `BuildBatchFilter` object that specifies the filters for the search.
|
2217
|
+
#
|
2218
|
+
# @option params [Integer] :max_results
|
2219
|
+
# The maximum number of results to return.
|
2220
|
+
#
|
2221
|
+
# @option params [String] :sort_order
|
2222
|
+
# Specifies the sort order of the returned items. Valid values include:
|
2223
|
+
#
|
2224
|
+
# * `ASCENDING`\: List the batch build identifiers in ascending order by
|
2225
|
+
# identifier.
|
2226
|
+
#
|
2227
|
+
# * `DESCENDING`\: List the batch build identifiers in descending order
|
2228
|
+
# by identifier.
|
2229
|
+
#
|
2230
|
+
# @option params [String] :next_token
|
2231
|
+
# The `nextToken` value returned from a previous call to
|
2232
|
+
# `ListBuildBatchesForProject`. This specifies the next item to return.
|
2233
|
+
# To return the beginning of the list, exclude this parameter.
|
2234
|
+
#
|
2235
|
+
# @return [Types::ListBuildBatchesForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2236
|
+
#
|
2237
|
+
# * {Types::ListBuildBatchesForProjectOutput#ids #ids} => Array<String>
|
2238
|
+
# * {Types::ListBuildBatchesForProjectOutput#next_token #next_token} => String
|
2239
|
+
#
|
2240
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2241
|
+
#
|
2242
|
+
# @example Request syntax with placeholder values
|
2243
|
+
#
|
2244
|
+
# resp = client.list_build_batches_for_project({
|
2245
|
+
# project_name: "NonEmptyString",
|
2246
|
+
# filter: {
|
2247
|
+
# status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
|
2248
|
+
# },
|
2249
|
+
# max_results: 1,
|
2250
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2251
|
+
# next_token: "String",
|
2252
|
+
# })
|
2253
|
+
#
|
2254
|
+
# @example Response structure
|
2255
|
+
#
|
2256
|
+
# resp.ids #=> Array
|
2257
|
+
# resp.ids[0] #=> String
|
2258
|
+
# resp.next_token #=> String
|
2259
|
+
#
|
2260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatchesForProject AWS API Documentation
|
2261
|
+
#
|
2262
|
+
# @overload list_build_batches_for_project(params = {})
|
2263
|
+
# @param [Hash] params ({})
|
2264
|
+
def list_build_batches_for_project(params = {}, options = {})
|
2265
|
+
req = build_request(:list_build_batches_for_project, params)
|
2266
|
+
req.send_request(options)
|
2267
|
+
end
|
2268
|
+
|
1820
2269
|
# Gets a list of build IDs, with each build ID representing a single
|
1821
2270
|
# build.
|
1822
2271
|
#
|
@@ -2387,119 +2836,453 @@ module Aws::CodeBuild
|
|
2387
2836
|
req.send_request(options)
|
2388
2837
|
end
|
2389
2838
|
|
2390
|
-
#
|
2391
|
-
#
|
2392
|
-
# @option params [required, String] :project_name
|
2393
|
-
# The name of the AWS CodeBuild build project to start running a build.
|
2394
|
-
#
|
2395
|
-
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
2396
|
-
# An array of `ProjectSource` objects.
|
2397
|
-
#
|
2398
|
-
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
2399
|
-
# An array of `ProjectSourceVersion` objects that specify one or more
|
2400
|
-
# versions of the project's secondary sources to be used for this build
|
2401
|
-
# only.
|
2402
|
-
#
|
2403
|
-
# @option params [String] :source_version
|
2404
|
-
# A version of the build input to be built, for this build only. If not
|
2405
|
-
# specified, the latest version is used. If specified, must be one of:
|
2406
|
-
#
|
2407
|
-
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
2408
|
-
#
|
2409
|
-
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
2410
|
-
# that corresponds to the version of the source code you want to
|
2411
|
-
# build. If a pull request ID is specified, it must use the format
|
2412
|
-
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
2413
|
-
# specified, the branch's HEAD commit ID is used. If not specified,
|
2414
|
-
# the default branch's HEAD commit ID is used.
|
2415
|
-
#
|
2416
|
-
# * For Bitbucket: the commit ID, branch name, or tag name that
|
2417
|
-
# corresponds to the version of the source code you want to build. If
|
2418
|
-
# a branch name is specified, the branch's HEAD commit ID is used. If
|
2419
|
-
# not specified, the default branch's HEAD commit ID is used.
|
2420
|
-
#
|
2421
|
-
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
2422
|
-
# object that represents the build input ZIP file to use.
|
2423
|
-
#
|
2424
|
-
# If `sourceVersion` is specified at the project level, then this
|
2425
|
-
# `sourceVersion` (at the build level) takes precedence.
|
2426
|
-
#
|
2427
|
-
# For more information, see [Source Version Sample with CodeBuild][1] in
|
2428
|
-
# the *AWS CodeBuild User Guide*.
|
2429
|
-
#
|
2430
|
-
#
|
2431
|
-
#
|
2432
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
2433
|
-
#
|
2434
|
-
# @option params [Types::ProjectArtifacts] :artifacts_override
|
2435
|
-
# Build output artifact settings that override, for this build only, the
|
2436
|
-
# latest ones already defined in the build project.
|
2437
|
-
#
|
2438
|
-
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
2439
|
-
# An array of `ProjectArtifacts` objects.
|
2440
|
-
#
|
2441
|
-
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
2442
|
-
# A set of environment variables that overrides, for this build only,
|
2443
|
-
# the latest ones already defined in the build project.
|
2444
|
-
#
|
2445
|
-
# @option params [String] :source_type_override
|
2446
|
-
# A source input type, for this build, that overrides the source input
|
2447
|
-
# defined in the build project.
|
2448
|
-
#
|
2449
|
-
# @option params [String] :source_location_override
|
2450
|
-
# A location that overrides, for this build, the source location for the
|
2451
|
-
# one defined in the build project.
|
2452
|
-
#
|
2453
|
-
# @option params [Types::SourceAuth] :source_auth_override
|
2454
|
-
# An authorization type for this build that overrides the one defined in
|
2455
|
-
# the build project. This override applies only if the build project's
|
2456
|
-
# source is BitBucket or GitHub.
|
2457
|
-
#
|
2458
|
-
# @option params [Integer] :git_clone_depth_override
|
2459
|
-
# The user-defined depth of history, with a minimum value of 0, that
|
2460
|
-
# overrides, for this build only, any previous depth of history defined
|
2461
|
-
# in the build project.
|
2462
|
-
#
|
2463
|
-
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
2464
|
-
# Information about the Git submodules configuration for this build of
|
2465
|
-
# an AWS CodeBuild build project.
|
2839
|
+
# Restarts a build.
|
2466
2840
|
#
|
2467
|
-
# @option params [String] :
|
2468
|
-
#
|
2469
|
-
# latest one already defined in the build project.
|
2841
|
+
# @option params [String] :id
|
2842
|
+
# Specifies the identifier of the build to restart.
|
2470
2843
|
#
|
2471
|
-
#
|
2472
|
-
#
|
2473
|
-
#
|
2474
|
-
#
|
2475
|
-
#
|
2476
|
-
#
|
2477
|
-
# not provided or is set to an empty string, the source code must
|
2478
|
-
# contain a buildspec file in its root directory. For more information,
|
2479
|
-
# see [Buildspec File Name and Storage Location][1].
|
2844
|
+
# @option params [String] :idempotency_token
|
2845
|
+
# A unique, case sensitive identifier you provide to ensure the
|
2846
|
+
# idempotency of the `RetryBuild` request. The token is included in the
|
2847
|
+
# `RetryBuild` request and is valid for five minutes. If you repeat the
|
2848
|
+
# `RetryBuild` request with the same token, but change a parameter, AWS
|
2849
|
+
# CodeBuild returns a parameter mismatch error.
|
2480
2850
|
#
|
2851
|
+
# @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2481
2852
|
#
|
2853
|
+
# * {Types::RetryBuildOutput#build #build} => Types::Build
|
2482
2854
|
#
|
2483
|
-
#
|
2855
|
+
# @example Request syntax with placeholder values
|
2484
2856
|
#
|
2485
|
-
#
|
2486
|
-
#
|
2487
|
-
#
|
2488
|
-
#
|
2489
|
-
# code. This override applies only if the build's source is GitHub
|
2490
|
-
# Enterprise.
|
2857
|
+
# resp = client.retry_build({
|
2858
|
+
# id: "NonEmptyString",
|
2859
|
+
# idempotency_token: "String",
|
2860
|
+
# })
|
2491
2861
|
#
|
2492
|
-
# @
|
2493
|
-
# Set to true to report to your source provider the status of a build's
|
2494
|
-
# start and completion. If you use this option with a source provider
|
2495
|
-
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
2496
|
-
# invalidInputException is thrown.
|
2862
|
+
# @example Response structure
|
2497
2863
|
#
|
2498
|
-
#
|
2864
|
+
# resp.build.id #=> String
|
2865
|
+
# resp.build.arn #=> String
|
2866
|
+
# resp.build.build_number #=> Integer
|
2867
|
+
# resp.build.start_time #=> Time
|
2868
|
+
# resp.build.end_time #=> Time
|
2869
|
+
# resp.build.current_phase #=> String
|
2870
|
+
# resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
2871
|
+
# resp.build.source_version #=> String
|
2872
|
+
# resp.build.resolved_source_version #=> String
|
2873
|
+
# resp.build.project_name #=> String
|
2874
|
+
# resp.build.phases #=> Array
|
2875
|
+
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
2876
|
+
# resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
2877
|
+
# resp.build.phases[0].start_time #=> Time
|
2878
|
+
# resp.build.phases[0].end_time #=> Time
|
2879
|
+
# resp.build.phases[0].duration_in_seconds #=> Integer
|
2880
|
+
# resp.build.phases[0].contexts #=> Array
|
2881
|
+
# resp.build.phases[0].contexts[0].status_code #=> String
|
2882
|
+
# resp.build.phases[0].contexts[0].message #=> String
|
2883
|
+
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
2884
|
+
# resp.build.source.location #=> String
|
2885
|
+
# resp.build.source.git_clone_depth #=> Integer
|
2886
|
+
# resp.build.source.git_submodules_config.fetch_submodules #=> Boolean
|
2887
|
+
# resp.build.source.buildspec #=> String
|
2888
|
+
# resp.build.source.auth.type #=> String, one of "OAUTH"
|
2889
|
+
# resp.build.source.auth.resource #=> String
|
2890
|
+
# resp.build.source.report_build_status #=> Boolean
|
2891
|
+
# resp.build.source.build_status_config.context #=> String
|
2892
|
+
# resp.build.source.build_status_config.target_url #=> String
|
2893
|
+
# resp.build.source.insecure_ssl #=> Boolean
|
2894
|
+
# resp.build.source.source_identifier #=> String
|
2895
|
+
# resp.build.secondary_sources #=> Array
|
2896
|
+
# resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
2897
|
+
# resp.build.secondary_sources[0].location #=> String
|
2898
|
+
# resp.build.secondary_sources[0].git_clone_depth #=> Integer
|
2899
|
+
# resp.build.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
2900
|
+
# resp.build.secondary_sources[0].buildspec #=> String
|
2901
|
+
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
2902
|
+
# resp.build.secondary_sources[0].auth.resource #=> String
|
2903
|
+
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
2904
|
+
# resp.build.secondary_sources[0].build_status_config.context #=> String
|
2905
|
+
# resp.build.secondary_sources[0].build_status_config.target_url #=> String
|
2906
|
+
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
2907
|
+
# resp.build.secondary_sources[0].source_identifier #=> String
|
2908
|
+
# resp.build.secondary_source_versions #=> Array
|
2909
|
+
# resp.build.secondary_source_versions[0].source_identifier #=> String
|
2910
|
+
# resp.build.secondary_source_versions[0].source_version #=> String
|
2911
|
+
# resp.build.artifacts.location #=> String
|
2912
|
+
# resp.build.artifacts.sha256sum #=> String
|
2913
|
+
# resp.build.artifacts.md5sum #=> String
|
2914
|
+
# resp.build.artifacts.override_artifact_name #=> Boolean
|
2915
|
+
# resp.build.artifacts.encryption_disabled #=> Boolean
|
2916
|
+
# resp.build.artifacts.artifact_identifier #=> String
|
2917
|
+
# resp.build.secondary_artifacts #=> Array
|
2918
|
+
# resp.build.secondary_artifacts[0].location #=> String
|
2919
|
+
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
2920
|
+
# resp.build.secondary_artifacts[0].md5sum #=> String
|
2921
|
+
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
2922
|
+
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
2923
|
+
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
2924
|
+
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
2925
|
+
# resp.build.cache.location #=> String
|
2926
|
+
# resp.build.cache.modes #=> Array
|
2927
|
+
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
2928
|
+
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
2929
|
+
# resp.build.environment.image #=> String
|
2930
|
+
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
2931
|
+
# resp.build.environment.environment_variables #=> Array
|
2932
|
+
# resp.build.environment.environment_variables[0].name #=> String
|
2933
|
+
# resp.build.environment.environment_variables[0].value #=> String
|
2934
|
+
# resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
2935
|
+
# resp.build.environment.privileged_mode #=> Boolean
|
2936
|
+
# resp.build.environment.certificate #=> String
|
2937
|
+
# resp.build.environment.registry_credential.credential #=> String
|
2938
|
+
# resp.build.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
2939
|
+
# resp.build.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
2940
|
+
# resp.build.service_role #=> String
|
2941
|
+
# resp.build.logs.group_name #=> String
|
2942
|
+
# resp.build.logs.stream_name #=> String
|
2943
|
+
# resp.build.logs.deep_link #=> String
|
2944
|
+
# resp.build.logs.s3_deep_link #=> String
|
2945
|
+
# resp.build.logs.cloud_watch_logs_arn #=> String
|
2946
|
+
# resp.build.logs.s3_logs_arn #=> String
|
2947
|
+
# resp.build.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
2948
|
+
# resp.build.logs.cloud_watch_logs.group_name #=> String
|
2949
|
+
# resp.build.logs.cloud_watch_logs.stream_name #=> String
|
2950
|
+
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
2951
|
+
# resp.build.logs.s3_logs.location #=> String
|
2952
|
+
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
2953
|
+
# resp.build.timeout_in_minutes #=> Integer
|
2954
|
+
# resp.build.queued_timeout_in_minutes #=> Integer
|
2955
|
+
# resp.build.build_complete #=> Boolean
|
2956
|
+
# resp.build.initiator #=> String
|
2957
|
+
# resp.build.vpc_config.vpc_id #=> String
|
2958
|
+
# resp.build.vpc_config.subnets #=> Array
|
2959
|
+
# resp.build.vpc_config.subnets[0] #=> String
|
2960
|
+
# resp.build.vpc_config.security_group_ids #=> Array
|
2961
|
+
# resp.build.vpc_config.security_group_ids[0] #=> String
|
2962
|
+
# resp.build.network_interface.subnet_id #=> String
|
2963
|
+
# resp.build.network_interface.network_interface_id #=> String
|
2964
|
+
# resp.build.encryption_key #=> String
|
2965
|
+
# resp.build.exported_environment_variables #=> Array
|
2966
|
+
# resp.build.exported_environment_variables[0].name #=> String
|
2967
|
+
# resp.build.exported_environment_variables[0].value #=> String
|
2968
|
+
# resp.build.report_arns #=> Array
|
2969
|
+
# resp.build.report_arns[0] #=> String
|
2970
|
+
# resp.build.file_system_locations #=> Array
|
2971
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2972
|
+
# resp.build.file_system_locations[0].location #=> String
|
2973
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2974
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2975
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2976
|
+
# resp.build.debug_session.session_enabled #=> Boolean
|
2977
|
+
# resp.build.debug_session.session_target #=> String
|
2978
|
+
# resp.build.build_batch_arn #=> String
|
2979
|
+
#
|
2980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild AWS API Documentation
|
2981
|
+
#
|
2982
|
+
# @overload retry_build(params = {})
|
2983
|
+
# @param [Hash] params ({})
|
2984
|
+
def retry_build(params = {}, options = {})
|
2985
|
+
req = build_request(:retry_build, params)
|
2986
|
+
req.send_request(options)
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
# Restarts a batch build.
|
2990
|
+
#
|
2991
|
+
# @option params [String] :id
|
2992
|
+
# Specifies the identifier of the batch build to restart.
|
2993
|
+
#
|
2994
|
+
# @option params [String] :idempotency_token
|
2995
|
+
# A unique, case sensitive identifier you provide to ensure the
|
2996
|
+
# idempotency of the `RetryBuildBatch` request. The token is included in
|
2997
|
+
# the `RetryBuildBatch` request and is valid for five minutes. If you
|
2998
|
+
# repeat the `RetryBuildBatch` request with the same token, but change a
|
2999
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
3000
|
+
#
|
3001
|
+
# @option params [String] :retry_type
|
3002
|
+
# Specifies the type of retry to perform.
|
3003
|
+
#
|
3004
|
+
# @return [Types::RetryBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3005
|
+
#
|
3006
|
+
# * {Types::RetryBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
3007
|
+
#
|
3008
|
+
# @example Request syntax with placeholder values
|
3009
|
+
#
|
3010
|
+
# resp = client.retry_build_batch({
|
3011
|
+
# id: "NonEmptyString",
|
3012
|
+
# idempotency_token: "String",
|
3013
|
+
# retry_type: "RETRY_ALL_BUILDS", # accepts RETRY_ALL_BUILDS, RETRY_FAILED_BUILDS
|
3014
|
+
# })
|
3015
|
+
#
|
3016
|
+
# @example Response structure
|
3017
|
+
#
|
3018
|
+
# resp.build_batch.id #=> String
|
3019
|
+
# resp.build_batch.arn #=> String
|
3020
|
+
# resp.build_batch.start_time #=> Time
|
3021
|
+
# resp.build_batch.end_time #=> Time
|
3022
|
+
# resp.build_batch.current_phase #=> String
|
3023
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3024
|
+
# resp.build_batch.source_version #=> String
|
3025
|
+
# resp.build_batch.resolved_source_version #=> String
|
3026
|
+
# resp.build_batch.project_name #=> String
|
3027
|
+
# resp.build_batch.phases #=> Array
|
3028
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
3029
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3030
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
3031
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
3032
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
3033
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
3034
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
3035
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
3036
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3037
|
+
# resp.build_batch.source.location #=> String
|
3038
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
3039
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
3040
|
+
# resp.build_batch.source.buildspec #=> String
|
3041
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
3042
|
+
# resp.build_batch.source.auth.resource #=> String
|
3043
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
3044
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
3045
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
3046
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
3047
|
+
# resp.build_batch.source.source_identifier #=> String
|
3048
|
+
# resp.build_batch.secondary_sources #=> Array
|
3049
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3050
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
3051
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
3052
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
3053
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
3054
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
3055
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
3056
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
3057
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
3058
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
3059
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
3060
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
3061
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
3062
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
3063
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
3064
|
+
# resp.build_batch.artifacts.location #=> String
|
3065
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
3066
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
3067
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
3068
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
3069
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
3070
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
3071
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
3072
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
3073
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
3074
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3075
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3076
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
3077
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3078
|
+
# resp.build_batch.cache.location #=> String
|
3079
|
+
# resp.build_batch.cache.modes #=> Array
|
3080
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
3081
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
3082
|
+
# resp.build_batch.environment.image #=> String
|
3083
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
3084
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
3085
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
3086
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
3087
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
3088
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
3089
|
+
# resp.build_batch.environment.certificate #=> String
|
3090
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
3091
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
3092
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
3093
|
+
# resp.build_batch.service_role #=> String
|
3094
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3095
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
3096
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
3097
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3098
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
3099
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
3100
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
3101
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
3102
|
+
# resp.build_batch.complete #=> Boolean
|
3103
|
+
# resp.build_batch.initiator #=> String
|
3104
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
3105
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
3106
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
3107
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
3108
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
3109
|
+
# resp.build_batch.encryption_key #=> String
|
3110
|
+
# resp.build_batch.build_batch_number #=> Integer
|
3111
|
+
# resp.build_batch.file_system_locations #=> Array
|
3112
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
3113
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
3114
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
3115
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
3116
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
3117
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
3118
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
3119
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
3120
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
3121
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
3122
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
3123
|
+
# resp.build_batch.build_groups #=> Array
|
3124
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
3125
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
3126
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
3127
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
3128
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
3129
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
3130
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3131
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3132
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
3133
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
3134
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
3135
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3136
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
3137
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
3138
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
3139
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
3140
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
3141
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3142
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3143
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
3144
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
3145
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
3146
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3147
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
3148
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
3149
|
+
#
|
3150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch AWS API Documentation
|
3151
|
+
#
|
3152
|
+
# @overload retry_build_batch(params = {})
|
3153
|
+
# @param [Hash] params ({})
|
3154
|
+
def retry_build_batch(params = {}, options = {})
|
3155
|
+
req = build_request(:retry_build_batch, params)
|
3156
|
+
req.send_request(options)
|
3157
|
+
end
|
3158
|
+
|
3159
|
+
# Starts running a build.
|
3160
|
+
#
|
3161
|
+
# @option params [required, String] :project_name
|
3162
|
+
# The name of the AWS CodeBuild build project to start running a build.
|
3163
|
+
#
|
3164
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3165
|
+
# An array of `ProjectSource` objects.
|
3166
|
+
#
|
3167
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
3168
|
+
# An array of `ProjectSourceVersion` objects that specify one or more
|
3169
|
+
# versions of the project's secondary sources to be used for this build
|
3170
|
+
# only.
|
3171
|
+
#
|
3172
|
+
# @option params [String] :source_version
|
3173
|
+
# The version of the build input to be built, for this build only. If
|
3174
|
+
# not specified, the latest version is used. If specified, the contents
|
3175
|
+
# depends on the source provider:
|
3176
|
+
#
|
3177
|
+
# AWS CodeCommit
|
3178
|
+
#
|
3179
|
+
# : The commit ID, branch, or Git tag to use.
|
3180
|
+
#
|
3181
|
+
# GitHub
|
3182
|
+
#
|
3183
|
+
# : The commit ID, pull request ID, branch name, or tag name that
|
3184
|
+
# corresponds to the version of the source code you want to build. If
|
3185
|
+
# a pull request ID is specified, it must use the format
|
3186
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
3187
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3188
|
+
# the default branch's HEAD commit ID is used.
|
3189
|
+
#
|
3190
|
+
# Bitbucket
|
3191
|
+
#
|
3192
|
+
# : The commit ID, branch name, or tag name that corresponds to the
|
3193
|
+
# version of the source code you want to build. If a branch name is
|
3194
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3195
|
+
# the default branch's HEAD commit ID is used.
|
3196
|
+
#
|
3197
|
+
# Amazon Simple Storage Service (Amazon S3)
|
3198
|
+
#
|
3199
|
+
# : The version ID of the object that represents the build input ZIP
|
3200
|
+
# file to use.
|
3201
|
+
#
|
3202
|
+
# If `sourceVersion` is specified at the project level, then this
|
3203
|
+
# `sourceVersion` (at the build level) takes precedence.
|
3204
|
+
#
|
3205
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3206
|
+
# the *AWS CodeBuild User Guide*.
|
3207
|
+
#
|
3208
|
+
#
|
3209
|
+
#
|
3210
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
3211
|
+
#
|
3212
|
+
# @option params [Types::ProjectArtifacts] :artifacts_override
|
3213
|
+
# Build output artifact settings that override, for this build only, the
|
3214
|
+
# latest ones already defined in the build project.
|
3215
|
+
#
|
3216
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
3217
|
+
# An array of `ProjectArtifacts` objects.
|
3218
|
+
#
|
3219
|
+
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
3220
|
+
# A set of environment variables that overrides, for this build only,
|
3221
|
+
# the latest ones already defined in the build project.
|
3222
|
+
#
|
3223
|
+
# @option params [String] :source_type_override
|
3224
|
+
# A source input type, for this build, that overrides the source input
|
3225
|
+
# defined in the build project.
|
3226
|
+
#
|
3227
|
+
# @option params [String] :source_location_override
|
3228
|
+
# A location that overrides, for this build, the source location for the
|
3229
|
+
# one defined in the build project.
|
3230
|
+
#
|
3231
|
+
# @option params [Types::SourceAuth] :source_auth_override
|
3232
|
+
# An authorization type for this build that overrides the one defined in
|
3233
|
+
# the build project. This override applies only if the build project's
|
3234
|
+
# source is BitBucket or GitHub.
|
3235
|
+
#
|
3236
|
+
# @option params [Integer] :git_clone_depth_override
|
3237
|
+
# The user-defined depth of history, with a minimum value of 0, that
|
3238
|
+
# overrides, for this build only, any previous depth of history defined
|
3239
|
+
# in the build project.
|
3240
|
+
#
|
3241
|
+
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3242
|
+
# Information about the Git submodules configuration for this build of
|
3243
|
+
# an AWS CodeBuild build project.
|
3244
|
+
#
|
3245
|
+
# @option params [String] :buildspec_override
|
3246
|
+
# A buildspec file declaration that overrides, for this build only, the
|
3247
|
+
# latest one already defined in the build project.
|
3248
|
+
#
|
3249
|
+
# If this value is set, it can be either an inline buildspec definition,
|
3250
|
+
# the path to an alternate buildspec file relative to the value of the
|
3251
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3252
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3253
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3254
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3255
|
+
# not provided or is set to an empty string, the source code must
|
3256
|
+
# contain a buildspec file in its root directory. For more information,
|
3257
|
+
# see [Buildspec File Name and Storage Location][1].
|
3258
|
+
#
|
3259
|
+
#
|
3260
|
+
#
|
3261
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
3262
|
+
#
|
3263
|
+
# @option params [Boolean] :insecure_ssl_override
|
3264
|
+
# Enable this flag to override the insecure SSL setting that is
|
3265
|
+
# specified in the build project. The insecure SSL setting determines
|
3266
|
+
# whether to ignore SSL warnings while connecting to the project source
|
3267
|
+
# code. This override applies only if the build's source is GitHub
|
3268
|
+
# Enterprise.
|
3269
|
+
#
|
3270
|
+
# @option params [Boolean] :report_build_status_override
|
3271
|
+
# Set to true to report to your source provider the status of a build's
|
3272
|
+
# start and completion. If you use this option with a source provider
|
3273
|
+
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3274
|
+
# invalidInputException is thrown.
|
3275
|
+
#
|
3276
|
+
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
2499
3277
|
# your source provider.
|
2500
3278
|
#
|
2501
3279
|
# </note>
|
2502
3280
|
#
|
3281
|
+
# @option params [Types::BuildStatusConfig] :build_status_config_override
|
3282
|
+
# Contains information that defines how the build project reports the
|
3283
|
+
# build status to the source provider. This option is only used when the
|
3284
|
+
# source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`.
|
3285
|
+
#
|
2503
3286
|
# @option params [String] :environment_type_override
|
2504
3287
|
# A container type for this build that overrides the one specified in
|
2505
3288
|
# the build project.
|
@@ -2547,12 +3330,13 @@ module Aws::CodeBuild
|
|
2547
3330
|
# </note>
|
2548
3331
|
#
|
2549
3332
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
2550
|
-
# if available, the CMK's alias (using the format
|
3333
|
+
# if available, the CMK's alias (using the format
|
3334
|
+
# `alias/<alias-name>`).
|
2551
3335
|
#
|
2552
3336
|
# @option params [String] :idempotency_token
|
2553
3337
|
# A unique, case sensitive identifier you provide to ensure the
|
2554
3338
|
# idempotency of the StartBuild request. The token is included in the
|
2555
|
-
# StartBuild request and is valid for
|
3339
|
+
# StartBuild request and is valid for 5 minutes. If you repeat the
|
2556
3340
|
# StartBuild request with the same token, but change a parameter, AWS
|
2557
3341
|
# CodeBuild returns a parameter mismatch error.
|
2558
3342
|
#
|
@@ -2567,16 +3351,28 @@ module Aws::CodeBuild
|
|
2567
3351
|
# The type of credentials AWS CodeBuild uses to pull images in your
|
2568
3352
|
# build. There are two valid values:
|
2569
3353
|
#
|
2570
|
-
#
|
2571
|
-
# This requires that you modify your ECR repository policy to trust
|
2572
|
-
# AWS CodeBuild's service principal.
|
3354
|
+
# CODEBUILD
|
2573
3355
|
#
|
2574
|
-
#
|
2575
|
-
#
|
3356
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3357
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3358
|
+
# service principal.
|
3359
|
+
#
|
3360
|
+
# SERVICE\_ROLE
|
3361
|
+
#
|
3362
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
3363
|
+
# role.
|
2576
3364
|
#
|
2577
3365
|
# When using a cross-account or private registry image, you must use
|
2578
|
-
#
|
2579
|
-
# you must use CODEBUILD credentials.
|
3366
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
3367
|
+
# you must use `CODEBUILD` credentials.
|
3368
|
+
#
|
3369
|
+
# @option params [Boolean] :debug_session_enabled
|
3370
|
+
# Specifies if session debugging is enabled for this build. For more
|
3371
|
+
# information, see [Viewing a running build in Session Manager][1].
|
3372
|
+
#
|
3373
|
+
#
|
3374
|
+
#
|
3375
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
|
2580
3376
|
#
|
2581
3377
|
# @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2582
3378
|
#
|
@@ -2600,6 +3396,10 @@ module Aws::CodeBuild
|
|
2600
3396
|
# resource: "String",
|
2601
3397
|
# },
|
2602
3398
|
# report_build_status: false,
|
3399
|
+
# build_status_config: {
|
3400
|
+
# context: "String",
|
3401
|
+
# target_url: "String",
|
3402
|
+
# },
|
2603
3403
|
# insecure_ssl: false,
|
2604
3404
|
# source_identifier: "String",
|
2605
3405
|
# },
|
@@ -2655,7 +3455,11 @@ module Aws::CodeBuild
|
|
2655
3455
|
# buildspec_override: "String",
|
2656
3456
|
# insecure_ssl_override: false,
|
2657
3457
|
# report_build_status_override: false,
|
2658
|
-
#
|
3458
|
+
# build_status_config_override: {
|
3459
|
+
# context: "String",
|
3460
|
+
# target_url: "String",
|
3461
|
+
# },
|
3462
|
+
# environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
|
2659
3463
|
# image_override: "NonEmptyString",
|
2660
3464
|
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
|
2661
3465
|
# certificate_override: "String",
|
@@ -2687,6 +3491,7 @@ module Aws::CodeBuild
|
|
2687
3491
|
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
2688
3492
|
# },
|
2689
3493
|
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
3494
|
+
# debug_session_enabled: false,
|
2690
3495
|
# })
|
2691
3496
|
#
|
2692
3497
|
# @example Response structure
|
@@ -2718,6 +3523,8 @@ module Aws::CodeBuild
|
|
2718
3523
|
# resp.build.source.auth.type #=> String, one of "OAUTH"
|
2719
3524
|
# resp.build.source.auth.resource #=> String
|
2720
3525
|
# resp.build.source.report_build_status #=> Boolean
|
3526
|
+
# resp.build.source.build_status_config.context #=> String
|
3527
|
+
# resp.build.source.build_status_config.target_url #=> String
|
2721
3528
|
# resp.build.source.insecure_ssl #=> Boolean
|
2722
3529
|
# resp.build.source.source_identifier #=> String
|
2723
3530
|
# resp.build.secondary_sources #=> Array
|
@@ -2729,6 +3536,8 @@ module Aws::CodeBuild
|
|
2729
3536
|
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
2730
3537
|
# resp.build.secondary_sources[0].auth.resource #=> String
|
2731
3538
|
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
3539
|
+
# resp.build.secondary_sources[0].build_status_config.context #=> String
|
3540
|
+
# resp.build.secondary_sources[0].build_status_config.target_url #=> String
|
2732
3541
|
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
2733
3542
|
# resp.build.secondary_sources[0].source_identifier #=> String
|
2734
3543
|
# resp.build.secondary_source_versions #=> Array
|
@@ -2751,7 +3560,7 @@ module Aws::CodeBuild
|
|
2751
3560
|
# resp.build.cache.location #=> String
|
2752
3561
|
# resp.build.cache.modes #=> Array
|
2753
3562
|
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
2754
|
-
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
3563
|
+
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
2755
3564
|
# resp.build.environment.image #=> String
|
2756
3565
|
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
2757
3566
|
# resp.build.environment.environment_variables #=> Array
|
@@ -2799,6 +3608,9 @@ module Aws::CodeBuild
|
|
2799
3608
|
# resp.build.file_system_locations[0].mount_point #=> String
|
2800
3609
|
# resp.build.file_system_locations[0].identifier #=> String
|
2801
3610
|
# resp.build.file_system_locations[0].mount_options #=> String
|
3611
|
+
# resp.build.debug_session.session_enabled #=> Boolean
|
3612
|
+
# resp.build.debug_session.session_target #=> String
|
3613
|
+
# resp.build.build_batch_arn #=> String
|
2802
3614
|
#
|
2803
3615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
|
2804
3616
|
#
|
@@ -2809,6 +3621,482 @@ module Aws::CodeBuild
|
|
2809
3621
|
req.send_request(options)
|
2810
3622
|
end
|
2811
3623
|
|
3624
|
+
# Starts a batch build for a project.
|
3625
|
+
#
|
3626
|
+
# @option params [required, String] :project_name
|
3627
|
+
# The name of the project.
|
3628
|
+
#
|
3629
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3630
|
+
# An array of `ProjectSource` objects that override the secondary
|
3631
|
+
# sources defined in the batch build project.
|
3632
|
+
#
|
3633
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
3634
|
+
# An array of `ProjectSourceVersion` objects that override the secondary
|
3635
|
+
# source versions in the batch build project.
|
3636
|
+
#
|
3637
|
+
# @option params [String] :source_version
|
3638
|
+
# The version of the batch build input to be built, for this build only.
|
3639
|
+
# If not specified, the latest version is used. If specified, the
|
3640
|
+
# contents depends on the source provider:
|
3641
|
+
#
|
3642
|
+
# AWS CodeCommit
|
3643
|
+
#
|
3644
|
+
# : The commit ID, branch, or Git tag to use.
|
3645
|
+
#
|
3646
|
+
# GitHub
|
3647
|
+
#
|
3648
|
+
# : The commit ID, pull request ID, branch name, or tag name that
|
3649
|
+
# corresponds to the version of the source code you want to build. If
|
3650
|
+
# a pull request ID is specified, it must use the format
|
3651
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
3652
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3653
|
+
# the default branch's HEAD commit ID is used.
|
3654
|
+
#
|
3655
|
+
# Bitbucket
|
3656
|
+
#
|
3657
|
+
# : The commit ID, branch name, or tag name that corresponds to the
|
3658
|
+
# version of the source code you want to build. If a branch name is
|
3659
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3660
|
+
# the default branch's HEAD commit ID is used.
|
3661
|
+
#
|
3662
|
+
# Amazon Simple Storage Service (Amazon S3)
|
3663
|
+
#
|
3664
|
+
# : The version ID of the object that represents the build input ZIP
|
3665
|
+
# file to use.
|
3666
|
+
#
|
3667
|
+
# If `sourceVersion` is specified at the project level, then this
|
3668
|
+
# `sourceVersion` (at the build level) takes precedence.
|
3669
|
+
#
|
3670
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3671
|
+
# the *AWS CodeBuild User Guide*.
|
3672
|
+
#
|
3673
|
+
#
|
3674
|
+
#
|
3675
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
3676
|
+
#
|
3677
|
+
# @option params [Types::ProjectArtifacts] :artifacts_override
|
3678
|
+
# An array of `ProjectArtifacts` objects that contains information about
|
3679
|
+
# the build output artifact overrides for the build project.
|
3680
|
+
#
|
3681
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
3682
|
+
# An array of `ProjectArtifacts` objects that override the secondary
|
3683
|
+
# artifacts defined in the batch build project.
|
3684
|
+
#
|
3685
|
+
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
3686
|
+
# An array of `EnvironmentVariable` objects that override, or add to,
|
3687
|
+
# the environment variables defined in the batch build project.
|
3688
|
+
#
|
3689
|
+
# @option params [String] :source_type_override
|
3690
|
+
# The source input type that overrides the source input defined in the
|
3691
|
+
# batch build project.
|
3692
|
+
#
|
3693
|
+
# @option params [String] :source_location_override
|
3694
|
+
# A location that overrides, for this batch build, the source location
|
3695
|
+
# defined in the batch build project.
|
3696
|
+
#
|
3697
|
+
# @option params [Types::SourceAuth] :source_auth_override
|
3698
|
+
# A `SourceAuth` object that overrides the one defined in the batch
|
3699
|
+
# build project. This override applies only if the build project's
|
3700
|
+
# source is BitBucket or GitHub.
|
3701
|
+
#
|
3702
|
+
# @option params [Integer] :git_clone_depth_override
|
3703
|
+
# The user-defined depth of history, with a minimum value of 0, that
|
3704
|
+
# overrides, for this batch build only, any previous depth of history
|
3705
|
+
# defined in the batch build project.
|
3706
|
+
#
|
3707
|
+
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3708
|
+
# A `GitSubmodulesConfig` object that overrides the Git submodules
|
3709
|
+
# configuration for this batch build.
|
3710
|
+
#
|
3711
|
+
# @option params [String] :buildspec_override
|
3712
|
+
# A buildspec file declaration that overrides, for this build only, the
|
3713
|
+
# latest one already defined in the build project.
|
3714
|
+
#
|
3715
|
+
# If this value is set, it can be either an inline buildspec definition,
|
3716
|
+
# the path to an alternate buildspec file relative to the value of the
|
3717
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3718
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3719
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3720
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3721
|
+
# not provided or is set to an empty string, the source code must
|
3722
|
+
# contain a buildspec file in its root directory. For more information,
|
3723
|
+
# see [Buildspec File Name and Storage Location][1].
|
3724
|
+
#
|
3725
|
+
#
|
3726
|
+
#
|
3727
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
3728
|
+
#
|
3729
|
+
# @option params [Boolean] :insecure_ssl_override
|
3730
|
+
# Enable this flag to override the insecure SSL setting that is
|
3731
|
+
# specified in the batch build project. The insecure SSL setting
|
3732
|
+
# determines whether to ignore SSL warnings while connecting to the
|
3733
|
+
# project source code. This override applies only if the build's source
|
3734
|
+
# is GitHub Enterprise.
|
3735
|
+
#
|
3736
|
+
# @option params [Boolean] :report_build_batch_status_override
|
3737
|
+
# Set to `true` to report to your source provider the status of a batch
|
3738
|
+
# build's start and completion. If you use this option with a source
|
3739
|
+
# provider other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3740
|
+
# `invalidInputException` is thrown.
|
3741
|
+
#
|
3742
|
+
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3743
|
+
# your source provider.
|
3744
|
+
#
|
3745
|
+
# </note>
|
3746
|
+
#
|
3747
|
+
# @option params [String] :environment_type_override
|
3748
|
+
# A container type for this batch build that overrides the one specified
|
3749
|
+
# in the batch build project.
|
3750
|
+
#
|
3751
|
+
# @option params [String] :image_override
|
3752
|
+
# The name of an image for this batch build that overrides the one
|
3753
|
+
# specified in the batch build project.
|
3754
|
+
#
|
3755
|
+
# @option params [String] :compute_type_override
|
3756
|
+
# The name of a compute type for this batch build that overrides the one
|
3757
|
+
# specified in the batch build project.
|
3758
|
+
#
|
3759
|
+
# @option params [String] :certificate_override
|
3760
|
+
# The name of a certificate for this batch build that overrides the one
|
3761
|
+
# specified in the batch build project.
|
3762
|
+
#
|
3763
|
+
# @option params [Types::ProjectCache] :cache_override
|
3764
|
+
# A `ProjectCache` object that specifies cache overrides.
|
3765
|
+
#
|
3766
|
+
# @option params [String] :service_role_override
|
3767
|
+
# The name of a service role for this batch build that overrides the one
|
3768
|
+
# specified in the batch build project.
|
3769
|
+
#
|
3770
|
+
# @option params [Boolean] :privileged_mode_override
|
3771
|
+
# Enable this flag to override privileged mode in the batch build
|
3772
|
+
# project.
|
3773
|
+
#
|
3774
|
+
# @option params [Integer] :build_timeout_in_minutes_override
|
3775
|
+
# Overrides the build timeout specified in the batch build project.
|
3776
|
+
#
|
3777
|
+
# @option params [Integer] :queued_timeout_in_minutes_override
|
3778
|
+
# The number of minutes a batch build is allowed to be queued before it
|
3779
|
+
# times out.
|
3780
|
+
#
|
3781
|
+
# @option params [String] :encryption_key_override
|
3782
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
3783
|
+
# that overrides the one specified in the batch build project. The CMK
|
3784
|
+
# key encrypts the build output artifacts.
|
3785
|
+
#
|
3786
|
+
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3787
|
+
# artifacts if your service role has permission to that key.
|
3788
|
+
#
|
3789
|
+
# </note>
|
3790
|
+
#
|
3791
|
+
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3792
|
+
# if available, the CMK's alias (using the format
|
3793
|
+
# `alias/<alias-name>`).
|
3794
|
+
#
|
3795
|
+
# @option params [String] :idempotency_token
|
3796
|
+
# A unique, case sensitive identifier you provide to ensure the
|
3797
|
+
# idempotency of the `StartBuildBatch` request. The token is included in
|
3798
|
+
# the `StartBuildBatch` request and is valid for five minutes. If you
|
3799
|
+
# repeat the `StartBuildBatch` request with the same token, but change a
|
3800
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
3801
|
+
#
|
3802
|
+
# @option params [Types::LogsConfig] :logs_config_override
|
3803
|
+
# A `LogsConfig` object that override the log settings defined in the
|
3804
|
+
# batch build project.
|
3805
|
+
#
|
3806
|
+
# @option params [Types::RegistryCredential] :registry_credential_override
|
3807
|
+
# A `RegistryCredential` object that overrides credentials for access to
|
3808
|
+
# a private registry.
|
3809
|
+
#
|
3810
|
+
# @option params [String] :image_pull_credentials_type_override
|
3811
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
3812
|
+
# batch build. There are two valid values:
|
3813
|
+
#
|
3814
|
+
# CODEBUILD
|
3815
|
+
#
|
3816
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3817
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3818
|
+
# service principal.
|
3819
|
+
#
|
3820
|
+
# SERVICE\_ROLE
|
3821
|
+
#
|
3822
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
3823
|
+
# role.
|
3824
|
+
#
|
3825
|
+
# When using a cross-account or private registry image, you must use
|
3826
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
3827
|
+
# you must use `CODEBUILD` credentials.
|
3828
|
+
#
|
3829
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
|
3830
|
+
# A `BuildBatchConfigOverride` object that contains batch build
|
3831
|
+
# configuration overrides.
|
3832
|
+
#
|
3833
|
+
# @return [Types::StartBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3834
|
+
#
|
3835
|
+
# * {Types::StartBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
3836
|
+
#
|
3837
|
+
# @example Request syntax with placeholder values
|
3838
|
+
#
|
3839
|
+
# resp = client.start_build_batch({
|
3840
|
+
# project_name: "NonEmptyString", # required
|
3841
|
+
# secondary_sources_override: [
|
3842
|
+
# {
|
3843
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
3844
|
+
# location: "String",
|
3845
|
+
# git_clone_depth: 1,
|
3846
|
+
# git_submodules_config: {
|
3847
|
+
# fetch_submodules: false, # required
|
3848
|
+
# },
|
3849
|
+
# buildspec: "String",
|
3850
|
+
# auth: {
|
3851
|
+
# type: "OAUTH", # required, accepts OAUTH
|
3852
|
+
# resource: "String",
|
3853
|
+
# },
|
3854
|
+
# report_build_status: false,
|
3855
|
+
# build_status_config: {
|
3856
|
+
# context: "String",
|
3857
|
+
# target_url: "String",
|
3858
|
+
# },
|
3859
|
+
# insecure_ssl: false,
|
3860
|
+
# source_identifier: "String",
|
3861
|
+
# },
|
3862
|
+
# ],
|
3863
|
+
# secondary_sources_version_override: [
|
3864
|
+
# {
|
3865
|
+
# source_identifier: "String", # required
|
3866
|
+
# source_version: "String", # required
|
3867
|
+
# },
|
3868
|
+
# ],
|
3869
|
+
# source_version: "String",
|
3870
|
+
# artifacts_override: {
|
3871
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
3872
|
+
# location: "String",
|
3873
|
+
# path: "String",
|
3874
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
3875
|
+
# name: "String",
|
3876
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
3877
|
+
# override_artifact_name: false,
|
3878
|
+
# encryption_disabled: false,
|
3879
|
+
# artifact_identifier: "String",
|
3880
|
+
# },
|
3881
|
+
# secondary_artifacts_override: [
|
3882
|
+
# {
|
3883
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
3884
|
+
# location: "String",
|
3885
|
+
# path: "String",
|
3886
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
3887
|
+
# name: "String",
|
3888
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
3889
|
+
# override_artifact_name: false,
|
3890
|
+
# encryption_disabled: false,
|
3891
|
+
# artifact_identifier: "String",
|
3892
|
+
# },
|
3893
|
+
# ],
|
3894
|
+
# environment_variables_override: [
|
3895
|
+
# {
|
3896
|
+
# name: "NonEmptyString", # required
|
3897
|
+
# value: "String", # required
|
3898
|
+
# type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE, SECRETS_MANAGER
|
3899
|
+
# },
|
3900
|
+
# ],
|
3901
|
+
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
3902
|
+
# source_location_override: "String",
|
3903
|
+
# source_auth_override: {
|
3904
|
+
# type: "OAUTH", # required, accepts OAUTH
|
3905
|
+
# resource: "String",
|
3906
|
+
# },
|
3907
|
+
# git_clone_depth_override: 1,
|
3908
|
+
# git_submodules_config_override: {
|
3909
|
+
# fetch_submodules: false, # required
|
3910
|
+
# },
|
3911
|
+
# buildspec_override: "String",
|
3912
|
+
# insecure_ssl_override: false,
|
3913
|
+
# report_build_batch_status_override: false,
|
3914
|
+
# environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
|
3915
|
+
# image_override: "NonEmptyString",
|
3916
|
+
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
|
3917
|
+
# certificate_override: "String",
|
3918
|
+
# cache_override: {
|
3919
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
3920
|
+
# location: "String",
|
3921
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
3922
|
+
# },
|
3923
|
+
# service_role_override: "NonEmptyString",
|
3924
|
+
# privileged_mode_override: false,
|
3925
|
+
# build_timeout_in_minutes_override: 1,
|
3926
|
+
# queued_timeout_in_minutes_override: 1,
|
3927
|
+
# encryption_key_override: "NonEmptyString",
|
3928
|
+
# idempotency_token: "String",
|
3929
|
+
# logs_config_override: {
|
3930
|
+
# cloud_watch_logs: {
|
3931
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3932
|
+
# group_name: "String",
|
3933
|
+
# stream_name: "String",
|
3934
|
+
# },
|
3935
|
+
# s3_logs: {
|
3936
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3937
|
+
# location: "String",
|
3938
|
+
# encryption_disabled: false,
|
3939
|
+
# },
|
3940
|
+
# },
|
3941
|
+
# registry_credential_override: {
|
3942
|
+
# credential: "NonEmptyString", # required
|
3943
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
3944
|
+
# },
|
3945
|
+
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
3946
|
+
# build_batch_config_override: {
|
3947
|
+
# service_role: "NonEmptyString",
|
3948
|
+
# combine_artifacts: false,
|
3949
|
+
# restrictions: {
|
3950
|
+
# maximum_builds_allowed: 1,
|
3951
|
+
# compute_types_allowed: ["NonEmptyString"],
|
3952
|
+
# },
|
3953
|
+
# timeout_in_mins: 1,
|
3954
|
+
# },
|
3955
|
+
# })
|
3956
|
+
#
|
3957
|
+
# @example Response structure
|
3958
|
+
#
|
3959
|
+
# resp.build_batch.id #=> String
|
3960
|
+
# resp.build_batch.arn #=> String
|
3961
|
+
# resp.build_batch.start_time #=> Time
|
3962
|
+
# resp.build_batch.end_time #=> Time
|
3963
|
+
# resp.build_batch.current_phase #=> String
|
3964
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3965
|
+
# resp.build_batch.source_version #=> String
|
3966
|
+
# resp.build_batch.resolved_source_version #=> String
|
3967
|
+
# resp.build_batch.project_name #=> String
|
3968
|
+
# resp.build_batch.phases #=> Array
|
3969
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
3970
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3971
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
3972
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
3973
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
3974
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
3975
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
3976
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
3977
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3978
|
+
# resp.build_batch.source.location #=> String
|
3979
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
3980
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
3981
|
+
# resp.build_batch.source.buildspec #=> String
|
3982
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
3983
|
+
# resp.build_batch.source.auth.resource #=> String
|
3984
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
3985
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
3986
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
3987
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
3988
|
+
# resp.build_batch.source.source_identifier #=> String
|
3989
|
+
# resp.build_batch.secondary_sources #=> Array
|
3990
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3991
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
3992
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
3993
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
3994
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
3995
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
3996
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
3997
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
3998
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
3999
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
4000
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
4001
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
4002
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
4003
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
4004
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
4005
|
+
# resp.build_batch.artifacts.location #=> String
|
4006
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
4007
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
4008
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4009
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4010
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4011
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
4012
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4013
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
4014
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
4015
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4016
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4017
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4018
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4019
|
+
# resp.build_batch.cache.location #=> String
|
4020
|
+
# resp.build_batch.cache.modes #=> Array
|
4021
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4022
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
4023
|
+
# resp.build_batch.environment.image #=> String
|
4024
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
4025
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
4026
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4027
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
4028
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
4029
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
4030
|
+
# resp.build_batch.environment.certificate #=> String
|
4031
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
4032
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
4033
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
4034
|
+
# resp.build_batch.service_role #=> String
|
4035
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4036
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
4037
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
4038
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4039
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
4040
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4041
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4042
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4043
|
+
# resp.build_batch.complete #=> Boolean
|
4044
|
+
# resp.build_batch.initiator #=> String
|
4045
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
4046
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
4047
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
4048
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
4049
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
4050
|
+
# resp.build_batch.encryption_key #=> String
|
4051
|
+
# resp.build_batch.build_batch_number #=> Integer
|
4052
|
+
# resp.build_batch.file_system_locations #=> Array
|
4053
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
4054
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
4055
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
4056
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
4057
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
4058
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
4059
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
4060
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4061
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4062
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4063
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4064
|
+
# resp.build_batch.build_groups #=> Array
|
4065
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
4066
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
4067
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
4068
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
4069
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
4070
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
4071
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4072
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4073
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
4074
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
4075
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
4076
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4077
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
4078
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
4079
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
4080
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
4081
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
4082
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4083
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4084
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
4085
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
4086
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
4087
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4088
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
4089
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
4090
|
+
#
|
4091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch AWS API Documentation
|
4092
|
+
#
|
4093
|
+
# @overload start_build_batch(params = {})
|
4094
|
+
# @param [Hash] params ({})
|
4095
|
+
def start_build_batch(params = {}, options = {})
|
4096
|
+
req = build_request(:start_build_batch, params)
|
4097
|
+
req.send_request(options)
|
4098
|
+
end
|
4099
|
+
|
2812
4100
|
# Attempts to stop running a build.
|
2813
4101
|
#
|
2814
4102
|
# @option params [required, String] :id
|
@@ -2853,6 +4141,8 @@ module Aws::CodeBuild
|
|
2853
4141
|
# resp.build.source.auth.type #=> String, one of "OAUTH"
|
2854
4142
|
# resp.build.source.auth.resource #=> String
|
2855
4143
|
# resp.build.source.report_build_status #=> Boolean
|
4144
|
+
# resp.build.source.build_status_config.context #=> String
|
4145
|
+
# resp.build.source.build_status_config.target_url #=> String
|
2856
4146
|
# resp.build.source.insecure_ssl #=> Boolean
|
2857
4147
|
# resp.build.source.source_identifier #=> String
|
2858
4148
|
# resp.build.secondary_sources #=> Array
|
@@ -2864,6 +4154,8 @@ module Aws::CodeBuild
|
|
2864
4154
|
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
2865
4155
|
# resp.build.secondary_sources[0].auth.resource #=> String
|
2866
4156
|
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
4157
|
+
# resp.build.secondary_sources[0].build_status_config.context #=> String
|
4158
|
+
# resp.build.secondary_sources[0].build_status_config.target_url #=> String
|
2867
4159
|
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
2868
4160
|
# resp.build.secondary_sources[0].source_identifier #=> String
|
2869
4161
|
# resp.build.secondary_source_versions #=> Array
|
@@ -2886,7 +4178,7 @@ module Aws::CodeBuild
|
|
2886
4178
|
# resp.build.cache.location #=> String
|
2887
4179
|
# resp.build.cache.modes #=> Array
|
2888
4180
|
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
2889
|
-
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
4181
|
+
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
2890
4182
|
# resp.build.environment.image #=> String
|
2891
4183
|
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
2892
4184
|
# resp.build.environment.environment_variables #=> Array
|
@@ -2934,6 +4226,9 @@ module Aws::CodeBuild
|
|
2934
4226
|
# resp.build.file_system_locations[0].mount_point #=> String
|
2935
4227
|
# resp.build.file_system_locations[0].identifier #=> String
|
2936
4228
|
# resp.build.file_system_locations[0].mount_options #=> String
|
4229
|
+
# resp.build.debug_session.session_enabled #=> Boolean
|
4230
|
+
# resp.build.debug_session.session_target #=> String
|
4231
|
+
# resp.build.build_batch_arn #=> String
|
2937
4232
|
#
|
2938
4233
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
|
2939
4234
|
#
|
@@ -2944,6 +4239,164 @@ module Aws::CodeBuild
|
|
2944
4239
|
req.send_request(options)
|
2945
4240
|
end
|
2946
4241
|
|
4242
|
+
# Stops a running batch build.
|
4243
|
+
#
|
4244
|
+
# @option params [required, String] :id
|
4245
|
+
# The identifier of the batch build to stop.
|
4246
|
+
#
|
4247
|
+
# @return [Types::StopBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4248
|
+
#
|
4249
|
+
# * {Types::StopBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
4250
|
+
#
|
4251
|
+
# @example Request syntax with placeholder values
|
4252
|
+
#
|
4253
|
+
# resp = client.stop_build_batch({
|
4254
|
+
# id: "NonEmptyString", # required
|
4255
|
+
# })
|
4256
|
+
#
|
4257
|
+
# @example Response structure
|
4258
|
+
#
|
4259
|
+
# resp.build_batch.id #=> String
|
4260
|
+
# resp.build_batch.arn #=> String
|
4261
|
+
# resp.build_batch.start_time #=> Time
|
4262
|
+
# resp.build_batch.end_time #=> Time
|
4263
|
+
# resp.build_batch.current_phase #=> String
|
4264
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4265
|
+
# resp.build_batch.source_version #=> String
|
4266
|
+
# resp.build_batch.resolved_source_version #=> String
|
4267
|
+
# resp.build_batch.project_name #=> String
|
4268
|
+
# resp.build_batch.phases #=> Array
|
4269
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
4270
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4271
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
4272
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
4273
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
4274
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
4275
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
4276
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
4277
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
4278
|
+
# resp.build_batch.source.location #=> String
|
4279
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
4280
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
4281
|
+
# resp.build_batch.source.buildspec #=> String
|
4282
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
4283
|
+
# resp.build_batch.source.auth.resource #=> String
|
4284
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
4285
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
4286
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
4287
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
4288
|
+
# resp.build_batch.source.source_identifier #=> String
|
4289
|
+
# resp.build_batch.secondary_sources #=> Array
|
4290
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
4291
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
4292
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
4293
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
4294
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
4295
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
4296
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
4297
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
4298
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
4299
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
4300
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
4301
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
4302
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
4303
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
4304
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
4305
|
+
# resp.build_batch.artifacts.location #=> String
|
4306
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
4307
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
4308
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4309
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4310
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4311
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
4312
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4313
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
4314
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
4315
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4316
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4317
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4318
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4319
|
+
# resp.build_batch.cache.location #=> String
|
4320
|
+
# resp.build_batch.cache.modes #=> Array
|
4321
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4322
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
4323
|
+
# resp.build_batch.environment.image #=> String
|
4324
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
4325
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
4326
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4327
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
4328
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
4329
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
4330
|
+
# resp.build_batch.environment.certificate #=> String
|
4331
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
4332
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
4333
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
4334
|
+
# resp.build_batch.service_role #=> String
|
4335
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4336
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
4337
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
4338
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4339
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
4340
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4341
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4342
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4343
|
+
# resp.build_batch.complete #=> Boolean
|
4344
|
+
# resp.build_batch.initiator #=> String
|
4345
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
4346
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
4347
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
4348
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
4349
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
4350
|
+
# resp.build_batch.encryption_key #=> String
|
4351
|
+
# resp.build_batch.build_batch_number #=> Integer
|
4352
|
+
# resp.build_batch.file_system_locations #=> Array
|
4353
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
4354
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
4355
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
4356
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
4357
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
4358
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
4359
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
4360
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4361
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4362
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4363
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4364
|
+
# resp.build_batch.build_groups #=> Array
|
4365
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
4366
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
4367
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
4368
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
4369
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
4370
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
4371
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4372
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4373
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
4374
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
4375
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
4376
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4377
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
4378
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
4379
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
4380
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
4381
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
4382
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4383
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4384
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
4385
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
4386
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
4387
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4388
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
4389
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
4390
|
+
#
|
4391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch AWS API Documentation
|
4392
|
+
#
|
4393
|
+
# @overload stop_build_batch(params = {})
|
4394
|
+
# @param [Hash] params ({})
|
4395
|
+
def stop_build_batch(params = {}, options = {})
|
4396
|
+
req = build_request(:stop_build_batch, params)
|
4397
|
+
req.send_request(options)
|
4398
|
+
end
|
4399
|
+
|
2947
4400
|
# Changes the settings of a build project.
|
2948
4401
|
#
|
2949
4402
|
# @option params [required, String] :name
|
@@ -3039,7 +4492,8 @@ module Aws::CodeBuild
|
|
3039
4492
|
# </note>
|
3040
4493
|
#
|
3041
4494
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3042
|
-
# if available, the CMK's alias (using the format
|
4495
|
+
# if available, the CMK's alias (using the format
|
4496
|
+
# `alias/<alias-name>`).
|
3043
4497
|
#
|
3044
4498
|
# @option params [Array<Types::Tag>] :tags
|
3045
4499
|
# An updated list of tag key and value pairs associated with this build
|
@@ -3065,6 +4519,9 @@ module Aws::CodeBuild
|
|
3065
4519
|
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
3066
4520
|
# a file system created using Amazon Elastic File System.
|
3067
4521
|
#
|
4522
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config
|
4523
|
+
# Contains configuration information about a batch build project.
|
4524
|
+
#
|
3068
4525
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3069
4526
|
#
|
3070
4527
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -3087,6 +4544,10 @@ module Aws::CodeBuild
|
|
3087
4544
|
# resource: "String",
|
3088
4545
|
# },
|
3089
4546
|
# report_build_status: false,
|
4547
|
+
# build_status_config: {
|
4548
|
+
# context: "String",
|
4549
|
+
# target_url: "String",
|
4550
|
+
# },
|
3090
4551
|
# insecure_ssl: false,
|
3091
4552
|
# source_identifier: "String",
|
3092
4553
|
# },
|
@@ -3104,6 +4565,10 @@ module Aws::CodeBuild
|
|
3104
4565
|
# resource: "String",
|
3105
4566
|
# },
|
3106
4567
|
# report_build_status: false,
|
4568
|
+
# build_status_config: {
|
4569
|
+
# context: "String",
|
4570
|
+
# target_url: "String",
|
4571
|
+
# },
|
3107
4572
|
# insecure_ssl: false,
|
3108
4573
|
# source_identifier: "String",
|
3109
4574
|
# },
|
@@ -3145,7 +4610,7 @@ module Aws::CodeBuild
|
|
3145
4610
|
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
3146
4611
|
# },
|
3147
4612
|
# environment: {
|
3148
|
-
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
|
4613
|
+
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
|
3149
4614
|
# image: "NonEmptyString", # required
|
3150
4615
|
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
|
3151
4616
|
# environment_variables: [
|
@@ -3200,6 +4665,15 @@ module Aws::CodeBuild
|
|
3200
4665
|
# mount_options: "String",
|
3201
4666
|
# },
|
3202
4667
|
# ],
|
4668
|
+
# build_batch_config: {
|
4669
|
+
# service_role: "NonEmptyString",
|
4670
|
+
# combine_artifacts: false,
|
4671
|
+
# restrictions: {
|
4672
|
+
# maximum_builds_allowed: 1,
|
4673
|
+
# compute_types_allowed: ["NonEmptyString"],
|
4674
|
+
# },
|
4675
|
+
# timeout_in_mins: 1,
|
4676
|
+
# },
|
3203
4677
|
# })
|
3204
4678
|
#
|
3205
4679
|
# @example Response structure
|
@@ -3215,6 +4689,8 @@ module Aws::CodeBuild
|
|
3215
4689
|
# resp.project.source.auth.type #=> String, one of "OAUTH"
|
3216
4690
|
# resp.project.source.auth.resource #=> String
|
3217
4691
|
# resp.project.source.report_build_status #=> Boolean
|
4692
|
+
# resp.project.source.build_status_config.context #=> String
|
4693
|
+
# resp.project.source.build_status_config.target_url #=> String
|
3218
4694
|
# resp.project.source.insecure_ssl #=> Boolean
|
3219
4695
|
# resp.project.source.source_identifier #=> String
|
3220
4696
|
# resp.project.secondary_sources #=> Array
|
@@ -3226,6 +4702,8 @@ module Aws::CodeBuild
|
|
3226
4702
|
# resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
3227
4703
|
# resp.project.secondary_sources[0].auth.resource #=> String
|
3228
4704
|
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
4705
|
+
# resp.project.secondary_sources[0].build_status_config.context #=> String
|
4706
|
+
# resp.project.secondary_sources[0].build_status_config.target_url #=> String
|
3229
4707
|
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
3230
4708
|
# resp.project.secondary_sources[0].source_identifier #=> String
|
3231
4709
|
# resp.project.source_version #=> String
|
@@ -3255,7 +4733,7 @@ module Aws::CodeBuild
|
|
3255
4733
|
# resp.project.cache.location #=> String
|
3256
4734
|
# resp.project.cache.modes #=> Array
|
3257
4735
|
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
3258
|
-
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
|
4736
|
+
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
3259
4737
|
# resp.project.environment.image #=> String
|
3260
4738
|
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
3261
4739
|
# resp.project.environment.environment_variables #=> Array
|
@@ -3285,6 +4763,7 @@ module Aws::CodeBuild
|
|
3285
4763
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3286
4764
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
3287
4765
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
4766
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
3288
4767
|
# resp.project.webhook.last_modified_secret #=> Time
|
3289
4768
|
# resp.project.vpc_config.vpc_id #=> String
|
3290
4769
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -3305,6 +4784,12 @@ module Aws::CodeBuild
|
|
3305
4784
|
# resp.project.file_system_locations[0].mount_point #=> String
|
3306
4785
|
# resp.project.file_system_locations[0].identifier #=> String
|
3307
4786
|
# resp.project.file_system_locations[0].mount_options #=> String
|
4787
|
+
# resp.project.build_batch_config.service_role #=> String
|
4788
|
+
# resp.project.build_batch_config.combine_artifacts #=> Boolean
|
4789
|
+
# resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4790
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4791
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4792
|
+
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
3308
4793
|
#
|
3309
4794
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
3310
4795
|
#
|
@@ -3364,7 +4849,7 @@ module Aws::CodeBuild
|
|
3364
4849
|
#
|
3365
4850
|
# resp.report_group.arn #=> String
|
3366
4851
|
# resp.report_group.name #=> String
|
3367
|
-
# resp.report_group.type #=> String, one of "TEST"
|
4852
|
+
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
3368
4853
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
3369
4854
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
3370
4855
|
# resp.report_group.export_config.s3_destination.path #=> String
|
@@ -3416,6 +4901,9 @@ module Aws::CodeBuild
|
|
3416
4901
|
# webhook event can trigger a build. A filter group must contain at
|
3417
4902
|
# least one `EVENT` `WebhookFilter`.
|
3418
4903
|
#
|
4904
|
+
# @option params [String] :build_type
|
4905
|
+
# Specifies the type of build this webhook will trigger.
|
4906
|
+
#
|
3419
4907
|
# @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3420
4908
|
#
|
3421
4909
|
# * {Types::UpdateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -3435,6 +4923,7 @@ module Aws::CodeBuild
|
|
3435
4923
|
# },
|
3436
4924
|
# ],
|
3437
4925
|
# ],
|
4926
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
3438
4927
|
# })
|
3439
4928
|
#
|
3440
4929
|
# @example Response structure
|
@@ -3448,6 +4937,7 @@ module Aws::CodeBuild
|
|
3448
4937
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3449
4938
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
3450
4939
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
4940
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
3451
4941
|
# resp.webhook.last_modified_secret #=> Time
|
3452
4942
|
#
|
3453
4943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
|
@@ -3472,7 +4962,7 @@ module Aws::CodeBuild
|
|
3472
4962
|
params: params,
|
3473
4963
|
config: config)
|
3474
4964
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3475
|
-
context[:gem_version] = '1.
|
4965
|
+
context[:gem_version] = '1.59.0'
|
3476
4966
|
Seahorse::Client::Request.new(handlers, context)
|
3477
4967
|
end
|
3478
4968
|
|