aws-sdk-ec2 1.474.0 → 1.475.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: 5c7c46a45b9d00183e77488a44ea5b89fa72af802c95ab4c2c9df84548b6650a
4
- data.tar.gz: 7f7530315536f64ade7bd0f17c3078f2e27d6a831cce2ee4b3437cd0c7c93659
3
+ metadata.gz: 05bbc0f730682995ad337710a4f4dd7c93ec362858bb27f7b67f01d64265cf55
4
+ data.tar.gz: 0bb528fa01650f71549bef9704c44696f43a366d103c59590ad3f48f8df4f253
5
5
  SHA512:
6
- metadata.gz: 9b8bd690a4efaf8a652fade9e51ae64f25c76fdc6ee842a950d8c0dab4d5c37a036e2e9c033cba2ed3cc6248c98eecec17a1102058c9b31b5152901746d49f39
7
- data.tar.gz: 9689f8ea06f64ee076b3876f47b05752d1986c20156fc2ebb9507dcefadede2cf9c1e2c9727e81f876489081b21cd51e702ac394bb7ca7305c57e45d1fc5ad2d
6
+ metadata.gz: 28fc329f904fc36ee75c076929ecadcd9b6627635c583fa4a71c0c422ab06a363c1208c8a7baca9ead0d5c21a34006a0400a7f46cfe7a0cbeada347a10aa7237
7
+ data.tar.gz: 8092f48d21b8227601649fc5da91268c6f4b997412c390d972ae471f0bbd2b853266dc19608ff7efbdfa5637b7431b8aa4468caff00ee5b54696ad415b53e712
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.475.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.474.0 (2024-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.474.0
1
+ 1.475.0
@@ -134,13 +134,15 @@ module Aws::EC2
134
134
  # locations will be searched for credentials:
135
135
  #
136
136
  # * `Aws.config[:credentials]`
137
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
138
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
137
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
138
+ # `:account_id` options.
139
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
140
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
139
141
  # * `~/.aws/credentials`
140
142
  # * `~/.aws/config`
141
143
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
142
144
  # are very aggressive. Construct and pass an instance of
143
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
145
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
144
146
  # enable retries and extended timeouts. Instance profile credential
145
147
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
146
148
  # to true.
@@ -159,6 +161,8 @@ module Aws::EC2
159
161
  #
160
162
  # @option options [String] :access_key_id
161
163
  #
164
+ # @option options [String] :account_id
165
+ #
162
166
  # @option options [Boolean] :active_endpoint_cache (false)
163
167
  # When set to `true`, a thread polling for endpoints will be running in
164
168
  # the background every 60 secs (default). Defaults to `false`.
@@ -373,7 +377,9 @@ module Aws::EC2
373
377
  # sending the request.
374
378
  #
375
379
  # @option options [Aws::EC2::EndpointProvider] :endpoint_provider
376
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EC2::EndpointParameters`
380
+ # The endpoint provider used to resolve endpoints. Any object that responds to
381
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
382
+ # `Aws::EC2::EndpointParameters`.
377
383
  #
378
384
  # @option options [Float] :http_continue_timeout (1)
379
385
  # The number of seconds to wait for a 100-continue response before sending the
@@ -60132,7 +60138,7 @@ module Aws::EC2
60132
60138
  tracer: tracer
60133
60139
  )
60134
60140
  context[:gem_name] = 'aws-sdk-ec2'
60135
- context[:gem_version] = '1.474.0'
60141
+ context[:gem_version] = '1.475.0'
60136
60142
  Seahorse::Client::Request.new(handlers, context)
60137
60143
  end
60138
60144
 
@@ -15,11 +15,11 @@ module Aws::EC2
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EC2::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::EC2::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::EC2::EndpointParameters`.
22
+ DOCS
23
23
  Aws::EC2::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::EC2
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
 
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.474.0'
79
+ GEM_VERSION = '1.475.0'
80
80
 
81
81
  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,
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,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.474.0
4
+ version: 1.475.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