aws-sdk-codebuild 1.48.0 → 1.53.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-codebuild.rb +7 -4
- data/lib/aws-sdk-codebuild/client.rb +132 -23
- data/lib/aws-sdk-codebuild/client_api.rb +64 -0
- data/lib/aws-sdk-codebuild/errors.rb +77 -0
- data/lib/aws-sdk-codebuild/resource.rb +1 -0
- data/lib/aws-sdk-codebuild/types.rb +105 -25
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b69c5dee62de557adfd478655958207d05c1c3408a5fb6439ef395267955a2f6
|
4
|
+
data.tar.gz: cdbc4c6e5c111fa7209c3f800bbba3665ee75dafde249c78b2647e8381f2b126
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c420ffad01cdd4b22680e7d061c08cd7693531af5047e31f82b5769052631f522aa3e5647edbe7ba1d0616dcbf40f9da38a30f0d87a109510eeca3eef6eedebe
|
7
|
+
data.tar.gz: 755327b077e7424641f91dcf573e4f5c212f165c6cbbf86b1409d5b53ce519f435422ae357a0df57c1ba2331fff636d2f7cecae49aacc8a079e4c1b9a3b8ad5a
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-codebuild/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# code_build = Aws::CodeBuild::Client.new
|
28
|
+
# resp = code_build.batch_delete_builds(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS CodeBuild
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS CodeBuild are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::CodeBuild::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS CodeBuild API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-codebuild/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::CodeBuild
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.53.1'
|
46
49
|
|
47
50
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:codebuild)
|
31
32
|
|
32
33
|
module Aws::CodeBuild
|
34
|
+
# An API client for CodeBuild. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::CodeBuild::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::CodeBuild
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::CodeBuild
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::CodeBuild
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::CodeBuild
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::CodeBuild
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::CodeBuild
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::CodeBuild
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::CodeBuild
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -219,16 +276,15 @@ module Aws::CodeBuild
|
|
219
276
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
277
|
#
|
221
278
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
279
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
280
|
# `Timeout::Error`.
|
224
281
|
#
|
225
282
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
283
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
284
|
+
# safely be set per-request on the session.
|
229
285
|
#
|
230
286
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
287
|
+
# seconds a connection is allowed to sit idle before it is
|
232
288
|
# considered stale. Stale connections are closed and removed
|
233
289
|
# from the pool before making a request.
|
234
290
|
#
|
@@ -237,7 +293,7 @@ module Aws::CodeBuild
|
|
237
293
|
# request body. This option has no effect unless the request has
|
238
294
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
295
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
296
|
+
# request on the session.
|
241
297
|
#
|
242
298
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
299
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -788,7 +844,7 @@ module Aws::CodeBuild
|
|
788
844
|
# resp.projects[0].webhook.branch_filter #=> String
|
789
845
|
# resp.projects[0].webhook.filter_groups #=> Array
|
790
846
|
# resp.projects[0].webhook.filter_groups[0] #=> Array
|
791
|
-
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
847
|
+
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
792
848
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
793
849
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
794
850
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
@@ -854,6 +910,9 @@ module Aws::CodeBuild
|
|
854
910
|
# resp.report_groups[0].export_config.s3_destination.encryption_disabled #=> Boolean
|
855
911
|
# resp.report_groups[0].created #=> Time
|
856
912
|
# resp.report_groups[0].last_modified #=> Time
|
913
|
+
# resp.report_groups[0].tags #=> Array
|
914
|
+
# resp.report_groups[0].tags[0].key #=> String
|
915
|
+
# resp.report_groups[0].tags[0].value #=> String
|
857
916
|
# resp.report_groups_not_found #=> Array
|
858
917
|
# resp.report_groups_not_found[0] #=> String
|
859
918
|
#
|
@@ -1008,7 +1067,7 @@ module Aws::CodeBuild
|
|
1008
1067
|
# if available, the CMK's alias (using the format `alias/alias-name `).
|
1009
1068
|
#
|
1010
1069
|
# @option params [Array<Types::Tag>] :tags
|
1011
|
-
# A
|
1070
|
+
# A list of tag key and value pairs associated with this build project.
|
1012
1071
|
#
|
1013
1072
|
# These tags are available for use by AWS services that support AWS
|
1014
1073
|
# CodeBuild build project tags.
|
@@ -1248,7 +1307,7 @@ module Aws::CodeBuild
|
|
1248
1307
|
# resp.project.webhook.branch_filter #=> String
|
1249
1308
|
# resp.project.webhook.filter_groups #=> Array
|
1250
1309
|
# resp.project.webhook.filter_groups[0] #=> Array
|
1251
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1310
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1252
1311
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1253
1312
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1254
1313
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -1294,6 +1353,12 @@ module Aws::CodeBuild
|
|
1294
1353
|
# A `ReportExportConfig` object that contains information about where
|
1295
1354
|
# the report group test results are exported.
|
1296
1355
|
#
|
1356
|
+
# @option params [Array<Types::Tag>] :tags
|
1357
|
+
# A list of tag key and value pairs associated with this report group.
|
1358
|
+
#
|
1359
|
+
# These tags are available for use by AWS services that support AWS
|
1360
|
+
# CodeBuild report group tags.
|
1361
|
+
#
|
1297
1362
|
# @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1298
1363
|
#
|
1299
1364
|
# * {Types::CreateReportGroupOutput#report_group #report_group} => Types::ReportGroup
|
@@ -1313,6 +1378,12 @@ module Aws::CodeBuild
|
|
1313
1378
|
# encryption_disabled: false,
|
1314
1379
|
# },
|
1315
1380
|
# },
|
1381
|
+
# tags: [
|
1382
|
+
# {
|
1383
|
+
# key: "KeyInput",
|
1384
|
+
# value: "ValueInput",
|
1385
|
+
# },
|
1386
|
+
# ],
|
1316
1387
|
# })
|
1317
1388
|
#
|
1318
1389
|
# @example Response structure
|
@@ -1328,6 +1399,9 @@ module Aws::CodeBuild
|
|
1328
1399
|
# resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
|
1329
1400
|
# resp.report_group.created #=> Time
|
1330
1401
|
# resp.report_group.last_modified #=> Time
|
1402
|
+
# resp.report_group.tags #=> Array
|
1403
|
+
# resp.report_group.tags[0].key #=> String
|
1404
|
+
# resp.report_group.tags[0].value #=> String
|
1331
1405
|
#
|
1332
1406
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup AWS API Documentation
|
1333
1407
|
#
|
@@ -1391,7 +1465,7 @@ module Aws::CodeBuild
|
|
1391
1465
|
# filter_groups: [
|
1392
1466
|
# [
|
1393
1467
|
# {
|
1394
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
1468
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
1395
1469
|
# pattern: "String", # required
|
1396
1470
|
# exclude_matched_pattern: false,
|
1397
1471
|
# },
|
@@ -1407,7 +1481,7 @@ module Aws::CodeBuild
|
|
1407
1481
|
# resp.webhook.branch_filter #=> String
|
1408
1482
|
# resp.webhook.filter_groups #=> Array
|
1409
1483
|
# resp.webhook.filter_groups[0] #=> Array
|
1410
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1484
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1411
1485
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1412
1486
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1413
1487
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -1601,6 +1675,8 @@ module Aws::CodeBuild
|
|
1601
1675
|
# * {Types::DescribeTestCasesOutput#next_token #next_token} => String
|
1602
1676
|
# * {Types::DescribeTestCasesOutput#test_cases #test_cases} => Array<Types::TestCase>
|
1603
1677
|
#
|
1678
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1679
|
+
#
|
1604
1680
|
# @example Request syntax with placeholder values
|
1605
1681
|
#
|
1606
1682
|
# resp = client.describe_test_cases({
|
@@ -1763,6 +1839,8 @@ module Aws::CodeBuild
|
|
1763
1839
|
# * {Types::ListBuildsOutput#ids #ids} => Array<String>
|
1764
1840
|
# * {Types::ListBuildsOutput#next_token #next_token} => String
|
1765
1841
|
#
|
1842
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1843
|
+
#
|
1766
1844
|
# @example Request syntax with placeholder values
|
1767
1845
|
#
|
1768
1846
|
# resp = client.list_builds({
|
@@ -1812,6 +1890,8 @@ module Aws::CodeBuild
|
|
1812
1890
|
# * {Types::ListBuildsForProjectOutput#ids #ids} => Array<String>
|
1813
1891
|
# * {Types::ListBuildsForProjectOutput#next_token #next_token} => String
|
1814
1892
|
#
|
1893
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1894
|
+
#
|
1815
1895
|
# @example Request syntax with placeholder values
|
1816
1896
|
#
|
1817
1897
|
# resp = client.list_builds_for_project({
|
@@ -1904,6 +1984,8 @@ module Aws::CodeBuild
|
|
1904
1984
|
# * {Types::ListProjectsOutput#next_token #next_token} => String
|
1905
1985
|
# * {Types::ListProjectsOutput#projects #projects} => Array<String>
|
1906
1986
|
#
|
1987
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1988
|
+
#
|
1907
1989
|
# @example Request syntax with placeholder values
|
1908
1990
|
#
|
1909
1991
|
# resp = client.list_projects({
|
@@ -1963,6 +2045,8 @@ module Aws::CodeBuild
|
|
1963
2045
|
# * {Types::ListReportGroupsOutput#next_token #next_token} => String
|
1964
2046
|
# * {Types::ListReportGroupsOutput#report_groups #report_groups} => Array<String>
|
1965
2047
|
#
|
2048
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2049
|
+
#
|
1966
2050
|
# @example Request syntax with placeholder values
|
1967
2051
|
#
|
1968
2052
|
# resp = client.list_report_groups({
|
@@ -2021,6 +2105,8 @@ module Aws::CodeBuild
|
|
2021
2105
|
# * {Types::ListReportsOutput#next_token #next_token} => String
|
2022
2106
|
# * {Types::ListReportsOutput#reports #reports} => Array<String>
|
2023
2107
|
#
|
2108
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2109
|
+
#
|
2024
2110
|
# @example Request syntax with placeholder values
|
2025
2111
|
#
|
2026
2112
|
# resp = client.list_reports({
|
@@ -2078,6 +2164,8 @@ module Aws::CodeBuild
|
|
2078
2164
|
# * {Types::ListReportsForReportGroupOutput#next_token #next_token} => String
|
2079
2165
|
# * {Types::ListReportsForReportGroupOutput#reports #reports} => Array<String>
|
2080
2166
|
#
|
2167
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2168
|
+
#
|
2081
2169
|
# @example Request syntax with placeholder values
|
2082
2170
|
#
|
2083
2171
|
# resp = client.list_reports_for_report_group({
|
@@ -2144,6 +2232,8 @@ module Aws::CodeBuild
|
|
2144
2232
|
# * {Types::ListSharedProjectsOutput#next_token #next_token} => String
|
2145
2233
|
# * {Types::ListSharedProjectsOutput#projects #projects} => Array<String>
|
2146
2234
|
#
|
2235
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2236
|
+
#
|
2147
2237
|
# @example Request syntax with placeholder values
|
2148
2238
|
#
|
2149
2239
|
# resp = client.list_shared_projects({
|
@@ -2206,6 +2296,8 @@ module Aws::CodeBuild
|
|
2206
2296
|
# * {Types::ListSharedReportGroupsOutput#next_token #next_token} => String
|
2207
2297
|
# * {Types::ListSharedReportGroupsOutput#report_groups #report_groups} => Array<String>
|
2208
2298
|
#
|
2299
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2300
|
+
#
|
2209
2301
|
# @example Request syntax with placeholder values
|
2210
2302
|
#
|
2211
2303
|
# resp = client.list_shared_report_groups({
|
@@ -2948,7 +3040,8 @@ module Aws::CodeBuild
|
|
2948
3040
|
# if available, the CMK's alias (using the format `alias/alias-name `).
|
2949
3041
|
#
|
2950
3042
|
# @option params [Array<Types::Tag>] :tags
|
2951
|
-
#
|
3043
|
+
# An updated list of tag key and value pairs associated with this build
|
3044
|
+
# project.
|
2952
3045
|
#
|
2953
3046
|
# These tags are available for use by AWS services that support AWS
|
2954
3047
|
# CodeBuild build project tags.
|
@@ -3187,7 +3280,7 @@ module Aws::CodeBuild
|
|
3187
3280
|
# resp.project.webhook.branch_filter #=> String
|
3188
3281
|
# resp.project.webhook.filter_groups #=> Array
|
3189
3282
|
# resp.project.webhook.filter_groups[0] #=> Array
|
3190
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3283
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3191
3284
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
3192
3285
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3193
3286
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -3232,6 +3325,13 @@ module Aws::CodeBuild
|
|
3232
3325
|
#
|
3233
3326
|
# * `NO_EXPORT`\: The report results are not exported.
|
3234
3327
|
#
|
3328
|
+
# @option params [Array<Types::Tag>] :tags
|
3329
|
+
# An updated list of tag key and value pairs associated with this report
|
3330
|
+
# group.
|
3331
|
+
#
|
3332
|
+
# These tags are available for use by AWS services that support AWS
|
3333
|
+
# CodeBuild report group tags.
|
3334
|
+
#
|
3235
3335
|
# @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3236
3336
|
#
|
3237
3337
|
# * {Types::UpdateReportGroupOutput#report_group #report_group} => Types::ReportGroup
|
@@ -3250,6 +3350,12 @@ module Aws::CodeBuild
|
|
3250
3350
|
# encryption_disabled: false,
|
3251
3351
|
# },
|
3252
3352
|
# },
|
3353
|
+
# tags: [
|
3354
|
+
# {
|
3355
|
+
# key: "KeyInput",
|
3356
|
+
# value: "ValueInput",
|
3357
|
+
# },
|
3358
|
+
# ],
|
3253
3359
|
# })
|
3254
3360
|
#
|
3255
3361
|
# @example Response structure
|
@@ -3265,6 +3371,9 @@ module Aws::CodeBuild
|
|
3265
3371
|
# resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
|
3266
3372
|
# resp.report_group.created #=> Time
|
3267
3373
|
# resp.report_group.last_modified #=> Time
|
3374
|
+
# resp.report_group.tags #=> Array
|
3375
|
+
# resp.report_group.tags[0].key #=> String
|
3376
|
+
# resp.report_group.tags[0].value #=> String
|
3268
3377
|
#
|
3269
3378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup AWS API Documentation
|
3270
3379
|
#
|
@@ -3318,7 +3427,7 @@ module Aws::CodeBuild
|
|
3318
3427
|
# filter_groups: [
|
3319
3428
|
# [
|
3320
3429
|
# {
|
3321
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
3430
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
3322
3431
|
# pattern: "String", # required
|
3323
3432
|
# exclude_matched_pattern: false,
|
3324
3433
|
# },
|
@@ -3334,7 +3443,7 @@ module Aws::CodeBuild
|
|
3334
3443
|
# resp.webhook.branch_filter #=> String
|
3335
3444
|
# resp.webhook.filter_groups #=> Array
|
3336
3445
|
# resp.webhook.filter_groups[0] #=> Array
|
3337
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3446
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3338
3447
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
3339
3448
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3340
3449
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -3361,7 +3470,7 @@ module Aws::CodeBuild
|
|
3361
3470
|
params: params,
|
3362
3471
|
config: config)
|
3363
3472
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3364
|
-
context[:gem_version] = '1.
|
3473
|
+
context[:gem_version] = '1.53.1'
|
3365
3474
|
Seahorse::Client::Request.new(handlers, context)
|
3366
3475
|
end
|
3367
3476
|
|
@@ -202,6 +202,8 @@ module Aws::CodeBuild
|
|
202
202
|
WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
|
203
203
|
WrapperLong = Shapes::IntegerShape.new(name: 'WrapperLong')
|
204
204
|
|
205
|
+
AccountLimitExceededException.struct_class = Types::AccountLimitExceededException
|
206
|
+
|
205
207
|
BatchDeleteBuildsInput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, required: true, location_name: "ids"))
|
206
208
|
BatchDeleteBuildsInput.struct_class = Types::BatchDeleteBuildsInput
|
207
209
|
|
@@ -333,6 +335,7 @@ module Aws::CodeBuild
|
|
333
335
|
CreateReportGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ReportGroupName, required: true, location_name: "name"))
|
334
336
|
CreateReportGroupInput.add_member(:type, Shapes::ShapeRef.new(shape: ReportType, required: true, location_name: "type"))
|
335
337
|
CreateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, required: true, location_name: "exportConfig"))
|
338
|
+
CreateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
336
339
|
CreateReportGroupInput.struct_class = Types::CreateReportGroupInput
|
337
340
|
|
338
341
|
CreateReportGroupOutput.add_member(:report_group, Shapes::ShapeRef.new(shape: ReportGroup, location_name: "reportGroup"))
|
@@ -444,6 +447,8 @@ module Aws::CodeBuild
|
|
444
447
|
ImportSourceCredentialsOutput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
445
448
|
ImportSourceCredentialsOutput.struct_class = Types::ImportSourceCredentialsOutput
|
446
449
|
|
450
|
+
InvalidInputException.struct_class = Types::InvalidInputException
|
451
|
+
|
447
452
|
InvalidateProjectCacheInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
|
448
453
|
InvalidateProjectCacheInput.struct_class = Types::InvalidateProjectCacheInput
|
449
454
|
|
@@ -554,6 +559,8 @@ module Aws::CodeBuild
|
|
554
559
|
NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "networkInterfaceId"))
|
555
560
|
NetworkInterface.struct_class = Types::NetworkInterface
|
556
561
|
|
562
|
+
OAuthProviderException.struct_class = Types::OAuthProviderException
|
563
|
+
|
557
564
|
PhaseContext.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
|
558
565
|
PhaseContext.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
559
566
|
PhaseContext.struct_class = Types::PhaseContext
|
@@ -692,6 +699,7 @@ module Aws::CodeBuild
|
|
692
699
|
ReportGroup.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
|
693
700
|
ReportGroup.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
694
701
|
ReportGroup.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
702
|
+
ReportGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
695
703
|
ReportGroup.struct_class = Types::ReportGroup
|
696
704
|
|
697
705
|
ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -703,6 +711,10 @@ module Aws::CodeBuild
|
|
703
711
|
|
704
712
|
Reports.member = Shapes::ShapeRef.new(shape: Report)
|
705
713
|
|
714
|
+
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
715
|
+
|
716
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
717
|
+
|
706
718
|
S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
|
707
719
|
S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
708
720
|
S3LogsConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
@@ -822,6 +834,7 @@ module Aws::CodeBuild
|
|
822
834
|
|
823
835
|
UpdateReportGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
824
836
|
UpdateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
|
837
|
+
UpdateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
825
838
|
UpdateReportGroupInput.struct_class = Types::UpdateReportGroupInput
|
826
839
|
|
827
840
|
UpdateReportGroupOutput.add_member(:report_group, Shapes::ShapeRef.new(shape: ReportGroup, location_name: "reportGroup"))
|
@@ -1016,6 +1029,12 @@ module Aws::CodeBuild
|
|
1016
1029
|
o.output = Shapes::ShapeRef.new(shape: DescribeTestCasesOutput)
|
1017
1030
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1018
1031
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1032
|
+
o[:pager] = Aws::Pager.new(
|
1033
|
+
limit_key: "max_results",
|
1034
|
+
tokens: {
|
1035
|
+
"next_token" => "next_token"
|
1036
|
+
}
|
1037
|
+
)
|
1019
1038
|
end)
|
1020
1039
|
|
1021
1040
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1056,6 +1075,11 @@ module Aws::CodeBuild
|
|
1056
1075
|
o.input = Shapes::ShapeRef.new(shape: ListBuildsInput)
|
1057
1076
|
o.output = Shapes::ShapeRef.new(shape: ListBuildsOutput)
|
1058
1077
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1078
|
+
o[:pager] = Aws::Pager.new(
|
1079
|
+
tokens: {
|
1080
|
+
"next_token" => "next_token"
|
1081
|
+
}
|
1082
|
+
)
|
1059
1083
|
end)
|
1060
1084
|
|
1061
1085
|
api.add_operation(:list_builds_for_project, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1066,6 +1090,11 @@ module Aws::CodeBuild
|
|
1066
1090
|
o.output = Shapes::ShapeRef.new(shape: ListBuildsForProjectOutput)
|
1067
1091
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1068
1092
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1093
|
+
o[:pager] = Aws::Pager.new(
|
1094
|
+
tokens: {
|
1095
|
+
"next_token" => "next_token"
|
1096
|
+
}
|
1097
|
+
)
|
1069
1098
|
end)
|
1070
1099
|
|
1071
1100
|
api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1083,6 +1112,11 @@ module Aws::CodeBuild
|
|
1083
1112
|
o.input = Shapes::ShapeRef.new(shape: ListProjectsInput)
|
1084
1113
|
o.output = Shapes::ShapeRef.new(shape: ListProjectsOutput)
|
1085
1114
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1115
|
+
o[:pager] = Aws::Pager.new(
|
1116
|
+
tokens: {
|
1117
|
+
"next_token" => "next_token"
|
1118
|
+
}
|
1119
|
+
)
|
1086
1120
|
end)
|
1087
1121
|
|
1088
1122
|
api.add_operation(:list_report_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1092,6 +1126,12 @@ module Aws::CodeBuild
|
|
1092
1126
|
o.input = Shapes::ShapeRef.new(shape: ListReportGroupsInput)
|
1093
1127
|
o.output = Shapes::ShapeRef.new(shape: ListReportGroupsOutput)
|
1094
1128
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1129
|
+
o[:pager] = Aws::Pager.new(
|
1130
|
+
limit_key: "max_results",
|
1131
|
+
tokens: {
|
1132
|
+
"next_token" => "next_token"
|
1133
|
+
}
|
1134
|
+
)
|
1095
1135
|
end)
|
1096
1136
|
|
1097
1137
|
api.add_operation(:list_reports, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1101,6 +1141,12 @@ module Aws::CodeBuild
|
|
1101
1141
|
o.input = Shapes::ShapeRef.new(shape: ListReportsInput)
|
1102
1142
|
o.output = Shapes::ShapeRef.new(shape: ListReportsOutput)
|
1103
1143
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1144
|
+
o[:pager] = Aws::Pager.new(
|
1145
|
+
limit_key: "max_results",
|
1146
|
+
tokens: {
|
1147
|
+
"next_token" => "next_token"
|
1148
|
+
}
|
1149
|
+
)
|
1104
1150
|
end)
|
1105
1151
|
|
1106
1152
|
api.add_operation(:list_reports_for_report_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1111,6 +1157,12 @@ module Aws::CodeBuild
|
|
1111
1157
|
o.output = Shapes::ShapeRef.new(shape: ListReportsForReportGroupOutput)
|
1112
1158
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1113
1159
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1160
|
+
o[:pager] = Aws::Pager.new(
|
1161
|
+
limit_key: "max_results",
|
1162
|
+
tokens: {
|
1163
|
+
"next_token" => "next_token"
|
1164
|
+
}
|
1165
|
+
)
|
1114
1166
|
end)
|
1115
1167
|
|
1116
1168
|
api.add_operation(:list_shared_projects, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1120,6 +1172,12 @@ module Aws::CodeBuild
|
|
1120
1172
|
o.input = Shapes::ShapeRef.new(shape: ListSharedProjectsInput)
|
1121
1173
|
o.output = Shapes::ShapeRef.new(shape: ListSharedProjectsOutput)
|
1122
1174
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1175
|
+
o[:pager] = Aws::Pager.new(
|
1176
|
+
limit_key: "max_results",
|
1177
|
+
tokens: {
|
1178
|
+
"next_token" => "next_token"
|
1179
|
+
}
|
1180
|
+
)
|
1123
1181
|
end)
|
1124
1182
|
|
1125
1183
|
api.add_operation(:list_shared_report_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1129,6 +1187,12 @@ module Aws::CodeBuild
|
|
1129
1187
|
o.input = Shapes::ShapeRef.new(shape: ListSharedReportGroupsInput)
|
1130
1188
|
o.output = Shapes::ShapeRef.new(shape: ListSharedReportGroupsOutput)
|
1131
1189
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1190
|
+
o[:pager] = Aws::Pager.new(
|
1191
|
+
limit_key: "max_results",
|
1192
|
+
tokens: {
|
1193
|
+
"next_token" => "next_token"
|
1194
|
+
}
|
1195
|
+
)
|
1132
1196
|
end)
|
1133
1197
|
|
1134
1198
|
api.add_operation(:list_source_credentials, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6,9 +6,86 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CodeBuild
|
9
|
+
|
10
|
+
# When CodeBuild returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::CodeBuild::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all CodeBuild errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::CodeBuild::Errors::ServiceError
|
18
|
+
# # rescues all CodeBuild API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {AccountLimitExceededException}
|
29
|
+
# * {InvalidInputException}
|
30
|
+
# * {OAuthProviderException}
|
31
|
+
# * {ResourceAlreadyExistsException}
|
32
|
+
# * {ResourceNotFoundException}
|
33
|
+
#
|
34
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
35
|
+
# if they are not defined above.
|
9
36
|
module Errors
|
10
37
|
|
11
38
|
extend Aws::Errors::DynamicErrors
|
12
39
|
|
40
|
+
class AccountLimitExceededException < ServiceError
|
41
|
+
|
42
|
+
# @param [Seahorse::Client::RequestContext] context
|
43
|
+
# @param [String] message
|
44
|
+
# @param [Aws::CodeBuild::Types::AccountLimitExceededException] data
|
45
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
46
|
+
super(context, message, data)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
class InvalidInputException < ServiceError
|
51
|
+
|
52
|
+
# @param [Seahorse::Client::RequestContext] context
|
53
|
+
# @param [String] message
|
54
|
+
# @param [Aws::CodeBuild::Types::InvalidInputException] data
|
55
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
56
|
+
super(context, message, data)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
class OAuthProviderException < ServiceError
|
61
|
+
|
62
|
+
# @param [Seahorse::Client::RequestContext] context
|
63
|
+
# @param [String] message
|
64
|
+
# @param [Aws::CodeBuild::Types::OAuthProviderException] data
|
65
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
66
|
+
super(context, message, data)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class ResourceAlreadyExistsException < ServiceError
|
71
|
+
|
72
|
+
# @param [Seahorse::Client::RequestContext] context
|
73
|
+
# @param [String] message
|
74
|
+
# @param [Aws::CodeBuild::Types::ResourceAlreadyExistsException] data
|
75
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
76
|
+
super(context, message, data)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
class ResourceNotFoundException < ServiceError
|
81
|
+
|
82
|
+
# @param [Seahorse::Client::RequestContext] context
|
83
|
+
# @param [String] message
|
84
|
+
# @param [Aws::CodeBuild::Types::ResourceNotFoundException] data
|
85
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
86
|
+
super(context, message, data)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
13
90
|
end
|
14
91
|
end
|
@@ -8,6 +8,12 @@
|
|
8
8
|
module Aws::CodeBuild
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# An AWS service limit was exceeded for the calling AWS account.
|
12
|
+
#
|
13
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AccountLimitExceededException AWS API Documentation
|
14
|
+
#
|
15
|
+
class AccountLimitExceededException < Aws::EmptyStructure; end
|
16
|
+
|
11
17
|
# @note When making an API call, you may pass BatchDeleteBuildsInput
|
12
18
|
# data as a hash:
|
13
19
|
#
|
@@ -876,7 +882,8 @@ module Aws::CodeBuild
|
|
876
882
|
# @return [String]
|
877
883
|
#
|
878
884
|
# @!attribute [rw] tags
|
879
|
-
# A
|
885
|
+
# A list of tag key and value pairs associated with this build
|
886
|
+
# project.
|
880
887
|
#
|
881
888
|
# These tags are available for use by AWS services that support AWS
|
882
889
|
# CodeBuild build project tags.
|
@@ -957,6 +964,12 @@ module Aws::CodeBuild
|
|
957
964
|
# encryption_disabled: false,
|
958
965
|
# },
|
959
966
|
# },
|
967
|
+
# tags: [
|
968
|
+
# {
|
969
|
+
# key: "KeyInput",
|
970
|
+
# value: "ValueInput",
|
971
|
+
# },
|
972
|
+
# ],
|
960
973
|
# }
|
961
974
|
#
|
962
975
|
# @!attribute [rw] name
|
@@ -972,12 +985,20 @@ module Aws::CodeBuild
|
|
972
985
|
# the report group test results are exported.
|
973
986
|
# @return [Types::ReportExportConfig]
|
974
987
|
#
|
988
|
+
# @!attribute [rw] tags
|
989
|
+
# A list of tag key and value pairs associated with this report group.
|
990
|
+
#
|
991
|
+
# These tags are available for use by AWS services that support AWS
|
992
|
+
# CodeBuild report group tags.
|
993
|
+
# @return [Array<Types::Tag>]
|
994
|
+
#
|
975
995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
976
996
|
#
|
977
997
|
class CreateReportGroupInput < Struct.new(
|
978
998
|
:name,
|
979
999
|
:type,
|
980
|
-
:export_config
|
1000
|
+
:export_config,
|
1001
|
+
:tags)
|
981
1002
|
include Aws::Structure
|
982
1003
|
end
|
983
1004
|
|
@@ -1001,7 +1022,7 @@ module Aws::CodeBuild
|
|
1001
1022
|
# filter_groups: [
|
1002
1023
|
# [
|
1003
1024
|
# {
|
1004
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
1025
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
1005
1026
|
# pattern: "String", # required
|
1006
1027
|
# exclude_matched_pattern: false,
|
1007
1028
|
# },
|
@@ -1357,13 +1378,22 @@ module Aws::CodeBuild
|
|
1357
1378
|
# The type of environment variable. Valid values include:
|
1358
1379
|
#
|
1359
1380
|
# * `PARAMETER_STORE`\: An environment variable stored in Amazon EC2
|
1360
|
-
# Systems Manager Parameter Store.
|
1381
|
+
# Systems Manager Parameter Store. To learn how to specify a
|
1382
|
+
# parameter store environment variable, see [ parameter store
|
1383
|
+
# reference-key in the buildspec file][1].
|
1361
1384
|
#
|
1362
1385
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
1363
1386
|
# is the default value.
|
1364
1387
|
#
|
1365
1388
|
# * `SECRETS_MANAGER`\: An environment variable stored in AWS Secrets
|
1366
|
-
# Manager.
|
1389
|
+
# Manager. To learn how to specify a secrets manager environment
|
1390
|
+
# variable, see [ secrets manager reference-key in the buildspec
|
1391
|
+
# file][2].
|
1392
|
+
#
|
1393
|
+
#
|
1394
|
+
#
|
1395
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec
|
1396
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec
|
1367
1397
|
# @return [String]
|
1368
1398
|
#
|
1369
1399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable AWS API Documentation
|
@@ -1514,6 +1544,12 @@ module Aws::CodeBuild
|
|
1514
1544
|
include Aws::Structure
|
1515
1545
|
end
|
1516
1546
|
|
1547
|
+
# The input value that was provided is not valid.
|
1548
|
+
#
|
1549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidInputException AWS API Documentation
|
1550
|
+
#
|
1551
|
+
class InvalidInputException < Aws::EmptyStructure; end
|
1552
|
+
|
1517
1553
|
# @note When making an API call, you may pass InvalidateProjectCacheInput
|
1518
1554
|
# data as a hash:
|
1519
1555
|
#
|
@@ -2261,6 +2297,12 @@ module Aws::CodeBuild
|
|
2261
2297
|
include Aws::Structure
|
2262
2298
|
end
|
2263
2299
|
|
2300
|
+
# There was a problem with the underlying OAuth provider.
|
2301
|
+
#
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/OAuthProviderException AWS API Documentation
|
2303
|
+
#
|
2304
|
+
class OAuthProviderException < Aws::EmptyStructure; end
|
2305
|
+
|
2264
2306
|
# Additional information about a build phase that has an error. You can
|
2265
2307
|
# use this information for troubleshooting.
|
2266
2308
|
#
|
@@ -2393,7 +2435,8 @@ module Aws::CodeBuild
|
|
2393
2435
|
# @return [String]
|
2394
2436
|
#
|
2395
2437
|
# @!attribute [rw] tags
|
2396
|
-
#
|
2438
|
+
# A list of tag key and value pairs associated with this build
|
2439
|
+
# project.
|
2397
2440
|
#
|
2398
2441
|
# These tags are available for use by AWS services that support AWS
|
2399
2442
|
# CodeBuild build project tags.
|
@@ -2778,17 +2821,16 @@ module Aws::CodeBuild
|
|
2778
2821
|
#
|
2779
2822
|
# * The environment type `LINUX_CONTAINER` with compute type
|
2780
2823
|
# `build.general1.2xlarge` is available only in regions US East (N.
|
2781
|
-
# Virginia), US East (
|
2782
|
-
# (
|
2783
|
-
# (
|
2784
|
-
#
|
2824
|
+
# Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
|
2825
|
+
# (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
|
2826
|
+
# Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
|
2827
|
+
# China (Beijing), and China (Ningxia).
|
2785
2828
|
#
|
2786
2829
|
# * The environment type `LINUX_GPU_CONTAINER` is available only in
|
2787
|
-
# regions US East (N. Virginia), US East (
|
2788
|
-
#
|
2789
|
-
# (
|
2790
|
-
#
|
2791
|
-
# China (Ningxia).
|
2830
|
+
# regions US East (N. Virginia), US East (Ohio), US West (Oregon),
|
2831
|
+
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
2832
|
+
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
2833
|
+
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
2792
2834
|
# @return [String]
|
2793
2835
|
#
|
2794
2836
|
# @!attribute [rw] image
|
@@ -3459,6 +3501,13 @@ module Aws::CodeBuild
|
|
3459
3501
|
# The date and time this `ReportGroup` was last modified.
|
3460
3502
|
# @return [Time]
|
3461
3503
|
#
|
3504
|
+
# @!attribute [rw] tags
|
3505
|
+
# A list of tag key and value pairs associated with this report group.
|
3506
|
+
#
|
3507
|
+
# These tags are available for use by AWS services that support AWS
|
3508
|
+
# CodeBuild report group tags.
|
3509
|
+
# @return [Array<Types::Tag>]
|
3510
|
+
#
|
3462
3511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
|
3463
3512
|
#
|
3464
3513
|
class ReportGroup < Struct.new(
|
@@ -3467,10 +3516,24 @@ module Aws::CodeBuild
|
|
3467
3516
|
:type,
|
3468
3517
|
:export_config,
|
3469
3518
|
:created,
|
3470
|
-
:last_modified
|
3519
|
+
:last_modified,
|
3520
|
+
:tags)
|
3471
3521
|
include Aws::Structure
|
3472
3522
|
end
|
3473
3523
|
|
3524
|
+
# The specified AWS resource cannot be created, because an AWS resource
|
3525
|
+
# with the same settings already exists.
|
3526
|
+
#
|
3527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
3528
|
+
#
|
3529
|
+
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
3530
|
+
|
3531
|
+
# The specified AWS resource cannot be found.
|
3532
|
+
#
|
3533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
3534
|
+
#
|
3535
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
3536
|
+
|
3474
3537
|
# Information about S3 logs for a build project.
|
3475
3538
|
#
|
3476
3539
|
# @note When making an API call, you may pass S3LogsConfig
|
@@ -4410,7 +4473,8 @@ module Aws::CodeBuild
|
|
4410
4473
|
# @return [String]
|
4411
4474
|
#
|
4412
4475
|
# @!attribute [rw] tags
|
4413
|
-
#
|
4476
|
+
# An updated list of tag key and value pairs associated with this
|
4477
|
+
# build project.
|
4414
4478
|
#
|
4415
4479
|
# These tags are available for use by AWS services that support AWS
|
4416
4480
|
# CodeBuild build project tags.
|
@@ -4489,6 +4553,12 @@ module Aws::CodeBuild
|
|
4489
4553
|
# encryption_disabled: false,
|
4490
4554
|
# },
|
4491
4555
|
# },
|
4556
|
+
# tags: [
|
4557
|
+
# {
|
4558
|
+
# key: "KeyInput",
|
4559
|
+
# value: "ValueInput",
|
4560
|
+
# },
|
4561
|
+
# ],
|
4492
4562
|
# }
|
4493
4563
|
#
|
4494
4564
|
# @!attribute [rw] arn
|
@@ -4503,11 +4573,20 @@ module Aws::CodeBuild
|
|
4503
4573
|
# * `NO_EXPORT`\: The report results are not exported.
|
4504
4574
|
# @return [Types::ReportExportConfig]
|
4505
4575
|
#
|
4576
|
+
# @!attribute [rw] tags
|
4577
|
+
# An updated list of tag key and value pairs associated with this
|
4578
|
+
# report group.
|
4579
|
+
#
|
4580
|
+
# These tags are available for use by AWS services that support AWS
|
4581
|
+
# CodeBuild report group tags.
|
4582
|
+
# @return [Array<Types::Tag>]
|
4583
|
+
#
|
4506
4584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
4507
4585
|
#
|
4508
4586
|
class UpdateReportGroupInput < Struct.new(
|
4509
4587
|
:arn,
|
4510
|
-
:export_config
|
4588
|
+
:export_config,
|
4589
|
+
:tags)
|
4511
4590
|
include Aws::Structure
|
4512
4591
|
end
|
4513
4592
|
|
@@ -4532,7 +4611,7 @@ module Aws::CodeBuild
|
|
4532
4611
|
# filter_groups: [
|
4533
4612
|
# [
|
4534
4613
|
# {
|
4535
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
4614
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
4536
4615
|
# pattern: "String", # required
|
4537
4616
|
# exclude_matched_pattern: false,
|
4538
4617
|
# },
|
@@ -4686,7 +4765,7 @@ module Aws::CodeBuild
|
|
4686
4765
|
# data as a hash:
|
4687
4766
|
#
|
4688
4767
|
# {
|
4689
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
4768
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
4690
4769
|
# pattern: "String", # required
|
4691
4770
|
# exclude_matched_pattern: false,
|
4692
4771
|
# }
|
@@ -4699,11 +4778,12 @@ module Aws::CodeBuild
|
|
4699
4778
|
# EVENT
|
4700
4779
|
#
|
4701
4780
|
# : A webhook event triggers a build when the provided `pattern`
|
4702
|
-
# matches one of
|
4703
|
-
# `PULL_REQUEST_UPDATED`,
|
4704
|
-
# patterns are specified as a
|
4705
|
-
# `PUSH, PULL_REQUEST_CREATED,
|
4706
|
-
# push, pull request created, and
|
4781
|
+
# matches one of five event types: `PUSH`, `PULL_REQUEST_CREATED`,
|
4782
|
+
# `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`, and
|
4783
|
+
# `PULL_REQUEST_MERGED`. The `EVENT` patterns are specified as a
|
4784
|
+
# comma-separated string. For example, `PUSH, PULL_REQUEST_CREATED,
|
4785
|
+
# PULL_REQUEST_UPDATED` filters all push, pull request created, and
|
4786
|
+
# pull request updated events.
|
4707
4787
|
#
|
4708
4788
|
# <note markdown="1"> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub
|
4709
4789
|
# Enterprise only.
|
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.53.1
|
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-06-11 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS CodeBuild
|