#[non_exhaustive]
pub struct PutSessionOutput { pub content_type: Option<String>, pub messages: Option<String>, pub session_state: Option<String>, pub request_attributes: Option<String>, pub session_id: Option<String>, pub audio_stream: ByteStream, }

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
content_type: Option<String>

The type of response. Same as the type specified in the responseContentType field in the request.

messages: Option<String>

A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.

session_state: Option<String>

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action may be.

request_attributes: Option<String>

Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.

session_id: Option<String>

The identifier of the session that received the data.

audio_stream: ByteStream

If the requested content type was audio, the audio version of the message to convey to the user.

Implementations

The type of response. Same as the type specified in the responseContentType field in the request.

A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action may be.

Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.

The identifier of the session that received the data.

If the requested content type was audio, the audio version of the message to convey to the user.

Creates a new builder-style object to manufacture PutSessionOutput

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more