aws-sdk-codebuild 1.57.0 → 1.58.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 +1534 -116
- data/lib/aws-sdk-codebuild/client_api.rb +371 -0
- data/lib/aws-sdk-codebuild/types.rb +1854 -264
- 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: 729333bfac85b05ea5734fd0d0e9a6fa52469c6b6ccf75ccc97b2c071e2b06ac
|
4
|
+
data.tar.gz: f0db41fc103f8f5088395bc2fc0381e5e7cf53005170c2bc719428bae994e5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f8fc25219e8f0144ef7291ead0139fe3de4fcfd7194ad1f4f2b8f8a1dd1409d5dbe9d327873421bc7f297b260001428a4a64fd62208a62fc151d9115f87be0
|
7
|
+
data.tar.gz: 61048885f420258c7f26d3b4de1b0116fef3ef6242b63a35d880b78673b6e7caf69d052a0730dc36726a9d15a9e09f82e4e55b17c8e9ea68986ea423be9e65c5
|
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
|
@@ -741,6 +903,7 @@ module Aws::CodeBuild
|
|
741
903
|
# resp.builds[0].file_system_locations[0].mount_options #=> String
|
742
904
|
# resp.builds[0].debug_session.session_enabled #=> Boolean
|
743
905
|
# resp.builds[0].debug_session.session_target #=> String
|
906
|
+
# resp.builds[0].build_batch_arn #=> String
|
744
907
|
# resp.builds_not_found #=> Array
|
745
908
|
# resp.builds_not_found[0] #=> String
|
746
909
|
#
|
@@ -859,6 +1022,7 @@ module Aws::CodeBuild
|
|
859
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"
|
860
1023
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
861
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"
|
862
1026
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
863
1027
|
# resp.projects[0].vpc_config.vpc_id #=> String
|
864
1028
|
# resp.projects[0].vpc_config.subnets #=> Array
|
@@ -879,6 +1043,12 @@ module Aws::CodeBuild
|
|
879
1043
|
# resp.projects[0].file_system_locations[0].mount_point #=> String
|
880
1044
|
# resp.projects[0].file_system_locations[0].identifier #=> String
|
881
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
|
882
1052
|
# resp.projects_not_found #=> Array
|
883
1053
|
# resp.projects_not_found[0] #=> String
|
884
1054
|
#
|
@@ -913,7 +1083,7 @@ module Aws::CodeBuild
|
|
913
1083
|
# resp.report_groups #=> Array
|
914
1084
|
# resp.report_groups[0].arn #=> String
|
915
1085
|
# resp.report_groups[0].name #=> String
|
916
|
-
# resp.report_groups[0].type #=> String, one of "TEST"
|
1086
|
+
# resp.report_groups[0].type #=> String, one of "TEST", "CODE_COVERAGE"
|
917
1087
|
# resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
918
1088
|
# resp.report_groups[0].export_config.s3_destination.bucket #=> String
|
919
1089
|
# resp.report_groups[0].export_config.s3_destination.path #=> String
|
@@ -957,7 +1127,7 @@ module Aws::CodeBuild
|
|
957
1127
|
#
|
958
1128
|
# resp.reports #=> Array
|
959
1129
|
# resp.reports[0].arn #=> String
|
960
|
-
# resp.reports[0].type #=> String, one of "TEST"
|
1130
|
+
# resp.reports[0].type #=> String, one of "TEST", "CODE_COVERAGE"
|
961
1131
|
# resp.reports[0].name #=> String
|
962
1132
|
# resp.reports[0].report_group_arn #=> String
|
963
1133
|
# resp.reports[0].execution_id #=> String
|
@@ -975,6 +1145,12 @@ module Aws::CodeBuild
|
|
975
1145
|
# resp.reports[0].test_summary.status_counts #=> Hash
|
976
1146
|
# resp.reports[0].test_summary.status_counts["String"] #=> Integer
|
977
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
|
978
1154
|
# resp.reports_not_found #=> Array
|
979
1155
|
# resp.reports_not_found[0] #=> String
|
980
1156
|
#
|
@@ -1102,6 +1278,10 @@ module Aws::CodeBuild
|
|
1102
1278
|
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
1103
1279
|
# a file system created using Amazon Elastic File System.
|
1104
1280
|
#
|
1281
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config
|
1282
|
+
# A ProjectBuildBatchConfig object that defines the batch build options
|
1283
|
+
# for the project.
|
1284
|
+
#
|
1105
1285
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1106
1286
|
#
|
1107
1287
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1245,6 +1425,15 @@ module Aws::CodeBuild
|
|
1245
1425
|
# mount_options: "String",
|
1246
1426
|
# },
|
1247
1427
|
# ],
|
1428
|
+
# build_batch_config: {
|
1429
|
+
# service_role: "NonEmptyString",
|
1430
|
+
# combine_artifacts: false,
|
1431
|
+
# restrictions: {
|
1432
|
+
# maximum_builds_allowed: 1,
|
1433
|
+
# compute_types_allowed: ["NonEmptyString"],
|
1434
|
+
# },
|
1435
|
+
# timeout_in_mins: 1,
|
1436
|
+
# },
|
1248
1437
|
# })
|
1249
1438
|
#
|
1250
1439
|
# @example Response structure
|
@@ -1334,6 +1523,7 @@ module Aws::CodeBuild
|
|
1334
1523
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1335
1524
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1336
1525
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1526
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1337
1527
|
# resp.project.webhook.last_modified_secret #=> Time
|
1338
1528
|
# resp.project.vpc_config.vpc_id #=> String
|
1339
1529
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -1354,6 +1544,12 @@ module Aws::CodeBuild
|
|
1354
1544
|
# resp.project.file_system_locations[0].mount_point #=> String
|
1355
1545
|
# resp.project.file_system_locations[0].identifier #=> String
|
1356
1546
|
# resp.project.file_system_locations[0].mount_options #=> String
|
1547
|
+
# resp.project.build_batch_config.service_role #=> String
|
1548
|
+
# resp.project.build_batch_config.combine_artifacts #=> Boolean
|
1549
|
+
# resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
1550
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
1551
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1552
|
+
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1357
1553
|
#
|
1358
1554
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1359
1555
|
#
|
@@ -1391,7 +1587,7 @@ module Aws::CodeBuild
|
|
1391
1587
|
#
|
1392
1588
|
# resp = client.create_report_group({
|
1393
1589
|
# name: "ReportGroupName", # required
|
1394
|
-
# type: "TEST", # required, accepts TEST
|
1590
|
+
# type: "TEST", # required, accepts TEST, CODE_COVERAGE
|
1395
1591
|
# export_config: { # required
|
1396
1592
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
1397
1593
|
# s3_destination: {
|
@@ -1414,7 +1610,7 @@ module Aws::CodeBuild
|
|
1414
1610
|
#
|
1415
1611
|
# resp.report_group.arn #=> String
|
1416
1612
|
# resp.report_group.name #=> String
|
1417
|
-
# resp.report_group.type #=> String, one of "TEST"
|
1613
|
+
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
1418
1614
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
1419
1615
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
1420
1616
|
# resp.report_group.export_config.s3_destination.path #=> String
|
@@ -1477,6 +1673,9 @@ module Aws::CodeBuild
|
|
1477
1673
|
# `filterGroups` array must pass. For a filter group to pass, each of
|
1478
1674
|
# its filters must pass.
|
1479
1675
|
#
|
1676
|
+
# @option params [String] :build_type
|
1677
|
+
# Specifies the type of build this webhook will trigger.
|
1678
|
+
#
|
1480
1679
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1481
1680
|
#
|
1482
1681
|
# * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -1495,6 +1694,7 @@ module Aws::CodeBuild
|
|
1495
1694
|
# },
|
1496
1695
|
# ],
|
1497
1696
|
# ],
|
1697
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
1498
1698
|
# })
|
1499
1699
|
#
|
1500
1700
|
# @example Response structure
|
@@ -1508,6 +1708,7 @@ module Aws::CodeBuild
|
|
1508
1708
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1509
1709
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1510
1710
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1711
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1511
1712
|
# resp.webhook.last_modified_secret #=> Time
|
1512
1713
|
#
|
1513
1714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
|
@@ -1519,6 +1720,41 @@ module Aws::CodeBuild
|
|
1519
1720
|
req.send_request(options)
|
1520
1721
|
end
|
1521
1722
|
|
1723
|
+
# Deletes a batch build.
|
1724
|
+
#
|
1725
|
+
# @option params [required, String] :id
|
1726
|
+
# The identifier of the batch build to delete.
|
1727
|
+
#
|
1728
|
+
# @return [Types::DeleteBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1729
|
+
#
|
1730
|
+
# * {Types::DeleteBuildBatchOutput#status_code #status_code} => String
|
1731
|
+
# * {Types::DeleteBuildBatchOutput#builds_deleted #builds_deleted} => Array<String>
|
1732
|
+
# * {Types::DeleteBuildBatchOutput#builds_not_deleted #builds_not_deleted} => Array<Types::BuildNotDeleted>
|
1733
|
+
#
|
1734
|
+
# @example Request syntax with placeholder values
|
1735
|
+
#
|
1736
|
+
# resp = client.delete_build_batch({
|
1737
|
+
# id: "NonEmptyString", # required
|
1738
|
+
# })
|
1739
|
+
#
|
1740
|
+
# @example Response structure
|
1741
|
+
#
|
1742
|
+
# resp.status_code #=> String
|
1743
|
+
# resp.builds_deleted #=> Array
|
1744
|
+
# resp.builds_deleted[0] #=> String
|
1745
|
+
# resp.builds_not_deleted #=> Array
|
1746
|
+
# resp.builds_not_deleted[0].id #=> String
|
1747
|
+
# resp.builds_not_deleted[0].status_code #=> String
|
1748
|
+
#
|
1749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch AWS API Documentation
|
1750
|
+
#
|
1751
|
+
# @overload delete_build_batch(params = {})
|
1752
|
+
# @param [Hash] params ({})
|
1753
|
+
def delete_build_batch(params = {}, options = {})
|
1754
|
+
req = build_request(:delete_build_batch, params)
|
1755
|
+
req.send_request(options)
|
1756
|
+
end
|
1757
|
+
|
1522
1758
|
# Deletes a build project. When you delete a project, its builds are not
|
1523
1759
|
# deleted.
|
1524
1760
|
#
|
@@ -1672,6 +1908,82 @@ module Aws::CodeBuild
|
|
1672
1908
|
req.send_request(options)
|
1673
1909
|
end
|
1674
1910
|
|
1911
|
+
# Retrieves one or more code coverage reports.
|
1912
|
+
#
|
1913
|
+
# @option params [required, String] :report_arn
|
1914
|
+
# The ARN of the report for which test cases are returned.
|
1915
|
+
#
|
1916
|
+
# @option params [String] :next_token
|
1917
|
+
# The `nextToken` value returned from a previous call to
|
1918
|
+
# `DescribeCodeCoverages`. This specifies the next item to return. To
|
1919
|
+
# return the beginning of the list, exclude this parameter.
|
1920
|
+
#
|
1921
|
+
# @option params [Integer] :max_results
|
1922
|
+
# The maximum number of results to return.
|
1923
|
+
#
|
1924
|
+
# @option params [String] :sort_order
|
1925
|
+
# Specifies if the results are sorted in ascending or descending order.
|
1926
|
+
#
|
1927
|
+
# @option params [String] :sort_by
|
1928
|
+
# Specifies how the results are sorted. Possible values are:
|
1929
|
+
#
|
1930
|
+
# FILE\_PATH
|
1931
|
+
#
|
1932
|
+
# : The results are sorted by file path.
|
1933
|
+
#
|
1934
|
+
# LINE\_COVERAGE\_PERCENTAGE
|
1935
|
+
#
|
1936
|
+
# : The results are sorted by the percentage of lines that are covered.
|
1937
|
+
#
|
1938
|
+
# @option params [Float] :min_line_coverage_percentage
|
1939
|
+
# The minimum line coverage percentage to report.
|
1940
|
+
#
|
1941
|
+
# @option params [Float] :max_line_coverage_percentage
|
1942
|
+
# The maximum line coverage percentage to report.
|
1943
|
+
#
|
1944
|
+
# @return [Types::DescribeCodeCoveragesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1945
|
+
#
|
1946
|
+
# * {Types::DescribeCodeCoveragesOutput#next_token #next_token} => String
|
1947
|
+
# * {Types::DescribeCodeCoveragesOutput#code_coverages #code_coverages} => Array<Types::CodeCoverage>
|
1948
|
+
#
|
1949
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1950
|
+
#
|
1951
|
+
# @example Request syntax with placeholder values
|
1952
|
+
#
|
1953
|
+
# resp = client.describe_code_coverages({
|
1954
|
+
# report_arn: "NonEmptyString", # required
|
1955
|
+
# next_token: "String",
|
1956
|
+
# max_results: 1,
|
1957
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1958
|
+
# sort_by: "LINE_COVERAGE_PERCENTAGE", # accepts LINE_COVERAGE_PERCENTAGE, FILE_PATH
|
1959
|
+
# min_line_coverage_percentage: 1.0,
|
1960
|
+
# max_line_coverage_percentage: 1.0,
|
1961
|
+
# })
|
1962
|
+
#
|
1963
|
+
# @example Response structure
|
1964
|
+
#
|
1965
|
+
# resp.next_token #=> String
|
1966
|
+
# resp.code_coverages #=> Array
|
1967
|
+
# resp.code_coverages[0].id #=> String
|
1968
|
+
# resp.code_coverages[0].report_arn #=> String
|
1969
|
+
# resp.code_coverages[0].file_path #=> String
|
1970
|
+
# resp.code_coverages[0].line_coverage_percentage #=> Float
|
1971
|
+
# resp.code_coverages[0].lines_covered #=> Integer
|
1972
|
+
# resp.code_coverages[0].lines_missed #=> Integer
|
1973
|
+
# resp.code_coverages[0].branch_coverage_percentage #=> Float
|
1974
|
+
# resp.code_coverages[0].branches_covered #=> Integer
|
1975
|
+
# resp.code_coverages[0].branches_missed #=> Integer
|
1976
|
+
# resp.code_coverages[0].expired #=> Time
|
1977
|
+
#
|
1978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeCodeCoverages AWS API Documentation
|
1979
|
+
#
|
1980
|
+
# @overload describe_code_coverages(params = {})
|
1981
|
+
# @param [Hash] params ({})
|
1982
|
+
def describe_code_coverages(params = {}, options = {})
|
1983
|
+
req = build_request(:describe_code_coverages, params)
|
1984
|
+
req.send_request(options)
|
1985
|
+
end
|
1986
|
+
|
1675
1987
|
# Returns a list of details about test cases for a report.
|
1676
1988
|
#
|
1677
1989
|
# @option params [required, String] :report_arn
|
@@ -1839,6 +2151,120 @@ module Aws::CodeBuild
|
|
1839
2151
|
req.send_request(options)
|
1840
2152
|
end
|
1841
2153
|
|
2154
|
+
# Retrieves the identifiers of your build batches in the current region.
|
2155
|
+
#
|
2156
|
+
# @option params [Types::BuildBatchFilter] :filter
|
2157
|
+
# A `BuildBatchFilter` object that specifies the filters for the search.
|
2158
|
+
#
|
2159
|
+
# @option params [Integer] :max_results
|
2160
|
+
# The maximum number of results to return.
|
2161
|
+
#
|
2162
|
+
# @option params [String] :sort_order
|
2163
|
+
# Specifies the sort order of the returned items. Valid values include:
|
2164
|
+
#
|
2165
|
+
# * `ASCENDING`\: List the batch build identifiers in ascending order by
|
2166
|
+
# identifier.
|
2167
|
+
#
|
2168
|
+
# * `DESCENDING`\: List the batch build identifiers in descending order
|
2169
|
+
# by identifier.
|
2170
|
+
#
|
2171
|
+
# @option params [String] :next_token
|
2172
|
+
# The `nextToken` value returned from a previous call to
|
2173
|
+
# `ListBuildBatches`. This specifies the next item to return. To return
|
2174
|
+
# the beginning of the list, exclude this parameter.
|
2175
|
+
#
|
2176
|
+
# @return [Types::ListBuildBatchesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2177
|
+
#
|
2178
|
+
# * {Types::ListBuildBatchesOutput#ids #ids} => Array<String>
|
2179
|
+
# * {Types::ListBuildBatchesOutput#next_token #next_token} => String
|
2180
|
+
#
|
2181
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2182
|
+
#
|
2183
|
+
# @example Request syntax with placeholder values
|
2184
|
+
#
|
2185
|
+
# resp = client.list_build_batches({
|
2186
|
+
# filter: {
|
2187
|
+
# status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
|
2188
|
+
# },
|
2189
|
+
# max_results: 1,
|
2190
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2191
|
+
# next_token: "String",
|
2192
|
+
# })
|
2193
|
+
#
|
2194
|
+
# @example Response structure
|
2195
|
+
#
|
2196
|
+
# resp.ids #=> Array
|
2197
|
+
# resp.ids[0] #=> String
|
2198
|
+
# resp.next_token #=> String
|
2199
|
+
#
|
2200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatches AWS API Documentation
|
2201
|
+
#
|
2202
|
+
# @overload list_build_batches(params = {})
|
2203
|
+
# @param [Hash] params ({})
|
2204
|
+
def list_build_batches(params = {}, options = {})
|
2205
|
+
req = build_request(:list_build_batches, params)
|
2206
|
+
req.send_request(options)
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
# Retrieves the identifiers of the build batches for a specific project.
|
2210
|
+
#
|
2211
|
+
# @option params [String] :project_name
|
2212
|
+
# The name of the project.
|
2213
|
+
#
|
2214
|
+
# @option params [Types::BuildBatchFilter] :filter
|
2215
|
+
# A `BuildBatchFilter` object that specifies the filters for the search.
|
2216
|
+
#
|
2217
|
+
# @option params [Integer] :max_results
|
2218
|
+
# The maximum number of results to return.
|
2219
|
+
#
|
2220
|
+
# @option params [String] :sort_order
|
2221
|
+
# Specifies the sort order of the returned items. Valid values include:
|
2222
|
+
#
|
2223
|
+
# * `ASCENDING`\: List the batch build identifiers in ascending order by
|
2224
|
+
# identifier.
|
2225
|
+
#
|
2226
|
+
# * `DESCENDING`\: List the batch build identifiers in descending order
|
2227
|
+
# by identifier.
|
2228
|
+
#
|
2229
|
+
# @option params [String] :next_token
|
2230
|
+
# The `nextToken` value returned from a previous call to
|
2231
|
+
# `ListBuildBatchesForProject`. This specifies the next item to return.
|
2232
|
+
# To return the beginning of the list, exclude this parameter.
|
2233
|
+
#
|
2234
|
+
# @return [Types::ListBuildBatchesForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2235
|
+
#
|
2236
|
+
# * {Types::ListBuildBatchesForProjectOutput#ids #ids} => Array<String>
|
2237
|
+
# * {Types::ListBuildBatchesForProjectOutput#next_token #next_token} => String
|
2238
|
+
#
|
2239
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2240
|
+
#
|
2241
|
+
# @example Request syntax with placeholder values
|
2242
|
+
#
|
2243
|
+
# resp = client.list_build_batches_for_project({
|
2244
|
+
# project_name: "NonEmptyString",
|
2245
|
+
# filter: {
|
2246
|
+
# status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
|
2247
|
+
# },
|
2248
|
+
# max_results: 1,
|
2249
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2250
|
+
# next_token: "String",
|
2251
|
+
# })
|
2252
|
+
#
|
2253
|
+
# @example Response structure
|
2254
|
+
#
|
2255
|
+
# resp.ids #=> Array
|
2256
|
+
# resp.ids[0] #=> String
|
2257
|
+
# resp.next_token #=> String
|
2258
|
+
#
|
2259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatchesForProject AWS API Documentation
|
2260
|
+
#
|
2261
|
+
# @overload list_build_batches_for_project(params = {})
|
2262
|
+
# @param [Hash] params ({})
|
2263
|
+
def list_build_batches_for_project(params = {}, options = {})
|
2264
|
+
req = build_request(:list_build_batches_for_project, params)
|
2265
|
+
req.send_request(options)
|
2266
|
+
end
|
2267
|
+
|
1842
2268
|
# Gets a list of build IDs, with each build ID representing a single
|
1843
2269
|
# build.
|
1844
2270
|
#
|
@@ -2409,116 +2835,445 @@ module Aws::CodeBuild
|
|
2409
2835
|
req.send_request(options)
|
2410
2836
|
end
|
2411
2837
|
|
2412
|
-
#
|
2413
|
-
#
|
2414
|
-
# @option params [required, String] :project_name
|
2415
|
-
# The name of the AWS CodeBuild build project to start running a build.
|
2416
|
-
#
|
2417
|
-
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
2418
|
-
# An array of `ProjectSource` objects.
|
2419
|
-
#
|
2420
|
-
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
2421
|
-
# An array of `ProjectSourceVersion` objects that specify one or more
|
2422
|
-
# versions of the project's secondary sources to be used for this build
|
2423
|
-
# only.
|
2424
|
-
#
|
2425
|
-
# @option params [String] :source_version
|
2426
|
-
# A version of the build input to be built, for this build only. If not
|
2427
|
-
# specified, the latest version is used. If specified, must be one of:
|
2428
|
-
#
|
2429
|
-
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
2430
|
-
#
|
2431
|
-
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
2432
|
-
# that corresponds to the version of the source code you want to
|
2433
|
-
# build. If a pull request ID is specified, it must use the format
|
2434
|
-
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
2435
|
-
# specified, the branch's HEAD commit ID is used. If not specified,
|
2436
|
-
# the default branch's HEAD commit ID is used.
|
2437
|
-
#
|
2438
|
-
# * For Bitbucket: the commit ID, branch name, or tag name that
|
2439
|
-
# corresponds to the version of the source code you want to build. If
|
2440
|
-
# a branch name is specified, the branch's HEAD commit ID is used. If
|
2441
|
-
# not specified, the default branch's HEAD commit ID is used.
|
2442
|
-
#
|
2443
|
-
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
2444
|
-
# object that represents the build input ZIP file to use.
|
2445
|
-
#
|
2446
|
-
# If `sourceVersion` is specified at the project level, then this
|
2447
|
-
# `sourceVersion` (at the build level) takes precedence.
|
2448
|
-
#
|
2449
|
-
# For more information, see [Source Version Sample with CodeBuild][1] in
|
2450
|
-
# the *AWS CodeBuild User Guide*.
|
2451
|
-
#
|
2452
|
-
#
|
2453
|
-
#
|
2454
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
2455
|
-
#
|
2456
|
-
# @option params [Types::ProjectArtifacts] :artifacts_override
|
2457
|
-
# Build output artifact settings that override, for this build only, the
|
2458
|
-
# latest ones already defined in the build project.
|
2459
|
-
#
|
2460
|
-
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
2461
|
-
# An array of `ProjectArtifacts` objects.
|
2462
|
-
#
|
2463
|
-
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
2464
|
-
# A set of environment variables that overrides, for this build only,
|
2465
|
-
# the latest ones already defined in the build project.
|
2466
|
-
#
|
2467
|
-
# @option params [String] :source_type_override
|
2468
|
-
# A source input type, for this build, that overrides the source input
|
2469
|
-
# defined in the build project.
|
2470
|
-
#
|
2471
|
-
# @option params [String] :source_location_override
|
2472
|
-
# A location that overrides, for this build, the source location for the
|
2473
|
-
# one defined in the build project.
|
2474
|
-
#
|
2475
|
-
# @option params [Types::SourceAuth] :source_auth_override
|
2476
|
-
# An authorization type for this build that overrides the one defined in
|
2477
|
-
# the build project. This override applies only if the build project's
|
2478
|
-
# source is BitBucket or GitHub.
|
2479
|
-
#
|
2480
|
-
# @option params [Integer] :git_clone_depth_override
|
2481
|
-
# The user-defined depth of history, with a minimum value of 0, that
|
2482
|
-
# overrides, for this build only, any previous depth of history defined
|
2483
|
-
# in the build project.
|
2484
|
-
#
|
2485
|
-
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
2486
|
-
# Information about the Git submodules configuration for this build of
|
2487
|
-
# an AWS CodeBuild build project.
|
2488
|
-
#
|
2489
|
-
# @option params [String] :buildspec_override
|
2490
|
-
# A buildspec file declaration that overrides, for this build only, the
|
2491
|
-
# latest one already defined in the build project.
|
2838
|
+
# Restarts a build.
|
2492
2839
|
#
|
2493
|
-
#
|
2494
|
-
# the
|
2495
|
-
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
2496
|
-
# S3 bucket. The bucket must be in the same AWS Region as the build
|
2497
|
-
# project. Specify the buildspec file using its ARN (for example,
|
2498
|
-
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
2499
|
-
# not provided or is set to an empty string, the source code must
|
2500
|
-
# contain a buildspec file in its root directory. For more information,
|
2501
|
-
# see [Buildspec File Name and Storage Location][1].
|
2840
|
+
# @option params [String] :id
|
2841
|
+
# Specifies the identifier of the build to restart.
|
2502
2842
|
#
|
2843
|
+
# @option params [String] :idempotency_token
|
2844
|
+
# A unique, case sensitive identifier you provide to ensure the
|
2845
|
+
# idempotency of the `RetryBuild` request. The token is included in the
|
2846
|
+
# `RetryBuild` request and is valid for five minutes. If you repeat the
|
2847
|
+
# `RetryBuild` request with the same token, but change a parameter, AWS
|
2848
|
+
# CodeBuild returns a parameter mismatch error.
|
2503
2849
|
#
|
2850
|
+
# @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2504
2851
|
#
|
2505
|
-
#
|
2852
|
+
# * {Types::RetryBuildOutput#build #build} => Types::Build
|
2506
2853
|
#
|
2507
|
-
# @
|
2508
|
-
# Enable this flag to override the insecure SSL setting that is
|
2509
|
-
# specified in the build project. The insecure SSL setting determines
|
2510
|
-
# whether to ignore SSL warnings while connecting to the project source
|
2511
|
-
# code. This override applies only if the build's source is GitHub
|
2512
|
-
# Enterprise.
|
2854
|
+
# @example Request syntax with placeholder values
|
2513
2855
|
#
|
2514
|
-
#
|
2515
|
-
#
|
2516
|
-
#
|
2517
|
-
#
|
2518
|
-
# invalidInputException is thrown.
|
2856
|
+
# resp = client.retry_build({
|
2857
|
+
# id: "NonEmptyString",
|
2858
|
+
# idempotency_token: "String",
|
2859
|
+
# })
|
2519
2860
|
#
|
2520
|
-
#
|
2521
|
-
#
|
2861
|
+
# @example Response structure
|
2862
|
+
#
|
2863
|
+
# resp.build.id #=> String
|
2864
|
+
# resp.build.arn #=> String
|
2865
|
+
# resp.build.build_number #=> Integer
|
2866
|
+
# resp.build.start_time #=> Time
|
2867
|
+
# resp.build.end_time #=> Time
|
2868
|
+
# resp.build.current_phase #=> String
|
2869
|
+
# resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
2870
|
+
# resp.build.source_version #=> String
|
2871
|
+
# resp.build.resolved_source_version #=> String
|
2872
|
+
# resp.build.project_name #=> String
|
2873
|
+
# resp.build.phases #=> Array
|
2874
|
+
# resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
|
2875
|
+
# resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
2876
|
+
# resp.build.phases[0].start_time #=> Time
|
2877
|
+
# resp.build.phases[0].end_time #=> Time
|
2878
|
+
# resp.build.phases[0].duration_in_seconds #=> Integer
|
2879
|
+
# resp.build.phases[0].contexts #=> Array
|
2880
|
+
# resp.build.phases[0].contexts[0].status_code #=> String
|
2881
|
+
# resp.build.phases[0].contexts[0].message #=> String
|
2882
|
+
# resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
2883
|
+
# resp.build.source.location #=> String
|
2884
|
+
# resp.build.source.git_clone_depth #=> Integer
|
2885
|
+
# resp.build.source.git_submodules_config.fetch_submodules #=> Boolean
|
2886
|
+
# resp.build.source.buildspec #=> String
|
2887
|
+
# resp.build.source.auth.type #=> String, one of "OAUTH"
|
2888
|
+
# resp.build.source.auth.resource #=> String
|
2889
|
+
# resp.build.source.report_build_status #=> Boolean
|
2890
|
+
# resp.build.source.build_status_config.context #=> String
|
2891
|
+
# resp.build.source.build_status_config.target_url #=> String
|
2892
|
+
# resp.build.source.insecure_ssl #=> Boolean
|
2893
|
+
# resp.build.source.source_identifier #=> String
|
2894
|
+
# resp.build.secondary_sources #=> Array
|
2895
|
+
# resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
2896
|
+
# resp.build.secondary_sources[0].location #=> String
|
2897
|
+
# resp.build.secondary_sources[0].git_clone_depth #=> Integer
|
2898
|
+
# resp.build.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
2899
|
+
# resp.build.secondary_sources[0].buildspec #=> String
|
2900
|
+
# resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
2901
|
+
# resp.build.secondary_sources[0].auth.resource #=> String
|
2902
|
+
# resp.build.secondary_sources[0].report_build_status #=> Boolean
|
2903
|
+
# resp.build.secondary_sources[0].build_status_config.context #=> String
|
2904
|
+
# resp.build.secondary_sources[0].build_status_config.target_url #=> String
|
2905
|
+
# resp.build.secondary_sources[0].insecure_ssl #=> Boolean
|
2906
|
+
# resp.build.secondary_sources[0].source_identifier #=> String
|
2907
|
+
# resp.build.secondary_source_versions #=> Array
|
2908
|
+
# resp.build.secondary_source_versions[0].source_identifier #=> String
|
2909
|
+
# resp.build.secondary_source_versions[0].source_version #=> String
|
2910
|
+
# resp.build.artifacts.location #=> String
|
2911
|
+
# resp.build.artifacts.sha256sum #=> String
|
2912
|
+
# resp.build.artifacts.md5sum #=> String
|
2913
|
+
# resp.build.artifacts.override_artifact_name #=> Boolean
|
2914
|
+
# resp.build.artifacts.encryption_disabled #=> Boolean
|
2915
|
+
# resp.build.artifacts.artifact_identifier #=> String
|
2916
|
+
# resp.build.secondary_artifacts #=> Array
|
2917
|
+
# resp.build.secondary_artifacts[0].location #=> String
|
2918
|
+
# resp.build.secondary_artifacts[0].sha256sum #=> String
|
2919
|
+
# resp.build.secondary_artifacts[0].md5sum #=> String
|
2920
|
+
# resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
|
2921
|
+
# resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
|
2922
|
+
# resp.build.secondary_artifacts[0].artifact_identifier #=> String
|
2923
|
+
# resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
2924
|
+
# resp.build.cache.location #=> String
|
2925
|
+
# resp.build.cache.modes #=> Array
|
2926
|
+
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
2927
|
+
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
2928
|
+
# resp.build.environment.image #=> String
|
2929
|
+
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
2930
|
+
# resp.build.environment.environment_variables #=> Array
|
2931
|
+
# resp.build.environment.environment_variables[0].name #=> String
|
2932
|
+
# resp.build.environment.environment_variables[0].value #=> String
|
2933
|
+
# resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
2934
|
+
# resp.build.environment.privileged_mode #=> Boolean
|
2935
|
+
# resp.build.environment.certificate #=> String
|
2936
|
+
# resp.build.environment.registry_credential.credential #=> String
|
2937
|
+
# resp.build.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
2938
|
+
# resp.build.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
2939
|
+
# resp.build.service_role #=> String
|
2940
|
+
# resp.build.logs.group_name #=> String
|
2941
|
+
# resp.build.logs.stream_name #=> String
|
2942
|
+
# resp.build.logs.deep_link #=> String
|
2943
|
+
# resp.build.logs.s3_deep_link #=> String
|
2944
|
+
# resp.build.logs.cloud_watch_logs_arn #=> String
|
2945
|
+
# resp.build.logs.s3_logs_arn #=> String
|
2946
|
+
# resp.build.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
2947
|
+
# resp.build.logs.cloud_watch_logs.group_name #=> String
|
2948
|
+
# resp.build.logs.cloud_watch_logs.stream_name #=> String
|
2949
|
+
# resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
2950
|
+
# resp.build.logs.s3_logs.location #=> String
|
2951
|
+
# resp.build.logs.s3_logs.encryption_disabled #=> Boolean
|
2952
|
+
# resp.build.timeout_in_minutes #=> Integer
|
2953
|
+
# resp.build.queued_timeout_in_minutes #=> Integer
|
2954
|
+
# resp.build.build_complete #=> Boolean
|
2955
|
+
# resp.build.initiator #=> String
|
2956
|
+
# resp.build.vpc_config.vpc_id #=> String
|
2957
|
+
# resp.build.vpc_config.subnets #=> Array
|
2958
|
+
# resp.build.vpc_config.subnets[0] #=> String
|
2959
|
+
# resp.build.vpc_config.security_group_ids #=> Array
|
2960
|
+
# resp.build.vpc_config.security_group_ids[0] #=> String
|
2961
|
+
# resp.build.network_interface.subnet_id #=> String
|
2962
|
+
# resp.build.network_interface.network_interface_id #=> String
|
2963
|
+
# resp.build.encryption_key #=> String
|
2964
|
+
# resp.build.exported_environment_variables #=> Array
|
2965
|
+
# resp.build.exported_environment_variables[0].name #=> String
|
2966
|
+
# resp.build.exported_environment_variables[0].value #=> String
|
2967
|
+
# resp.build.report_arns #=> Array
|
2968
|
+
# resp.build.report_arns[0] #=> String
|
2969
|
+
# resp.build.file_system_locations #=> Array
|
2970
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2971
|
+
# resp.build.file_system_locations[0].location #=> String
|
2972
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2973
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2974
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2975
|
+
# resp.build.debug_session.session_enabled #=> Boolean
|
2976
|
+
# resp.build.debug_session.session_target #=> String
|
2977
|
+
# resp.build.build_batch_arn #=> String
|
2978
|
+
#
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild AWS API Documentation
|
2980
|
+
#
|
2981
|
+
# @overload retry_build(params = {})
|
2982
|
+
# @param [Hash] params ({})
|
2983
|
+
def retry_build(params = {}, options = {})
|
2984
|
+
req = build_request(:retry_build, params)
|
2985
|
+
req.send_request(options)
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# Restarts a batch build.
|
2989
|
+
#
|
2990
|
+
# @option params [String] :id
|
2991
|
+
# Specifies the identifier of the batch build to restart.
|
2992
|
+
#
|
2993
|
+
# @option params [String] :idempotency_token
|
2994
|
+
# A unique, case sensitive identifier you provide to ensure the
|
2995
|
+
# idempotency of the `RetryBuildBatch` request. The token is included in
|
2996
|
+
# the `RetryBuildBatch` request and is valid for five minutes. If you
|
2997
|
+
# repeat the `RetryBuildBatch` request with the same token, but change a
|
2998
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
2999
|
+
#
|
3000
|
+
# @option params [String] :retry_type
|
3001
|
+
# Specifies the type of retry to perform.
|
3002
|
+
#
|
3003
|
+
# @return [Types::RetryBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3004
|
+
#
|
3005
|
+
# * {Types::RetryBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
3006
|
+
#
|
3007
|
+
# @example Request syntax with placeholder values
|
3008
|
+
#
|
3009
|
+
# resp = client.retry_build_batch({
|
3010
|
+
# id: "NonEmptyString",
|
3011
|
+
# idempotency_token: "String",
|
3012
|
+
# retry_type: "RETRY_ALL_BUILDS", # accepts RETRY_ALL_BUILDS, RETRY_FAILED_BUILDS
|
3013
|
+
# })
|
3014
|
+
#
|
3015
|
+
# @example Response structure
|
3016
|
+
#
|
3017
|
+
# resp.build_batch.id #=> String
|
3018
|
+
# resp.build_batch.arn #=> String
|
3019
|
+
# resp.build_batch.start_time #=> Time
|
3020
|
+
# resp.build_batch.end_time #=> Time
|
3021
|
+
# resp.build_batch.current_phase #=> String
|
3022
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3023
|
+
# resp.build_batch.source_version #=> String
|
3024
|
+
# resp.build_batch.resolved_source_version #=> String
|
3025
|
+
# resp.build_batch.project_name #=> String
|
3026
|
+
# resp.build_batch.phases #=> Array
|
3027
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
3028
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3029
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
3030
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
3031
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
3032
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
3033
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
3034
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
3035
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3036
|
+
# resp.build_batch.source.location #=> String
|
3037
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
3038
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
3039
|
+
# resp.build_batch.source.buildspec #=> String
|
3040
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
3041
|
+
# resp.build_batch.source.auth.resource #=> String
|
3042
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
3043
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
3044
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
3045
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
3046
|
+
# resp.build_batch.source.source_identifier #=> String
|
3047
|
+
# resp.build_batch.secondary_sources #=> Array
|
3048
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3049
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
3050
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
3051
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
3052
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
3053
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
3054
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
3055
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
3056
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
3057
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
3058
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
3059
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
3060
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
3061
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
3062
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
3063
|
+
# resp.build_batch.artifacts.location #=> String
|
3064
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
3065
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
3066
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
3067
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
3068
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
3069
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
3070
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
3071
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
3072
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
3073
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
3074
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
3075
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
3076
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
3077
|
+
# resp.build_batch.cache.location #=> String
|
3078
|
+
# resp.build_batch.cache.modes #=> Array
|
3079
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
3080
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
3081
|
+
# resp.build_batch.environment.image #=> String
|
3082
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
3083
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
3084
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
3085
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
3086
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
3087
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
3088
|
+
# resp.build_batch.environment.certificate #=> String
|
3089
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
3090
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
3091
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
3092
|
+
# resp.build_batch.service_role #=> String
|
3093
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3094
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
3095
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
3096
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3097
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
3098
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
3099
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
3100
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
3101
|
+
# resp.build_batch.complete #=> Boolean
|
3102
|
+
# resp.build_batch.initiator #=> String
|
3103
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
3104
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
3105
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
3106
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
3107
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
3108
|
+
# resp.build_batch.encryption_key #=> String
|
3109
|
+
# resp.build_batch.build_batch_number #=> Integer
|
3110
|
+
# resp.build_batch.file_system_locations #=> Array
|
3111
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
3112
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
3113
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
3114
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
3115
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
3116
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
3117
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
3118
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
3119
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
3120
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
3121
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
3122
|
+
# resp.build_batch.build_groups #=> Array
|
3123
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
3124
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
3125
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
3126
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
3127
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
3128
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
3129
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3130
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3131
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
3132
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
3133
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
3134
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3135
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
3136
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
3137
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
3138
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
3139
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
3140
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3141
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3142
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
3143
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
3144
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
3145
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
3146
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
3147
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
3148
|
+
#
|
3149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch AWS API Documentation
|
3150
|
+
#
|
3151
|
+
# @overload retry_build_batch(params = {})
|
3152
|
+
# @param [Hash] params ({})
|
3153
|
+
def retry_build_batch(params = {}, options = {})
|
3154
|
+
req = build_request(:retry_build_batch, params)
|
3155
|
+
req.send_request(options)
|
3156
|
+
end
|
3157
|
+
|
3158
|
+
# Starts running a build.
|
3159
|
+
#
|
3160
|
+
# @option params [required, String] :project_name
|
3161
|
+
# The name of the AWS CodeBuild build project to start running a build.
|
3162
|
+
#
|
3163
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3164
|
+
# An array of `ProjectSource` objects.
|
3165
|
+
#
|
3166
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
3167
|
+
# An array of `ProjectSourceVersion` objects that specify one or more
|
3168
|
+
# versions of the project's secondary sources to be used for this build
|
3169
|
+
# only.
|
3170
|
+
#
|
3171
|
+
# @option params [String] :source_version
|
3172
|
+
# The version of the build input to be built, for this build only. If
|
3173
|
+
# not specified, the latest version is used. If specified, the contents
|
3174
|
+
# depends on the source provider:
|
3175
|
+
#
|
3176
|
+
# AWS CodeCommit
|
3177
|
+
#
|
3178
|
+
# : The commit ID, branch, or Git tag to use.
|
3179
|
+
#
|
3180
|
+
# GitHub
|
3181
|
+
#
|
3182
|
+
# : The commit ID, pull request ID, branch name, or tag name that
|
3183
|
+
# corresponds to the version of the source code you want to build. If
|
3184
|
+
# a pull request ID is specified, it must use the format
|
3185
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
3186
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3187
|
+
# the default branch's HEAD commit ID is used.
|
3188
|
+
#
|
3189
|
+
# Bitbucket
|
3190
|
+
#
|
3191
|
+
# : The commit ID, branch name, or tag name that corresponds to the
|
3192
|
+
# version of the source code you want to build. If a branch name is
|
3193
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3194
|
+
# the default branch's HEAD commit ID is used.
|
3195
|
+
#
|
3196
|
+
# Amazon Simple Storage Service (Amazon S3)
|
3197
|
+
#
|
3198
|
+
# : The version ID of the object that represents the build input ZIP
|
3199
|
+
# file to use.
|
3200
|
+
#
|
3201
|
+
# If `sourceVersion` is specified at the project level, then this
|
3202
|
+
# `sourceVersion` (at the build level) takes precedence.
|
3203
|
+
#
|
3204
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3205
|
+
# the *AWS CodeBuild User Guide*.
|
3206
|
+
#
|
3207
|
+
#
|
3208
|
+
#
|
3209
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
3210
|
+
#
|
3211
|
+
# @option params [Types::ProjectArtifacts] :artifacts_override
|
3212
|
+
# Build output artifact settings that override, for this build only, the
|
3213
|
+
# latest ones already defined in the build project.
|
3214
|
+
#
|
3215
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
3216
|
+
# An array of `ProjectArtifacts` objects.
|
3217
|
+
#
|
3218
|
+
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
3219
|
+
# A set of environment variables that overrides, for this build only,
|
3220
|
+
# the latest ones already defined in the build project.
|
3221
|
+
#
|
3222
|
+
# @option params [String] :source_type_override
|
3223
|
+
# A source input type, for this build, that overrides the source input
|
3224
|
+
# defined in the build project.
|
3225
|
+
#
|
3226
|
+
# @option params [String] :source_location_override
|
3227
|
+
# A location that overrides, for this build, the source location for the
|
3228
|
+
# one defined in the build project.
|
3229
|
+
#
|
3230
|
+
# @option params [Types::SourceAuth] :source_auth_override
|
3231
|
+
# An authorization type for this build that overrides the one defined in
|
3232
|
+
# the build project. This override applies only if the build project's
|
3233
|
+
# source is BitBucket or GitHub.
|
3234
|
+
#
|
3235
|
+
# @option params [Integer] :git_clone_depth_override
|
3236
|
+
# The user-defined depth of history, with a minimum value of 0, that
|
3237
|
+
# overrides, for this build only, any previous depth of history defined
|
3238
|
+
# in the build project.
|
3239
|
+
#
|
3240
|
+
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3241
|
+
# Information about the Git submodules configuration for this build of
|
3242
|
+
# an AWS CodeBuild build project.
|
3243
|
+
#
|
3244
|
+
# @option params [String] :buildspec_override
|
3245
|
+
# A buildspec file declaration that overrides, for this build only, the
|
3246
|
+
# latest one already defined in the build project.
|
3247
|
+
#
|
3248
|
+
# If this value is set, it can be either an inline buildspec definition,
|
3249
|
+
# the path to an alternate buildspec file relative to the value of the
|
3250
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3251
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3252
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3253
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3254
|
+
# not provided or is set to an empty string, the source code must
|
3255
|
+
# contain a buildspec file in its root directory. For more information,
|
3256
|
+
# see [Buildspec File Name and Storage Location][1].
|
3257
|
+
#
|
3258
|
+
#
|
3259
|
+
#
|
3260
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
3261
|
+
#
|
3262
|
+
# @option params [Boolean] :insecure_ssl_override
|
3263
|
+
# Enable this flag to override the insecure SSL setting that is
|
3264
|
+
# specified in the build project. The insecure SSL setting determines
|
3265
|
+
# whether to ignore SSL warnings while connecting to the project source
|
3266
|
+
# code. This override applies only if the build's source is GitHub
|
3267
|
+
# Enterprise.
|
3268
|
+
#
|
3269
|
+
# @option params [Boolean] :report_build_status_override
|
3270
|
+
# Set to true to report to your source provider the status of a build's
|
3271
|
+
# start and completion. If you use this option with a source provider
|
3272
|
+
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3273
|
+
# invalidInputException is thrown.
|
3274
|
+
#
|
3275
|
+
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3276
|
+
# your source provider.
|
2522
3277
|
#
|
2523
3278
|
# </note>
|
2524
3279
|
#
|
@@ -2594,16 +3349,20 @@ module Aws::CodeBuild
|
|
2594
3349
|
# The type of credentials AWS CodeBuild uses to pull images in your
|
2595
3350
|
# build. There are two valid values:
|
2596
3351
|
#
|
2597
|
-
#
|
2598
|
-
#
|
2599
|
-
#
|
3352
|
+
# CODEBUILD
|
3353
|
+
#
|
3354
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3355
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3356
|
+
# service principal.
|
2600
3357
|
#
|
2601
|
-
#
|
2602
|
-
#
|
3358
|
+
# SERVICE\_ROLE
|
3359
|
+
#
|
3360
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
3361
|
+
# role.
|
2603
3362
|
#
|
2604
3363
|
# When using a cross-account or private registry image, you must use
|
2605
|
-
#
|
2606
|
-
# you must use CODEBUILD credentials.
|
3364
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
3365
|
+
# you must use `CODEBUILD` credentials.
|
2607
3366
|
#
|
2608
3367
|
# @option params [Boolean] :debug_session_enabled
|
2609
3368
|
# Specifies if session debugging is enabled for this build. For more
|
@@ -2849,6 +3608,7 @@ module Aws::CodeBuild
|
|
2849
3608
|
# resp.build.file_system_locations[0].mount_options #=> String
|
2850
3609
|
# resp.build.debug_session.session_enabled #=> Boolean
|
2851
3610
|
# resp.build.debug_session.session_target #=> String
|
3611
|
+
# resp.build.build_batch_arn #=> String
|
2852
3612
|
#
|
2853
3613
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
|
2854
3614
|
#
|
@@ -2859,6 +3619,481 @@ module Aws::CodeBuild
|
|
2859
3619
|
req.send_request(options)
|
2860
3620
|
end
|
2861
3621
|
|
3622
|
+
# Starts a batch build for a project.
|
3623
|
+
#
|
3624
|
+
# @option params [required, String] :project_name
|
3625
|
+
# The name of the project.
|
3626
|
+
#
|
3627
|
+
# @option params [Array<Types::ProjectSource>] :secondary_sources_override
|
3628
|
+
# An array of `ProjectSource` objects that override the secondary
|
3629
|
+
# sources defined in the batch build project.
|
3630
|
+
#
|
3631
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
|
3632
|
+
# An array of `ProjectSourceVersion` objects that override the secondary
|
3633
|
+
# source versions in the batch build project.
|
3634
|
+
#
|
3635
|
+
# @option params [String] :source_version
|
3636
|
+
# The version of the batch build input to be built, for this build only.
|
3637
|
+
# If not specified, the latest version is used. If specified, the
|
3638
|
+
# contents depends on the source provider:
|
3639
|
+
#
|
3640
|
+
# AWS CodeCommit
|
3641
|
+
#
|
3642
|
+
# : The commit ID, branch, or Git tag to use.
|
3643
|
+
#
|
3644
|
+
# GitHub
|
3645
|
+
#
|
3646
|
+
# : The commit ID, pull request ID, branch name, or tag name that
|
3647
|
+
# corresponds to the version of the source code you want to build. If
|
3648
|
+
# a pull request ID is specified, it must use the format
|
3649
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
3650
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3651
|
+
# the default branch's HEAD commit ID is used.
|
3652
|
+
#
|
3653
|
+
# Bitbucket
|
3654
|
+
#
|
3655
|
+
# : The commit ID, branch name, or tag name that corresponds to the
|
3656
|
+
# version of the source code you want to build. If a branch name is
|
3657
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
3658
|
+
# the default branch's HEAD commit ID is used.
|
3659
|
+
#
|
3660
|
+
# Amazon Simple Storage Service (Amazon S3)
|
3661
|
+
#
|
3662
|
+
# : The version ID of the object that represents the build input ZIP
|
3663
|
+
# file to use.
|
3664
|
+
#
|
3665
|
+
# If `sourceVersion` is specified at the project level, then this
|
3666
|
+
# `sourceVersion` (at the build level) takes precedence.
|
3667
|
+
#
|
3668
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
3669
|
+
# the *AWS CodeBuild User Guide*.
|
3670
|
+
#
|
3671
|
+
#
|
3672
|
+
#
|
3673
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
3674
|
+
#
|
3675
|
+
# @option params [Types::ProjectArtifacts] :artifacts_override
|
3676
|
+
# An array of `ProjectArtifacts` objects that contains information about
|
3677
|
+
# the build output artifact overrides for the build project.
|
3678
|
+
#
|
3679
|
+
# @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
|
3680
|
+
# An array of `ProjectArtifacts` objects that override the secondary
|
3681
|
+
# artifacts defined in the batch build project.
|
3682
|
+
#
|
3683
|
+
# @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
|
3684
|
+
# An array of `EnvironmentVariable` objects that override, or add to,
|
3685
|
+
# the environment variables defined in the batch build project.
|
3686
|
+
#
|
3687
|
+
# @option params [String] :source_type_override
|
3688
|
+
# The source input type that overrides the source input defined in the
|
3689
|
+
# batch build project.
|
3690
|
+
#
|
3691
|
+
# @option params [String] :source_location_override
|
3692
|
+
# A location that overrides, for this batch build, the source location
|
3693
|
+
# defined in the batch build project.
|
3694
|
+
#
|
3695
|
+
# @option params [Types::SourceAuth] :source_auth_override
|
3696
|
+
# A `SourceAuth` object that overrides the one defined in the batch
|
3697
|
+
# build project. This override applies only if the build project's
|
3698
|
+
# source is BitBucket or GitHub.
|
3699
|
+
#
|
3700
|
+
# @option params [Integer] :git_clone_depth_override
|
3701
|
+
# The user-defined depth of history, with a minimum value of 0, that
|
3702
|
+
# overrides, for this batch build only, any previous depth of history
|
3703
|
+
# defined in the batch build project.
|
3704
|
+
#
|
3705
|
+
# @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
|
3706
|
+
# A `GitSubmodulesConfig` object that overrides the Git submodules
|
3707
|
+
# configuration for this batch build.
|
3708
|
+
#
|
3709
|
+
# @option params [String] :buildspec_override
|
3710
|
+
# A buildspec file declaration that overrides, for this build only, the
|
3711
|
+
# latest one already defined in the build project.
|
3712
|
+
#
|
3713
|
+
# If this value is set, it can be either an inline buildspec definition,
|
3714
|
+
# the path to an alternate buildspec file relative to the value of the
|
3715
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
3716
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
3717
|
+
# project. Specify the buildspec file using its ARN (for example,
|
3718
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
3719
|
+
# not provided or is set to an empty string, the source code must
|
3720
|
+
# contain a buildspec file in its root directory. For more information,
|
3721
|
+
# see [Buildspec File Name and Storage Location][1].
|
3722
|
+
#
|
3723
|
+
#
|
3724
|
+
#
|
3725
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
3726
|
+
#
|
3727
|
+
# @option params [Boolean] :insecure_ssl_override
|
3728
|
+
# Enable this flag to override the insecure SSL setting that is
|
3729
|
+
# specified in the batch build project. The insecure SSL setting
|
3730
|
+
# determines whether to ignore SSL warnings while connecting to the
|
3731
|
+
# project source code. This override applies only if the build's source
|
3732
|
+
# is GitHub Enterprise.
|
3733
|
+
#
|
3734
|
+
# @option params [Boolean] :report_build_batch_status_override
|
3735
|
+
# Set to `true` to report to your source provider the status of a batch
|
3736
|
+
# build's start and completion. If you use this option with a source
|
3737
|
+
# provider other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3738
|
+
# `invalidInputException` is thrown.
|
3739
|
+
#
|
3740
|
+
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3741
|
+
# your source provider.
|
3742
|
+
#
|
3743
|
+
# </note>
|
3744
|
+
#
|
3745
|
+
# @option params [String] :environment_type_override
|
3746
|
+
# A container type for this batch build that overrides the one specified
|
3747
|
+
# in the batch build project.
|
3748
|
+
#
|
3749
|
+
# @option params [String] :image_override
|
3750
|
+
# The name of an image for this batch build that overrides the one
|
3751
|
+
# specified in the batch build project.
|
3752
|
+
#
|
3753
|
+
# @option params [String] :compute_type_override
|
3754
|
+
# The name of a compute type for this batch build that overrides the one
|
3755
|
+
# specified in the batch build project.
|
3756
|
+
#
|
3757
|
+
# @option params [String] :certificate_override
|
3758
|
+
# The name of a certificate for this batch build that overrides the one
|
3759
|
+
# specified in the batch build project.
|
3760
|
+
#
|
3761
|
+
# @option params [Types::ProjectCache] :cache_override
|
3762
|
+
# A `ProjectCache` object that specifies cache overrides.
|
3763
|
+
#
|
3764
|
+
# @option params [String] :service_role_override
|
3765
|
+
# The name of a service role for this batch build that overrides the one
|
3766
|
+
# specified in the batch build project.
|
3767
|
+
#
|
3768
|
+
# @option params [Boolean] :privileged_mode_override
|
3769
|
+
# Enable this flag to override privileged mode in the batch build
|
3770
|
+
# project.
|
3771
|
+
#
|
3772
|
+
# @option params [Integer] :build_timeout_in_minutes_override
|
3773
|
+
# Overrides the build timeout specified in the batch build project.
|
3774
|
+
#
|
3775
|
+
# @option params [Integer] :queued_timeout_in_minutes_override
|
3776
|
+
# The number of minutes a batch build is allowed to be queued before it
|
3777
|
+
# times out.
|
3778
|
+
#
|
3779
|
+
# @option params [String] :encryption_key_override
|
3780
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
3781
|
+
# that overrides the one specified in the batch build project. The CMK
|
3782
|
+
# key encrypts the build output artifacts.
|
3783
|
+
#
|
3784
|
+
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3785
|
+
# artifacts if your service role has permission to that key.
|
3786
|
+
#
|
3787
|
+
# </note>
|
3788
|
+
#
|
3789
|
+
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3790
|
+
# if available, the CMK's alias (using the format `alias/alias-name `).
|
3791
|
+
#
|
3792
|
+
# @option params [String] :idempotency_token
|
3793
|
+
# A unique, case sensitive identifier you provide to ensure the
|
3794
|
+
# idempotency of the `StartBuildBatch` request. The token is included in
|
3795
|
+
# the `StartBuildBatch` request and is valid for five minutes. If you
|
3796
|
+
# repeat the `StartBuildBatch` request with the same token, but change a
|
3797
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
3798
|
+
#
|
3799
|
+
# @option params [Types::LogsConfig] :logs_config_override
|
3800
|
+
# A `LogsConfig` object that override the log settings defined in the
|
3801
|
+
# batch build project.
|
3802
|
+
#
|
3803
|
+
# @option params [Types::RegistryCredential] :registry_credential_override
|
3804
|
+
# A `RegistryCredential` object that overrides credentials for access to
|
3805
|
+
# a private registry.
|
3806
|
+
#
|
3807
|
+
# @option params [String] :image_pull_credentials_type_override
|
3808
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
3809
|
+
# batch build. There are two valid values:
|
3810
|
+
#
|
3811
|
+
# CODEBUILD
|
3812
|
+
#
|
3813
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This requires
|
3814
|
+
# that you modify your ECR repository policy to trust AWS CodeBuild's
|
3815
|
+
# service principal.
|
3816
|
+
#
|
3817
|
+
# SERVICE\_ROLE
|
3818
|
+
#
|
3819
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
3820
|
+
# role.
|
3821
|
+
#
|
3822
|
+
# When using a cross-account or private registry image, you must use
|
3823
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
|
3824
|
+
# you must use `CODEBUILD` credentials.
|
3825
|
+
#
|
3826
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
|
3827
|
+
# A `BuildBatchConfigOverride` object that contains batch build
|
3828
|
+
# configuration overrides.
|
3829
|
+
#
|
3830
|
+
# @return [Types::StartBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3831
|
+
#
|
3832
|
+
# * {Types::StartBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
3833
|
+
#
|
3834
|
+
# @example Request syntax with placeholder values
|
3835
|
+
#
|
3836
|
+
# resp = client.start_build_batch({
|
3837
|
+
# project_name: "NonEmptyString", # required
|
3838
|
+
# secondary_sources_override: [
|
3839
|
+
# {
|
3840
|
+
# type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
3841
|
+
# location: "String",
|
3842
|
+
# git_clone_depth: 1,
|
3843
|
+
# git_submodules_config: {
|
3844
|
+
# fetch_submodules: false, # required
|
3845
|
+
# },
|
3846
|
+
# buildspec: "String",
|
3847
|
+
# auth: {
|
3848
|
+
# type: "OAUTH", # required, accepts OAUTH
|
3849
|
+
# resource: "String",
|
3850
|
+
# },
|
3851
|
+
# report_build_status: false,
|
3852
|
+
# build_status_config: {
|
3853
|
+
# context: "String",
|
3854
|
+
# target_url: "String",
|
3855
|
+
# },
|
3856
|
+
# insecure_ssl: false,
|
3857
|
+
# source_identifier: "String",
|
3858
|
+
# },
|
3859
|
+
# ],
|
3860
|
+
# secondary_sources_version_override: [
|
3861
|
+
# {
|
3862
|
+
# source_identifier: "String", # required
|
3863
|
+
# source_version: "String", # required
|
3864
|
+
# },
|
3865
|
+
# ],
|
3866
|
+
# source_version: "String",
|
3867
|
+
# artifacts_override: {
|
3868
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
3869
|
+
# location: "String",
|
3870
|
+
# path: "String",
|
3871
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
3872
|
+
# name: "String",
|
3873
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
3874
|
+
# override_artifact_name: false,
|
3875
|
+
# encryption_disabled: false,
|
3876
|
+
# artifact_identifier: "String",
|
3877
|
+
# },
|
3878
|
+
# secondary_artifacts_override: [
|
3879
|
+
# {
|
3880
|
+
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
3881
|
+
# location: "String",
|
3882
|
+
# path: "String",
|
3883
|
+
# namespace_type: "NONE", # accepts NONE, BUILD_ID
|
3884
|
+
# name: "String",
|
3885
|
+
# packaging: "NONE", # accepts NONE, ZIP
|
3886
|
+
# override_artifact_name: false,
|
3887
|
+
# encryption_disabled: false,
|
3888
|
+
# artifact_identifier: "String",
|
3889
|
+
# },
|
3890
|
+
# ],
|
3891
|
+
# environment_variables_override: [
|
3892
|
+
# {
|
3893
|
+
# name: "NonEmptyString", # required
|
3894
|
+
# value: "String", # required
|
3895
|
+
# type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE, SECRETS_MANAGER
|
3896
|
+
# },
|
3897
|
+
# ],
|
3898
|
+
# source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
|
3899
|
+
# source_location_override: "String",
|
3900
|
+
# source_auth_override: {
|
3901
|
+
# type: "OAUTH", # required, accepts OAUTH
|
3902
|
+
# resource: "String",
|
3903
|
+
# },
|
3904
|
+
# git_clone_depth_override: 1,
|
3905
|
+
# git_submodules_config_override: {
|
3906
|
+
# fetch_submodules: false, # required
|
3907
|
+
# },
|
3908
|
+
# buildspec_override: "String",
|
3909
|
+
# insecure_ssl_override: false,
|
3910
|
+
# report_build_batch_status_override: false,
|
3911
|
+
# environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
|
3912
|
+
# image_override: "NonEmptyString",
|
3913
|
+
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
|
3914
|
+
# certificate_override: "String",
|
3915
|
+
# cache_override: {
|
3916
|
+
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
3917
|
+
# location: "String",
|
3918
|
+
# modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
|
3919
|
+
# },
|
3920
|
+
# service_role_override: "NonEmptyString",
|
3921
|
+
# privileged_mode_override: false,
|
3922
|
+
# build_timeout_in_minutes_override: 1,
|
3923
|
+
# queued_timeout_in_minutes_override: 1,
|
3924
|
+
# encryption_key_override: "NonEmptyString",
|
3925
|
+
# idempotency_token: "String",
|
3926
|
+
# logs_config_override: {
|
3927
|
+
# cloud_watch_logs: {
|
3928
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3929
|
+
# group_name: "String",
|
3930
|
+
# stream_name: "String",
|
3931
|
+
# },
|
3932
|
+
# s3_logs: {
|
3933
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3934
|
+
# location: "String",
|
3935
|
+
# encryption_disabled: false,
|
3936
|
+
# },
|
3937
|
+
# },
|
3938
|
+
# registry_credential_override: {
|
3939
|
+
# credential: "NonEmptyString", # required
|
3940
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
3941
|
+
# },
|
3942
|
+
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
3943
|
+
# build_batch_config_override: {
|
3944
|
+
# service_role: "NonEmptyString",
|
3945
|
+
# combine_artifacts: false,
|
3946
|
+
# restrictions: {
|
3947
|
+
# maximum_builds_allowed: 1,
|
3948
|
+
# compute_types_allowed: ["NonEmptyString"],
|
3949
|
+
# },
|
3950
|
+
# timeout_in_mins: 1,
|
3951
|
+
# },
|
3952
|
+
# })
|
3953
|
+
#
|
3954
|
+
# @example Response structure
|
3955
|
+
#
|
3956
|
+
# resp.build_batch.id #=> String
|
3957
|
+
# resp.build_batch.arn #=> String
|
3958
|
+
# resp.build_batch.start_time #=> Time
|
3959
|
+
# resp.build_batch.end_time #=> Time
|
3960
|
+
# resp.build_batch.current_phase #=> String
|
3961
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3962
|
+
# resp.build_batch.source_version #=> String
|
3963
|
+
# resp.build_batch.resolved_source_version #=> String
|
3964
|
+
# resp.build_batch.project_name #=> String
|
3965
|
+
# resp.build_batch.phases #=> Array
|
3966
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
3967
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
3968
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
3969
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
3970
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
3971
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
3972
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
3973
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
3974
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3975
|
+
# resp.build_batch.source.location #=> String
|
3976
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
3977
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
3978
|
+
# resp.build_batch.source.buildspec #=> String
|
3979
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
3980
|
+
# resp.build_batch.source.auth.resource #=> String
|
3981
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
3982
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
3983
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
3984
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
3985
|
+
# resp.build_batch.source.source_identifier #=> String
|
3986
|
+
# resp.build_batch.secondary_sources #=> Array
|
3987
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
3988
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
3989
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
3990
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
3991
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
3992
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
3993
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
3994
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
3995
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
3996
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
3997
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
3998
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
3999
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
4000
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
4001
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
4002
|
+
# resp.build_batch.artifacts.location #=> String
|
4003
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
4004
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
4005
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4006
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4007
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4008
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
4009
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4010
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
4011
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
4012
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4013
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4014
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4015
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4016
|
+
# resp.build_batch.cache.location #=> String
|
4017
|
+
# resp.build_batch.cache.modes #=> Array
|
4018
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4019
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
4020
|
+
# resp.build_batch.environment.image #=> String
|
4021
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
4022
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
4023
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4024
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
4025
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
4026
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
4027
|
+
# resp.build_batch.environment.certificate #=> String
|
4028
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
4029
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
4030
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
4031
|
+
# resp.build_batch.service_role #=> String
|
4032
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4033
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
4034
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
4035
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4036
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
4037
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4038
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4039
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4040
|
+
# resp.build_batch.complete #=> Boolean
|
4041
|
+
# resp.build_batch.initiator #=> String
|
4042
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
4043
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
4044
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
4045
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
4046
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
4047
|
+
# resp.build_batch.encryption_key #=> String
|
4048
|
+
# resp.build_batch.build_batch_number #=> Integer
|
4049
|
+
# resp.build_batch.file_system_locations #=> Array
|
4050
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
4051
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
4052
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
4053
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
4054
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
4055
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
4056
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
4057
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4058
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4059
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4060
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4061
|
+
# resp.build_batch.build_groups #=> Array
|
4062
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
4063
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
4064
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
4065
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
4066
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
4067
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
4068
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4069
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4070
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
4071
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
4072
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
4073
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4074
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
4075
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
4076
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
4077
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
4078
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
4079
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4080
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4081
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
4082
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
4083
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
4084
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4085
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
4086
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
4087
|
+
#
|
4088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch AWS API Documentation
|
4089
|
+
#
|
4090
|
+
# @overload start_build_batch(params = {})
|
4091
|
+
# @param [Hash] params ({})
|
4092
|
+
def start_build_batch(params = {}, options = {})
|
4093
|
+
req = build_request(:start_build_batch, params)
|
4094
|
+
req.send_request(options)
|
4095
|
+
end
|
4096
|
+
|
2862
4097
|
# Attempts to stop running a build.
|
2863
4098
|
#
|
2864
4099
|
# @option params [required, String] :id
|
@@ -2990,6 +4225,7 @@ module Aws::CodeBuild
|
|
2990
4225
|
# resp.build.file_system_locations[0].mount_options #=> String
|
2991
4226
|
# resp.build.debug_session.session_enabled #=> Boolean
|
2992
4227
|
# resp.build.debug_session.session_target #=> String
|
4228
|
+
# resp.build.build_batch_arn #=> String
|
2993
4229
|
#
|
2994
4230
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
|
2995
4231
|
#
|
@@ -3000,6 +4236,164 @@ module Aws::CodeBuild
|
|
3000
4236
|
req.send_request(options)
|
3001
4237
|
end
|
3002
4238
|
|
4239
|
+
# Stops a running batch build.
|
4240
|
+
#
|
4241
|
+
# @option params [required, String] :id
|
4242
|
+
# The identifier of the batch build to stop.
|
4243
|
+
#
|
4244
|
+
# @return [Types::StopBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4245
|
+
#
|
4246
|
+
# * {Types::StopBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
|
4247
|
+
#
|
4248
|
+
# @example Request syntax with placeholder values
|
4249
|
+
#
|
4250
|
+
# resp = client.stop_build_batch({
|
4251
|
+
# id: "NonEmptyString", # required
|
4252
|
+
# })
|
4253
|
+
#
|
4254
|
+
# @example Response structure
|
4255
|
+
#
|
4256
|
+
# resp.build_batch.id #=> String
|
4257
|
+
# resp.build_batch.arn #=> String
|
4258
|
+
# resp.build_batch.start_time #=> Time
|
4259
|
+
# resp.build_batch.end_time #=> Time
|
4260
|
+
# resp.build_batch.current_phase #=> String
|
4261
|
+
# resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4262
|
+
# resp.build_batch.source_version #=> String
|
4263
|
+
# resp.build_batch.resolved_source_version #=> String
|
4264
|
+
# resp.build_batch.project_name #=> String
|
4265
|
+
# resp.build_batch.phases #=> Array
|
4266
|
+
# resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
|
4267
|
+
# resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4268
|
+
# resp.build_batch.phases[0].start_time #=> Time
|
4269
|
+
# resp.build_batch.phases[0].end_time #=> Time
|
4270
|
+
# resp.build_batch.phases[0].duration_in_seconds #=> Integer
|
4271
|
+
# resp.build_batch.phases[0].contexts #=> Array
|
4272
|
+
# resp.build_batch.phases[0].contexts[0].status_code #=> String
|
4273
|
+
# resp.build_batch.phases[0].contexts[0].message #=> String
|
4274
|
+
# resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
4275
|
+
# resp.build_batch.source.location #=> String
|
4276
|
+
# resp.build_batch.source.git_clone_depth #=> Integer
|
4277
|
+
# resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
|
4278
|
+
# resp.build_batch.source.buildspec #=> String
|
4279
|
+
# resp.build_batch.source.auth.type #=> String, one of "OAUTH"
|
4280
|
+
# resp.build_batch.source.auth.resource #=> String
|
4281
|
+
# resp.build_batch.source.report_build_status #=> Boolean
|
4282
|
+
# resp.build_batch.source.build_status_config.context #=> String
|
4283
|
+
# resp.build_batch.source.build_status_config.target_url #=> String
|
4284
|
+
# resp.build_batch.source.insecure_ssl #=> Boolean
|
4285
|
+
# resp.build_batch.source.source_identifier #=> String
|
4286
|
+
# resp.build_batch.secondary_sources #=> Array
|
4287
|
+
# resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
|
4288
|
+
# resp.build_batch.secondary_sources[0].location #=> String
|
4289
|
+
# resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
|
4290
|
+
# resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
|
4291
|
+
# resp.build_batch.secondary_sources[0].buildspec #=> String
|
4292
|
+
# resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
|
4293
|
+
# resp.build_batch.secondary_sources[0].auth.resource #=> String
|
4294
|
+
# resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
|
4295
|
+
# resp.build_batch.secondary_sources[0].build_status_config.context #=> String
|
4296
|
+
# resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
|
4297
|
+
# resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
|
4298
|
+
# resp.build_batch.secondary_sources[0].source_identifier #=> String
|
4299
|
+
# resp.build_batch.secondary_source_versions #=> Array
|
4300
|
+
# resp.build_batch.secondary_source_versions[0].source_identifier #=> String
|
4301
|
+
# resp.build_batch.secondary_source_versions[0].source_version #=> String
|
4302
|
+
# resp.build_batch.artifacts.location #=> String
|
4303
|
+
# resp.build_batch.artifacts.sha256sum #=> String
|
4304
|
+
# resp.build_batch.artifacts.md5sum #=> String
|
4305
|
+
# resp.build_batch.artifacts.override_artifact_name #=> Boolean
|
4306
|
+
# resp.build_batch.artifacts.encryption_disabled #=> Boolean
|
4307
|
+
# resp.build_batch.artifacts.artifact_identifier #=> String
|
4308
|
+
# resp.build_batch.secondary_artifacts #=> Array
|
4309
|
+
# resp.build_batch.secondary_artifacts[0].location #=> String
|
4310
|
+
# resp.build_batch.secondary_artifacts[0].sha256sum #=> String
|
4311
|
+
# resp.build_batch.secondary_artifacts[0].md5sum #=> String
|
4312
|
+
# resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
|
4313
|
+
# resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
|
4314
|
+
# resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
|
4315
|
+
# resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
|
4316
|
+
# resp.build_batch.cache.location #=> String
|
4317
|
+
# resp.build_batch.cache.modes #=> Array
|
4318
|
+
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4319
|
+
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
|
4320
|
+
# resp.build_batch.environment.image #=> String
|
4321
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
|
4322
|
+
# resp.build_batch.environment.environment_variables #=> Array
|
4323
|
+
# resp.build_batch.environment.environment_variables[0].name #=> String
|
4324
|
+
# resp.build_batch.environment.environment_variables[0].value #=> String
|
4325
|
+
# resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
|
4326
|
+
# resp.build_batch.environment.privileged_mode #=> Boolean
|
4327
|
+
# resp.build_batch.environment.certificate #=> String
|
4328
|
+
# resp.build_batch.environment.registry_credential.credential #=> String
|
4329
|
+
# resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
4330
|
+
# resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
4331
|
+
# resp.build_batch.service_role #=> String
|
4332
|
+
# resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4333
|
+
# resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
|
4334
|
+
# resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
|
4335
|
+
# resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
4336
|
+
# resp.build_batch.log_config.s3_logs.location #=> String
|
4337
|
+
# resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
|
4338
|
+
# resp.build_batch.build_timeout_in_minutes #=> Integer
|
4339
|
+
# resp.build_batch.queued_timeout_in_minutes #=> Integer
|
4340
|
+
# resp.build_batch.complete #=> Boolean
|
4341
|
+
# resp.build_batch.initiator #=> String
|
4342
|
+
# resp.build_batch.vpc_config.vpc_id #=> String
|
4343
|
+
# resp.build_batch.vpc_config.subnets #=> Array
|
4344
|
+
# resp.build_batch.vpc_config.subnets[0] #=> String
|
4345
|
+
# resp.build_batch.vpc_config.security_group_ids #=> Array
|
4346
|
+
# resp.build_batch.vpc_config.security_group_ids[0] #=> String
|
4347
|
+
# resp.build_batch.encryption_key #=> String
|
4348
|
+
# resp.build_batch.build_batch_number #=> Integer
|
4349
|
+
# resp.build_batch.file_system_locations #=> Array
|
4350
|
+
# resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
|
4351
|
+
# resp.build_batch.file_system_locations[0].location #=> String
|
4352
|
+
# resp.build_batch.file_system_locations[0].mount_point #=> String
|
4353
|
+
# resp.build_batch.file_system_locations[0].identifier #=> String
|
4354
|
+
# resp.build_batch.file_system_locations[0].mount_options #=> String
|
4355
|
+
# resp.build_batch.build_batch_config.service_role #=> String
|
4356
|
+
# resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
|
4357
|
+
# resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4358
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4359
|
+
# resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4360
|
+
# resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
|
4361
|
+
# resp.build_batch.build_groups #=> Array
|
4362
|
+
# resp.build_batch.build_groups[0].identifier #=> String
|
4363
|
+
# resp.build_batch.build_groups[0].depends_on #=> Array
|
4364
|
+
# resp.build_batch.build_groups[0].depends_on[0] #=> String
|
4365
|
+
# resp.build_batch.build_groups[0].ignore_failure #=> Boolean
|
4366
|
+
# resp.build_batch.build_groups[0].current_build_summary.arn #=> String
|
4367
|
+
# resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
|
4368
|
+
# resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4369
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4370
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
|
4371
|
+
# resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
|
4372
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
|
4373
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4374
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
|
4375
|
+
# resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
|
4376
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
|
4377
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
|
4378
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
|
4379
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
|
4380
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4381
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
|
4382
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
|
4383
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
|
4384
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
4385
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
|
4386
|
+
# resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
|
4387
|
+
#
|
4388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch AWS API Documentation
|
4389
|
+
#
|
4390
|
+
# @overload stop_build_batch(params = {})
|
4391
|
+
# @param [Hash] params ({})
|
4392
|
+
def stop_build_batch(params = {}, options = {})
|
4393
|
+
req = build_request(:stop_build_batch, params)
|
4394
|
+
req.send_request(options)
|
4395
|
+
end
|
4396
|
+
|
3003
4397
|
# Changes the settings of a build project.
|
3004
4398
|
#
|
3005
4399
|
# @option params [required, String] :name
|
@@ -3121,6 +4515,9 @@ module Aws::CodeBuild
|
|
3121
4515
|
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
3122
4516
|
# a file system created using Amazon Elastic File System.
|
3123
4517
|
#
|
4518
|
+
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config
|
4519
|
+
# Contains configuration information about a batch build project.
|
4520
|
+
#
|
3124
4521
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3125
4522
|
#
|
3126
4523
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -3264,6 +4661,15 @@ module Aws::CodeBuild
|
|
3264
4661
|
# mount_options: "String",
|
3265
4662
|
# },
|
3266
4663
|
# ],
|
4664
|
+
# build_batch_config: {
|
4665
|
+
# service_role: "NonEmptyString",
|
4666
|
+
# combine_artifacts: false,
|
4667
|
+
# restrictions: {
|
4668
|
+
# maximum_builds_allowed: 1,
|
4669
|
+
# compute_types_allowed: ["NonEmptyString"],
|
4670
|
+
# },
|
4671
|
+
# timeout_in_mins: 1,
|
4672
|
+
# },
|
3267
4673
|
# })
|
3268
4674
|
#
|
3269
4675
|
# @example Response structure
|
@@ -3353,6 +4759,7 @@ module Aws::CodeBuild
|
|
3353
4759
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3354
4760
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
3355
4761
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
4762
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
3356
4763
|
# resp.project.webhook.last_modified_secret #=> Time
|
3357
4764
|
# resp.project.vpc_config.vpc_id #=> String
|
3358
4765
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -3373,6 +4780,12 @@ module Aws::CodeBuild
|
|
3373
4780
|
# resp.project.file_system_locations[0].mount_point #=> String
|
3374
4781
|
# resp.project.file_system_locations[0].identifier #=> String
|
3375
4782
|
# resp.project.file_system_locations[0].mount_options #=> String
|
4783
|
+
# resp.project.build_batch_config.service_role #=> String
|
4784
|
+
# resp.project.build_batch_config.combine_artifacts #=> Boolean
|
4785
|
+
# resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
|
4786
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4787
|
+
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4788
|
+
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
3376
4789
|
#
|
3377
4790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
3378
4791
|
#
|
@@ -3432,7 +4845,7 @@ module Aws::CodeBuild
|
|
3432
4845
|
#
|
3433
4846
|
# resp.report_group.arn #=> String
|
3434
4847
|
# resp.report_group.name #=> String
|
3435
|
-
# resp.report_group.type #=> String, one of "TEST"
|
4848
|
+
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
3436
4849
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
3437
4850
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
3438
4851
|
# resp.report_group.export_config.s3_destination.path #=> String
|
@@ -3484,6 +4897,9 @@ module Aws::CodeBuild
|
|
3484
4897
|
# webhook event can trigger a build. A filter group must contain at
|
3485
4898
|
# least one `EVENT` `WebhookFilter`.
|
3486
4899
|
#
|
4900
|
+
# @option params [String] :build_type
|
4901
|
+
# Specifies the type of build this webhook will trigger.
|
4902
|
+
#
|
3487
4903
|
# @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3488
4904
|
#
|
3489
4905
|
# * {Types::UpdateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -3503,6 +4919,7 @@ module Aws::CodeBuild
|
|
3503
4919
|
# },
|
3504
4920
|
# ],
|
3505
4921
|
# ],
|
4922
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
3506
4923
|
# })
|
3507
4924
|
#
|
3508
4925
|
# @example Response structure
|
@@ -3516,6 +4933,7 @@ module Aws::CodeBuild
|
|
3516
4933
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3517
4934
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
3518
4935
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
4936
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
3519
4937
|
# resp.webhook.last_modified_secret #=> Time
|
3520
4938
|
#
|
3521
4939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
|
@@ -3540,7 +4958,7 @@ module Aws::CodeBuild
|
|
3540
4958
|
params: params,
|
3541
4959
|
config: config)
|
3542
4960
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3543
|
-
context[:gem_version] = '1.
|
4961
|
+
context[:gem_version] = '1.58.0'
|
3544
4962
|
Seahorse::Client::Request.new(handlers, context)
|
3545
4963
|
end
|
3546
4964
|
|