aws-sdk-lexruntimev2 1.39.0 → 1.41.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: 410cf2d5b1f2efe67f6fe16ed492f289518c14dc8ae3116946110037dc877bf8
4
- data.tar.gz: 22d6dcac60e9f0eba8cad92cc43e510436d5c669e8cfcad4bbc8a05100ec834d
3
+ metadata.gz: de0d9d1a78e0155f0513129987df1caae59b24ecb21797964cbc670794badb5e
4
+ data.tar.gz: e09616771560905290edebda333382fa68533436715fe1782391256e29b838d3
5
5
  SHA512:
6
- metadata.gz: 504fdcf95d2ee6c344ddac48cb434ad122d5cc47024620ac5e2b1fdf77d9920a08fbf23ac431c9994edb6c21a0d68d4b95f9696f64a7bdc25e66931e2e410fa9
7
- data.tar.gz: c41f5eb49f940cc9cedb17c30f1a3b04d87915bbdc4a47635998a18c898889d472a6ae0f3d10aa0eadc5cad19d401f72802d2ab16898cea63c7dbb084cdf4c7a
6
+ metadata.gz: 79fc7c8bc8422952922c2d51d78910297e76a5e369b0cae5f60cd8b9c52908b374196690e86b0534a50f41bb42cd0335cea744606a28e3f43d8384b321e0f640
7
+ data.tar.gz: 3332df80fbe5e2cfe2280e2dee1ec02f78dec5ef28d0a9b3db4fc57cecf12ab8d2a37fb69b5fcb5c2ab87bae79e96e9292f39a2622670dbb2879f5fd02afa9b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2024-09-11)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.40.0 (2024-09-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.39.0 (2024-09-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.41.0
@@ -759,7 +759,7 @@ module Aws::LexRuntimeV2
759
759
  tracer: tracer
760
760
  )
761
761
  context[:gem_name] = 'aws-sdk-lexruntimev2'
762
- context[:gem_version] = '1.39.0'
762
+ context[:gem_version] = '1.41.0'
763
763
  Seahorse::Client::Request.new(handlers, context)
764
764
  end
765
765
 
@@ -436,6 +436,12 @@ module Aws::LexRuntimeV2
436
436
  # @option options [String] :ssl_ca_store
437
437
  # Sets the X509::Store to verify peer certificate.
438
438
  #
439
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
440
+ # Sets a client certificate when creating http connections.
441
+ #
442
+ # @option options [OpenSSL::PKey] :ssl_key
443
+ # Sets a client key when creating http connections.
444
+ #
439
445
  # @option options [Float] :ssl_timeout
440
446
  # Sets the SSL timeout in seconds
441
447
  #
@@ -1223,7 +1229,7 @@ module Aws::LexRuntimeV2
1223
1229
  tracer: tracer
1224
1230
  )
1225
1231
  context[:gem_name] = 'aws-sdk-lexruntimev2'
1226
- context[:gem_version] = '1.39.0'
1232
+ context[:gem_version] = '1.41.0'
1227
1233
  Seahorse::Client::Request.new(handlers, context)
1228
1234
  end
1229
1235
 
@@ -14,84 +14,66 @@ module Aws::LexRuntimeV2
14
14
 
15
15
  class DeleteSession
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::LexRuntimeV2::EndpointParameters.new(
21
18
  region: context.config.region,
22
19
  use_dual_stack: context.config.use_dualstack_endpoint,
23
20
  use_fips: context.config.use_fips_endpoint,
24
- endpoint: endpoint,
21
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
25
22
  )
26
23
  end
27
24
  end
28
25
 
29
26
  class GetSession
30
27
  def self.build(context)
31
- unless context.config.regional_endpoint
32
- endpoint = context.config.endpoint.to_s
33
- end
34
28
  Aws::LexRuntimeV2::EndpointParameters.new(
35
29
  region: context.config.region,
36
30
  use_dual_stack: context.config.use_dualstack_endpoint,
37
31
  use_fips: context.config.use_fips_endpoint,
38
- endpoint: endpoint,
32
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
39
33
  )
40
34
  end
41
35
  end
42
36
 
43
37
  class PutSession
44
38
  def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
39
  Aws::LexRuntimeV2::EndpointParameters.new(
49
40
  region: context.config.region,
50
41
  use_dual_stack: context.config.use_dualstack_endpoint,
51
42
  use_fips: context.config.use_fips_endpoint,
52
- endpoint: endpoint,
43
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
53
44
  )
54
45
  end
55
46
  end
56
47
 
57
48
  class RecognizeText
58
49
  def self.build(context)
59
- unless context.config.regional_endpoint
60
- endpoint = context.config.endpoint.to_s
61
- end
62
50
  Aws::LexRuntimeV2::EndpointParameters.new(
63
51
  region: context.config.region,
64
52
  use_dual_stack: context.config.use_dualstack_endpoint,
65
53
  use_fips: context.config.use_fips_endpoint,
66
- endpoint: endpoint,
54
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
67
55
  )
68
56
  end
69
57
  end
70
58
 
71
59
  class RecognizeUtterance
72
60
  def self.build(context)
73
- unless context.config.regional_endpoint
74
- endpoint = context.config.endpoint.to_s
75
- end
76
61
  Aws::LexRuntimeV2::EndpointParameters.new(
77
62
  region: context.config.region,
78
63
  use_dual_stack: context.config.use_dualstack_endpoint,
79
64
  use_fips: context.config.use_fips_endpoint,
80
- endpoint: endpoint,
65
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
81
66
  )
82
67
  end
83
68
  end
84
69
 
85
70
  class StartConversation
86
71
  def self.build(context)
87
- unless context.config.regional_endpoint
88
- endpoint = context.config.endpoint.to_s
89
- end
90
72
  Aws::LexRuntimeV2::EndpointParameters.new(
91
73
  region: context.config.region,
92
74
  use_dual_stack: context.config.use_dualstack_endpoint,
93
75
  use_fips: context.config.use_fips_endpoint,
94
- endpoint: endpoint,
76
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
95
77
  )
96
78
  end
97
79
  end
@@ -40,11 +40,20 @@ module Aws::LexRuntimeV2
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
55
+ end
56
+
48
57
  def apply_endpoint_headers(context, headers)
49
58
  headers.each do |key, values|
50
59
  value = values
@@ -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.39.0'
57
+ GEM_VERSION = '1.41.0'
58
58
 
59
59
  end
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.39.0
4
+ version: 1.41.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-03 00:00:00.000000000 Z
11
+ date: 2024-09-11 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.203.0
22
+ version: 3.205.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.203.0
32
+ version: 3.205.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement