aws-sdk-codebuild 1.55.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d320d5867337f251e07014822199acf6ef4f024da9731324618a11c6dceafa78
4
- data.tar.gz: f374575bd92c10cfd78d5d0c400c8e8bf4bb73e7c382dada8e9cf289bd770d44
3
+ metadata.gz: 5fbb59199b05ea720e033cabda4740b815ad9e424935b0fcf481f7e9b225b783
4
+ data.tar.gz: b4d5a626e4bc125a26c6b32a5d24a2bb35de0f6be54b27d386d500d5af24f845
5
5
  SHA512:
6
- metadata.gz: 1eefdec65501837255580a041653a0e0ad92dba0912af9ee41055e75b70bce3d10e78824523e582b0f77bbe96be0de8e72999fe7e353e5e4b057d8191bc64ab1
7
- data.tar.gz: 25f09254c8ef903b0f0d27b84daa8897d602aea2d6bb192db2d57945110ed1d3da581ce74c8597246b43394d4646438a65e639b03260dd620fb75e5045add072
6
+ metadata.gz: bf529f40e04027d17f96d0646cd2d22f365496231a4db38fceb4085ea6c62357d298ba8be0c96a6f862f0af6cd0d88176cb0b37c67b9092830d48080908c4693
7
+ data.tar.gz: 3bbfd4927a20c6a3fc0c3cfcd3d2bc47c03d50958f4eed6a0a399a93b05900453f2d670874c676a9968a4ff7bb510ee37531d3788e34721b750932ad90f38461
@@ -44,9 +44,9 @@ require_relative 'aws-sdk-codebuild/customizations'
44
44
  #
45
45
  # See {Errors} for more information.
46
46
  #
47
- # @service
47
+ # @!group service
48
48
  module Aws::CodeBuild
49
49
 
50
- GEM_VERSION = '1.55.0'
50
+ GEM_VERSION = '1.60.0'
51
51
 
52
52
  end
@@ -85,13 +85,28 @@ module Aws::CodeBuild
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::CodeBuild
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -355,6 +370,168 @@ module Aws::CodeBuild
355
370
  req.send_request(options)
356
371
  end
357
372
 
373
+ # Retrieves information about one or more batch builds.
374
+ #
375
+ # @option params [required, Array<String>] :ids
376
+ # An array that contains the batch build identifiers to retrieve.
377
+ #
378
+ # @return [Types::BatchGetBuildBatchesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
379
+ #
380
+ # * {Types::BatchGetBuildBatchesOutput#build_batches #build_batches} => Array&lt;Types::BuildBatch&gt;
381
+ # * {Types::BatchGetBuildBatchesOutput#build_batches_not_found #build_batches_not_found} => Array&lt;String&gt;
382
+ #
383
+ # @example Request syntax with placeholder values
384
+ #
385
+ # resp = client.batch_get_build_batches({
386
+ # ids: ["NonEmptyString"], # required
387
+ # })
388
+ #
389
+ # @example Response structure
390
+ #
391
+ # resp.build_batches #=> Array
392
+ # resp.build_batches[0].id #=> String
393
+ # resp.build_batches[0].arn #=> String
394
+ # resp.build_batches[0].start_time #=> Time
395
+ # resp.build_batches[0].end_time #=> Time
396
+ # resp.build_batches[0].current_phase #=> String
397
+ # resp.build_batches[0].build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
398
+ # resp.build_batches[0].source_version #=> String
399
+ # resp.build_batches[0].resolved_source_version #=> String
400
+ # resp.build_batches[0].project_name #=> String
401
+ # resp.build_batches[0].phases #=> Array
402
+ # resp.build_batches[0].phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
403
+ # resp.build_batches[0].phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
404
+ # resp.build_batches[0].phases[0].start_time #=> Time
405
+ # resp.build_batches[0].phases[0].end_time #=> Time
406
+ # resp.build_batches[0].phases[0].duration_in_seconds #=> Integer
407
+ # resp.build_batches[0].phases[0].contexts #=> Array
408
+ # resp.build_batches[0].phases[0].contexts[0].status_code #=> String
409
+ # resp.build_batches[0].phases[0].contexts[0].message #=> String
410
+ # resp.build_batches[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
411
+ # resp.build_batches[0].source.location #=> String
412
+ # resp.build_batches[0].source.git_clone_depth #=> Integer
413
+ # resp.build_batches[0].source.git_submodules_config.fetch_submodules #=> Boolean
414
+ # resp.build_batches[0].source.buildspec #=> String
415
+ # resp.build_batches[0].source.auth.type #=> String, one of "OAUTH"
416
+ # resp.build_batches[0].source.auth.resource #=> String
417
+ # resp.build_batches[0].source.report_build_status #=> Boolean
418
+ # resp.build_batches[0].source.build_status_config.context #=> String
419
+ # resp.build_batches[0].source.build_status_config.target_url #=> String
420
+ # resp.build_batches[0].source.insecure_ssl #=> Boolean
421
+ # resp.build_batches[0].source.source_identifier #=> String
422
+ # resp.build_batches[0].secondary_sources #=> Array
423
+ # resp.build_batches[0].secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
424
+ # resp.build_batches[0].secondary_sources[0].location #=> String
425
+ # resp.build_batches[0].secondary_sources[0].git_clone_depth #=> Integer
426
+ # resp.build_batches[0].secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
427
+ # resp.build_batches[0].secondary_sources[0].buildspec #=> String
428
+ # resp.build_batches[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
429
+ # resp.build_batches[0].secondary_sources[0].auth.resource #=> String
430
+ # resp.build_batches[0].secondary_sources[0].report_build_status #=> Boolean
431
+ # resp.build_batches[0].secondary_sources[0].build_status_config.context #=> String
432
+ # resp.build_batches[0].secondary_sources[0].build_status_config.target_url #=> String
433
+ # resp.build_batches[0].secondary_sources[0].insecure_ssl #=> Boolean
434
+ # resp.build_batches[0].secondary_sources[0].source_identifier #=> String
435
+ # resp.build_batches[0].secondary_source_versions #=> Array
436
+ # resp.build_batches[0].secondary_source_versions[0].source_identifier #=> String
437
+ # resp.build_batches[0].secondary_source_versions[0].source_version #=> String
438
+ # resp.build_batches[0].artifacts.location #=> String
439
+ # resp.build_batches[0].artifacts.sha256sum #=> String
440
+ # resp.build_batches[0].artifacts.md5sum #=> String
441
+ # resp.build_batches[0].artifacts.override_artifact_name #=> Boolean
442
+ # resp.build_batches[0].artifacts.encryption_disabled #=> Boolean
443
+ # resp.build_batches[0].artifacts.artifact_identifier #=> String
444
+ # resp.build_batches[0].secondary_artifacts #=> Array
445
+ # resp.build_batches[0].secondary_artifacts[0].location #=> String
446
+ # resp.build_batches[0].secondary_artifacts[0].sha256sum #=> String
447
+ # resp.build_batches[0].secondary_artifacts[0].md5sum #=> String
448
+ # resp.build_batches[0].secondary_artifacts[0].override_artifact_name #=> Boolean
449
+ # resp.build_batches[0].secondary_artifacts[0].encryption_disabled #=> Boolean
450
+ # resp.build_batches[0].secondary_artifacts[0].artifact_identifier #=> String
451
+ # resp.build_batches[0].cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
452
+ # resp.build_batches[0].cache.location #=> String
453
+ # resp.build_batches[0].cache.modes #=> Array
454
+ # resp.build_batches[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
455
+ # resp.build_batches[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
456
+ # resp.build_batches[0].environment.image #=> String
457
+ # resp.build_batches[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
458
+ # resp.build_batches[0].environment.environment_variables #=> Array
459
+ # resp.build_batches[0].environment.environment_variables[0].name #=> String
460
+ # resp.build_batches[0].environment.environment_variables[0].value #=> String
461
+ # resp.build_batches[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
462
+ # resp.build_batches[0].environment.privileged_mode #=> Boolean
463
+ # resp.build_batches[0].environment.certificate #=> String
464
+ # resp.build_batches[0].environment.registry_credential.credential #=> String
465
+ # resp.build_batches[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
466
+ # resp.build_batches[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
467
+ # resp.build_batches[0].service_role #=> String
468
+ # resp.build_batches[0].log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
469
+ # resp.build_batches[0].log_config.cloud_watch_logs.group_name #=> String
470
+ # resp.build_batches[0].log_config.cloud_watch_logs.stream_name #=> String
471
+ # resp.build_batches[0].log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
472
+ # resp.build_batches[0].log_config.s3_logs.location #=> String
473
+ # resp.build_batches[0].log_config.s3_logs.encryption_disabled #=> Boolean
474
+ # resp.build_batches[0].build_timeout_in_minutes #=> Integer
475
+ # resp.build_batches[0].queued_timeout_in_minutes #=> Integer
476
+ # resp.build_batches[0].complete #=> Boolean
477
+ # resp.build_batches[0].initiator #=> String
478
+ # resp.build_batches[0].vpc_config.vpc_id #=> String
479
+ # resp.build_batches[0].vpc_config.subnets #=> Array
480
+ # resp.build_batches[0].vpc_config.subnets[0] #=> String
481
+ # resp.build_batches[0].vpc_config.security_group_ids #=> Array
482
+ # resp.build_batches[0].vpc_config.security_group_ids[0] #=> String
483
+ # resp.build_batches[0].encryption_key #=> String
484
+ # resp.build_batches[0].build_batch_number #=> Integer
485
+ # resp.build_batches[0].file_system_locations #=> Array
486
+ # resp.build_batches[0].file_system_locations[0].type #=> String, one of "EFS"
487
+ # resp.build_batches[0].file_system_locations[0].location #=> String
488
+ # resp.build_batches[0].file_system_locations[0].mount_point #=> String
489
+ # resp.build_batches[0].file_system_locations[0].identifier #=> String
490
+ # resp.build_batches[0].file_system_locations[0].mount_options #=> String
491
+ # resp.build_batches[0].build_batch_config.service_role #=> String
492
+ # resp.build_batches[0].build_batch_config.combine_artifacts #=> Boolean
493
+ # resp.build_batches[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
494
+ # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed #=> Array
495
+ # resp.build_batches[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
496
+ # resp.build_batches[0].build_batch_config.timeout_in_mins #=> Integer
497
+ # resp.build_batches[0].build_groups #=> Array
498
+ # resp.build_batches[0].build_groups[0].identifier #=> String
499
+ # resp.build_batches[0].build_groups[0].depends_on #=> Array
500
+ # resp.build_batches[0].build_groups[0].depends_on[0] #=> String
501
+ # resp.build_batches[0].build_groups[0].ignore_failure #=> Boolean
502
+ # resp.build_batches[0].build_groups[0].current_build_summary.arn #=> String
503
+ # resp.build_batches[0].build_groups[0].current_build_summary.requested_on #=> Time
504
+ # resp.build_batches[0].build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
505
+ # resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
506
+ # resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.location #=> String
507
+ # resp.build_batches[0].build_groups[0].current_build_summary.primary_artifact.identifier #=> String
508
+ # resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts #=> Array
509
+ # resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
510
+ # resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
511
+ # resp.build_batches[0].build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
512
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list #=> Array
513
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].arn #=> String
514
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].requested_on #=> Time
515
+ # 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"
516
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
517
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
518
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
519
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
520
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
521
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
522
+ # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
523
+ # resp.build_batches_not_found #=> Array
524
+ # resp.build_batches_not_found[0] #=> String
525
+ #
526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildBatches AWS API Documentation
527
+ #
528
+ # @overload batch_get_build_batches(params = {})
529
+ # @param [Hash] params ({})
530
+ def batch_get_build_batches(params = {}, options = {})
531
+ req = build_request(:batch_get_build_batches, params)
532
+ req.send_request(options)
533
+ end
534
+
358
535
  # Gets information about one or more builds.
359
536
  #
360
537
  # @option params [required, Array<String>] :ids
@@ -691,7 +868,7 @@ module Aws::CodeBuild
691
868
  # resp.builds[0].cache.location #=> String
692
869
  # resp.builds[0].cache.modes #=> Array
693
870
  # resp.builds[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
694
- # resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
871
+ # resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
695
872
  # resp.builds[0].environment.image #=> String
696
873
  # resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
697
874
  # resp.builds[0].environment.environment_variables #=> Array
@@ -739,6 +916,9 @@ module Aws::CodeBuild
739
916
  # resp.builds[0].file_system_locations[0].mount_point #=> String
740
917
  # resp.builds[0].file_system_locations[0].identifier #=> String
741
918
  # resp.builds[0].file_system_locations[0].mount_options #=> String
919
+ # resp.builds[0].debug_session.session_enabled #=> Boolean
920
+ # resp.builds[0].debug_session.session_target #=> String
921
+ # resp.builds[0].build_batch_arn #=> String
742
922
  # resp.builds_not_found #=> Array
743
923
  # resp.builds_not_found[0] #=> String
744
924
  #
@@ -827,7 +1007,7 @@ module Aws::CodeBuild
827
1007
  # resp.projects[0].cache.location #=> String
828
1008
  # resp.projects[0].cache.modes #=> Array
829
1009
  # resp.projects[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
830
- # resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
1010
+ # resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
831
1011
  # resp.projects[0].environment.image #=> String
832
1012
  # resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
833
1013
  # resp.projects[0].environment.environment_variables #=> Array
@@ -857,6 +1037,7 @@ module Aws::CodeBuild
857
1037
  # resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
858
1038
  # resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
859
1039
  # resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
1040
+ # resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
860
1041
  # resp.projects[0].webhook.last_modified_secret #=> Time
861
1042
  # resp.projects[0].vpc_config.vpc_id #=> String
862
1043
  # resp.projects[0].vpc_config.subnets #=> Array
@@ -877,6 +1058,12 @@ module Aws::CodeBuild
877
1058
  # resp.projects[0].file_system_locations[0].mount_point #=> String
878
1059
  # resp.projects[0].file_system_locations[0].identifier #=> String
879
1060
  # resp.projects[0].file_system_locations[0].mount_options #=> String
1061
+ # resp.projects[0].build_batch_config.service_role #=> String
1062
+ # resp.projects[0].build_batch_config.combine_artifacts #=> Boolean
1063
+ # resp.projects[0].build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1064
+ # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
1065
+ # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
1066
+ # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
880
1067
  # resp.projects_not_found #=> Array
881
1068
  # resp.projects_not_found[0] #=> String
882
1069
  #
@@ -911,7 +1098,7 @@ module Aws::CodeBuild
911
1098
  # resp.report_groups #=> Array
912
1099
  # resp.report_groups[0].arn #=> String
913
1100
  # resp.report_groups[0].name #=> String
914
- # resp.report_groups[0].type #=> String, one of "TEST"
1101
+ # resp.report_groups[0].type #=> String, one of "TEST", "CODE_COVERAGE"
915
1102
  # resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
916
1103
  # resp.report_groups[0].export_config.s3_destination.bucket #=> String
917
1104
  # resp.report_groups[0].export_config.s3_destination.path #=> String
@@ -955,7 +1142,7 @@ module Aws::CodeBuild
955
1142
  #
956
1143
  # resp.reports #=> Array
957
1144
  # resp.reports[0].arn #=> String
958
- # resp.reports[0].type #=> String, one of "TEST"
1145
+ # resp.reports[0].type #=> String, one of "TEST", "CODE_COVERAGE"
959
1146
  # resp.reports[0].name #=> String
960
1147
  # resp.reports[0].report_group_arn #=> String
961
1148
  # resp.reports[0].execution_id #=> String
@@ -973,6 +1160,12 @@ module Aws::CodeBuild
973
1160
  # resp.reports[0].test_summary.status_counts #=> Hash
974
1161
  # resp.reports[0].test_summary.status_counts["String"] #=> Integer
975
1162
  # resp.reports[0].test_summary.duration_in_nano_seconds #=> Integer
1163
+ # resp.reports[0].code_coverage_summary.line_coverage_percentage #=> Float
1164
+ # resp.reports[0].code_coverage_summary.lines_covered #=> Integer
1165
+ # resp.reports[0].code_coverage_summary.lines_missed #=> Integer
1166
+ # resp.reports[0].code_coverage_summary.branch_coverage_percentage #=> Float
1167
+ # resp.reports[0].code_coverage_summary.branches_covered #=> Integer
1168
+ # resp.reports[0].code_coverage_summary.branches_missed #=> Integer
976
1169
  # resp.reports_not_found #=> Array
977
1170
  # resp.reports_not_found[0] #=> String
978
1171
  #
@@ -1074,7 +1267,8 @@ module Aws::CodeBuild
1074
1267
  # </note>
1075
1268
  #
1076
1269
  # You can specify either the Amazon Resource Name (ARN) of the CMK or,
1077
- # if available, the CMK's alias (using the format `alias/alias-name `).
1270
+ # if available, the CMK's alias (using the format
1271
+ # `alias/<alias-name>`).
1078
1272
  #
1079
1273
  # @option params [Array<Types::Tag>] :tags
1080
1274
  # A list of tag key and value pairs associated with this build project.
@@ -1100,6 +1294,10 @@ module Aws::CodeBuild
1100
1294
  # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
1101
1295
  # a file system created using Amazon Elastic File System.
1102
1296
  #
1297
+ # @option params [Types::ProjectBuildBatchConfig] :build_batch_config
1298
+ # A ProjectBuildBatchConfig object that defines the batch build options
1299
+ # for the project.
1300
+ #
1103
1301
  # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1104
1302
  #
1105
1303
  # * {Types::CreateProjectOutput#project #project} => Types::Project
@@ -1188,7 +1386,7 @@ module Aws::CodeBuild
1188
1386
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
1189
1387
  # },
1190
1388
  # environment: { # required
1191
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
1389
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
1192
1390
  # image: "NonEmptyString", # required
1193
1391
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
1194
1392
  # environment_variables: [
@@ -1243,6 +1441,15 @@ module Aws::CodeBuild
1243
1441
  # mount_options: "String",
1244
1442
  # },
1245
1443
  # ],
1444
+ # build_batch_config: {
1445
+ # service_role: "NonEmptyString",
1446
+ # combine_artifacts: false,
1447
+ # restrictions: {
1448
+ # maximum_builds_allowed: 1,
1449
+ # compute_types_allowed: ["NonEmptyString"],
1450
+ # },
1451
+ # timeout_in_mins: 1,
1452
+ # },
1246
1453
  # })
1247
1454
  #
1248
1455
  # @example Response structure
@@ -1302,7 +1509,7 @@ module Aws::CodeBuild
1302
1509
  # resp.project.cache.location #=> String
1303
1510
  # resp.project.cache.modes #=> Array
1304
1511
  # resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
1305
- # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
1512
+ # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
1306
1513
  # resp.project.environment.image #=> String
1307
1514
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
1308
1515
  # resp.project.environment.environment_variables #=> Array
@@ -1332,6 +1539,7 @@ module Aws::CodeBuild
1332
1539
  # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
1333
1540
  # resp.project.webhook.filter_groups[0][0].pattern #=> String
1334
1541
  # resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
1542
+ # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
1335
1543
  # resp.project.webhook.last_modified_secret #=> Time
1336
1544
  # resp.project.vpc_config.vpc_id #=> String
1337
1545
  # resp.project.vpc_config.subnets #=> Array
@@ -1352,6 +1560,12 @@ module Aws::CodeBuild
1352
1560
  # resp.project.file_system_locations[0].mount_point #=> String
1353
1561
  # resp.project.file_system_locations[0].identifier #=> String
1354
1562
  # resp.project.file_system_locations[0].mount_options #=> String
1563
+ # resp.project.build_batch_config.service_role #=> String
1564
+ # resp.project.build_batch_config.combine_artifacts #=> Boolean
1565
+ # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
1566
+ # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1567
+ # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1568
+ # resp.project.build_batch_config.timeout_in_mins #=> Integer
1355
1569
  #
1356
1570
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
1357
1571
  #
@@ -1389,7 +1603,7 @@ module Aws::CodeBuild
1389
1603
  #
1390
1604
  # resp = client.create_report_group({
1391
1605
  # name: "ReportGroupName", # required
1392
- # type: "TEST", # required, accepts TEST
1606
+ # type: "TEST", # required, accepts TEST, CODE_COVERAGE
1393
1607
  # export_config: { # required
1394
1608
  # export_config_type: "S3", # accepts S3, NO_EXPORT
1395
1609
  # s3_destination: {
@@ -1412,7 +1626,7 @@ module Aws::CodeBuild
1412
1626
  #
1413
1627
  # resp.report_group.arn #=> String
1414
1628
  # resp.report_group.name #=> String
1415
- # resp.report_group.type #=> String, one of "TEST"
1629
+ # resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
1416
1630
  # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
1417
1631
  # resp.report_group.export_config.s3_destination.bucket #=> String
1418
1632
  # resp.report_group.export_config.s3_destination.path #=> String
@@ -1475,6 +1689,9 @@ module Aws::CodeBuild
1475
1689
  # `filterGroups` array must pass. For a filter group to pass, each of
1476
1690
  # its filters must pass.
1477
1691
  #
1692
+ # @option params [String] :build_type
1693
+ # Specifies the type of build this webhook will trigger.
1694
+ #
1478
1695
  # @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1479
1696
  #
1480
1697
  # * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
@@ -1493,6 +1710,7 @@ module Aws::CodeBuild
1493
1710
  # },
1494
1711
  # ],
1495
1712
  # ],
1713
+ # build_type: "BUILD", # accepts BUILD, BUILD_BATCH
1496
1714
  # })
1497
1715
  #
1498
1716
  # @example Response structure
@@ -1506,6 +1724,7 @@ module Aws::CodeBuild
1506
1724
  # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
1507
1725
  # resp.webhook.filter_groups[0][0].pattern #=> String
1508
1726
  # resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
1727
+ # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
1509
1728
  # resp.webhook.last_modified_secret #=> Time
1510
1729
  #
1511
1730
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
@@ -1517,6 +1736,41 @@ module Aws::CodeBuild
1517
1736
  req.send_request(options)
1518
1737
  end
1519
1738
 
1739
+ # Deletes a batch build.
1740
+ #
1741
+ # @option params [required, String] :id
1742
+ # The identifier of the batch build to delete.
1743
+ #
1744
+ # @return [Types::DeleteBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1745
+ #
1746
+ # * {Types::DeleteBuildBatchOutput#status_code #status_code} => String
1747
+ # * {Types::DeleteBuildBatchOutput#builds_deleted #builds_deleted} => Array&lt;String&gt;
1748
+ # * {Types::DeleteBuildBatchOutput#builds_not_deleted #builds_not_deleted} => Array&lt;Types::BuildNotDeleted&gt;
1749
+ #
1750
+ # @example Request syntax with placeholder values
1751
+ #
1752
+ # resp = client.delete_build_batch({
1753
+ # id: "NonEmptyString", # required
1754
+ # })
1755
+ #
1756
+ # @example Response structure
1757
+ #
1758
+ # resp.status_code #=> String
1759
+ # resp.builds_deleted #=> Array
1760
+ # resp.builds_deleted[0] #=> String
1761
+ # resp.builds_not_deleted #=> Array
1762
+ # resp.builds_not_deleted[0].id #=> String
1763
+ # resp.builds_not_deleted[0].status_code #=> String
1764
+ #
1765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch AWS API Documentation
1766
+ #
1767
+ # @overload delete_build_batch(params = {})
1768
+ # @param [Hash] params ({})
1769
+ def delete_build_batch(params = {}, options = {})
1770
+ req = build_request(:delete_build_batch, params)
1771
+ req.send_request(options)
1772
+ end
1773
+
1520
1774
  # Deletes a build project. When you delete a project, its builds are not
1521
1775
  # deleted.
1522
1776
  #
@@ -1670,6 +1924,82 @@ module Aws::CodeBuild
1670
1924
  req.send_request(options)
1671
1925
  end
1672
1926
 
1927
+ # Retrieves one or more code coverage reports.
1928
+ #
1929
+ # @option params [required, String] :report_arn
1930
+ # The ARN of the report for which test cases are returned.
1931
+ #
1932
+ # @option params [String] :next_token
1933
+ # The `nextToken` value returned from a previous call to
1934
+ # `DescribeCodeCoverages`. This specifies the next item to return. To
1935
+ # return the beginning of the list, exclude this parameter.
1936
+ #
1937
+ # @option params [Integer] :max_results
1938
+ # The maximum number of results to return.
1939
+ #
1940
+ # @option params [String] :sort_order
1941
+ # Specifies if the results are sorted in ascending or descending order.
1942
+ #
1943
+ # @option params [String] :sort_by
1944
+ # Specifies how the results are sorted. Possible values are:
1945
+ #
1946
+ # FILE\_PATH
1947
+ #
1948
+ # : The results are sorted by file path.
1949
+ #
1950
+ # LINE\_COVERAGE\_PERCENTAGE
1951
+ #
1952
+ # : The results are sorted by the percentage of lines that are covered.
1953
+ #
1954
+ # @option params [Float] :min_line_coverage_percentage
1955
+ # The minimum line coverage percentage to report.
1956
+ #
1957
+ # @option params [Float] :max_line_coverage_percentage
1958
+ # The maximum line coverage percentage to report.
1959
+ #
1960
+ # @return [Types::DescribeCodeCoveragesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1961
+ #
1962
+ # * {Types::DescribeCodeCoveragesOutput#next_token #next_token} => String
1963
+ # * {Types::DescribeCodeCoveragesOutput#code_coverages #code_coverages} => Array&lt;Types::CodeCoverage&gt;
1964
+ #
1965
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1966
+ #
1967
+ # @example Request syntax with placeholder values
1968
+ #
1969
+ # resp = client.describe_code_coverages({
1970
+ # report_arn: "NonEmptyString", # required
1971
+ # next_token: "String",
1972
+ # max_results: 1,
1973
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1974
+ # sort_by: "LINE_COVERAGE_PERCENTAGE", # accepts LINE_COVERAGE_PERCENTAGE, FILE_PATH
1975
+ # min_line_coverage_percentage: 1.0,
1976
+ # max_line_coverage_percentage: 1.0,
1977
+ # })
1978
+ #
1979
+ # @example Response structure
1980
+ #
1981
+ # resp.next_token #=> String
1982
+ # resp.code_coverages #=> Array
1983
+ # resp.code_coverages[0].id #=> String
1984
+ # resp.code_coverages[0].report_arn #=> String
1985
+ # resp.code_coverages[0].file_path #=> String
1986
+ # resp.code_coverages[0].line_coverage_percentage #=> Float
1987
+ # resp.code_coverages[0].lines_covered #=> Integer
1988
+ # resp.code_coverages[0].lines_missed #=> Integer
1989
+ # resp.code_coverages[0].branch_coverage_percentage #=> Float
1990
+ # resp.code_coverages[0].branches_covered #=> Integer
1991
+ # resp.code_coverages[0].branches_missed #=> Integer
1992
+ # resp.code_coverages[0].expired #=> Time
1993
+ #
1994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeCodeCoverages AWS API Documentation
1995
+ #
1996
+ # @overload describe_code_coverages(params = {})
1997
+ # @param [Hash] params ({})
1998
+ def describe_code_coverages(params = {}, options = {})
1999
+ req = build_request(:describe_code_coverages, params)
2000
+ req.send_request(options)
2001
+ end
2002
+
1673
2003
  # Returns a list of details about test cases for a report.
1674
2004
  #
1675
2005
  # @option params [required, String] :report_arn
@@ -1837,6 +2167,120 @@ module Aws::CodeBuild
1837
2167
  req.send_request(options)
1838
2168
  end
1839
2169
 
2170
+ # Retrieves the identifiers of your build batches in the current region.
2171
+ #
2172
+ # @option params [Types::BuildBatchFilter] :filter
2173
+ # A `BuildBatchFilter` object that specifies the filters for the search.
2174
+ #
2175
+ # @option params [Integer] :max_results
2176
+ # The maximum number of results to return.
2177
+ #
2178
+ # @option params [String] :sort_order
2179
+ # Specifies the sort order of the returned items. Valid values include:
2180
+ #
2181
+ # * `ASCENDING`\: List the batch build identifiers in ascending order by
2182
+ # identifier.
2183
+ #
2184
+ # * `DESCENDING`\: List the batch build identifiers in descending order
2185
+ # by identifier.
2186
+ #
2187
+ # @option params [String] :next_token
2188
+ # The `nextToken` value returned from a previous call to
2189
+ # `ListBuildBatches`. This specifies the next item to return. To return
2190
+ # the beginning of the list, exclude this parameter.
2191
+ #
2192
+ # @return [Types::ListBuildBatchesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2193
+ #
2194
+ # * {Types::ListBuildBatchesOutput#ids #ids} => Array&lt;String&gt;
2195
+ # * {Types::ListBuildBatchesOutput#next_token #next_token} => String
2196
+ #
2197
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2198
+ #
2199
+ # @example Request syntax with placeholder values
2200
+ #
2201
+ # resp = client.list_build_batches({
2202
+ # filter: {
2203
+ # status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
2204
+ # },
2205
+ # max_results: 1,
2206
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
2207
+ # next_token: "String",
2208
+ # })
2209
+ #
2210
+ # @example Response structure
2211
+ #
2212
+ # resp.ids #=> Array
2213
+ # resp.ids[0] #=> String
2214
+ # resp.next_token #=> String
2215
+ #
2216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatches AWS API Documentation
2217
+ #
2218
+ # @overload list_build_batches(params = {})
2219
+ # @param [Hash] params ({})
2220
+ def list_build_batches(params = {}, options = {})
2221
+ req = build_request(:list_build_batches, params)
2222
+ req.send_request(options)
2223
+ end
2224
+
2225
+ # Retrieves the identifiers of the build batches for a specific project.
2226
+ #
2227
+ # @option params [String] :project_name
2228
+ # The name of the project.
2229
+ #
2230
+ # @option params [Types::BuildBatchFilter] :filter
2231
+ # A `BuildBatchFilter` object that specifies the filters for the search.
2232
+ #
2233
+ # @option params [Integer] :max_results
2234
+ # The maximum number of results to return.
2235
+ #
2236
+ # @option params [String] :sort_order
2237
+ # Specifies the sort order of the returned items. Valid values include:
2238
+ #
2239
+ # * `ASCENDING`\: List the batch build identifiers in ascending order by
2240
+ # identifier.
2241
+ #
2242
+ # * `DESCENDING`\: List the batch build identifiers in descending order
2243
+ # by identifier.
2244
+ #
2245
+ # @option params [String] :next_token
2246
+ # The `nextToken` value returned from a previous call to
2247
+ # `ListBuildBatchesForProject`. This specifies the next item to return.
2248
+ # To return the beginning of the list, exclude this parameter.
2249
+ #
2250
+ # @return [Types::ListBuildBatchesForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2251
+ #
2252
+ # * {Types::ListBuildBatchesForProjectOutput#ids #ids} => Array&lt;String&gt;
2253
+ # * {Types::ListBuildBatchesForProjectOutput#next_token #next_token} => String
2254
+ #
2255
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2256
+ #
2257
+ # @example Request syntax with placeholder values
2258
+ #
2259
+ # resp = client.list_build_batches_for_project({
2260
+ # project_name: "NonEmptyString",
2261
+ # filter: {
2262
+ # status: "SUCCEEDED", # accepts SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED
2263
+ # },
2264
+ # max_results: 1,
2265
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
2266
+ # next_token: "String",
2267
+ # })
2268
+ #
2269
+ # @example Response structure
2270
+ #
2271
+ # resp.ids #=> Array
2272
+ # resp.ids[0] #=> String
2273
+ # resp.next_token #=> String
2274
+ #
2275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatchesForProject AWS API Documentation
2276
+ #
2277
+ # @overload list_build_batches_for_project(params = {})
2278
+ # @param [Hash] params ({})
2279
+ def list_build_batches_for_project(params = {}, options = {})
2280
+ req = build_request(:list_build_batches_for_project, params)
2281
+ req.send_request(options)
2282
+ end
2283
+
1840
2284
  # Gets a list of build IDs, with each build ID representing a single
1841
2285
  # build.
1842
2286
  #
@@ -2407,107 +2851,436 @@ module Aws::CodeBuild
2407
2851
  req.send_request(options)
2408
2852
  end
2409
2853
 
2410
- # Starts running a build.
2411
- #
2412
- # @option params [required, String] :project_name
2413
- # The name of the AWS CodeBuild build project to start running a build.
2414
- #
2415
- # @option params [Array<Types::ProjectSource>] :secondary_sources_override
2416
- # An array of `ProjectSource` objects.
2417
- #
2418
- # @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
2419
- # An array of `ProjectSourceVersion` objects that specify one or more
2420
- # versions of the project's secondary sources to be used for this build
2421
- # only.
2422
- #
2423
- # @option params [String] :source_version
2424
- # A version of the build input to be built, for this build only. If not
2425
- # specified, the latest version is used. If specified, must be one of:
2426
- #
2427
- # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
2428
- #
2429
- # * For GitHub: the commit ID, pull request ID, branch name, or tag name
2430
- # that corresponds to the version of the source code you want to
2431
- # build. If a pull request ID is specified, it must use the format
2432
- # `pr/pull-request-ID` (for example `pr/25`). If a branch name is
2433
- # specified, the branch's HEAD commit ID is used. If not specified,
2434
- # the default branch's HEAD commit ID is used.
2435
- #
2436
- # * For Bitbucket: the commit ID, branch name, or tag name that
2437
- # corresponds to the version of the source code you want to build. If
2438
- # a branch name is specified, the branch's HEAD commit ID is used. If
2439
- # not specified, the default branch's HEAD commit ID is used.
2440
- #
2441
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of the
2442
- # object that represents the build input ZIP file to use.
2443
- #
2444
- # If `sourceVersion` is specified at the project level, then this
2445
- # `sourceVersion` (at the build level) takes precedence.
2446
- #
2447
- # For more information, see [Source Version Sample with CodeBuild][1] in
2448
- # the *AWS CodeBuild User Guide*.
2449
- #
2450
- #
2451
- #
2452
- # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
2453
- #
2454
- # @option params [Types::ProjectArtifacts] :artifacts_override
2455
- # Build output artifact settings that override, for this build only, the
2456
- # latest ones already defined in the build project.
2457
- #
2458
- # @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
2459
- # An array of `ProjectArtifacts` objects.
2460
- #
2461
- # @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
2462
- # A set of environment variables that overrides, for this build only,
2463
- # the latest ones already defined in the build project.
2464
- #
2465
- # @option params [String] :source_type_override
2466
- # A source input type, for this build, that overrides the source input
2467
- # defined in the build project.
2468
- #
2469
- # @option params [String] :source_location_override
2470
- # A location that overrides, for this build, the source location for the
2471
- # one defined in the build project.
2472
- #
2473
- # @option params [Types::SourceAuth] :source_auth_override
2474
- # An authorization type for this build that overrides the one defined in
2475
- # the build project. This override applies only if the build project's
2476
- # source is BitBucket or GitHub.
2477
- #
2478
- # @option params [Integer] :git_clone_depth_override
2479
- # The user-defined depth of history, with a minimum value of 0, that
2480
- # overrides, for this build only, any previous depth of history defined
2481
- # in the build project.
2854
+ # Restarts a build.
2482
2855
  #
2483
- # @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
2484
- # Information about the Git submodules configuration for this build of
2485
- # an AWS CodeBuild build project.
2856
+ # @option params [String] :id
2857
+ # Specifies the identifier of the build to restart.
2486
2858
  #
2487
- # @option params [String] :buildspec_override
2488
- # A buildspec file declaration that overrides, for this build only, the
2489
- # latest one already defined in the build project.
2859
+ # @option params [String] :idempotency_token
2860
+ # A unique, case sensitive identifier you provide to ensure the
2861
+ # idempotency of the `RetryBuild` request. The token is included in the
2862
+ # `RetryBuild` request and is valid for five minutes. If you repeat the
2863
+ # `RetryBuild` request with the same token, but change a parameter, AWS
2864
+ # CodeBuild returns a parameter mismatch error.
2490
2865
  #
2491
- # If this value is set, it can be either an inline buildspec definition,
2492
- # the path to an alternate buildspec file relative to the value of the
2493
- # built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
2494
- # S3 bucket. The bucket must be in the same AWS Region as the build
2495
- # project. Specify the buildspec file using its ARN (for example,
2496
- # `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
2497
- # not provided or is set to an empty string, the source code must
2498
- # contain a buildspec file in its root directory. For more information,
2499
- # see [Buildspec File Name and Storage Location][1].
2866
+ # @return [Types::RetryBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2500
2867
  #
2868
+ # * {Types::RetryBuildOutput#build #build} => Types::Build
2501
2869
  #
2870
+ # @example Request syntax with placeholder values
2502
2871
  #
2503
- # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
2872
+ # resp = client.retry_build({
2873
+ # id: "NonEmptyString",
2874
+ # idempotency_token: "String",
2875
+ # })
2504
2876
  #
2505
- # @option params [Boolean] :insecure_ssl_override
2506
- # Enable this flag to override the insecure SSL setting that is
2507
- # specified in the build project. The insecure SSL setting determines
2508
- # whether to ignore SSL warnings while connecting to the project source
2509
- # code. This override applies only if the build's source is GitHub
2510
- # Enterprise.
2877
+ # @example Response structure
2878
+ #
2879
+ # resp.build.id #=> String
2880
+ # resp.build.arn #=> String
2881
+ # resp.build.build_number #=> Integer
2882
+ # resp.build.start_time #=> Time
2883
+ # resp.build.end_time #=> Time
2884
+ # resp.build.current_phase #=> String
2885
+ # resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
2886
+ # resp.build.source_version #=> String
2887
+ # resp.build.resolved_source_version #=> String
2888
+ # resp.build.project_name #=> String
2889
+ # resp.build.phases #=> Array
2890
+ # resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
2891
+ # resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
2892
+ # resp.build.phases[0].start_time #=> Time
2893
+ # resp.build.phases[0].end_time #=> Time
2894
+ # resp.build.phases[0].duration_in_seconds #=> Integer
2895
+ # resp.build.phases[0].contexts #=> Array
2896
+ # resp.build.phases[0].contexts[0].status_code #=> String
2897
+ # resp.build.phases[0].contexts[0].message #=> String
2898
+ # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
2899
+ # resp.build.source.location #=> String
2900
+ # resp.build.source.git_clone_depth #=> Integer
2901
+ # resp.build.source.git_submodules_config.fetch_submodules #=> Boolean
2902
+ # resp.build.source.buildspec #=> String
2903
+ # resp.build.source.auth.type #=> String, one of "OAUTH"
2904
+ # resp.build.source.auth.resource #=> String
2905
+ # resp.build.source.report_build_status #=> Boolean
2906
+ # resp.build.source.build_status_config.context #=> String
2907
+ # resp.build.source.build_status_config.target_url #=> String
2908
+ # resp.build.source.insecure_ssl #=> Boolean
2909
+ # resp.build.source.source_identifier #=> String
2910
+ # resp.build.secondary_sources #=> Array
2911
+ # resp.build.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
2912
+ # resp.build.secondary_sources[0].location #=> String
2913
+ # resp.build.secondary_sources[0].git_clone_depth #=> Integer
2914
+ # resp.build.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
2915
+ # resp.build.secondary_sources[0].buildspec #=> String
2916
+ # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2917
+ # resp.build.secondary_sources[0].auth.resource #=> String
2918
+ # resp.build.secondary_sources[0].report_build_status #=> Boolean
2919
+ # resp.build.secondary_sources[0].build_status_config.context #=> String
2920
+ # resp.build.secondary_sources[0].build_status_config.target_url #=> String
2921
+ # resp.build.secondary_sources[0].insecure_ssl #=> Boolean
2922
+ # resp.build.secondary_sources[0].source_identifier #=> String
2923
+ # resp.build.secondary_source_versions #=> Array
2924
+ # resp.build.secondary_source_versions[0].source_identifier #=> String
2925
+ # resp.build.secondary_source_versions[0].source_version #=> String
2926
+ # resp.build.artifacts.location #=> String
2927
+ # resp.build.artifacts.sha256sum #=> String
2928
+ # resp.build.artifacts.md5sum #=> String
2929
+ # resp.build.artifacts.override_artifact_name #=> Boolean
2930
+ # resp.build.artifacts.encryption_disabled #=> Boolean
2931
+ # resp.build.artifacts.artifact_identifier #=> String
2932
+ # resp.build.secondary_artifacts #=> Array
2933
+ # resp.build.secondary_artifacts[0].location #=> String
2934
+ # resp.build.secondary_artifacts[0].sha256sum #=> String
2935
+ # resp.build.secondary_artifacts[0].md5sum #=> String
2936
+ # resp.build.secondary_artifacts[0].override_artifact_name #=> Boolean
2937
+ # resp.build.secondary_artifacts[0].encryption_disabled #=> Boolean
2938
+ # resp.build.secondary_artifacts[0].artifact_identifier #=> String
2939
+ # resp.build.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
2940
+ # resp.build.cache.location #=> String
2941
+ # resp.build.cache.modes #=> Array
2942
+ # resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
2943
+ # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
2944
+ # resp.build.environment.image #=> String
2945
+ # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
2946
+ # resp.build.environment.environment_variables #=> Array
2947
+ # resp.build.environment.environment_variables[0].name #=> String
2948
+ # resp.build.environment.environment_variables[0].value #=> String
2949
+ # resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
2950
+ # resp.build.environment.privileged_mode #=> Boolean
2951
+ # resp.build.environment.certificate #=> String
2952
+ # resp.build.environment.registry_credential.credential #=> String
2953
+ # resp.build.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
2954
+ # resp.build.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
2955
+ # resp.build.service_role #=> String
2956
+ # resp.build.logs.group_name #=> String
2957
+ # resp.build.logs.stream_name #=> String
2958
+ # resp.build.logs.deep_link #=> String
2959
+ # resp.build.logs.s3_deep_link #=> String
2960
+ # resp.build.logs.cloud_watch_logs_arn #=> String
2961
+ # resp.build.logs.s3_logs_arn #=> String
2962
+ # resp.build.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
2963
+ # resp.build.logs.cloud_watch_logs.group_name #=> String
2964
+ # resp.build.logs.cloud_watch_logs.stream_name #=> String
2965
+ # resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
2966
+ # resp.build.logs.s3_logs.location #=> String
2967
+ # resp.build.logs.s3_logs.encryption_disabled #=> Boolean
2968
+ # resp.build.timeout_in_minutes #=> Integer
2969
+ # resp.build.queued_timeout_in_minutes #=> Integer
2970
+ # resp.build.build_complete #=> Boolean
2971
+ # resp.build.initiator #=> String
2972
+ # resp.build.vpc_config.vpc_id #=> String
2973
+ # resp.build.vpc_config.subnets #=> Array
2974
+ # resp.build.vpc_config.subnets[0] #=> String
2975
+ # resp.build.vpc_config.security_group_ids #=> Array
2976
+ # resp.build.vpc_config.security_group_ids[0] #=> String
2977
+ # resp.build.network_interface.subnet_id #=> String
2978
+ # resp.build.network_interface.network_interface_id #=> String
2979
+ # resp.build.encryption_key #=> String
2980
+ # resp.build.exported_environment_variables #=> Array
2981
+ # resp.build.exported_environment_variables[0].name #=> String
2982
+ # resp.build.exported_environment_variables[0].value #=> String
2983
+ # resp.build.report_arns #=> Array
2984
+ # resp.build.report_arns[0] #=> String
2985
+ # resp.build.file_system_locations #=> Array
2986
+ # resp.build.file_system_locations[0].type #=> String, one of "EFS"
2987
+ # resp.build.file_system_locations[0].location #=> String
2988
+ # resp.build.file_system_locations[0].mount_point #=> String
2989
+ # resp.build.file_system_locations[0].identifier #=> String
2990
+ # resp.build.file_system_locations[0].mount_options #=> String
2991
+ # resp.build.debug_session.session_enabled #=> Boolean
2992
+ # resp.build.debug_session.session_target #=> String
2993
+ # resp.build.build_batch_arn #=> String
2994
+ #
2995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild AWS API Documentation
2996
+ #
2997
+ # @overload retry_build(params = {})
2998
+ # @param [Hash] params ({})
2999
+ def retry_build(params = {}, options = {})
3000
+ req = build_request(:retry_build, params)
3001
+ req.send_request(options)
3002
+ end
3003
+
3004
+ # Restarts a batch build.
3005
+ #
3006
+ # @option params [String] :id
3007
+ # Specifies the identifier of the batch build to restart.
3008
+ #
3009
+ # @option params [String] :idempotency_token
3010
+ # A unique, case sensitive identifier you provide to ensure the
3011
+ # idempotency of the `RetryBuildBatch` request. The token is included in
3012
+ # the `RetryBuildBatch` request and is valid for five minutes. If you
3013
+ # repeat the `RetryBuildBatch` request with the same token, but change a
3014
+ # parameter, AWS CodeBuild returns a parameter mismatch error.
3015
+ #
3016
+ # @option params [String] :retry_type
3017
+ # Specifies the type of retry to perform.
3018
+ #
3019
+ # @return [Types::RetryBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3020
+ #
3021
+ # * {Types::RetryBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
3022
+ #
3023
+ # @example Request syntax with placeholder values
3024
+ #
3025
+ # resp = client.retry_build_batch({
3026
+ # id: "NonEmptyString",
3027
+ # idempotency_token: "String",
3028
+ # retry_type: "RETRY_ALL_BUILDS", # accepts RETRY_ALL_BUILDS, RETRY_FAILED_BUILDS
3029
+ # })
3030
+ #
3031
+ # @example Response structure
3032
+ #
3033
+ # resp.build_batch.id #=> String
3034
+ # resp.build_batch.arn #=> String
3035
+ # resp.build_batch.start_time #=> Time
3036
+ # resp.build_batch.end_time #=> Time
3037
+ # resp.build_batch.current_phase #=> String
3038
+ # resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3039
+ # resp.build_batch.source_version #=> String
3040
+ # resp.build_batch.resolved_source_version #=> String
3041
+ # resp.build_batch.project_name #=> String
3042
+ # resp.build_batch.phases #=> Array
3043
+ # resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
3044
+ # resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3045
+ # resp.build_batch.phases[0].start_time #=> Time
3046
+ # resp.build_batch.phases[0].end_time #=> Time
3047
+ # resp.build_batch.phases[0].duration_in_seconds #=> Integer
3048
+ # resp.build_batch.phases[0].contexts #=> Array
3049
+ # resp.build_batch.phases[0].contexts[0].status_code #=> String
3050
+ # resp.build_batch.phases[0].contexts[0].message #=> String
3051
+ # resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
3052
+ # resp.build_batch.source.location #=> String
3053
+ # resp.build_batch.source.git_clone_depth #=> Integer
3054
+ # resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
3055
+ # resp.build_batch.source.buildspec #=> String
3056
+ # resp.build_batch.source.auth.type #=> String, one of "OAUTH"
3057
+ # resp.build_batch.source.auth.resource #=> String
3058
+ # resp.build_batch.source.report_build_status #=> Boolean
3059
+ # resp.build_batch.source.build_status_config.context #=> String
3060
+ # resp.build_batch.source.build_status_config.target_url #=> String
3061
+ # resp.build_batch.source.insecure_ssl #=> Boolean
3062
+ # resp.build_batch.source.source_identifier #=> String
3063
+ # resp.build_batch.secondary_sources #=> Array
3064
+ # resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
3065
+ # resp.build_batch.secondary_sources[0].location #=> String
3066
+ # resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
3067
+ # resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
3068
+ # resp.build_batch.secondary_sources[0].buildspec #=> String
3069
+ # resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
3070
+ # resp.build_batch.secondary_sources[0].auth.resource #=> String
3071
+ # resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
3072
+ # resp.build_batch.secondary_sources[0].build_status_config.context #=> String
3073
+ # resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
3074
+ # resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
3075
+ # resp.build_batch.secondary_sources[0].source_identifier #=> String
3076
+ # resp.build_batch.secondary_source_versions #=> Array
3077
+ # resp.build_batch.secondary_source_versions[0].source_identifier #=> String
3078
+ # resp.build_batch.secondary_source_versions[0].source_version #=> String
3079
+ # resp.build_batch.artifacts.location #=> String
3080
+ # resp.build_batch.artifacts.sha256sum #=> String
3081
+ # resp.build_batch.artifacts.md5sum #=> String
3082
+ # resp.build_batch.artifacts.override_artifact_name #=> Boolean
3083
+ # resp.build_batch.artifacts.encryption_disabled #=> Boolean
3084
+ # resp.build_batch.artifacts.artifact_identifier #=> String
3085
+ # resp.build_batch.secondary_artifacts #=> Array
3086
+ # resp.build_batch.secondary_artifacts[0].location #=> String
3087
+ # resp.build_batch.secondary_artifacts[0].sha256sum #=> String
3088
+ # resp.build_batch.secondary_artifacts[0].md5sum #=> String
3089
+ # resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
3090
+ # resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
3091
+ # resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
3092
+ # resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
3093
+ # resp.build_batch.cache.location #=> String
3094
+ # resp.build_batch.cache.modes #=> Array
3095
+ # resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
3096
+ # resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
3097
+ # resp.build_batch.environment.image #=> String
3098
+ # resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
3099
+ # resp.build_batch.environment.environment_variables #=> Array
3100
+ # resp.build_batch.environment.environment_variables[0].name #=> String
3101
+ # resp.build_batch.environment.environment_variables[0].value #=> String
3102
+ # resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
3103
+ # resp.build_batch.environment.privileged_mode #=> Boolean
3104
+ # resp.build_batch.environment.certificate #=> String
3105
+ # resp.build_batch.environment.registry_credential.credential #=> String
3106
+ # resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
3107
+ # resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
3108
+ # resp.build_batch.service_role #=> String
3109
+ # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
3110
+ # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
3111
+ # resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
3112
+ # resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
3113
+ # resp.build_batch.log_config.s3_logs.location #=> String
3114
+ # resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
3115
+ # resp.build_batch.build_timeout_in_minutes #=> Integer
3116
+ # resp.build_batch.queued_timeout_in_minutes #=> Integer
3117
+ # resp.build_batch.complete #=> Boolean
3118
+ # resp.build_batch.initiator #=> String
3119
+ # resp.build_batch.vpc_config.vpc_id #=> String
3120
+ # resp.build_batch.vpc_config.subnets #=> Array
3121
+ # resp.build_batch.vpc_config.subnets[0] #=> String
3122
+ # resp.build_batch.vpc_config.security_group_ids #=> Array
3123
+ # resp.build_batch.vpc_config.security_group_ids[0] #=> String
3124
+ # resp.build_batch.encryption_key #=> String
3125
+ # resp.build_batch.build_batch_number #=> Integer
3126
+ # resp.build_batch.file_system_locations #=> Array
3127
+ # resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
3128
+ # resp.build_batch.file_system_locations[0].location #=> String
3129
+ # resp.build_batch.file_system_locations[0].mount_point #=> String
3130
+ # resp.build_batch.file_system_locations[0].identifier #=> String
3131
+ # resp.build_batch.file_system_locations[0].mount_options #=> String
3132
+ # resp.build_batch.build_batch_config.service_role #=> String
3133
+ # resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
3134
+ # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
3135
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
3136
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
3137
+ # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
3138
+ # resp.build_batch.build_groups #=> Array
3139
+ # resp.build_batch.build_groups[0].identifier #=> String
3140
+ # resp.build_batch.build_groups[0].depends_on #=> Array
3141
+ # resp.build_batch.build_groups[0].depends_on[0] #=> String
3142
+ # resp.build_batch.build_groups[0].ignore_failure #=> Boolean
3143
+ # resp.build_batch.build_groups[0].current_build_summary.arn #=> String
3144
+ # resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
3145
+ # resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3146
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
3147
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
3148
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
3149
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
3150
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
3151
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
3152
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
3153
+ # resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
3154
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
3155
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
3156
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3157
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
3158
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
3159
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
3160
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
3161
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
3162
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
3163
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
3164
+ #
3165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch AWS API Documentation
3166
+ #
3167
+ # @overload retry_build_batch(params = {})
3168
+ # @param [Hash] params ({})
3169
+ def retry_build_batch(params = {}, options = {})
3170
+ req = build_request(:retry_build_batch, params)
3171
+ req.send_request(options)
3172
+ end
3173
+
3174
+ # Starts running a build.
3175
+ #
3176
+ # @option params [required, String] :project_name
3177
+ # The name of the AWS CodeBuild build project to start running a build.
3178
+ #
3179
+ # @option params [Array<Types::ProjectSource>] :secondary_sources_override
3180
+ # An array of `ProjectSource` objects.
3181
+ #
3182
+ # @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
3183
+ # An array of `ProjectSourceVersion` objects that specify one or more
3184
+ # versions of the project's secondary sources to be used for this build
3185
+ # only.
3186
+ #
3187
+ # @option params [String] :source_version
3188
+ # The version of the build input to be built, for this build only. If
3189
+ # not specified, the latest version is used. If specified, the contents
3190
+ # depends on the source provider:
3191
+ #
3192
+ # AWS CodeCommit
3193
+ #
3194
+ # : The commit ID, branch, or Git tag to use.
3195
+ #
3196
+ # GitHub
3197
+ #
3198
+ # : The commit ID, pull request ID, branch name, or tag name that
3199
+ # corresponds to the version of the source code you want to build. If
3200
+ # a pull request ID is specified, it must use the format
3201
+ # `pr/pull-request-ID` (for example `pr/25`). If a branch name is
3202
+ # specified, the branch's HEAD commit ID is used. If not specified,
3203
+ # the default branch's HEAD commit ID is used.
3204
+ #
3205
+ # Bitbucket
3206
+ #
3207
+ # : The commit ID, branch name, or tag name that corresponds to the
3208
+ # version of the source code you want to build. If a branch name is
3209
+ # specified, the branch's HEAD commit ID is used. If not specified,
3210
+ # the default branch's HEAD commit ID is used.
3211
+ #
3212
+ # Amazon Simple Storage Service (Amazon S3)
3213
+ #
3214
+ # : The version ID of the object that represents the build input ZIP
3215
+ # file to use.
3216
+ #
3217
+ # If `sourceVersion` is specified at the project level, then this
3218
+ # `sourceVersion` (at the build level) takes precedence.
3219
+ #
3220
+ # For more information, see [Source Version Sample with CodeBuild][1] in
3221
+ # the *AWS CodeBuild User Guide*.
3222
+ #
3223
+ #
3224
+ #
3225
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
3226
+ #
3227
+ # @option params [Types::ProjectArtifacts] :artifacts_override
3228
+ # Build output artifact settings that override, for this build only, the
3229
+ # latest ones already defined in the build project.
3230
+ #
3231
+ # @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
3232
+ # An array of `ProjectArtifacts` objects.
3233
+ #
3234
+ # @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
3235
+ # A set of environment variables that overrides, for this build only,
3236
+ # the latest ones already defined in the build project.
3237
+ #
3238
+ # @option params [String] :source_type_override
3239
+ # A source input type, for this build, that overrides the source input
3240
+ # defined in the build project.
3241
+ #
3242
+ # @option params [String] :source_location_override
3243
+ # A location that overrides, for this build, the source location for the
3244
+ # one defined in the build project.
3245
+ #
3246
+ # @option params [Types::SourceAuth] :source_auth_override
3247
+ # An authorization type for this build that overrides the one defined in
3248
+ # the build project. This override applies only if the build project's
3249
+ # source is BitBucket or GitHub.
3250
+ #
3251
+ # @option params [Integer] :git_clone_depth_override
3252
+ # The user-defined depth of history, with a minimum value of 0, that
3253
+ # overrides, for this build only, any previous depth of history defined
3254
+ # in the build project.
3255
+ #
3256
+ # @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
3257
+ # Information about the Git submodules configuration for this build of
3258
+ # an AWS CodeBuild build project.
3259
+ #
3260
+ # @option params [String] :buildspec_override
3261
+ # A buildspec file declaration that overrides, for this build only, the
3262
+ # latest one already defined in the build project.
3263
+ #
3264
+ # If this value is set, it can be either an inline buildspec definition,
3265
+ # the path to an alternate buildspec file relative to the value of the
3266
+ # built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
3267
+ # S3 bucket. The bucket must be in the same AWS Region as the build
3268
+ # project. Specify the buildspec file using its ARN (for example,
3269
+ # `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
3270
+ # not provided or is set to an empty string, the source code must
3271
+ # contain a buildspec file in its root directory. For more information,
3272
+ # see [Buildspec File Name and Storage Location][1].
3273
+ #
3274
+ #
3275
+ #
3276
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
3277
+ #
3278
+ # @option params [Boolean] :insecure_ssl_override
3279
+ # Enable this flag to override the insecure SSL setting that is
3280
+ # specified in the build project. The insecure SSL setting determines
3281
+ # whether to ignore SSL warnings while connecting to the project source
3282
+ # code. This override applies only if the build's source is GitHub
3283
+ # Enterprise.
2511
3284
  #
2512
3285
  # @option params [Boolean] :report_build_status_override
2513
3286
  # Set to true to report to your source provider the status of a build's
@@ -2572,7 +3345,8 @@ module Aws::CodeBuild
2572
3345
  # </note>
2573
3346
  #
2574
3347
  # You can specify either the Amazon Resource Name (ARN) of the CMK or,
2575
- # if available, the CMK's alias (using the format `alias/alias-name `).
3348
+ # if available, the CMK's alias (using the format
3349
+ # `alias/<alias-name>`).
2576
3350
  #
2577
3351
  # @option params [String] :idempotency_token
2578
3352
  # A unique, case sensitive identifier you provide to ensure the
@@ -2592,16 +3366,28 @@ module Aws::CodeBuild
2592
3366
  # The type of credentials AWS CodeBuild uses to pull images in your
2593
3367
  # build. There are two valid values:
2594
3368
  #
2595
- # * `CODEBUILD` specifies that AWS CodeBuild uses its own credentials.
2596
- # This requires that you modify your ECR repository policy to trust
2597
- # AWS CodeBuild's service principal.
3369
+ # CODEBUILD
3370
+ #
3371
+ # : Specifies that AWS CodeBuild uses its own credentials. This requires
3372
+ # that you modify your ECR repository policy to trust AWS CodeBuild's
3373
+ # service principal.
3374
+ #
3375
+ # SERVICE\_ROLE
2598
3376
  #
2599
- # * `SERVICE_ROLE` specifies that AWS CodeBuild uses your build
2600
- # project's service role.
3377
+ # : Specifies that AWS CodeBuild uses your build project's service
3378
+ # role.
2601
3379
  #
2602
3380
  # When using a cross-account or private registry image, you must use
2603
- # SERVICE\_ROLE credentials. When using an AWS CodeBuild curated image,
2604
- # you must use CODEBUILD credentials.
3381
+ # `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
3382
+ # you must use `CODEBUILD` credentials.
3383
+ #
3384
+ # @option params [Boolean] :debug_session_enabled
3385
+ # Specifies if session debugging is enabled for this build. For more
3386
+ # information, see [Viewing a running build in Session Manager][1].
3387
+ #
3388
+ #
3389
+ #
3390
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
2605
3391
  #
2606
3392
  # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2607
3393
  #
@@ -2688,7 +3474,7 @@ module Aws::CodeBuild
2688
3474
  # context: "String",
2689
3475
  # target_url: "String",
2690
3476
  # },
2691
- # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
3477
+ # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
2692
3478
  # image_override: "NonEmptyString",
2693
3479
  # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
2694
3480
  # certificate_override: "String",
@@ -2720,6 +3506,7 @@ module Aws::CodeBuild
2720
3506
  # credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
2721
3507
  # },
2722
3508
  # image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
3509
+ # debug_session_enabled: false,
2723
3510
  # })
2724
3511
  #
2725
3512
  # @example Response structure
@@ -2788,7 +3575,7 @@ module Aws::CodeBuild
2788
3575
  # resp.build.cache.location #=> String
2789
3576
  # resp.build.cache.modes #=> Array
2790
3577
  # resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
2791
- # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
3578
+ # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
2792
3579
  # resp.build.environment.image #=> String
2793
3580
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
2794
3581
  # resp.build.environment.environment_variables #=> Array
@@ -2836,6 +3623,9 @@ module Aws::CodeBuild
2836
3623
  # resp.build.file_system_locations[0].mount_point #=> String
2837
3624
  # resp.build.file_system_locations[0].identifier #=> String
2838
3625
  # resp.build.file_system_locations[0].mount_options #=> String
3626
+ # resp.build.debug_session.session_enabled #=> Boolean
3627
+ # resp.build.debug_session.session_target #=> String
3628
+ # resp.build.build_batch_arn #=> String
2839
3629
  #
2840
3630
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
2841
3631
  #
@@ -2846,6 +3636,482 @@ module Aws::CodeBuild
2846
3636
  req.send_request(options)
2847
3637
  end
2848
3638
 
3639
+ # Starts a batch build for a project.
3640
+ #
3641
+ # @option params [required, String] :project_name
3642
+ # The name of the project.
3643
+ #
3644
+ # @option params [Array<Types::ProjectSource>] :secondary_sources_override
3645
+ # An array of `ProjectSource` objects that override the secondary
3646
+ # sources defined in the batch build project.
3647
+ #
3648
+ # @option params [Array<Types::ProjectSourceVersion>] :secondary_sources_version_override
3649
+ # An array of `ProjectSourceVersion` objects that override the secondary
3650
+ # source versions in the batch build project.
3651
+ #
3652
+ # @option params [String] :source_version
3653
+ # The version of the batch build input to be built, for this build only.
3654
+ # If not specified, the latest version is used. If specified, the
3655
+ # contents depends on the source provider:
3656
+ #
3657
+ # AWS CodeCommit
3658
+ #
3659
+ # : The commit ID, branch, or Git tag to use.
3660
+ #
3661
+ # GitHub
3662
+ #
3663
+ # : The commit ID, pull request ID, branch name, or tag name that
3664
+ # corresponds to the version of the source code you want to build. If
3665
+ # a pull request ID is specified, it must use the format
3666
+ # `pr/pull-request-ID` (for example `pr/25`). If a branch name is
3667
+ # specified, the branch's HEAD commit ID is used. If not specified,
3668
+ # the default branch's HEAD commit ID is used.
3669
+ #
3670
+ # Bitbucket
3671
+ #
3672
+ # : The commit ID, branch name, or tag name that corresponds to the
3673
+ # version of the source code you want to build. If a branch name is
3674
+ # specified, the branch's HEAD commit ID is used. If not specified,
3675
+ # the default branch's HEAD commit ID is used.
3676
+ #
3677
+ # Amazon Simple Storage Service (Amazon S3)
3678
+ #
3679
+ # : The version ID of the object that represents the build input ZIP
3680
+ # file to use.
3681
+ #
3682
+ # If `sourceVersion` is specified at the project level, then this
3683
+ # `sourceVersion` (at the build level) takes precedence.
3684
+ #
3685
+ # For more information, see [Source Version Sample with CodeBuild][1] in
3686
+ # the *AWS CodeBuild User Guide*.
3687
+ #
3688
+ #
3689
+ #
3690
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
3691
+ #
3692
+ # @option params [Types::ProjectArtifacts] :artifacts_override
3693
+ # An array of `ProjectArtifacts` objects that contains information about
3694
+ # the build output artifact overrides for the build project.
3695
+ #
3696
+ # @option params [Array<Types::ProjectArtifacts>] :secondary_artifacts_override
3697
+ # An array of `ProjectArtifacts` objects that override the secondary
3698
+ # artifacts defined in the batch build project.
3699
+ #
3700
+ # @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
3701
+ # An array of `EnvironmentVariable` objects that override, or add to,
3702
+ # the environment variables defined in the batch build project.
3703
+ #
3704
+ # @option params [String] :source_type_override
3705
+ # The source input type that overrides the source input defined in the
3706
+ # batch build project.
3707
+ #
3708
+ # @option params [String] :source_location_override
3709
+ # A location that overrides, for this batch build, the source location
3710
+ # defined in the batch build project.
3711
+ #
3712
+ # @option params [Types::SourceAuth] :source_auth_override
3713
+ # A `SourceAuth` object that overrides the one defined in the batch
3714
+ # build project. This override applies only if the build project's
3715
+ # source is BitBucket or GitHub.
3716
+ #
3717
+ # @option params [Integer] :git_clone_depth_override
3718
+ # The user-defined depth of history, with a minimum value of 0, that
3719
+ # overrides, for this batch build only, any previous depth of history
3720
+ # defined in the batch build project.
3721
+ #
3722
+ # @option params [Types::GitSubmodulesConfig] :git_submodules_config_override
3723
+ # A `GitSubmodulesConfig` object that overrides the Git submodules
3724
+ # configuration for this batch build.
3725
+ #
3726
+ # @option params [String] :buildspec_override
3727
+ # A buildspec file declaration that overrides, for this build only, the
3728
+ # latest one already defined in the build project.
3729
+ #
3730
+ # If this value is set, it can be either an inline buildspec definition,
3731
+ # the path to an alternate buildspec file relative to the value of the
3732
+ # built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
3733
+ # S3 bucket. The bucket must be in the same AWS Region as the build
3734
+ # project. Specify the buildspec file using its ARN (for example,
3735
+ # `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
3736
+ # not provided or is set to an empty string, the source code must
3737
+ # contain a buildspec file in its root directory. For more information,
3738
+ # see [Buildspec File Name and Storage Location][1].
3739
+ #
3740
+ #
3741
+ #
3742
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
3743
+ #
3744
+ # @option params [Boolean] :insecure_ssl_override
3745
+ # Enable this flag to override the insecure SSL setting that is
3746
+ # specified in the batch build project. The insecure SSL setting
3747
+ # determines whether to ignore SSL warnings while connecting to the
3748
+ # project source code. This override applies only if the build's source
3749
+ # is GitHub Enterprise.
3750
+ #
3751
+ # @option params [Boolean] :report_build_batch_status_override
3752
+ # Set to `true` to report to your source provider the status of a batch
3753
+ # build's start and completion. If you use this option with a source
3754
+ # provider other than GitHub, GitHub Enterprise, or Bitbucket, an
3755
+ # `invalidInputException` is thrown.
3756
+ #
3757
+ # <note markdown="1"> The status of a build triggered by a webhook is always reported to
3758
+ # your source provider.
3759
+ #
3760
+ # </note>
3761
+ #
3762
+ # @option params [String] :environment_type_override
3763
+ # A container type for this batch build that overrides the one specified
3764
+ # in the batch build project.
3765
+ #
3766
+ # @option params [String] :image_override
3767
+ # The name of an image for this batch build that overrides the one
3768
+ # specified in the batch build project.
3769
+ #
3770
+ # @option params [String] :compute_type_override
3771
+ # The name of a compute type for this batch build that overrides the one
3772
+ # specified in the batch build project.
3773
+ #
3774
+ # @option params [String] :certificate_override
3775
+ # The name of a certificate for this batch build that overrides the one
3776
+ # specified in the batch build project.
3777
+ #
3778
+ # @option params [Types::ProjectCache] :cache_override
3779
+ # A `ProjectCache` object that specifies cache overrides.
3780
+ #
3781
+ # @option params [String] :service_role_override
3782
+ # The name of a service role for this batch build that overrides the one
3783
+ # specified in the batch build project.
3784
+ #
3785
+ # @option params [Boolean] :privileged_mode_override
3786
+ # Enable this flag to override privileged mode in the batch build
3787
+ # project.
3788
+ #
3789
+ # @option params [Integer] :build_timeout_in_minutes_override
3790
+ # Overrides the build timeout specified in the batch build project.
3791
+ #
3792
+ # @option params [Integer] :queued_timeout_in_minutes_override
3793
+ # The number of minutes a batch build is allowed to be queued before it
3794
+ # times out.
3795
+ #
3796
+ # @option params [String] :encryption_key_override
3797
+ # The AWS Key Management Service (AWS KMS) customer master key (CMK)
3798
+ # that overrides the one specified in the batch build project. The CMK
3799
+ # key encrypts the build output artifacts.
3800
+ #
3801
+ # <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
3802
+ # artifacts if your service role has permission to that key.
3803
+ #
3804
+ # </note>
3805
+ #
3806
+ # You can specify either the Amazon Resource Name (ARN) of the CMK or,
3807
+ # if available, the CMK's alias (using the format
3808
+ # `alias/<alias-name>`).
3809
+ #
3810
+ # @option params [String] :idempotency_token
3811
+ # A unique, case sensitive identifier you provide to ensure the
3812
+ # idempotency of the `StartBuildBatch` request. The token is included in
3813
+ # the `StartBuildBatch` request and is valid for five minutes. If you
3814
+ # repeat the `StartBuildBatch` request with the same token, but change a
3815
+ # parameter, AWS CodeBuild returns a parameter mismatch error.
3816
+ #
3817
+ # @option params [Types::LogsConfig] :logs_config_override
3818
+ # A `LogsConfig` object that override the log settings defined in the
3819
+ # batch build project.
3820
+ #
3821
+ # @option params [Types::RegistryCredential] :registry_credential_override
3822
+ # A `RegistryCredential` object that overrides credentials for access to
3823
+ # a private registry.
3824
+ #
3825
+ # @option params [String] :image_pull_credentials_type_override
3826
+ # The type of credentials AWS CodeBuild uses to pull images in your
3827
+ # batch build. There are two valid values:
3828
+ #
3829
+ # CODEBUILD
3830
+ #
3831
+ # : Specifies that AWS CodeBuild uses its own credentials. This requires
3832
+ # that you modify your ECR repository policy to trust AWS CodeBuild's
3833
+ # service principal.
3834
+ #
3835
+ # SERVICE\_ROLE
3836
+ #
3837
+ # : Specifies that AWS CodeBuild uses your build project's service
3838
+ # role.
3839
+ #
3840
+ # When using a cross-account or private registry image, you must use
3841
+ # `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated image,
3842
+ # you must use `CODEBUILD` credentials.
3843
+ #
3844
+ # @option params [Types::ProjectBuildBatchConfig] :build_batch_config_override
3845
+ # A `BuildBatchConfigOverride` object that contains batch build
3846
+ # configuration overrides.
3847
+ #
3848
+ # @return [Types::StartBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3849
+ #
3850
+ # * {Types::StartBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
3851
+ #
3852
+ # @example Request syntax with placeholder values
3853
+ #
3854
+ # resp = client.start_build_batch({
3855
+ # project_name: "NonEmptyString", # required
3856
+ # secondary_sources_override: [
3857
+ # {
3858
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
3859
+ # location: "String",
3860
+ # git_clone_depth: 1,
3861
+ # git_submodules_config: {
3862
+ # fetch_submodules: false, # required
3863
+ # },
3864
+ # buildspec: "String",
3865
+ # auth: {
3866
+ # type: "OAUTH", # required, accepts OAUTH
3867
+ # resource: "String",
3868
+ # },
3869
+ # report_build_status: false,
3870
+ # build_status_config: {
3871
+ # context: "String",
3872
+ # target_url: "String",
3873
+ # },
3874
+ # insecure_ssl: false,
3875
+ # source_identifier: "String",
3876
+ # },
3877
+ # ],
3878
+ # secondary_sources_version_override: [
3879
+ # {
3880
+ # source_identifier: "String", # required
3881
+ # source_version: "String", # required
3882
+ # },
3883
+ # ],
3884
+ # source_version: "String",
3885
+ # artifacts_override: {
3886
+ # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
3887
+ # location: "String",
3888
+ # path: "String",
3889
+ # namespace_type: "NONE", # accepts NONE, BUILD_ID
3890
+ # name: "String",
3891
+ # packaging: "NONE", # accepts NONE, ZIP
3892
+ # override_artifact_name: false,
3893
+ # encryption_disabled: false,
3894
+ # artifact_identifier: "String",
3895
+ # },
3896
+ # secondary_artifacts_override: [
3897
+ # {
3898
+ # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
3899
+ # location: "String",
3900
+ # path: "String",
3901
+ # namespace_type: "NONE", # accepts NONE, BUILD_ID
3902
+ # name: "String",
3903
+ # packaging: "NONE", # accepts NONE, ZIP
3904
+ # override_artifact_name: false,
3905
+ # encryption_disabled: false,
3906
+ # artifact_identifier: "String",
3907
+ # },
3908
+ # ],
3909
+ # environment_variables_override: [
3910
+ # {
3911
+ # name: "NonEmptyString", # required
3912
+ # value: "String", # required
3913
+ # type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE, SECRETS_MANAGER
3914
+ # },
3915
+ # ],
3916
+ # source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE, NO_SOURCE
3917
+ # source_location_override: "String",
3918
+ # source_auth_override: {
3919
+ # type: "OAUTH", # required, accepts OAUTH
3920
+ # resource: "String",
3921
+ # },
3922
+ # git_clone_depth_override: 1,
3923
+ # git_submodules_config_override: {
3924
+ # fetch_submodules: false, # required
3925
+ # },
3926
+ # buildspec_override: "String",
3927
+ # insecure_ssl_override: false,
3928
+ # report_build_batch_status_override: false,
3929
+ # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
3930
+ # image_override: "NonEmptyString",
3931
+ # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
3932
+ # certificate_override: "String",
3933
+ # cache_override: {
3934
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
3935
+ # location: "String",
3936
+ # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
3937
+ # },
3938
+ # service_role_override: "NonEmptyString",
3939
+ # privileged_mode_override: false,
3940
+ # build_timeout_in_minutes_override: 1,
3941
+ # queued_timeout_in_minutes_override: 1,
3942
+ # encryption_key_override: "NonEmptyString",
3943
+ # idempotency_token: "String",
3944
+ # logs_config_override: {
3945
+ # cloud_watch_logs: {
3946
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
3947
+ # group_name: "String",
3948
+ # stream_name: "String",
3949
+ # },
3950
+ # s3_logs: {
3951
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
3952
+ # location: "String",
3953
+ # encryption_disabled: false,
3954
+ # },
3955
+ # },
3956
+ # registry_credential_override: {
3957
+ # credential: "NonEmptyString", # required
3958
+ # credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
3959
+ # },
3960
+ # image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
3961
+ # build_batch_config_override: {
3962
+ # service_role: "NonEmptyString",
3963
+ # combine_artifacts: false,
3964
+ # restrictions: {
3965
+ # maximum_builds_allowed: 1,
3966
+ # compute_types_allowed: ["NonEmptyString"],
3967
+ # },
3968
+ # timeout_in_mins: 1,
3969
+ # },
3970
+ # })
3971
+ #
3972
+ # @example Response structure
3973
+ #
3974
+ # resp.build_batch.id #=> String
3975
+ # resp.build_batch.arn #=> String
3976
+ # resp.build_batch.start_time #=> Time
3977
+ # resp.build_batch.end_time #=> Time
3978
+ # resp.build_batch.current_phase #=> String
3979
+ # resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3980
+ # resp.build_batch.source_version #=> String
3981
+ # resp.build_batch.resolved_source_version #=> String
3982
+ # resp.build_batch.project_name #=> String
3983
+ # resp.build_batch.phases #=> Array
3984
+ # resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
3985
+ # resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
3986
+ # resp.build_batch.phases[0].start_time #=> Time
3987
+ # resp.build_batch.phases[0].end_time #=> Time
3988
+ # resp.build_batch.phases[0].duration_in_seconds #=> Integer
3989
+ # resp.build_batch.phases[0].contexts #=> Array
3990
+ # resp.build_batch.phases[0].contexts[0].status_code #=> String
3991
+ # resp.build_batch.phases[0].contexts[0].message #=> String
3992
+ # resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
3993
+ # resp.build_batch.source.location #=> String
3994
+ # resp.build_batch.source.git_clone_depth #=> Integer
3995
+ # resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
3996
+ # resp.build_batch.source.buildspec #=> String
3997
+ # resp.build_batch.source.auth.type #=> String, one of "OAUTH"
3998
+ # resp.build_batch.source.auth.resource #=> String
3999
+ # resp.build_batch.source.report_build_status #=> Boolean
4000
+ # resp.build_batch.source.build_status_config.context #=> String
4001
+ # resp.build_batch.source.build_status_config.target_url #=> String
4002
+ # resp.build_batch.source.insecure_ssl #=> Boolean
4003
+ # resp.build_batch.source.source_identifier #=> String
4004
+ # resp.build_batch.secondary_sources #=> Array
4005
+ # resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
4006
+ # resp.build_batch.secondary_sources[0].location #=> String
4007
+ # resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
4008
+ # resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
4009
+ # resp.build_batch.secondary_sources[0].buildspec #=> String
4010
+ # resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
4011
+ # resp.build_batch.secondary_sources[0].auth.resource #=> String
4012
+ # resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
4013
+ # resp.build_batch.secondary_sources[0].build_status_config.context #=> String
4014
+ # resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
4015
+ # resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
4016
+ # resp.build_batch.secondary_sources[0].source_identifier #=> String
4017
+ # resp.build_batch.secondary_source_versions #=> Array
4018
+ # resp.build_batch.secondary_source_versions[0].source_identifier #=> String
4019
+ # resp.build_batch.secondary_source_versions[0].source_version #=> String
4020
+ # resp.build_batch.artifacts.location #=> String
4021
+ # resp.build_batch.artifacts.sha256sum #=> String
4022
+ # resp.build_batch.artifacts.md5sum #=> String
4023
+ # resp.build_batch.artifacts.override_artifact_name #=> Boolean
4024
+ # resp.build_batch.artifacts.encryption_disabled #=> Boolean
4025
+ # resp.build_batch.artifacts.artifact_identifier #=> String
4026
+ # resp.build_batch.secondary_artifacts #=> Array
4027
+ # resp.build_batch.secondary_artifacts[0].location #=> String
4028
+ # resp.build_batch.secondary_artifacts[0].sha256sum #=> String
4029
+ # resp.build_batch.secondary_artifacts[0].md5sum #=> String
4030
+ # resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
4031
+ # resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
4032
+ # resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
4033
+ # resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
4034
+ # resp.build_batch.cache.location #=> String
4035
+ # resp.build_batch.cache.modes #=> Array
4036
+ # resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
4037
+ # resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
4038
+ # resp.build_batch.environment.image #=> String
4039
+ # resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
4040
+ # resp.build_batch.environment.environment_variables #=> Array
4041
+ # resp.build_batch.environment.environment_variables[0].name #=> String
4042
+ # resp.build_batch.environment.environment_variables[0].value #=> String
4043
+ # resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
4044
+ # resp.build_batch.environment.privileged_mode #=> Boolean
4045
+ # resp.build_batch.environment.certificate #=> String
4046
+ # resp.build_batch.environment.registry_credential.credential #=> String
4047
+ # resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
4048
+ # resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
4049
+ # resp.build_batch.service_role #=> String
4050
+ # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
4051
+ # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
4052
+ # resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
4053
+ # resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
4054
+ # resp.build_batch.log_config.s3_logs.location #=> String
4055
+ # resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
4056
+ # resp.build_batch.build_timeout_in_minutes #=> Integer
4057
+ # resp.build_batch.queued_timeout_in_minutes #=> Integer
4058
+ # resp.build_batch.complete #=> Boolean
4059
+ # resp.build_batch.initiator #=> String
4060
+ # resp.build_batch.vpc_config.vpc_id #=> String
4061
+ # resp.build_batch.vpc_config.subnets #=> Array
4062
+ # resp.build_batch.vpc_config.subnets[0] #=> String
4063
+ # resp.build_batch.vpc_config.security_group_ids #=> Array
4064
+ # resp.build_batch.vpc_config.security_group_ids[0] #=> String
4065
+ # resp.build_batch.encryption_key #=> String
4066
+ # resp.build_batch.build_batch_number #=> Integer
4067
+ # resp.build_batch.file_system_locations #=> Array
4068
+ # resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
4069
+ # resp.build_batch.file_system_locations[0].location #=> String
4070
+ # resp.build_batch.file_system_locations[0].mount_point #=> String
4071
+ # resp.build_batch.file_system_locations[0].identifier #=> String
4072
+ # resp.build_batch.file_system_locations[0].mount_options #=> String
4073
+ # resp.build_batch.build_batch_config.service_role #=> String
4074
+ # resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
4075
+ # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
4076
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4077
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4078
+ # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4079
+ # resp.build_batch.build_groups #=> Array
4080
+ # resp.build_batch.build_groups[0].identifier #=> String
4081
+ # resp.build_batch.build_groups[0].depends_on #=> Array
4082
+ # resp.build_batch.build_groups[0].depends_on[0] #=> String
4083
+ # resp.build_batch.build_groups[0].ignore_failure #=> Boolean
4084
+ # resp.build_batch.build_groups[0].current_build_summary.arn #=> String
4085
+ # resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
4086
+ # resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4087
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4088
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
4089
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
4090
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
4091
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4092
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
4093
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
4094
+ # resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
4095
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
4096
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
4097
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4098
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4099
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
4100
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
4101
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
4102
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4103
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
4104
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
4105
+ #
4106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch AWS API Documentation
4107
+ #
4108
+ # @overload start_build_batch(params = {})
4109
+ # @param [Hash] params ({})
4110
+ def start_build_batch(params = {}, options = {})
4111
+ req = build_request(:start_build_batch, params)
4112
+ req.send_request(options)
4113
+ end
4114
+
2849
4115
  # Attempts to stop running a build.
2850
4116
  #
2851
4117
  # @option params [required, String] :id
@@ -2927,7 +4193,7 @@ module Aws::CodeBuild
2927
4193
  # resp.build.cache.location #=> String
2928
4194
  # resp.build.cache.modes #=> Array
2929
4195
  # resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
2930
- # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
4196
+ # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
2931
4197
  # resp.build.environment.image #=> String
2932
4198
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
2933
4199
  # resp.build.environment.environment_variables #=> Array
@@ -2975,6 +4241,9 @@ module Aws::CodeBuild
2975
4241
  # resp.build.file_system_locations[0].mount_point #=> String
2976
4242
  # resp.build.file_system_locations[0].identifier #=> String
2977
4243
  # resp.build.file_system_locations[0].mount_options #=> String
4244
+ # resp.build.debug_session.session_enabled #=> Boolean
4245
+ # resp.build.debug_session.session_target #=> String
4246
+ # resp.build.build_batch_arn #=> String
2978
4247
  #
2979
4248
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
2980
4249
  #
@@ -2985,6 +4254,164 @@ module Aws::CodeBuild
2985
4254
  req.send_request(options)
2986
4255
  end
2987
4256
 
4257
+ # Stops a running batch build.
4258
+ #
4259
+ # @option params [required, String] :id
4260
+ # The identifier of the batch build to stop.
4261
+ #
4262
+ # @return [Types::StopBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4263
+ #
4264
+ # * {Types::StopBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
4265
+ #
4266
+ # @example Request syntax with placeholder values
4267
+ #
4268
+ # resp = client.stop_build_batch({
4269
+ # id: "NonEmptyString", # required
4270
+ # })
4271
+ #
4272
+ # @example Response structure
4273
+ #
4274
+ # resp.build_batch.id #=> String
4275
+ # resp.build_batch.arn #=> String
4276
+ # resp.build_batch.start_time #=> Time
4277
+ # resp.build_batch.end_time #=> Time
4278
+ # resp.build_batch.current_phase #=> String
4279
+ # resp.build_batch.build_batch_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4280
+ # resp.build_batch.source_version #=> String
4281
+ # resp.build_batch.resolved_source_version #=> String
4282
+ # resp.build_batch.project_name #=> String
4283
+ # resp.build_batch.phases #=> Array
4284
+ # resp.build_batch.phases[0].phase_type #=> String, one of "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED"
4285
+ # resp.build_batch.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4286
+ # resp.build_batch.phases[0].start_time #=> Time
4287
+ # resp.build_batch.phases[0].end_time #=> Time
4288
+ # resp.build_batch.phases[0].duration_in_seconds #=> Integer
4289
+ # resp.build_batch.phases[0].contexts #=> Array
4290
+ # resp.build_batch.phases[0].contexts[0].status_code #=> String
4291
+ # resp.build_batch.phases[0].contexts[0].message #=> String
4292
+ # resp.build_batch.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
4293
+ # resp.build_batch.source.location #=> String
4294
+ # resp.build_batch.source.git_clone_depth #=> Integer
4295
+ # resp.build_batch.source.git_submodules_config.fetch_submodules #=> Boolean
4296
+ # resp.build_batch.source.buildspec #=> String
4297
+ # resp.build_batch.source.auth.type #=> String, one of "OAUTH"
4298
+ # resp.build_batch.source.auth.resource #=> String
4299
+ # resp.build_batch.source.report_build_status #=> Boolean
4300
+ # resp.build_batch.source.build_status_config.context #=> String
4301
+ # resp.build_batch.source.build_status_config.target_url #=> String
4302
+ # resp.build_batch.source.insecure_ssl #=> Boolean
4303
+ # resp.build_batch.source.source_identifier #=> String
4304
+ # resp.build_batch.secondary_sources #=> Array
4305
+ # resp.build_batch.secondary_sources[0].type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE"
4306
+ # resp.build_batch.secondary_sources[0].location #=> String
4307
+ # resp.build_batch.secondary_sources[0].git_clone_depth #=> Integer
4308
+ # resp.build_batch.secondary_sources[0].git_submodules_config.fetch_submodules #=> Boolean
4309
+ # resp.build_batch.secondary_sources[0].buildspec #=> String
4310
+ # resp.build_batch.secondary_sources[0].auth.type #=> String, one of "OAUTH"
4311
+ # resp.build_batch.secondary_sources[0].auth.resource #=> String
4312
+ # resp.build_batch.secondary_sources[0].report_build_status #=> Boolean
4313
+ # resp.build_batch.secondary_sources[0].build_status_config.context #=> String
4314
+ # resp.build_batch.secondary_sources[0].build_status_config.target_url #=> String
4315
+ # resp.build_batch.secondary_sources[0].insecure_ssl #=> Boolean
4316
+ # resp.build_batch.secondary_sources[0].source_identifier #=> String
4317
+ # resp.build_batch.secondary_source_versions #=> Array
4318
+ # resp.build_batch.secondary_source_versions[0].source_identifier #=> String
4319
+ # resp.build_batch.secondary_source_versions[0].source_version #=> String
4320
+ # resp.build_batch.artifacts.location #=> String
4321
+ # resp.build_batch.artifacts.sha256sum #=> String
4322
+ # resp.build_batch.artifacts.md5sum #=> String
4323
+ # resp.build_batch.artifacts.override_artifact_name #=> Boolean
4324
+ # resp.build_batch.artifacts.encryption_disabled #=> Boolean
4325
+ # resp.build_batch.artifacts.artifact_identifier #=> String
4326
+ # resp.build_batch.secondary_artifacts #=> Array
4327
+ # resp.build_batch.secondary_artifacts[0].location #=> String
4328
+ # resp.build_batch.secondary_artifacts[0].sha256sum #=> String
4329
+ # resp.build_batch.secondary_artifacts[0].md5sum #=> String
4330
+ # resp.build_batch.secondary_artifacts[0].override_artifact_name #=> Boolean
4331
+ # resp.build_batch.secondary_artifacts[0].encryption_disabled #=> Boolean
4332
+ # resp.build_batch.secondary_artifacts[0].artifact_identifier #=> String
4333
+ # resp.build_batch.cache.type #=> String, one of "NO_CACHE", "S3", "LOCAL"
4334
+ # resp.build_batch.cache.location #=> String
4335
+ # resp.build_batch.cache.modes #=> Array
4336
+ # resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
4337
+ # resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
4338
+ # resp.build_batch.environment.image #=> String
4339
+ # resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
4340
+ # resp.build_batch.environment.environment_variables #=> Array
4341
+ # resp.build_batch.environment.environment_variables[0].name #=> String
4342
+ # resp.build_batch.environment.environment_variables[0].value #=> String
4343
+ # resp.build_batch.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER"
4344
+ # resp.build_batch.environment.privileged_mode #=> Boolean
4345
+ # resp.build_batch.environment.certificate #=> String
4346
+ # resp.build_batch.environment.registry_credential.credential #=> String
4347
+ # resp.build_batch.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
4348
+ # resp.build_batch.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
4349
+ # resp.build_batch.service_role #=> String
4350
+ # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
4351
+ # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
4352
+ # resp.build_batch.log_config.cloud_watch_logs.stream_name #=> String
4353
+ # resp.build_batch.log_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
4354
+ # resp.build_batch.log_config.s3_logs.location #=> String
4355
+ # resp.build_batch.log_config.s3_logs.encryption_disabled #=> Boolean
4356
+ # resp.build_batch.build_timeout_in_minutes #=> Integer
4357
+ # resp.build_batch.queued_timeout_in_minutes #=> Integer
4358
+ # resp.build_batch.complete #=> Boolean
4359
+ # resp.build_batch.initiator #=> String
4360
+ # resp.build_batch.vpc_config.vpc_id #=> String
4361
+ # resp.build_batch.vpc_config.subnets #=> Array
4362
+ # resp.build_batch.vpc_config.subnets[0] #=> String
4363
+ # resp.build_batch.vpc_config.security_group_ids #=> Array
4364
+ # resp.build_batch.vpc_config.security_group_ids[0] #=> String
4365
+ # resp.build_batch.encryption_key #=> String
4366
+ # resp.build_batch.build_batch_number #=> Integer
4367
+ # resp.build_batch.file_system_locations #=> Array
4368
+ # resp.build_batch.file_system_locations[0].type #=> String, one of "EFS"
4369
+ # resp.build_batch.file_system_locations[0].location #=> String
4370
+ # resp.build_batch.file_system_locations[0].mount_point #=> String
4371
+ # resp.build_batch.file_system_locations[0].identifier #=> String
4372
+ # resp.build_batch.file_system_locations[0].mount_options #=> String
4373
+ # resp.build_batch.build_batch_config.service_role #=> String
4374
+ # resp.build_batch.build_batch_config.combine_artifacts #=> Boolean
4375
+ # resp.build_batch.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
4376
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed #=> Array
4377
+ # resp.build_batch.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4378
+ # resp.build_batch.build_batch_config.timeout_in_mins #=> Integer
4379
+ # resp.build_batch.build_groups #=> Array
4380
+ # resp.build_batch.build_groups[0].identifier #=> String
4381
+ # resp.build_batch.build_groups[0].depends_on #=> Array
4382
+ # resp.build_batch.build_groups[0].depends_on[0] #=> String
4383
+ # resp.build_batch.build_groups[0].ignore_failure #=> Boolean
4384
+ # resp.build_batch.build_groups[0].current_build_summary.arn #=> String
4385
+ # resp.build_batch.build_groups[0].current_build_summary.requested_on #=> Time
4386
+ # resp.build_batch.build_groups[0].current_build_summary.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4387
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4388
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.location #=> String
4389
+ # resp.build_batch.build_groups[0].current_build_summary.primary_artifact.identifier #=> String
4390
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts #=> Array
4391
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4392
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].location #=> String
4393
+ # resp.build_batch.build_groups[0].current_build_summary.secondary_artifacts[0].identifier #=> String
4394
+ # resp.build_batch.build_groups[0].prior_build_summary_list #=> Array
4395
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].arn #=> String
4396
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].requested_on #=> Time
4397
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
4398
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4399
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.location #=> String
4400
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].primary_artifact.identifier #=> String
4401
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts #=> Array
4402
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4403
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
4404
+ # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
4405
+ #
4406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch AWS API Documentation
4407
+ #
4408
+ # @overload stop_build_batch(params = {})
4409
+ # @param [Hash] params ({})
4410
+ def stop_build_batch(params = {}, options = {})
4411
+ req = build_request(:stop_build_batch, params)
4412
+ req.send_request(options)
4413
+ end
4414
+
2988
4415
  # Changes the settings of a build project.
2989
4416
  #
2990
4417
  # @option params [required, String] :name
@@ -3080,7 +4507,8 @@ module Aws::CodeBuild
3080
4507
  # </note>
3081
4508
  #
3082
4509
  # You can specify either the Amazon Resource Name (ARN) of the CMK or,
3083
- # if available, the CMK's alias (using the format `alias/alias-name `).
4510
+ # if available, the CMK's alias (using the format
4511
+ # `alias/<alias-name>`).
3084
4512
  #
3085
4513
  # @option params [Array<Types::Tag>] :tags
3086
4514
  # An updated list of tag key and value pairs associated with this build
@@ -3106,6 +4534,9 @@ module Aws::CodeBuild
3106
4534
  # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
3107
4535
  # a file system created using Amazon Elastic File System.
3108
4536
  #
4537
+ # @option params [Types::ProjectBuildBatchConfig] :build_batch_config
4538
+ # Contains configuration information about a batch build project.
4539
+ #
3109
4540
  # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3110
4541
  #
3111
4542
  # * {Types::UpdateProjectOutput#project #project} => Types::Project
@@ -3194,7 +4625,7 @@ module Aws::CodeBuild
3194
4625
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
3195
4626
  # },
3196
4627
  # environment: {
3197
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
4628
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
3198
4629
  # image: "NonEmptyString", # required
3199
4630
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
3200
4631
  # environment_variables: [
@@ -3249,6 +4680,15 @@ module Aws::CodeBuild
3249
4680
  # mount_options: "String",
3250
4681
  # },
3251
4682
  # ],
4683
+ # build_batch_config: {
4684
+ # service_role: "NonEmptyString",
4685
+ # combine_artifacts: false,
4686
+ # restrictions: {
4687
+ # maximum_builds_allowed: 1,
4688
+ # compute_types_allowed: ["NonEmptyString"],
4689
+ # },
4690
+ # timeout_in_mins: 1,
4691
+ # },
3252
4692
  # })
3253
4693
  #
3254
4694
  # @example Response structure
@@ -3308,7 +4748,7 @@ module Aws::CodeBuild
3308
4748
  # resp.project.cache.location #=> String
3309
4749
  # resp.project.cache.modes #=> Array
3310
4750
  # resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
3311
- # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
4751
+ # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
3312
4752
  # resp.project.environment.image #=> String
3313
4753
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
3314
4754
  # resp.project.environment.environment_variables #=> Array
@@ -3338,6 +4778,7 @@ module Aws::CodeBuild
3338
4778
  # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
3339
4779
  # resp.project.webhook.filter_groups[0][0].pattern #=> String
3340
4780
  # resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
4781
+ # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
3341
4782
  # resp.project.webhook.last_modified_secret #=> Time
3342
4783
  # resp.project.vpc_config.vpc_id #=> String
3343
4784
  # resp.project.vpc_config.subnets #=> Array
@@ -3358,6 +4799,12 @@ module Aws::CodeBuild
3358
4799
  # resp.project.file_system_locations[0].mount_point #=> String
3359
4800
  # resp.project.file_system_locations[0].identifier #=> String
3360
4801
  # resp.project.file_system_locations[0].mount_options #=> String
4802
+ # resp.project.build_batch_config.service_role #=> String
4803
+ # resp.project.build_batch_config.combine_artifacts #=> Boolean
4804
+ # resp.project.build_batch_config.restrictions.maximum_builds_allowed #=> Integer
4805
+ # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
4806
+ # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4807
+ # resp.project.build_batch_config.timeout_in_mins #=> Integer
3361
4808
  #
3362
4809
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
3363
4810
  #
@@ -3417,7 +4864,7 @@ module Aws::CodeBuild
3417
4864
  #
3418
4865
  # resp.report_group.arn #=> String
3419
4866
  # resp.report_group.name #=> String
3420
- # resp.report_group.type #=> String, one of "TEST"
4867
+ # resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
3421
4868
  # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
3422
4869
  # resp.report_group.export_config.s3_destination.bucket #=> String
3423
4870
  # resp.report_group.export_config.s3_destination.path #=> String
@@ -3469,6 +4916,9 @@ module Aws::CodeBuild
3469
4916
  # webhook event can trigger a build. A filter group must contain at
3470
4917
  # least one `EVENT` `WebhookFilter`.
3471
4918
  #
4919
+ # @option params [String] :build_type
4920
+ # Specifies the type of build this webhook will trigger.
4921
+ #
3472
4922
  # @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3473
4923
  #
3474
4924
  # * {Types::UpdateWebhookOutput#webhook #webhook} => Types::Webhook
@@ -3488,6 +4938,7 @@ module Aws::CodeBuild
3488
4938
  # },
3489
4939
  # ],
3490
4940
  # ],
4941
+ # build_type: "BUILD", # accepts BUILD, BUILD_BATCH
3491
4942
  # })
3492
4943
  #
3493
4944
  # @example Response structure
@@ -3501,6 +4952,7 @@ module Aws::CodeBuild
3501
4952
  # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
3502
4953
  # resp.webhook.filter_groups[0][0].pattern #=> String
3503
4954
  # resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
4955
+ # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
3504
4956
  # resp.webhook.last_modified_secret #=> Time
3505
4957
  #
3506
4958
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
@@ -3525,7 +4977,7 @@ module Aws::CodeBuild
3525
4977
  params: params,
3526
4978
  config: config)
3527
4979
  context[:gem_name] = 'aws-sdk-codebuild'
3528
- context[:gem_version] = '1.55.0'
4980
+ context[:gem_version] = '1.60.0'
3529
4981
  Seahorse::Client::Request.new(handlers, context)
3530
4982
  end
3531
4983