RUNTIME.LEX.V2
DeleteSession
valid {
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetSession
valid {
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutSession
enum_ConfirmationState := [ "Confirmed", "Denied", "None" ]
enum_DialogActionType := [ "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None" ]
enum_IntentState := [ "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress" ]
enum_MessageContentType := [ "CustomPayload", "ImageResponseCard", "PlainText", "SSML" ]
enum_Shape := [ "Scalar", "List", "Composite" ]
enum_StyleType := [ "Default", "SpellByLetter", "SpellByWord" ]
valid {
input.Body.messages[_].content == STRING
input.Body.messages[_].contentType == enum_MessageContentType[_]
input.Body.messages[_].imageResponseCard.title == STRING
input.Body.messages[_].imageResponseCard.subtitle == STRING
input.Body.messages[_].imageResponseCard.imageUrl == STRING
input.Body.messages[_].imageResponseCard.buttons[_].text == STRING
input.Body.messages[_].imageResponseCard.buttons[_].value == STRING
input.Body.sessionState.dialogAction.type == enum_DialogActionType[_]
input.Body.sessionState.dialogAction.slotToElicit == STRING
input.Body.sessionState.dialogAction.slotElicitationStyle == enum_StyleType[_]
input.Body.sessionState.dialogAction.subSlotToElicit.name == STRING
input.Body.sessionState.dialogAction.subSlotToElicit.subSlotToElicit == NESTED
input.Body.sessionState.intent.name == STRING
input.Body.sessionState.intent.slots.STRING.value.originalValue == STRING
input.Body.sessionState.intent.slots.STRING.value.interpretedValue == STRING
input.Body.sessionState.intent.slots.STRING.value.resolvedValues[_] == STRING
input.Body.sessionState.intent.slots.STRING.shape == enum_Shape[_]
input.Body.sessionState.intent.slots.STRING.values[_] == NESTED
input.Body.sessionState.intent.slots.STRING.subSlots == NESTED
input.Body.sessionState.intent.state == enum_IntentState[_]
input.Body.sessionState.intent.confirmationState == enum_ConfirmationState[_]
input.Body.sessionState.activeContexts[_].name == STRING
input.Body.sessionState.activeContexts[_].timeToLive.timeToLiveInSeconds == INTEGER
input.Body.sessionState.activeContexts[_].timeToLive.turnsToLive == INTEGER
input.Body.sessionState.activeContexts[_].contextAttributes.STRING == STRING
input.Body.sessionState.sessionAttributes.STRING == STRING
input.Body.sessionState.originatingRequestId == STRING
input.Body.sessionState.runtimeHints.slotHints.STRING.STRING.runtimeHintValues[_].phrase == STRING
input.Body.sessionState.runtimeHints.slotHints.STRING.STRING.subSlotHints == NESTED
input.Body.requestAttributes.STRING == STRING
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
RecognizeText
enum_ConfirmationState := [ "Confirmed", "Denied", "None" ]
enum_DialogActionType := [ "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None" ]
enum_IntentState := [ "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress" ]
enum_Shape := [ "Scalar", "List", "Composite" ]
enum_StyleType := [ "Default", "SpellByLetter", "SpellByWord" ]
valid {
input.Body.text == STRING
input.Body.sessionState.dialogAction.type == enum_DialogActionType[_]
input.Body.sessionState.dialogAction.slotToElicit == STRING
input.Body.sessionState.dialogAction.slotElicitationStyle == enum_StyleType[_]
input.Body.sessionState.dialogAction.subSlotToElicit.name == STRING
input.Body.sessionState.dialogAction.subSlotToElicit.subSlotToElicit == NESTED
input.Body.sessionState.intent.name == STRING
input.Body.sessionState.intent.slots.STRING.value.originalValue == STRING
input.Body.sessionState.intent.slots.STRING.value.interpretedValue == STRING
input.Body.sessionState.intent.slots.STRING.value.resolvedValues[_] == STRING
input.Body.sessionState.intent.slots.STRING.shape == enum_Shape[_]
input.Body.sessionState.intent.slots.STRING.values[_] == NESTED
input.Body.sessionState.intent.slots.STRING.subSlots == NESTED
input.Body.sessionState.intent.state == enum_IntentState[_]
input.Body.sessionState.intent.confirmationState == enum_ConfirmationState[_]
input.Body.sessionState.activeContexts[_].name == STRING
input.Body.sessionState.activeContexts[_].timeToLive.timeToLiveInSeconds == INTEGER
input.Body.sessionState.activeContexts[_].timeToLive.turnsToLive == INTEGER
input.Body.sessionState.activeContexts[_].contextAttributes.STRING == STRING
input.Body.sessionState.sessionAttributes.STRING == STRING
input.Body.sessionState.originatingRequestId == STRING
input.Body.sessionState.runtimeHints.slotHints.STRING.STRING.runtimeHintValues[_].phrase == STRING
input.Body.sessionState.runtimeHints.slotHints.STRING.STRING.subSlotHints == NESTED
input.Body.requestAttributes.STRING == STRING
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
RecognizeUtterance
valid {
input.Body.inputStream == BLOB
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
StartConversation
enum_ConfirmationState := [ "Confirmed", "Denied", "None" ]
enum_ConversationMode := [ "AUDIO", "TEXT" ]
enum_DialogActionType := [ "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None" ]
enum_IntentState := [ "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress" ]
enum_MessageContentType := [ "CustomPayload", "ImageResponseCard", "PlainText", "SSML" ]
enum_Shape := [ "Scalar", "List", "Composite" ]
enum_StyleType := [ "Default", "SpellByLetter", "SpellByWord" ]
valid {
input.Body.requestEventStream.ConfigurationEvent.requestAttributes.STRING == STRING
input.Body.requestEventStream.ConfigurationEvent.responseContentType == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.dialogAction.type == enum_DialogActionType[_]
input.Body.requestEventStream.ConfigurationEvent.sessionState.dialogAction.slotToElicit == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.dialogAction.slotElicitationStyle == enum_StyleType[_]
input.Body.requestEventStream.ConfigurationEvent.sessionState.dialogAction.subSlotToElicit.name == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.dialogAction.subSlotToElicit.subSlotToElicit == NESTED
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.name == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.value.originalValue == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.value.interpretedValue == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.value.resolvedValues[_] == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.shape == enum_Shape[_]
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.values[_] == NESTED
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.slots.STRING.subSlots == NESTED
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.state == enum_IntentState[_]
input.Body.requestEventStream.ConfigurationEvent.sessionState.intent.confirmationState == enum_ConfirmationState[_]
input.Body.requestEventStream.ConfigurationEvent.sessionState.activeContexts[_].name == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.activeContexts[_].timeToLive.timeToLiveInSeconds == INTEGER
input.Body.requestEventStream.ConfigurationEvent.sessionState.activeContexts[_].timeToLive.turnsToLive == INTEGER
input.Body.requestEventStream.ConfigurationEvent.sessionState.activeContexts[_].contextAttributes.STRING == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.sessionAttributes.STRING == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.originatingRequestId == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.runtimeHints.slotHints.STRING.STRING.runtimeHintValues[_].phrase == STRING
input.Body.requestEventStream.ConfigurationEvent.sessionState.runtimeHints.slotHints.STRING.STRING.subSlotHints == NESTED
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].content == STRING
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].contentType == enum_MessageContentType[_]
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].imageResponseCard.title == STRING
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].imageResponseCard.subtitle == STRING
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].imageResponseCard.imageUrl == STRING
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].imageResponseCard.buttons[_].text == STRING
input.Body.requestEventStream.ConfigurationEvent.welcomeMessages[_].imageResponseCard.buttons[_].value == STRING
input.Body.requestEventStream.ConfigurationEvent.disablePlayback == BOOLEAN
input.Body.requestEventStream.ConfigurationEvent.eventId == STRING
input.Body.requestEventStream.ConfigurationEvent.clientTimestampMillis == LONG
input.Body.requestEventStream.AudioInputEvent.audioChunk == BLOB
input.Body.requestEventStream.AudioInputEvent.contentType == STRING
input.Body.requestEventStream.AudioInputEvent.eventId == STRING
input.Body.requestEventStream.AudioInputEvent.clientTimestampMillis == LONG
input.Body.requestEventStream.DTMFInputEvent.inputCharacter == STRING
input.Body.requestEventStream.DTMFInputEvent.eventId == STRING
input.Body.requestEventStream.DTMFInputEvent.clientTimestampMillis == LONG
input.Body.requestEventStream.TextInputEvent.text == STRING
input.Body.requestEventStream.TextInputEvent.eventId == STRING
input.Body.requestEventStream.TextInputEvent.clientTimestampMillis == LONG
input.Body.requestEventStream.PlaybackCompletionEvent.eventId == STRING
input.Body.requestEventStream.PlaybackCompletionEvent.clientTimestampMillis == LONG
input.Body.requestEventStream.DisconnectionEvent.eventId == STRING
input.Body.requestEventStream.DisconnectionEvent.clientTimestampMillis == LONG
input.ReqMap.botId == STRING
input.ReqMap.botAliasId == STRING
input.ReqMap.localeId == STRING
input.ReqMap.sessionId == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
Updated 17 days ago