awscc.lex_bot¶
Filters¶
event
reduce
value
Actions¶
delete¶
Parent base class for filters and actions.
properties:
type:
enum:
- delete
required:
- type
Permissions - lex:DeleteBot, lex:DescribeBot, lex:DeleteBotLocale, lex:DeleteIntent, lex:DeleteSlotType, lex:DeleteSlot, lex:DeleteBotVersion, lex:DeleteBotChannel, lex:DeleteBotAlias
update¶
Parent base class for filters and actions.
definitions:
AttachmentTitle:
maxLength: 250
minLength: 1
type: string
AttachmentUrl:
maxLength: 250
minLength: 1
type: string
BotArn:
maxLength: 1011
minLength: 1
pattern: ^arn:aws[a-zA-Z-]*:lex:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:bot/[0-9a-zA-Z]+$
type: string
BotLocale:
additionalProperties: false
description: A locale in the bot, which contains the intents and slot types that
the bot uses in conversations with users in the specified language and locale.
properties:
Description:
description: A description of the resource
maxLength: 200
type: string
Intents:
description: List of intents
insertionOrder: false
items:
additionalProperties: false
description: An intent represents an action that the user wants to perform.
You create a bot to support one or more related intents.
properties:
Description:
description: A description of the resource
maxLength: 200
type: string
DialogCodeHook:
additionalProperties: false
description: Settings that determine the Lambda function that Amazon
Lex uses for processing user responses.
properties:
Enabled:
type: boolean
required:
- Enabled
type: object
FulfillmentCodeHook:
additionalProperties: false
description: Settings that determine if a Lambda function should be
invoked to fulfill a specific intent.
properties:
Enabled:
type: boolean
FulfillmentUpdatesSpecification:
additionalProperties: false
description: Provides information for updating the user on the progress
of fulfilling an intent.
properties:
Active:
description: Determines whether fulfillment updates are sent
to the user. When this field is true, updates are sent.
type: boolean
StartResponse:
additionalProperties: false
description: Provides settings for a message that is sent to
the user when a fulfillment Lambda function starts running.
properties:
AllowInterrupt:
description: Determines whether the user can interrupt the
start message while it is playing.
type: boolean
DelayInSeconds:
description: The delay between when the Lambda fulfillment
function starts running and the start message is played.
If the Lambda function returns before the delay is over,
the start message isn't played.
maximum: 900
minimum: 1
type: integer
MessageGroups:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to play
to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show to
the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a
user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- DelayInSeconds
- MessageGroups
type: object
TimeoutInSeconds:
description: The length of time that the fulfillment Lambda
function should run before it times out.
maximum: 900
minimum: 1
type: integer
UpdateResponse:
additionalProperties: false
description: Provides settings for a message that is sent periodically
to the user while a fulfillment Lambda function is running.
properties:
AllowInterrupt:
description: Determines whether the user can interrupt an
update message while it is playing.
type: boolean
FrequencyInSeconds:
description: The frequency that a message is sent to the
user. When the period ends, Amazon Lex chooses a message
from the message groups and plays it to the user. If the
fulfillment Lambda returns before the first period ends,
an update message is not played to the user.
maximum: 900
minimum: 1
type: integer
MessageGroups:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to play
to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show to
the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a
user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- FrequencyInSeconds
- MessageGroups
type: object
required:
- Active
type: object
PostFulfillmentStatusSpecification:
additionalProperties: false
description: Provides information for updating the user on the progress
of fulfilling an intent.
properties:
FailureResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex uses to
respond the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a
speech prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to play
to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show to
the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a
user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
SuccessResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex uses to
respond the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a
speech prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to play
to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show to
the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a
user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
TimeoutResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex uses to
respond the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a
speech prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to play
to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show to
the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a
user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
required: []
type: object
required:
- Enabled
type: object
InputContexts:
description: The list of input contexts specified for the intent.
insertionOrder: false
items:
additionalProperties: false
description: InputContext specified for the intent.
properties:
Name:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
required:
- Name
type: object
maxItems: 5
type: array
IntentClosingSetting:
additionalProperties: false
description: Response that Amazon Lex sends to the user when the intent
is closed.
properties:
ClosingResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex uses to respond
the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a speech
prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can send
to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card
used to gather slot values from a user.
properties:
Text:
description: The text that appears on the
button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
IsActive:
type: boolean
required:
- ClosingResponse
type: object
IntentConfirmationSetting:
additionalProperties: false
description: Prompts that Amazon Lex sends to the user to confirm the
completion of an intent.
properties:
DeclinationResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex uses to respond
the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a speech
prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can send
to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card
used to gather slot values from a user.
properties:
Text:
description: The text that appears on the
button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
IsActive:
type: boolean
PromptSpecification:
additionalProperties: false
description: Prompts the user to confirm the intent.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt a speech
prompt from the bot.
type: boolean
MaxRetries:
description: The maximum number of times the bot tries to elicit
a resonse from the user using this prompt.
maximum: 5
minimum: 0
type: integer
MessageGroupsList:
description: One to 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can send
to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card
used to gather slot values from a user.
properties:
Text:
description: The text that appears on the
button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex should
send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to your
application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card
that the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be
displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from a user.
properties:
Text:
description: The text that appears on
the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon
Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines the
prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
- MaxRetries
type: object
required:
- PromptSpecification
- DeclinationResponse
type: object
KendraConfiguration:
additionalProperties: false
description: Configuration for searching a Amazon Kendra index specified
for the intent.
properties:
KendraIndex:
description: The Amazon Resource Name (ARN) of the Amazon Kendra
index that you want the AMAZON.KendraSearchIntent intent to search.
maxLength: 2048
minLength: 32
pattern: ^arn:aws[a-zA-Z-]*:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index/[a-zA-Z0-9][a-zA-Z0-9_-]*$
type: string
QueryFilterString:
description: A query filter that Amazon Lex sends to Amazon Kendra
to filter the response from a query.
maxLength: 5000
minLength: 1
type: string
QueryFilterStringEnabled:
description: Determines whether the AMAZON.KendraSearchIntent intent
uses a custom query string to query the Amazon Kendra index.
type: boolean
required:
- KendraIndex
type: object
Name:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
OutputContexts:
description: A list of contexts that the intent activates when it is
fulfilled.
insertionOrder: false
items:
additionalProperties: false
description: A session context that is activated when an intent is
fulfilled.
properties:
Name:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
TimeToLiveInSeconds:
description: The amount of time, in seconds, that the output context
should remain active.
maximum: 86400
minimum: 5
type: integer
TurnsToLive:
description: The number of conversation turns that the output
context should remain active.
maximum: 20
minimum: 1
type: integer
required:
- Name
- TimeToLiveInSeconds
- TurnsToLive
type: object
maxItems: 10
type: array
ParentIntentSignature:
description: A unique identifier for the built-in intent to base this
intent on.
type: string
SampleUtterances:
description: An array of sample utterances
insertionOrder: false
items:
additionalProperties: false
description: A sample utterance that invokes an intent or respond
to a slot elicitation prompt.
properties:
Utterance:
description: The sample utterance that Amazon Lex uses to build
its machine-learning model to recognize intents/slots.
type: string
required:
- Utterance
type: object
type: array
SlotPriorities:
description: List for slot priorities
insertionOrder: false
items:
additionalProperties: false
description: The priority that Amazon Lex should use when eliciting
slot values from a user.
properties:
Priority:
description: The priority that a slot should be elicited.
maximum: 100
minimum: 0
type: integer
SlotName:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
required:
- SlotName
- Priority
type: object
type: array
Slots:
description: List of slots
insertionOrder: false
items:
additionalProperties: false
description: A slot is a variable needed to fulfill an intent, where
an intent can require zero or more slots.
properties:
Description:
description: A description of the resource
maxLength: 200
type: string
MultipleValuesSetting:
additionalProperties: false
description: Indicates whether a slot can return multiple values.
properties:
AllowMultipleValues:
type: boolean
required: []
type: object
Name:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
ObfuscationSetting:
additionalProperties: false
description: Determines whether Amazon Lex obscures slot values
in conversation logs.
properties:
ObfuscationSettingType:
description: Value that determines whether Amazon Lex obscures
slot values in conversation logs. The default is to obscure
the values.
enum:
- None
- DefaultObfuscation
type: string
required:
- ObfuscationSettingType
type: object
SlotTypeName:
description: The slot type name that is used in the slot. Allows
for custom and built-in slot type names
type: string
ValueElicitationSetting:
additionalProperties: false
description: Settings that you can use for eliciting a slot value.
properties:
DefaultValueSpecification:
additionalProperties: false
description: A list of values that Amazon Lex should use as
the default value for a slot.
properties:
DefaultValueList:
description: A list of slot default values
insertionOrder: false
items:
additionalProperties: false
description: The default value to use when a user doesn't
provide a value for a slot.
properties:
DefaultValue:
description: The default value to use when a user
doesn't provide a value for a slot.
maxLength: 202
minLength: 1
type: string
required:
- DefaultValue
type: object
maxItems: 10
type: array
required:
- DefaultValueList
type: object
PromptSpecification:
additionalProperties: false
description: Prompts the user to confirm the intent.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt
a speech prompt from the bot.
type: boolean
MaxRetries:
description: The maximum number of times the bot tries
to elicit a resonse from the user using this prompt.
maximum: 5
minimum: 0
type: integer
MessageGroupsList:
description: One to 5 message groups that contain update
messages. Amazon Lex chooses one of the messages to
play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can
send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined
by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to
Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup
Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex
should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent to
your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that should
be displayed on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response
card used to gather slot values from
a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user chooses
this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the
user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
- MaxRetries
type: object
SampleUtterances:
description: An array of sample utterances
insertionOrder: false
items:
additionalProperties: false
description: A sample utterance that invokes an intent or
respond to a slot elicitation prompt.
properties:
Utterance:
description: The sample utterance that Amazon Lex uses
to build its machine-learning model to recognize intents/slots.
type: string
required:
- Utterance
type: object
type: array
SlotConstraint:
enum:
- Required
- Optional
type: string
WaitAndContinueSpecification:
additionalProperties: false
description: The prompts that Amazon Lex uses while a bot
is waiting for customer input.
properties:
ContinueResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex
uses to respond the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt
a speech prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain
update messages. Amazon Lex chooses one of the messages
to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex
can send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a
response card used to gather slot
values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the
user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a
response card that the client application
can show to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on
a response card used to gather
slot values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
IsActive:
description: Specifies whether the bot will wait for a
user to respond.
type: boolean
StillWaitingResponse:
additionalProperties: false
description: StillWaitingResponseSpecification.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt
a speech prompt from the bot.
type: boolean
FrequencyInSeconds:
description: How often a message should be sent to
the user in seconds.
maximum: 300
minimum: 1
type: integer
MessageGroupsList:
description: One to 5 message groups that contain
update messages. Amazon Lex chooses one of the messages
to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex
can send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a
response card used to gather slot
values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the
user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a
response card that the client application
can show to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on
a response card used to gather
slot values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
TimeoutInSeconds:
description: If Amazon Lex waits longer than this
length of time in seconds for a response, it will
stop sending messages.
maximum: 900
minimum: 1
type: integer
required:
- MessageGroupsList
- FrequencyInSeconds
- TimeoutInSeconds
type: object
WaitingResponse:
additionalProperties: false
description: A list of message groups that Amazon Lex
uses to respond the user input.
properties:
AllowInterrupt:
description: Indicates whether the user can interrupt
a speech prompt from the bot.
type: boolean
MessageGroupsList:
description: One to 5 message groups that contain
update messages. Amazon Lex chooses one of the messages
to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex
can send to the user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response
card that the client application can show
to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a
response card used to gather slot
values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the
user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon
Lex should send to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format
defined by the client application.
properties:
Value:
description: The string that is sent
to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a
response card that the client application
can show to the user.
properties:
Buttons:
description: A list of buttons that
should be displayed on the response
card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on
a response card used to gather
slot values from a user.
properties:
Text:
description: The text that appears
on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned
to Amazon Lex when the user
chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to
the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis
Markup Language (SSML).
properties:
Value:
description: The SSML text that defines
the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- MessageGroupsList
type: object
required:
- WaitingResponse
- ContinueResponse
type: object
required:
- SlotConstraint
type: object
required:
- Name
- SlotTypeName
- ValueElicitationSetting
type: object
maxItems: 100
type: array
uniqueItems: true
required:
- Name
type: object
maxItems: 1000
type: array
uniqueItems: true
LocaleId:
description: The identifier of the language and locale that the bot will be
used in.
type: string
NluConfidenceThreshold:
description: The specified confidence threshold for inserting the AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent intents.
maximum: 1
minimum: 0
type: number
SlotTypes:
description: List of SlotTypes
insertionOrder: false
items:
additionalProperties: false
description: A custom, extended built-in or a grammar slot type.
properties:
Description:
description: A description of the resource
maxLength: 200
type: string
ExternalSourceSetting:
additionalProperties: false
description: Provides information about the external source of the slot
type's definition.
properties:
GrammarSlotTypeSetting:
additionalProperties: false
description: Settings required for a slot type based on a grammar
that you provide.
properties:
Source:
additionalProperties: false
description: Describes the Amazon S3 bucket name and location
for the grammar that is the source for the slot type.
properties:
KmsKeyArn:
description: The Amazon KMS key required to decrypt the
contents of the grammar, if any.
maxLength: 2048
minLength: 20
pattern: ^arn:[\w\-]+:kms:[\w\-]+:[\d]{12}:(?:key\/[\w\-]+|alias\/[a-zA-Z0-9:\/_\-]{1,256})$
type: string
S3BucketName:
maxLength: 63
minLength: 3
pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
type: string
S3ObjectKey:
maxLength: 1024
minLength: 1
pattern: '[\.\-\!\*\_\''\(\)a-zA-Z0-9][\.\-\!\*\_\''\(\)\/a-zA-Z0-9]*$'
type: string
required:
- S3BucketName
- S3ObjectKey
type: object
type: object
type: object
Name:
description: Unique name for a resource.
maxLength: 100
minLength: 1
pattern: ^([0-9a-zA-Z][_-]?)+$
type: string
ParentSlotTypeSignature:
description: The built-in slot type used as a parent of this slot type.
type: string
SlotTypeValues:
description: A List of slot type values
insertionOrder: false
items:
additionalProperties: false
description: Value that the slot type can take.
properties:
SampleValue:
additionalProperties: false
description: Defines one of the values for a slot type.
properties:
Value:
description: The value that can be used for a slot type.
maxLength: 140
minLength: 1
type: string
required:
- Value
type: object
Synonyms:
description: Additional values related to the slot type entry.
insertionOrder: false
items:
additionalProperties: false
description: Defines one of the values for a slot type.
properties:
Value:
description: The value that can be used for a slot type.
maxLength: 140
minLength: 1
type: string
required:
- Value
type: object
maxItems: 10000
type: array
required:
- SampleValue
type: object
maxItems: 10000
type: array
ValueSelectionSetting:
additionalProperties: false
description: Contains settings used by Amazon Lex to select a slot value.
properties:
RegexFilter:
additionalProperties: false
description: A regular expression used to validate the value of
a slot.
properties:
Pattern:
description: Regex pattern
maxLength: 300
minLength: 1
type: string
required:
- Pattern
type: object
ResolutionStrategy:
enum:
- ORIGINAL_VALUE
- TOP_RESOLUTION
type: string
required:
- ResolutionStrategy
type: object
required:
- Name
type: object
maxItems: 100
type: array
uniqueItems: true
VoiceSettings:
additionalProperties: false
description: Settings for using an Amazon Polly voice to communicate with
a user.
properties:
VoiceId:
description: The Amazon Polly voice ID that Amazon Lex uses for voice
interaction with the user.
type: string
required:
- VoiceId
type: object
required:
- LocaleId
- NluConfidenceThreshold
type: object
Button:
additionalProperties: false
description: A button to use on a response card used to gather slot values from
a user.
properties:
Text:
description: The text that appears on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon Lex when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
ConfidenceThreshold:
description: The specified confidence threshold for inserting the AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent intents.
maximum: 1
minimum: 0
type: number
ContextTimeToLiveInSeconds:
description: The amount of time, in seconds, that the output context should remain
active.
maximum: 86400
minimum: 5
type: integer
ContextTurnsToLive:
description: The number of conversation turns that the output context should remain
active.
maximum: 20
minimum: 1
type: integer
CustomPayload:
additionalProperties: false
description: A message in a custom format defined by the client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
DataPrivacy:
additionalProperties: false
description: Provides information on additional privacy protections Amazon Lex
should use with the bot's data.
properties:
ChildDirected:
description: Specify whether your use of Amazon Lex is related to application
that is directed or targeted, in whole or in part, to children under age
13 and subject to the Children's Online Privacy Protection Act (COPPA).
type: boolean
required:
- ChildDirected
type: object
Description:
description: A description of the resource
maxLength: 200
type: string
DialogCodeHookSetting:
additionalProperties: false
description: Settings that determine the Lambda function that Amazon Lex uses
for processing user responses.
properties:
Enabled:
type: boolean
required:
- Enabled
type: object
ExternalSourceSetting:
additionalProperties: false
description: Provides information about the external source of the slot type's
definition.
properties:
GrammarSlotTypeSetting:
additionalProperties: false
description: Settings required for a slot type based on a grammar that you
provide.
properties:
Source:
additionalProperties: false
description: Describes the Amazon S3 bucket name and location for the
grammar that is the source for the slot type.
properties:
KmsKeyArn:
description: The Amazon KMS key required to decrypt the contents of
the grammar, if any.
maxLength: 2048
minLength: 20
pattern: ^arn:[\w\-]+:kms:[\w\-]+:[\d]{12}:(?:key\/[\w\-]+|alias\/[a-zA-Z0-9:\/_\-]{1,256})$
type: string
S3BucketName:
maxLength: 63
minLength: 3
pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
type: string
S3ObjectKey:
maxLength: 1024
minLength: 1
pattern: '[\.\-\!\*\_\''\(\)a-zA-Z0-9][\.\-\!\*\_\''\(\)\/a-zA-Z0-9]*$'
type: string
required:
- S3BucketName
- S3ObjectKey
type: object
type: object
type: object
FulfillmentCodeHookSetting:
additionalProperties: false
description: Settings that determine if a Lambda function should be invoked to
fulfill a specific intent.
properties:
Enabled:
type: boolean
FulfillmentUpdatesSpecification:
additionalProperties: false
description: Provides information for updating the user on the progress of
fulfilling an intent.
properties:
Active:
description: Determines whether fulfillment updates are sent to the user.
When this field is true, updates are sent.
type: boolean
StartResponse:
additionalProperties: false
description: Provides settings for a message that is sent to the user
when a fulfillment Lambda function starts running.
properties:
AllowInterrupt:
description: Determines whether the user can interrupt the start message
while it is playing.
type: boolean
DelayInSeconds:
description: The delay between when the Lambda fulfillment function
starts running and the start message is played. If the Lambda function
returns before the delay is over, the start message isn't played.
maximum: 900
minimum: 1
type: integer
MessageGroups:
description: One to 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can send to the
user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should send
to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined by the
client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card that
the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be displayed
on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card used
to gather slot values from a user.
properties:
Text:
description: The text that appears on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon Lex
when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup Language
(SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex should send
to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined by the
client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card that
the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be displayed
on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card
used to gather slot values from a user.
properties:
Text:
description: The text that appears on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon Lex
when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup Language
(SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
maxItems: 2
type: array
required:
- Message
type: object
maxItems: 5
minItems: 1
type: array
required:
- DelayInSeconds
- MessageGroups
type: object
TimeoutInSeconds:
description: The length of time that the fulfillment Lambda function should
run before it times out.
maximum: 900
minimum: 1
type: integer
UpdateResponse:
additionalProperties: false
description: Provides settings for a message that is sent periodically
to the user while a fulfillment Lambda function is running.
properties:
AllowInterrupt:
description: Determines whether the user can interrupt an update message
while it is playing.
type: boolean
FrequencyInSeconds:
description: The frequency that a message is sent to the user. When
the period ends, Amazon Lex chooses a message from the message groups
and plays it to the user. If the fulfillment Lambda returns before
the first period ends, an update message is not played to the user.
maximum: 900
minimum: 1
type: integer
MessageGroups:
description: One to 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
insertionOrder: false
items:
additionalProperties: false
description: One or more messages that Amazon Lex can send to the
user.
properties:
Message:
additionalProperties: false
description: The primary message that Amazon Lex should send
to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined by the
client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card that
the client application can show to the user.
properties:
Buttons:
description: A list of buttons that should be displayed
on the response card.
insertionOrder: false
items:
additionalProperties: false
description: A button to use on a response card used
to gather slot values from a user.
properties:
Text:
description: The text that appears on the button.
maxLength: 50
minLength: 1
type: string
Value:
description: The value returned to Amazon Lex
when the user chooses this button.
maxLength: 50
minLength: 1
type: string
required:
- Text
- Value
type: object
maxItems: 5
type: array
ImageUrl:
maxLength: 250
minLength: 1
type: string
Subtitle:
maxLength: 250
minLength: 1
type: string
Title:
maxLength: 250
minLength: 1
type: string
required:
- Title
type: object
PlainTextMessage:
additionalProperties: false
description: A message in plain text format.
properties:
Value:
description: The message to send to the user.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
SSMLMessage:
additionalProperties: false
description: A message in Speech Synthesis Markup Language
(SSML).
properties:
Value:
description: The SSML text that defines the prompt.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
required: []
type: object
Variations:
description: Message variations to send to the user.
insertionOrder: false
items:
additionalProperties: false
description: The primary message that Amazon Lex should send
to the user.
properties:
CustomPayload:
additionalProperties: false
description: A message in a custom format defined by the
client application.
properties:
Value:
description: The string that is sent to your application.
maxLength: 1000
minLength: 1
type: string
required:
- Value
type: object
ImageResponseCard:
additionalProperties: false
description: A message that defines a response card that
the client application can show to the user.