aws-sdk-codebuild 1.62.0 → 1.67.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 +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +121 -6
- data/lib/aws-sdk-codebuild/client_api.rb +38 -0
- data/lib/aws-sdk-codebuild/types.rb +242 -34
- 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: cae8053cc7b35bfbd25cb00dd9b9a7f6c247d051e3e221adefb503f1c8fb5318
|
4
|
+
data.tar.gz: a3737804d7b0ac423db2b82f9370916ca676bc24fce6bc2743938f0c17d1bc74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33ca2dc78ddb270d699869490aa7aaeb8b49c41ce1b8c8f40d3569967a8fd80b8111d0cf31638c6f5afaf3723191fcb29d5d024ed5c49ccf7c9de9ed4409926c
|
7
|
+
data.tar.gz: 751a50bd78f450e4de71fa336b98d71bfa12d4691f34c2444f95b6b5cbf692e0dcd04e233ee283e3ff1e560bda97b5fa1da46c36b3fa6449ffdd62be17405362
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -1110,6 +1110,7 @@ module Aws::CodeBuild
|
|
1110
1110
|
# resp.report_groups[0].tags #=> Array
|
1111
1111
|
# resp.report_groups[0].tags[0].key #=> String
|
1112
1112
|
# resp.report_groups[0].tags[0].value #=> String
|
1113
|
+
# resp.report_groups[0].status #=> String, one of "ACTIVE", "DELETING"
|
1113
1114
|
# resp.report_groups_not_found #=> Array
|
1114
1115
|
# resp.report_groups_not_found[0] #=> String
|
1115
1116
|
#
|
@@ -1638,6 +1639,7 @@ module Aws::CodeBuild
|
|
1638
1639
|
# resp.report_group.tags #=> Array
|
1639
1640
|
# resp.report_group.tags[0].key #=> String
|
1640
1641
|
# resp.report_group.tags[0].value #=> String
|
1642
|
+
# resp.report_group.status #=> String, one of "ACTIVE", "DELETING"
|
1641
1643
|
#
|
1642
1644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup AWS API Documentation
|
1643
1645
|
#
|
@@ -2070,6 +2072,101 @@ module Aws::CodeBuild
|
|
2070
2072
|
req.send_request(options)
|
2071
2073
|
end
|
2072
2074
|
|
2075
|
+
# Analyzes and accumulates test report values for the specified test
|
2076
|
+
# reports.
|
2077
|
+
#
|
2078
|
+
# @option params [required, String] :report_group_arn
|
2079
|
+
# The ARN of the report group that contains the reports to analyze.
|
2080
|
+
#
|
2081
|
+
# @option params [Integer] :num_of_reports
|
2082
|
+
# The number of reports to analyze. This operation always retrieves the
|
2083
|
+
# most recent reports.
|
2084
|
+
#
|
2085
|
+
# If this parameter is omitted, the most recent 100 reports are
|
2086
|
+
# analyzed.
|
2087
|
+
#
|
2088
|
+
# @option params [required, String] :trend_field
|
2089
|
+
# The test report value to accumulate. This must be one of the following
|
2090
|
+
# values:
|
2091
|
+
#
|
2092
|
+
# Test reports:
|
2093
|
+
# : DURATION
|
2094
|
+
#
|
2095
|
+
# : Accumulate the test run times for the specified reports.
|
2096
|
+
#
|
2097
|
+
# PASS\_RATE
|
2098
|
+
#
|
2099
|
+
# : Accumulate the percentage of tests that passed for the specified
|
2100
|
+
# test reports.
|
2101
|
+
#
|
2102
|
+
# TOTAL
|
2103
|
+
#
|
2104
|
+
# : Accumulate the total number of tests for the specified test
|
2105
|
+
# reports.
|
2106
|
+
# ^
|
2107
|
+
#
|
2108
|
+
# Code coverage reports:
|
2109
|
+
# : BRANCH\_COVERAGE
|
2110
|
+
#
|
2111
|
+
# : Accumulate the branch coverage percentages for the specified test
|
2112
|
+
# reports.
|
2113
|
+
#
|
2114
|
+
# BRANCHES\_COVERED
|
2115
|
+
#
|
2116
|
+
# : Accumulate the branches covered values for the specified test
|
2117
|
+
# reports.
|
2118
|
+
#
|
2119
|
+
# BRANCHES\_MISSED
|
2120
|
+
#
|
2121
|
+
# : Accumulate the branches missed values for the specified test
|
2122
|
+
# reports.
|
2123
|
+
#
|
2124
|
+
# LINE\_COVERAGE
|
2125
|
+
#
|
2126
|
+
# : Accumulate the line coverage percentages for the specified test
|
2127
|
+
# reports.
|
2128
|
+
#
|
2129
|
+
# LINES\_COVERED
|
2130
|
+
#
|
2131
|
+
# : Accumulate the lines covered values for the specified test
|
2132
|
+
# reports.
|
2133
|
+
#
|
2134
|
+
# LINES\_MISSED
|
2135
|
+
#
|
2136
|
+
# : Accumulate the lines not covered values for the specified test
|
2137
|
+
# reports.
|
2138
|
+
#
|
2139
|
+
# @return [Types::GetReportGroupTrendOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2140
|
+
#
|
2141
|
+
# * {Types::GetReportGroupTrendOutput#stats #stats} => Types::ReportGroupTrendStats
|
2142
|
+
# * {Types::GetReportGroupTrendOutput#raw_data #raw_data} => Array<Types::ReportWithRawData>
|
2143
|
+
#
|
2144
|
+
# @example Request syntax with placeholder values
|
2145
|
+
#
|
2146
|
+
# resp = client.get_report_group_trend({
|
2147
|
+
# report_group_arn: "NonEmptyString", # required
|
2148
|
+
# num_of_reports: 1,
|
2149
|
+
# trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
|
2150
|
+
# })
|
2151
|
+
#
|
2152
|
+
# @example Response structure
|
2153
|
+
#
|
2154
|
+
# resp.stats.average #=> String
|
2155
|
+
# resp.stats.max #=> String
|
2156
|
+
# resp.stats.min #=> String
|
2157
|
+
# resp.raw_data #=> Array
|
2158
|
+
# resp.raw_data[0].report_arn #=> String
|
2159
|
+
# resp.raw_data[0].data #=> String
|
2160
|
+
#
|
2161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrend AWS API Documentation
|
2162
|
+
#
|
2163
|
+
# @overload get_report_group_trend(params = {})
|
2164
|
+
# @param [Hash] params ({})
|
2165
|
+
def get_report_group_trend(params = {}, options = {})
|
2166
|
+
req = build_request(:get_report_group_trend, params)
|
2167
|
+
req.send_request(options)
|
2168
|
+
end
|
2169
|
+
|
2073
2170
|
# Gets a resource policy that is identified by its resource ARN.
|
2074
2171
|
#
|
2075
2172
|
# @option params [required, String] :resource_arn
|
@@ -2337,19 +2434,25 @@ module Aws::CodeBuild
|
|
2337
2434
|
req.send_request(options)
|
2338
2435
|
end
|
2339
2436
|
|
2340
|
-
# Gets a list of build
|
2341
|
-
# build
|
2437
|
+
# Gets a list of build identifiers for the specified build project, with
|
2438
|
+
# each build identifier representing a single build.
|
2342
2439
|
#
|
2343
2440
|
# @option params [required, String] :project_name
|
2344
2441
|
# The name of the AWS CodeBuild project.
|
2345
2442
|
#
|
2346
2443
|
# @option params [String] :sort_order
|
2347
|
-
# The order to list
|
2444
|
+
# The order to list results in. The results are sorted by build number,
|
2445
|
+
# not the build identifier.
|
2446
|
+
#
|
2447
|
+
# Valid values include:
|
2348
2448
|
#
|
2349
2449
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2350
2450
|
#
|
2351
2451
|
# * `DESCENDING`\: List the build IDs in descending order by build ID.
|
2352
2452
|
#
|
2453
|
+
# If the project has more than 100 builds, setting the sort order will
|
2454
|
+
# result in an error.
|
2455
|
+
#
|
2353
2456
|
# @option params [String] :next_token
|
2354
2457
|
# During a previous call, if there are more than 100 items in the list,
|
2355
2458
|
# only the first 100 items are returned, along with a unique string
|
@@ -3009,7 +3112,8 @@ module Aws::CodeBuild
|
|
3009
3112
|
req.send_request(options)
|
3010
3113
|
end
|
3011
3114
|
|
3012
|
-
# Restarts a batch build.
|
3115
|
+
# Restarts a failed batch build. Only batch builds that have failed can
|
3116
|
+
# be retried.
|
3013
3117
|
#
|
3014
3118
|
# @option params [String] :id
|
3015
3119
|
# Specifies the identifier of the batch build to restart.
|
@@ -3294,13 +3398,23 @@ module Aws::CodeBuild
|
|
3294
3398
|
# Set to true to report to your source provider the status of a build's
|
3295
3399
|
# start and completion. If you use this option with a source provider
|
3296
3400
|
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3297
|
-
# invalidInputException is thrown.
|
3401
|
+
# `invalidInputException` is thrown.
|
3402
|
+
#
|
3403
|
+
# To be able to report the build status to the source provider, the user
|
3404
|
+
# associated with the source provider must have write access to the
|
3405
|
+
# repo. If the user does not have write access, the build status cannot
|
3406
|
+
# be updated. For more information, see [Source provider access][1] in
|
3407
|
+
# the *AWS CodeBuild User Guide*.
|
3298
3408
|
#
|
3299
3409
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3300
3410
|
# your source provider.
|
3301
3411
|
#
|
3302
3412
|
# </note>
|
3303
3413
|
#
|
3414
|
+
#
|
3415
|
+
#
|
3416
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
3417
|
+
#
|
3304
3418
|
# @option params [Types::BuildStatusConfig] :build_status_config_override
|
3305
3419
|
# Contains information that defines how the build project reports the
|
3306
3420
|
# build status to the source provider. This option is only used when the
|
@@ -4884,6 +4998,7 @@ module Aws::CodeBuild
|
|
4884
4998
|
# resp.report_group.tags #=> Array
|
4885
4999
|
# resp.report_group.tags[0].key #=> String
|
4886
5000
|
# resp.report_group.tags[0].value #=> String
|
5001
|
+
# resp.report_group.status #=> String, one of "ACTIVE", "DELETING"
|
4887
5002
|
#
|
4888
5003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup AWS API Documentation
|
4889
5004
|
#
|
@@ -4985,7 +5100,7 @@ module Aws::CodeBuild
|
|
4985
5100
|
params: params,
|
4986
5101
|
config: config)
|
4987
5102
|
context[:gem_name] = 'aws-sdk-codebuild'
|
4988
|
-
context[:gem_version] = '1.
|
5103
|
+
context[:gem_version] = '1.67.0'
|
4989
5104
|
Seahorse::Client::Request.new(handlers, context)
|
4990
5105
|
end
|
4991
5106
|
|
@@ -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')
|
@@ -187,11 +189,16 @@ module Aws::CodeBuild
|
|
187
189
|
ReportGroupArns = Shapes::ListShape.new(name: 'ReportGroupArns')
|
188
190
|
ReportGroupName = Shapes::StringShape.new(name: 'ReportGroupName')
|
189
191
|
ReportGroupSortByType = Shapes::StringShape.new(name: 'ReportGroupSortByType')
|
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')
|
190
196
|
ReportGroups = Shapes::ListShape.new(name: 'ReportGroups')
|
191
197
|
ReportPackagingType = Shapes::StringShape.new(name: 'ReportPackagingType')
|
192
198
|
ReportStatusCounts = Shapes::MapShape.new(name: 'ReportStatusCounts')
|
193
199
|
ReportStatusType = Shapes::StringShape.new(name: 'ReportStatusType')
|
194
200
|
ReportType = Shapes::StringShape.new(name: 'ReportType')
|
201
|
+
ReportWithRawData = Shapes::StructureShape.new(name: 'ReportWithRawData')
|
195
202
|
Reports = Shapes::ListShape.new(name: 'Reports')
|
196
203
|
ResolvedArtifact = Shapes::StructureShape.new(name: 'ResolvedArtifact')
|
197
204
|
ResolvedSecondaryArtifacts = Shapes::ListShape.new(name: 'ResolvedSecondaryArtifacts')
|
@@ -608,6 +615,15 @@ module Aws::CodeBuild
|
|
608
615
|
|
609
616
|
FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
|
610
617
|
|
618
|
+
GetReportGroupTrendInput.add_member(:report_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "reportGroupArn"))
|
619
|
+
GetReportGroupTrendInput.add_member(:num_of_reports, Shapes::ShapeRef.new(shape: PageSize, location_name: "numOfReports"))
|
620
|
+
GetReportGroupTrendInput.add_member(:trend_field, Shapes::ShapeRef.new(shape: ReportGroupTrendFieldType, required: true, location_name: "trendField"))
|
621
|
+
GetReportGroupTrendInput.struct_class = Types::GetReportGroupTrendInput
|
622
|
+
|
623
|
+
GetReportGroupTrendOutput.add_member(:stats, Shapes::ShapeRef.new(shape: ReportGroupTrendStats, location_name: "stats"))
|
624
|
+
GetReportGroupTrendOutput.add_member(:raw_data, Shapes::ShapeRef.new(shape: ReportGroupTrendRawDataList, location_name: "rawData"))
|
625
|
+
GetReportGroupTrendOutput.struct_class = Types::GetReportGroupTrendOutput
|
626
|
+
|
611
627
|
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceArn"))
|
612
628
|
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
613
629
|
|
@@ -914,15 +930,27 @@ module Aws::CodeBuild
|
|
914
930
|
ReportGroup.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
915
931
|
ReportGroup.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
916
932
|
ReportGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
933
|
+
ReportGroup.add_member(:status, Shapes::ShapeRef.new(shape: ReportGroupStatusType, location_name: "status"))
|
917
934
|
ReportGroup.struct_class = Types::ReportGroup
|
918
935
|
|
919
936
|
ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
920
937
|
|
938
|
+
ReportGroupTrendRawDataList.member = Shapes::ShapeRef.new(shape: ReportWithRawData)
|
939
|
+
|
940
|
+
ReportGroupTrendStats.add_member(:average, Shapes::ShapeRef.new(shape: String, location_name: "average"))
|
941
|
+
ReportGroupTrendStats.add_member(:max, Shapes::ShapeRef.new(shape: String, location_name: "max"))
|
942
|
+
ReportGroupTrendStats.add_member(:min, Shapes::ShapeRef.new(shape: String, location_name: "min"))
|
943
|
+
ReportGroupTrendStats.struct_class = Types::ReportGroupTrendStats
|
944
|
+
|
921
945
|
ReportGroups.member = Shapes::ShapeRef.new(shape: ReportGroup)
|
922
946
|
|
923
947
|
ReportStatusCounts.key = Shapes::ShapeRef.new(shape: String)
|
924
948
|
ReportStatusCounts.value = Shapes::ShapeRef.new(shape: WrapperInt)
|
925
949
|
|
950
|
+
ReportWithRawData.add_member(:report_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reportArn"))
|
951
|
+
ReportWithRawData.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
|
952
|
+
ReportWithRawData.struct_class = Types::ReportWithRawData
|
953
|
+
|
926
954
|
Reports.member = Shapes::ShapeRef.new(shape: Report)
|
927
955
|
|
928
956
|
ResolvedArtifact.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, location_name: "type"))
|
@@ -1353,6 +1381,16 @@ module Aws::CodeBuild
|
|
1353
1381
|
)
|
1354
1382
|
end)
|
1355
1383
|
|
1384
|
+
api.add_operation(:get_report_group_trend, Seahorse::Model::Operation.new.tap do |o|
|
1385
|
+
o.name = "GetReportGroupTrend"
|
1386
|
+
o.http_method = "POST"
|
1387
|
+
o.http_request_uri = "/"
|
1388
|
+
o.input = Shapes::ShapeRef.new(shape: GetReportGroupTrendInput)
|
1389
|
+
o.output = Shapes::ShapeRef.new(shape: GetReportGroupTrendOutput)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1392
|
+
end)
|
1393
|
+
|
1356
1394
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1357
1395
|
o.name = "GetResourcePolicy"
|
1358
1396
|
o.http_method = "POST"
|
@@ -2384,6 +2384,106 @@ module Aws::CodeBuild
|
|
2384
2384
|
include Aws::Structure
|
2385
2385
|
end
|
2386
2386
|
|
2387
|
+
# @note When making an API call, you may pass GetReportGroupTrendInput
|
2388
|
+
# data as a hash:
|
2389
|
+
#
|
2390
|
+
# {
|
2391
|
+
# report_group_arn: "NonEmptyString", # required
|
2392
|
+
# num_of_reports: 1,
|
2393
|
+
# trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
|
2394
|
+
# }
|
2395
|
+
#
|
2396
|
+
# @!attribute [rw] report_group_arn
|
2397
|
+
# The ARN of the report group that contains the reports to analyze.
|
2398
|
+
# @return [String]
|
2399
|
+
#
|
2400
|
+
# @!attribute [rw] num_of_reports
|
2401
|
+
# The number of reports to analyze. This operation always retrieves
|
2402
|
+
# the most recent reports.
|
2403
|
+
#
|
2404
|
+
# If this parameter is omitted, the most recent 100 reports are
|
2405
|
+
# analyzed.
|
2406
|
+
# @return [Integer]
|
2407
|
+
#
|
2408
|
+
# @!attribute [rw] trend_field
|
2409
|
+
# The test report value to accumulate. This must be one of the
|
2410
|
+
# following values:
|
2411
|
+
#
|
2412
|
+
# Test reports:
|
2413
|
+
# : DURATION
|
2414
|
+
#
|
2415
|
+
# : Accumulate the test run times for the specified reports.
|
2416
|
+
#
|
2417
|
+
# PASS\_RATE
|
2418
|
+
#
|
2419
|
+
# : Accumulate the percentage of tests that passed for the specified
|
2420
|
+
# test reports.
|
2421
|
+
#
|
2422
|
+
# TOTAL
|
2423
|
+
#
|
2424
|
+
# : Accumulate the total number of tests for the specified test
|
2425
|
+
# reports.
|
2426
|
+
# ^
|
2427
|
+
#
|
2428
|
+
# Code coverage reports:
|
2429
|
+
# : BRANCH\_COVERAGE
|
2430
|
+
#
|
2431
|
+
# : Accumulate the branch coverage percentages for the specified
|
2432
|
+
# test reports.
|
2433
|
+
#
|
2434
|
+
# BRANCHES\_COVERED
|
2435
|
+
#
|
2436
|
+
# : Accumulate the branches covered values for the specified test
|
2437
|
+
# reports.
|
2438
|
+
#
|
2439
|
+
# BRANCHES\_MISSED
|
2440
|
+
#
|
2441
|
+
# : Accumulate the branches missed values for the specified test
|
2442
|
+
# reports.
|
2443
|
+
#
|
2444
|
+
# LINE\_COVERAGE
|
2445
|
+
#
|
2446
|
+
# : Accumulate the line coverage percentages for the specified test
|
2447
|
+
# reports.
|
2448
|
+
#
|
2449
|
+
# LINES\_COVERED
|
2450
|
+
#
|
2451
|
+
# : Accumulate the lines covered values for the specified test
|
2452
|
+
# reports.
|
2453
|
+
#
|
2454
|
+
# LINES\_MISSED
|
2455
|
+
#
|
2456
|
+
# : Accumulate the lines not covered values for the specified test
|
2457
|
+
# reports.
|
2458
|
+
# @return [String]
|
2459
|
+
#
|
2460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendInput AWS API Documentation
|
2461
|
+
#
|
2462
|
+
class GetReportGroupTrendInput < Struct.new(
|
2463
|
+
:report_group_arn,
|
2464
|
+
:num_of_reports,
|
2465
|
+
:trend_field)
|
2466
|
+
SENSITIVE = []
|
2467
|
+
include Aws::Structure
|
2468
|
+
end
|
2469
|
+
|
2470
|
+
# @!attribute [rw] stats
|
2471
|
+
# Contains the accumulated trend data.
|
2472
|
+
# @return [Types::ReportGroupTrendStats]
|
2473
|
+
#
|
2474
|
+
# @!attribute [rw] raw_data
|
2475
|
+
# An array that contains the raw data for each report.
|
2476
|
+
# @return [Array<Types::ReportWithRawData>]
|
2477
|
+
#
|
2478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendOutput AWS API Documentation
|
2479
|
+
#
|
2480
|
+
class GetReportGroupTrendOutput < Struct.new(
|
2481
|
+
:stats,
|
2482
|
+
:raw_data)
|
2483
|
+
SENSITIVE = []
|
2484
|
+
include Aws::Structure
|
2485
|
+
end
|
2486
|
+
|
2387
2487
|
# @note When making an API call, you may pass GetResourcePolicyInput
|
2388
2488
|
# data as a hash:
|
2389
2489
|
#
|
@@ -2688,11 +2788,17 @@ module Aws::CodeBuild
|
|
2688
2788
|
# @return [String]
|
2689
2789
|
#
|
2690
2790
|
# @!attribute [rw] sort_order
|
2691
|
-
# The order to list
|
2791
|
+
# The order to list results in. The results are sorted by build
|
2792
|
+
# number, not the build identifier.
|
2793
|
+
#
|
2794
|
+
# Valid values include:
|
2692
2795
|
#
|
2693
2796
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2694
2797
|
#
|
2695
2798
|
# * `DESCENDING`\: List the build IDs in descending order by build ID.
|
2799
|
+
#
|
2800
|
+
# If the project has more than 100 builds, setting the sort order will
|
2801
|
+
# result in an error.
|
2696
2802
|
# @return [String]
|
2697
2803
|
#
|
2698
2804
|
# @!attribute [rw] next_token
|
@@ -3911,21 +4017,28 @@ module Aws::CodeBuild
|
|
3911
4017
|
# @return [String]
|
3912
4018
|
#
|
3913
4019
|
# @!attribute [rw] modes
|
3914
|
-
#
|
3915
|
-
# more local cache modes at the same time.
|
3916
|
-
#
|
3917
|
-
#
|
3918
|
-
#
|
3919
|
-
#
|
3920
|
-
#
|
3921
|
-
#
|
3922
|
-
#
|
3923
|
-
#
|
3924
|
-
#
|
3925
|
-
#
|
3926
|
-
#
|
3927
|
-
#
|
3928
|
-
#
|
4020
|
+
# An array of strings that specify the local cache modes. You can use
|
4021
|
+
# one or more local cache modes at the same time. This is only used
|
4022
|
+
# for `LOCAL` cache types.
|
4023
|
+
#
|
4024
|
+
# Possible values are:
|
4025
|
+
#
|
4026
|
+
# LOCAL\_SOURCE\_CACHE
|
4027
|
+
#
|
4028
|
+
# : Caches Git metadata for primary and secondary sources. After the
|
4029
|
+
# cache is created, subsequent builds pull only the change between
|
4030
|
+
# commits. This mode is a good choice for projects with a clean
|
4031
|
+
# working directory and a source that is a large Git repository. If
|
4032
|
+
# you choose this option and your project does not use a Git
|
4033
|
+
# repository (GitHub, GitHub Enterprise, or Bitbucket), the option
|
4034
|
+
# is ignored.
|
4035
|
+
#
|
4036
|
+
# LOCAL\_DOCKER\_LAYER\_CACHE
|
4037
|
+
#
|
4038
|
+
# : Caches existing Docker layers. This mode is a good choice for
|
4039
|
+
# projects that build or pull large Docker images. It can prevent
|
4040
|
+
# the performance issues caused by pulling large Docker images down
|
4041
|
+
# from the network.
|
3929
4042
|
#
|
3930
4043
|
# <note markdown="1"> * You can use a Docker layer cache in the Linux environment only.
|
3931
4044
|
#
|
@@ -3936,12 +4049,12 @@ module Aws::CodeBuild
|
|
3936
4049
|
# Docker layer cache.
|
3937
4050
|
#
|
3938
4051
|
# </note>
|
3939
|
-
# ^
|
3940
4052
|
#
|
3941
|
-
#
|
3942
|
-
#
|
3943
|
-
#
|
3944
|
-
#
|
4053
|
+
# LOCAL\_CUSTOM\_CACHE
|
4054
|
+
#
|
4055
|
+
# : Caches directories you specify in the buildspec file. This mode is
|
4056
|
+
# a good choice if your build scenario is not suited to one of the
|
4057
|
+
# other three local cache modes. If you use a custom cache:
|
3945
4058
|
#
|
3946
4059
|
# * Only directories can be specified for caching. You cannot
|
3947
4060
|
# specify individual files.
|
@@ -4017,9 +4130,7 @@ module Aws::CodeBuild
|
|
4017
4130
|
#
|
4018
4131
|
# * For an image tag: `<registry>/<repository>:<tag>`. For example, in
|
4019
4132
|
# the Docker repository that CodeBuild uses to manage its Docker
|
4020
|
-
# images, this would be `aws/codebuild/standard:4.0`.
|
4021
|
-
# latest version of this image, this would be
|
4022
|
-
# `aws/codebuild/standard:latest`.
|
4133
|
+
# images, this would be `aws/codebuild/standard:4.0`.
|
4023
4134
|
#
|
4024
4135
|
# * For an image digest: `<registry>/<repository>@<digest>`. For
|
4025
4136
|
# example, to specify an image with the digest
|
@@ -4097,7 +4208,14 @@ module Aws::CodeBuild
|
|
4097
4208
|
# @return [Boolean]
|
4098
4209
|
#
|
4099
4210
|
# @!attribute [rw] certificate
|
4100
|
-
# The
|
4211
|
+
# The ARN of the Amazon Simple Storage Service (Amazon S3) bucket,
|
4212
|
+
# path prefix, and object key that contains the PEM-encoded
|
4213
|
+
# certificate for the build project. For more information, see
|
4214
|
+
# [certificate][1] in the *AWS CodeBuild User Guide*.
|
4215
|
+
#
|
4216
|
+
#
|
4217
|
+
#
|
4218
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate
|
4101
4219
|
# @return [String]
|
4102
4220
|
#
|
4103
4221
|
# @!attribute [rw] registry_credential
|
@@ -4181,8 +4299,8 @@ module Aws::CodeBuild
|
|
4181
4299
|
# The name used to access a file system created by Amazon EFS.
|
4182
4300
|
# CodeBuild creates an environment variable by appending the
|
4183
4301
|
# `identifier` in all capital letters to `CODEBUILD_`. For example, if
|
4184
|
-
# you specify `
|
4185
|
-
# create named `
|
4302
|
+
# you specify `my_efs` for `identifier`, a new environment variable is
|
4303
|
+
# create named `CODEBUILD_MY_EFS`.
|
4186
4304
|
#
|
4187
4305
|
# The `identifier` is used to mount your file system.
|
4188
4306
|
# @return [String]
|
@@ -4350,13 +4468,23 @@ module Aws::CodeBuild
|
|
4350
4468
|
# Set to true to report the status of a build's start and finish to
|
4351
4469
|
# your source provider. This option is valid only when your source
|
4352
4470
|
# provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set
|
4353
|
-
# and you use a different source provider, an invalidInputException
|
4354
|
-
# thrown.
|
4471
|
+
# and you use a different source provider, an `invalidInputException`
|
4472
|
+
# is thrown.
|
4473
|
+
#
|
4474
|
+
# To be able to report the build status to the source provider, the
|
4475
|
+
# user associated with the source provider must have write access to
|
4476
|
+
# the repo. If the user does not have write access, the build status
|
4477
|
+
# cannot be updated. For more information, see [Source provider
|
4478
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
4355
4479
|
#
|
4356
4480
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
4357
4481
|
# your source provider.
|
4358
4482
|
#
|
4359
4483
|
# </note>
|
4484
|
+
#
|
4485
|
+
#
|
4486
|
+
#
|
4487
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
4360
4488
|
# @return [Boolean]
|
4361
4489
|
#
|
4362
4490
|
# @!attribute [rw] build_status_config
|
@@ -4693,15 +4821,24 @@ module Aws::CodeBuild
|
|
4693
4821
|
# one or more paths to the test case files.
|
4694
4822
|
#
|
4695
4823
|
# @!attribute [rw] arn
|
4696
|
-
# The ARN of
|
4824
|
+
# The ARN of the `ReportGroup`.
|
4697
4825
|
# @return [String]
|
4698
4826
|
#
|
4699
4827
|
# @!attribute [rw] name
|
4700
|
-
# The name of
|
4828
|
+
# The name of the `ReportGroup`.
|
4701
4829
|
# @return [String]
|
4702
4830
|
#
|
4703
4831
|
# @!attribute [rw] type
|
4704
|
-
# The type of the `ReportGroup`.
|
4832
|
+
# The type of the `ReportGroup`. This can be one of the following
|
4833
|
+
# values:
|
4834
|
+
#
|
4835
|
+
# CODE\_COVERAGE
|
4836
|
+
#
|
4837
|
+
# : The report group contains code coverage reports.
|
4838
|
+
#
|
4839
|
+
# TEST
|
4840
|
+
#
|
4841
|
+
# : The report group contains test reports.
|
4705
4842
|
# @return [String]
|
4706
4843
|
#
|
4707
4844
|
# @!attribute [rw] export_config
|
@@ -4724,6 +4861,20 @@ module Aws::CodeBuild
|
|
4724
4861
|
# CodeBuild report group tags.
|
4725
4862
|
# @return [Array<Types::Tag>]
|
4726
4863
|
#
|
4864
|
+
# @!attribute [rw] status
|
4865
|
+
# The status of the report group. This property is read-only.
|
4866
|
+
#
|
4867
|
+
# This can be one of the following values:
|
4868
|
+
#
|
4869
|
+
# ACTIVE
|
4870
|
+
#
|
4871
|
+
# : The report group is active.
|
4872
|
+
#
|
4873
|
+
# DELETING
|
4874
|
+
#
|
4875
|
+
# : The report group is in the process of being deleted.
|
4876
|
+
# @return [String]
|
4877
|
+
#
|
4727
4878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
|
4728
4879
|
#
|
4729
4880
|
class ReportGroup < Struct.new(
|
@@ -4733,7 +4884,54 @@ module Aws::CodeBuild
|
|
4733
4884
|
:export_config,
|
4734
4885
|
:created,
|
4735
4886
|
:last_modified,
|
4736
|
-
:tags
|
4887
|
+
:tags,
|
4888
|
+
:status)
|
4889
|
+
SENSITIVE = []
|
4890
|
+
include Aws::Structure
|
4891
|
+
end
|
4892
|
+
|
4893
|
+
# Contains trend statistics for a set of reports. The actual values
|
4894
|
+
# depend on the type of trend being collected. For more information, see
|
4895
|
+
# .
|
4896
|
+
#
|
4897
|
+
# @!attribute [rw] average
|
4898
|
+
# Contains the average of all values analyzed.
|
4899
|
+
# @return [String]
|
4900
|
+
#
|
4901
|
+
# @!attribute [rw] max
|
4902
|
+
# Contains the maximum value analyzed.
|
4903
|
+
# @return [String]
|
4904
|
+
#
|
4905
|
+
# @!attribute [rw] min
|
4906
|
+
# Contains the minimum value analyzed.
|
4907
|
+
# @return [String]
|
4908
|
+
#
|
4909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroupTrendStats AWS API Documentation
|
4910
|
+
#
|
4911
|
+
class ReportGroupTrendStats < Struct.new(
|
4912
|
+
:average,
|
4913
|
+
:max,
|
4914
|
+
:min)
|
4915
|
+
SENSITIVE = []
|
4916
|
+
include Aws::Structure
|
4917
|
+
end
|
4918
|
+
|
4919
|
+
# Contains the unmodified data for the report. For more information, see
|
4920
|
+
# .
|
4921
|
+
#
|
4922
|
+
# @!attribute [rw] report_arn
|
4923
|
+
# The ARN of the report.
|
4924
|
+
# @return [String]
|
4925
|
+
#
|
4926
|
+
# @!attribute [rw] data
|
4927
|
+
# The value of the requested data field from the report.
|
4928
|
+
# @return [String]
|
4929
|
+
#
|
4930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportWithRawData AWS API Documentation
|
4931
|
+
#
|
4932
|
+
class ReportWithRawData < Struct.new(
|
4933
|
+
:report_arn,
|
4934
|
+
:data)
|
4737
4935
|
SENSITIVE = []
|
4738
4936
|
include Aws::Structure
|
4739
4937
|
end
|
@@ -5678,12 +5876,22 @@ module Aws::CodeBuild
|
|
5678
5876
|
# Set to true to report to your source provider the status of a
|
5679
5877
|
# build's start and completion. If you use this option with a source
|
5680
5878
|
# provider other than GitHub, GitHub Enterprise, or Bitbucket, an
|
5681
|
-
# invalidInputException is thrown.
|
5879
|
+
# `invalidInputException` is thrown.
|
5880
|
+
#
|
5881
|
+
# To be able to report the build status to the source provider, the
|
5882
|
+
# user associated with the source provider must have write access to
|
5883
|
+
# the repo. If the user does not have write access, the build status
|
5884
|
+
# cannot be updated. For more information, see [Source provider
|
5885
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
5682
5886
|
#
|
5683
5887
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
5684
5888
|
# your source provider.
|
5685
5889
|
#
|
5686
5890
|
# </note>
|
5891
|
+
#
|
5892
|
+
#
|
5893
|
+
#
|
5894
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
5687
5895
|
# @return [Boolean]
|
5688
5896
|
#
|
5689
5897
|
# @!attribute [rw] build_status_config_override
|
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.67.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-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.
|
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
|