'2.0', 'service' => '

This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.

', 'operations' => [ 'DeleteSession' => '

Removes session information for a specified bot, alias, and user ID.

You can use this operation to restart a conversation with a bot. When you remove a session, the entire history of the session is removed so that you can start again.

You don\'t need to delete a session. Sessions have a time limit and will expire. Set the session time limit when you create the bot. The default is 5 minutes, but you can specify anything between 1 minute and 24 hours.

If you specify a bot or alias ID that doesn\'t exist, you receive a BadRequestException.

If the locale doesn\'t exist in the bot, or if the locale hasn\'t been enables for the alias, you receive a BadRequestException.

', 'GetSession' => '

Returns session information for a specified bot, alias, and user.

For example, you can use this operation to retrieve session information for a user that has left a long-running session in use.

If the bot, alias, or session identifier doesn\'t exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn\'t exist or is not enabled for the alias, you receive a BadRequestException.

', 'PutSession' => '

Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.

', 'RecognizeText' => '

Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot.

In response, Amazon Lex V2 returns the next message to convey to the user and an optional response card to display.

If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification.

For more information, see Completion message.

', 'RecognizeUtterance' => '

Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot.

The following request fields must be compressed with gzip and then base64 encoded before you send them to Amazon Lex V2.

The following response fields are compressed using gzip and then base64 encoded by Amazon Lex V2. Before you can use these fields, you must decode and decompress them.

The example contains a Java application that compresses and encodes a Java object to send to Amazon Lex V2, and a second that decodes and decompresses a response from Amazon Lex V2.

If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification.

For more information, see Completion message.

', 'StartConversation' => '

Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time. After your application starts a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2 processes the incoming events and responds with streaming text or audio events.

Audio input must be in the following format: audio/lpcm sample-rate=8000 sample-size-bits=16 channel-count=1; is-big-endian=false.

If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification.

For more information, see Completion message.

If the optional update message is configured, it is played at the specified frequency while the Lambda function is running and the update message state is active. If the fulfillment update message is not active, the Lambda function runs with a 30 second timeout.

For more information, see Update message

The StartConversation operation is supported only in the following SDKs:

', ], 'shapes' => [ 'AccessDeniedException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$AccessDeniedException' => '

Exception thrown when the credentials passed with the request are invalid or expired. Also thrown when the credentials in the request do not have permission to access the StartConversation operation.

', ], ], 'ActiveContext' => [ 'base' => '

Contains information about the contexts that a user is using in a session. You can configure Amazon Lex V2 to set a context when an intent is fulfilled, or you can set a context using the , , or operations.

Use a context to indicate to Amazon Lex V2 intents that should be used as follow-up intents. For example, if the active context is order-fulfilled, only intents that have order-fulfilled configured as a trigger are considered for follow up.

', 'refs' => [ 'ActiveContextsList$member' => NULL, ], ], 'ActiveContextName' => [ 'base' => NULL, 'refs' => [ 'ActiveContext$name' => '

The name of the context.

', ], ], 'ActiveContextParametersMap' => [ 'base' => NULL, 'refs' => [ 'ActiveContext$contextAttributes' => '

A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request.

If you don\'t specify a list of contexts, Amazon Lex V2 will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared.

', ], ], 'ActiveContextTimeToLive' => [ 'base' => '

The time that a context is active. You can specify the time to live in seconds or in conversation turns.

', 'refs' => [ 'ActiveContext$timeToLive' => '

Indicates the number of turns or seconds that the context is active. Once the time to live expires, the context is no longer returned in a response.

', ], ], 'ActiveContextTimeToLiveInSeconds' => [ 'base' => NULL, 'refs' => [ 'ActiveContextTimeToLive$timeToLiveInSeconds' => '

The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).

', ], ], 'ActiveContextTurnsToLive' => [ 'base' => NULL, 'refs' => [ 'ActiveContextTimeToLive$turnsToLive' => '

The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.

', ], ], 'ActiveContextsList' => [ 'base' => NULL, 'refs' => [ 'SessionState$activeContexts' => '

One or more contexts that indicate to Amazon Lex V2 the context of a request. When a context is active, Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session.

', ], ], 'AttachmentTitle' => [ 'base' => NULL, 'refs' => [ 'ImageResponseCard$title' => '

The title to display on the response card. The format of the title is determined by the platform displaying the response card.

', 'ImageResponseCard$subtitle' => '

The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

', ], ], 'AttachmentUrl' => [ 'base' => NULL, 'refs' => [ 'ImageResponseCard$imageUrl' => '

The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.

', ], ], 'AudioChunk' => [ 'base' => NULL, 'refs' => [ 'AudioInputEvent$audioChunk' => '

An encoded stream of audio.

', 'AudioResponseEvent$audioChunk' => '

A chunk of the audio to play.

', ], ], 'AudioInputEvent' => [ 'base' => '

Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user.

Amazon Lex V2 accumulates audio chunks until it recognizes a natural pause in speech before processing the input.

', 'refs' => [ 'StartConversationRequestEventStream$AudioInputEvent' => '

Speech audio sent from your client application to Amazon Lex V2. Audio starts accumulating when Amazon Lex V2 identifies a voice and continues until a natural pause in the speech is found before processing.

', ], ], 'AudioResponseEvent' => [ 'base' => '

An event sent from Amazon Lex V2 to your client application containing audio to play to the user.

', 'refs' => [ 'StartConversationResponseEventStream$AudioResponseEvent' => NULL, ], ], 'BadGatewayException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$BadGatewayException' => NULL, ], ], 'BlobStream' => [ 'base' => NULL, 'refs' => [ 'PutSessionResponse$audioStream' => '

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

', 'RecognizeUtteranceRequest$inputStream' => '

User input in PCM or Opus audio format or text format as described in the requestContentType parameter.

', 'RecognizeUtteranceResponse$audioStream' => '

The prompt or statement to send to the user. This is based on the bot configuration and context. For example, if Amazon Lex V2 did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex V2 sends that message in the response.

', ], ], 'Boolean' => [ 'base' => NULL, 'refs' => [ 'ConfigurationEvent$disablePlayback' => '

Determines whether Amazon Lex V2 should send audio responses to the client application.

Set this field to false when the client is operating in a playback mode where audio responses are played to the user. If the client isn\'t operating in playback mode, such as a text chat application, set this to true so that Amazon Lex V2 doesn\'t wait for the prompt to finish playing on the client.

', ], ], 'BotAliasIdentifier' => [ 'base' => NULL, 'refs' => [ 'DeleteSessionRequest$botAliasId' => '

The alias identifier in use for the bot that contains the session data.

', 'DeleteSessionResponse$botAliasId' => '

The alias identifier in use for the bot that contained the session data.

', 'GetSessionRequest$botAliasId' => '

The alias identifier in use for the bot that contains the session data.

', 'PutSessionRequest$botAliasId' => '

The alias identifier of the bot that receives the session data.

', 'RecognizeTextRequest$botAliasId' => '

The alias identifier in use for the bot that processes the request.

', 'RecognizeUtteranceRequest$botAliasId' => '

The alias identifier in use for the bot that should receive the request.

', 'StartConversationRequest$botAliasId' => '

The alias identifier in use for the bot that processes the request.

', ], ], 'BotIdentifier' => [ 'base' => NULL, 'refs' => [ 'DeleteSessionRequest$botId' => '

The identifier of the bot that contains the session data.

', 'DeleteSessionResponse$botId' => '

The identifier of the bot that contained the session data.

', 'GetSessionRequest$botId' => '

The identifier of the bot that contains the session data.

', 'PutSessionRequest$botId' => '

The identifier of the bot that receives the session data.

', 'RecognizeTextRequest$botId' => '

The identifier of the bot that processes the request.

', 'RecognizeUtteranceRequest$botId' => '

The identifier of the bot that should receive the request.

', 'RecognizedBotMember$botId' => '

The identifier of the bot member that processes the request.

', 'StartConversationRequest$botId' => '

The identifier of the bot to process the request.

', ], ], 'Button' => [ 'base' => '

A button that appears on a response card show to the user.

', 'refs' => [ 'ButtonsList$member' => NULL, ], ], 'ButtonText' => [ 'base' => NULL, 'refs' => [ 'Button$text' => '

The text that is displayed on the button.

', ], ], 'ButtonValue' => [ 'base' => NULL, 'refs' => [ 'Button$value' => '

The value returned to Amazon Lex V2 when a user chooses the button.

', ], ], 'ButtonsList' => [ 'base' => NULL, 'refs' => [ 'ImageResponseCard$buttons' => '

A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.

', ], ], 'ConfidenceScore' => [ 'base' => '

Provides a score that indicates the confidence that Amazon Lex V2 has that an intent is the one that satisfies the user\'s intent.

', 'refs' => [ 'Interpretation$nluConfidence' => '

Determines the threshold where Amazon Lex V2 will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.

', ], ], 'ConfigurationEvent' => [ 'base' => '

The initial event sent from the application to Amazon Lex V2 to configure the conversation, including session and request attributes and the response content type.

', 'refs' => [ 'StartConversationRequestEventStream$ConfigurationEvent' => '

Configuration information sent from your client application to Amazon Lex V2

', ], ], 'ConfirmationState' => [ 'base' => NULL, 'refs' => [ 'Intent$confirmationState' => '

Contains information about whether fulfillment of the intent has been confirmed.

', ], ], 'ConflictException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$ConflictException' => '

Exception thrown when two clients are using the same AWS account, Amazon Lex V2 bot, and session ID.

', ], ], 'ConversationMode' => [ 'base' => NULL, 'refs' => [ 'StartConversationRequest$conversationMode' => '

The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you can send both audio and DTMF information. If the mode is TEXT you can only send text.

', ], ], 'DTMFInputEvent' => [ 'base' => '

A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.

', 'refs' => [ 'StartConversationRequestEventStream$DTMFInputEvent' => '

DTMF information sent to Amazon Lex V2 by your application. Amazon Lex V2 accumulates the DMTF information from when the user sends the first character and ends

', ], ], 'DTMFRegex' => [ 'base' => NULL, 'refs' => [ 'DTMFInputEvent$inputCharacter' => '

The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.

', ], ], 'DeleteSessionRequest' => [ 'base' => NULL, 'refs' => [], ], 'DeleteSessionResponse' => [ 'base' => NULL, 'refs' => [], ], 'DependencyFailedException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$DependencyFailedException' => NULL, ], ], 'DialogAction' => [ 'base' => '

The next action that Amazon Lex V2 should take.

', 'refs' => [ 'SessionState$dialogAction' => '

The next step that Amazon Lex V2 should take in the conversation with a user.

', ], ], 'DialogActionType' => [ 'base' => NULL, 'refs' => [ 'DialogAction$type' => '

The next action that the bot should take in its interaction with the user. The possible values are:

', ], ], 'DisconnectionEvent' => [ 'base' => '

A notification from the client that it is disconnecting from Amazon Lex V2. Sending a DisconnectionEvent event is optional, but can help identify a conversation in logs.

', 'refs' => [ 'StartConversationRequestEventStream$DisconnectionEvent' => '

Event sent from the client application to indicate to Amazon Lex V2 that the conversation is over.

', ], ], 'Double' => [ 'base' => NULL, 'refs' => [ 'ConfidenceScore$score' => '

A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user\'s intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.

', 'SentimentScore$positive' => '

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.

', 'SentimentScore$negative' => '

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.

', 'SentimentScore$neutral' => '

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.

', 'SentimentScore$mixed' => '

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.

', ], ], 'ElicitSubSlot' => [ 'base' => '

The specific constituent sub slot of the composite slot to elicit in dialog action.

', 'refs' => [ 'DialogAction$subSlotToElicit' => '

The name of the constituent sub slot of the composite slot specified in slotToElicit that should be elicited from the user.

', 'ElicitSubSlot$subSlotToElicit' => '

The field is not supported.

', ], ], 'EpochMillis' => [ 'base' => NULL, 'refs' => [ 'AudioInputEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', 'ConfigurationEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', 'DTMFInputEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', 'DisconnectionEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', 'PlaybackCompletionEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', 'TextInputEvent$clientTimestampMillis' => '

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

', ], ], 'EventId' => [ 'base' => NULL, 'refs' => [ 'AudioInputEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'AudioResponseEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', 'ConfigurationEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'DTMFInputEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'DisconnectionEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'HeartbeatEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', 'IntentResultEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', 'PlaybackCompletionEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'PlaybackInterruptionEvent$causedByEventId' => '

The identifier of the event that contained the audio, DTMF, or text that caused the interruption.

', 'PlaybackInterruptionEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', 'TextInputEvent$eventId' => '

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

', 'TextResponseEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', 'TranscriptEvent$eventId' => '

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

', ], ], 'GetSessionRequest' => [ 'base' => NULL, 'refs' => [], ], 'GetSessionResponse' => [ 'base' => NULL, 'refs' => [], ], 'HeartbeatEvent' => [ 'base' => '

Event that Amazon Lex V2 sends to indicate that the stream is still open between the client application and Amazon Lex V2

', 'refs' => [ 'StartConversationResponseEventStream$HeartbeatEvent' => NULL, ], ], 'ImageResponseCard' => [ 'base' => '

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.

', 'refs' => [ 'Message$imageResponseCard' => NULL, ], ], 'InputMode' => [ 'base' => NULL, 'refs' => [ 'IntentResultEvent$inputMode' => '

Indicates whether the input to the operation was text or speech.

', ], ], 'Intent' => [ 'base' => '

The current intent that Amazon Lex V2 is attempting to fulfill.

', 'refs' => [ 'Interpretation$intent' => '

A list of intents that might satisfy the user\'s utterance. The intents are ordered by the confidence score.

', 'SessionState$intent' => '

The active intent that Amazon Lex V2 is processing.

', ], ], 'IntentResultEvent' => [ 'base' => '

Contains the current state of the conversation between the client application and Amazon Lex V2.

', 'refs' => [ 'StartConversationResponseEventStream$IntentResultEvent' => '

Event sent from Amazon Lex V2 to the client application containing the current state of the conversation between the user and Amazon Lex V2.

', ], ], 'IntentState' => [ 'base' => NULL, 'refs' => [ 'Intent$state' => '

Contains fulfillment information for the intent.

', ], ], 'InternalServerException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$InternalServerException' => '

An error occurred with Amazon Lex V2.

', ], ], 'Interpretation' => [ 'base' => '

An intent that Amazon Lex V2 determined might satisfy the user\'s utterance. The intents are ordered by the confidence score.

', 'refs' => [ 'Interpretations$member' => NULL, ], ], 'Interpretations' => [ 'base' => NULL, 'refs' => [ 'GetSessionResponse$interpretations' => '

A list of intents that Amazon Lex V2 determined might satisfy the user\'s utterance.

Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

', 'IntentResultEvent$interpretations' => '

A list of intents that Amazon Lex V2 determined might satisfy the user\'s utterance.

Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

', 'RecognizeTextResponse$interpretations' => '

A list of intents that Amazon Lex V2 determined might satisfy the user\'s utterance.

Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

', ], ], 'LocaleId' => [ 'base' => NULL, 'refs' => [ 'DeleteSessionRequest$localeId' => '

The locale where the session is in use.

', 'DeleteSessionResponse$localeId' => '

The locale where the session was used.

', 'GetSessionRequest$localeId' => '

The locale where the session is in use.

', 'PutSessionRequest$localeId' => '

The locale where the session is in use.

', 'RecognizeTextRequest$localeId' => '

The locale where the session is in use.

', 'RecognizeUtteranceRequest$localeId' => '

The locale where the session is in use.

', 'StartConversationRequest$localeId' => '

The locale where the session is in use.

', ], ], 'Message' => [ 'base' => '

Container for text that is returned to the customer..

', 'refs' => [ 'Messages$member' => NULL, ], ], 'MessageContentType' => [ 'base' => NULL, 'refs' => [ 'Message$contentType' => '

Indicates the type of response.

', ], ], 'Messages' => [ 'base' => NULL, 'refs' => [ 'ConfigurationEvent$welcomeMessages' => '

A list of messages to send to the user.

If you set the welcomeMessage field, you must also set the DialogAction structure\'s type field.

', 'GetSessionResponse$messages' => '

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

', 'PutSessionRequest$messages' => '

A list of messages to send to the user. Messages are sent in the order that they are defined in the list.

', 'RecognizeTextResponse$messages' => '

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

', 'TextResponseEvent$messages' => '

A list of messages to send to the user. Messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.

', ], ], 'Name' => [ 'base' => NULL, 'refs' => [ 'RecognizedBotMember$botName' => '

The name of the bot member that processes the request.

', 'SlotHintsIntentMap$key' => NULL, 'SlotHintsSlotMap$key' => NULL, ], ], 'NonEmptyString' => [ 'base' => NULL, 'refs' => [ 'AudioInputEvent$contentType' => '

The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit mono-channel little-endian format. The value of the field should be:

audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false

', 'AudioResponseEvent$contentType' => '

The encoding of the audio chunk. This is the same as the encoding configure in the contentType field of the ConfigurationEvent.

', 'ConfigurationEvent$responseContentType' => '

The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value.

', 'DialogAction$slotToElicit' => '

The name of the slot that should be elicited from the user.

', 'ElicitSubSlot$name' => '

The name of the slot that should be elicited from the user.

', 'GetSessionResponse$sessionId' => '

The identifier of the returned session.

', 'Intent$name' => '

The name of the intent.

', 'PutSessionRequest$responseContentType' => '

The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter.

', 'PutSessionResponse$contentType' => '

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

', 'PutSessionResponse$messages' => '

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.

', 'PutSessionResponse$sessionState' => '

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.

', 'PutSessionResponse$requestAttributes' => '

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.

', 'RecognizeUtteranceRequest$requestContentType' => '

Indicates the format for audio input or that the content is text. The header must start with one of the following prefixes:

', 'RecognizeUtteranceRequest$responseContentType' => '

The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value.

', 'RecognizeUtteranceResponse$inputMode' => '

Indicates whether the input mode to the operation was text or speech.

', 'RecognizeUtteranceResponse$contentType' => '

Content type as specified in the responseContentType in the request.

', 'RecognizeUtteranceResponse$messages' => '

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

The messages field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

', 'RecognizeUtteranceResponse$interpretations' => '

A list of intents that Amazon Lex V2 determined might satisfy the user\'s utterance.

Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

The interpretations field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

', 'RecognizeUtteranceResponse$sessionState' => '

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 might be.

The sessionState field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

', 'RecognizeUtteranceResponse$requestAttributes' => '

The attributes sent in the request.

The requestAttributes field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents.

', 'RecognizeUtteranceResponse$inputTranscript' => '

The text used to process the request.

If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex V2 is correctly processing the audio that you send.

The inputTranscript field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

', 'RecognizeUtteranceResponse$recognizedBotMember' => '

The bot member that recognized the utterance.

', 'SessionState$originatingRequestId' => '

A unique identifier for a specific request.

', 'Slots$key' => NULL, 'StringList$member' => NULL, 'StringMap$key' => NULL, 'Value$originalValue' => '

The text of the utterance from the user that was entered for the slot.

', 'Value$interpretedValue' => '

The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.

', ], ], 'ParameterName' => [ 'base' => NULL, 'refs' => [ 'ActiveContextParametersMap$key' => NULL, ], ], 'PlaybackCompletionEvent' => [ 'base' => '

Event sent from the client application to Amazon Lex V2 to indicate that playback of audio is complete and that Amazon Lex V2 should start processing the user\'s input.

', 'refs' => [ 'StartConversationRequestEventStream$PlaybackCompletionEvent' => '

Event sent from the client application to Amazon Lex V2 to indicate that it has finished playing audio and that Amazon Lex V2 should start listening for user input.

', ], ], 'PlaybackInterruptionEvent' => [ 'base' => '

Event sent from Amazon Lex V2 to indicate to the client application should stop playback of audio. For example, if the client is playing a prompt that asks for the user\'s telephone number, the user might start to say the phone number before the prompt is complete. Amazon Lex V2 sends this event to the client application to indicate that the user is responding and that Amazon Lex V2 is processing their input.

', 'refs' => [ 'StartConversationResponseEventStream$PlaybackInterruptionEvent' => NULL, ], ], 'PlaybackInterruptionReason' => [ 'base' => NULL, 'refs' => [ 'PlaybackInterruptionEvent$eventReason' => '

Indicates the type of user input that Amazon Lex V2 detected.

', ], ], 'PutSessionRequest' => [ 'base' => NULL, 'refs' => [], ], 'PutSessionResponse' => [ 'base' => NULL, 'refs' => [], ], 'RecognizeTextRequest' => [ 'base' => NULL, 'refs' => [], ], 'RecognizeTextResponse' => [ 'base' => NULL, 'refs' => [], ], 'RecognizeUtteranceRequest' => [ 'base' => NULL, 'refs' => [], ], 'RecognizeUtteranceResponse' => [ 'base' => NULL, 'refs' => [], ], 'RecognizedBotMember' => [ 'base' => '

The bot member that processes the request.

', 'refs' => [ 'IntentResultEvent$recognizedBotMember' => '

The bot member that is processing the intent.

', 'RecognizeTextResponse$recognizedBotMember' => '

The bot member that recognized the text.

', ], ], 'ResourceNotFoundException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$ResourceNotFoundException' => '

Exception thrown if one of the input parameters points to a resource that does not exist. For example, if the bot ID specified does not exist.

', ], ], 'RuntimeHintDetails' => [ 'base' => '

Provides an array of phrases that should be given preference when resolving values for a slot.

', 'refs' => [ 'SlotHintsSlotMap$value' => NULL, ], ], 'RuntimeHintPhrase' => [ 'base' => NULL, 'refs' => [ 'RuntimeHintValue$phrase' => '

The phrase that Amazon Lex V2 should look for in the user\'s input to the bot.

', ], ], 'RuntimeHintValue' => [ 'base' => '

Provides the phrase that Amazon Lex V2 should look for in the user\'s input to the bot.

', 'refs' => [ 'RuntimeHintValuesList$member' => NULL, ], ], 'RuntimeHintValuesList' => [ 'base' => NULL, 'refs' => [ 'RuntimeHintDetails$runtimeHintValues' => '

One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

', ], ], 'RuntimeHints' => [ 'base' => '

You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.

Before you can use runtime hints with an existing bot, you must first rebuild the bot.

For more information, see Using runtime hints to improve recognition of slot values.

', 'refs' => [ 'SessionState$runtimeHints' => '

Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot.

', ], ], 'SensitiveNonEmptyString' => [ 'base' => NULL, 'refs' => [ 'RecognizeUtteranceRequest$sessionState' => '

Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user.

The sessionState field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.

', 'RecognizeUtteranceRequest$requestAttributes' => '

Request-specific information passed between the client application and Amazon Lex V2

The namespace x-amz-lex: is reserved for special attributes. Don\'t create any request attributes for prefix x-amz-lex:.

The requestAttributes field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.

', ], ], 'SentimentResponse' => [ 'base' => '

Provides information about the sentiment expressed in a user\'s response in a conversation. Sentiments are determined using Amazon Comprehend. Sentiments are only returned if they are enabled for the bot.

For more information, see Determine Sentiment in the Amazon Comprehend developer guide.

', 'refs' => [ 'Interpretation$sentimentResponse' => '

The sentiment expressed in an utterance.

When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field contains the result of the analysis.

', ], ], 'SentimentScore' => [ 'base' => '

The individual sentiment responses for the utterance.

', 'refs' => [ 'SentimentResponse$sentimentScore' => NULL, ], ], 'SentimentType' => [ 'base' => NULL, 'refs' => [ 'SentimentResponse$sentiment' => '

The overall sentiment expressed in the user\'s response. This is the sentiment most likely expressed by the user based on the analysis by Amazon Comprehend.

', ], ], 'SessionId' => [ 'base' => NULL, 'refs' => [ 'DeleteSessionRequest$sessionId' => '

The identifier of the session to delete.

', 'DeleteSessionResponse$sessionId' => '

The identifier of the deleted session.

', 'GetSessionRequest$sessionId' => '

The identifier of the session to return.

', 'IntentResultEvent$sessionId' => '

The identifier of the session in use.

', 'PutSessionRequest$sessionId' => '

The identifier of the session that receives the session data.

', 'PutSessionResponse$sessionId' => '

The identifier of the session that received the data.

', 'RecognizeTextRequest$sessionId' => '

The identifier of the user session that is having the conversation.

', 'RecognizeTextResponse$sessionId' => '

The identifier of the session in use.

', 'RecognizeUtteranceRequest$sessionId' => '

The identifier of the session in use.

', 'RecognizeUtteranceResponse$sessionId' => '

The identifier of the session in use.

', 'StartConversationRequest$sessionId' => '

The identifier of the user session that is having the conversation.

', ], ], 'SessionState' => [ 'base' => '

The state of the user\'s session with Amazon Lex V2.

', 'refs' => [ 'ConfigurationEvent$sessionState' => NULL, 'GetSessionResponse$sessionState' => '

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

You can use this to determine the progress of the conversation and what the next action might be.

', 'IntentResultEvent$sessionState' => NULL, 'PutSessionRequest$sessionState' => '

Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user.

', 'RecognizeTextRequest$sessionState' => '

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

', 'RecognizeTextResponse$sessionState' => '

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.

', ], ], 'Shape' => [ 'base' => NULL, 'refs' => [ 'Slot$shape' => '

When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

', ], ], 'Slot' => [ 'base' => '

A value that Amazon Lex V2 uses to fulfill an intent.

', 'refs' => [ 'Slots$value' => NULL, 'Values$member' => NULL, ], ], 'SlotHintsIntentMap' => [ 'base' => NULL, 'refs' => [ 'RuntimeHints$slotHints' => '

A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.

The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy.

The intent name and slot name must exist.

', ], ], 'SlotHintsSlotMap' => [ 'base' => NULL, 'refs' => [ 'RuntimeHintDetails$subSlotHints' => '

A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.

', 'SlotHintsIntentMap$value' => NULL, ], ], 'Slots' => [ 'base' => NULL, 'refs' => [ 'Intent$slots' => '

A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.

', 'Slot$subSlots' => '

The constituent sub slots of a composite slot.

', ], ], 'StartConversationRequest' => [ 'base' => NULL, 'refs' => [], ], 'StartConversationRequestEventStream' => [ 'base' => '

Represents a stream of events between your application and Amazon Lex V2.

', 'refs' => [ 'StartConversationRequest$requestEventStream' => '

Represents the stream of events to Amazon Lex V2 from your application. The events are encoded as HTTP/2 data frames.

', ], ], 'StartConversationResponse' => [ 'base' => NULL, 'refs' => [], ], 'StartConversationResponseEventStream' => [ 'base' => '

Represents a stream of events between Amazon Lex V2 and your application.

', 'refs' => [ 'StartConversationResponse$responseEventStream' => '

Represents the stream of events from Amazon Lex V2 to your application. The events are encoded as HTTP/2 data frames.

', ], ], 'String' => [ 'base' => NULL, 'refs' => [ 'AccessDeniedException$message' => NULL, 'BadGatewayException$message' => NULL, 'ConflictException$message' => NULL, 'DependencyFailedException$message' => NULL, 'InternalServerException$message' => NULL, 'ResourceNotFoundException$message' => NULL, 'StringMap$value' => NULL, 'ThrottlingException$message' => NULL, 'TranscriptEvent$transcript' => '

The transcript of the voice audio from the user.

', 'ValidationException$message' => NULL, ], ], 'StringList' => [ 'base' => NULL, 'refs' => [ 'Value$resolvedValues' => '

A list of additional values that have been recognized for the slot.

', ], ], 'StringMap' => [ 'base' => NULL, 'refs' => [ 'ConfigurationEvent$requestAttributes' => '

Request-specific information passed between the client application and Amazon Lex V2.

The namespace x-amz-lex: is reserved for special attributes. Don\'t create any request attributes for prefix x-amz-lex:.

', 'IntentResultEvent$requestAttributes' => '

The attributes sent in the request.

', 'PutSessionRequest$requestAttributes' => '

Request-specific information passed between Amazon Lex V2 and the client application.

The namespace x-amz-lex: is reserved for special attributes. Don\'t create any request attributes with the prefix x-amz-lex:.

', 'RecognizeTextRequest$requestAttributes' => '

Request-specific information passed between the client application and Amazon Lex V2

The namespace x-amz-lex: is reserved for special attributes. Don\'t create any request attributes with the prefix x-amz-lex:.

', 'RecognizeTextResponse$requestAttributes' => '

The attributes sent in the request.

', 'SessionState$sessionAttributes' => '

Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex V2 and a client application.

', ], ], 'StyleType' => [ 'base' => NULL, 'refs' => [ 'DialogAction$slotElicitationStyle' => '

Configures the slot to use spell-by-letter or spell-by-word style. When you use a style on a slot, users can spell out their input to make it clear to your bot.

For more information, see Using spelling to enter slot values .

', ], ], 'Text' => [ 'base' => NULL, 'refs' => [ 'ActiveContextParametersMap$value' => NULL, 'Message$content' => '

The text of the message.

', 'RecognizeTextRequest$text' => '

The text that the user entered. Amazon Lex V2 interprets this text.

', 'TextInputEvent$text' => '

The text from the user. Amazon Lex V2 processes this as a complete statement.

', ], ], 'TextInputEvent' => [ 'base' => '

The event sent from your client application to Amazon Lex V2 with text input from the user.

', 'refs' => [ 'StartConversationRequestEventStream$TextInputEvent' => '

Text sent from your client application to Amazon Lex V2. Each TextInputEvent is processed individually.

', ], ], 'TextResponseEvent' => [ 'base' => '

The event sent from Amazon Lex V2 to your application with text to present to the user.

', 'refs' => [ 'StartConversationResponseEventStream$TextResponseEvent' => NULL, ], ], 'ThrottlingException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$ThrottlingException' => '

Exception thrown when your application exceeds the maximum number of concurrent requests.

', ], ], 'TranscriptEvent' => [ 'base' => '

Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.

', 'refs' => [ 'StartConversationResponseEventStream$TranscriptEvent' => NULL, ], ], 'ValidationException' => [ 'base' => '

', 'refs' => [ 'StartConversationResponseEventStream$ValidationException' => '

Exception thrown when one or more parameters could not be validated. The message contains the name of the field that isn\'t valid.

', ], ], 'Value' => [ 'base' => '

The value of a slot.

', 'refs' => [ 'Slot$value' => '

The current value of the slot.

', ], ], 'Values' => [ 'base' => NULL, 'refs' => [ 'Slot$values' => '

A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

', ], ], ],];