aws-sdk-codebuild 1.64.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +151 -11
- data/lib/aws-sdk-codebuild/client_api.rb +40 -0
- data/lib/aws-sdk-codebuild/types.rb +274 -46
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be02c3d078734bcfd35a6b37e135f8cf7089e4f9c112a6f739d1f983802a313e
|
4
|
+
data.tar.gz: 7e19255ad2225914cc84522d1bfd3d6199361f1dc4c92172729652cb59b2574b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f4223e121d01e0c900bed14d93fb0e1ea78d94360103428018878924cb68966146eda875312db570f9765c86096f5cd895d0432fa7b45c95edb8495480e0fc8
|
7
|
+
data.tar.gz: 908cc6ec5c1ea17044d61b1b5b69d6bfa3abb85554045775853004624451a8b17cc3ec141d724692ebeb91f0d6b6936c7e12fbbc4f0ceccf2533130f4e16f444
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -1064,6 +1064,7 @@ module Aws::CodeBuild
|
|
1064
1064
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed #=> Array
|
1065
1065
|
# resp.projects[0].build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1066
1066
|
# resp.projects[0].build_batch_config.timeout_in_mins #=> Integer
|
1067
|
+
# resp.projects[0].concurrent_build_limit #=> Integer
|
1067
1068
|
# resp.projects_not_found #=> Array
|
1068
1069
|
# resp.projects_not_found[0] #=> String
|
1069
1070
|
#
|
@@ -1101,6 +1102,7 @@ module Aws::CodeBuild
|
|
1101
1102
|
# resp.report_groups[0].type #=> String, one of "TEST", "CODE_COVERAGE"
|
1102
1103
|
# resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
1103
1104
|
# resp.report_groups[0].export_config.s3_destination.bucket #=> String
|
1105
|
+
# resp.report_groups[0].export_config.s3_destination.bucket_owner #=> String
|
1104
1106
|
# resp.report_groups[0].export_config.s3_destination.path #=> String
|
1105
1107
|
# resp.report_groups[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
|
1106
1108
|
# resp.report_groups[0].export_config.s3_destination.encryption_key #=> String
|
@@ -1152,6 +1154,7 @@ module Aws::CodeBuild
|
|
1152
1154
|
# resp.reports[0].expired #=> Time
|
1153
1155
|
# resp.reports[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
1154
1156
|
# resp.reports[0].export_config.s3_destination.bucket #=> String
|
1157
|
+
# resp.reports[0].export_config.s3_destination.bucket_owner #=> String
|
1155
1158
|
# resp.reports[0].export_config.s3_destination.path #=> String
|
1156
1159
|
# resp.reports[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
|
1157
1160
|
# resp.reports[0].export_config.s3_destination.encryption_key #=> String
|
@@ -1212,8 +1215,8 @@ module Aws::CodeBuild
|
|
1212
1215
|
# a branch name is specified, the branch's HEAD commit ID is used. If
|
1213
1216
|
# not specified, the default branch's HEAD commit ID is used.
|
1214
1217
|
#
|
1215
|
-
# * For Amazon
|
1216
|
-
#
|
1218
|
+
# * For Amazon S3: the version ID of the object that represents the
|
1219
|
+
# build input ZIP file to use.
|
1217
1220
|
#
|
1218
1221
|
# If `sourceVersion` is specified at the build level, then that version
|
1219
1222
|
# takes precedence over this `sourceVersion` (at the project level).
|
@@ -1299,6 +1302,14 @@ module Aws::CodeBuild
|
|
1299
1302
|
# A ProjectBuildBatchConfig object that defines the batch build options
|
1300
1303
|
# for the project.
|
1301
1304
|
#
|
1305
|
+
# @option params [Integer] :concurrent_build_limit
|
1306
|
+
# The maximum number of concurrent builds that are allowed for this
|
1307
|
+
# project.
|
1308
|
+
#
|
1309
|
+
# New builds are only started if the current number of builds is less
|
1310
|
+
# than or equal to this limit. If the current build count meets this
|
1311
|
+
# limit, new builds are throttled and are not run.
|
1312
|
+
#
|
1302
1313
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1303
1314
|
#
|
1304
1315
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1451,6 +1462,7 @@ module Aws::CodeBuild
|
|
1451
1462
|
# },
|
1452
1463
|
# timeout_in_mins: 1,
|
1453
1464
|
# },
|
1465
|
+
# concurrent_build_limit: 1,
|
1454
1466
|
# })
|
1455
1467
|
#
|
1456
1468
|
# @example Response structure
|
@@ -1567,6 +1579,7 @@ module Aws::CodeBuild
|
|
1567
1579
|
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
1568
1580
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
1569
1581
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
1582
|
+
# resp.project.concurrent_build_limit #=> Integer
|
1570
1583
|
#
|
1571
1584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1572
1585
|
#
|
@@ -1609,6 +1622,7 @@ module Aws::CodeBuild
|
|
1609
1622
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
1610
1623
|
# s3_destination: {
|
1611
1624
|
# bucket: "NonEmptyString",
|
1625
|
+
# bucket_owner: "String",
|
1612
1626
|
# path: "String",
|
1613
1627
|
# packaging: "ZIP", # accepts ZIP, NONE
|
1614
1628
|
# encryption_key: "NonEmptyString",
|
@@ -1630,6 +1644,7 @@ module Aws::CodeBuild
|
|
1630
1644
|
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
1631
1645
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
1632
1646
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
1647
|
+
# resp.report_group.export_config.s3_destination.bucket_owner #=> String
|
1633
1648
|
# resp.report_group.export_config.s3_destination.path #=> String
|
1634
1649
|
# resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
|
1635
1650
|
# resp.report_group.export_config.s3_destination.encryption_key #=> String
|
@@ -2072,6 +2087,101 @@ module Aws::CodeBuild
|
|
2072
2087
|
req.send_request(options)
|
2073
2088
|
end
|
2074
2089
|
|
2090
|
+
# Analyzes and accumulates test report values for the specified test
|
2091
|
+
# reports.
|
2092
|
+
#
|
2093
|
+
# @option params [required, String] :report_group_arn
|
2094
|
+
# The ARN of the report group that contains the reports to analyze.
|
2095
|
+
#
|
2096
|
+
# @option params [Integer] :num_of_reports
|
2097
|
+
# The number of reports to analyze. This operation always retrieves the
|
2098
|
+
# most recent reports.
|
2099
|
+
#
|
2100
|
+
# If this parameter is omitted, the most recent 100 reports are
|
2101
|
+
# analyzed.
|
2102
|
+
#
|
2103
|
+
# @option params [required, String] :trend_field
|
2104
|
+
# The test report value to accumulate. This must be one of the following
|
2105
|
+
# values:
|
2106
|
+
#
|
2107
|
+
# Test reports:
|
2108
|
+
# : DURATION
|
2109
|
+
#
|
2110
|
+
# : Accumulate the test run times for the specified reports.
|
2111
|
+
#
|
2112
|
+
# PASS\_RATE
|
2113
|
+
#
|
2114
|
+
# : Accumulate the percentage of tests that passed for the specified
|
2115
|
+
# test reports.
|
2116
|
+
#
|
2117
|
+
# TOTAL
|
2118
|
+
#
|
2119
|
+
# : Accumulate the total number of tests for the specified test
|
2120
|
+
# reports.
|
2121
|
+
# ^
|
2122
|
+
#
|
2123
|
+
# Code coverage reports:
|
2124
|
+
# : BRANCH\_COVERAGE
|
2125
|
+
#
|
2126
|
+
# : Accumulate the branch coverage percentages for the specified test
|
2127
|
+
# reports.
|
2128
|
+
#
|
2129
|
+
# BRANCHES\_COVERED
|
2130
|
+
#
|
2131
|
+
# : Accumulate the branches covered values for the specified test
|
2132
|
+
# reports.
|
2133
|
+
#
|
2134
|
+
# BRANCHES\_MISSED
|
2135
|
+
#
|
2136
|
+
# : Accumulate the branches missed values for the specified test
|
2137
|
+
# reports.
|
2138
|
+
#
|
2139
|
+
# LINE\_COVERAGE
|
2140
|
+
#
|
2141
|
+
# : Accumulate the line coverage percentages for the specified test
|
2142
|
+
# reports.
|
2143
|
+
#
|
2144
|
+
# LINES\_COVERED
|
2145
|
+
#
|
2146
|
+
# : Accumulate the lines covered values for the specified test
|
2147
|
+
# reports.
|
2148
|
+
#
|
2149
|
+
# LINES\_MISSED
|
2150
|
+
#
|
2151
|
+
# : Accumulate the lines not covered values for the specified test
|
2152
|
+
# reports.
|
2153
|
+
#
|
2154
|
+
# @return [Types::GetReportGroupTrendOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2155
|
+
#
|
2156
|
+
# * {Types::GetReportGroupTrendOutput#stats #stats} => Types::ReportGroupTrendStats
|
2157
|
+
# * {Types::GetReportGroupTrendOutput#raw_data #raw_data} => Array<Types::ReportWithRawData>
|
2158
|
+
#
|
2159
|
+
# @example Request syntax with placeholder values
|
2160
|
+
#
|
2161
|
+
# resp = client.get_report_group_trend({
|
2162
|
+
# report_group_arn: "NonEmptyString", # required
|
2163
|
+
# num_of_reports: 1,
|
2164
|
+
# trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
|
2165
|
+
# })
|
2166
|
+
#
|
2167
|
+
# @example Response structure
|
2168
|
+
#
|
2169
|
+
# resp.stats.average #=> String
|
2170
|
+
# resp.stats.max #=> String
|
2171
|
+
# resp.stats.min #=> String
|
2172
|
+
# resp.raw_data #=> Array
|
2173
|
+
# resp.raw_data[0].report_arn #=> String
|
2174
|
+
# resp.raw_data[0].data #=> String
|
2175
|
+
#
|
2176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrend AWS API Documentation
|
2177
|
+
#
|
2178
|
+
# @overload get_report_group_trend(params = {})
|
2179
|
+
# @param [Hash] params ({})
|
2180
|
+
def get_report_group_trend(params = {}, options = {})
|
2181
|
+
req = build_request(:get_report_group_trend, params)
|
2182
|
+
req.send_request(options)
|
2183
|
+
end
|
2184
|
+
|
2075
2185
|
# Gets a resource policy that is identified by its resource ARN.
|
2076
2186
|
#
|
2077
2187
|
# @option params [required, String] :resource_arn
|
@@ -2339,19 +2449,25 @@ module Aws::CodeBuild
|
|
2339
2449
|
req.send_request(options)
|
2340
2450
|
end
|
2341
2451
|
|
2342
|
-
# Gets a list of build
|
2343
|
-
# build
|
2452
|
+
# Gets a list of build identifiers for the specified build project, with
|
2453
|
+
# each build identifier representing a single build.
|
2344
2454
|
#
|
2345
2455
|
# @option params [required, String] :project_name
|
2346
2456
|
# The name of the AWS CodeBuild project.
|
2347
2457
|
#
|
2348
2458
|
# @option params [String] :sort_order
|
2349
|
-
# The order to list
|
2459
|
+
# The order to list results in. The results are sorted by build number,
|
2460
|
+
# not the build identifier.
|
2461
|
+
#
|
2462
|
+
# Valid values include:
|
2350
2463
|
#
|
2351
2464
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2352
2465
|
#
|
2353
2466
|
# * `DESCENDING`\: List the build IDs in descending order by build ID.
|
2354
2467
|
#
|
2468
|
+
# If the project has more than 100 builds, setting the sort order will
|
2469
|
+
# result in an error.
|
2470
|
+
#
|
2355
2471
|
# @option params [String] :next_token
|
2356
2472
|
# During a previous call, if there are more than 100 items in the list,
|
2357
2473
|
# only the first 100 items are returned, along with a unique string
|
@@ -3220,7 +3336,7 @@ module Aws::CodeBuild
|
|
3220
3336
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
3221
3337
|
# the default branch's HEAD commit ID is used.
|
3222
3338
|
#
|
3223
|
-
# Amazon
|
3339
|
+
# Amazon S3
|
3224
3340
|
#
|
3225
3341
|
# : The version ID of the object that represents the build input ZIP
|
3226
3342
|
# file to use.
|
@@ -3297,13 +3413,23 @@ module Aws::CodeBuild
|
|
3297
3413
|
# Set to true to report to your source provider the status of a build's
|
3298
3414
|
# start and completion. If you use this option with a source provider
|
3299
3415
|
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3300
|
-
# invalidInputException is thrown.
|
3416
|
+
# `invalidInputException` is thrown.
|
3417
|
+
#
|
3418
|
+
# To be able to report the build status to the source provider, the user
|
3419
|
+
# associated with the source provider must have write access to the
|
3420
|
+
# repo. If the user does not have write access, the build status cannot
|
3421
|
+
# be updated. For more information, see [Source provider access][1] in
|
3422
|
+
# the *AWS CodeBuild User Guide*.
|
3301
3423
|
#
|
3302
3424
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3303
3425
|
# your source provider.
|
3304
3426
|
#
|
3305
3427
|
# </note>
|
3306
3428
|
#
|
3429
|
+
#
|
3430
|
+
#
|
3431
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
3432
|
+
#
|
3307
3433
|
# @option params [Types::BuildStatusConfig] :build_status_config_override
|
3308
3434
|
# Contains information that defines how the build project reports the
|
3309
3435
|
# build status to the source provider. This option is only used when the
|
@@ -3685,7 +3811,7 @@ module Aws::CodeBuild
|
|
3685
3811
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
3686
3812
|
# the default branch's HEAD commit ID is used.
|
3687
3813
|
#
|
3688
|
-
# Amazon
|
3814
|
+
# Amazon S3
|
3689
3815
|
#
|
3690
3816
|
# : The version ID of the object that represents the build input ZIP
|
3691
3817
|
# file to use.
|
@@ -4461,8 +4587,8 @@ module Aws::CodeBuild
|
|
4461
4587
|
# a branch name is specified, the branch's HEAD commit ID is used. If
|
4462
4588
|
# not specified, the default branch's HEAD commit ID is used.
|
4463
4589
|
#
|
4464
|
-
# * For Amazon
|
4465
|
-
#
|
4590
|
+
# * For Amazon S3: the version ID of the object that represents the
|
4591
|
+
# build input ZIP file to use.
|
4466
4592
|
#
|
4467
4593
|
# If `sourceVersion` is specified at the build level, then that version
|
4468
4594
|
# takes precedence over this `sourceVersion` (at the project level).
|
@@ -4548,6 +4674,16 @@ module Aws::CodeBuild
|
|
4548
4674
|
# @option params [Types::ProjectBuildBatchConfig] :build_batch_config
|
4549
4675
|
# Contains configuration information about a batch build project.
|
4550
4676
|
#
|
4677
|
+
# @option params [Integer] :concurrent_build_limit
|
4678
|
+
# The maximum number of concurrent builds that are allowed for this
|
4679
|
+
# project.
|
4680
|
+
#
|
4681
|
+
# New builds are only started if the current number of builds is less
|
4682
|
+
# than or equal to this limit. If the current build count meets this
|
4683
|
+
# limit, new builds are throttled and are not run.
|
4684
|
+
#
|
4685
|
+
# To remove this limit, set this value to -1.
|
4686
|
+
#
|
4551
4687
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4552
4688
|
#
|
4553
4689
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -4700,6 +4836,7 @@ module Aws::CodeBuild
|
|
4700
4836
|
# },
|
4701
4837
|
# timeout_in_mins: 1,
|
4702
4838
|
# },
|
4839
|
+
# concurrent_build_limit: 1,
|
4703
4840
|
# })
|
4704
4841
|
#
|
4705
4842
|
# @example Response structure
|
@@ -4816,6 +4953,7 @@ module Aws::CodeBuild
|
|
4816
4953
|
# resp.project.build_batch_config.restrictions.compute_types_allowed #=> Array
|
4817
4954
|
# resp.project.build_batch_config.restrictions.compute_types_allowed[0] #=> String
|
4818
4955
|
# resp.project.build_batch_config.timeout_in_mins #=> Integer
|
4956
|
+
# resp.project.concurrent_build_limit #=> Integer
|
4819
4957
|
#
|
4820
4958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
4821
4959
|
#
|
@@ -4857,6 +4995,7 @@ module Aws::CodeBuild
|
|
4857
4995
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
4858
4996
|
# s3_destination: {
|
4859
4997
|
# bucket: "NonEmptyString",
|
4998
|
+
# bucket_owner: "String",
|
4860
4999
|
# path: "String",
|
4861
5000
|
# packaging: "ZIP", # accepts ZIP, NONE
|
4862
5001
|
# encryption_key: "NonEmptyString",
|
@@ -4878,6 +5017,7 @@ module Aws::CodeBuild
|
|
4878
5017
|
# resp.report_group.type #=> String, one of "TEST", "CODE_COVERAGE"
|
4879
5018
|
# resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
|
4880
5019
|
# resp.report_group.export_config.s3_destination.bucket #=> String
|
5020
|
+
# resp.report_group.export_config.s3_destination.bucket_owner #=> String
|
4881
5021
|
# resp.report_group.export_config.s3_destination.path #=> String
|
4882
5022
|
# resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
|
4883
5023
|
# resp.report_group.export_config.s3_destination.encryption_key #=> String
|
@@ -4989,7 +5129,7 @@ module Aws::CodeBuild
|
|
4989
5129
|
params: params,
|
4990
5130
|
config: config)
|
4991
5131
|
context[:gem_name] = 'aws-sdk-codebuild'
|
4992
|
-
context[:gem_version] = '1.
|
5132
|
+
context[:gem_version] = '1.69.0'
|
4993
5133
|
Seahorse::Client::Request.new(handlers, context)
|
4994
5134
|
end
|
4995
5135
|
|
@@ -104,6 +104,8 @@ module Aws::CodeBuild
|
|
104
104
|
FileSystemType = Shapes::StringShape.new(name: 'FileSystemType')
|
105
105
|
FilterGroup = Shapes::ListShape.new(name: 'FilterGroup')
|
106
106
|
FilterGroups = Shapes::ListShape.new(name: 'FilterGroups')
|
107
|
+
GetReportGroupTrendInput = Shapes::StructureShape.new(name: 'GetReportGroupTrendInput')
|
108
|
+
GetReportGroupTrendOutput = Shapes::StructureShape.new(name: 'GetReportGroupTrendOutput')
|
107
109
|
GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
|
108
110
|
GetResourcePolicyOutput = Shapes::StructureShape.new(name: 'GetResourcePolicyOutput')
|
109
111
|
GitCloneDepth = Shapes::IntegerShape.new(name: 'GitCloneDepth')
|
@@ -188,11 +190,15 @@ module Aws::CodeBuild
|
|
188
190
|
ReportGroupName = Shapes::StringShape.new(name: 'ReportGroupName')
|
189
191
|
ReportGroupSortByType = Shapes::StringShape.new(name: 'ReportGroupSortByType')
|
190
192
|
ReportGroupStatusType = Shapes::StringShape.new(name: 'ReportGroupStatusType')
|
193
|
+
ReportGroupTrendFieldType = Shapes::StringShape.new(name: 'ReportGroupTrendFieldType')
|
194
|
+
ReportGroupTrendRawDataList = Shapes::ListShape.new(name: 'ReportGroupTrendRawDataList')
|
195
|
+
ReportGroupTrendStats = Shapes::StructureShape.new(name: 'ReportGroupTrendStats')
|
191
196
|
ReportGroups = Shapes::ListShape.new(name: 'ReportGroups')
|
192
197
|
ReportPackagingType = Shapes::StringShape.new(name: 'ReportPackagingType')
|
193
198
|
ReportStatusCounts = Shapes::MapShape.new(name: 'ReportStatusCounts')
|
194
199
|
ReportStatusType = Shapes::StringShape.new(name: 'ReportStatusType')
|
195
200
|
ReportType = Shapes::StringShape.new(name: 'ReportType')
|
201
|
+
ReportWithRawData = Shapes::StructureShape.new(name: 'ReportWithRawData')
|
196
202
|
Reports = Shapes::ListShape.new(name: 'Reports')
|
197
203
|
ResolvedArtifact = Shapes::StructureShape.new(name: 'ResolvedArtifact')
|
198
204
|
ResolvedSecondaryArtifacts = Shapes::ListShape.new(name: 'ResolvedSecondaryArtifacts')
|
@@ -483,6 +489,7 @@ module Aws::CodeBuild
|
|
483
489
|
CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
484
490
|
CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
485
491
|
CreateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
492
|
+
CreateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
486
493
|
CreateProjectInput.struct_class = Types::CreateProjectInput
|
487
494
|
|
488
495
|
CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -609,6 +616,15 @@ module Aws::CodeBuild
|
|
609
616
|
|
610
617
|
FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
|
611
618
|
|
619
|
+
GetReportGroupTrendInput.add_member(:report_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "reportGroupArn"))
|
620
|
+
GetReportGroupTrendInput.add_member(:num_of_reports, Shapes::ShapeRef.new(shape: PageSize, location_name: "numOfReports"))
|
621
|
+
GetReportGroupTrendInput.add_member(:trend_field, Shapes::ShapeRef.new(shape: ReportGroupTrendFieldType, required: true, location_name: "trendField"))
|
622
|
+
GetReportGroupTrendInput.struct_class = Types::GetReportGroupTrendInput
|
623
|
+
|
624
|
+
GetReportGroupTrendOutput.add_member(:stats, Shapes::ShapeRef.new(shape: ReportGroupTrendStats, location_name: "stats"))
|
625
|
+
GetReportGroupTrendOutput.add_member(:raw_data, Shapes::ShapeRef.new(shape: ReportGroupTrendRawDataList, location_name: "rawData"))
|
626
|
+
GetReportGroupTrendOutput.struct_class = Types::GetReportGroupTrendOutput
|
627
|
+
|
612
628
|
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceArn"))
|
613
629
|
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
614
630
|
|
@@ -797,6 +813,7 @@ module Aws::CodeBuild
|
|
797
813
|
Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
798
814
|
Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
799
815
|
Project.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
816
|
+
Project.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
800
817
|
Project.struct_class = Types::Project
|
801
818
|
|
802
819
|
ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -920,11 +937,22 @@ module Aws::CodeBuild
|
|
920
937
|
|
921
938
|
ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
922
939
|
|
940
|
+
ReportGroupTrendRawDataList.member = Shapes::ShapeRef.new(shape: ReportWithRawData)
|
941
|
+
|
942
|
+
ReportGroupTrendStats.add_member(:average, Shapes::ShapeRef.new(shape: String, location_name: "average"))
|
943
|
+
ReportGroupTrendStats.add_member(:max, Shapes::ShapeRef.new(shape: String, location_name: "max"))
|
944
|
+
ReportGroupTrendStats.add_member(:min, Shapes::ShapeRef.new(shape: String, location_name: "min"))
|
945
|
+
ReportGroupTrendStats.struct_class = Types::ReportGroupTrendStats
|
946
|
+
|
923
947
|
ReportGroups.member = Shapes::ShapeRef.new(shape: ReportGroup)
|
924
948
|
|
925
949
|
ReportStatusCounts.key = Shapes::ShapeRef.new(shape: String)
|
926
950
|
ReportStatusCounts.value = Shapes::ShapeRef.new(shape: WrapperInt)
|
927
951
|
|
952
|
+
ReportWithRawData.add_member(:report_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reportArn"))
|
953
|
+
ReportWithRawData.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
954
|
+
ReportWithRawData.struct_class = Types::ReportWithRawData
|
955
|
+
|
928
956
|
Reports.member = Shapes::ShapeRef.new(shape: Report)
|
929
957
|
|
930
958
|
ResolvedArtifact.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, location_name: "type"))
|
@@ -959,6 +987,7 @@ module Aws::CodeBuild
|
|
959
987
|
S3LogsConfig.struct_class = Types::S3LogsConfig
|
960
988
|
|
961
989
|
S3ReportExportConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bucket"))
|
990
|
+
S3ReportExportConfig.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "bucketOwner"))
|
962
991
|
S3ReportExportConfig.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
963
992
|
S3ReportExportConfig.add_member(:packaging, Shapes::ShapeRef.new(shape: ReportPackagingType, location_name: "packaging"))
|
964
993
|
S3ReportExportConfig.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
@@ -1110,6 +1139,7 @@ module Aws::CodeBuild
|
|
1110
1139
|
UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
1111
1140
|
UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
1112
1141
|
UpdateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
1142
|
+
UpdateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
1113
1143
|
UpdateProjectInput.struct_class = Types::UpdateProjectInput
|
1114
1144
|
|
1115
1145
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -1355,6 +1385,16 @@ module Aws::CodeBuild
|
|
1355
1385
|
)
|
1356
1386
|
end)
|
1357
1387
|
|
1388
|
+
api.add_operation(:get_report_group_trend, Seahorse::Model::Operation.new.tap do |o|
|
1389
|
+
o.name = "GetReportGroupTrend"
|
1390
|
+
o.http_method = "POST"
|
1391
|
+
o.http_request_uri = "/"
|
1392
|
+
o.input = Shapes::ShapeRef.new(shape: GetReportGroupTrendInput)
|
1393
|
+
o.output = Shapes::ShapeRef.new(shape: GetReportGroupTrendOutput)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1396
|
+
end)
|
1397
|
+
|
1358
1398
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1359
1399
|
o.name = "GetResourcePolicy"
|
1360
1400
|
o.http_method = "POST"
|
@@ -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
|
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
|
384
|
-
#
|
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
|
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
|
669
|
-
#
|
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
|
@@ -906,7 +904,7 @@ module Aws::CodeBuild
|
|
906
904
|
#
|
907
905
|
# @!attribute [rw] contexts
|
908
906
|
# Additional information about the batch build phase. Especially to
|
909
|
-
# help troubleshoot a failed
|
907
|
+
# help troubleshoot a failed batch build.
|
910
908
|
# @return [Array<Types::PhaseContext>]
|
911
909
|
#
|
912
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatchPhase AWS API Documentation
|
@@ -1520,6 +1518,7 @@ module Aws::CodeBuild
|
|
1520
1518
|
# },
|
1521
1519
|
# timeout_in_mins: 1,
|
1522
1520
|
# },
|
1521
|
+
# concurrent_build_limit: 1,
|
1523
1522
|
# }
|
1524
1523
|
#
|
1525
1524
|
# @!attribute [rw] name
|
@@ -1558,8 +1557,8 @@ module Aws::CodeBuild
|
|
1558
1557
|
# used. If not specified, the default branch's HEAD commit ID is
|
1559
1558
|
# used.
|
1560
1559
|
#
|
1561
|
-
# * For Amazon
|
1562
|
-
#
|
1560
|
+
# * For Amazon S3: the version ID of the object that represents the
|
1561
|
+
# build input ZIP file to use.
|
1563
1562
|
#
|
1564
1563
|
# If `sourceVersion` is specified at the build level, then that
|
1565
1564
|
# version takes precedence over this `sourceVersion` (at the project
|
@@ -1664,6 +1663,15 @@ module Aws::CodeBuild
|
|
1664
1663
|
# options for the project.
|
1665
1664
|
# @return [Types::ProjectBuildBatchConfig]
|
1666
1665
|
#
|
1666
|
+
# @!attribute [rw] concurrent_build_limit
|
1667
|
+
# The maximum number of concurrent builds that are allowed for this
|
1668
|
+
# project.
|
1669
|
+
#
|
1670
|
+
# New builds are only started if the current number of builds is less
|
1671
|
+
# than or equal to this limit. If the current build count meets this
|
1672
|
+
# limit, new builds are throttled and are not run.
|
1673
|
+
# @return [Integer]
|
1674
|
+
#
|
1667
1675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
|
1668
1676
|
#
|
1669
1677
|
class CreateProjectInput < Struct.new(
|
@@ -1686,7 +1694,8 @@ module Aws::CodeBuild
|
|
1686
1694
|
:badge_enabled,
|
1687
1695
|
:logs_config,
|
1688
1696
|
:file_system_locations,
|
1689
|
-
:build_batch_config
|
1697
|
+
:build_batch_config,
|
1698
|
+
:concurrent_build_limit)
|
1690
1699
|
SENSITIVE = []
|
1691
1700
|
include Aws::Structure
|
1692
1701
|
end
|
@@ -1713,6 +1722,7 @@ module Aws::CodeBuild
|
|
1713
1722
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
1714
1723
|
# s3_destination: {
|
1715
1724
|
# bucket: "NonEmptyString",
|
1725
|
+
# bucket_owner: "String",
|
1716
1726
|
# path: "String",
|
1717
1727
|
# packaging: "ZIP", # accepts ZIP, NONE
|
1718
1728
|
# encryption_key: "NonEmptyString",
|
@@ -2384,6 +2394,106 @@ module Aws::CodeBuild
|
|
2384
2394
|
include Aws::Structure
|
2385
2395
|
end
|
2386
2396
|
|
2397
|
+
# @note When making an API call, you may pass GetReportGroupTrendInput
|
2398
|
+
# data as a hash:
|
2399
|
+
#
|
2400
|
+
# {
|
2401
|
+
# report_group_arn: "NonEmptyString", # required
|
2402
|
+
# num_of_reports: 1,
|
2403
|
+
# trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
|
2404
|
+
# }
|
2405
|
+
#
|
2406
|
+
# @!attribute [rw] report_group_arn
|
2407
|
+
# The ARN of the report group that contains the reports to analyze.
|
2408
|
+
# @return [String]
|
2409
|
+
#
|
2410
|
+
# @!attribute [rw] num_of_reports
|
2411
|
+
# The number of reports to analyze. This operation always retrieves
|
2412
|
+
# the most recent reports.
|
2413
|
+
#
|
2414
|
+
# If this parameter is omitted, the most recent 100 reports are
|
2415
|
+
# analyzed.
|
2416
|
+
# @return [Integer]
|
2417
|
+
#
|
2418
|
+
# @!attribute [rw] trend_field
|
2419
|
+
# The test report value to accumulate. This must be one of the
|
2420
|
+
# following values:
|
2421
|
+
#
|
2422
|
+
# Test reports:
|
2423
|
+
# : DURATION
|
2424
|
+
#
|
2425
|
+
# : Accumulate the test run times for the specified reports.
|
2426
|
+
#
|
2427
|
+
# PASS\_RATE
|
2428
|
+
#
|
2429
|
+
# : Accumulate the percentage of tests that passed for the specified
|
2430
|
+
# test reports.
|
2431
|
+
#
|
2432
|
+
# TOTAL
|
2433
|
+
#
|
2434
|
+
# : Accumulate the total number of tests for the specified test
|
2435
|
+
# reports.
|
2436
|
+
# ^
|
2437
|
+
#
|
2438
|
+
# Code coverage reports:
|
2439
|
+
# : BRANCH\_COVERAGE
|
2440
|
+
#
|
2441
|
+
# : Accumulate the branch coverage percentages for the specified
|
2442
|
+
# test reports.
|
2443
|
+
#
|
2444
|
+
# BRANCHES\_COVERED
|
2445
|
+
#
|
2446
|
+
# : Accumulate the branches covered values for the specified test
|
2447
|
+
# reports.
|
2448
|
+
#
|
2449
|
+
# BRANCHES\_MISSED
|
2450
|
+
#
|
2451
|
+
# : Accumulate the branches missed values for the specified test
|
2452
|
+
# reports.
|
2453
|
+
#
|
2454
|
+
# LINE\_COVERAGE
|
2455
|
+
#
|
2456
|
+
# : Accumulate the line coverage percentages for the specified test
|
2457
|
+
# reports.
|
2458
|
+
#
|
2459
|
+
# LINES\_COVERED
|
2460
|
+
#
|
2461
|
+
# : Accumulate the lines covered values for the specified test
|
2462
|
+
# reports.
|
2463
|
+
#
|
2464
|
+
# LINES\_MISSED
|
2465
|
+
#
|
2466
|
+
# : Accumulate the lines not covered values for the specified test
|
2467
|
+
# reports.
|
2468
|
+
# @return [String]
|
2469
|
+
#
|
2470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendInput AWS API Documentation
|
2471
|
+
#
|
2472
|
+
class GetReportGroupTrendInput < Struct.new(
|
2473
|
+
:report_group_arn,
|
2474
|
+
:num_of_reports,
|
2475
|
+
:trend_field)
|
2476
|
+
SENSITIVE = []
|
2477
|
+
include Aws::Structure
|
2478
|
+
end
|
2479
|
+
|
2480
|
+
# @!attribute [rw] stats
|
2481
|
+
# Contains the accumulated trend data.
|
2482
|
+
# @return [Types::ReportGroupTrendStats]
|
2483
|
+
#
|
2484
|
+
# @!attribute [rw] raw_data
|
2485
|
+
# An array that contains the raw data for each report.
|
2486
|
+
# @return [Array<Types::ReportWithRawData>]
|
2487
|
+
#
|
2488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendOutput AWS API Documentation
|
2489
|
+
#
|
2490
|
+
class GetReportGroupTrendOutput < Struct.new(
|
2491
|
+
:stats,
|
2492
|
+
:raw_data)
|
2493
|
+
SENSITIVE = []
|
2494
|
+
include Aws::Structure
|
2495
|
+
end
|
2496
|
+
|
2387
2497
|
# @note When making an API call, you may pass GetResourcePolicyInput
|
2388
2498
|
# data as a hash:
|
2389
2499
|
#
|
@@ -2688,11 +2798,17 @@ module Aws::CodeBuild
|
|
2688
2798
|
# @return [String]
|
2689
2799
|
#
|
2690
2800
|
# @!attribute [rw] sort_order
|
2691
|
-
# The order to list
|
2801
|
+
# The order to list results in. The results are sorted by build
|
2802
|
+
# number, not the build identifier.
|
2803
|
+
#
|
2804
|
+
# Valid values include:
|
2692
2805
|
#
|
2693
2806
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2694
2807
|
#
|
2695
2808
|
# * `DESCENDING`\: List the build IDs in descending order by build ID.
|
2809
|
+
#
|
2810
|
+
# If the project has more than 100 builds, setting the sort order will
|
2811
|
+
# result in an error.
|
2696
2812
|
# @return [String]
|
2697
2813
|
#
|
2698
2814
|
# @!attribute [rw] next_token
|
@@ -3489,8 +3605,8 @@ module Aws::CodeBuild
|
|
3489
3605
|
# used. If not specified, the default branch's HEAD commit ID is
|
3490
3606
|
# used.
|
3491
3607
|
#
|
3492
|
-
# * For Amazon
|
3493
|
-
#
|
3608
|
+
# * For Amazon S3: the version ID of the object that represents the
|
3609
|
+
# build input ZIP file to use.
|
3494
3610
|
#
|
3495
3611
|
# If `sourceVersion` is specified at the build level, then that
|
3496
3612
|
# version takes precedence over this `sourceVersion` (at the project
|
@@ -3604,6 +3720,15 @@ module Aws::CodeBuild
|
|
3604
3720
|
# options for the project.
|
3605
3721
|
# @return [Types::ProjectBuildBatchConfig]
|
3606
3722
|
#
|
3723
|
+
# @!attribute [rw] concurrent_build_limit
|
3724
|
+
# The maximum number of concurrent builds that are allowed for this
|
3725
|
+
# project.
|
3726
|
+
#
|
3727
|
+
# New builds are only started if the current number of builds is less
|
3728
|
+
# than or equal to this limit. If the current build count meets this
|
3729
|
+
# limit, new builds are throttled and are not run.
|
3730
|
+
# @return [Integer]
|
3731
|
+
#
|
3607
3732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
3608
3733
|
#
|
3609
3734
|
class Project < Struct.new(
|
@@ -3630,7 +3755,8 @@ module Aws::CodeBuild
|
|
3630
3755
|
:badge,
|
3631
3756
|
:logs_config,
|
3632
3757
|
:file_system_locations,
|
3633
|
-
:build_batch_config
|
3758
|
+
:build_batch_config,
|
3759
|
+
:concurrent_build_limit)
|
3634
3760
|
SENSITIVE = []
|
3635
3761
|
include Aws::Structure
|
3636
3762
|
end
|
@@ -3665,8 +3791,7 @@ module Aws::CodeBuild
|
|
3665
3791
|
# * `NO_ARTIFACTS`\: The build project does not produce any build
|
3666
3792
|
# output.
|
3667
3793
|
#
|
3668
|
-
# * `S3`\: The build project stores build output in Amazon
|
3669
|
-
# Storage Service (Amazon S3).
|
3794
|
+
# * `S3`\: The build project stores build output in Amazon S3.
|
3670
3795
|
# @return [String]
|
3671
3796
|
#
|
3672
3797
|
# @!attribute [rw] location
|
@@ -3786,9 +3911,8 @@ module Aws::CodeBuild
|
|
3786
3911
|
#
|
3787
3912
|
# @!attribute [rw] encryption_disabled
|
3788
3913
|
# Set to true if you do not want your output artifacts encrypted. This
|
3789
|
-
# option is valid only if your artifacts type is Amazon
|
3790
|
-
#
|
3791
|
-
# invalidInputException is thrown.
|
3914
|
+
# option is valid only if your artifacts type is Amazon S3. If this is
|
3915
|
+
# set with another artifacts type, an invalidInputException is thrown.
|
3792
3916
|
# @return [Boolean]
|
3793
3917
|
#
|
3794
3918
|
# @!attribute [rw] artifact_identifier
|
@@ -3821,9 +3945,6 @@ module Aws::CodeBuild
|
|
3821
3945
|
# @!attribute [rw] badge_request_url
|
3822
3946
|
# The publicly-accessible URL through which you can access the build
|
3823
3947
|
# badge for your project.
|
3824
|
-
#
|
3825
|
-
# The publicly accessible URL through which you can access the build
|
3826
|
-
# badge for your project.
|
3827
3948
|
# @return [String]
|
3828
3949
|
#
|
3829
3950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge AWS API Documentation
|
@@ -4102,10 +4223,9 @@ module Aws::CodeBuild
|
|
4102
4223
|
# @return [Boolean]
|
4103
4224
|
#
|
4104
4225
|
# @!attribute [rw] certificate
|
4105
|
-
# The ARN of the Amazon
|
4106
|
-
#
|
4107
|
-
# certificate
|
4108
|
-
# [certificate][1] in the *AWS CodeBuild User Guide*.
|
4226
|
+
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
4227
|
+
# contains the PEM-encoded certificate for the build project. For more
|
4228
|
+
# information, see [certificate][1] in the *AWS CodeBuild User Guide*.
|
4109
4229
|
#
|
4110
4230
|
#
|
4111
4231
|
#
|
@@ -4267,8 +4387,7 @@ module Aws::CodeBuild
|
|
4267
4387
|
#
|
4268
4388
|
# * `NO_SOURCE`\: The project does not have input source code.
|
4269
4389
|
#
|
4270
|
-
# * `S3`\: The source code is in an Amazon
|
4271
|
-
# (Amazon S3) input bucket.
|
4390
|
+
# * `S3`\: The source code is in an Amazon S3 input bucket.
|
4272
4391
|
# @return [String]
|
4273
4392
|
#
|
4274
4393
|
# @!attribute [rw] location
|
@@ -4286,8 +4405,8 @@ module Aws::CodeBuild
|
|
4286
4405
|
# buildspec file (for example,
|
4287
4406
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
4288
4407
|
#
|
4289
|
-
# * For source code in an Amazon
|
4290
|
-
#
|
4408
|
+
# * For source code in an Amazon S3 input bucket, one of the
|
4409
|
+
# following.
|
4291
4410
|
#
|
4292
4411
|
# * The path to the ZIP file that contains the source code (for
|
4293
4412
|
# example, `<bucket-name>/<path>/<object-name>.zip`).
|
@@ -4362,13 +4481,23 @@ module Aws::CodeBuild
|
|
4362
4481
|
# Set to true to report the status of a build's start and finish to
|
4363
4482
|
# your source provider. This option is valid only when your source
|
4364
4483
|
# provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set
|
4365
|
-
# and you use a different source provider, an invalidInputException
|
4366
|
-
# thrown.
|
4484
|
+
# and you use a different source provider, an `invalidInputException`
|
4485
|
+
# is thrown.
|
4486
|
+
#
|
4487
|
+
# To be able to report the build status to the source provider, the
|
4488
|
+
# user associated with the source provider must have write access to
|
4489
|
+
# the repo. If the user does not have write access, the build status
|
4490
|
+
# cannot be updated. For more information, see [Source provider
|
4491
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
4367
4492
|
#
|
4368
4493
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
4369
4494
|
# your source provider.
|
4370
4495
|
#
|
4371
4496
|
# </note>
|
4497
|
+
#
|
4498
|
+
#
|
4499
|
+
#
|
4500
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
4372
4501
|
# @return [Boolean]
|
4373
4502
|
#
|
4374
4503
|
# @!attribute [rw] build_status_config
|
@@ -4437,8 +4566,8 @@ module Aws::CodeBuild
|
|
4437
4566
|
# used. If not specified, the default branch's HEAD commit ID is
|
4438
4567
|
# used.
|
4439
4568
|
#
|
4440
|
-
# * For Amazon
|
4441
|
-
#
|
4569
|
+
# * For Amazon S3: the version ID of the object that represents the
|
4570
|
+
# build input ZIP file to use.
|
4442
4571
|
#
|
4443
4572
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
4444
4573
|
# in the *AWS CodeBuild User Guide*.
|
@@ -4647,6 +4776,7 @@ module Aws::CodeBuild
|
|
4647
4776
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
4648
4777
|
# s3_destination: {
|
4649
4778
|
# bucket: "NonEmptyString",
|
4779
|
+
# bucket_owner: "String",
|
4650
4780
|
# path: "String",
|
4651
4781
|
# packaging: "ZIP", # accepts ZIP, NONE
|
4652
4782
|
# encryption_key: "NonEmptyString",
|
@@ -4705,15 +4835,24 @@ module Aws::CodeBuild
|
|
4705
4835
|
# one or more paths to the test case files.
|
4706
4836
|
#
|
4707
4837
|
# @!attribute [rw] arn
|
4708
|
-
# The ARN of
|
4838
|
+
# The ARN of the `ReportGroup`.
|
4709
4839
|
# @return [String]
|
4710
4840
|
#
|
4711
4841
|
# @!attribute [rw] name
|
4712
|
-
# The name of
|
4842
|
+
# The name of the `ReportGroup`.
|
4713
4843
|
# @return [String]
|
4714
4844
|
#
|
4715
4845
|
# @!attribute [rw] type
|
4716
|
-
# The type of the `ReportGroup`.
|
4846
|
+
# The type of the `ReportGroup`. This can be one of the following
|
4847
|
+
# values:
|
4848
|
+
#
|
4849
|
+
# CODE\_COVERAGE
|
4850
|
+
#
|
4851
|
+
# : The report group contains code coverage reports.
|
4852
|
+
#
|
4853
|
+
# TEST
|
4854
|
+
#
|
4855
|
+
# : The report group contains test reports.
|
4717
4856
|
# @return [String]
|
4718
4857
|
#
|
4719
4858
|
# @!attribute [rw] export_config
|
@@ -4737,6 +4876,17 @@ module Aws::CodeBuild
|
|
4737
4876
|
# @return [Array<Types::Tag>]
|
4738
4877
|
#
|
4739
4878
|
# @!attribute [rw] status
|
4879
|
+
# The status of the report group. This property is read-only.
|
4880
|
+
#
|
4881
|
+
# This can be one of the following values:
|
4882
|
+
#
|
4883
|
+
# ACTIVE
|
4884
|
+
#
|
4885
|
+
# : The report group is active.
|
4886
|
+
#
|
4887
|
+
# DELETING
|
4888
|
+
#
|
4889
|
+
# : The report group is in the process of being deleted.
|
4740
4890
|
# @return [String]
|
4741
4891
|
#
|
4742
4892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
|
@@ -4754,9 +4904,55 @@ module Aws::CodeBuild
|
|
4754
4904
|
include Aws::Structure
|
4755
4905
|
end
|
4756
4906
|
|
4907
|
+
# Contains trend statistics for a set of reports. The actual values
|
4908
|
+
# depend on the type of trend being collected. For more information, see
|
4909
|
+
# .
|
4910
|
+
#
|
4911
|
+
# @!attribute [rw] average
|
4912
|
+
# Contains the average of all values analyzed.
|
4913
|
+
# @return [String]
|
4914
|
+
#
|
4915
|
+
# @!attribute [rw] max
|
4916
|
+
# Contains the maximum value analyzed.
|
4917
|
+
# @return [String]
|
4918
|
+
#
|
4919
|
+
# @!attribute [rw] min
|
4920
|
+
# Contains the minimum value analyzed.
|
4921
|
+
# @return [String]
|
4922
|
+
#
|
4923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroupTrendStats AWS API Documentation
|
4924
|
+
#
|
4925
|
+
class ReportGroupTrendStats < Struct.new(
|
4926
|
+
:average,
|
4927
|
+
:max,
|
4928
|
+
:min)
|
4929
|
+
SENSITIVE = []
|
4930
|
+
include Aws::Structure
|
4931
|
+
end
|
4932
|
+
|
4933
|
+
# Contains the unmodified data for the report. For more information, see
|
4934
|
+
# .
|
4935
|
+
#
|
4936
|
+
# @!attribute [rw] report_arn
|
4937
|
+
# The ARN of the report.
|
4938
|
+
# @return [String]
|
4939
|
+
#
|
4940
|
+
# @!attribute [rw] data
|
4941
|
+
# The value of the requested data field from the report.
|
4942
|
+
# @return [String]
|
4943
|
+
#
|
4944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportWithRawData AWS API Documentation
|
4945
|
+
#
|
4946
|
+
class ReportWithRawData < Struct.new(
|
4947
|
+
:report_arn,
|
4948
|
+
:data)
|
4949
|
+
SENSITIVE = []
|
4950
|
+
include Aws::Structure
|
4951
|
+
end
|
4952
|
+
|
4757
4953
|
# Represents a resolved build artifact. A resolve artifact is an
|
4758
4954
|
# artifact that is built and deployed to the destination, such as Amazon
|
4759
|
-
#
|
4955
|
+
# S3.
|
4760
4956
|
#
|
4761
4957
|
# @!attribute [rw] type
|
4762
4958
|
# Specifies the type of artifact.
|
@@ -4931,6 +5127,7 @@ module Aws::CodeBuild
|
|
4931
5127
|
#
|
4932
5128
|
# {
|
4933
5129
|
# bucket: "NonEmptyString",
|
5130
|
+
# bucket_owner: "String",
|
4934
5131
|
# path: "String",
|
4935
5132
|
# packaging: "ZIP", # accepts ZIP, NONE
|
4936
5133
|
# encryption_key: "NonEmptyString",
|
@@ -4942,6 +5139,12 @@ module Aws::CodeBuild
|
|
4942
5139
|
# exported.
|
4943
5140
|
# @return [String]
|
4944
5141
|
#
|
5142
|
+
# @!attribute [rw] bucket_owner
|
5143
|
+
# The AWS account identifier of the owner of the Amazon S3 bucket.
|
5144
|
+
# This allows report data to be exported to an Amazon S3 bucket that
|
5145
|
+
# is owned by an account other than the account running the build.
|
5146
|
+
# @return [String]
|
5147
|
+
#
|
4945
5148
|
# @!attribute [rw] path
|
4946
5149
|
# The path to the exported report's raw data results.
|
4947
5150
|
# @return [String]
|
@@ -4969,6 +5172,7 @@ module Aws::CodeBuild
|
|
4969
5172
|
#
|
4970
5173
|
class S3ReportExportConfig < Struct.new(
|
4971
5174
|
:bucket,
|
5175
|
+
:bucket_owner,
|
4972
5176
|
:path,
|
4973
5177
|
:packaging,
|
4974
5178
|
:encryption_key,
|
@@ -5200,7 +5404,7 @@ module Aws::CodeBuild
|
|
5200
5404
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
5201
5405
|
# the default branch's HEAD commit ID is used.
|
5202
5406
|
#
|
5203
|
-
# Amazon
|
5407
|
+
# Amazon S3
|
5204
5408
|
#
|
5205
5409
|
# : The version ID of the object that represents the build input ZIP
|
5206
5410
|
# file to use.
|
@@ -5606,7 +5810,7 @@ module Aws::CodeBuild
|
|
5606
5810
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
5607
5811
|
# the default branch's HEAD commit ID is used.
|
5608
5812
|
#
|
5609
|
-
# Amazon
|
5813
|
+
# Amazon S3
|
5610
5814
|
#
|
5611
5815
|
# : The version ID of the object that represents the build input ZIP
|
5612
5816
|
# file to use.
|
@@ -5694,12 +5898,22 @@ module Aws::CodeBuild
|
|
5694
5898
|
# Set to true to report to your source provider the status of a
|
5695
5899
|
# build's start and completion. If you use this option with a source
|
5696
5900
|
# provider other than GitHub, GitHub Enterprise, or Bitbucket, an
|
5697
|
-
# invalidInputException is thrown.
|
5901
|
+
# `invalidInputException` is thrown.
|
5902
|
+
#
|
5903
|
+
# To be able to report the build status to the source provider, the
|
5904
|
+
# user associated with the source provider must have write access to
|
5905
|
+
# the repo. If the user does not have write access, the build status
|
5906
|
+
# cannot be updated. For more information, see [Source provider
|
5907
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
5698
5908
|
#
|
5699
5909
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
5700
5910
|
# your source provider.
|
5701
5911
|
#
|
5702
5912
|
# </note>
|
5913
|
+
#
|
5914
|
+
#
|
5915
|
+
#
|
5916
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
5703
5917
|
# @return [Boolean]
|
5704
5918
|
#
|
5705
5919
|
# @!attribute [rw] build_status_config_override
|
@@ -6231,6 +6445,7 @@ module Aws::CodeBuild
|
|
6231
6445
|
# },
|
6232
6446
|
# timeout_in_mins: 1,
|
6233
6447
|
# },
|
6448
|
+
# concurrent_build_limit: 1,
|
6234
6449
|
# }
|
6235
6450
|
#
|
6236
6451
|
# @!attribute [rw] name
|
@@ -6274,8 +6489,8 @@ module Aws::CodeBuild
|
|
6274
6489
|
# used. If not specified, the default branch's HEAD commit ID is
|
6275
6490
|
# used.
|
6276
6491
|
#
|
6277
|
-
# * For Amazon
|
6278
|
-
#
|
6492
|
+
# * For Amazon S3: the version ID of the object that represents the
|
6493
|
+
# build input ZIP file to use.
|
6279
6494
|
#
|
6280
6495
|
# If `sourceVersion` is specified at the build level, then that
|
6281
6496
|
# version takes precedence over this `sourceVersion` (at the project
|
@@ -6379,6 +6594,17 @@ module Aws::CodeBuild
|
|
6379
6594
|
# Contains configuration information about a batch build project.
|
6380
6595
|
# @return [Types::ProjectBuildBatchConfig]
|
6381
6596
|
#
|
6597
|
+
# @!attribute [rw] concurrent_build_limit
|
6598
|
+
# The maximum number of concurrent builds that are allowed for this
|
6599
|
+
# project.
|
6600
|
+
#
|
6601
|
+
# New builds are only started if the current number of builds is less
|
6602
|
+
# than or equal to this limit. If the current build count meets this
|
6603
|
+
# limit, new builds are throttled and are not run.
|
6604
|
+
#
|
6605
|
+
# To remove this limit, set this value to -1.
|
6606
|
+
# @return [Integer]
|
6607
|
+
#
|
6382
6608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
|
6383
6609
|
#
|
6384
6610
|
class UpdateProjectInput < Struct.new(
|
@@ -6401,7 +6627,8 @@ module Aws::CodeBuild
|
|
6401
6627
|
:badge_enabled,
|
6402
6628
|
:logs_config,
|
6403
6629
|
:file_system_locations,
|
6404
|
-
:build_batch_config
|
6630
|
+
:build_batch_config,
|
6631
|
+
:concurrent_build_limit)
|
6405
6632
|
SENSITIVE = []
|
6406
6633
|
include Aws::Structure
|
6407
6634
|
end
|
@@ -6427,6 +6654,7 @@ module Aws::CodeBuild
|
|
6427
6654
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
6428
6655
|
# s3_destination: {
|
6429
6656
|
# bucket: "NonEmptyString",
|
6657
|
+
# bucket_owner: "String",
|
6430
6658
|
# path: "String",
|
6431
6659
|
# packaging: "ZIP", # accepts ZIP, NONE
|
6432
6660
|
# 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.
|
4
|
+
version: 1.69.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:
|
11
|
+
date: 2021-02-18 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.
|
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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|