aws-sdk-codebuild 1.140.0 → 1.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +8 -8
- data/lib/aws-sdk-codebuild/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-codebuild/types.rb +5 -0
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd47b235610c11efaa43735347044099ce5a8e6f1b2feb2c047cfde71b7f6096
|
4
|
+
data.tar.gz: 175eaadf64617e197b328884125f34e074084bfdeab3233df5d9fc408b37ad02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 765bd81bf515678b4bffa52c69c2a24d472b366830cf09365c6bddacfade006f6b2e9e8024c692702223ac30b0ea2c8e07e12d2a05bf0e3f7d939ca2113dd9e5
|
7
|
+
data.tar.gz: ccbd6fe441241eb3fa3a8c6e6c53812d5160c4c7f0a07f49eb79d518069d79634c8c7264cefc3428404014ad1c2cc2d433acb6172909bfd82898e7d67b01c4d3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.142.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.141.0 (2025-01-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for CodeBuild self-hosted Buildkite runner builds
|
13
|
+
|
4
14
|
1.140.0 (2025-01-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.142.0
|
@@ -1024,7 +1024,7 @@ module Aws::CodeBuild
|
|
1024
1024
|
# resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
|
1025
1025
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
1026
1026
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1027
|
-
# resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1027
|
+
# resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"
|
1028
1028
|
# resp.projects[0].webhook.manual_creation #=> Boolean
|
1029
1029
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
1030
1030
|
# resp.projects[0].webhook.scope_configuration.name #=> String
|
@@ -1895,7 +1895,7 @@ module Aws::CodeBuild
|
|
1895
1895
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
|
1896
1896
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1897
1897
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1898
|
-
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1898
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"
|
1899
1899
|
# resp.project.webhook.manual_creation #=> Boolean
|
1900
1900
|
# resp.project.webhook.last_modified_secret #=> Time
|
1901
1901
|
# resp.project.webhook.scope_configuration.name #=> String
|
@@ -2100,7 +2100,7 @@ module Aws::CodeBuild
|
|
2100
2100
|
# },
|
2101
2101
|
# ],
|
2102
2102
|
# ],
|
2103
|
-
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
2103
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH, RUNNER_BUILDKITE_BUILD
|
2104
2104
|
# manual_creation: false,
|
2105
2105
|
# scope_configuration: {
|
2106
2106
|
# name: "String", # required
|
@@ -2120,7 +2120,7 @@ module Aws::CodeBuild
|
|
2120
2120
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
|
2121
2121
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
2122
2122
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
2123
|
-
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
2123
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"
|
2124
2124
|
# resp.webhook.manual_creation #=> Boolean
|
2125
2125
|
# resp.webhook.last_modified_secret #=> Time
|
2126
2126
|
# resp.webhook.scope_configuration.name #=> String
|
@@ -5873,7 +5873,7 @@ module Aws::CodeBuild
|
|
5873
5873
|
# resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
|
5874
5874
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
5875
5875
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
5876
|
-
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
5876
|
+
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"
|
5877
5877
|
# resp.project.webhook.manual_creation #=> Boolean
|
5878
5878
|
# resp.project.webhook.last_modified_secret #=> Time
|
5879
5879
|
# resp.project.webhook.scope_configuration.name #=> String
|
@@ -6133,7 +6133,7 @@ module Aws::CodeBuild
|
|
6133
6133
|
# },
|
6134
6134
|
# ],
|
6135
6135
|
# ],
|
6136
|
-
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
6136
|
+
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH, RUNNER_BUILDKITE_BUILD
|
6137
6137
|
# })
|
6138
6138
|
#
|
6139
6139
|
# @example Response structure
|
@@ -6147,7 +6147,7 @@ module Aws::CodeBuild
|
|
6147
6147
|
# resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
|
6148
6148
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
6149
6149
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
6150
|
-
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
6150
|
+
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"
|
6151
6151
|
# resp.webhook.manual_creation #=> Boolean
|
6152
6152
|
# resp.webhook.last_modified_secret #=> Time
|
6153
6153
|
# resp.webhook.scope_configuration.name #=> String
|
@@ -6181,7 +6181,7 @@ module Aws::CodeBuild
|
|
6181
6181
|
tracer: tracer
|
6182
6182
|
)
|
6183
6183
|
context[:gem_name] = 'aws-sdk-codebuild'
|
6184
|
-
context[:gem_version] = '1.
|
6184
|
+
context[:gem_version] = '1.142.0'
|
6185
6185
|
Seahorse::Client::Request.new(handlers, context)
|
6186
6186
|
end
|
6187
6187
|
|
@@ -10,40 +10,36 @@
|
|
10
10
|
module Aws::CodeBuild
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://codebuild-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codebuild-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://codebuild-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codebuild-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
33
|
end
|
38
34
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
35
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
41
37
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://codebuild.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codebuild.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
39
|
end
|
44
40
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
41
|
end
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://codebuild.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codebuild.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
43
|
end
|
48
44
|
end
|
49
45
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -7518,6 +7518,11 @@ module Aws::CodeBuild
|
|
7518
7518
|
# <note markdown="1"> Works with `WORKFLOW_JOB_QUEUED` events only.
|
7519
7519
|
#
|
7520
7520
|
# </note>
|
7521
|
+
#
|
7522
|
+
# <note markdown="1"> For CodeBuild-hosted Buildkite runner builds, WORKFLOW\_NAME
|
7523
|
+
# filters will filter by pipeline name.
|
7524
|
+
#
|
7525
|
+
# </note>
|
7521
7526
|
# @return [String]
|
7522
7527
|
#
|
7523
7528
|
# @!attribute [rw] pattern
|
data/lib/aws-sdk-codebuild.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -423,7 +423,7 @@ module Aws
|
|
423
423
|
},
|
424
424
|
],
|
425
425
|
],
|
426
|
-
?build_type: ("BUILD" | "BUILD_BATCH"),
|
426
|
+
?build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD"),
|
427
427
|
?manual_creation: bool,
|
428
428
|
?scope_configuration: {
|
429
429
|
name: ::String,
|
@@ -1361,7 +1361,7 @@ module Aws
|
|
1361
1361
|
},
|
1362
1362
|
],
|
1363
1363
|
],
|
1364
|
-
?build_type: ("BUILD" | "BUILD_BATCH")
|
1364
|
+
?build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD")
|
1365
1365
|
) -> _UpdateWebhookResponseSuccess
|
1366
1366
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebhookResponseSuccess
|
1367
1367
|
end
|
data/sig/types.rbs
CHANGED
@@ -348,7 +348,7 @@ module Aws::CodeBuild
|
|
348
348
|
attr_accessor project_name: ::String
|
349
349
|
attr_accessor branch_filter: ::String
|
350
350
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
351
|
-
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
351
|
+
attr_accessor build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD")
|
352
352
|
attr_accessor manual_creation: bool
|
353
353
|
attr_accessor scope_configuration: Types::ScopeConfiguration
|
354
354
|
SENSITIVE: []
|
@@ -1292,7 +1292,7 @@ module Aws::CodeBuild
|
|
1292
1292
|
attr_accessor branch_filter: ::String
|
1293
1293
|
attr_accessor rotate_secret: bool
|
1294
1294
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
1295
|
-
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
1295
|
+
attr_accessor build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD")
|
1296
1296
|
SENSITIVE: []
|
1297
1297
|
end
|
1298
1298
|
|
@@ -1314,7 +1314,7 @@ module Aws::CodeBuild
|
|
1314
1314
|
attr_accessor secret: ::String
|
1315
1315
|
attr_accessor branch_filter: ::String
|
1316
1316
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
1317
|
-
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
1317
|
+
attr_accessor build_type: ("BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD")
|
1318
1318
|
attr_accessor manual_creation: bool
|
1319
1319
|
attr_accessor last_modified_secret: ::Time
|
1320
1320
|
attr_accessor scope_configuration: Types::ScopeConfiguration
|
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.142.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: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|