aws-sdk-codebuild 1.117.0 → 1.119.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f9e6c6dba0f5641a75d2e735211e5cddf065604aea1f4a81397e7c1e8f56fae
4
- data.tar.gz: c24f741903b103749eefeb5edc25d92399e151e1df8461a7ee32807ddd6398f2
3
+ metadata.gz: ac3c644e311a3b73d9bbd92eb2838652c87dd02f7e91360de5005d224b9cc68f
4
+ data.tar.gz: 0b7d6e61b17e8e216491c6255b784ccd23e0fba2f43bd9d8e54731e050051fb9
5
5
  SHA512:
6
- metadata.gz: 8fdc1a7cdf8f034681a80a47a8fb2ba50eed924b77ce536f1e2cd04265da89cedbe454f5ec15e5081fe6fd6964a2e0d6ed052839ed6dfd39b32cd8320b4ae901
7
- data.tar.gz: 3e28766b32f2f615aac2cbb5e002ec1dcef98f8ea9e0e5d5c2d4ae3a0241b4c021bc7d7702215723d63a63ce323ae9809787aee17a7b51c2f5260cb2d663c8bc
6
+ metadata.gz: 396d06d4be29c71de1ab9d6757f367eceed75416ed537afdf110c53e14254e470eab25d6662f29a7688ee60d5d17de77b94d9229734da0c2e42ae72f19e61afc
7
+ data.tar.gz: 83c04d1ef962bc794a1bdd970743aed82f1e0cc0121aba8b346afb7214a27f867bb562d71412db909f2a1b56a7d69f5bc137152d60bd6bfc690475ab71044c74
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.119.0 (2024-06-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.118.0 (2024-06-17)
10
+ ------------------
11
+
12
+ * Feature - AWS CodeBuild now supports global and organization GitHub webhooks
13
+
4
14
  1.117.0 (2024-06-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.117.0
1
+ 1.119.0
@@ -89,6 +89,11 @@ module Aws::CodeBuild
89
89
 
90
90
  # @overload initialize(options)
91
91
  # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
92
97
  # @option options [required, Aws::CredentialProvider] :credentials
93
98
  # Your AWS credentials. This can be an instance of any one of the
94
99
  # following classes:
@@ -209,7 +214,6 @@ module Aws::CodeBuild
209
214
  # 'https://example.com'
210
215
  # 'http://example.com:123'
211
216
  #
212
- #
213
217
  # @option options [Integer] :endpoint_cache_max_entries (1000)
214
218
  # Used for the maximum size limit of the LRU cache storing endpoints data
215
219
  # for endpoint discovery enabled operations. Defaults to 1000.
@@ -298,7 +302,6 @@ module Aws::CodeBuild
298
302
  # throttling. This is a provisional mode that may change behavior
299
303
  # in the future.
300
304
  #
301
- #
302
305
  # @option options [String] :sdk_ua_app_id
303
306
  # A unique and opaque application ID that is appended to the
304
307
  # User-Agent header as app/sdk_ua_app_id. It should have a
@@ -944,6 +947,9 @@ module Aws::CodeBuild
944
947
  # resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
945
948
  # resp.projects[0].webhook.manual_creation #=> Boolean
946
949
  # resp.projects[0].webhook.last_modified_secret #=> Time
950
+ # resp.projects[0].webhook.scope_configuration.name #=> String
951
+ # resp.projects[0].webhook.scope_configuration.domain #=> String
952
+ # resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
947
953
  # resp.projects[0].vpc_config.vpc_id #=> String
948
954
  # resp.projects[0].vpc_config.subnets #=> Array
949
955
  # resp.projects[0].vpc_config.subnets[0] #=> String
@@ -1695,6 +1701,9 @@ module Aws::CodeBuild
1695
1701
  # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
1696
1702
  # resp.project.webhook.manual_creation #=> Boolean
1697
1703
  # resp.project.webhook.last_modified_secret #=> Time
1704
+ # resp.project.webhook.scope_configuration.name #=> String
1705
+ # resp.project.webhook.scope_configuration.domain #=> String
1706
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
1698
1707
  # resp.project.vpc_config.vpc_id #=> String
1699
1708
  # resp.project.vpc_config.subnets #=> Array
1700
1709
  # resp.project.vpc_config.subnets[0] #=> String
@@ -1865,6 +1874,14 @@ module Aws::CodeBuild
1865
1874
  #
1866
1875
  # </note>
1867
1876
  #
1877
+ # @option params [Types::ScopeConfiguration] :scope_configuration
1878
+ # The scope configuration for global or organization webhooks.
1879
+ #
1880
+ # <note markdown="1"> Global or organization webhooks are only available for GitHub and
1881
+ # Github Enterprise webhooks.
1882
+ #
1883
+ # </note>
1884
+ #
1868
1885
  # @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1869
1886
  #
1870
1887
  # * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
@@ -1885,6 +1902,11 @@ module Aws::CodeBuild
1885
1902
  # ],
1886
1903
  # build_type: "BUILD", # accepts BUILD, BUILD_BATCH
1887
1904
  # manual_creation: false,
1905
+ # scope_configuration: {
1906
+ # name: "String", # required
1907
+ # domain: "String",
1908
+ # scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL
1909
+ # },
1888
1910
  # })
1889
1911
  #
1890
1912
  # @example Response structure
@@ -1901,6 +1923,9 @@ module Aws::CodeBuild
1901
1923
  # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
1902
1924
  # resp.webhook.manual_creation #=> Boolean
1903
1925
  # resp.webhook.last_modified_secret #=> Time
1926
+ # resp.webhook.scope_configuration.name #=> String
1927
+ # resp.webhook.scope_configuration.domain #=> String
1928
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
1904
1929
  #
1905
1930
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
1906
1931
  #
@@ -5487,6 +5512,9 @@ module Aws::CodeBuild
5487
5512
  # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
5488
5513
  # resp.project.webhook.manual_creation #=> Boolean
5489
5514
  # resp.project.webhook.last_modified_secret #=> Time
5515
+ # resp.project.webhook.scope_configuration.name #=> String
5516
+ # resp.project.webhook.scope_configuration.domain #=> String
5517
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
5490
5518
  # resp.project.vpc_config.vpc_id #=> String
5491
5519
  # resp.project.vpc_config.subnets #=> Array
5492
5520
  # resp.project.vpc_config.subnets[0] #=> String
@@ -5756,6 +5784,9 @@ module Aws::CodeBuild
5756
5784
  # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
5757
5785
  # resp.webhook.manual_creation #=> Boolean
5758
5786
  # resp.webhook.last_modified_secret #=> Time
5787
+ # resp.webhook.scope_configuration.name #=> String
5788
+ # resp.webhook.scope_configuration.domain #=> String
5789
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
5759
5790
  #
5760
5791
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
5761
5792
  #
@@ -5779,7 +5810,7 @@ module Aws::CodeBuild
5779
5810
  params: params,
5780
5811
  config: config)
5781
5812
  context[:gem_name] = 'aws-sdk-codebuild'
5782
- context[:gem_version] = '1.117.0'
5813
+ context[:gem_version] = '1.119.0'
5783
5814
  Seahorse::Client::Request.new(handlers, context)
5784
5815
  end
5785
5816
 
@@ -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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codebuild/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeBuild
54
54
 
55
- GEM_VERSION = '1.117.0'
55
+ GEM_VERSION = '1.119.0'
56
56
 
57
57
  end
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.117.0
4
+ version: 1.119.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-06-05 00:00:00.000000000 Z
11
+ date: 2024-06-24 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.197.0
22
+ version: 3.198.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.197.0
32
+ version: 3.198.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement