aws-sdk-codebuild 1.128.0 → 1.130.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18d6e610736344b4bcee5c056151a52291fadfefb98af72940c3cc9f65212bea
4
- data.tar.gz: dc01a243a3f3016e1005e2664d772ab3f9e15c4e537454deb1e85eb0eecdc66a
3
+ metadata.gz: a64a30540ee5258e430e94b9707cef689ce98be92f9086a3d8d803749c55cf74
4
+ data.tar.gz: a5a641739fcfc7c1e5070feebb163189be4a8cecacd9eaa18d0e4f04a7657c20
5
5
  SHA512:
6
- metadata.gz: 18a264ae5b0cee1c30d5736db843aeafb5cc538a06e16d8b37aba3617ea94546832fe8780e7ff11f7a43caa73073953ed3da8fc73c8078e39a5c8bcff7665a39
7
- data.tar.gz: 54da02dee70977298b7e1e32e453b9aab8f824959450341f9b45b5b2ab93684ac7082d5d4be8d1c252223a9c2d745af2a0a47c41629cc4a932ad61f4354a9cb7
6
+ metadata.gz: e13b9675f43b5ba523b4649b3794bd3de8bebce0d7c4a1098ec84e4af6a0682f72fa1b4d0e0e663cce47cd2bd89555100b6a72fb0c48d0dc12a779df7de5c396
7
+ data.tar.gz: 0054badba5775da34a6f0d6d11e7e57527ec6e2f3bbc02d5fac7f80da1080fd2d3a00f42e94c0dee8c0adc525dde7be33ba7897c2d335b9faf05dcf1b65bb711
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.130.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.129.0 (2024-09-17)
10
+ ------------------
11
+
12
+ * Feature - GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks
13
+
4
14
  1.128.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.128.0
1
+ 1.130.0
@@ -130,13 +130,15 @@ module Aws::CodeBuild
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::CodeBuild
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -376,7 +380,9 @@ module Aws::CodeBuild
376
380
  # sending the request.
377
381
  #
378
382
  # @option options [Aws::CodeBuild::EndpointProvider] :endpoint_provider
379
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeBuild::EndpointParameters`
383
+ # The endpoint provider used to resolve endpoints. Any object that responds to
384
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
385
+ # `Aws::CodeBuild::EndpointParameters`.
380
386
  #
381
387
  # @option options [Float] :http_continue_timeout (1)
382
388
  # The number of seconds to wait for a 100-continue response before sending the
@@ -974,7 +980,7 @@ module Aws::CodeBuild
974
980
  # resp.projects[0].webhook.last_modified_secret #=> Time
975
981
  # resp.projects[0].webhook.scope_configuration.name #=> String
976
982
  # resp.projects[0].webhook.scope_configuration.domain #=> String
977
- # resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
983
+ # resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
978
984
  # resp.projects[0].vpc_config.vpc_id #=> String
979
985
  # resp.projects[0].vpc_config.subnets #=> Array
980
986
  # resp.projects[0].vpc_config.subnets[0] #=> String
@@ -1741,7 +1747,7 @@ module Aws::CodeBuild
1741
1747
  # resp.project.webhook.last_modified_secret #=> Time
1742
1748
  # resp.project.webhook.scope_configuration.name #=> String
1743
1749
  # resp.project.webhook.scope_configuration.domain #=> String
1744
- # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
1750
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
1745
1751
  # resp.project.vpc_config.vpc_id #=> String
1746
1752
  # resp.project.vpc_config.subnets #=> Array
1747
1753
  # resp.project.vpc_config.subnets[0] #=> String
@@ -1943,7 +1949,7 @@ module Aws::CodeBuild
1943
1949
  # scope_configuration: {
1944
1950
  # name: "String", # required
1945
1951
  # domain: "String",
1946
- # scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL
1952
+ # scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL, GITLAB_GROUP
1947
1953
  # },
1948
1954
  # })
1949
1955
  #
@@ -1963,7 +1969,7 @@ module Aws::CodeBuild
1963
1969
  # resp.webhook.last_modified_secret #=> Time
1964
1970
  # resp.webhook.scope_configuration.name #=> String
1965
1971
  # resp.webhook.scope_configuration.domain #=> String
1966
- # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
1972
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
1967
1973
  #
1968
1974
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
1969
1975
  #
@@ -5565,7 +5571,7 @@ module Aws::CodeBuild
5565
5571
  # resp.project.webhook.last_modified_secret #=> Time
5566
5572
  # resp.project.webhook.scope_configuration.name #=> String
5567
5573
  # resp.project.webhook.scope_configuration.domain #=> String
5568
- # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
5574
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
5569
5575
  # resp.project.vpc_config.vpc_id #=> String
5570
5576
  # resp.project.vpc_config.subnets #=> Array
5571
5577
  # resp.project.vpc_config.subnets[0] #=> String
@@ -5837,7 +5843,7 @@ module Aws::CodeBuild
5837
5843
  # resp.webhook.last_modified_secret #=> Time
5838
5844
  # resp.webhook.scope_configuration.name #=> String
5839
5845
  # resp.webhook.scope_configuration.domain #=> String
5840
- # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
5846
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
5841
5847
  #
5842
5848
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
5843
5849
  #
@@ -5866,7 +5872,7 @@ module Aws::CodeBuild
5866
5872
  tracer: tracer
5867
5873
  )
5868
5874
  context[:gem_name] = 'aws-sdk-codebuild'
5869
- context[:gem_version] = '1.128.0'
5875
+ context[:gem_version] = '1.130.0'
5870
5876
  Seahorse::Client::Request.new(handlers, context)
5871
5877
  end
5872
5878
 
@@ -15,11 +15,11 @@ module Aws::CodeBuild
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CodeBuild::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::CodeBuild::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::CodeBuild::EndpointParameters`.
22
+ DOCS
23
23
  Aws::CodeBuild::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::CodeBuild
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -5486,19 +5486,19 @@ module Aws::CodeBuild
5486
5486
  # Contains configuration information about the scope for a webhook.
5487
5487
  #
5488
5488
  # @!attribute [rw] name
5489
- # The name of either the enterprise or organization that will send
5490
- # webhook events to CodeBuild, depending on if the webhook is a global
5491
- # or organization webhook respectively.
5489
+ # The name of either the group, enterprise, or organization that will
5490
+ # send webhook events to CodeBuild, depending on the type of webhook.
5492
5491
  # @return [String]
5493
5492
  #
5494
5493
  # @!attribute [rw] domain
5495
- # The domain of the GitHub Enterprise organization. Note that this
5496
- # parameter is only required if your project's source type is
5497
- # GITHUB\_ENTERPRISE
5494
+ # The domain of the GitHub Enterprise organization or the GitLab Self
5495
+ # Managed group. Note that this parameter is only required if your
5496
+ # project's source type is GITHUB\_ENTERPRISE or
5497
+ # GITLAB\_SELF\_MANAGED.
5498
5498
  # @return [String]
5499
5499
  #
5500
5500
  # @!attribute [rw] scope
5501
- # The type of scope for a GitHub webhook.
5501
+ # The type of scope for a GitHub or GitLab webhook.
5502
5502
  # @return [String]
5503
5503
  #
5504
5504
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScopeConfiguration AWS API Documentation
@@ -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.128.0'
55
+ GEM_VERSION = '1.130.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -401,7 +402,7 @@ module Aws
401
402
  ?scope_configuration: {
402
403
  name: ::String,
403
404
  domain: ::String?,
404
- scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
405
+ scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL" | "GITLAB_GROUP")
405
406
  }
406
407
  ) -> _CreateWebhookResponseSuccess
407
408
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/types.rbs CHANGED
@@ -1014,7 +1014,7 @@ module Aws::CodeBuild
1014
1014
  class ScopeConfiguration
1015
1015
  attr_accessor name: ::String
1016
1016
  attr_accessor domain: ::String
1017
- attr_accessor scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
1017
+ attr_accessor scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL" | "GITLAB_GROUP")
1018
1018
  SENSITIVE: []
1019
1019
  end
1020
1020
 
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.128.0
4
+ version: 1.130.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-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-20 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.205.0
22
+ version: 3.207.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.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement