| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexModelsV2::StillWaitingResponseSpecification; | ||
| 3 | use Moose; | ||
| 4 | has AllowInterrupt => (is => 'ro', isa => 'Bool', request_name => 'allowInterrupt', traits => ['NameInRequest']); | ||
| 5 | has FrequencyInSeconds => (is => 'ro', isa => 'Int', request_name => 'frequencyInSeconds', traits => ['NameInRequest'], required => 1); | ||
| 6 | has MessageGroups => (is => 'ro', isa => 'ArrayRef[Paws::LexModelsV2::MessageGroup]', request_name => 'messageGroups', traits => ['NameInRequest'], required => 1); | ||
| 7 | has TimeoutInSeconds => (is => 'ro', isa => 'Int', request_name => 'timeoutInSeconds', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::LexModelsV2::StillWaitingResponseSpecification | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::LexModelsV2::StillWaitingResponseSpecification object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { AllowInterrupt => $value, ..., TimeoutInSeconds => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::StillWaitingResponseSpecification object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->AllowInterrupt | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Defines the messages that Amazon Lex sends to a user to remind them | ||
| 40 | that the bot is waiting for a response. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 AllowInterrupt => Bool | ||
| 46 | |||
| 47 | Indicates that the user can interrupt the response by speaking while | ||
| 48 | the message is being played. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> FrequencyInSeconds => Int | ||
| 52 | |||
| 53 | How often a message should be sent to the user. Minimum of 1 second, | ||
| 54 | maximum of 5 minutes. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> MessageGroups => ArrayRef[L<Paws::LexModelsV2::MessageGroup>] | ||
| 58 | |||
| 59 | One or more message groups, each containing one or more messages, that | ||
| 60 | define the prompts that Amazon Lex sends to the user. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> TimeoutInSeconds => Int | ||
| 64 | |||
| 65 | If Amazon Lex waits longer than this length of time for a response, it | ||
| 66 | will stop sending messages. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |