aws-sdk-codebuild 1.64.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 +1 -1
- data/lib/aws-sdk-codebuild/client.rb +38 -1
- data/lib/aws-sdk-codebuild/client_api.rb +36 -0
- data/lib/aws-sdk-codebuild/types.rb +77 -0
- metadata +2 -2
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
@@ -2072,6 +2072,43 @@ module Aws::CodeBuild
|
|
2072
2072
|
req.send_request(options)
|
2073
2073
|
end
|
2074
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
|
+
|
2075
2112
|
# Gets a resource policy that is identified by its resource ARN.
|
2076
2113
|
#
|
2077
2114
|
# @option params [required, String] :resource_arn
|
@@ -4989,7 +5026,7 @@ module Aws::CodeBuild
|
|
4989
5026
|
params: params,
|
4990
5027
|
config: config)
|
4991
5028
|
context[:gem_name] = 'aws-sdk-codebuild'
|
4992
|
-
context[:gem_version] = '1.
|
5029
|
+
context[:gem_version] = '1.65.0'
|
4993
5030
|
Seahorse::Client::Request.new(handlers, context)
|
4994
5031
|
end
|
4995
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')
|
@@ -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')
|
@@ -609,6 +615,15 @@ module Aws::CodeBuild
|
|
609
615
|
|
610
616
|
FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
|
611
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
|
+
|
612
627
|
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceArn"))
|
613
628
|
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
614
629
|
|
@@ -920,11 +935,22 @@ module Aws::CodeBuild
|
|
920
935
|
|
921
936
|
ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
922
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
|
+
|
923
945
|
ReportGroups.member = Shapes::ShapeRef.new(shape: ReportGroup)
|
924
946
|
|
925
947
|
ReportStatusCounts.key = Shapes::ShapeRef.new(shape: String)
|
926
948
|
ReportStatusCounts.value = Shapes::ShapeRef.new(shape: WrapperInt)
|
927
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
|
+
|
928
954
|
Reports.member = Shapes::ShapeRef.new(shape: Report)
|
929
955
|
|
930
956
|
ResolvedArtifact.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, location_name: "type"))
|
@@ -1355,6 +1381,16 @@ module Aws::CodeBuild
|
|
1355
1381
|
)
|
1356
1382
|
end)
|
1357
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
|
+
|
1358
1394
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1359
1395
|
o.name = "GetResourcePolicy"
|
1360
1396
|
o.http_method = "POST"
|
@@ -2384,6 +2384,49 @@ 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
|
+
# @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
|
+
|
2387
2430
|
# @note When making an API call, you may pass GetResourcePolicyInput
|
2388
2431
|
# data as a hash:
|
2389
2432
|
#
|
@@ -4754,6 +4797,40 @@ module Aws::CodeBuild
|
|
4754
4797
|
include Aws::Structure
|
4755
4798
|
end
|
4756
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)
|
4830
|
+
SENSITIVE = []
|
4831
|
+
include Aws::Structure
|
4832
|
+
end
|
4833
|
+
|
4757
4834
|
# Represents a resolved build artifact. A resolve artifact is an
|
4758
4835
|
# artifact that is built and deployed to the destination, such as Amazon
|
4759
4836
|
# Simple Storage Service (Amazon S3).
|
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-
|
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
|