aws-sdk-lexmodelsv2 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +9 -9
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +102 -408
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-lexmodelsv2/types.rb +20 -0
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +3 -3
- data/sig/types.rbs +1 -1
- metadata +4 -4
@@ -40,11 +40,20 @@ module Aws::LexModelsV2
|
|
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
|
@@ -2319,6 +2319,16 @@ module Aws::LexModelsV2
|
|
2319
2319
|
# @!attribute [rw] voice_settings
|
2320
2320
|
# Defines settings for using an Amazon Polly voice to communicate with
|
2321
2321
|
# a user.
|
2322
|
+
#
|
2323
|
+
# Valid values include:
|
2324
|
+
#
|
2325
|
+
# * `standard`
|
2326
|
+
#
|
2327
|
+
# * `neural`
|
2328
|
+
#
|
2329
|
+
# * `long-form`
|
2330
|
+
#
|
2331
|
+
# * `generative`
|
2322
2332
|
# @return [Types::VoiceSettings]
|
2323
2333
|
#
|
2324
2334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
|
@@ -15928,6 +15938,16 @@ module Aws::LexModelsV2
|
|
15928
15938
|
# Defines settings for using an Amazon Polly voice to communicate with a
|
15929
15939
|
# user.
|
15930
15940
|
#
|
15941
|
+
# Valid values include:
|
15942
|
+
#
|
15943
|
+
# * `standard`
|
15944
|
+
#
|
15945
|
+
# * `neural`
|
15946
|
+
#
|
15947
|
+
# * `long-form`
|
15948
|
+
#
|
15949
|
+
# * `generative`
|
15950
|
+
#
|
15931
15951
|
# @!attribute [rw] voice_id
|
15932
15952
|
# The identifier of the Amazon Polly voice to use.
|
15933
15953
|
# @return [String]
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -282,7 +282,7 @@ module Aws
|
|
282
282
|
nlu_intent_confidence_threshold: ::Float,
|
283
283
|
?voice_settings: {
|
284
284
|
voice_id: ::String,
|
285
|
-
engine: ("standard" | "neural")?
|
285
|
+
engine: ("standard" | "neural" | "long-form" | "generative")?
|
286
286
|
},
|
287
287
|
?generative_ai_settings: {
|
288
288
|
runtime_settings: {
|
@@ -7275,7 +7275,7 @@ module Aws
|
|
7275
7275
|
nlu_intent_confidence_threshold: ::Float?,
|
7276
7276
|
voice_settings: {
|
7277
7277
|
voice_id: ::String,
|
7278
|
-
engine: ("standard" | "neural")?
|
7278
|
+
engine: ("standard" | "neural" | "long-form" | "generative")?
|
7279
7279
|
}?
|
7280
7280
|
}?,
|
7281
7281
|
custom_vocabulary_import_specification: {
|
@@ -7529,7 +7529,7 @@ module Aws
|
|
7529
7529
|
nlu_intent_confidence_threshold: ::Float,
|
7530
7530
|
?voice_settings: {
|
7531
7531
|
voice_id: ::String,
|
7532
|
-
engine: ("standard" | "neural")?
|
7532
|
+
engine: ("standard" | "neural" | "long-form" | "generative")?
|
7533
7533
|
},
|
7534
7534
|
?generative_ai_settings: {
|
7535
7535
|
runtime_settings: {
|
data/sig/types.rbs
CHANGED
@@ -3685,7 +3685,7 @@ module Aws::LexModelsV2
|
|
3685
3685
|
|
3686
3686
|
class VoiceSettings
|
3687
3687
|
attr_accessor voice_id: ::String
|
3688
|
-
attr_accessor engine: ("standard" | "neural")
|
3688
|
+
attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
|
3689
3689
|
SENSITIVE: []
|
3690
3690
|
end
|
3691
3691
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.60.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
|
+
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.
|
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.
|
32
|
+
version: 3.205.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|