The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::LexModelsV2::SlotValueElicitationSetting

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::SlotValueElicitationSetting object:

$service_obj->Method(Att1 => { DefaultValueSpecification => $value, ..., WaitAndContinueSpecification => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::SlotValueElicitationSetting object:

$result = $service_obj->Method(...);
$result->Att1->DefaultValueSpecification

DESCRIPTION

Settings that you can use for eliciting a slot value.

ATTRIBUTES

DefaultValueSpecification => Paws::LexModelsV2::SlotDefaultValueSpecification

A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, sesion attributes, and defined values.

PromptSpecification => Paws::LexModelsV2::PromptSpecification

The prompt that Amazon Lex uses to elicit the slot value from the user.

SampleUtterances => ArrayRef[Paws::LexModelsV2::SampleUtterance]

If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

REQUIRED SlotConstraint => Str

Specifies whether the slot is required or optional.

WaitAndContinueSpecification => Paws::LexModelsV2::WaitAndContinueSpecification

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