aws-sdk-lexmodelsv2 1.17.0 → 1.18.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +50 -6
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +30 -2
- data/lib/aws-sdk-lexmodelsv2/types.rb +187 -15
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b989aed5773f3807f502c6a75b685e2046b9ed29c2d2556b2db5bc7c04f717
|
4
|
+
data.tar.gz: afbcc361032bf0c6ef235de9b47d3679b00fe73db28af9b731876a4084ac3ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f638d75dd542327a119ff84b64eee68e10276ff825e2ca271363f90a33da6608f3bf7aa28faa1e49c88b1803697fc2df677b1c26fe197e02a3b2cc79fdf93b49
|
7
|
+
data.tar.gz: ee34ab4c14e07872069b5197ab653d753ed3bb783b0cdd092aadabe22f6308ba9b1e12f62d3077144aeb587ba8b4858909f9c3d5708750e0ae3621c9ba9a2162
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2021-12-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for grammar slot type in Amazon Lex. You can author your own grammar in the XML format per the SRGS specification to collect information in a conversation.
|
8
|
+
|
4
9
|
1.17.0 (2021-12-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -2318,7 +2318,7 @@ module Aws::LexModelsV2
|
|
2318
2318
|
# values that help train the machine learning model about the values
|
2319
2319
|
# that it resolves for a slot.
|
2320
2320
|
#
|
2321
|
-
# @option params [
|
2321
|
+
# @option params [Types::SlotValueSelectionSetting] :value_selection_setting
|
2322
2322
|
# Determines the strategy that Amazon Lex uses to select a value from
|
2323
2323
|
# the list of possible values. The field can be set to one of the
|
2324
2324
|
# following values:
|
@@ -2356,6 +2356,9 @@ module Aws::LexModelsV2
|
|
2356
2356
|
#
|
2357
2357
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
2358
2358
|
#
|
2359
|
+
# @option params [Types::ExternalSourceSetting] :external_source_setting
|
2360
|
+
# Sets the type of external information used to create the slot type.
|
2361
|
+
#
|
2359
2362
|
# @return [Types::CreateSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2360
2363
|
#
|
2361
2364
|
# * {Types::CreateSlotTypeResponse#slot_type_id #slot_type_id} => String
|
@@ -2368,6 +2371,7 @@ module Aws::LexModelsV2
|
|
2368
2371
|
# * {Types::CreateSlotTypeResponse#bot_version #bot_version} => String
|
2369
2372
|
# * {Types::CreateSlotTypeResponse#locale_id #locale_id} => String
|
2370
2373
|
# * {Types::CreateSlotTypeResponse#creation_date_time #creation_date_time} => Time
|
2374
|
+
# * {Types::CreateSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
|
2371
2375
|
#
|
2372
2376
|
# @example Request syntax with placeholder values
|
2373
2377
|
#
|
@@ -2386,7 +2390,7 @@ module Aws::LexModelsV2
|
|
2386
2390
|
# ],
|
2387
2391
|
# },
|
2388
2392
|
# ],
|
2389
|
-
# value_selection_setting: {
|
2393
|
+
# value_selection_setting: {
|
2390
2394
|
# resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
|
2391
2395
|
# regex_filter: {
|
2392
2396
|
# pattern: "RegexPattern", # required
|
@@ -2396,6 +2400,15 @@ module Aws::LexModelsV2
|
|
2396
2400
|
# bot_id: "Id", # required
|
2397
2401
|
# bot_version: "DraftBotVersion", # required
|
2398
2402
|
# locale_id: "LocaleId", # required
|
2403
|
+
# external_source_setting: {
|
2404
|
+
# grammar_slot_type_setting: {
|
2405
|
+
# source: {
|
2406
|
+
# s3_bucket_name: "S3BucketName", # required
|
2407
|
+
# s3_object_key: "S3ObjectPath", # required
|
2408
|
+
# kms_key_arn: "KmsKeyArn",
|
2409
|
+
# },
|
2410
|
+
# },
|
2411
|
+
# },
|
2399
2412
|
# })
|
2400
2413
|
#
|
2401
2414
|
# @example Response structure
|
@@ -2414,6 +2427,9 @@ module Aws::LexModelsV2
|
|
2414
2427
|
# resp.bot_version #=> String
|
2415
2428
|
# resp.locale_id #=> String
|
2416
2429
|
# resp.creation_date_time #=> Time
|
2430
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
|
2431
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
|
2432
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
|
2417
2433
|
#
|
2418
2434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType AWS API Documentation
|
2419
2435
|
#
|
@@ -3133,6 +3149,7 @@ module Aws::LexModelsV2
|
|
3133
3149
|
# * {Types::DescribeBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
|
3134
3150
|
# * {Types::DescribeBotLocaleResponse#last_build_submitted_date_time #last_build_submitted_date_time} => Time
|
3135
3151
|
# * {Types::DescribeBotLocaleResponse#bot_locale_history_events #bot_locale_history_events} => Array<Types::BotLocaleHistoryEvent>
|
3152
|
+
# * {Types::DescribeBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
3136
3153
|
#
|
3137
3154
|
# @example Request syntax with placeholder values
|
3138
3155
|
#
|
@@ -3163,6 +3180,8 @@ module Aws::LexModelsV2
|
|
3163
3180
|
# resp.bot_locale_history_events #=> Array
|
3164
3181
|
# resp.bot_locale_history_events[0].event #=> String
|
3165
3182
|
# resp.bot_locale_history_events[0].event_date #=> Time
|
3183
|
+
# resp.recommended_actions #=> Array
|
3184
|
+
# resp.recommended_actions[0] #=> String
|
3166
3185
|
#
|
3167
3186
|
#
|
3168
3187
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3929,6 +3948,7 @@ module Aws::LexModelsV2
|
|
3929
3948
|
# * {Types::DescribeSlotTypeResponse#locale_id #locale_id} => String
|
3930
3949
|
# * {Types::DescribeSlotTypeResponse#creation_date_time #creation_date_time} => Time
|
3931
3950
|
# * {Types::DescribeSlotTypeResponse#last_updated_date_time #last_updated_date_time} => Time
|
3951
|
+
# * {Types::DescribeSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
|
3932
3952
|
#
|
3933
3953
|
# @example Request syntax with placeholder values
|
3934
3954
|
#
|
@@ -3956,6 +3976,9 @@ module Aws::LexModelsV2
|
|
3956
3976
|
# resp.locale_id #=> String
|
3957
3977
|
# resp.creation_date_time #=> Time
|
3958
3978
|
# resp.last_updated_date_time #=> Time
|
3979
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
|
3980
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
|
3981
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
|
3959
3982
|
#
|
3960
3983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType AWS API Documentation
|
3961
3984
|
#
|
@@ -4973,7 +4996,7 @@ module Aws::LexModelsV2
|
|
4973
4996
|
# },
|
4974
4997
|
# filters: [
|
4975
4998
|
# {
|
4976
|
-
# name: "SlotTypeName", # required, accepts SlotTypeName
|
4999
|
+
# name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
|
4977
5000
|
# values: ["FilterValue"], # required
|
4978
5001
|
# operator: "CO", # required, accepts CO, EQ
|
4979
5002
|
# },
|
@@ -4993,6 +5016,7 @@ module Aws::LexModelsV2
|
|
4993
5016
|
# resp.slot_type_summaries[0].description #=> String
|
4994
5017
|
# resp.slot_type_summaries[0].parent_slot_type_signature #=> String
|
4995
5018
|
# resp.slot_type_summaries[0].last_updated_date_time #=> Time
|
5019
|
+
# resp.slot_type_summaries[0].slot_type_category #=> String, one of "Custom", "Extended", "ExternalGrammar"
|
4996
5020
|
# resp.next_token #=> String
|
4997
5021
|
#
|
4998
5022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes AWS API Documentation
|
@@ -5746,6 +5770,7 @@ module Aws::LexModelsV2
|
|
5746
5770
|
# * {Types::UpdateBotLocaleResponse#failure_reasons #failure_reasons} => Array<String>
|
5747
5771
|
# * {Types::UpdateBotLocaleResponse#creation_date_time #creation_date_time} => Time
|
5748
5772
|
# * {Types::UpdateBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
|
5773
|
+
# * {Types::UpdateBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
5749
5774
|
#
|
5750
5775
|
# @example Request syntax with placeholder values
|
5751
5776
|
#
|
@@ -5776,6 +5801,8 @@ module Aws::LexModelsV2
|
|
5776
5801
|
# resp.failure_reasons[0] #=> String
|
5777
5802
|
# resp.creation_date_time #=> Time
|
5778
5803
|
# resp.last_updated_date_time #=> Time
|
5804
|
+
# resp.recommended_actions #=> Array
|
5805
|
+
# resp.recommended_actions[0] #=> String
|
5779
5806
|
#
|
5780
5807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale AWS API Documentation
|
5781
5808
|
#
|
@@ -7211,7 +7238,7 @@ module Aws::LexModelsV2
|
|
7211
7238
|
# A new list of values and their optional synonyms that define the
|
7212
7239
|
# values that the slot type can take.
|
7213
7240
|
#
|
7214
|
-
# @option params [
|
7241
|
+
# @option params [Types::SlotValueSelectionSetting] :value_selection_setting
|
7215
7242
|
# The strategy that Amazon Lex should use when deciding on a value from
|
7216
7243
|
# the list of slot type values.
|
7217
7244
|
#
|
@@ -7234,6 +7261,10 @@ module Aws::LexModelsV2
|
|
7234
7261
|
#
|
7235
7262
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
7236
7263
|
#
|
7264
|
+
# @option params [Types::ExternalSourceSetting] :external_source_setting
|
7265
|
+
# Provides information about the external source of the slot type's
|
7266
|
+
# definition.
|
7267
|
+
#
|
7237
7268
|
# @return [Types::UpdateSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7238
7269
|
#
|
7239
7270
|
# * {Types::UpdateSlotTypeResponse#slot_type_id #slot_type_id} => String
|
@@ -7247,6 +7278,7 @@ module Aws::LexModelsV2
|
|
7247
7278
|
# * {Types::UpdateSlotTypeResponse#locale_id #locale_id} => String
|
7248
7279
|
# * {Types::UpdateSlotTypeResponse#creation_date_time #creation_date_time} => Time
|
7249
7280
|
# * {Types::UpdateSlotTypeResponse#last_updated_date_time #last_updated_date_time} => Time
|
7281
|
+
# * {Types::UpdateSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
|
7250
7282
|
#
|
7251
7283
|
# @example Request syntax with placeholder values
|
7252
7284
|
#
|
@@ -7266,7 +7298,7 @@ module Aws::LexModelsV2
|
|
7266
7298
|
# ],
|
7267
7299
|
# },
|
7268
7300
|
# ],
|
7269
|
-
# value_selection_setting: {
|
7301
|
+
# value_selection_setting: {
|
7270
7302
|
# resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
|
7271
7303
|
# regex_filter: {
|
7272
7304
|
# pattern: "RegexPattern", # required
|
@@ -7276,6 +7308,15 @@ module Aws::LexModelsV2
|
|
7276
7308
|
# bot_id: "Id", # required
|
7277
7309
|
# bot_version: "DraftBotVersion", # required
|
7278
7310
|
# locale_id: "LocaleId", # required
|
7311
|
+
# external_source_setting: {
|
7312
|
+
# grammar_slot_type_setting: {
|
7313
|
+
# source: {
|
7314
|
+
# s3_bucket_name: "S3BucketName", # required
|
7315
|
+
# s3_object_key: "S3ObjectPath", # required
|
7316
|
+
# kms_key_arn: "KmsKeyArn",
|
7317
|
+
# },
|
7318
|
+
# },
|
7319
|
+
# },
|
7279
7320
|
# })
|
7280
7321
|
#
|
7281
7322
|
# @example Response structure
|
@@ -7295,6 +7336,9 @@ module Aws::LexModelsV2
|
|
7295
7336
|
# resp.locale_id #=> String
|
7296
7337
|
# resp.creation_date_time #=> Time
|
7297
7338
|
# resp.last_updated_date_time #=> Time
|
7339
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
|
7340
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
|
7341
|
+
# resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
|
7298
7342
|
#
|
7299
7343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType AWS API Documentation
|
7300
7344
|
#
|
@@ -7318,7 +7362,7 @@ module Aws::LexModelsV2
|
|
7318
7362
|
params: params,
|
7319
7363
|
config: config)
|
7320
7364
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
7321
|
-
context[:gem_version] = '1.
|
7365
|
+
context[:gem_version] = '1.18.0'
|
7322
7366
|
Seahorse::Client::Request.new(handlers, context)
|
7323
7367
|
end
|
7324
7368
|
|
@@ -196,6 +196,7 @@ module Aws::LexModelsV2
|
|
196
196
|
ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
|
197
197
|
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
198
198
|
ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
|
199
|
+
ExternalSourceSetting = Shapes::StructureShape.new(name: 'ExternalSourceSetting')
|
199
200
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
200
201
|
FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
|
201
202
|
FilePassword = Shapes::StringShape.new(name: 'FilePassword')
|
@@ -208,6 +209,8 @@ module Aws::LexModelsV2
|
|
208
209
|
FulfillmentUpdateResponseFrequency = Shapes::IntegerShape.new(name: 'FulfillmentUpdateResponseFrequency')
|
209
210
|
FulfillmentUpdateResponseSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdateResponseSpecification')
|
210
211
|
FulfillmentUpdatesSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdatesSpecification')
|
212
|
+
GrammarSlotTypeSetting = Shapes::StructureShape.new(name: 'GrammarSlotTypeSetting')
|
213
|
+
GrammarSlotTypeSource = Shapes::StructureShape.new(name: 'GrammarSlotTypeSource')
|
211
214
|
HitCount = Shapes::IntegerShape.new(name: 'HitCount')
|
212
215
|
Id = Shapes::StringShape.new(name: 'Id')
|
213
216
|
ImageResponseCard = Shapes::StructureShape.new(name: 'ImageResponseCard')
|
@@ -312,6 +315,8 @@ module Aws::LexModelsV2
|
|
312
315
|
PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
|
313
316
|
PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
|
314
317
|
QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
|
318
|
+
RecommendedAction = Shapes::StringShape.new(name: 'RecommendedAction')
|
319
|
+
RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
|
315
320
|
RecommendedIntentSummary = Shapes::StructureShape.new(name: 'RecommendedIntentSummary')
|
316
321
|
RecommendedIntentSummaryList = Shapes::ListShape.new(name: 'RecommendedIntentSummaryList')
|
317
322
|
RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
|
@@ -326,6 +331,7 @@ module Aws::LexModelsV2
|
|
326
331
|
S3BucketLogDestination = Shapes::StructureShape.new(name: 'S3BucketLogDestination')
|
327
332
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
328
333
|
S3BucketTranscriptSource = Shapes::StructureShape.new(name: 'S3BucketTranscriptSource')
|
334
|
+
S3ObjectPath = Shapes::StringShape.new(name: 'S3ObjectPath')
|
329
335
|
SSMLMessage = Shapes::StructureShape.new(name: 'SSMLMessage')
|
330
336
|
SSMLMessageValue = Shapes::StringShape.new(name: 'SSMLMessageValue')
|
331
337
|
SampleUtterance = Shapes::StructureShape.new(name: 'SampleUtterance')
|
@@ -356,6 +362,7 @@ module Aws::LexModelsV2
|
|
356
362
|
SlotSortBy = Shapes::StructureShape.new(name: 'SlotSortBy')
|
357
363
|
SlotSummary = Shapes::StructureShape.new(name: 'SlotSummary')
|
358
364
|
SlotSummaryList = Shapes::ListShape.new(name: 'SlotSummaryList')
|
365
|
+
SlotTypeCategory = Shapes::StringShape.new(name: 'SlotTypeCategory')
|
359
366
|
SlotTypeFilter = Shapes::StructureShape.new(name: 'SlotTypeFilter')
|
360
367
|
SlotTypeFilterName = Shapes::StringShape.new(name: 'SlotTypeFilterName')
|
361
368
|
SlotTypeFilterOperator = Shapes::StringShape.new(name: 'SlotTypeFilterOperator')
|
@@ -831,11 +838,12 @@ module Aws::LexModelsV2
|
|
831
838
|
CreateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
|
832
839
|
CreateSlotTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
833
840
|
CreateSlotTypeRequest.add_member(:slot_type_values, Shapes::ShapeRef.new(shape: SlotTypeValues, location_name: "slotTypeValues"))
|
834
|
-
CreateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting,
|
841
|
+
CreateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, location_name: "valueSelectionSetting"))
|
835
842
|
CreateSlotTypeRequest.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
|
836
843
|
CreateSlotTypeRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
837
844
|
CreateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
838
845
|
CreateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
846
|
+
CreateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
|
839
847
|
CreateSlotTypeRequest.struct_class = Types::CreateSlotTypeRequest
|
840
848
|
|
841
849
|
CreateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
|
@@ -848,6 +856,7 @@ module Aws::LexModelsV2
|
|
848
856
|
CreateSlotTypeResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
849
857
|
CreateSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
850
858
|
CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
859
|
+
CreateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
|
851
860
|
CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
|
852
861
|
|
853
862
|
CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
|
@@ -1001,6 +1010,7 @@ module Aws::LexModelsV2
|
|
1001
1010
|
DescribeBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1002
1011
|
DescribeBotLocaleResponse.add_member(:last_build_submitted_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastBuildSubmittedDateTime"))
|
1003
1012
|
DescribeBotLocaleResponse.add_member(:bot_locale_history_events, Shapes::ShapeRef.new(shape: BotLocaleHistoryEventsList, location_name: "botLocaleHistoryEvents"))
|
1013
|
+
DescribeBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
1004
1014
|
DescribeBotLocaleResponse.struct_class = Types::DescribeBotLocaleResponse
|
1005
1015
|
|
1006
1016
|
DescribeBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
@@ -1152,6 +1162,7 @@ module Aws::LexModelsV2
|
|
1152
1162
|
DescribeSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
1153
1163
|
DescribeSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1154
1164
|
DescribeSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1165
|
+
DescribeSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
|
1155
1166
|
DescribeSlotTypeResponse.struct_class = Types::DescribeSlotTypeResponse
|
1156
1167
|
|
1157
1168
|
DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
@@ -1187,6 +1198,9 @@ module Aws::LexModelsV2
|
|
1187
1198
|
|
1188
1199
|
ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
1189
1200
|
|
1201
|
+
ExternalSourceSetting.add_member(:grammar_slot_type_setting, Shapes::ShapeRef.new(shape: GrammarSlotTypeSetting, location_name: "grammarSlotTypeSetting"))
|
1202
|
+
ExternalSourceSetting.struct_class = Types::ExternalSourceSetting
|
1203
|
+
|
1190
1204
|
FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
|
1191
1205
|
|
1192
1206
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
@@ -1212,6 +1226,14 @@ module Aws::LexModelsV2
|
|
1212
1226
|
FulfillmentUpdatesSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentTimeout, location_name: "timeoutInSeconds"))
|
1213
1227
|
FulfillmentUpdatesSpecification.struct_class = Types::FulfillmentUpdatesSpecification
|
1214
1228
|
|
1229
|
+
GrammarSlotTypeSetting.add_member(:source, Shapes::ShapeRef.new(shape: GrammarSlotTypeSource, location_name: "source"))
|
1230
|
+
GrammarSlotTypeSetting.struct_class = Types::GrammarSlotTypeSetting
|
1231
|
+
|
1232
|
+
GrammarSlotTypeSource.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "s3BucketName"))
|
1233
|
+
GrammarSlotTypeSource.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectPath, required: true, location_name: "s3ObjectKey"))
|
1234
|
+
GrammarSlotTypeSource.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
1235
|
+
GrammarSlotTypeSource.struct_class = Types::GrammarSlotTypeSource
|
1236
|
+
|
1215
1237
|
ImageResponseCard.add_member(:title, Shapes::ShapeRef.new(shape: AttachmentTitle, required: true, location_name: "title"))
|
1216
1238
|
ImageResponseCard.add_member(:subtitle, Shapes::ShapeRef.new(shape: AttachmentTitle, location_name: "subtitle"))
|
1217
1239
|
ImageResponseCard.add_member(:image_url, Shapes::ShapeRef.new(shape: AttachmentUrl, location_name: "imageUrl"))
|
@@ -1558,6 +1580,8 @@ module Aws::LexModelsV2
|
|
1558
1580
|
PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
|
1559
1581
|
PromptSpecification.struct_class = Types::PromptSpecification
|
1560
1582
|
|
1583
|
+
RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
|
1584
|
+
|
1561
1585
|
RecommendedIntentSummary.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
1562
1586
|
RecommendedIntentSummary.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
|
1563
1587
|
RecommendedIntentSummary.add_member(:sample_utterances_count, Shapes::ShapeRef.new(shape: SampleUtterancesCount, location_name: "sampleUtterancesCount"))
|
@@ -1679,6 +1703,7 @@ module Aws::LexModelsV2
|
|
1679
1703
|
SlotTypeSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1680
1704
|
SlotTypeSummary.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
|
1681
1705
|
SlotTypeSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1706
|
+
SlotTypeSummary.add_member(:slot_type_category, Shapes::ShapeRef.new(shape: SlotTypeCategory, location_name: "slotTypeCategory"))
|
1682
1707
|
SlotTypeSummary.struct_class = Types::SlotTypeSummary
|
1683
1708
|
|
1684
1709
|
SlotTypeSummaryList.member = Shapes::ShapeRef.new(shape: SlotTypeSummary)
|
@@ -1819,6 +1844,7 @@ module Aws::LexModelsV2
|
|
1819
1844
|
UpdateBotLocaleResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
1820
1845
|
UpdateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1821
1846
|
UpdateBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1847
|
+
UpdateBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
1822
1848
|
UpdateBotLocaleResponse.struct_class = Types::UpdateBotLocaleResponse
|
1823
1849
|
|
1824
1850
|
UpdateBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
@@ -1949,11 +1975,12 @@ module Aws::LexModelsV2
|
|
1949
1975
|
UpdateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
|
1950
1976
|
UpdateSlotTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1951
1977
|
UpdateSlotTypeRequest.add_member(:slot_type_values, Shapes::ShapeRef.new(shape: SlotTypeValues, location_name: "slotTypeValues"))
|
1952
|
-
UpdateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting,
|
1978
|
+
UpdateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, location_name: "valueSelectionSetting"))
|
1953
1979
|
UpdateSlotTypeRequest.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
|
1954
1980
|
UpdateSlotTypeRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
1955
1981
|
UpdateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
1956
1982
|
UpdateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
1983
|
+
UpdateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
|
1957
1984
|
UpdateSlotTypeRequest.struct_class = Types::UpdateSlotTypeRequest
|
1958
1985
|
|
1959
1986
|
UpdateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
|
@@ -1967,6 +1994,7 @@ module Aws::LexModelsV2
|
|
1967
1994
|
UpdateSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
1968
1995
|
UpdateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1969
1996
|
UpdateSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1997
|
+
UpdateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
|
1970
1998
|
UpdateSlotTypeResponse.struct_class = Types::UpdateSlotTypeResponse
|
1971
1999
|
|
1972
2000
|
UtteranceAggregationDuration.add_member(:relative_aggregation_duration, Shapes::ShapeRef.new(shape: RelativeAggregationDuration, required: true, location_name: "relativeAggregationDuration"))
|
@@ -3260,7 +3260,7 @@ module Aws::LexModelsV2
|
|
3260
3260
|
# ],
|
3261
3261
|
# },
|
3262
3262
|
# ],
|
3263
|
-
# value_selection_setting: {
|
3263
|
+
# value_selection_setting: {
|
3264
3264
|
# resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
|
3265
3265
|
# regex_filter: {
|
3266
3266
|
# pattern: "RegexPattern", # required
|
@@ -3270,6 +3270,15 @@ module Aws::LexModelsV2
|
|
3270
3270
|
# bot_id: "Id", # required
|
3271
3271
|
# bot_version: "DraftBotVersion", # required
|
3272
3272
|
# locale_id: "LocaleId", # required
|
3273
|
+
# external_source_setting: {
|
3274
|
+
# grammar_slot_type_setting: {
|
3275
|
+
# source: {
|
3276
|
+
# s3_bucket_name: "S3BucketName", # required
|
3277
|
+
# s3_object_key: "S3ObjectPath", # required
|
3278
|
+
# kms_key_arn: "KmsKeyArn",
|
3279
|
+
# },
|
3280
|
+
# },
|
3281
|
+
# },
|
3273
3282
|
# }
|
3274
3283
|
#
|
3275
3284
|
# @!attribute [rw] slot_type_name
|
@@ -3332,6 +3341,10 @@ module Aws::LexModelsV2
|
|
3332
3341
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
3333
3342
|
# @return [String]
|
3334
3343
|
#
|
3344
|
+
# @!attribute [rw] external_source_setting
|
3345
|
+
# Sets the type of external information used to create the slot type.
|
3346
|
+
# @return [Types::ExternalSourceSetting]
|
3347
|
+
#
|
3335
3348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeRequest AWS API Documentation
|
3336
3349
|
#
|
3337
3350
|
class CreateSlotTypeRequest < Struct.new(
|
@@ -3342,7 +3355,8 @@ module Aws::LexModelsV2
|
|
3342
3355
|
:parent_slot_type_signature,
|
3343
3356
|
:bot_id,
|
3344
3357
|
:bot_version,
|
3345
|
-
:locale_id
|
3358
|
+
:locale_id,
|
3359
|
+
:external_source_setting)
|
3346
3360
|
SENSITIVE = []
|
3347
3361
|
include Aws::Structure
|
3348
3362
|
end
|
@@ -3390,6 +3404,10 @@ module Aws::LexModelsV2
|
|
3390
3404
|
# A timestamp of the date and time that the slot type was created.
|
3391
3405
|
# @return [Time]
|
3392
3406
|
#
|
3407
|
+
# @!attribute [rw] external_source_setting
|
3408
|
+
# The type of external information used to create the slot type.
|
3409
|
+
# @return [Types::ExternalSourceSetting]
|
3410
|
+
#
|
3393
3411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeResponse AWS API Documentation
|
3394
3412
|
#
|
3395
3413
|
class CreateSlotTypeResponse < Struct.new(
|
@@ -3402,7 +3420,8 @@ module Aws::LexModelsV2
|
|
3402
3420
|
:bot_id,
|
3403
3421
|
:bot_version,
|
3404
3422
|
:locale_id,
|
3405
|
-
:creation_date_time
|
3423
|
+
:creation_date_time,
|
3424
|
+
:external_source_setting)
|
3406
3425
|
SENSITIVE = []
|
3407
3426
|
include Aws::Structure
|
3408
3427
|
end
|
@@ -4350,6 +4369,11 @@ module Aws::LexModelsV2
|
|
4350
4369
|
# have taken place for the locale.
|
4351
4370
|
# @return [Array<Types::BotLocaleHistoryEvent>]
|
4352
4371
|
#
|
4372
|
+
# @!attribute [rw] recommended_actions
|
4373
|
+
# Recommended actions to take to resolve an error in the
|
4374
|
+
# `failureReasons` field.
|
4375
|
+
# @return [Array<String>]
|
4376
|
+
#
|
4353
4377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
|
4354
4378
|
#
|
4355
4379
|
class DescribeBotLocaleResponse < Struct.new(
|
@@ -4367,7 +4391,8 @@ module Aws::LexModelsV2
|
|
4367
4391
|
:creation_date_time,
|
4368
4392
|
:last_updated_date_time,
|
4369
4393
|
:last_build_submitted_date_time,
|
4370
|
-
:bot_locale_history_events
|
4394
|
+
:bot_locale_history_events,
|
4395
|
+
:recommended_actions)
|
4371
4396
|
SENSITIVE = []
|
4372
4397
|
include Aws::Structure
|
4373
4398
|
end
|
@@ -5212,6 +5237,11 @@ module Aws::LexModelsV2
|
|
5212
5237
|
# updated.
|
5213
5238
|
# @return [Time]
|
5214
5239
|
#
|
5240
|
+
# @!attribute [rw] external_source_setting
|
5241
|
+
# Provides information about the external source of the slot type's
|
5242
|
+
# definition.
|
5243
|
+
# @return [Types::ExternalSourceSetting]
|
5244
|
+
#
|
5215
5245
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotTypeResponse AWS API Documentation
|
5216
5246
|
#
|
5217
5247
|
class DescribeSlotTypeResponse < Struct.new(
|
@@ -5225,7 +5255,8 @@ module Aws::LexModelsV2
|
|
5225
5255
|
:bot_version,
|
5226
5256
|
:locale_id,
|
5227
5257
|
:creation_date_time,
|
5228
|
-
:last_updated_date_time
|
5258
|
+
:last_updated_date_time,
|
5259
|
+
:external_source_setting)
|
5229
5260
|
SENSITIVE = []
|
5230
5261
|
include Aws::Structure
|
5231
5262
|
end
|
@@ -5432,6 +5463,35 @@ module Aws::LexModelsV2
|
|
5432
5463
|
include Aws::Structure
|
5433
5464
|
end
|
5434
5465
|
|
5466
|
+
# Provides information about the external source of the slot type's
|
5467
|
+
# definition.
|
5468
|
+
#
|
5469
|
+
# @note When making an API call, you may pass ExternalSourceSetting
|
5470
|
+
# data as a hash:
|
5471
|
+
#
|
5472
|
+
# {
|
5473
|
+
# grammar_slot_type_setting: {
|
5474
|
+
# source: {
|
5475
|
+
# s3_bucket_name: "S3BucketName", # required
|
5476
|
+
# s3_object_key: "S3ObjectPath", # required
|
5477
|
+
# kms_key_arn: "KmsKeyArn",
|
5478
|
+
# },
|
5479
|
+
# },
|
5480
|
+
# }
|
5481
|
+
#
|
5482
|
+
# @!attribute [rw] grammar_slot_type_setting
|
5483
|
+
# Settings required for a slot type based on a grammar that you
|
5484
|
+
# provide.
|
5485
|
+
# @return [Types::GrammarSlotTypeSetting]
|
5486
|
+
#
|
5487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExternalSourceSetting AWS API Documentation
|
5488
|
+
#
|
5489
|
+
class ExternalSourceSetting < Struct.new(
|
5490
|
+
:grammar_slot_type_setting)
|
5491
|
+
SENSITIVE = []
|
5492
|
+
include Aws::Structure
|
5493
|
+
end
|
5494
|
+
|
5435
5495
|
# Determines if a Lambda function should be invoked for a specific
|
5436
5496
|
# intent.
|
5437
5497
|
#
|
@@ -6070,6 +6130,66 @@ module Aws::LexModelsV2
|
|
6070
6130
|
include Aws::Structure
|
6071
6131
|
end
|
6072
6132
|
|
6133
|
+
# Settings requried for a slot type based on a grammar that you provide.
|
6134
|
+
#
|
6135
|
+
# @note When making an API call, you may pass GrammarSlotTypeSetting
|
6136
|
+
# data as a hash:
|
6137
|
+
#
|
6138
|
+
# {
|
6139
|
+
# source: {
|
6140
|
+
# s3_bucket_name: "S3BucketName", # required
|
6141
|
+
# s3_object_key: "S3ObjectPath", # required
|
6142
|
+
# kms_key_arn: "KmsKeyArn",
|
6143
|
+
# },
|
6144
|
+
# }
|
6145
|
+
#
|
6146
|
+
# @!attribute [rw] source
|
6147
|
+
# The source of the grammar used to create the slot type.
|
6148
|
+
# @return [Types::GrammarSlotTypeSource]
|
6149
|
+
#
|
6150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSetting AWS API Documentation
|
6151
|
+
#
|
6152
|
+
class GrammarSlotTypeSetting < Struct.new(
|
6153
|
+
:source)
|
6154
|
+
SENSITIVE = []
|
6155
|
+
include Aws::Structure
|
6156
|
+
end
|
6157
|
+
|
6158
|
+
# Describes the Amazon S3 bucket name and location for the grammar that
|
6159
|
+
# is the source for the slot type.
|
6160
|
+
#
|
6161
|
+
# @note When making an API call, you may pass GrammarSlotTypeSource
|
6162
|
+
# data as a hash:
|
6163
|
+
#
|
6164
|
+
# {
|
6165
|
+
# s3_bucket_name: "S3BucketName", # required
|
6166
|
+
# s3_object_key: "S3ObjectPath", # required
|
6167
|
+
# kms_key_arn: "KmsKeyArn",
|
6168
|
+
# }
|
6169
|
+
#
|
6170
|
+
# @!attribute [rw] s3_bucket_name
|
6171
|
+
# The name of the S3 bucket that contains the grammar source.
|
6172
|
+
# @return [String]
|
6173
|
+
#
|
6174
|
+
# @!attribute [rw] s3_object_key
|
6175
|
+
# The path to the grammar in the S3 bucket.
|
6176
|
+
# @return [String]
|
6177
|
+
#
|
6178
|
+
# @!attribute [rw] kms_key_arn
|
6179
|
+
# The Amazon KMS key required to decrypt the contents of the grammar,
|
6180
|
+
# if any.
|
6181
|
+
# @return [String]
|
6182
|
+
#
|
6183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSource AWS API Documentation
|
6184
|
+
#
|
6185
|
+
class GrammarSlotTypeSource < Struct.new(
|
6186
|
+
:s3_bucket_name,
|
6187
|
+
:s3_object_key,
|
6188
|
+
:kms_key_arn)
|
6189
|
+
SENSITIVE = []
|
6190
|
+
include Aws::Structure
|
6191
|
+
end
|
6192
|
+
|
6073
6193
|
# A card that is shown to the user by a messaging platform. You define
|
6074
6194
|
# the contents of the card, the card is displayed by the platform.
|
6075
6195
|
#
|
@@ -7988,7 +8108,7 @@ module Aws::LexModelsV2
|
|
7988
8108
|
# },
|
7989
8109
|
# filters: [
|
7990
8110
|
# {
|
7991
|
-
# name: "SlotTypeName", # required, accepts SlotTypeName
|
8111
|
+
# name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
|
7992
8112
|
# values: ["FilterValue"], # required
|
7993
8113
|
# operator: "CO", # required, accepts CO, EQ
|
7994
8114
|
# },
|
@@ -9558,7 +9678,7 @@ module Aws::LexModelsV2
|
|
9558
9678
|
# data as a hash:
|
9559
9679
|
#
|
9560
9680
|
# {
|
9561
|
-
# name: "SlotTypeName", # required, accepts SlotTypeName
|
9681
|
+
# name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
|
9562
9682
|
# values: ["FilterValue"], # required
|
9563
9683
|
# operator: "CO", # required, accepts CO, EQ
|
9564
9684
|
# }
|
@@ -9655,6 +9775,27 @@ module Aws::LexModelsV2
|
|
9655
9775
|
# updated.
|
9656
9776
|
# @return [Time]
|
9657
9777
|
#
|
9778
|
+
# @!attribute [rw] slot_type_category
|
9779
|
+
# Indicates the type of the slot type.
|
9780
|
+
#
|
9781
|
+
# * `Custom` - A slot type that you created using custom values. For
|
9782
|
+
# more information, see [Creating custom slot types][1].
|
9783
|
+
#
|
9784
|
+
# * `Extended` - A slot type created by extending the
|
9785
|
+
# AMAZON.AlphaNumeric built-in slot type. For more information, see
|
9786
|
+
# [AMAZON.AlphaNumeric][2].
|
9787
|
+
#
|
9788
|
+
# * `ExternalGrammar` - A slot type using a custom GRXML grammar to
|
9789
|
+
# define values. For more information, see [Using a custom grammar
|
9790
|
+
# slot type][3].
|
9791
|
+
#
|
9792
|
+
#
|
9793
|
+
#
|
9794
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html
|
9795
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html
|
9796
|
+
# [3]: https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html
|
9797
|
+
# @return [String]
|
9798
|
+
#
|
9658
9799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeSummary AWS API Documentation
|
9659
9800
|
#
|
9660
9801
|
class SlotTypeSummary < Struct.new(
|
@@ -9662,7 +9803,8 @@ module Aws::LexModelsV2
|
|
9662
9803
|
:slot_type_name,
|
9663
9804
|
:description,
|
9664
9805
|
:parent_slot_type_signature,
|
9665
|
-
:last_updated_date_time
|
9806
|
+
:last_updated_date_time,
|
9807
|
+
:slot_type_category)
|
9666
9808
|
SENSITIVE = []
|
9667
9809
|
include Aws::Structure
|
9668
9810
|
end
|
@@ -10876,6 +11018,11 @@ module Aws::LexModelsV2
|
|
10876
11018
|
# A timestamp of the date and time that the locale was last updated.
|
10877
11019
|
# @return [Time]
|
10878
11020
|
#
|
11021
|
+
# @!attribute [rw] recommended_actions
|
11022
|
+
# Recommended actions to take to resolve an error in the
|
11023
|
+
# `failureReasons` field.
|
11024
|
+
# @return [Array<String>]
|
11025
|
+
#
|
10879
11026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
|
10880
11027
|
#
|
10881
11028
|
class UpdateBotLocaleResponse < Struct.new(
|
@@ -10889,7 +11036,8 @@ module Aws::LexModelsV2
|
|
10889
11036
|
:bot_locale_status,
|
10890
11037
|
:failure_reasons,
|
10891
11038
|
:creation_date_time,
|
10892
|
-
:last_updated_date_time
|
11039
|
+
:last_updated_date_time,
|
11040
|
+
:recommended_actions)
|
10893
11041
|
SENSITIVE = []
|
10894
11042
|
include Aws::Structure
|
10895
11043
|
end
|
@@ -12393,7 +12541,7 @@ module Aws::LexModelsV2
|
|
12393
12541
|
# ],
|
12394
12542
|
# },
|
12395
12543
|
# ],
|
12396
|
-
# value_selection_setting: {
|
12544
|
+
# value_selection_setting: {
|
12397
12545
|
# resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
|
12398
12546
|
# regex_filter: {
|
12399
12547
|
# pattern: "RegexPattern", # required
|
@@ -12403,6 +12551,15 @@ module Aws::LexModelsV2
|
|
12403
12551
|
# bot_id: "Id", # required
|
12404
12552
|
# bot_version: "DraftBotVersion", # required
|
12405
12553
|
# locale_id: "LocaleId", # required
|
12554
|
+
# external_source_setting: {
|
12555
|
+
# grammar_slot_type_setting: {
|
12556
|
+
# source: {
|
12557
|
+
# s3_bucket_name: "S3BucketName", # required
|
12558
|
+
# s3_object_key: "S3ObjectPath", # required
|
12559
|
+
# kms_key_arn: "KmsKeyArn",
|
12560
|
+
# },
|
12561
|
+
# },
|
12562
|
+
# },
|
12406
12563
|
# }
|
12407
12564
|
#
|
12408
12565
|
# @!attribute [rw] slot_type_id
|
@@ -12450,6 +12607,11 @@ module Aws::LexModelsV2
|
|
12450
12607
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
12451
12608
|
# @return [String]
|
12452
12609
|
#
|
12610
|
+
# @!attribute [rw] external_source_setting
|
12611
|
+
# Provides information about the external source of the slot type's
|
12612
|
+
# definition.
|
12613
|
+
# @return [Types::ExternalSourceSetting]
|
12614
|
+
#
|
12453
12615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeRequest AWS API Documentation
|
12454
12616
|
#
|
12455
12617
|
class UpdateSlotTypeRequest < Struct.new(
|
@@ -12461,7 +12623,8 @@ module Aws::LexModelsV2
|
|
12461
12623
|
:parent_slot_type_signature,
|
12462
12624
|
:bot_id,
|
12463
12625
|
:bot_version,
|
12464
|
-
:locale_id
|
12626
|
+
:locale_id,
|
12627
|
+
:external_source_setting)
|
12465
12628
|
SENSITIVE = []
|
12466
12629
|
include Aws::Structure
|
12467
12630
|
end
|
@@ -12514,6 +12677,11 @@ module Aws::LexModelsV2
|
|
12514
12677
|
# updated.
|
12515
12678
|
# @return [Time]
|
12516
12679
|
#
|
12680
|
+
# @!attribute [rw] external_source_setting
|
12681
|
+
# Provides information about the external source of the slot type's
|
12682
|
+
# definition.
|
12683
|
+
# @return [Types::ExternalSourceSetting]
|
12684
|
+
#
|
12517
12685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeResponse AWS API Documentation
|
12518
12686
|
#
|
12519
12687
|
class UpdateSlotTypeResponse < Struct.new(
|
@@ -12527,7 +12695,8 @@ module Aws::LexModelsV2
|
|
12527
12695
|
:bot_version,
|
12528
12696
|
:locale_id,
|
12529
12697
|
:creation_date_time,
|
12530
|
-
:last_updated_date_time
|
12698
|
+
:last_updated_date_time,
|
12699
|
+
:external_source_setting)
|
12531
12700
|
SENSITIVE = []
|
12532
12701
|
include Aws::Structure
|
12533
12702
|
end
|
@@ -12588,12 +12757,15 @@ module Aws::LexModelsV2
|
|
12588
12757
|
#
|
12589
12758
|
# @!attribute [rw] engine
|
12590
12759
|
# Indicates the type of Amazon Polly voice that Amazon Lex should use
|
12591
|
-
# for voice interaction with the user. For more information, see
|
12592
|
-
#
|
12760
|
+
# for voice interaction with the user. For more information, see the [
|
12761
|
+
# `engine` parameter of the `SynthesizeSpeech` operation][1] in the
|
12762
|
+
# *Amazon Polly developer guide*.
|
12763
|
+
#
|
12764
|
+
# If you do not specify a value, the default is `standard`.
|
12593
12765
|
#
|
12594
12766
|
#
|
12595
12767
|
#
|
12596
|
-
# [1]: https://docs.aws.amazon.com/polly/latest/dg/
|
12768
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine
|
12597
12769
|
# @return [String]
|
12598
12770
|
#
|
12599
12771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
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.18.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: 2021-12-
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|