| 1 | |||
| 2 | package Paws::LexRuntimeV2::PutSessionResponse; | ||
| 3 | use Moose; | ||
| 4 | has AudioStream => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'audioStream'); | ||
| 5 | has ContentType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Type'); | ||
| 6 | has Messages => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-lex-messages'); | ||
| 7 | has RequestAttributes => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-lex-request-attributes'); | ||
| 8 | has SessionId => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-lex-session-id'); | ||
| 9 | has SessionState => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-lex-session-state'); | ||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | class_has _stream_param => (is => 'ro', default => 'AudioStream'); | ||
| 12 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::LexRuntimeV2::PutSessionResponse | ||
| 20 | |||
| 21 | =head1 ATTRIBUTES | ||
| 22 | |||
| 23 | |||
| 24 | =head2 AudioStream => Str | ||
| 25 | |||
| 26 | If the requested content type was audio, the audio version of the | ||
| 27 | message to convey to the user. | ||
| 28 | |||
| 29 | |||
| 30 | =head2 ContentType => Str | ||
| 31 | |||
| 32 | The type of response. Same as the type specified in the | ||
| 33 | C<responseContentType> field in the request. | ||
| 34 | |||
| 35 | |||
| 36 | =head2 Messages => Str | ||
| 37 | |||
| 38 | A list of messages that were last sent to the user. The messages are | ||
| 39 | ordered based on how you return the messages from you Lambda function | ||
| 40 | or the order that the messages are defined in the bot. | ||
| 41 | |||
| 42 | |||
| 43 | =head2 RequestAttributes => Str | ||
| 44 | |||
| 45 | Request-specific information passed between the client application and | ||
| 46 | Amazon Lex V2. These are the same as the C<requestAttribute> parameter | ||
| 47 | in the call to the C<PutSession> operation. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 SessionId => Str | ||
| 51 | |||
| 52 | The identifier of the session that received the data. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 SessionState => Str | ||
| 56 | |||
| 57 | Represents the current state of the dialog between the user and the | ||
| 58 | bot. | ||
| 59 | |||
| 60 | Use this to determine the progress of the conversation and what the | ||
| 61 | next action may be. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 _request_id => Str | ||
| 65 | |||
| 66 | |||
| 67 | =cut | ||
| 68 |