aws-sdk-codebuild 1.66.0 → 1.67.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 +79 -5
- data/lib/aws-sdk-codebuild/types.rb +122 -7
- 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: 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
@@ -2072,11 +2072,69 @@ module Aws::CodeBuild
|
|
2072
2072
|
req.send_request(options)
|
2073
2073
|
end
|
2074
2074
|
|
2075
|
+
# Analyzes and accumulates test report values for the specified test
|
2076
|
+
# reports.
|
2077
|
+
#
|
2075
2078
|
# @option params [required, String] :report_group_arn
|
2079
|
+
# The ARN of the report group that contains the reports to analyze.
|
2076
2080
|
#
|
2077
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.
|
2078
2087
|
#
|
2079
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.
|
2080
2138
|
#
|
2081
2139
|
# @return [Types::GetReportGroupTrendOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2082
2140
|
#
|
@@ -2376,19 +2434,25 @@ module Aws::CodeBuild
|
|
2376
2434
|
req.send_request(options)
|
2377
2435
|
end
|
2378
2436
|
|
2379
|
-
# Gets a list of build
|
2380
|
-
# build
|
2437
|
+
# Gets a list of build identifiers for the specified build project, with
|
2438
|
+
# each build identifier representing a single build.
|
2381
2439
|
#
|
2382
2440
|
# @option params [required, String] :project_name
|
2383
2441
|
# The name of the AWS CodeBuild project.
|
2384
2442
|
#
|
2385
2443
|
# @option params [String] :sort_order
|
2386
|
-
# 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:
|
2387
2448
|
#
|
2388
2449
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2389
2450
|
#
|
2390
2451
|
# * `DESCENDING`\: List the build IDs in descending order by build ID.
|
2391
2452
|
#
|
2453
|
+
# If the project has more than 100 builds, setting the sort order will
|
2454
|
+
# result in an error.
|
2455
|
+
#
|
2392
2456
|
# @option params [String] :next_token
|
2393
2457
|
# During a previous call, if there are more than 100 items in the list,
|
2394
2458
|
# only the first 100 items are returned, along with a unique string
|
@@ -3334,13 +3398,23 @@ module Aws::CodeBuild
|
|
3334
3398
|
# Set to true to report to your source provider the status of a build's
|
3335
3399
|
# start and completion. If you use this option with a source provider
|
3336
3400
|
# other than GitHub, GitHub Enterprise, or Bitbucket, an
|
3337
|
-
# 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*.
|
3338
3408
|
#
|
3339
3409
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
3340
3410
|
# your source provider.
|
3341
3411
|
#
|
3342
3412
|
# </note>
|
3343
3413
|
#
|
3414
|
+
#
|
3415
|
+
#
|
3416
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
3417
|
+
#
|
3344
3418
|
# @option params [Types::BuildStatusConfig] :build_status_config_override
|
3345
3419
|
# Contains information that defines how the build project reports the
|
3346
3420
|
# build status to the source provider. This option is only used when the
|
@@ -5026,7 +5100,7 @@ module Aws::CodeBuild
|
|
5026
5100
|
params: params,
|
5027
5101
|
config: config)
|
5028
5102
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5029
|
-
context[:gem_version] = '1.
|
5103
|
+
context[:gem_version] = '1.67.0'
|
5030
5104
|
Seahorse::Client::Request.new(handlers, context)
|
5031
5105
|
end
|
5032
5106
|
|
@@ -2394,12 +2394,67 @@ module Aws::CodeBuild
|
|
2394
2394
|
# }
|
2395
2395
|
#
|
2396
2396
|
# @!attribute [rw] report_group_arn
|
2397
|
+
# The ARN of the report group that contains the reports to analyze.
|
2397
2398
|
# @return [String]
|
2398
2399
|
#
|
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.
|
2400
2406
|
# @return [Integer]
|
2401
2407
|
#
|
2402
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.
|
2403
2458
|
# @return [String]
|
2404
2459
|
#
|
2405
2460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendInput AWS API Documentation
|
@@ -2413,9 +2468,11 @@ module Aws::CodeBuild
|
|
2413
2468
|
end
|
2414
2469
|
|
2415
2470
|
# @!attribute [rw] stats
|
2471
|
+
# Contains the accumulated trend data.
|
2416
2472
|
# @return [Types::ReportGroupTrendStats]
|
2417
2473
|
#
|
2418
2474
|
# @!attribute [rw] raw_data
|
2475
|
+
# An array that contains the raw data for each report.
|
2419
2476
|
# @return [Array<Types::ReportWithRawData>]
|
2420
2477
|
#
|
2421
2478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrendOutput AWS API Documentation
|
@@ -2731,11 +2788,17 @@ module Aws::CodeBuild
|
|
2731
2788
|
# @return [String]
|
2732
2789
|
#
|
2733
2790
|
# @!attribute [rw] sort_order
|
2734
|
-
# 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:
|
2735
2795
|
#
|
2736
2796
|
# * `ASCENDING`\: List the build IDs in ascending order by build ID.
|
2737
2797
|
#
|
2738
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.
|
2739
2802
|
# @return [String]
|
2740
2803
|
#
|
2741
2804
|
# @!attribute [rw] next_token
|
@@ -4405,13 +4468,23 @@ module Aws::CodeBuild
|
|
4405
4468
|
# Set to true to report the status of a build's start and finish to
|
4406
4469
|
# your source provider. This option is valid only when your source
|
4407
4470
|
# provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set
|
4408
|
-
# and you use a different source provider, an invalidInputException
|
4409
|
-
# 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*.
|
4410
4479
|
#
|
4411
4480
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
4412
4481
|
# your source provider.
|
4413
4482
|
#
|
4414
4483
|
# </note>
|
4484
|
+
#
|
4485
|
+
#
|
4486
|
+
#
|
4487
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
4415
4488
|
# @return [Boolean]
|
4416
4489
|
#
|
4417
4490
|
# @!attribute [rw] build_status_config
|
@@ -4748,15 +4821,24 @@ module Aws::CodeBuild
|
|
4748
4821
|
# one or more paths to the test case files.
|
4749
4822
|
#
|
4750
4823
|
# @!attribute [rw] arn
|
4751
|
-
# The ARN of
|
4824
|
+
# The ARN of the `ReportGroup`.
|
4752
4825
|
# @return [String]
|
4753
4826
|
#
|
4754
4827
|
# @!attribute [rw] name
|
4755
|
-
# The name of
|
4828
|
+
# The name of the `ReportGroup`.
|
4756
4829
|
# @return [String]
|
4757
4830
|
#
|
4758
4831
|
# @!attribute [rw] type
|
4759
|
-
# 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.
|
4760
4842
|
# @return [String]
|
4761
4843
|
#
|
4762
4844
|
# @!attribute [rw] export_config
|
@@ -4780,6 +4862,17 @@ module Aws::CodeBuild
|
|
4780
4862
|
# @return [Array<Types::Tag>]
|
4781
4863
|
#
|
4782
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.
|
4783
4876
|
# @return [String]
|
4784
4877
|
#
|
4785
4878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
|
@@ -4797,13 +4890,20 @@ module Aws::CodeBuild
|
|
4797
4890
|
include Aws::Structure
|
4798
4891
|
end
|
4799
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
|
+
#
|
4800
4897
|
# @!attribute [rw] average
|
4898
|
+
# Contains the average of all values analyzed.
|
4801
4899
|
# @return [String]
|
4802
4900
|
#
|
4803
4901
|
# @!attribute [rw] max
|
4902
|
+
# Contains the maximum value analyzed.
|
4804
4903
|
# @return [String]
|
4805
4904
|
#
|
4806
4905
|
# @!attribute [rw] min
|
4906
|
+
# Contains the minimum value analyzed.
|
4807
4907
|
# @return [String]
|
4808
4908
|
#
|
4809
4909
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroupTrendStats AWS API Documentation
|
@@ -4816,10 +4916,15 @@ module Aws::CodeBuild
|
|
4816
4916
|
include Aws::Structure
|
4817
4917
|
end
|
4818
4918
|
|
4919
|
+
# Contains the unmodified data for the report. For more information, see
|
4920
|
+
# .
|
4921
|
+
#
|
4819
4922
|
# @!attribute [rw] report_arn
|
4923
|
+
# The ARN of the report.
|
4820
4924
|
# @return [String]
|
4821
4925
|
#
|
4822
4926
|
# @!attribute [rw] data
|
4927
|
+
# The value of the requested data field from the report.
|
4823
4928
|
# @return [String]
|
4824
4929
|
#
|
4825
4930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportWithRawData AWS API Documentation
|
@@ -5771,12 +5876,22 @@ module Aws::CodeBuild
|
|
5771
5876
|
# Set to true to report to your source provider the status of a
|
5772
5877
|
# build's start and completion. If you use this option with a source
|
5773
5878
|
# provider other than GitHub, GitHub Enterprise, or Bitbucket, an
|
5774
|
-
# 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*.
|
5775
5886
|
#
|
5776
5887
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
5777
5888
|
# your source provider.
|
5778
5889
|
#
|
5779
5890
|
# </note>
|
5891
|
+
#
|
5892
|
+
#
|
5893
|
+
#
|
5894
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html
|
5780
5895
|
# @return [Boolean]
|
5781
5896
|
#
|
5782
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: 2021-02-
|
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
|