aws-sdk-codebuild 1.60.0 → 1.65.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 +2 -1
- data/lib/aws-sdk-codebuild/client.rb +61 -12
- data/lib/aws-sdk-codebuild/client_api.rb +40 -0
- data/lib/aws-sdk-codebuild/types.rb +174 -42
- 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: 60255762f42128dbf2e738225cab3cfaa15e8cbd1f0589fc1dde13eced1d2a1c
|
4
|
+
data.tar.gz: 9370534500d34cd31b2271d2a82615b379fda3266972eb74d801d68758309ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5b34f8fad2d01794757cf7e9690d0bbf90a7127f4bbf7345f37e099261bb374a971427bce6475ef2200e6a62bf11a8ab9ca662a44985c43256199e34eb76be8
|
7
|
+
data.tar.gz: 56e7c07688785787b80fa12a87fbf9ee60b74709c89de8b924b822d65e6d35b38296c071ade5723f458128c8d315025285cdc7d00275ef1cce9ec4f5ecf255de
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-codebuild/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::CodeBuild
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.65.0'
|
51
52
|
|
52
53
|
end
|
@@ -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
|
#
|
@@ -1816,20 +1818,26 @@ module Aws::CodeBuild
|
|
1816
1818
|
req.send_request(options)
|
1817
1819
|
end
|
1818
1820
|
|
1819
|
-
#
|
1820
|
-
#
|
1821
|
-
# [ListReportsForReportGroup][1] to get the reports in a report group.
|
1822
|
-
# Use [DeleteReport][2] to delete the reports. If you call
|
1823
|
-
# `DeleteReportGroup` for a report group that contains one or more
|
1824
|
-
# reports, an exception is thrown.
|
1821
|
+
# Deletes a report group. Before you delete a report group, you must
|
1822
|
+
# delete its reports.
|
1825
1823
|
#
|
1824
|
+
# @option params [required, String] :arn
|
1825
|
+
# The ARN of the report group to delete.
|
1826
1826
|
#
|
1827
|
+
# @option params [Boolean] :delete_reports
|
1828
|
+
# If `true`, deletes any reports that belong to a report group before
|
1829
|
+
# deleting the report group.
|
1827
1830
|
#
|
1828
|
-
#
|
1829
|
-
#
|
1831
|
+
# If `false`, you must delete any reports in the report group. Use
|
1832
|
+
# [ListReportsForReportGroup][1] to get the reports in a report group.
|
1833
|
+
# Use [DeleteReport][2] to delete the reports. If you call
|
1834
|
+
# `DeleteReportGroup` for a report group that contains one or more
|
1835
|
+
# reports, an exception is thrown.
|
1830
1836
|
#
|
1831
|
-
#
|
1832
|
-
#
|
1837
|
+
#
|
1838
|
+
#
|
1839
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html
|
1840
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html
|
1833
1841
|
#
|
1834
1842
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1835
1843
|
#
|
@@ -1837,6 +1845,7 @@ module Aws::CodeBuild
|
|
1837
1845
|
#
|
1838
1846
|
# resp = client.delete_report_group({
|
1839
1847
|
# arn: "NonEmptyString", # required
|
1848
|
+
# delete_reports: false,
|
1840
1849
|
# })
|
1841
1850
|
#
|
1842
1851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroup AWS API Documentation
|
@@ -2037,6 +2046,7 @@ module Aws::CodeBuild
|
|
2037
2046
|
# max_results: 1,
|
2038
2047
|
# filter: {
|
2039
2048
|
# status: "String",
|
2049
|
+
# keyword: "String",
|
2040
2050
|
# },
|
2041
2051
|
# })
|
2042
2052
|
#
|
@@ -2062,6 +2072,43 @@ module Aws::CodeBuild
|
|
2062
2072
|
req.send_request(options)
|
2063
2073
|
end
|
2064
2074
|
|
2075
|
+
# @option params [required, String] :report_group_arn
|
2076
|
+
#
|
2077
|
+
# @option params [Integer] :num_of_reports
|
2078
|
+
#
|
2079
|
+
# @option params [required, String] :trend_field
|
2080
|
+
#
|
2081
|
+
# @return [Types::GetReportGroupTrendOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2082
|
+
#
|
2083
|
+
# * {Types::GetReportGroupTrendOutput#stats #stats} => Types::ReportGroupTrendStats
|
2084
|
+
# * {Types::GetReportGroupTrendOutput#raw_data #raw_data} => Array<Types::ReportWithRawData>
|
2085
|
+
#
|
2086
|
+
# @example Request syntax with placeholder values
|
2087
|
+
#
|
2088
|
+
# resp = client.get_report_group_trend({
|
2089
|
+
# report_group_arn: "NonEmptyString", # required
|
2090
|
+
# num_of_reports: 1,
|
2091
|
+
# trend_field: "PASS_RATE", # required, accepts PASS_RATE, DURATION, TOTAL, LINE_COVERAGE, LINES_COVERED, LINES_MISSED, BRANCH_COVERAGE, BRANCHES_COVERED, BRANCHES_MISSED
|
2092
|
+
# })
|
2093
|
+
#
|
2094
|
+
# @example Response structure
|
2095
|
+
#
|
2096
|
+
# resp.stats.average #=> String
|
2097
|
+
# resp.stats.max #=> String
|
2098
|
+
# resp.stats.min #=> String
|
2099
|
+
# resp.raw_data #=> Array
|
2100
|
+
# resp.raw_data[0].report_arn #=> String
|
2101
|
+
# resp.raw_data[0].data #=> String
|
2102
|
+
#
|
2103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrend AWS API Documentation
|
2104
|
+
#
|
2105
|
+
# @overload get_report_group_trend(params = {})
|
2106
|
+
# @param [Hash] params ({})
|
2107
|
+
def get_report_group_trend(params = {}, options = {})
|
2108
|
+
req = build_request(:get_report_group_trend, params)
|
2109
|
+
req.send_request(options)
|
2110
|
+
end
|
2111
|
+
|
2065
2112
|
# Gets a resource policy that is identified by its resource ARN.
|
2066
2113
|
#
|
2067
2114
|
# @option params [required, String] :resource_arn
|
@@ -3001,7 +3048,8 @@ module Aws::CodeBuild
|
|
3001
3048
|
req.send_request(options)
|
3002
3049
|
end
|
3003
3050
|
|
3004
|
-
# Restarts a batch build.
|
3051
|
+
# Restarts a failed batch build. Only batch builds that have failed can
|
3052
|
+
# be retried.
|
3005
3053
|
#
|
3006
3054
|
# @option params [String] :id
|
3007
3055
|
# Specifies the identifier of the batch build to restart.
|
@@ -4876,6 +4924,7 @@ module Aws::CodeBuild
|
|
4876
4924
|
# resp.report_group.tags #=> Array
|
4877
4925
|
# resp.report_group.tags[0].key #=> String
|
4878
4926
|
# resp.report_group.tags[0].value #=> String
|
4927
|
+
# resp.report_group.status #=> String, one of "ACTIVE", "DELETING"
|
4879
4928
|
#
|
4880
4929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup AWS API Documentation
|
4881
4930
|
#
|
@@ -4977,7 +5026,7 @@ module Aws::CodeBuild
|
|
4977
5026
|
params: params,
|
4978
5027
|
config: config)
|
4979
5028
|
context[:gem_name] = 'aws-sdk-codebuild'
|
4980
|
-
context[:gem_version] = '1.
|
5029
|
+
context[:gem_version] = '1.65.0'
|
4981
5030
|
Seahorse::Client::Request.new(handlers, context)
|
4982
5031
|
end
|
4983
5032
|
|
@@ -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')
|
@@ -523,6 +530,7 @@ module Aws::CodeBuild
|
|
523
530
|
DeleteProjectOutput.struct_class = Types::DeleteProjectOutput
|
524
531
|
|
525
532
|
DeleteReportGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
533
|
+
DeleteReportGroupInput.add_member(:delete_reports, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteReports"))
|
526
534
|
DeleteReportGroupInput.struct_class = Types::DeleteReportGroupInput
|
527
535
|
|
528
536
|
DeleteReportGroupOutput.struct_class = Types::DeleteReportGroupOutput
|
@@ -607,6 +615,15 @@ module Aws::CodeBuild
|
|
607
615
|
|
608
616
|
FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
|
609
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
|
+
|
610
627
|
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceArn"))
|
611
628
|
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
612
629
|
|
@@ -913,15 +930,27 @@ module Aws::CodeBuild
|
|
913
930
|
ReportGroup.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
914
931
|
ReportGroup.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
915
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"))
|
916
934
|
ReportGroup.struct_class = Types::ReportGroup
|
917
935
|
|
918
936
|
ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
919
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
|
+
|
920
945
|
ReportGroups.member = Shapes::ShapeRef.new(shape: ReportGroup)
|
921
946
|
|
922
947
|
ReportStatusCounts.key = Shapes::ShapeRef.new(shape: String)
|
923
948
|
ReportStatusCounts.value = Shapes::ShapeRef.new(shape: WrapperInt)
|
924
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
|
+
|
925
954
|
Reports.member = Shapes::ShapeRef.new(shape: Report)
|
926
955
|
|
927
956
|
ResolvedArtifact.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, location_name: "type"))
|
@@ -1077,6 +1106,7 @@ module Aws::CodeBuild
|
|
1077
1106
|
TestCase.struct_class = Types::TestCase
|
1078
1107
|
|
1079
1108
|
TestCaseFilter.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
1109
|
+
TestCaseFilter.add_member(:keyword, Shapes::ShapeRef.new(shape: String, location_name: "keyword"))
|
1080
1110
|
TestCaseFilter.struct_class = Types::TestCaseFilter
|
1081
1111
|
|
1082
1112
|
TestCases.member = Shapes::ShapeRef.new(shape: TestCase)
|
@@ -1351,6 +1381,16 @@ module Aws::CodeBuild
|
|
1351
1381
|
)
|
1352
1382
|
end)
|
1353
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
|
+
|
1354
1394
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1355
1395
|
o.name = "GetResourcePolicy"
|
1356
1396
|
o.http_method = "POST"
|
@@ -1939,16 +1939,34 @@ module Aws::CodeBuild
|
|
1939
1939
|
#
|
1940
1940
|
# {
|
1941
1941
|
# arn: "NonEmptyString", # required
|
1942
|
+
# delete_reports: false,
|
1942
1943
|
# }
|
1943
1944
|
#
|
1944
1945
|
# @!attribute [rw] arn
|
1945
1946
|
# The ARN of the report group to delete.
|
1946
1947
|
# @return [String]
|
1947
1948
|
#
|
1949
|
+
# @!attribute [rw] delete_reports
|
1950
|
+
# If `true`, deletes any reports that belong to a report group before
|
1951
|
+
# deleting the report group.
|
1952
|
+
#
|
1953
|
+
# If `false`, you must delete any reports in the report group. Use
|
1954
|
+
# [ListReportsForReportGroup][1] to get the reports in a report group.
|
1955
|
+
# Use [DeleteReport][2] to delete the reports. If you call
|
1956
|
+
# `DeleteReportGroup` for a report group that contains one or more
|
1957
|
+
# reports, an exception is thrown.
|
1958
|
+
#
|
1959
|
+
#
|
1960
|
+
#
|
1961
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html
|
1962
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html
|
1963
|
+
# @return [Boolean]
|
1964
|
+
#
|
1948
1965
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroupInput AWS API Documentation
|
1949
1966
|
#
|
1950
1967
|
class DeleteReportGroupInput < Struct.new(
|
1951
|
-
:arn
|
1968
|
+
:arn,
|
1969
|
+
:delete_reports)
|
1952
1970
|
SENSITIVE = []
|
1953
1971
|
include Aws::Structure
|
1954
1972
|
end
|
@@ -2152,6 +2170,7 @@ module Aws::CodeBuild
|
|
2152
2170
|
# max_results: 1,
|
2153
2171
|
# filter: {
|
2154
2172
|
# status: "String",
|
2173
|
+
# keyword: "String",
|
2155
2174
|
# },
|
2156
2175
|
# }
|
2157
2176
|
#
|
@@ -2311,21 +2330,21 @@ module Aws::CodeBuild
|
|
2311
2330
|
#
|
2312
2331
|
# * `PARAMETER_STORE`\: An environment variable stored in Amazon EC2
|
2313
2332
|
# Systems Manager Parameter Store. To learn how to specify a
|
2314
|
-
# parameter store environment variable, see [
|
2315
|
-
#
|
2333
|
+
# parameter store environment variable, see [env/parameter-store][1]
|
2334
|
+
# in the *AWS CodeBuild User Guide*.
|
2316
2335
|
#
|
2317
2336
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
2318
2337
|
# is the default value.
|
2319
2338
|
#
|
2320
2339
|
# * `SECRETS_MANAGER`\: An environment variable stored in AWS Secrets
|
2321
2340
|
# Manager. To learn how to specify a secrets manager environment
|
2322
|
-
# variable, see [
|
2323
|
-
#
|
2341
|
+
# variable, see [env/secrets-manager][2] in the *AWS CodeBuild User
|
2342
|
+
# Guide*.
|
2324
2343
|
#
|
2325
2344
|
#
|
2326
2345
|
#
|
2327
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store
|
2328
|
-
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager
|
2346
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store
|
2347
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager
|
2329
2348
|
# @return [String]
|
2330
2349
|
#
|
2331
2350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable AWS API Documentation
|
@@ -2365,6 +2384,49 @@ module Aws::CodeBuild
|
|
2365
2384
|
include Aws::Structure
|
2366
2385
|
end
|
2367
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
|
+
# @return [String]
|
2398
|
+
#
|
2399
|
+
# @!attribute [rw] num_of_reports
|
2400
|
+
# @return [Integer]
|
2401
|
+
#
|
2402
|
+
# @!attribute [rw] trend_field
|
2403
|
+
# @return [String]
|
2404
|
+
#
|
2405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendInput AWS API Documentation
|
2406
|
+
#
|
2407
|
+
class GetReportGroupTrendInput < Struct.new(
|
2408
|
+
:report_group_arn,
|
2409
|
+
:num_of_reports,
|
2410
|
+
:trend_field)
|
2411
|
+
SENSITIVE = []
|
2412
|
+
include Aws::Structure
|
2413
|
+
end
|
2414
|
+
|
2415
|
+
# @!attribute [rw] stats
|
2416
|
+
# @return [Types::ReportGroupTrendStats]
|
2417
|
+
#
|
2418
|
+
# @!attribute [rw] raw_data
|
2419
|
+
# @return [Array<Types::ReportWithRawData>]
|
2420
|
+
#
|
2421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendOutput AWS API Documentation
|
2422
|
+
#
|
2423
|
+
class GetReportGroupTrendOutput < Struct.new(
|
2424
|
+
:stats,
|
2425
|
+
:raw_data)
|
2426
|
+
SENSITIVE = []
|
2427
|
+
include Aws::Structure
|
2428
|
+
end
|
2429
|
+
|
2368
2430
|
# @note When making an API call, you may pass GetResourcePolicyInput
|
2369
2431
|
# data as a hash:
|
2370
2432
|
#
|
@@ -3892,21 +3954,28 @@ module Aws::CodeBuild
|
|
3892
3954
|
# @return [String]
|
3893
3955
|
#
|
3894
3956
|
# @!attribute [rw] modes
|
3895
|
-
#
|
3896
|
-
# more local cache modes at the same time.
|
3897
|
-
#
|
3898
|
-
#
|
3899
|
-
#
|
3900
|
-
#
|
3901
|
-
#
|
3902
|
-
#
|
3903
|
-
#
|
3904
|
-
#
|
3905
|
-
#
|
3906
|
-
#
|
3907
|
-
#
|
3908
|
-
#
|
3909
|
-
#
|
3957
|
+
# An array of strings that specify the local cache modes. You can use
|
3958
|
+
# one or more local cache modes at the same time. This is only used
|
3959
|
+
# for `LOCAL` cache types.
|
3960
|
+
#
|
3961
|
+
# Possible values are:
|
3962
|
+
#
|
3963
|
+
# LOCAL\_SOURCE\_CACHE
|
3964
|
+
#
|
3965
|
+
# : Caches Git metadata for primary and secondary sources. After the
|
3966
|
+
# cache is created, subsequent builds pull only the change between
|
3967
|
+
# commits. This mode is a good choice for projects with a clean
|
3968
|
+
# working directory and a source that is a large Git repository. If
|
3969
|
+
# you choose this option and your project does not use a Git
|
3970
|
+
# repository (GitHub, GitHub Enterprise, or Bitbucket), the option
|
3971
|
+
# is ignored.
|
3972
|
+
#
|
3973
|
+
# LOCAL\_DOCKER\_LAYER\_CACHE
|
3974
|
+
#
|
3975
|
+
# : Caches existing Docker layers. This mode is a good choice for
|
3976
|
+
# projects that build or pull large Docker images. It can prevent
|
3977
|
+
# the performance issues caused by pulling large Docker images down
|
3978
|
+
# from the network.
|
3910
3979
|
#
|
3911
3980
|
# <note markdown="1"> * You can use a Docker layer cache in the Linux environment only.
|
3912
3981
|
#
|
@@ -3917,12 +3986,12 @@ module Aws::CodeBuild
|
|
3917
3986
|
# Docker layer cache.
|
3918
3987
|
#
|
3919
3988
|
# </note>
|
3920
|
-
# ^
|
3921
3989
|
#
|
3922
|
-
#
|
3923
|
-
#
|
3924
|
-
#
|
3925
|
-
#
|
3990
|
+
# LOCAL\_CUSTOM\_CACHE
|
3991
|
+
#
|
3992
|
+
# : Caches directories you specify in the buildspec file. This mode is
|
3993
|
+
# a good choice if your build scenario is not suited to one of the
|
3994
|
+
# other three local cache modes. If you use a custom cache:
|
3926
3995
|
#
|
3927
3996
|
# * Only directories can be specified for caching. You cannot
|
3928
3997
|
# specify individual files.
|
@@ -3996,15 +4065,15 @@ module Aws::CodeBuild
|
|
3996
4065
|
# The image tag or image digest that identifies the Docker image to
|
3997
4066
|
# use for this build project. Use the following formats:
|
3998
4067
|
#
|
3999
|
-
# * For an image tag:
|
4000
|
-
#
|
4001
|
-
# `
|
4068
|
+
# * For an image tag: `<registry>/<repository>:<tag>`. For example, in
|
4069
|
+
# the Docker repository that CodeBuild uses to manage its Docker
|
4070
|
+
# images, this would be `aws/codebuild/standard:4.0`.
|
4002
4071
|
#
|
4003
|
-
# * For an image digest:
|
4004
|
-
# specify an image with the digest
|
4072
|
+
# * For an image digest: `<registry>/<repository>@<digest>`. For
|
4073
|
+
# example, to specify an image with the digest
|
4005
4074
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
4006
4075
|
# use
|
4007
|
-
#
|
4076
|
+
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
4008
4077
|
# @return [String]
|
4009
4078
|
#
|
4010
4079
|
# @!attribute [rw] compute_type
|
@@ -4076,7 +4145,14 @@ module Aws::CodeBuild
|
|
4076
4145
|
# @return [Boolean]
|
4077
4146
|
#
|
4078
4147
|
# @!attribute [rw] certificate
|
4079
|
-
# The
|
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*.
|
4152
|
+
#
|
4153
|
+
#
|
4154
|
+
#
|
4155
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate
|
4080
4156
|
# @return [String]
|
4081
4157
|
#
|
4082
4158
|
# @!attribute [rw] registry_credential
|
@@ -4160,8 +4236,8 @@ module Aws::CodeBuild
|
|
4160
4236
|
# The name used to access a file system created by Amazon EFS.
|
4161
4237
|
# CodeBuild creates an environment variable by appending the
|
4162
4238
|
# `identifier` in all capital letters to `CODEBUILD_`. For example, if
|
4163
|
-
# you specify `
|
4164
|
-
# create named `
|
4239
|
+
# you specify `my_efs` for `identifier`, a new environment variable is
|
4240
|
+
# create named `CODEBUILD_MY_EFS`.
|
4165
4241
|
#
|
4166
4242
|
# The `identifier` is used to mount your file system.
|
4167
4243
|
# @return [String]
|
@@ -4703,6 +4779,9 @@ module Aws::CodeBuild
|
|
4703
4779
|
# CodeBuild report group tags.
|
4704
4780
|
# @return [Array<Types::Tag>]
|
4705
4781
|
#
|
4782
|
+
# @!attribute [rw] status
|
4783
|
+
# @return [String]
|
4784
|
+
#
|
4706
4785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
|
4707
4786
|
#
|
4708
4787
|
class ReportGroup < Struct.new(
|
@@ -4712,7 +4791,42 @@ module Aws::CodeBuild
|
|
4712
4791
|
:export_config,
|
4713
4792
|
:created,
|
4714
4793
|
:last_modified,
|
4715
|
-
:tags
|
4794
|
+
:tags,
|
4795
|
+
:status)
|
4796
|
+
SENSITIVE = []
|
4797
|
+
include Aws::Structure
|
4798
|
+
end
|
4799
|
+
|
4800
|
+
# @!attribute [rw] average
|
4801
|
+
# @return [String]
|
4802
|
+
#
|
4803
|
+
# @!attribute [rw] max
|
4804
|
+
# @return [String]
|
4805
|
+
#
|
4806
|
+
# @!attribute [rw] min
|
4807
|
+
# @return [String]
|
4808
|
+
#
|
4809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroupTrendStats AWS API Documentation
|
4810
|
+
#
|
4811
|
+
class ReportGroupTrendStats < Struct.new(
|
4812
|
+
:average,
|
4813
|
+
:max,
|
4814
|
+
:min)
|
4815
|
+
SENSITIVE = []
|
4816
|
+
include Aws::Structure
|
4817
|
+
end
|
4818
|
+
|
4819
|
+
# @!attribute [rw] report_arn
|
4820
|
+
# @return [String]
|
4821
|
+
#
|
4822
|
+
# @!attribute [rw] data
|
4823
|
+
# @return [String]
|
4824
|
+
#
|
4825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportWithRawData AWS API Documentation
|
4826
|
+
#
|
4827
|
+
class ReportWithRawData < Struct.new(
|
4828
|
+
:report_arn,
|
4829
|
+
:data)
|
4716
4830
|
SENSITIVE = []
|
4717
4831
|
include Aws::Structure
|
4718
4832
|
end
|
@@ -5977,25 +6091,43 @@ module Aws::CodeBuild
|
|
5977
6091
|
include Aws::Structure
|
5978
6092
|
end
|
5979
6093
|
|
5980
|
-
# A filter used to return specific types of test cases.
|
6094
|
+
# A filter used to return specific types of test cases. In order to pass
|
6095
|
+
# the filter, the report must meet all of the filter properties.
|
5981
6096
|
#
|
5982
6097
|
# @note When making an API call, you may pass TestCaseFilter
|
5983
6098
|
# data as a hash:
|
5984
6099
|
#
|
5985
6100
|
# {
|
5986
6101
|
# status: "String",
|
6102
|
+
# keyword: "String",
|
5987
6103
|
# }
|
5988
6104
|
#
|
5989
6105
|
# @!attribute [rw] status
|
5990
|
-
# The status used to filter test cases.
|
5991
|
-
#
|
5992
|
-
#
|
6106
|
+
# The status used to filter test cases. A `TestCaseFilter` can have
|
6107
|
+
# one status. Valid values are:
|
6108
|
+
#
|
6109
|
+
# * `SUCCEEDED`
|
6110
|
+
#
|
6111
|
+
# * `FAILED`
|
6112
|
+
#
|
6113
|
+
# * `ERROR`
|
6114
|
+
#
|
6115
|
+
# * `SKIPPED`
|
6116
|
+
#
|
6117
|
+
# * `UNKNOWN`
|
6118
|
+
# @return [String]
|
6119
|
+
#
|
6120
|
+
# @!attribute [rw] keyword
|
6121
|
+
# A keyword that is used to filter on the `name` or the `prefix` of
|
6122
|
+
# the test cases. Only test cases where the keyword is a substring of
|
6123
|
+
# the `name` or the `prefix` will be returned.
|
5993
6124
|
# @return [String]
|
5994
6125
|
#
|
5995
6126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/TestCaseFilter AWS API Documentation
|
5996
6127
|
#
|
5997
6128
|
class TestCaseFilter < Struct.new(
|
5998
|
-
:status
|
6129
|
+
:status,
|
6130
|
+
:keyword)
|
5999
6131
|
SENSITIVE = []
|
6000
6132
|
include Aws::Structure
|
6001
6133
|
end
|
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.65.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
|
+
date: 2020-11-24 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|