NAME
Paws::LexModelsV2::SlotValueSelectionSetting
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::LexModelsV2::SlotValueSelectionSetting object:
$service_obj->Method(Att1 => { RegexFilter => $value, ..., ResolutionStrategy => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::SlotValueSelectionSetting object:
$result = $service_obj->Method(...);
$result->Att1->RegexFilter
DESCRIPTION
Contains settings used by Amazon Lex to select a slot value.
ATTRIBUTES
RegexFilter => Paws::LexModelsV2::SlotValueRegexFilter
A regular expression used to validate the value of a slot.
REQUIRED ResolutionStrategy => Str
Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values:
OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
TopResolution - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don't specify the valueSelectionStrategy, the default is OriginalValue.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::LexModelsV2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues