aws-sdk-lexmodelsv2 1.73.0 → 1.75.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +28 -9
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +5 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +20 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +7 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bdc6b6754ee382b0d7249f4b698b4ad9899f54c38c3c2f8f5876c3c2d86bc95
|
4
|
+
data.tar.gz: 538c70b37de5f4a27e05cfa3e3136691b57149f671b2fd1174df0a5732b417c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95be7eac3cd1242921683dffb61f84e8b9a4c6a0fa6bbcfe64ba451ac40b92d5328d5bff61b38266a80d717a2b6e525e7718aac57eede5cecc69e105f58066b
|
7
|
+
data.tar.gz: a9d7c0115c80dd88cc98984b5953ec6861abc4c1c917a2298ea33b35e374bc75127d284087fe8184950178e80d3b32f8e1bbc0a236c97cbb099bf4be147867a2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.74.0 (2025-06-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for the Assisted NLU feature to improve bot performance
|
13
|
+
|
4
14
|
1.73.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -95,7 +95,7 @@ module Aws::LexModelsV2
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::LexModelsV2
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::LexModelsV2
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::LexModelsV2
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::LexModelsV2
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -1110,6 +1120,9 @@ module Aws::LexModelsV2
|
|
1110
1120
|
# custom_prompt: "BedrockModelCustomPrompt",
|
1111
1121
|
# },
|
1112
1122
|
# },
|
1123
|
+
# nlu_improvement: {
|
1124
|
+
# enabled: false, # required
|
1125
|
+
# },
|
1113
1126
|
# },
|
1114
1127
|
# buildtime_settings: {
|
1115
1128
|
# descriptive_bot_builder: {
|
@@ -1158,6 +1171,7 @@ module Aws::LexModelsV2
|
|
1158
1171
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
1159
1172
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
1160
1173
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
1174
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
1161
1175
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
1162
1176
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
1163
1177
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -3609,6 +3623,7 @@ module Aws::LexModelsV2
|
|
3609
3623
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
3610
3624
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
3611
3625
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
3626
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
3612
3627
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
3613
3628
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
3614
3629
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -9138,6 +9153,9 @@ module Aws::LexModelsV2
|
|
9138
9153
|
# custom_prompt: "BedrockModelCustomPrompt",
|
9139
9154
|
# },
|
9140
9155
|
# },
|
9156
|
+
# nlu_improvement: {
|
9157
|
+
# enabled: false, # required
|
9158
|
+
# },
|
9141
9159
|
# },
|
9142
9160
|
# buildtime_settings: {
|
9143
9161
|
# descriptive_bot_builder: {
|
@@ -9191,6 +9209,7 @@ module Aws::LexModelsV2
|
|
9191
9209
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
9192
9210
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
9193
9211
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
9212
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
9194
9213
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
9195
9214
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
9196
9215
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -10554,7 +10573,7 @@ module Aws::LexModelsV2
|
|
10554
10573
|
tracer: tracer
|
10555
10574
|
)
|
10556
10575
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
10557
|
-
context[:gem_version] = '1.
|
10576
|
+
context[:gem_version] = '1.75.0'
|
10558
10577
|
Seahorse::Client::Request.new(handlers, context)
|
10559
10578
|
end
|
10560
10579
|
|
@@ -564,6 +564,7 @@ module Aws::LexModelsV2
|
|
564
564
|
NewCustomVocabularyItem = Shapes::StructureShape.new(name: 'NewCustomVocabularyItem')
|
565
565
|
NextIndex = Shapes::IntegerShape.new(name: 'NextIndex')
|
566
566
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
567
|
+
NluImprovementSpecification = Shapes::StructureShape.new(name: 'NluImprovementSpecification')
|
567
568
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
568
569
|
NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
|
569
570
|
OSIncludeFields = Shapes::ListShape.new(name: 'OSIncludeFields')
|
@@ -2917,6 +2918,9 @@ module Aws::LexModelsV2
|
|
2917
2918
|
NewCustomVocabularyItem.add_member(:display_as, Shapes::ShapeRef.new(shape: Phrase, location_name: "displayAs"))
|
2918
2919
|
NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
|
2919
2920
|
|
2921
|
+
NluImprovementSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
2922
|
+
NluImprovementSpecification.struct_class = Types::NluImprovementSpecification
|
2923
|
+
|
2920
2924
|
OSIncludeFields.member = Shapes::ShapeRef.new(shape: IncludeField)
|
2921
2925
|
|
2922
2926
|
ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
|
@@ -3059,6 +3063,7 @@ module Aws::LexModelsV2
|
|
3059
3063
|
RuntimeHints.struct_class = Types::RuntimeHints
|
3060
3064
|
|
3061
3065
|
RuntimeSettings.add_member(:slot_resolution_improvement, Shapes::ShapeRef.new(shape: SlotResolutionImprovementSpecification, location_name: "slotResolutionImprovement"))
|
3066
|
+
RuntimeSettings.add_member(:nlu_improvement, Shapes::ShapeRef.new(shape: NluImprovementSpecification, location_name: "nluImprovement"))
|
3062
3067
|
RuntimeSettings.struct_class = Types::RuntimeSettings
|
3063
3068
|
|
3064
3069
|
S3BucketLogDestination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
@@ -11201,6 +11201,20 @@ module Aws::LexModelsV2
|
|
11201
11201
|
include Aws::Structure
|
11202
11202
|
end
|
11203
11203
|
|
11204
|
+
# Specifies whether the assisted nlu feature is turned on or off.
|
11205
|
+
#
|
11206
|
+
# @!attribute [rw] enabled
|
11207
|
+
# Specifies whether the assisted nlu feature is enabled.
|
11208
|
+
# @return [Boolean]
|
11209
|
+
#
|
11210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NluImprovementSpecification AWS API Documentation
|
11211
|
+
#
|
11212
|
+
class NluImprovementSpecification < Struct.new(
|
11213
|
+
:enabled)
|
11214
|
+
SENSITIVE = []
|
11215
|
+
include Aws::Structure
|
11216
|
+
end
|
11217
|
+
|
11204
11218
|
# Determines whether Amazon Lex obscures slot values in conversation
|
11205
11219
|
# logs.
|
11206
11220
|
#
|
@@ -11919,10 +11933,15 @@ module Aws::LexModelsV2
|
|
11919
11933
|
# feature.
|
11920
11934
|
# @return [Types::SlotResolutionImprovementSpecification]
|
11921
11935
|
#
|
11936
|
+
# @!attribute [rw] nlu_improvement
|
11937
|
+
# An object containing specifications for the assisted nlu feature.
|
11938
|
+
# @return [Types::NluImprovementSpecification]
|
11939
|
+
#
|
11922
11940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeSettings AWS API Documentation
|
11923
11941
|
#
|
11924
11942
|
class RuntimeSettings < Struct.new(
|
11925
|
-
:slot_resolution_improvement
|
11943
|
+
:slot_resolution_improvement,
|
11944
|
+
:nlu_improvement)
|
11926
11945
|
SENSITIVE = []
|
11927
11946
|
include Aws::Structure
|
11928
11947
|
end
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -304,6 +305,9 @@ module Aws
|
|
304
305
|
trace_status: ("ENABLED" | "DISABLED")?,
|
305
306
|
custom_prompt: ::String?
|
306
307
|
}?
|
308
|
+
}?,
|
309
|
+
nlu_improvement: {
|
310
|
+
enabled: bool
|
307
311
|
}?
|
308
312
|
}?,
|
309
313
|
buildtime_settings: {
|
@@ -7566,6 +7570,9 @@ module Aws
|
|
7566
7570
|
trace_status: ("ENABLED" | "DISABLED")?,
|
7567
7571
|
custom_prompt: ::String?
|
7568
7572
|
}?
|
7573
|
+
}?,
|
7574
|
+
nlu_improvement: {
|
7575
|
+
enabled: bool
|
7569
7576
|
}?
|
7570
7577
|
}?,
|
7571
7578
|
buildtime_settings: {
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -2566,6 +2566,11 @@ module Aws::LexModelsV2
|
|
2566
2566
|
SENSITIVE: []
|
2567
2567
|
end
|
2568
2568
|
|
2569
|
+
class NluImprovementSpecification
|
2570
|
+
attr_accessor enabled: bool
|
2571
|
+
SENSITIVE: []
|
2572
|
+
end
|
2573
|
+
|
2569
2574
|
class ObfuscationSetting
|
2570
2575
|
attr_accessor obfuscation_setting_type: ("None" | "DefaultObfuscation")
|
2571
2576
|
SENSITIVE: []
|
@@ -2736,6 +2741,7 @@ module Aws::LexModelsV2
|
|
2736
2741
|
|
2737
2742
|
class RuntimeSettings
|
2738
2743
|
attr_accessor slot_resolution_improvement: Types::SlotResolutionImprovementSpecification
|
2744
|
+
attr_accessor nlu_improvement: Types::NluImprovementSpecification
|
2739
2745
|
SENSITIVE: []
|
2740
2746
|
end
|
2741
2747
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.75.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|