aws-sdk-lexruntimev2 1.41.0 → 1.42.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: de0d9d1a78e0155f0513129987df1caae59b24ecb21797964cbc670794badb5e
4
- data.tar.gz: e09616771560905290edebda333382fa68533436715fe1782391256e29b838d3
3
+ metadata.gz: 0ee2026d9c13a650fdffd7002d6a83889834364706915a46a082db9156700da3
4
+ data.tar.gz: dde9dfc1e92ec3a57b6131fe974f95c262aacea8bf75be7ebd1b3e3f08f8379c
5
5
  SHA512:
6
- metadata.gz: 79fc7c8bc8422952922c2d51d78910297e76a5e369b0cae5f60cd8b9c52908b374196690e86b0534a50f41bb42cd0335cea744606a28e3f43d8384b321e0f640
7
- data.tar.gz: 3332df80fbe5e2cfe2280e2dee1ec02f78dec5ef28d0a9b3db4fc57cecf12ab8d2a37fb69b5fcb5c2ab87bae79e96e9292f39a2622670dbb2879f5fd02afa9b7
6
+ metadata.gz: e919364187563717e9cedbf3e18c902ce5330250c6b537348cab674f5a3bcc61485a2e84a199d858d0e1aeb799c429a174cdd77b26315821e88437b40853c383
7
+ data.tar.gz: 29bd7ada4085a284c308371756fd3c3cbf7954f5e3e8d05b6d43bd83c9d8a617c3caba15e9442b743ce8750382c44517a3bcc23a51cd1b77cdf676c242b9b46b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.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.41.0 (2024-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.42.0
@@ -102,13 +102,15 @@ module Aws::LexRuntimeV2
102
102
  # locations will be searched for credentials:
103
103
  #
104
104
  # * `Aws.config[:credentials]`
105
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
106
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
105
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
106
+ # `:account_id` options.
107
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
108
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
107
109
  # * `~/.aws/credentials`
108
110
  # * `~/.aws/config`
109
111
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
110
112
  # are very aggressive. Construct and pass an instance of
111
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
113
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
112
114
  # enable retries and extended timeouts. Instance profile credential
113
115
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
114
116
  # to true.
@@ -127,6 +129,8 @@ module Aws::LexRuntimeV2
127
129
  #
128
130
  # @option options [String] :access_key_id
129
131
  #
132
+ # @option options [String] :account_id
133
+ #
130
134
  # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
131
135
  # Used only in `adaptive` retry mode. When true, the request will sleep
132
136
  # until there is sufficent client side capacity to retry the request.
@@ -307,7 +311,9 @@ module Aws::LexRuntimeV2
307
311
  # sending the request.
308
312
  #
309
313
  # @option options [Aws::LexRuntimeV2::EndpointProvider] :endpoint_provider
310
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LexRuntimeV2::EndpointParameters`
314
+ # The endpoint provider used to resolve endpoints. Any object that responds to
315
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
316
+ # `Aws::LexRuntimeV2::EndpointParameters`.
311
317
  #
312
318
  # @option options [Integer] :connection_read_timeout (60)
313
319
  # Connection read timeout in seconds, defaults to 60 sec.
@@ -759,7 +765,7 @@ module Aws::LexRuntimeV2
759
765
  tracer: tracer
760
766
  )
761
767
  context[:gem_name] = 'aws-sdk-lexruntimev2'
762
- context[:gem_version] = '1.41.0'
768
+ context[:gem_version] = '1.42.0'
763
769
  Seahorse::Client::Request.new(handlers, context)
764
770
  end
765
771
 
@@ -132,13 +132,15 @@ module Aws::LexRuntimeV2
132
132
  # locations will be searched for credentials:
133
133
  #
134
134
  # * `Aws.config[:credentials]`
135
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
136
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
135
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
136
+ # `:account_id` options.
137
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
138
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
137
139
  # * `~/.aws/credentials`
138
140
  # * `~/.aws/config`
139
141
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
140
142
  # are very aggressive. Construct and pass an instance of
141
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
143
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
142
144
  # enable retries and extended timeouts. Instance profile credential
143
145
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
144
146
  # to true.
@@ -157,6 +159,8 @@ module Aws::LexRuntimeV2
157
159
  #
158
160
  # @option options [String] :access_key_id
159
161
  #
162
+ # @option options [String] :account_id
163
+ #
160
164
  # @option options [Boolean] :active_endpoint_cache (false)
161
165
  # When set to `true`, a thread polling for endpoints will be running in
162
166
  # the background every 60 secs (default). Defaults to `false`.
@@ -380,7 +384,9 @@ module Aws::LexRuntimeV2
380
384
  # sending the request.
381
385
  #
382
386
  # @option options [Aws::LexRuntimeV2::EndpointProvider] :endpoint_provider
383
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LexRuntimeV2::EndpointParameters`
387
+ # The endpoint provider used to resolve endpoints. Any object that responds to
388
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
389
+ # `Aws::LexRuntimeV2::EndpointParameters`.
384
390
  #
385
391
  # @option options [Float] :http_continue_timeout (1)
386
392
  # The number of seconds to wait for a 100-continue response before sending the
@@ -1229,7 +1235,7 @@ module Aws::LexRuntimeV2
1229
1235
  tracer: tracer
1230
1236
  )
1231
1237
  context[:gem_name] = 'aws-sdk-lexruntimev2'
1232
- context[:gem_version] = '1.41.0'
1238
+ context[:gem_version] = '1.42.0'
1233
1239
  Seahorse::Client::Request.new(handlers, context)
1234
1240
  end
1235
1241
 
@@ -15,11 +15,11 @@ module Aws::LexRuntimeV2
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::LexRuntimeV2::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::LexRuntimeV2::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::LexRuntimeV2::EndpointParameters`.
22
+ DOCS
23
23
  Aws::LexRuntimeV2::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::LexRuntimeV2
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
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lexruntimev2/event_streams'
54
54
  # @!group service
55
55
  module Aws::LexRuntimeV2
56
56
 
57
- GEM_VERSION = '1.41.0'
57
+ GEM_VERSION = '1.42.0'
58
58
 
59
59
  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-lexruntimev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.42.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