aws-sdk-codebuild 1.49.0 → 1.50.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 +31 -14
- data/lib/aws-sdk-codebuild/client_api.rb +51 -0
- data/lib/aws-sdk-codebuild/resource.rb +1 -7
- data/lib/aws-sdk-codebuild/types.rb +46 -24
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50e12aa990e733dc8d7dbb37bbcfe4c2b7affef2b5c8e07992dda78316c869bf
|
4
|
+
data.tar.gz: de2f3bef527224fcd735b972304ef6ebb068a4f6947636b8564a2ca036a296a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c808390458783acb61a3e4649a377364eb9896cda08b7795d08ecc9edbd28db25c38814e70ed163a3c3c64212b140cf02773d097b0719d004854c050f23cffdd
|
7
|
+
data.tar.gz: c134e71aa48545a1df8b268b18f3279dd5f4b9421bbf596eb9ccec2abe9ff431fdcc8aa93813d7fef41e97f4cfea8ad22e69e9d05eef60687d6fe2d669fbb450
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::CodeBuild
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::CodeBuild
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -279,8 +279,7 @@ module Aws::CodeBuild
|
|
279
279
|
#
|
280
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
281
|
# number of seconds to wait for response data. This value can
|
282
|
-
# safely be set
|
283
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
284
283
|
#
|
285
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +291,7 @@ module Aws::CodeBuild
|
|
292
291
|
# request body. This option has no effect unless the request has
|
293
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
293
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
294
|
+
# request on the session.
|
296
295
|
#
|
297
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -843,7 +842,7 @@ module Aws::CodeBuild
|
|
843
842
|
# resp.projects[0].webhook.branch_filter #=> String
|
844
843
|
# resp.projects[0].webhook.filter_groups #=> Array
|
845
844
|
# resp.projects[0].webhook.filter_groups[0] #=> Array
|
846
|
-
# 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"
|
847
846
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
848
847
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
849
848
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
@@ -1303,7 +1302,7 @@ module Aws::CodeBuild
|
|
1303
1302
|
# resp.project.webhook.branch_filter #=> String
|
1304
1303
|
# resp.project.webhook.filter_groups #=> Array
|
1305
1304
|
# resp.project.webhook.filter_groups[0] #=> Array
|
1306
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1305
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1307
1306
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1308
1307
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1309
1308
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -1446,7 +1445,7 @@ module Aws::CodeBuild
|
|
1446
1445
|
# filter_groups: [
|
1447
1446
|
# [
|
1448
1447
|
# {
|
1449
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
1448
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
1450
1449
|
# pattern: "String", # required
|
1451
1450
|
# exclude_matched_pattern: false,
|
1452
1451
|
# },
|
@@ -1462,7 +1461,7 @@ module Aws::CodeBuild
|
|
1462
1461
|
# resp.webhook.branch_filter #=> String
|
1463
1462
|
# resp.webhook.filter_groups #=> Array
|
1464
1463
|
# resp.webhook.filter_groups[0] #=> Array
|
1465
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
1464
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
1466
1465
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1467
1466
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1468
1467
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -1656,6 +1655,8 @@ module Aws::CodeBuild
|
|
1656
1655
|
# * {Types::DescribeTestCasesOutput#next_token #next_token} => String
|
1657
1656
|
# * {Types::DescribeTestCasesOutput#test_cases #test_cases} => Array<Types::TestCase>
|
1658
1657
|
#
|
1658
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1659
|
+
#
|
1659
1660
|
# @example Request syntax with placeholder values
|
1660
1661
|
#
|
1661
1662
|
# resp = client.describe_test_cases({
|
@@ -1818,6 +1819,8 @@ module Aws::CodeBuild
|
|
1818
1819
|
# * {Types::ListBuildsOutput#ids #ids} => Array<String>
|
1819
1820
|
# * {Types::ListBuildsOutput#next_token #next_token} => String
|
1820
1821
|
#
|
1822
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1823
|
+
#
|
1821
1824
|
# @example Request syntax with placeholder values
|
1822
1825
|
#
|
1823
1826
|
# resp = client.list_builds({
|
@@ -1867,6 +1870,8 @@ module Aws::CodeBuild
|
|
1867
1870
|
# * {Types::ListBuildsForProjectOutput#ids #ids} => Array<String>
|
1868
1871
|
# * {Types::ListBuildsForProjectOutput#next_token #next_token} => String
|
1869
1872
|
#
|
1873
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1874
|
+
#
|
1870
1875
|
# @example Request syntax with placeholder values
|
1871
1876
|
#
|
1872
1877
|
# resp = client.list_builds_for_project({
|
@@ -1959,6 +1964,8 @@ module Aws::CodeBuild
|
|
1959
1964
|
# * {Types::ListProjectsOutput#next_token #next_token} => String
|
1960
1965
|
# * {Types::ListProjectsOutput#projects #projects} => Array<String>
|
1961
1966
|
#
|
1967
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1968
|
+
#
|
1962
1969
|
# @example Request syntax with placeholder values
|
1963
1970
|
#
|
1964
1971
|
# resp = client.list_projects({
|
@@ -2018,6 +2025,8 @@ module Aws::CodeBuild
|
|
2018
2025
|
# * {Types::ListReportGroupsOutput#next_token #next_token} => String
|
2019
2026
|
# * {Types::ListReportGroupsOutput#report_groups #report_groups} => Array<String>
|
2020
2027
|
#
|
2028
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2029
|
+
#
|
2021
2030
|
# @example Request syntax with placeholder values
|
2022
2031
|
#
|
2023
2032
|
# resp = client.list_report_groups({
|
@@ -2076,6 +2085,8 @@ module Aws::CodeBuild
|
|
2076
2085
|
# * {Types::ListReportsOutput#next_token #next_token} => String
|
2077
2086
|
# * {Types::ListReportsOutput#reports #reports} => Array<String>
|
2078
2087
|
#
|
2088
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2089
|
+
#
|
2079
2090
|
# @example Request syntax with placeholder values
|
2080
2091
|
#
|
2081
2092
|
# resp = client.list_reports({
|
@@ -2133,6 +2144,8 @@ module Aws::CodeBuild
|
|
2133
2144
|
# * {Types::ListReportsForReportGroupOutput#next_token #next_token} => String
|
2134
2145
|
# * {Types::ListReportsForReportGroupOutput#reports #reports} => Array<String>
|
2135
2146
|
#
|
2147
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2148
|
+
#
|
2136
2149
|
# @example Request syntax with placeholder values
|
2137
2150
|
#
|
2138
2151
|
# resp = client.list_reports_for_report_group({
|
@@ -2199,6 +2212,8 @@ module Aws::CodeBuild
|
|
2199
2212
|
# * {Types::ListSharedProjectsOutput#next_token #next_token} => String
|
2200
2213
|
# * {Types::ListSharedProjectsOutput#projects #projects} => Array<String>
|
2201
2214
|
#
|
2215
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2216
|
+
#
|
2202
2217
|
# @example Request syntax with placeholder values
|
2203
2218
|
#
|
2204
2219
|
# resp = client.list_shared_projects({
|
@@ -2261,6 +2276,8 @@ module Aws::CodeBuild
|
|
2261
2276
|
# * {Types::ListSharedReportGroupsOutput#next_token #next_token} => String
|
2262
2277
|
# * {Types::ListSharedReportGroupsOutput#report_groups #report_groups} => Array<String>
|
2263
2278
|
#
|
2279
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2280
|
+
#
|
2264
2281
|
# @example Request syntax with placeholder values
|
2265
2282
|
#
|
2266
2283
|
# resp = client.list_shared_report_groups({
|
@@ -2513,7 +2530,7 @@ module Aws::CodeBuild
|
|
2513
2530
|
# @option params [String] :idempotency_token
|
2514
2531
|
# A unique, case sensitive identifier you provide to ensure the
|
2515
2532
|
# idempotency of the StartBuild request. The token is included in the
|
2516
|
-
# StartBuild request and is valid for
|
2533
|
+
# StartBuild request and is valid for 5 minutes. If you repeat the
|
2517
2534
|
# StartBuild request with the same token, but change a parameter, AWS
|
2518
2535
|
# CodeBuild returns a parameter mismatch error.
|
2519
2536
|
#
|
@@ -3242,7 +3259,7 @@ module Aws::CodeBuild
|
|
3242
3259
|
# resp.project.webhook.branch_filter #=> String
|
3243
3260
|
# resp.project.webhook.filter_groups #=> Array
|
3244
3261
|
# resp.project.webhook.filter_groups[0] #=> Array
|
3245
|
-
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3262
|
+
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3246
3263
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
3247
3264
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3248
3265
|
# resp.project.webhook.last_modified_secret #=> Time
|
@@ -3373,7 +3390,7 @@ module Aws::CodeBuild
|
|
3373
3390
|
# filter_groups: [
|
3374
3391
|
# [
|
3375
3392
|
# {
|
3376
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
3393
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
3377
3394
|
# pattern: "String", # required
|
3378
3395
|
# exclude_matched_pattern: false,
|
3379
3396
|
# },
|
@@ -3389,7 +3406,7 @@ module Aws::CodeBuild
|
|
3389
3406
|
# resp.webhook.branch_filter #=> String
|
3390
3407
|
# resp.webhook.filter_groups #=> Array
|
3391
3408
|
# resp.webhook.filter_groups[0] #=> Array
|
3392
|
-
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH"
|
3409
|
+
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE"
|
3393
3410
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
3394
3411
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
3395
3412
|
# resp.webhook.last_modified_secret #=> Time
|
@@ -3416,7 +3433,7 @@ module Aws::CodeBuild
|
|
3416
3433
|
params: params,
|
3417
3434
|
config: config)
|
3418
3435
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3419
|
-
context[:gem_version] = '1.
|
3436
|
+
context[:gem_version] = '1.50.0'
|
3420
3437
|
Seahorse::Client::Request.new(handlers, context)
|
3421
3438
|
end
|
3422
3439
|
|
@@ -1026,6 +1026,12 @@ module Aws::CodeBuild
|
|
1026
1026
|
o.output = Shapes::ShapeRef.new(shape: DescribeTestCasesOutput)
|
1027
1027
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1028
1028
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1029
|
+
o[:pager] = Aws::Pager.new(
|
1030
|
+
limit_key: "max_results",
|
1031
|
+
tokens: {
|
1032
|
+
"next_token" => "next_token"
|
1033
|
+
}
|
1034
|
+
)
|
1029
1035
|
end)
|
1030
1036
|
|
1031
1037
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1066,6 +1072,11 @@ module Aws::CodeBuild
|
|
1066
1072
|
o.input = Shapes::ShapeRef.new(shape: ListBuildsInput)
|
1067
1073
|
o.output = Shapes::ShapeRef.new(shape: ListBuildsOutput)
|
1068
1074
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1075
|
+
o[:pager] = Aws::Pager.new(
|
1076
|
+
tokens: {
|
1077
|
+
"next_token" => "next_token"
|
1078
|
+
}
|
1079
|
+
)
|
1069
1080
|
end)
|
1070
1081
|
|
1071
1082
|
api.add_operation(:list_builds_for_project, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1076,6 +1087,11 @@ module Aws::CodeBuild
|
|
1076
1087
|
o.output = Shapes::ShapeRef.new(shape: ListBuildsForProjectOutput)
|
1077
1088
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1078
1089
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1090
|
+
o[:pager] = Aws::Pager.new(
|
1091
|
+
tokens: {
|
1092
|
+
"next_token" => "next_token"
|
1093
|
+
}
|
1094
|
+
)
|
1079
1095
|
end)
|
1080
1096
|
|
1081
1097
|
api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1093,6 +1109,11 @@ module Aws::CodeBuild
|
|
1093
1109
|
o.input = Shapes::ShapeRef.new(shape: ListProjectsInput)
|
1094
1110
|
o.output = Shapes::ShapeRef.new(shape: ListProjectsOutput)
|
1095
1111
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1112
|
+
o[:pager] = Aws::Pager.new(
|
1113
|
+
tokens: {
|
1114
|
+
"next_token" => "next_token"
|
1115
|
+
}
|
1116
|
+
)
|
1096
1117
|
end)
|
1097
1118
|
|
1098
1119
|
api.add_operation(:list_report_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1102,6 +1123,12 @@ module Aws::CodeBuild
|
|
1102
1123
|
o.input = Shapes::ShapeRef.new(shape: ListReportGroupsInput)
|
1103
1124
|
o.output = Shapes::ShapeRef.new(shape: ListReportGroupsOutput)
|
1104
1125
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1126
|
+
o[:pager] = Aws::Pager.new(
|
1127
|
+
limit_key: "max_results",
|
1128
|
+
tokens: {
|
1129
|
+
"next_token" => "next_token"
|
1130
|
+
}
|
1131
|
+
)
|
1105
1132
|
end)
|
1106
1133
|
|
1107
1134
|
api.add_operation(:list_reports, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1111,6 +1138,12 @@ module Aws::CodeBuild
|
|
1111
1138
|
o.input = Shapes::ShapeRef.new(shape: ListReportsInput)
|
1112
1139
|
o.output = Shapes::ShapeRef.new(shape: ListReportsOutput)
|
1113
1140
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1141
|
+
o[:pager] = Aws::Pager.new(
|
1142
|
+
limit_key: "max_results",
|
1143
|
+
tokens: {
|
1144
|
+
"next_token" => "next_token"
|
1145
|
+
}
|
1146
|
+
)
|
1114
1147
|
end)
|
1115
1148
|
|
1116
1149
|
api.add_operation(:list_reports_for_report_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1121,6 +1154,12 @@ module Aws::CodeBuild
|
|
1121
1154
|
o.output = Shapes::ShapeRef.new(shape: ListReportsForReportGroupOutput)
|
1122
1155
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1123
1156
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1157
|
+
o[:pager] = Aws::Pager.new(
|
1158
|
+
limit_key: "max_results",
|
1159
|
+
tokens: {
|
1160
|
+
"next_token" => "next_token"
|
1161
|
+
}
|
1162
|
+
)
|
1124
1163
|
end)
|
1125
1164
|
|
1126
1165
|
api.add_operation(:list_shared_projects, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1130,6 +1169,12 @@ module Aws::CodeBuild
|
|
1130
1169
|
o.input = Shapes::ShapeRef.new(shape: ListSharedProjectsInput)
|
1131
1170
|
o.output = Shapes::ShapeRef.new(shape: ListSharedProjectsOutput)
|
1132
1171
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1172
|
+
o[:pager] = Aws::Pager.new(
|
1173
|
+
limit_key: "max_results",
|
1174
|
+
tokens: {
|
1175
|
+
"next_token" => "next_token"
|
1176
|
+
}
|
1177
|
+
)
|
1133
1178
|
end)
|
1134
1179
|
|
1135
1180
|
api.add_operation(:list_shared_report_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1139,6 +1184,12 @@ module Aws::CodeBuild
|
|
1139
1184
|
o.input = Shapes::ShapeRef.new(shape: ListSharedReportGroupsInput)
|
1140
1185
|
o.output = Shapes::ShapeRef.new(shape: ListSharedReportGroupsOutput)
|
1141
1186
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1187
|
+
o[:pager] = Aws::Pager.new(
|
1188
|
+
limit_key: "max_results",
|
1189
|
+
tokens: {
|
1190
|
+
"next_token" => "next_token"
|
1191
|
+
}
|
1192
|
+
)
|
1142
1193
|
end)
|
1143
1194
|
|
1144
1195
|
api.add_operation(:list_source_credentials, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CodeBuild
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::CodeBuild::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::CodeBuild::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::CodeBuild::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -1007,7 +1007,7 @@ module Aws::CodeBuild
|
|
1007
1007
|
# filter_groups: [
|
1008
1008
|
# [
|
1009
1009
|
# {
|
1010
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
1010
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
1011
1011
|
# pattern: "String", # required
|
1012
1012
|
# exclude_matched_pattern: false,
|
1013
1013
|
# },
|
@@ -1363,13 +1363,22 @@ module Aws::CodeBuild
|
|
1363
1363
|
# The type of environment variable. Valid values include:
|
1364
1364
|
#
|
1365
1365
|
# * `PARAMETER_STORE`\: An environment variable stored in Amazon EC2
|
1366
|
-
# Systems Manager Parameter Store.
|
1366
|
+
# Systems Manager Parameter Store. To learn how to specify a
|
1367
|
+
# parameter store environment variable, see [ parameter store
|
1368
|
+
# reference-key in the buildspec file][1].
|
1367
1369
|
#
|
1368
1370
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
1369
1371
|
# is the default value.
|
1370
1372
|
#
|
1371
1373
|
# * `SECRETS_MANAGER`\: An environment variable stored in AWS Secrets
|
1372
|
-
# Manager.
|
1374
|
+
# Manager. To learn how to specify a secrets manager environment
|
1375
|
+
# variable, see [ secrets manager reference-key in the buildspec
|
1376
|
+
# file][2].
|
1377
|
+
#
|
1378
|
+
#
|
1379
|
+
#
|
1380
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec
|
1381
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec
|
1373
1382
|
# @return [String]
|
1374
1383
|
#
|
1375
1384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable AWS API Documentation
|
@@ -2796,17 +2805,16 @@ module Aws::CodeBuild
|
|
2796
2805
|
#
|
2797
2806
|
# * The environment type `LINUX_CONTAINER` with compute type
|
2798
2807
|
# `build.general1.2xlarge` is available only in regions US East (N.
|
2799
|
-
# Virginia), US East (
|
2800
|
-
# (
|
2801
|
-
# (
|
2802
|
-
#
|
2808
|
+
# Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
|
2809
|
+
# (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
|
2810
|
+
# Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
|
2811
|
+
# China (Beijing), and China (Ningxia).
|
2803
2812
|
#
|
2804
2813
|
# * The environment type `LINUX_GPU_CONTAINER` is available only in
|
2805
|
-
# regions US East (N. Virginia), US East (
|
2806
|
-
#
|
2807
|
-
# (
|
2808
|
-
#
|
2809
|
-
# China (Ningxia).
|
2814
|
+
# regions US East (N. Virginia), US East (Ohio), US West (Oregon),
|
2815
|
+
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
2816
|
+
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
2817
|
+
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
2810
2818
|
# @return [String]
|
2811
2819
|
#
|
2812
2820
|
# @!attribute [rw] image
|
@@ -3956,7 +3964,7 @@ module Aws::CodeBuild
|
|
3956
3964
|
# @!attribute [rw] idempotency_token
|
3957
3965
|
# A unique, case sensitive identifier you provide to ensure the
|
3958
3966
|
# idempotency of the StartBuild request. The token is included in the
|
3959
|
-
# StartBuild request and is valid for
|
3967
|
+
# StartBuild request and is valid for 5 minutes. If you repeat the
|
3960
3968
|
# StartBuild request with the same token, but change a parameter, AWS
|
3961
3969
|
# CodeBuild returns a parameter mismatch error.
|
3962
3970
|
# @return [String]
|
@@ -4563,7 +4571,7 @@ module Aws::CodeBuild
|
|
4563
4571
|
# filter_groups: [
|
4564
4572
|
# [
|
4565
4573
|
# {
|
4566
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
4574
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
4567
4575
|
# pattern: "String", # required
|
4568
4576
|
# exclude_matched_pattern: false,
|
4569
4577
|
# },
|
@@ -4717,24 +4725,25 @@ module Aws::CodeBuild
|
|
4717
4725
|
# data as a hash:
|
4718
4726
|
#
|
4719
4727
|
# {
|
4720
|
-
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
|
4728
|
+
# type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
|
4721
4729
|
# pattern: "String", # required
|
4722
4730
|
# exclude_matched_pattern: false,
|
4723
4731
|
# }
|
4724
4732
|
#
|
4725
4733
|
# @!attribute [rw] type
|
4726
|
-
# The type of webhook filter. There are
|
4727
|
-
# `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`,
|
4728
|
-
# `
|
4734
|
+
# The type of webhook filter. There are six webhook filter types:
|
4735
|
+
# `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, `FILE_PATH`,
|
4736
|
+
# and `COMMIT_MESSAGE`.
|
4729
4737
|
#
|
4730
4738
|
# EVENT
|
4731
4739
|
#
|
4732
4740
|
# : A webhook event triggers a build when the provided `pattern`
|
4733
|
-
# matches one of
|
4734
|
-
# `PULL_REQUEST_UPDATED`,
|
4735
|
-
# patterns are specified as a
|
4736
|
-
# `PUSH, PULL_REQUEST_CREATED,
|
4737
|
-
# push, pull request created, and
|
4741
|
+
# matches one of five event types: `PUSH`, `PULL_REQUEST_CREATED`,
|
4742
|
+
# `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`, and
|
4743
|
+
# `PULL_REQUEST_MERGED`. The `EVENT` patterns are specified as a
|
4744
|
+
# comma-separated string. For example, `PUSH, PULL_REQUEST_CREATED,
|
4745
|
+
# PULL_REQUEST_UPDATED` filters all push, pull request created, and
|
4746
|
+
# pull request updated events.
|
4738
4747
|
#
|
4739
4748
|
# <note markdown="1"> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub
|
4740
4749
|
# Enterprise only.
|
@@ -4771,7 +4780,20 @@ module Aws::CodeBuild
|
|
4771
4780
|
# : A webhook triggers a build when the path of a changed file matches
|
4772
4781
|
# the regular expression `pattern`.
|
4773
4782
|
#
|
4774
|
-
# <note markdown="1"> Works with GitHub and
|
4783
|
+
# <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
|
4784
|
+
# events. Also works with GitHub Enterprise push events, but does
|
4785
|
+
# not work with GitHub Enterprise pull request events.
|
4786
|
+
#
|
4787
|
+
# </note>
|
4788
|
+
#
|
4789
|
+
# COMMIT\_MESSAGE
|
4790
|
+
#
|
4791
|
+
# : A webhook triggers a build when the head commit message matches
|
4792
|
+
# the regular expression `pattern`.
|
4793
|
+
#
|
4794
|
+
# <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
|
4795
|
+
# events. Also works with GitHub Enterprise push events, but does
|
4796
|
+
# not work with GitHub Enterprise pull request events.
|
4775
4797
|
#
|
4776
4798
|
# </note>
|
4777
4799
|
# @return [String]
|
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.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AWS CodeBuild
|