aws-sdk-codebuild 1.47.0 → 1.52.0
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 +211 -24
- data/lib/aws-sdk-codebuild/client_api.rb +80 -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 +288 -57
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 93ecd224c41094c9dbd9c9accf3d19b9553b86e4236aadde3f83b2578f0ffc7c
|
4
|
+
data.tar.gz: 4e70f29b2e76b0439c424e016ff762587948b5ce47db89e51ce39dc2c57d36ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fbb15dc474d8878257a7b1012f6bf75189f9f9f502381964140f5b7f99fbca429af57fcb133a3f7d0c08cb04ec4c8d0a7c545248e0fc30e1307fef09c278e5e
|
7
|
+
data.tar.gz: 6066fa6386aab07739a609252c9b33a7ae9ce5a2887c4163d134ee34797b65dcc338effb7311757bdcec1d21f6dab216a3142ec37ac72b9db444c1bc8ed280de
|
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.52.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:codebuild)
|
31
31
|
|
32
32
|
module Aws::CodeBuild
|
33
|
+
# An API client for CodeBuild. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::CodeBuild::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::CodeBuild
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::CodeBuild
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::CodeBuild
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::CodeBuild
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::CodeBuild
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::CodeBuild
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::CodeBuild
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::CodeBuild
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# 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}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::CodeBuild
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -671,6 +725,12 @@ module Aws::CodeBuild
|
|
671
725
|
# resp.builds[0].exported_environment_variables[0].value #=> String
|
672
726
|
# resp.builds[0].report_arns #=> Array
|
673
727
|
# resp.builds[0].report_arns[0] #=> String
|
728
|
+
# resp.builds[0].file_system_locations #=> Array
|
729
|
+
# resp.builds[0].file_system_locations[0].type #=> String, one of "EFS"
|
730
|
+
# resp.builds[0].file_system_locations[0].location #=> String
|
731
|
+
# resp.builds[0].file_system_locations[0].mount_point #=> String
|
732
|
+
# resp.builds[0].file_system_locations[0].identifier #=> String
|
733
|
+
# resp.builds[0].file_system_locations[0].mount_options #=> String
|
674
734
|
# resp.builds_not_found #=> Array
|
675
735
|
# resp.builds_not_found[0] #=> String
|
676
736
|
#
|
@@ -782,7 +842,7 @@ module Aws::CodeBuild
|
|
782
842
|
# resp.projects[0].webhook.branch_filter #=> String
|
783
843
|
# resp.projects[0].webhook.filter_groups #=> Array
|
784
844
|
# resp.projects[0].webhook.filter_groups[0] #=> Array
|
785
|
-
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
845
|
+
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
786
846
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
787
847
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
788
848
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
@@ -799,6 +859,12 @@ module Aws::CodeBuild
|
|
799
859
|
# resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
800
860
|
# resp.projects[0].logs_config.s3_logs.location #=> String
|
801
861
|
# resp.projects[0].logs_config.s3_logs.encryption_disabled #=> Boolean
|
862
|
+
# resp.projects[0].file_system_locations #=> Array
|
863
|
+
# resp.projects[0].file_system_locations[0].type #=> String, one of "EFS"
|
864
|
+
# resp.projects[0].file_system_locations[0].location #=> String
|
865
|
+
# resp.projects[0].file_system_locations[0].mount_point #=> String
|
866
|
+
# resp.projects[0].file_system_locations[0].identifier #=> String
|
867
|
+
# resp.projects[0].file_system_locations[0].mount_options #=> String
|
802
868
|
# resp.projects_not_found #=> Array
|
803
869
|
# resp.projects_not_found[0] #=> String
|
804
870
|
#
|
@@ -842,6 +908,9 @@ module Aws::CodeBuild
|
|
842
908
|
# resp.report_groups[0].export_config.s3_destination.encryption_disabled #=> Boolean
|
843
909
|
# resp.report_groups[0].created #=> Time
|
844
910
|
# resp.report_groups[0].last_modified #=> Time
|
911
|
+
# resp.report_groups[0].tags #=> Array
|
912
|
+
# resp.report_groups[0].tags[0].key #=> String
|
913
|
+
# resp.report_groups[0].tags[0].value #=> String
|
845
914
|
# resp.report_groups_not_found #=> Array
|
846
915
|
# resp.report_groups_not_found[0] #=> String
|
847
916
|
#
|
@@ -996,7 +1065,7 @@ module Aws::CodeBuild
|
|
996
1065
|
# if available, the CMK's alias (using the format `alias/alias-name `).
|
997
1066
|
#
|
998
1067
|
# @option params [Array<Types::Tag>] :tags
|
999
|
-
# A
|
1068
|
+
# A list of tag key and value pairs associated with this build project.
|
1000
1069
|
#
|
1001
1070
|
# These tags are available for use by AWS services that support AWS
|
1002
1071
|
# CodeBuild build project tags.
|
@@ -1013,6 +1082,12 @@ module Aws::CodeBuild
|
|
1013
1082
|
# Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1014
1083
|
# both.
|
1015
1084
|
#
|
1085
|
+
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
1086
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
1087
|
+
# project. A `ProjectFileSystemLocation` object specifies the
|
1088
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
1089
|
+
# a file system created using Amazon Elastic File System.
|
1090
|
+
#
|
1016
1091
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1017
1092
|
#
|
1018
1093
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1139,6 +1214,15 @@ module Aws::CodeBuild
|
|
1139
1214
|
# encryption_disabled: false,
|
1140
1215
|
# },
|
1141
1216
|
# },
|
1217
|
+
# file_system_locations: [
|
1218
|
+
# {
|
1219
|
+
# type: "EFS", # accepts EFS
|
1220
|
+
# location: "String",
|
1221
|
+
# mount_point: "String",
|
1222
|
+
# identifier: "String",
|
1223
|
+
# mount_options: "String",
|
1224
|
+
# },
|
1225
|
+
# ],
|
1142
1226
|
# })
|
1143
1227
|
#
|
1144
1228
|
# @example Response structure
|
@@ -1221,7 +1305,7 @@ module Aws::CodeBuild
|
|
1221
1305
|
# resp.project.webhook.branch_filter #=> String
|
1222
1306
|
# resp.project.webhook.filter_groups #=> Array
|
1223
1307
|
# resp.project.webhook.filter_groups[0] #=> Array
|
1224
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1308
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1225
1309
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1226
1310
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1227
1311
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -1238,6 +1322,12 @@ module Aws::CodeBuild
|
|
1238
1322
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1239
1323
|
# resp.project.logs_config.s3_logs.location #=> String
|
1240
1324
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
1325
|
+
# resp.project.file_system_locations #=> Array
|
1326
|
+
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
1327
|
+
# resp.project.file_system_locations[0].location #=> String
|
1328
|
+
# resp.project.file_system_locations[0].mount_point #=> String
|
1329
|
+
# resp.project.file_system_locations[0].identifier #=> String
|
1330
|
+
# resp.project.file_system_locations[0].mount_options #=> String
|
1241
1331
|
#
|
1242
1332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1243
1333
|
#
|
@@ -1261,6 +1351,12 @@ module Aws::CodeBuild
|
|
1261
1351
|
# A `ReportExportConfig` object that contains information about where
|
1262
1352
|
# the report group test results are exported.
|
1263
1353
|
#
|
1354
|
+
# @option params [Array<Types::Tag>] :tags
|
1355
|
+
# A list of tag key and value pairs associated with this report group.
|
1356
|
+
#
|
1357
|
+
# These tags are available for use by AWS services that support AWS
|
1358
|
+
# CodeBuild report group tags.
|
1359
|
+
#
|
1264
1360
|
# @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1265
1361
|
#
|
1266
1362
|
# * {Types::CreateReportGroupOutput#report_group #report_group} => Types::ReportGroup
|
@@ -1280,6 +1376,12 @@ module Aws::CodeBuild
|
|
1280
1376
|
# encryption_disabled: false,
|
1281
1377
|
# },
|
1282
1378
|
# },
|
1379
|
+
# tags: [
|
1380
|
+
# {
|
1381
|
+
# key: "KeyInput",
|
1382
|
+
# value: "ValueInput",
|
1383
|
+
# },
|
1384
|
+
# ],
|
1283
1385
|
# })
|
1284
1386
|
#
|
1285
1387
|
# @example Response structure
|
@@ -1295,6 +1397,9 @@ module Aws::CodeBuild
|
|
1295
1397
|
# resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
|
1296
1398
|
# resp.report_group.created #=> Time
|
1297
1399
|
# resp.report_group.last_modified #=> Time
|
1400
|
+
# resp.report_group.tags #=> Array
|
1401
|
+
# resp.report_group.tags[0].key #=> String
|
1402
|
+
# resp.report_group.tags[0].value #=> String
|
1298
1403
|
#
|
1299
1404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup AWS API Documentation
|
1300
1405
|
#
|
@@ -1358,7 +1463,7 @@ module Aws::CodeBuild
|
|
1358
1463
|
# filter_groups: [
|
1359
1464
|
# [
|
1360
1465
|
# {
|
1361
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
1466
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
1362
1467
|
# pattern: "String", # required
|
1363
1468
|
# exclude_matched_pattern: false,
|
1364
1469
|
# },
|
@@ -1374,7 +1479,7 @@ module Aws::CodeBuild
|
|
1374
1479
|
# resp.webhook.branch_filter #=> String
|
1375
1480
|
# resp.webhook.filter_groups #=> Array
|
1376
1481
|
# resp.webhook.filter_groups[0] #=> Array
|
1377
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1482
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1378
1483
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1379
1484
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1380
1485
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -1568,6 +1673,8 @@ module Aws::CodeBuild
|
|
1568
1673
|
# * {Types::DescribeTestCasesOutput#next_token #next_token} => String
|
1569
1674
|
# * {Types::DescribeTestCasesOutput#test_cases #test_cases} => Array<Types::TestCase>
|
1570
1675
|
#
|
1676
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1677
|
+
#
|
1571
1678
|
# @example Request syntax with placeholder values
|
1572
1679
|
#
|
1573
1680
|
# resp = client.describe_test_cases({
|
@@ -1730,6 +1837,8 @@ module Aws::CodeBuild
|
|
1730
1837
|
# * {Types::ListBuildsOutput#ids #ids} => Array<String>
|
1731
1838
|
# * {Types::ListBuildsOutput#next_token #next_token} => String
|
1732
1839
|
#
|
1840
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1841
|
+
#
|
1733
1842
|
# @example Request syntax with placeholder values
|
1734
1843
|
#
|
1735
1844
|
# resp = client.list_builds({
|
@@ -1779,6 +1888,8 @@ module Aws::CodeBuild
|
|
1779
1888
|
# * {Types::ListBuildsForProjectOutput#ids #ids} => Array<String>
|
1780
1889
|
# * {Types::ListBuildsForProjectOutput#next_token #next_token} => String
|
1781
1890
|
#
|
1891
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1892
|
+
#
|
1782
1893
|
# @example Request syntax with placeholder values
|
1783
1894
|
#
|
1784
1895
|
# resp = client.list_builds_for_project({
|
@@ -1871,6 +1982,8 @@ module Aws::CodeBuild
|
|
1871
1982
|
# * {Types::ListProjectsOutput#next_token #next_token} => String
|
1872
1983
|
# * {Types::ListProjectsOutput#projects #projects} => Array<String>
|
1873
1984
|
#
|
1985
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1986
|
+
#
|
1874
1987
|
# @example Request syntax with placeholder values
|
1875
1988
|
#
|
1876
1989
|
# resp = client.list_projects({
|
@@ -1930,6 +2043,8 @@ module Aws::CodeBuild
|
|
1930
2043
|
# * {Types::ListReportGroupsOutput#next_token #next_token} => String
|
1931
2044
|
# * {Types::ListReportGroupsOutput#report_groups #report_groups} => Array<String>
|
1932
2045
|
#
|
2046
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2047
|
+
#
|
1933
2048
|
# @example Request syntax with placeholder values
|
1934
2049
|
#
|
1935
2050
|
# resp = client.list_report_groups({
|
@@ -1988,6 +2103,8 @@ module Aws::CodeBuild
|
|
1988
2103
|
# * {Types::ListReportsOutput#next_token #next_token} => String
|
1989
2104
|
# * {Types::ListReportsOutput#reports #reports} => Array<String>
|
1990
2105
|
#
|
2106
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2107
|
+
#
|
1991
2108
|
# @example Request syntax with placeholder values
|
1992
2109
|
#
|
1993
2110
|
# resp = client.list_reports({
|
@@ -2045,6 +2162,8 @@ module Aws::CodeBuild
|
|
2045
2162
|
# * {Types::ListReportsForReportGroupOutput#next_token #next_token} => String
|
2046
2163
|
# * {Types::ListReportsForReportGroupOutput#reports #reports} => Array<String>
|
2047
2164
|
#
|
2165
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2166
|
+
#
|
2048
2167
|
# @example Request syntax with placeholder values
|
2049
2168
|
#
|
2050
2169
|
# resp = client.list_reports_for_report_group({
|
@@ -2111,6 +2230,8 @@ module Aws::CodeBuild
|
|
2111
2230
|
# * {Types::ListSharedProjectsOutput#next_token #next_token} => String
|
2112
2231
|
# * {Types::ListSharedProjectsOutput#projects #projects} => Array<String>
|
2113
2232
|
#
|
2233
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2234
|
+
#
|
2114
2235
|
# @example Request syntax with placeholder values
|
2115
2236
|
#
|
2116
2237
|
# resp = client.list_shared_projects({
|
@@ -2173,6 +2294,8 @@ module Aws::CodeBuild
|
|
2173
2294
|
# * {Types::ListSharedReportGroupsOutput#next_token #next_token} => String
|
2174
2295
|
# * {Types::ListSharedReportGroupsOutput#report_groups #report_groups} => Array<String>
|
2175
2296
|
#
|
2297
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2298
|
+
#
|
2176
2299
|
# @example Request syntax with placeholder values
|
2177
2300
|
#
|
2178
2301
|
# resp = client.list_shared_report_groups({
|
@@ -2338,9 +2461,23 @@ module Aws::CodeBuild
|
|
2338
2461
|
# an AWS CodeBuild build project.
|
2339
2462
|
#
|
2340
2463
|
# @option params [String] :buildspec_override
|
2341
|
-
# A
|
2464
|
+
# A buildspec file declaration that overrides, for this build only, the
|
2342
2465
|
# latest one already defined in the build project.
|
2343
2466
|
#
|
2467
|
+
# If this value is set, it can be either an inline buildspec definition,
|
2468
|
+
# the path to an alternate buildspec file relative to the value of the
|
2469
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
2470
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
2471
|
+
# project. Specify the buildspec file using its ARN (for example,
|
2472
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
2473
|
+
# not provided or is set to an empty string, the source code must
|
2474
|
+
# contain a buildspec file in its root directory. For more information,
|
2475
|
+
# see [Buildspec File Name and Storage Location][1].
|
2476
|
+
#
|
2477
|
+
#
|
2478
|
+
#
|
2479
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
2480
|
+
#
|
2344
2481
|
# @option params [Boolean] :insecure_ssl_override
|
2345
2482
|
# Enable this flag to override the insecure SSL setting that is
|
2346
2483
|
# specified in the build project. The insecure SSL setting determines
|
@@ -2652,6 +2789,12 @@ module Aws::CodeBuild
|
|
2652
2789
|
# resp.build.exported_environment_variables[0].value #=> String
|
2653
2790
|
# resp.build.report_arns #=> Array
|
2654
2791
|
# resp.build.report_arns[0] #=> String
|
2792
|
+
# resp.build.file_system_locations #=> Array
|
2793
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2794
|
+
# resp.build.file_system_locations[0].location #=> String
|
2795
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2796
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2797
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2655
2798
|
#
|
2656
2799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
|
2657
2800
|
#
|
@@ -2781,6 +2924,12 @@ module Aws::CodeBuild
|
|
2781
2924
|
# resp.build.exported_environment_variables[0].value #=> String
|
2782
2925
|
# resp.build.report_arns #=> Array
|
2783
2926
|
# resp.build.report_arns[0] #=> String
|
2927
|
+
# resp.build.file_system_locations #=> Array
|
2928
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2929
|
+
# resp.build.file_system_locations[0].location #=> String
|
2930
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2931
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2932
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2784
2933
|
#
|
2785
2934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
|
2786
2935
|
#
|
@@ -2889,7 +3038,8 @@ module Aws::CodeBuild
|
|
2889
3038
|
# if available, the CMK's alias (using the format `alias/alias-name `).
|
2890
3039
|
#
|
2891
3040
|
# @option params [Array<Types::Tag>] :tags
|
2892
|
-
#
|
3041
|
+
# An updated list of tag key and value pairs associated with this build
|
3042
|
+
# project.
|
2893
3043
|
#
|
2894
3044
|
# These tags are available for use by AWS services that support AWS
|
2895
3045
|
# CodeBuild build project tags.
|
@@ -2905,6 +3055,12 @@ module Aws::CodeBuild
|
|
2905
3055
|
# Information about logs for the build project. A project can create
|
2906
3056
|
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
2907
3057
|
#
|
3058
|
+
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
3059
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
3060
|
+
# project. A `ProjectFileSystemLocation` object specifies the
|
3061
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
3062
|
+
# a file system created using Amazon Elastic File System.
|
3063
|
+
#
|
2908
3064
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2909
3065
|
#
|
2910
3066
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -3031,6 +3187,15 @@ module Aws::CodeBuild
|
|
3031
3187
|
# encryption_disabled: false,
|
3032
3188
|
# },
|
3033
3189
|
# },
|
3190
|
+
# file_system_locations: [
|
3191
|
+
# {
|
3192
|
+
# type: "EFS", # accepts EFS
|
3193
|
+
# location: "String",
|
3194
|
+
# mount_point: "String",
|
3195
|
+
# identifier: "String",
|
3196
|
+
# mount_options: "String",
|
3197
|
+
# },
|
3198
|
+
# ],
|
3034
3199
|
# })
|
3035
3200
|
#
|
3036
3201
|
# @example Response structure
|
@@ -3113,7 +3278,7 @@ module Aws::CodeBuild
|
|
3113
3278
|
# resp.project.webhook.branch_filter #=> String
|
3114
3279
|
# resp.project.webhook.filter_groups #=> Array
|
3115
3280
|
# resp.project.webhook.filter_groups[0] #=> Array
|
3116
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3281
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3117
3282
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
3118
3283
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3119
3284
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -3130,6 +3295,12 @@ module Aws::CodeBuild
|
|
3130
3295
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3131
3296
|
# resp.project.logs_config.s3_logs.location #=> String
|
3132
3297
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
3298
|
+
# resp.project.file_system_locations #=> Array
|
3299
|
+
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
3300
|
+
# resp.project.file_system_locations[0].location #=> String
|
3301
|
+
# resp.project.file_system_locations[0].mount_point #=> String
|
3302
|
+
# resp.project.file_system_locations[0].identifier #=> String
|
3303
|
+
# resp.project.file_system_locations[0].mount_options #=> String
|
3133
3304
|
#
|
3134
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
3135
3306
|
#
|
@@ -3152,6 +3323,13 @@ module Aws::CodeBuild
|
|
3152
3323
|
#
|
3153
3324
|
# * `NO_EXPORT`\: The report results are not exported.
|
3154
3325
|
#
|
3326
|
+
# @option params [Array<Types::Tag>] :tags
|
3327
|
+
# An updated list of tag key and value pairs associated with this report
|
3328
|
+
# group.
|
3329
|
+
#
|
3330
|
+
# These tags are available for use by AWS services that support AWS
|
3331
|
+
# CodeBuild report group tags.
|
3332
|
+
#
|
3155
3333
|
# @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3156
3334
|
#
|
3157
3335
|
# * {Types::UpdateReportGroupOutput#report_group #report_group} => Types::ReportGroup
|
@@ -3170,6 +3348,12 @@ module Aws::CodeBuild
|
|
3170
3348
|
# encryption_disabled: false,
|
3171
3349
|
# },
|
3172
3350
|
# },
|
3351
|
+
# tags: [
|
3352
|
+
# {
|
3353
|
+
# key: "KeyInput",
|
3354
|
+
# value: "ValueInput",
|
3355
|
+
# },
|
3356
|
+
# ],
|
3173
3357
|
# })
|
3174
3358
|
#
|
3175
3359
|
# @example Response structure
|
@@ -3185,6 +3369,9 @@ module Aws::CodeBuild
|
|
3185
3369
|
# resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
|
3186
3370
|
# resp.report_group.created #=> Time
|
3187
3371
|
# resp.report_group.last_modified #=> Time
|
3372
|
+
# resp.report_group.tags #=> Array
|
3373
|
+
# resp.report_group.tags[0].key #=> String
|
3374
|
+
# resp.report_group.tags[0].value #=> String
|
3188
3375
|
#
|
3189
3376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup AWS API Documentation
|
3190
3377
|
#
|
@@ -3238,7 +3425,7 @@ module Aws::CodeBuild
|
|
3238
3425
|
# filter_groups: [
|
3239
3426
|
# [
|
3240
3427
|
# {
|
3241
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
3428
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
3242
3429
|
# pattern: "String", # required
|
3243
3430
|
# exclude_matched_pattern: false,
|
3244
3431
|
# },
|
@@ -3254,7 +3441,7 @@ module Aws::CodeBuild
|
|
3254
3441
|
# resp.webhook.branch_filter #=> String
|
3255
3442
|
# resp.webhook.filter_groups #=> Array
|
3256
3443
|
# resp.webhook.filter_groups[0] #=> Array
|
3257
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3444
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3258
3445
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
3259
3446
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3260
3447
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -3281,7 +3468,7 @@ module Aws::CodeBuild
|
|
3281
3468
|
params: params,
|
3282
3469
|
config: config)
|
3283
3470
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3284
|
-
context[:gem_version] = '1.
|
3471
|
+
context[:gem_version] = '1.52.0'
|
3285
3472
|
Seahorse::Client::Request.new(handlers, context)
|
3286
3473
|
end
|
3287
3474
|
|