aws-sdk-lexmodelbuildingservice 1.25.0 → 1.26.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f18979a37113a4ef5a33facee02ce5037f0c8e
|
4
|
+
data.tar.gz: 3771c0eabf4689ed08b21aa0b4ba39eda74907ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a9b01248e160ae64128898893814bff7b76bd5f242adf24fcdb77259f507e7a8bc0f3f5a2bad16a3e5ab1c1620806fe9275a68248c4ab04ea65d05b7e2488f
|
7
|
+
data.tar.gz: ac790b08886dfbdf2b18624f3d335f1231b003540e9873871edeea4bc716c549db7f3e9ecd383731f9737c7165b538ef0d8e01a5520ebc8d12d5fa05b643c03a
|
@@ -514,6 +514,8 @@ module Aws::LexModelBuildingService
|
|
514
514
|
# * {Types::CreateSlotTypeVersionResponse#version #version} => String
|
515
515
|
# * {Types::CreateSlotTypeVersionResponse#checksum #checksum} => String
|
516
516
|
# * {Types::CreateSlotTypeVersionResponse#value_selection_strategy #value_selection_strategy} => String
|
517
|
+
# * {Types::CreateSlotTypeVersionResponse#parent_slot_type_signature #parent_slot_type_signature} => String
|
518
|
+
# * {Types::CreateSlotTypeVersionResponse#slot_type_configurations #slot_type_configurations} => Array<Types::SlotTypeConfiguration>
|
517
519
|
#
|
518
520
|
# @example Request syntax with placeholder values
|
519
521
|
#
|
@@ -535,6 +537,9 @@ module Aws::LexModelBuildingService
|
|
535
537
|
# resp.version #=> String
|
536
538
|
# resp.checksum #=> String
|
537
539
|
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
540
|
+
# resp.parent_slot_type_signature #=> String
|
541
|
+
# resp.slot_type_configurations #=> Array
|
542
|
+
# resp.slot_type_configurations[0].regex_configuration.pattern #=> String
|
538
543
|
#
|
539
544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion AWS API Documentation
|
540
545
|
#
|
@@ -2069,6 +2074,8 @@ module Aws::LexModelBuildingService
|
|
2069
2074
|
# * {Types::GetSlotTypeResponse#version #version} => String
|
2070
2075
|
# * {Types::GetSlotTypeResponse#checksum #checksum} => String
|
2071
2076
|
# * {Types::GetSlotTypeResponse#value_selection_strategy #value_selection_strategy} => String
|
2077
|
+
# * {Types::GetSlotTypeResponse#parent_slot_type_signature #parent_slot_type_signature} => String
|
2078
|
+
# * {Types::GetSlotTypeResponse#slot_type_configurations #slot_type_configurations} => Array<Types::SlotTypeConfiguration>
|
2072
2079
|
#
|
2073
2080
|
#
|
2074
2081
|
# @example Example: To get information about a slot type
|
@@ -2118,6 +2125,9 @@ module Aws::LexModelBuildingService
|
|
2118
2125
|
# resp.version #=> String
|
2119
2126
|
# resp.checksum #=> String
|
2120
2127
|
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
2128
|
+
# resp.parent_slot_type_signature #=> String
|
2129
|
+
# resp.slot_type_configurations #=> Array
|
2130
|
+
# resp.slot_type_configurations[0].regex_configuration.pattern #=> String
|
2121
2131
|
#
|
2122
2132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType AWS API Documentation
|
2123
2133
|
#
|
@@ -2593,7 +2603,7 @@ module Aws::LexModelBuildingService
|
|
2593
2603
|
# max_attempts: 1,
|
2594
2604
|
# messages: [
|
2595
2605
|
# {
|
2596
|
-
# content: "I'm sorry, I didn't hear that. Can you
|
2606
|
+
# content: "I'm sorry, I didn't hear that. Can you repeat what you just said?",
|
2597
2607
|
# content_type: "PlainText",
|
2598
2608
|
# },
|
2599
2609
|
# {
|
@@ -3561,6 +3571,17 @@ module Aws::LexModelBuildingService
|
|
3561
3571
|
# This is the same as calling the `CreateSlotTypeVersion` operation. If
|
3562
3572
|
# you do not specify `createVersion`, the default is `false`.
|
3563
3573
|
#
|
3574
|
+
# @option params [String] :parent_slot_type_signature
|
3575
|
+
# The built-in slot type used as the parent of the slot type. When you
|
3576
|
+
# define a parent slot type, the new slot type has all of the same
|
3577
|
+
# configuration as the parent.
|
3578
|
+
#
|
3579
|
+
# Only `AMAZON.AlphaNumeric` is supported.
|
3580
|
+
#
|
3581
|
+
# @option params [Array<Types::SlotTypeConfiguration>] :slot_type_configurations
|
3582
|
+
# Configuration information that extends the parent built-in slot type.
|
3583
|
+
# The configuration is added to the settings for the parent slot type.
|
3584
|
+
#
|
3564
3585
|
# @return [Types::PutSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3565
3586
|
#
|
3566
3587
|
# * {Types::PutSlotTypeResponse#name #name} => String
|
@@ -3572,6 +3593,8 @@ module Aws::LexModelBuildingService
|
|
3572
3593
|
# * {Types::PutSlotTypeResponse#checksum #checksum} => String
|
3573
3594
|
# * {Types::PutSlotTypeResponse#value_selection_strategy #value_selection_strategy} => String
|
3574
3595
|
# * {Types::PutSlotTypeResponse#create_version #create_version} => Boolean
|
3596
|
+
# * {Types::PutSlotTypeResponse#parent_slot_type_signature #parent_slot_type_signature} => String
|
3597
|
+
# * {Types::PutSlotTypeResponse#slot_type_configurations #slot_type_configurations} => Array<Types::SlotTypeConfiguration>
|
3575
3598
|
#
|
3576
3599
|
#
|
3577
3600
|
# @example Example: To Create a Slot Type
|
@@ -3623,6 +3646,14 @@ module Aws::LexModelBuildingService
|
|
3623
3646
|
# checksum: "String",
|
3624
3647
|
# value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
|
3625
3648
|
# create_version: false,
|
3649
|
+
# parent_slot_type_signature: "CustomOrBuiltinSlotTypeName",
|
3650
|
+
# slot_type_configurations: [
|
3651
|
+
# {
|
3652
|
+
# regex_configuration: {
|
3653
|
+
# pattern: "RegexPattern", # required
|
3654
|
+
# },
|
3655
|
+
# },
|
3656
|
+
# ],
|
3626
3657
|
# })
|
3627
3658
|
#
|
3628
3659
|
# @example Response structure
|
@@ -3639,6 +3670,9 @@ module Aws::LexModelBuildingService
|
|
3639
3670
|
# resp.checksum #=> String
|
3640
3671
|
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
3641
3672
|
# resp.create_version #=> Boolean
|
3673
|
+
# resp.parent_slot_type_signature #=> String
|
3674
|
+
# resp.slot_type_configurations #=> Array
|
3675
|
+
# resp.slot_type_configurations[0].regex_configuration.pattern #=> String
|
3642
3676
|
#
|
3643
3677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType AWS API Documentation
|
3644
3678
|
#
|
@@ -3725,7 +3759,7 @@ module Aws::LexModelBuildingService
|
|
3725
3759
|
params: params,
|
3726
3760
|
config: config)
|
3727
3761
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3728
|
-
context[:gem_version] = '1.
|
3762
|
+
context[:gem_version] = '1.26.0'
|
3729
3763
|
Seahorse::Client::Request.new(handlers, context)
|
3730
3764
|
end
|
3731
3765
|
|
@@ -152,6 +152,7 @@ module Aws::LexModelBuildingService
|
|
152
152
|
PutSlotTypeRequest = Shapes::StructureShape.new(name: 'PutSlotTypeRequest')
|
153
153
|
PutSlotTypeResponse = Shapes::StructureShape.new(name: 'PutSlotTypeResponse')
|
154
154
|
ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
|
155
|
+
RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
|
155
156
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
156
157
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
157
158
|
ResourcePrefix = Shapes::StringShape.new(name: 'ResourcePrefix')
|
@@ -163,9 +164,12 @@ module Aws::LexModelBuildingService
|
|
163
164
|
SlotConstraint = Shapes::StringShape.new(name: 'SlotConstraint')
|
164
165
|
SlotList = Shapes::ListShape.new(name: 'SlotList')
|
165
166
|
SlotName = Shapes::StringShape.new(name: 'SlotName')
|
167
|
+
SlotTypeConfiguration = Shapes::StructureShape.new(name: 'SlotTypeConfiguration')
|
168
|
+
SlotTypeConfigurations = Shapes::ListShape.new(name: 'SlotTypeConfigurations')
|
166
169
|
SlotTypeMetadata = Shapes::StructureShape.new(name: 'SlotTypeMetadata')
|
167
170
|
SlotTypeMetadataList = Shapes::ListShape.new(name: 'SlotTypeMetadataList')
|
168
171
|
SlotTypeName = Shapes::StringShape.new(name: 'SlotTypeName')
|
172
|
+
SlotTypeRegexConfiguration = Shapes::StructureShape.new(name: 'SlotTypeRegexConfiguration')
|
169
173
|
SlotUtteranceList = Shapes::ListShape.new(name: 'SlotUtteranceList')
|
170
174
|
SlotValueSelectionStrategy = Shapes::StringShape.new(name: 'SlotValueSelectionStrategy')
|
171
175
|
StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
|
@@ -315,6 +319,8 @@ module Aws::LexModelBuildingService
|
|
315
319
|
CreateSlotTypeVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
316
320
|
CreateSlotTypeVersionResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
317
321
|
CreateSlotTypeVersionResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
322
|
+
CreateSlotTypeVersionResponse.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: CustomOrBuiltinSlotTypeName, location_name: "parentSlotTypeSignature"))
|
323
|
+
CreateSlotTypeVersionResponse.add_member(:slot_type_configurations, Shapes::ShapeRef.new(shape: SlotTypeConfigurations, location_name: "slotTypeConfigurations"))
|
318
324
|
CreateSlotTypeVersionResponse.struct_class = Types::CreateSlotTypeVersionResponse
|
319
325
|
|
320
326
|
DeleteBotAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: AliasName, required: true, location: "uri", location_name: "name"))
|
@@ -562,6 +568,8 @@ module Aws::LexModelBuildingService
|
|
562
568
|
GetSlotTypeResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
563
569
|
GetSlotTypeResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
564
570
|
GetSlotTypeResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
571
|
+
GetSlotTypeResponse.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: CustomOrBuiltinSlotTypeName, location_name: "parentSlotTypeSignature"))
|
572
|
+
GetSlotTypeResponse.add_member(:slot_type_configurations, Shapes::ShapeRef.new(shape: SlotTypeConfigurations, location_name: "slotTypeConfigurations"))
|
565
573
|
GetSlotTypeResponse.struct_class = Types::GetSlotTypeResponse
|
566
574
|
|
567
575
|
GetSlotTypeVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
|
@@ -747,6 +755,8 @@ module Aws::LexModelBuildingService
|
|
747
755
|
PutSlotTypeRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
748
756
|
PutSlotTypeRequest.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
749
757
|
PutSlotTypeRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
|
758
|
+
PutSlotTypeRequest.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: CustomOrBuiltinSlotTypeName, location_name: "parentSlotTypeSignature"))
|
759
|
+
PutSlotTypeRequest.add_member(:slot_type_configurations, Shapes::ShapeRef.new(shape: SlotTypeConfigurations, location_name: "slotTypeConfigurations"))
|
750
760
|
PutSlotTypeRequest.struct_class = Types::PutSlotTypeRequest
|
751
761
|
|
752
762
|
PutSlotTypeResponse.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, location_name: "name"))
|
@@ -758,6 +768,8 @@ module Aws::LexModelBuildingService
|
|
758
768
|
PutSlotTypeResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
759
769
|
PutSlotTypeResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
760
770
|
PutSlotTypeResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
|
771
|
+
PutSlotTypeResponse.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: CustomOrBuiltinSlotTypeName, location_name: "parentSlotTypeSignature"))
|
772
|
+
PutSlotTypeResponse.add_member(:slot_type_configurations, Shapes::ShapeRef.new(shape: SlotTypeConfigurations, location_name: "slotTypeConfigurations"))
|
761
773
|
PutSlotTypeResponse.struct_class = Types::PutSlotTypeResponse
|
762
774
|
|
763
775
|
ResourceInUseException.add_member(:reference_type, Shapes::ShapeRef.new(shape: ReferenceType, location_name: "referenceType"))
|
@@ -782,6 +794,11 @@ module Aws::LexModelBuildingService
|
|
782
794
|
|
783
795
|
SlotList.member = Shapes::ShapeRef.new(shape: Slot)
|
784
796
|
|
797
|
+
SlotTypeConfiguration.add_member(:regex_configuration, Shapes::ShapeRef.new(shape: SlotTypeRegexConfiguration, location_name: "regexConfiguration"))
|
798
|
+
SlotTypeConfiguration.struct_class = Types::SlotTypeConfiguration
|
799
|
+
|
800
|
+
SlotTypeConfigurations.member = Shapes::ShapeRef.new(shape: SlotTypeConfiguration)
|
801
|
+
|
785
802
|
SlotTypeMetadata.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, location_name: "name"))
|
786
803
|
SlotTypeMetadata.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
787
804
|
SlotTypeMetadata.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
|
@@ -791,6 +808,9 @@ module Aws::LexModelBuildingService
|
|
791
808
|
|
792
809
|
SlotTypeMetadataList.member = Shapes::ShapeRef.new(shape: SlotTypeMetadata)
|
793
810
|
|
811
|
+
SlotTypeRegexConfiguration.add_member(:pattern, Shapes::ShapeRef.new(shape: RegexPattern, required: true, location_name: "pattern"))
|
812
|
+
SlotTypeRegexConfiguration.struct_class = Types::SlotTypeRegexConfiguration
|
813
|
+
|
794
814
|
SlotUtteranceList.member = Shapes::ShapeRef.new(shape: Utterance)
|
795
815
|
|
796
816
|
StartImportRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "payload"))
|
@@ -689,6 +689,15 @@ module Aws::LexModelBuildingService
|
|
689
689
|
# slot. For more information, see PutSlotType.
|
690
690
|
# @return [String]
|
691
691
|
#
|
692
|
+
# @!attribute [rw] parent_slot_type_signature
|
693
|
+
# The built-in slot type used a the parent of the slot type.
|
694
|
+
# @return [String]
|
695
|
+
#
|
696
|
+
# @!attribute [rw] slot_type_configurations
|
697
|
+
# Configuration information that extends the parent built-in slot
|
698
|
+
# type.
|
699
|
+
# @return [Array<Types::SlotTypeConfiguration>]
|
700
|
+
#
|
692
701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionResponse AWS API Documentation
|
693
702
|
#
|
694
703
|
class CreateSlotTypeVersionResponse < Struct.new(
|
@@ -699,7 +708,9 @@ module Aws::LexModelBuildingService
|
|
699
708
|
:created_date,
|
700
709
|
:version,
|
701
710
|
:checksum,
|
702
|
-
:value_selection_strategy
|
711
|
+
:value_selection_strategy,
|
712
|
+
:parent_slot_type_signature,
|
713
|
+
:slot_type_configurations)
|
703
714
|
include Aws::Structure
|
704
715
|
end
|
705
716
|
|
@@ -2230,6 +2241,15 @@ module Aws::LexModelBuildingService
|
|
2230
2241
|
# slot. For more information, see PutSlotType.
|
2231
2242
|
# @return [String]
|
2232
2243
|
#
|
2244
|
+
# @!attribute [rw] parent_slot_type_signature
|
2245
|
+
# The built-in slot type used as a parent for the slot type.
|
2246
|
+
# @return [String]
|
2247
|
+
#
|
2248
|
+
# @!attribute [rw] slot_type_configurations
|
2249
|
+
# Configuration information that extends the parent built-in slot
|
2250
|
+
# type.
|
2251
|
+
# @return [Array<Types::SlotTypeConfiguration>]
|
2252
|
+
#
|
2233
2253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeResponse AWS API Documentation
|
2234
2254
|
#
|
2235
2255
|
class GetSlotTypeResponse < Struct.new(
|
@@ -2240,7 +2260,9 @@ module Aws::LexModelBuildingService
|
|
2240
2260
|
:created_date,
|
2241
2261
|
:version,
|
2242
2262
|
:checksum,
|
2243
|
-
:value_selection_strategy
|
2263
|
+
:value_selection_strategy,
|
2264
|
+
:parent_slot_type_signature,
|
2265
|
+
:slot_type_configurations)
|
2244
2266
|
include Aws::Structure
|
2245
2267
|
end
|
2246
2268
|
|
@@ -3588,6 +3610,14 @@ module Aws::LexModelBuildingService
|
|
3588
3610
|
# checksum: "String",
|
3589
3611
|
# value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
|
3590
3612
|
# create_version: false,
|
3613
|
+
# parent_slot_type_signature: "CustomOrBuiltinSlotTypeName",
|
3614
|
+
# slot_type_configurations: [
|
3615
|
+
# {
|
3616
|
+
# regex_configuration: {
|
3617
|
+
# pattern: "RegexPattern", # required
|
3618
|
+
# },
|
3619
|
+
# },
|
3620
|
+
# ],
|
3591
3621
|
# }
|
3592
3622
|
#
|
3593
3623
|
# @!attribute [rw] name
|
@@ -3661,6 +3691,20 @@ module Aws::LexModelBuildingService
|
|
3661
3691
|
# `false`.
|
3662
3692
|
# @return [Boolean]
|
3663
3693
|
#
|
3694
|
+
# @!attribute [rw] parent_slot_type_signature
|
3695
|
+
# The built-in slot type used as the parent of the slot type. When you
|
3696
|
+
# define a parent slot type, the new slot type has all of the same
|
3697
|
+
# configuration as the parent.
|
3698
|
+
#
|
3699
|
+
# Only `AMAZON.AlphaNumeric` is supported.
|
3700
|
+
# @return [String]
|
3701
|
+
#
|
3702
|
+
# @!attribute [rw] slot_type_configurations
|
3703
|
+
# Configuration information that extends the parent built-in slot
|
3704
|
+
# type. The configuration is added to the settings for the parent slot
|
3705
|
+
# type.
|
3706
|
+
# @return [Array<Types::SlotTypeConfiguration>]
|
3707
|
+
#
|
3664
3708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeRequest AWS API Documentation
|
3665
3709
|
#
|
3666
3710
|
class PutSlotTypeRequest < Struct.new(
|
@@ -3669,7 +3713,9 @@ module Aws::LexModelBuildingService
|
|
3669
3713
|
:enumeration_values,
|
3670
3714
|
:checksum,
|
3671
3715
|
:value_selection_strategy,
|
3672
|
-
:create_version
|
3716
|
+
:create_version,
|
3717
|
+
:parent_slot_type_signature,
|
3718
|
+
:slot_type_configurations)
|
3673
3719
|
include Aws::Structure
|
3674
3720
|
end
|
3675
3721
|
|
@@ -3715,6 +3761,15 @@ module Aws::LexModelBuildingService
|
|
3715
3761
|
# `createVersion` field is set to false in the response.
|
3716
3762
|
# @return [Boolean]
|
3717
3763
|
#
|
3764
|
+
# @!attribute [rw] parent_slot_type_signature
|
3765
|
+
# The built-in slot type used as the parent of the slot type.
|
3766
|
+
# @return [String]
|
3767
|
+
#
|
3768
|
+
# @!attribute [rw] slot_type_configurations
|
3769
|
+
# Configuration information that extends the parent built-in slot
|
3770
|
+
# type.
|
3771
|
+
# @return [Array<Types::SlotTypeConfiguration>]
|
3772
|
+
#
|
3718
3773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeResponse AWS API Documentation
|
3719
3774
|
#
|
3720
3775
|
class PutSlotTypeResponse < Struct.new(
|
@@ -3726,7 +3781,9 @@ module Aws::LexModelBuildingService
|
|
3726
3781
|
:version,
|
3727
3782
|
:checksum,
|
3728
3783
|
:value_selection_strategy,
|
3729
|
-
:create_version
|
3784
|
+
:create_version,
|
3785
|
+
:parent_slot_type_signature,
|
3786
|
+
:slot_type_configurations)
|
3730
3787
|
include Aws::Structure
|
3731
3788
|
end
|
3732
3789
|
|
@@ -3887,6 +3944,28 @@ module Aws::LexModelBuildingService
|
|
3887
3944
|
include Aws::Structure
|
3888
3945
|
end
|
3889
3946
|
|
3947
|
+
# Provides configuration information for a slot type.
|
3948
|
+
#
|
3949
|
+
# @note When making an API call, you may pass SlotTypeConfiguration
|
3950
|
+
# data as a hash:
|
3951
|
+
#
|
3952
|
+
# {
|
3953
|
+
# regex_configuration: {
|
3954
|
+
# pattern: "RegexPattern", # required
|
3955
|
+
# },
|
3956
|
+
# }
|
3957
|
+
#
|
3958
|
+
# @!attribute [rw] regex_configuration
|
3959
|
+
# A regular expression used to validate the value of a slot.
|
3960
|
+
# @return [Types::SlotTypeRegexConfiguration]
|
3961
|
+
#
|
3962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotTypeConfiguration AWS API Documentation
|
3963
|
+
#
|
3964
|
+
class SlotTypeConfiguration < Struct.new(
|
3965
|
+
:regex_configuration)
|
3966
|
+
include Aws::Structure
|
3967
|
+
end
|
3968
|
+
|
3890
3969
|
# Provides information about a slot type..
|
3891
3970
|
#
|
3892
3971
|
# @!attribute [rw] name
|
@@ -3921,6 +4000,44 @@ module Aws::LexModelBuildingService
|
|
3921
4000
|
include Aws::Structure
|
3922
4001
|
end
|
3923
4002
|
|
4003
|
+
# Provides a regular expression used to validate the value of a slot.
|
4004
|
+
#
|
4005
|
+
# @note When making an API call, you may pass SlotTypeRegexConfiguration
|
4006
|
+
# data as a hash:
|
4007
|
+
#
|
4008
|
+
# {
|
4009
|
+
# pattern: "RegexPattern", # required
|
4010
|
+
# }
|
4011
|
+
#
|
4012
|
+
# @!attribute [rw] pattern
|
4013
|
+
# A regular expression used to validate the value of a slot.
|
4014
|
+
#
|
4015
|
+
# Use a standard regular expression. Amazon Lex supports the following
|
4016
|
+
# characters in the regular expression:
|
4017
|
+
#
|
4018
|
+
# * A-Z, a-z
|
4019
|
+
#
|
4020
|
+
# * 0-9
|
4021
|
+
#
|
4022
|
+
# * Unicode characters ("\\ u<Unicode>")
|
4023
|
+
#
|
4024
|
+
# Represent Unicode characters with four digits, for example
|
4025
|
+
# "\\u0041" or "\\u005A".
|
4026
|
+
#
|
4027
|
+
# The following regular expression operators are not supported:
|
4028
|
+
#
|
4029
|
+
# * Infinite repeaters: *, +, or \\\{x,\\} with no upper bound.
|
4030
|
+
#
|
4031
|
+
# * Wild card (.)
|
4032
|
+
# @return [String]
|
4033
|
+
#
|
4034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotTypeRegexConfiguration AWS API Documentation
|
4035
|
+
#
|
4036
|
+
class SlotTypeRegexConfiguration < Struct.new(
|
4037
|
+
:pattern)
|
4038
|
+
include Aws::Structure
|
4039
|
+
end
|
4040
|
+
|
3924
4041
|
# @note When making an API call, you may pass StartImportRequest
|
3925
4042
|
# data as a hash:
|
3926
4043
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelbuildingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.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: 2020-
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|