aws-sdk-codebuild 1.65.0 → 1.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60255762f42128dbf2e738225cab3cfaa15e8cbd1f0589fc1dde13eced1d2a1c
4
- data.tar.gz: 9370534500d34cd31b2271d2a82615b379fda3266972eb74d801d68758309ba4
3
+ metadata.gz: dfdc3dcd156f0de2b736aa6247b29718665be39b10ef747fcef4126c914e24ee
4
+ data.tar.gz: c37d117e26e4860bbb683b2e620213399f8bbfc8086715efd3690e887c585579
5
5
  SHA512:
6
- metadata.gz: b5b34f8fad2d01794757cf7e9690d0bbf90a7127f4bbf7345f37e099261bb374a971427bce6475ef2200e6a62bf11a8ab9ca662a44985c43256199e34eb76be8
7
- data.tar.gz: 56e7c07688785787b80fa12a87fbf9ee60b74709c89de8b924b822d65e6d35b38296c071ade5723f458128c8d315025285cdc7d00275ef1cce9ec4f5ecf255de
6
+ metadata.gz: a0f90b9bafce8911c2c1ec5a2f5316e2a9e10d4f97efd08a0b5816a1b130de2fd0d8796fa8fe90e0908fdff7d36820a821493ab875e62db3eec5a6459685481d
7
+ data.tar.gz: 1f7270513090d55451a355d957e5a9569fa2506d2458a8d38f18697aeb27bafeecece87df2ef29d4a07e27cbb29dcca6354cd396e6036af6a4187e7233934069
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codebuild/customizations'
48
48
  # @!group service
49
49
  module Aws::CodeBuild
50
50
 
51
- GEM_VERSION = '1.65.0'
51
+ GEM_VERSION = '1.70.0'
52
52
 
53
53
  end
@@ -520,6 +520,7 @@ module Aws::CodeBuild
520
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
521
  # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
522
522
  # resp.build_batches[0].build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
523
+ # resp.build_batches[0].debug_session_enabled #=> Boolean
523
524
  # resp.build_batches_not_found #=> Array
524
525
  # resp.build_batches_not_found[0] #=> String
525
526
  #
@@ -1064,6 +1065,7 @@ module Aws::CodeBuild
1064
1065
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
1065
1066
  # resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
1066
1067
  # resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
1068
+ # resp.projects[0].concurrent_build_limit #=> Integer
1067
1069
  # resp.projects_not_found #=> Array
1068
1070
  # resp.projects_not_found[0] #=> String
1069
1071
  #
@@ -1101,6 +1103,7 @@ module Aws::CodeBuild
1101
1103
  # resp.report_groups[0].type #=> String, one of "TEST", "CODE_COVERAGE"
1102
1104
  # resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
1103
1105
  # resp.report_groups[0].export_config.s3_destination.bucket #=> String
1106
+ # resp.report_groups[0].export_config.s3_destination.bucket_owner #=> String
1104
1107
  # resp.report_groups[0].export_config.s3_destination.path #=> String
1105
1108
  # resp.report_groups[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
1106
1109
  # resp.report_groups[0].export_config.s3_destination.encryption_key #=> String
@@ -1152,6 +1155,7 @@ module Aws::CodeBuild
1152
1155
  # resp.reports[0].expired #=> Time
1153
1156
  # resp.reports[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
1154
1157
  # resp.reports[0].export_config.s3_destination.bucket #=> String
1158
+ # resp.reports[0].export_config.s3_destination.bucket_owner #=> String
1155
1159
  # resp.reports[0].export_config.s3_destination.path #=> String
1156
1160
  # resp.reports[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
1157
1161
  # resp.reports[0].export_config.s3_destination.encryption_key #=> String
@@ -1212,8 +1216,8 @@ module Aws::CodeBuild
1212
1216
  # a branch name is specified, the branch's HEAD commit ID is used. If
1213
1217
  # not specified, the default branch's HEAD commit ID is used.
1214
1218
  #
1215
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of the
1216
- # object that represents the build input ZIP file to use.
1219
+ # * For Amazon S3: the version ID of the object that represents the
1220
+ # build input ZIP file to use.
1217
1221
  #
1218
1222
  # If `sourceVersion` is specified at the build level, then that version
1219
1223
  # takes precedence over this `sourceVersion` (at the project level).
@@ -1299,6 +1303,14 @@ module Aws::CodeBuild
1299
1303
  # A ProjectBuildBatchConfig object that defines the batch build options
1300
1304
  # for the project.
1301
1305
  #
1306
+ # @option params [Integer] :concurrent_build_limit
1307
+ # The maximum number of concurrent builds that are allowed for this
1308
+ # project.
1309
+ #
1310
+ # New builds are only started if the current number of builds is less
1311
+ # than or equal to this limit. If the current build count meets this
1312
+ # limit, new builds are throttled and are not run.
1313
+ #
1302
1314
  # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1303
1315
  #
1304
1316
  # * {Types::CreateProjectOutput#project #project} => Types::Project
@@ -1451,6 +1463,7 @@ module Aws::CodeBuild
1451
1463
  # },
1452
1464
  # timeout_in_mins: 1,
1453
1465
  # },
1466
+ # concurrent_build_limit: 1,
1454
1467
  # })
1455
1468
  #
1456
1469
  # @example Response structure
@@ -1567,6 +1580,7 @@ module Aws::CodeBuild
1567
1580
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
1568
1581
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
1569
1582
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
1583
+ # resp.project.concurrent_build_limit #=> Integer
1570
1584
  #
1571
1585
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
1572
1586
  #
@@ -1609,6 +1623,7 @@ module Aws::CodeBuild
1609
1623
  # export_config_type: "S3", # accepts S3, NO_EXPORT
1610
1624
  # s3_destination: {
1611
1625
  # bucket: "NonEmptyString",
1626
+ # bucket_owner: "String",
1612
1627
  # path: "String",
1613
1628
  # packaging: "ZIP", # accepts ZIP, NONE
1614
1629
  # encryption_key: "NonEmptyString",
@@ -1630,6 +1645,7 @@ module Aws::CodeBuild
1630
1645
  # resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
1631
1646
  # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
1632
1647
  # resp.report_group.export_config.s3_destination.bucket #=> String
1648
+ # resp.report_group.export_config.s3_destination.bucket_owner #=> String
1633
1649
  # resp.report_group.export_config.s3_destination.path #=> String
1634
1650
  # resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
1635
1651
  # resp.report_group.export_config.s3_destination.encryption_key #=> String
@@ -2072,11 +2088,69 @@ module Aws::CodeBuild
2072
2088
  req.send_request(options)
2073
2089
  end
2074
2090
 
2091
+ # Analyzes and accumulates test report values for the specified test
2092
+ # reports.
2093
+ #
2075
2094
  # @option params [required, String] :report_group_arn
2095
+ # The ARN of the report group that contains the reports to analyze.
2076
2096
  #
2077
2097
  # @option params [Integer] :num_of_reports
2098
+ # The number of reports to analyze. This operation always retrieves the
2099
+ # most recent reports.
2100
+ #
2101
+ # If this parameter is omitted, the most recent 100 reports are
2102
+ # analyzed.
2078
2103
  #
2079
2104
  # @option params [required, String] :trend_field
2105
+ # The test report value to accumulate. This must be one of the following
2106
+ # values:
2107
+ #
2108
+ # Test reports:
2109
+ # : DURATION
2110
+ #
2111
+ # : Accumulate the test run times for the specified reports.
2112
+ #
2113
+ # PASS\_RATE
2114
+ #
2115
+ # : Accumulate the percentage of tests that passed for the specified
2116
+ # test reports.
2117
+ #
2118
+ # TOTAL
2119
+ #
2120
+ # : Accumulate the total number of tests for the specified test
2121
+ # reports.
2122
+ # ^
2123
+ #
2124
+ # Code coverage reports:
2125
+ # : BRANCH\_COVERAGE
2126
+ #
2127
+ # : Accumulate the branch coverage percentages for the specified test
2128
+ # reports.
2129
+ #
2130
+ # BRANCHES\_COVERED
2131
+ #
2132
+ # : Accumulate the branches covered values for the specified test
2133
+ # reports.
2134
+ #
2135
+ # BRANCHES\_MISSED
2136
+ #
2137
+ # : Accumulate the branches missed values for the specified test
2138
+ # reports.
2139
+ #
2140
+ # LINE\_COVERAGE
2141
+ #
2142
+ # : Accumulate the line coverage percentages for the specified test
2143
+ # reports.
2144
+ #
2145
+ # LINES\_COVERED
2146
+ #
2147
+ # : Accumulate the lines covered values for the specified test
2148
+ # reports.
2149
+ #
2150
+ # LINES\_MISSED
2151
+ #
2152
+ # : Accumulate the lines not covered values for the specified test
2153
+ # reports.
2080
2154
  #
2081
2155
  # @return [Types::GetReportGroupTrendOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2082
2156
  #
@@ -2376,19 +2450,25 @@ module Aws::CodeBuild
2376
2450
  req.send_request(options)
2377
2451
  end
2378
2452
 
2379
- # Gets a list of build IDs for the specified build project, with each
2380
- # build ID representing a single build.
2453
+ # Gets a list of build identifiers for the specified build project, with
2454
+ # each build identifier representing a single build.
2381
2455
  #
2382
2456
  # @option params [required, String] :project_name
2383
2457
  # The name of the AWS CodeBuild project.
2384
2458
  #
2385
2459
  # @option params [String] :sort_order
2386
- # The order to list build IDs. Valid values include:
2460
+ # The order to list results in. The results are sorted by build number,
2461
+ # not the build identifier.
2462
+ #
2463
+ # Valid values include:
2387
2464
  #
2388
2465
  # * `ASCENDING`\: List the build IDs in ascending order by build ID.
2389
2466
  #
2390
2467
  # * `DESCENDING`\: List the build IDs in descending order by build ID.
2391
2468
  #
2469
+ # If the project has more than 100 builds, setting the sort order will
2470
+ # result in an error.
2471
+ #
2392
2472
  # @option params [String] :next_token
2393
2473
  # During a previous call, if there are more than 100 items in the list,
2394
2474
  # only the first 100 items are returned, along with a unique string
@@ -3209,6 +3289,7 @@ module Aws::CodeBuild
3209
3289
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
3210
3290
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
3211
3291
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
3292
+ # resp.build_batch.debug_session_enabled #=> Boolean
3212
3293
  #
3213
3294
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch AWS API Documentation
3214
3295
  #
@@ -3257,7 +3338,7 @@ module Aws::CodeBuild
3257
3338
  # specified, the branch's HEAD commit ID is used. If not specified,
3258
3339
  # the default branch's HEAD commit ID is used.
3259
3340
  #
3260
- # Amazon Simple Storage Service (Amazon S3)
3341
+ # Amazon S3
3261
3342
  #
3262
3343
  # : The version ID of the object that represents the build input ZIP
3263
3344
  # file to use.
@@ -3334,13 +3415,23 @@ module Aws::CodeBuild
3334
3415
  # Set to true to report to your source provider the status of a build's
3335
3416
  # start and completion. If you use this option with a source provider
3336
3417
  # other than GitHub, GitHub Enterprise, or Bitbucket, an
3337
- # invalidInputException is thrown.
3418
+ # `invalidInputException` is thrown.
3419
+ #
3420
+ # To be able to report the build status to the source provider, the user
3421
+ # associated with the source provider must have write access to the
3422
+ # repo. If the user does not have write access, the build status cannot
3423
+ # be updated. For more information, see [Source provider access][1] in
3424
+ # the *AWS CodeBuild User Guide*.
3338
3425
  #
3339
3426
  # <note markdown="1"> The status of a build triggered by a webhook is always reported to
3340
3427
  # your source provider.
3341
3428
  #
3342
3429
  # </note>
3343
3430
  #
3431
+ #
3432
+ #
3433
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
3434
+ #
3344
3435
  # @option params [Types::BuildStatusConfig] :build_status_config_override
3345
3436
  # Contains information that defines how the build project reports the
3346
3437
  # build status to the source provider. This option is only used when the
@@ -3722,7 +3813,7 @@ module Aws::CodeBuild
3722
3813
  # specified, the branch's HEAD commit ID is used. If not specified,
3723
3814
  # the default branch's HEAD commit ID is used.
3724
3815
  #
3725
- # Amazon Simple Storage Service (Amazon S3)
3816
+ # Amazon S3
3726
3817
  #
3727
3818
  # : The version ID of the object that represents the build input ZIP
3728
3819
  # file to use.
@@ -3893,6 +3984,15 @@ module Aws::CodeBuild
3893
3984
  # A `BuildBatchConfigOverride` object that contains batch build
3894
3985
  # configuration overrides.
3895
3986
  #
3987
+ # @option params [Boolean] :debug_session_enabled
3988
+ # Specifies if session debugging is enabled for this batch build. For
3989
+ # more information, see [Viewing a running build in Session Manager][1].
3990
+ # Batch session debugging is not supported for matrix batch builds.
3991
+ #
3992
+ #
3993
+ #
3994
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
3995
+ #
3896
3996
  # @return [Types::StartBuildBatchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3897
3997
  #
3898
3998
  # * {Types::StartBuildBatchOutput#build_batch #build_batch} => Types::BuildBatch
@@ -4015,6 +4115,7 @@ module Aws::CodeBuild
4015
4115
  # },
4016
4116
  # timeout_in_mins: 1,
4017
4117
  # },
4118
+ # debug_session_enabled: false,
4018
4119
  # })
4019
4120
  #
4020
4121
  # @example Response structure
@@ -4150,6 +4251,7 @@ module Aws::CodeBuild
4150
4251
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4151
4252
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
4152
4253
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
4254
+ # resp.build_batch.debug_session_enabled #=> Boolean
4153
4255
  #
4154
4256
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch AWS API Documentation
4155
4257
  #
@@ -4450,6 +4552,7 @@ module Aws::CodeBuild
4450
4552
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
4451
4553
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].location #=> String
4452
4554
  # resp.build_batch.build_groups[0].prior_build_summary_list[0].secondary_artifacts[0].identifier #=> String
4555
+ # resp.build_batch.debug_session_enabled #=> Boolean
4453
4556
  #
4454
4557
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch AWS API Documentation
4455
4558
  #
@@ -4498,8 +4601,8 @@ module Aws::CodeBuild
4498
4601
  # a branch name is specified, the branch's HEAD commit ID is used. If
4499
4602
  # not specified, the default branch's HEAD commit ID is used.
4500
4603
  #
4501
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of the
4502
- # object that represents the build input ZIP file to use.
4604
+ # * For Amazon S3: the version ID of the object that represents the
4605
+ # build input ZIP file to use.
4503
4606
  #
4504
4607
  # If `sourceVersion` is specified at the build level, then that version
4505
4608
  # takes precedence over this `sourceVersion` (at the project level).
@@ -4585,6 +4688,16 @@ module Aws::CodeBuild
4585
4688
  # @option params [Types::ProjectBuildBatchConfig] :build_batch_config
4586
4689
  # Contains configuration information about a batch build project.
4587
4690
  #
4691
+ # @option params [Integer] :concurrent_build_limit
4692
+ # The maximum number of concurrent builds that are allowed for this
4693
+ # project.
4694
+ #
4695
+ # New builds are only started if the current number of builds is less
4696
+ # than or equal to this limit. If the current build count meets this
4697
+ # limit, new builds are throttled and are not run.
4698
+ #
4699
+ # To remove this limit, set this value to -1.
4700
+ #
4588
4701
  # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4589
4702
  #
4590
4703
  # * {Types::UpdateProjectOutput#project #project} => Types::Project
@@ -4737,6 +4850,7 @@ module Aws::CodeBuild
4737
4850
  # },
4738
4851
  # timeout_in_mins: 1,
4739
4852
  # },
4853
+ # concurrent_build_limit: 1,
4740
4854
  # })
4741
4855
  #
4742
4856
  # @example Response structure
@@ -4853,6 +4967,7 @@ module Aws::CodeBuild
4853
4967
  # resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
4854
4968
  # resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
4855
4969
  # resp.project.build_batch_config.timeout_in_mins #=> Integer
4970
+ # resp.project.concurrent_build_limit #=> Integer
4856
4971
  #
4857
4972
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
4858
4973
  #
@@ -4894,6 +5009,7 @@ module Aws::CodeBuild
4894
5009
  # export_config_type: "S3", # accepts S3, NO_EXPORT
4895
5010
  # s3_destination: {
4896
5011
  # bucket: "NonEmptyString",
5012
+ # bucket_owner: "String",
4897
5013
  # path: "String",
4898
5014
  # packaging: "ZIP", # accepts ZIP, NONE
4899
5015
  # encryption_key: "NonEmptyString",
@@ -4915,6 +5031,7 @@ module Aws::CodeBuild
4915
5031
  # resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
4916
5032
  # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
4917
5033
  # resp.report_group.export_config.s3_destination.bucket #=> String
5034
+ # resp.report_group.export_config.s3_destination.bucket_owner #=> String
4918
5035
  # resp.report_group.export_config.s3_destination.path #=> String
4919
5036
  # resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
4920
5037
  # resp.report_group.export_config.s3_destination.encryption_key #=> String
@@ -5026,7 +5143,7 @@ module Aws::CodeBuild
5026
5143
  params: params,
5027
5144
  config: config)
5028
5145
  context[:gem_name] = 'aws-sdk-codebuild'
5029
- context[:gem_version] = '1.65.0'
5146
+ context[:gem_version] = '1.70.0'
5030
5147
  Seahorse::Client::Request.new(handlers, context)
5031
5148
  end
5032
5149
 
@@ -377,6 +377,7 @@ module Aws::CodeBuild
377
377
  BuildBatch.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
378
378
  BuildBatch.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
379
379
  BuildBatch.add_member(:build_groups, Shapes::ShapeRef.new(shape: BuildGroups, location_name: "buildGroups"))
380
+ BuildBatch.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
380
381
  BuildBatch.struct_class = Types::BuildBatch
381
382
 
382
383
  BuildBatchFilter.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
@@ -489,6 +490,7 @@ module Aws::CodeBuild
489
490
  CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
490
491
  CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
491
492
  CreateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
493
+ CreateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
492
494
  CreateProjectInput.struct_class = Types::CreateProjectInput
493
495
 
494
496
  CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -812,6 +814,7 @@ module Aws::CodeBuild
812
814
  Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
813
815
  Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
814
816
  Project.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
817
+ Project.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
815
818
  Project.struct_class = Types::Project
816
819
 
817
820
  ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -985,6 +988,7 @@ module Aws::CodeBuild
985
988
  S3LogsConfig.struct_class = Types::S3LogsConfig
986
989
 
987
990
  S3ReportExportConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bucket"))
991
+ S3ReportExportConfig.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "bucketOwner"))
988
992
  S3ReportExportConfig.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
989
993
  S3ReportExportConfig.add_member(:packaging, Shapes::ShapeRef.new(shape: ReportPackagingType, location_name: "packaging"))
990
994
  S3ReportExportConfig.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
@@ -1034,6 +1038,7 @@ module Aws::CodeBuild
1034
1038
  StartBuildBatchInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
1035
1039
  StartBuildBatchInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
1036
1040
  StartBuildBatchInput.add_member(:build_batch_config_override, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfigOverride"))
1041
+ StartBuildBatchInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
1037
1042
  StartBuildBatchInput.struct_class = Types::StartBuildBatchInput
1038
1043
 
1039
1044
  StartBuildBatchOutput.add_member(:build_batch, Shapes::ShapeRef.new(shape: BuildBatch, location_name: "buildBatch"))
@@ -1136,6 +1141,7 @@ module Aws::CodeBuild
1136
1141
  UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
1137
1142
  UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
1138
1143
  UpdateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
1144
+ UpdateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
1139
1145
  UpdateProjectInput.struct_class = Types::UpdateProjectInput
1140
1146
 
1141
1147
  UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -340,8 +340,7 @@ module Aws::CodeBuild
340
340
  # * For AWS CodePipeline, the source revision provided by AWS
341
341
  # CodePipeline.
342
342
  #
343
- # * For Amazon Simple Storage Service (Amazon S3), this does not
344
- # apply.
343
+ # * For Amazon S3, this does not apply.
345
344
  # @return [String]
346
345
  #
347
346
  # @!attribute [rw] project_name
@@ -380,8 +379,8 @@ module Aws::CodeBuild
380
379
  # used. If not specified, the default branch's HEAD commit ID is
381
380
  # used.
382
381
  #
383
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
384
- # the object that represents the build input ZIP file to use.
382
+ # * For Amazon S3: the version ID of the object that represents the
383
+ # build input ZIP file to use.
385
384
  # @return [Array<Types::ProjectSourceVersion>]
386
385
  #
387
386
  # @!attribute [rw] artifacts
@@ -624,8 +623,7 @@ module Aws::CodeBuild
624
623
  # * For AWS CodePipeline, the source revision provided by AWS
625
624
  # CodePipeline.
626
625
  #
627
- # * For Amazon Simple Storage Service (Amazon S3), this does not
628
- # apply.
626
+ # * For Amazon S3, this does not apply.
629
627
  # @return [String]
630
628
  #
631
629
  # @!attribute [rw] project_name
@@ -665,8 +663,8 @@ module Aws::CodeBuild
665
663
  # used. If not specified, the default branch's HEAD commit ID is
666
664
  # used.
667
665
  #
668
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
669
- # the object that represents the build input ZIP file to use.
666
+ # * For Amazon S3: the version ID of the object that represents the
667
+ # build input ZIP file to use.
670
668
  # @return [Array<Types::ProjectSourceVersion>]
671
669
  #
672
670
  # @!attribute [rw] artifacts
@@ -765,6 +763,17 @@ module Aws::CodeBuild
765
763
  # the batch build.
766
764
  # @return [Array<Types::BuildGroup>]
767
765
  #
766
+ # @!attribute [rw] debug_session_enabled
767
+ # Specifies if session debugging is enabled for this batch build. For
768
+ # more information, see [Viewing a running build in Session
769
+ # Manager][1]. Batch session debugging is not supported for matrix
770
+ # batch builds.
771
+ #
772
+ #
773
+ #
774
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
775
+ # @return [Boolean]
776
+ #
768
777
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatch AWS API Documentation
769
778
  #
770
779
  class BuildBatch < Struct.new(
@@ -796,7 +805,8 @@ module Aws::CodeBuild
796
805
  :build_batch_number,
797
806
  :file_system_locations,
798
807
  :build_batch_config,
799
- :build_groups)
808
+ :build_groups,
809
+ :debug_session_enabled)
800
810
  SENSITIVE = []
801
811
  include Aws::Structure
802
812
  end
@@ -906,7 +916,7 @@ module Aws::CodeBuild
906
916
  #
907
917
  # @!attribute [rw] contexts
908
918
  # Additional information about the batch build phase. Especially to
909
- # help troubleshoot a failed btach build.
919
+ # help troubleshoot a failed batch build.
910
920
  # @return [Array<Types::PhaseContext>]
911
921
  #
912
922
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatchPhase AWS API Documentation
@@ -1520,6 +1530,7 @@ module Aws::CodeBuild
1520
1530
  # },
1521
1531
  # timeout_in_mins: 1,
1522
1532
  # },
1533
+ # concurrent_build_limit: 1,
1523
1534
  # }
1524
1535
  #
1525
1536
  # @!attribute [rw] name
@@ -1558,8 +1569,8 @@ module Aws::CodeBuild
1558
1569
  # used. If not specified, the default branch's HEAD commit ID is
1559
1570
  # used.
1560
1571
  #
1561
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
1562
- # the object that represents the build input ZIP file to use.
1572
+ # * For Amazon S3: the version ID of the object that represents the
1573
+ # build input ZIP file to use.
1563
1574
  #
1564
1575
  # If `sourceVersion` is specified at the build level, then that
1565
1576
  # version takes precedence over this `sourceVersion` (at the project
@@ -1664,6 +1675,15 @@ module Aws::CodeBuild
1664
1675
  # options for the project.
1665
1676
  # @return [Types::ProjectBuildBatchConfig]
1666
1677
  #
1678
+ # @!attribute [rw] concurrent_build_limit
1679
+ # The maximum number of concurrent builds that are allowed for this
1680
+ # project.
1681
+ #
1682
+ # New builds are only started if the current number of builds is less
1683
+ # than or equal to this limit. If the current build count meets this
1684
+ # limit, new builds are throttled and are not run.
1685
+ # @return [Integer]
1686
+ #
1667
1687
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
1668
1688
  #
1669
1689
  class CreateProjectInput < Struct.new(
@@ -1686,7 +1706,8 @@ module Aws::CodeBuild
1686
1706
  :badge_enabled,
1687
1707
  :logs_config,
1688
1708
  :file_system_locations,
1689
- :build_batch_config)
1709
+ :build_batch_config,
1710
+ :concurrent_build_limit)
1690
1711
  SENSITIVE = []
1691
1712
  include Aws::Structure
1692
1713
  end
@@ -1713,6 +1734,7 @@ module Aws::CodeBuild
1713
1734
  # export_config_type: "S3", # accepts S3, NO_EXPORT
1714
1735
  # s3_destination: {
1715
1736
  # bucket: "NonEmptyString",
1737
+ # bucket_owner: "String",
1716
1738
  # path: "String",
1717
1739
  # packaging: "ZIP", # accepts ZIP, NONE
1718
1740
  # encryption_key: "NonEmptyString",
@@ -2394,12 +2416,67 @@ module Aws::CodeBuild
2394
2416
  # }
2395
2417
  #
2396
2418
  # @!attribute [rw] report_group_arn
2419
+ # The ARN of the report group that contains the reports to analyze.
2397
2420
  # @return [String]
2398
2421
  #
2399
2422
  # @!attribute [rw] num_of_reports
2423
+ # The number of reports to analyze. This operation always retrieves
2424
+ # the most recent reports.
2425
+ #
2426
+ # If this parameter is omitted, the most recent 100 reports are
2427
+ # analyzed.
2400
2428
  # @return [Integer]
2401
2429
  #
2402
2430
  # @!attribute [rw] trend_field
2431
+ # The test report value to accumulate. This must be one of the
2432
+ # following values:
2433
+ #
2434
+ # Test reports:
2435
+ # : DURATION
2436
+ #
2437
+ # : Accumulate the test run times for the specified reports.
2438
+ #
2439
+ # PASS\_RATE
2440
+ #
2441
+ # : Accumulate the percentage of tests that passed for the specified
2442
+ # test reports.
2443
+ #
2444
+ # TOTAL
2445
+ #
2446
+ # : Accumulate the total number of tests for the specified test
2447
+ # reports.
2448
+ # ^
2449
+ #
2450
+ # Code coverage reports:
2451
+ # : BRANCH\_COVERAGE
2452
+ #
2453
+ # : Accumulate the branch coverage percentages for the specified
2454
+ # test reports.
2455
+ #
2456
+ # BRANCHES\_COVERED
2457
+ #
2458
+ # : Accumulate the branches covered values for the specified test
2459
+ # reports.
2460
+ #
2461
+ # BRANCHES\_MISSED
2462
+ #
2463
+ # : Accumulate the branches missed values for the specified test
2464
+ # reports.
2465
+ #
2466
+ # LINE\_COVERAGE
2467
+ #
2468
+ # : Accumulate the line coverage percentages for the specified test
2469
+ # reports.
2470
+ #
2471
+ # LINES\_COVERED
2472
+ #
2473
+ # : Accumulate the lines covered values for the specified test
2474
+ # reports.
2475
+ #
2476
+ # LINES\_MISSED
2477
+ #
2478
+ # : Accumulate the lines not covered values for the specified test
2479
+ # reports.
2403
2480
  # @return [String]
2404
2481
  #
2405
2482
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendInput AWS API Documentation
@@ -2413,9 +2490,11 @@ module Aws::CodeBuild
2413
2490
  end
2414
2491
 
2415
2492
  # @!attribute [rw] stats
2493
+ # Contains the accumulated trend data.
2416
2494
  # @return [Types::ReportGroupTrendStats]
2417
2495
  #
2418
2496
  # @!attribute [rw] raw_data
2497
+ # An array that contains the raw data for each report.
2419
2498
  # @return [Array<Types::ReportWithRawData>]
2420
2499
  #
2421
2500
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendOutput AWS API Documentation
@@ -2731,11 +2810,17 @@ module Aws::CodeBuild
2731
2810
  # @return [String]
2732
2811
  #
2733
2812
  # @!attribute [rw] sort_order
2734
- # The order to list build IDs. Valid values include:
2813
+ # The order to list results in. The results are sorted by build
2814
+ # number, not the build identifier.
2815
+ #
2816
+ # Valid values include:
2735
2817
  #
2736
2818
  # * `ASCENDING`\: List the build IDs in ascending order by build ID.
2737
2819
  #
2738
2820
  # * `DESCENDING`\: List the build IDs in descending order by build ID.
2821
+ #
2822
+ # If the project has more than 100 builds, setting the sort order will
2823
+ # result in an error.
2739
2824
  # @return [String]
2740
2825
  #
2741
2826
  # @!attribute [rw] next_token
@@ -3532,8 +3617,8 @@ module Aws::CodeBuild
3532
3617
  # used. If not specified, the default branch's HEAD commit ID is
3533
3618
  # used.
3534
3619
  #
3535
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
3536
- # the object that represents the build input ZIP file to use.
3620
+ # * For Amazon S3: the version ID of the object that represents the
3621
+ # build input ZIP file to use.
3537
3622
  #
3538
3623
  # If `sourceVersion` is specified at the build level, then that
3539
3624
  # version takes precedence over this `sourceVersion` (at the project
@@ -3647,6 +3732,15 @@ module Aws::CodeBuild
3647
3732
  # options for the project.
3648
3733
  # @return [Types::ProjectBuildBatchConfig]
3649
3734
  #
3735
+ # @!attribute [rw] concurrent_build_limit
3736
+ # The maximum number of concurrent builds that are allowed for this
3737
+ # project.
3738
+ #
3739
+ # New builds are only started if the current number of builds is less
3740
+ # than or equal to this limit. If the current build count meets this
3741
+ # limit, new builds are throttled and are not run.
3742
+ # @return [Integer]
3743
+ #
3650
3744
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
3651
3745
  #
3652
3746
  class Project < Struct.new(
@@ -3673,7 +3767,8 @@ module Aws::CodeBuild
3673
3767
  :badge,
3674
3768
  :logs_config,
3675
3769
  :file_system_locations,
3676
- :build_batch_config)
3770
+ :build_batch_config,
3771
+ :concurrent_build_limit)
3677
3772
  SENSITIVE = []
3678
3773
  include Aws::Structure
3679
3774
  end
@@ -3708,8 +3803,7 @@ module Aws::CodeBuild
3708
3803
  # * `NO_ARTIFACTS`\: The build project does not produce any build
3709
3804
  # output.
3710
3805
  #
3711
- # * `S3`\: The build project stores build output in Amazon Simple
3712
- # Storage Service (Amazon S3).
3806
+ # * `S3`\: The build project stores build output in Amazon S3.
3713
3807
  # @return [String]
3714
3808
  #
3715
3809
  # @!attribute [rw] location
@@ -3829,9 +3923,8 @@ module Aws::CodeBuild
3829
3923
  #
3830
3924
  # @!attribute [rw] encryption_disabled
3831
3925
  # Set to true if you do not want your output artifacts encrypted. This
3832
- # option is valid only if your artifacts type is Amazon Simple Storage
3833
- # Service (Amazon S3). If this is set with another artifacts type, an
3834
- # invalidInputException is thrown.
3926
+ # option is valid only if your artifacts type is Amazon S3. If this is
3927
+ # set with another artifacts type, an invalidInputException is thrown.
3835
3928
  # @return [Boolean]
3836
3929
  #
3837
3930
  # @!attribute [rw] artifact_identifier
@@ -3864,9 +3957,6 @@ module Aws::CodeBuild
3864
3957
  # @!attribute [rw] badge_request_url
3865
3958
  # The publicly-accessible URL through which you can access the build
3866
3959
  # badge for your project.
3867
- #
3868
- # The publicly accessible URL through which you can access the build
3869
- # badge for your project.
3870
3960
  # @return [String]
3871
3961
  #
3872
3962
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge AWS API Documentation
@@ -4145,10 +4235,9 @@ module Aws::CodeBuild
4145
4235
  # @return [Boolean]
4146
4236
  #
4147
4237
  # @!attribute [rw] certificate
4148
- # The ARN of the Amazon Simple Storage Service (Amazon S3) bucket,
4149
- # path prefix, and object key that contains the PEM-encoded
4150
- # certificate for the build project. For more information, see
4151
- # [certificate][1] in the *AWS CodeBuild User Guide*.
4238
+ # The ARN of the Amazon S3 bucket, path prefix, and object key that
4239
+ # contains the PEM-encoded certificate for the build project. For more
4240
+ # information, see [certificate][1] in the *AWS CodeBuild User Guide*.
4152
4241
  #
4153
4242
  #
4154
4243
  #
@@ -4310,8 +4399,7 @@ module Aws::CodeBuild
4310
4399
  #
4311
4400
  # * `NO_SOURCE`\: The project does not have input source code.
4312
4401
  #
4313
- # * `S3`\: The source code is in an Amazon Simple Storage Service
4314
- # (Amazon S3) input bucket.
4402
+ # * `S3`\: The source code is in an Amazon S3 bucket.
4315
4403
  # @return [String]
4316
4404
  #
4317
4405
  # @!attribute [rw] location
@@ -4329,8 +4417,8 @@ module Aws::CodeBuild
4329
4417
  # buildspec file (for example,
4330
4418
  # `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
4331
4419
  #
4332
- # * For source code in an Amazon Simple Storage Service (Amazon S3)
4333
- # input bucket, one of the following.
4420
+ # * For source code in an Amazon S3 input bucket, one of the
4421
+ # following.
4334
4422
  #
4335
4423
  # * The path to the ZIP file that contains the source code (for
4336
4424
  # example, `<bucket-name>/<path>/<object-name>.zip`).
@@ -4405,13 +4493,23 @@ module Aws::CodeBuild
4405
4493
  # Set to true to report the status of a build's start and finish to
4406
4494
  # your source provider. This option is valid only when your source
4407
4495
  # provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set
4408
- # and you use a different source provider, an invalidInputException is
4409
- # thrown.
4496
+ # and you use a different source provider, an `invalidInputException`
4497
+ # is thrown.
4498
+ #
4499
+ # To be able to report the build status to the source provider, the
4500
+ # user associated with the source provider must have write access to
4501
+ # the repo. If the user does not have write access, the build status
4502
+ # cannot be updated. For more information, see [Source provider
4503
+ # access][1] in the *AWS CodeBuild User Guide*.
4410
4504
  #
4411
4505
  # <note markdown="1"> The status of a build triggered by a webhook is always reported to
4412
4506
  # your source provider.
4413
4507
  #
4414
4508
  # </note>
4509
+ #
4510
+ #
4511
+ #
4512
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
4415
4513
  # @return [Boolean]
4416
4514
  #
4417
4515
  # @!attribute [rw] build_status_config
@@ -4427,7 +4525,9 @@ module Aws::CodeBuild
4427
4525
  # @return [Boolean]
4428
4526
  #
4429
4527
  # @!attribute [rw] source_identifier
4430
- # An identifier for this project source.
4528
+ # An identifier for this project source. The identifier can only
4529
+ # contain alphanumeric characters and underscores, and must be less
4530
+ # than 128 characters in length.
4431
4531
  # @return [String]
4432
4532
  #
4433
4533
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource AWS API Documentation
@@ -4458,7 +4558,9 @@ module Aws::CodeBuild
4458
4558
  # }
4459
4559
  #
4460
4560
  # @!attribute [rw] source_identifier
4461
- # An identifier for a source in the build project.
4561
+ # An identifier for a source in the build project. The identifier can
4562
+ # only contain alphanumeric characters and underscores, and must be
4563
+ # less than 128 characters in length.
4462
4564
  # @return [String]
4463
4565
  #
4464
4566
  # @!attribute [rw] source_version
@@ -4480,8 +4582,8 @@ module Aws::CodeBuild
4480
4582
  # used. If not specified, the default branch's HEAD commit ID is
4481
4583
  # used.
4482
4584
  #
4483
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
4484
- # the object that represents the build input ZIP file to use.
4585
+ # * For Amazon S3: the version ID of the object that represents the
4586
+ # build input ZIP file to use.
4485
4587
  #
4486
4588
  # For more information, see [Source Version Sample with CodeBuild][1]
4487
4589
  # in the *AWS CodeBuild User Guide*.
@@ -4690,6 +4792,7 @@ module Aws::CodeBuild
4690
4792
  # export_config_type: "S3", # accepts S3, NO_EXPORT
4691
4793
  # s3_destination: {
4692
4794
  # bucket: "NonEmptyString",
4795
+ # bucket_owner: "String",
4693
4796
  # path: "String",
4694
4797
  # packaging: "ZIP", # accepts ZIP, NONE
4695
4798
  # encryption_key: "NonEmptyString",
@@ -4748,15 +4851,24 @@ module Aws::CodeBuild
4748
4851
  # one or more paths to the test case files.
4749
4852
  #
4750
4853
  # @!attribute [rw] arn
4751
- # The ARN of a `ReportGroup`.
4854
+ # The ARN of the `ReportGroup`.
4752
4855
  # @return [String]
4753
4856
  #
4754
4857
  # @!attribute [rw] name
4755
- # The name of a `ReportGroup`.
4858
+ # The name of the `ReportGroup`.
4756
4859
  # @return [String]
4757
4860
  #
4758
4861
  # @!attribute [rw] type
4759
- # The type of the `ReportGroup`. The one valid value is `TEST`.
4862
+ # The type of the `ReportGroup`. This can be one of the following
4863
+ # values:
4864
+ #
4865
+ # CODE\_COVERAGE
4866
+ #
4867
+ # : The report group contains code coverage reports.
4868
+ #
4869
+ # TEST
4870
+ #
4871
+ # : The report group contains test reports.
4760
4872
  # @return [String]
4761
4873
  #
4762
4874
  # @!attribute [rw] export_config
@@ -4780,6 +4892,17 @@ module Aws::CodeBuild
4780
4892
  # @return [Array<Types::Tag>]
4781
4893
  #
4782
4894
  # @!attribute [rw] status
4895
+ # The status of the report group. This property is read-only.
4896
+ #
4897
+ # This can be one of the following values:
4898
+ #
4899
+ # ACTIVE
4900
+ #
4901
+ # : The report group is active.
4902
+ #
4903
+ # DELETING
4904
+ #
4905
+ # : The report group is in the process of being deleted.
4783
4906
  # @return [String]
4784
4907
  #
4785
4908
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
@@ -4797,13 +4920,20 @@ module Aws::CodeBuild
4797
4920
  include Aws::Structure
4798
4921
  end
4799
4922
 
4923
+ # Contains trend statistics for a set of reports. The actual values
4924
+ # depend on the type of trend being collected. For more information, see
4925
+ # .
4926
+ #
4800
4927
  # @!attribute [rw] average
4928
+ # Contains the average of all values analyzed.
4801
4929
  # @return [String]
4802
4930
  #
4803
4931
  # @!attribute [rw] max
4932
+ # Contains the maximum value analyzed.
4804
4933
  # @return [String]
4805
4934
  #
4806
4935
  # @!attribute [rw] min
4936
+ # Contains the minimum value analyzed.
4807
4937
  # @return [String]
4808
4938
  #
4809
4939
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroupTrendStats AWS API Documentation
@@ -4816,10 +4946,15 @@ module Aws::CodeBuild
4816
4946
  include Aws::Structure
4817
4947
  end
4818
4948
 
4949
+ # Contains the unmodified data for the report. For more information, see
4950
+ # .
4951
+ #
4819
4952
  # @!attribute [rw] report_arn
4953
+ # The ARN of the report.
4820
4954
  # @return [String]
4821
4955
  #
4822
4956
  # @!attribute [rw] data
4957
+ # The value of the requested data field from the report.
4823
4958
  # @return [String]
4824
4959
  #
4825
4960
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportWithRawData AWS API Documentation
@@ -4833,7 +4968,7 @@ module Aws::CodeBuild
4833
4968
 
4834
4969
  # Represents a resolved build artifact. A resolve artifact is an
4835
4970
  # artifact that is built and deployed to the destination, such as Amazon
4836
- # Simple Storage Service (Amazon S3).
4971
+ # S3.
4837
4972
  #
4838
4973
  # @!attribute [rw] type
4839
4974
  # Specifies the type of artifact.
@@ -5008,6 +5143,7 @@ module Aws::CodeBuild
5008
5143
  #
5009
5144
  # {
5010
5145
  # bucket: "NonEmptyString",
5146
+ # bucket_owner: "String",
5011
5147
  # path: "String",
5012
5148
  # packaging: "ZIP", # accepts ZIP, NONE
5013
5149
  # encryption_key: "NonEmptyString",
@@ -5019,6 +5155,12 @@ module Aws::CodeBuild
5019
5155
  # exported.
5020
5156
  # @return [String]
5021
5157
  #
5158
+ # @!attribute [rw] bucket_owner
5159
+ # The AWS account identifier of the owner of the Amazon S3 bucket.
5160
+ # This allows report data to be exported to an Amazon S3 bucket that
5161
+ # is owned by an account other than the account running the build.
5162
+ # @return [String]
5163
+ #
5022
5164
  # @!attribute [rw] path
5023
5165
  # The path to the exported report's raw data results.
5024
5166
  # @return [String]
@@ -5046,6 +5188,7 @@ module Aws::CodeBuild
5046
5188
  #
5047
5189
  class S3ReportExportConfig < Struct.new(
5048
5190
  :bucket,
5191
+ :bucket_owner,
5049
5192
  :path,
5050
5193
  :packaging,
5051
5194
  :encryption_key,
@@ -5236,6 +5379,7 @@ module Aws::CodeBuild
5236
5379
  # },
5237
5380
  # timeout_in_mins: 1,
5238
5381
  # },
5382
+ # debug_session_enabled: false,
5239
5383
  # }
5240
5384
  #
5241
5385
  # @!attribute [rw] project_name
@@ -5277,7 +5421,7 @@ module Aws::CodeBuild
5277
5421
  # specified, the branch's HEAD commit ID is used. If not specified,
5278
5422
  # the default branch's HEAD commit ID is used.
5279
5423
  #
5280
- # Amazon Simple Storage Service (Amazon S3)
5424
+ # Amazon S3
5281
5425
  #
5282
5426
  # : The version ID of the object that represents the build input ZIP
5283
5427
  # file to use.
@@ -5476,6 +5620,17 @@ module Aws::CodeBuild
5476
5620
  # configuration overrides.
5477
5621
  # @return [Types::ProjectBuildBatchConfig]
5478
5622
  #
5623
+ # @!attribute [rw] debug_session_enabled
5624
+ # Specifies if session debugging is enabled for this batch build. For
5625
+ # more information, see [Viewing a running build in Session
5626
+ # Manager][1]. Batch session debugging is not supported for matrix
5627
+ # batch builds.
5628
+ #
5629
+ #
5630
+ #
5631
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
5632
+ # @return [Boolean]
5633
+ #
5479
5634
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatchInput AWS API Documentation
5480
5635
  #
5481
5636
  class StartBuildBatchInput < Struct.new(
@@ -5508,7 +5663,8 @@ module Aws::CodeBuild
5508
5663
  :logs_config_override,
5509
5664
  :registry_credential_override,
5510
5665
  :image_pull_credentials_type_override,
5511
- :build_batch_config_override)
5666
+ :build_batch_config_override,
5667
+ :debug_session_enabled)
5512
5668
  SENSITIVE = []
5513
5669
  include Aws::Structure
5514
5670
  end
@@ -5683,7 +5839,7 @@ module Aws::CodeBuild
5683
5839
  # specified, the branch's HEAD commit ID is used. If not specified,
5684
5840
  # the default branch's HEAD commit ID is used.
5685
5841
  #
5686
- # Amazon Simple Storage Service (Amazon S3)
5842
+ # Amazon S3
5687
5843
  #
5688
5844
  # : The version ID of the object that represents the build input ZIP
5689
5845
  # file to use.
@@ -5771,12 +5927,22 @@ module Aws::CodeBuild
5771
5927
  # Set to true to report to your source provider the status of a
5772
5928
  # build's start and completion. If you use this option with a source
5773
5929
  # provider other than GitHub, GitHub Enterprise, or Bitbucket, an
5774
- # invalidInputException is thrown.
5930
+ # `invalidInputException` is thrown.
5931
+ #
5932
+ # To be able to report the build status to the source provider, the
5933
+ # user associated with the source provider must have write access to
5934
+ # the repo. If the user does not have write access, the build status
5935
+ # cannot be updated. For more information, see [Source provider
5936
+ # access][1] in the *AWS CodeBuild User Guide*.
5775
5937
  #
5776
5938
  # <note markdown="1"> The status of a build triggered by a webhook is always reported to
5777
5939
  # your source provider.
5778
5940
  #
5779
5941
  # </note>
5942
+ #
5943
+ #
5944
+ #
5945
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
5780
5946
  # @return [Boolean]
5781
5947
  #
5782
5948
  # @!attribute [rw] build_status_config_override
@@ -6308,6 +6474,7 @@ module Aws::CodeBuild
6308
6474
  # },
6309
6475
  # timeout_in_mins: 1,
6310
6476
  # },
6477
+ # concurrent_build_limit: 1,
6311
6478
  # }
6312
6479
  #
6313
6480
  # @!attribute [rw] name
@@ -6351,8 +6518,8 @@ module Aws::CodeBuild
6351
6518
  # used. If not specified, the default branch's HEAD commit ID is
6352
6519
  # used.
6353
6520
  #
6354
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
6355
- # the object that represents the build input ZIP file to use.
6521
+ # * For Amazon S3: the version ID of the object that represents the
6522
+ # build input ZIP file to use.
6356
6523
  #
6357
6524
  # If `sourceVersion` is specified at the build level, then that
6358
6525
  # version takes precedence over this `sourceVersion` (at the project
@@ -6456,6 +6623,17 @@ module Aws::CodeBuild
6456
6623
  # Contains configuration information about a batch build project.
6457
6624
  # @return [Types::ProjectBuildBatchConfig]
6458
6625
  #
6626
+ # @!attribute [rw] concurrent_build_limit
6627
+ # The maximum number of concurrent builds that are allowed for this
6628
+ # project.
6629
+ #
6630
+ # New builds are only started if the current number of builds is less
6631
+ # than or equal to this limit. If the current build count meets this
6632
+ # limit, new builds are throttled and are not run.
6633
+ #
6634
+ # To remove this limit, set this value to -1.
6635
+ # @return [Integer]
6636
+ #
6459
6637
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
6460
6638
  #
6461
6639
  class UpdateProjectInput < Struct.new(
@@ -6478,7 +6656,8 @@ module Aws::CodeBuild
6478
6656
  :badge_enabled,
6479
6657
  :logs_config,
6480
6658
  :file_system_locations,
6481
- :build_batch_config)
6659
+ :build_batch_config,
6660
+ :concurrent_build_limit)
6482
6661
  SENSITIVE = []
6483
6662
  include Aws::Structure
6484
6663
  end
@@ -6504,6 +6683,7 @@ module Aws::CodeBuild
6504
6683
  # export_config_type: "S3", # accepts S3, NO_EXPORT
6505
6684
  # s3_destination: {
6506
6685
  # bucket: "NonEmptyString",
6686
+ # bucket_owner: "String",
6507
6687
  # path: "String",
6508
6688
  # packaging: "ZIP", # accepts ZIP, NONE
6509
6689
  # encryption_key: "NonEmptyString",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-24 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.109.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement