aws-sdk-codebuild 1.116.0 → 1.118.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +29 -1
- data/lib/aws-sdk-codebuild/client_api.rb +10 -0
- data/lib/aws-sdk-codebuild/types.rb +59 -2
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +6 -1
- data/sig/types.rbs +9 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c383456353c540015f689aed86d40ae38fe57d59d78879222d5c78f267d8ad9
|
4
|
+
data.tar.gz: 198818a42160a127d51b895bcd47632c7c9d299d42783fa39f44feb1c85a6ae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012bc72a1bf7354ab56e586d579c360395b90e357b22b91899e855c7622eac215b0ca2590489f0fc633a2b2c7d897ac8f7f5ae35e09e8a3acc7464dc1339c8de
|
7
|
+
data.tar.gz: fee008d65802c4c033e20df2525ee63db0151335aecf6a841ddfb79ff287caf679efb656004508ecf33fe59a31ad9f03395abe0cf79c3898e82caa038f611a69
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.118.0 (2024-06-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CodeBuild now supports global and organization GitHub webhooks
|
8
|
+
|
9
|
+
1.117.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.116.0 (2024-05-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.0
|
@@ -944,6 +944,9 @@ module Aws::CodeBuild
|
|
944
944
|
# resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
945
945
|
# resp.projects[0].webhook.manual_creation #=> Boolean
|
946
946
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
947
|
+
# resp.projects[0].webhook.scope_configuration.name #=> String
|
948
|
+
# resp.projects[0].webhook.scope_configuration.domain #=> String
|
949
|
+
# resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
|
947
950
|
# resp.projects[0].vpc_config.vpc_id #=> String
|
948
951
|
# resp.projects[0].vpc_config.subnets #=> Array
|
949
952
|
# resp.projects[0].vpc_config.subnets[0] #=> String
|
@@ -1695,6 +1698,9 @@ module Aws::CodeBuild
|
|
1695
1698
|
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1696
1699
|
# resp.project.webhook.manual_creation #=> Boolean
|
1697
1700
|
# resp.project.webhook.last_modified_secret #=> Time
|
1701
|
+
# resp.project.webhook.scope_configuration.name #=> String
|
1702
|
+
# resp.project.webhook.scope_configuration.domain #=> String
|
1703
|
+
# resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
|
1698
1704
|
# resp.project.vpc_config.vpc_id #=> String
|
1699
1705
|
# resp.project.vpc_config.subnets #=> Array
|
1700
1706
|
# resp.project.vpc_config.subnets[0] #=> String
|
@@ -1865,6 +1871,14 @@ module Aws::CodeBuild
|
|
1865
1871
|
#
|
1866
1872
|
# </note>
|
1867
1873
|
#
|
1874
|
+
# @option params [Types::ScopeConfiguration] :scope_configuration
|
1875
|
+
# The scope configuration for global or organization webhooks.
|
1876
|
+
#
|
1877
|
+
# <note markdown="1"> Global or organization webhooks are only available for GitHub and
|
1878
|
+
# Github Enterprise webhooks.
|
1879
|
+
#
|
1880
|
+
# </note>
|
1881
|
+
#
|
1868
1882
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1869
1883
|
#
|
1870
1884
|
# * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -1885,6 +1899,11 @@ module Aws::CodeBuild
|
|
1885
1899
|
# ],
|
1886
1900
|
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
1887
1901
|
# manual_creation: false,
|
1902
|
+
# scope_configuration: {
|
1903
|
+
# name: "String", # required
|
1904
|
+
# domain: "String",
|
1905
|
+
# scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL
|
1906
|
+
# },
|
1888
1907
|
# })
|
1889
1908
|
#
|
1890
1909
|
# @example Response structure
|
@@ -1901,6 +1920,9 @@ module Aws::CodeBuild
|
|
1901
1920
|
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1902
1921
|
# resp.webhook.manual_creation #=> Boolean
|
1903
1922
|
# resp.webhook.last_modified_secret #=> Time
|
1923
|
+
# resp.webhook.scope_configuration.name #=> String
|
1924
|
+
# resp.webhook.scope_configuration.domain #=> String
|
1925
|
+
# resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
|
1904
1926
|
#
|
1905
1927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
|
1906
1928
|
#
|
@@ -5487,6 +5509,9 @@ module Aws::CodeBuild
|
|
5487
5509
|
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
5488
5510
|
# resp.project.webhook.manual_creation #=> Boolean
|
5489
5511
|
# resp.project.webhook.last_modified_secret #=> Time
|
5512
|
+
# resp.project.webhook.scope_configuration.name #=> String
|
5513
|
+
# resp.project.webhook.scope_configuration.domain #=> String
|
5514
|
+
# resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
|
5490
5515
|
# resp.project.vpc_config.vpc_id #=> String
|
5491
5516
|
# resp.project.vpc_config.subnets #=> Array
|
5492
5517
|
# resp.project.vpc_config.subnets[0] #=> String
|
@@ -5756,6 +5781,9 @@ module Aws::CodeBuild
|
|
5756
5781
|
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
5757
5782
|
# resp.webhook.manual_creation #=> Boolean
|
5758
5783
|
# resp.webhook.last_modified_secret #=> Time
|
5784
|
+
# resp.webhook.scope_configuration.name #=> String
|
5785
|
+
# resp.webhook.scope_configuration.domain #=> String
|
5786
|
+
# resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
|
5759
5787
|
#
|
5760
5788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
|
5761
5789
|
#
|
@@ -5779,7 +5807,7 @@ module Aws::CodeBuild
|
|
5779
5807
|
params: params,
|
5780
5808
|
config: config)
|
5781
5809
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5782
|
-
context[:gem_version] = '1.
|
5810
|
+
context[:gem_version] = '1.118.0'
|
5783
5811
|
Seahorse::Client::Request.new(handlers, context)
|
5784
5812
|
end
|
5785
5813
|
|
@@ -239,6 +239,7 @@ module Aws::CodeBuild
|
|
239
239
|
S3ReportExportConfig = Shapes::StructureShape.new(name: 'S3ReportExportConfig')
|
240
240
|
ScalingConfigurationInput = Shapes::StructureShape.new(name: 'ScalingConfigurationInput')
|
241
241
|
ScalingConfigurationOutput = Shapes::StructureShape.new(name: 'ScalingConfigurationOutput')
|
242
|
+
ScopeConfiguration = Shapes::StructureShape.new(name: 'ScopeConfiguration')
|
242
243
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
243
244
|
SensitiveNonEmptyString = Shapes::StringShape.new(name: 'SensitiveNonEmptyString')
|
244
245
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
@@ -287,6 +288,7 @@ module Aws::CodeBuild
|
|
287
288
|
WebhookBuildType = Shapes::StringShape.new(name: 'WebhookBuildType')
|
288
289
|
WebhookFilter = Shapes::StructureShape.new(name: 'WebhookFilter')
|
289
290
|
WebhookFilterType = Shapes::StringShape.new(name: 'WebhookFilterType')
|
291
|
+
WebhookScopeType = Shapes::StringShape.new(name: 'WebhookScopeType')
|
290
292
|
WrapperBoolean = Shapes::BooleanShape.new(name: 'WrapperBoolean')
|
291
293
|
WrapperDouble = Shapes::FloatShape.new(name: 'WrapperDouble')
|
292
294
|
WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
|
@@ -568,6 +570,7 @@ module Aws::CodeBuild
|
|
568
570
|
CreateWebhookInput.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
|
569
571
|
CreateWebhookInput.add_member(:build_type, Shapes::ShapeRef.new(shape: WebhookBuildType, location_name: "buildType"))
|
570
572
|
CreateWebhookInput.add_member(:manual_creation, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "manualCreation"))
|
573
|
+
CreateWebhookInput.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: ScopeConfiguration, location_name: "scopeConfiguration"))
|
571
574
|
CreateWebhookInput.struct_class = Types::CreateWebhookInput
|
572
575
|
|
573
576
|
CreateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
|
@@ -1117,6 +1120,11 @@ module Aws::CodeBuild
|
|
1117
1120
|
ScalingConfigurationOutput.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "desiredCapacity"))
|
1118
1121
|
ScalingConfigurationOutput.struct_class = Types::ScalingConfigurationOutput
|
1119
1122
|
|
1123
|
+
ScopeConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
1124
|
+
ScopeConfiguration.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "domain"))
|
1125
|
+
ScopeConfiguration.add_member(:scope, Shapes::ShapeRef.new(shape: WebhookScopeType, required: true, location_name: "scope"))
|
1126
|
+
ScopeConfiguration.struct_class = Types::ScopeConfiguration
|
1127
|
+
|
1120
1128
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1121
1129
|
|
1122
1130
|
SourceAuth.add_member(:type, Shapes::ShapeRef.new(shape: SourceAuthType, required: true, location_name: "type"))
|
@@ -1332,6 +1340,7 @@ module Aws::CodeBuild
|
|
1332
1340
|
Webhook.add_member(:build_type, Shapes::ShapeRef.new(shape: WebhookBuildType, location_name: "buildType"))
|
1333
1341
|
Webhook.add_member(:manual_creation, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "manualCreation"))
|
1334
1342
|
Webhook.add_member(:last_modified_secret, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedSecret"))
|
1343
|
+
Webhook.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: ScopeConfiguration, location_name: "scopeConfiguration"))
|
1335
1344
|
Webhook.struct_class = Types::Webhook
|
1336
1345
|
|
1337
1346
|
WebhookFilter.add_member(:type, Shapes::ShapeRef.new(shape: WebhookFilterType, required: true, location_name: "type"))
|
@@ -1347,6 +1356,7 @@ module Aws::CodeBuild
|
|
1347
1356
|
|
1348
1357
|
api.metadata = {
|
1349
1358
|
"apiVersion" => "2016-10-06",
|
1359
|
+
"auth" => ["aws.auth#sigv4"],
|
1350
1360
|
"endpointPrefix" => "codebuild",
|
1351
1361
|
"jsonVersion" => "1.1",
|
1352
1362
|
"protocol" => "json",
|
@@ -1852,6 +1852,15 @@ module Aws::CodeBuild
|
|
1852
1852
|
# </note>
|
1853
1853
|
# @return [Boolean]
|
1854
1854
|
#
|
1855
|
+
# @!attribute [rw] scope_configuration
|
1856
|
+
# The scope configuration for global or organization webhooks.
|
1857
|
+
#
|
1858
|
+
# <note markdown="1"> Global or organization webhooks are only available for GitHub and
|
1859
|
+
# Github Enterprise webhooks.
|
1860
|
+
#
|
1861
|
+
# </note>
|
1862
|
+
# @return [Types::ScopeConfiguration]
|
1863
|
+
#
|
1855
1864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput AWS API Documentation
|
1856
1865
|
#
|
1857
1866
|
class CreateWebhookInput < Struct.new(
|
@@ -1859,7 +1868,8 @@ module Aws::CodeBuild
|
|
1859
1868
|
:branch_filter,
|
1860
1869
|
:filter_groups,
|
1861
1870
|
:build_type,
|
1862
|
-
:manual_creation
|
1871
|
+
:manual_creation,
|
1872
|
+
:scope_configuration)
|
1863
1873
|
SENSITIVE = []
|
1864
1874
|
include Aws::Structure
|
1865
1875
|
end
|
@@ -5450,6 +5460,34 @@ module Aws::CodeBuild
|
|
5450
5460
|
include Aws::Structure
|
5451
5461
|
end
|
5452
5462
|
|
5463
|
+
# Contains configuration information about the scope for a webhook.
|
5464
|
+
#
|
5465
|
+
# @!attribute [rw] name
|
5466
|
+
# The name of either the enterprise or organization that will send
|
5467
|
+
# webhook events to CodeBuild, depending on if the webhook is a global
|
5468
|
+
# or organization webhook respectively.
|
5469
|
+
# @return [String]
|
5470
|
+
#
|
5471
|
+
# @!attribute [rw] domain
|
5472
|
+
# The domain of the GitHub Enterprise organization. Note that this
|
5473
|
+
# parameter is only required if your project's source type is
|
5474
|
+
# GITHUB\_ENTERPRISE
|
5475
|
+
# @return [String]
|
5476
|
+
#
|
5477
|
+
# @!attribute [rw] scope
|
5478
|
+
# The type of scope for a GitHub webhook.
|
5479
|
+
# @return [String]
|
5480
|
+
#
|
5481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScopeConfiguration AWS API Documentation
|
5482
|
+
#
|
5483
|
+
class ScopeConfiguration < Struct.new(
|
5484
|
+
:name,
|
5485
|
+
:domain,
|
5486
|
+
:scope)
|
5487
|
+
SENSITIVE = []
|
5488
|
+
include Aws::Structure
|
5489
|
+
end
|
5490
|
+
|
5453
5491
|
# Information about the authorization settings for CodeBuild to access
|
5454
5492
|
# the source code to be built.
|
5455
5493
|
#
|
@@ -6961,6 +6999,15 @@ module Aws::CodeBuild
|
|
6961
6999
|
# token was modified.
|
6962
7000
|
# @return [Time]
|
6963
7001
|
#
|
7002
|
+
# @!attribute [rw] scope_configuration
|
7003
|
+
# The scope configuration for global or organization webhooks.
|
7004
|
+
#
|
7005
|
+
# <note markdown="1"> Global or organization webhooks are only available for GitHub and
|
7006
|
+
# Github Enterprise webhooks.
|
7007
|
+
#
|
7008
|
+
# </note>
|
7009
|
+
# @return [Types::ScopeConfiguration]
|
7010
|
+
#
|
6964
7011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook AWS API Documentation
|
6965
7012
|
#
|
6966
7013
|
class Webhook < Struct.new(
|
@@ -6971,7 +7018,8 @@ module Aws::CodeBuild
|
|
6971
7018
|
:filter_groups,
|
6972
7019
|
:build_type,
|
6973
7020
|
:manual_creation,
|
6974
|
-
:last_modified_secret
|
7021
|
+
:last_modified_secret,
|
7022
|
+
:scope_configuration)
|
6975
7023
|
SENSITIVE = []
|
6976
7024
|
include Aws::Structure
|
6977
7025
|
end
|
@@ -7070,6 +7118,15 @@ module Aws::CodeBuild
|
|
7070
7118
|
#
|
7071
7119
|
# </note>
|
7072
7120
|
#
|
7121
|
+
# * REPOSITORY\_NAME
|
7122
|
+
#
|
7123
|
+
# * A webhook triggers a build when the repository name matches the
|
7124
|
+
# regular expression pattern.
|
7125
|
+
#
|
7126
|
+
# <note markdown="1"> Works with GitHub global or organization webhooks only.
|
7127
|
+
#
|
7128
|
+
# </note>
|
7129
|
+
#
|
7073
7130
|
# * WORKFLOW\_NAME
|
7074
7131
|
#
|
7075
7132
|
# * A webhook triggers a build when the workflow name matches the
|
data/lib/aws-sdk-codebuild.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -394,7 +394,12 @@ module Aws
|
|
394
394
|
],
|
395
395
|
],
|
396
396
|
?build_type: ("BUILD" | "BUILD_BATCH"),
|
397
|
-
?manual_creation: bool
|
397
|
+
?manual_creation: bool,
|
398
|
+
?scope_configuration: {
|
399
|
+
name: ::String,
|
400
|
+
domain: ::String?,
|
401
|
+
scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
|
402
|
+
}
|
398
403
|
) -> _CreateWebhookResponseSuccess
|
399
404
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
|
400
405
|
|
data/sig/types.rbs
CHANGED
@@ -328,6 +328,7 @@ module Aws::CodeBuild
|
|
328
328
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
329
329
|
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
330
330
|
attr_accessor manual_creation: bool
|
331
|
+
attr_accessor scope_configuration: Types::ScopeConfiguration
|
331
332
|
SENSITIVE: []
|
332
333
|
end
|
333
334
|
|
@@ -1008,6 +1009,13 @@ module Aws::CodeBuild
|
|
1008
1009
|
SENSITIVE: []
|
1009
1010
|
end
|
1010
1011
|
|
1012
|
+
class ScopeConfiguration
|
1013
|
+
attr_accessor name: ::String
|
1014
|
+
attr_accessor domain: ::String
|
1015
|
+
attr_accessor scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
|
1016
|
+
SENSITIVE: []
|
1017
|
+
end
|
1018
|
+
|
1011
1019
|
class SourceAuth
|
1012
1020
|
attr_accessor type: ("OAUTH" | "CODECONNECTIONS")
|
1013
1021
|
attr_accessor resource: ::String
|
@@ -1264,6 +1272,7 @@ module Aws::CodeBuild
|
|
1264
1272
|
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
1265
1273
|
attr_accessor manual_creation: bool
|
1266
1274
|
attr_accessor last_modified_secret: ::Time
|
1275
|
+
attr_accessor scope_configuration: Types::ScopeConfiguration
|
1267
1276
|
SENSITIVE: []
|
1268
1277
|
end
|
1269
1278
|
|
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.118.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: 2024-
|
11
|
+
date: 2024-06-17 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.197.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.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|