@datafire/amazonaws_models_lex
Client library for Amazon Lex Model Building Service
Installation and Usage
npm install --save @datafire/amazonaws_models_lex
let amazonaws_models_lex = require('@datafire/amazonaws_models_lex').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_models_lex.GetBots({}).then(data => {
console.log(data);
});
Description
Amazon Lex Build-Time Actions
Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications.
Actions
GetBots
amazonaws_models_lex.GetBots({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output GetBotsResponse
GetBotAliases
amazonaws_models_lex.GetBotAliases({
"botName": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- botName required
string
- maxResults
Output
- output GetBotAliasesResponse
GetBotChannelAssociations
amazonaws_models_lex.GetBotChannelAssociations({
"botName": "",
"aliasName": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- botName required
string
- aliasName required
string
- maxResults
Output
DeleteBotChannelAssociation
amazonaws_models_lex.DeleteBotChannelAssociation({
"name": "",
"botName": "",
"aliasName": ""
}, context)
Input
- input
object
- name required
string
- botName required
string
- aliasName required
string
- name required
Output
Output schema unknown
GetBotChannelAssociation
amazonaws_models_lex.GetBotChannelAssociation({
"name": "",
"botName": "",
"aliasName": ""
}, context)
Input
- input
object
- name required
string
- botName required
string
- aliasName required
string
- name required
Output
DeleteBotAlias
amazonaws_models_lex.DeleteBotAlias({
"name": "",
"botName": ""
}, context)
Input
- input
object
- name required
string
- botName required
string
- name required
Output
Output schema unknown
GetBotAlias
amazonaws_models_lex.GetBotAlias({
"name": "",
"botName": ""
}, context)
Input
- input
object
- name required
string
- botName required
string
- name required
Output
- output GetBotAliasResponse
PutBotAlias
amazonaws_models_lex.PutBotAlias({
"name": "",
"botName": "",
"botVersion": ""
}, context)
Input
- input
object
- name required
string
- botName required
string
- botVersion required Version
- checksum String
- description Description
- name required
Output
- output PutBotAliasResponse
DeleteUtterances
amazonaws_models_lex.DeleteUtterances({
"botName": "",
"userId": ""
}, context)
Input
- input
object
- botName required
string
- userId required
string
- botName required
Output
Output schema unknown
GetUtterancesView
amazonaws_models_lex.GetUtterancesView({
"botname": ""
}, context)
Input
- input
object
- botname required
string
- botname required
Output
- output GetUtterancesViewResponse
DeleteBot
amazonaws_models_lex.DeleteBot({
"name": ""
}, context)
Input
- input
object
- name required
string
- name required
Output
Output schema unknown
CreateBotVersion
amazonaws_models_lex.CreateBotVersion({
"name": ""
}, context)
Input
- input
object
- name required
string
- checksum String
- name required
Output
Output schema unknown
GetBotVersions
amazonaws_models_lex.GetBotVersions({
"name": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- name required
string
- maxResults
Output
- output GetBotVersionsResponse
PutBot
amazonaws_models_lex.PutBot({
"name": "",
"locale": "",
"childDirected": true
}, context)
Input
- input
object
- name required
string
- abortStatement Statement
- checksum String
- childDirected required Boolean
- clarificationPrompt Prompt
- createVersion Boolean
- description Description
- idleSessionTTLInSeconds SessionTTL
- intents IntentList
- locale required Locale
- processBehavior ProcessBehavior
- voiceId String
- name required
Output
- output PutBotResponse
GetBot
amazonaws_models_lex.GetBot({
"name": "",
"versionoralias": ""
}, context)
Input
- input
object
- name required
string
- versionoralias required
string
- name required
Output
- output GetBotResponse
DeleteBotVersion
amazonaws_models_lex.DeleteBotVersion({
"name": "",
"version": ""
}, context)
Input
- input
object
- name required
string
- version required
string
- name required
Output
Output schema unknown
GetBuiltinIntents
amazonaws_models_lex.GetBuiltinIntents({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output GetBuiltinIntentsResponse
GetBuiltinIntent
amazonaws_models_lex.GetBuiltinIntent({
"signature": ""
}, context)
Input
- input
object
- signature required
string
- signature required
Output
- output GetBuiltinIntentResponse
GetBuiltinSlotTypes
amazonaws_models_lex.GetBuiltinSlotTypes({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output GetBuiltinSlotTypesResponse
GetExport
amazonaws_models_lex.GetExport({}, context)
Input
- input
object
Output
- output GetExportResponse
StartImport
amazonaws_models_lex.StartImport({
"payload": "",
"resourceType": "",
"mergeStrategy": ""
}, context)
Input
- input
object
- mergeStrategy required MergeStrategy
- payload required Blob
- resourceType required ResourceType
Output
Output schema unknown
GetImport
amazonaws_models_lex.GetImport({
"importId": ""
}, context)
Input
- input
object
- importId required
string
- importId required
Output
- output GetImportResponse
GetIntents
amazonaws_models_lex.GetIntents({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output GetIntentsResponse
DeleteIntent
amazonaws_models_lex.DeleteIntent({
"name": ""
}, context)
Input
- input
object
- name required
string
- name required
Output
Output schema unknown
CreateIntentVersion
amazonaws_models_lex.CreateIntentVersion({
"name": ""
}, context)
Input
- input
object
- name required
string
- checksum String
- name required
Output
Output schema unknown
GetIntentVersions
amazonaws_models_lex.GetIntentVersions({
"name": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- name required
string
- maxResults
Output
- output GetIntentVersionsResponse
PutIntent
amazonaws_models_lex.PutIntent({
"name": ""
}, context)
Input
- input
object
- name required
string
- checksum String
- conclusionStatement Statement
- confirmationPrompt Prompt
- createVersion Boolean
- description Description
- dialogCodeHook CodeHook
- followUpPrompt FollowUpPrompt
- fulfillmentActivity FulfillmentActivity
- parentIntentSignature BuiltinIntentSignature
- rejectionStatement Statement
- sampleUtterances IntentUtteranceList
- slots SlotList
- name required
Output
- output PutIntentResponse
DeleteIntentVersion
amazonaws_models_lex.DeleteIntentVersion({
"name": "",
"version": ""
}, context)
Input
- input
object
- name required
string
- version required
string
- name required
Output
Output schema unknown
GetIntent
amazonaws_models_lex.GetIntent({
"name": "",
"version": ""
}, context)
Input
- input
object
- name required
string
- version required
string
- name required
Output
- output GetIntentResponse
GetSlotTypes
amazonaws_models_lex.GetSlotTypes({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output GetSlotTypesResponse
DeleteSlotType
amazonaws_models_lex.DeleteSlotType({
"name": ""
}, context)
Input
- input
object
- name required
string
- name required
Output
Output schema unknown
DeleteSlotTypeVersion
amazonaws_models_lex.DeleteSlotTypeVersion({
"name": "",
"version": ""
}, context)
Input
- input
object
- name required
string
- version required
string
- name required
Output
Output schema unknown
CreateSlotTypeVersion
amazonaws_models_lex.CreateSlotTypeVersion({
"name": ""
}, context)
Input
- input
object
- name required
string
- checksum String
- name required
Output
Output schema unknown
GetSlotTypeVersions
amazonaws_models_lex.GetSlotTypeVersions({
"name": ""
}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- name required
string
- maxResults
Output
- output GetSlotTypeVersionsResponse
PutSlotType
amazonaws_models_lex.PutSlotType({
"name": ""
}, context)
Input
- input
object
- name required
string
- checksum String
- createVersion Boolean
- description Description
- enumerationValues EnumerationValues
- valueSelectionStrategy SlotValueSelectionStrategy
- name required
Output
- output PutSlotTypeResponse
GetSlotType
amazonaws_models_lex.GetSlotType({
"name": "",
"version": ""
}, context)
Input
- input
object
- name required
string
- version required
string
- name required
Output
- output GetSlotTypeResponse
Definitions
AliasName
- AliasName
string
AliasNameOrListAll
- AliasNameOrListAll
string
BadRequestException
- BadRequestException
object
: The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.- message String
Blob
- Blob
string
Boolean
- Boolean
boolean
BotAliasMetadata
- BotAliasMetadata
object
: Provides information about a bot alias.
BotAliasMetadataList
- BotAliasMetadataList
array
- items BotAliasMetadata
BotChannelAssociation
- BotChannelAssociation
object
: Represents an association between an Amazon Lex bot and an external messaging platform.- botAlias AliasName
- botConfiguration ChannelConfigurationMap
- botName BotName
- createdDate Timestamp
- description Description
- failureReason String
- name BotChannelName
- status ChannelStatus
- type ChannelType
BotChannelAssociationList
- BotChannelAssociationList
array
- items BotChannelAssociation
BotChannelName
- BotChannelName
string
BotMetadata
- BotMetadata
object
: Provides information about a bot. .
BotMetadataList
- BotMetadataList
array
- items BotMetadata
BotName
- BotName
string
BotVersions
- BotVersions
array
- items Version
BuiltinIntentMetadata
- BuiltinIntentMetadata
object
: Provides metadata for a built-in intent.- signature BuiltinIntentSignature
- supportedLocales LocaleList
BuiltinIntentMetadataList
- BuiltinIntentMetadataList
array
- items BuiltinIntentMetadata
BuiltinIntentSignature
- BuiltinIntentSignature
string
BuiltinIntentSlot
- BuiltinIntentSlot
object
: Provides information about a slot used in a built-in intent.- name String
BuiltinIntentSlotList
- BuiltinIntentSlotList
array
- items BuiltinIntentSlot
BuiltinSlotTypeMetadata
- BuiltinSlotTypeMetadata
object
: Provides information about a built in slot type.- signature BuiltinSlotTypeSignature
- supportedLocales LocaleList
BuiltinSlotTypeMetadataList
- BuiltinSlotTypeMetadataList
array
- items BuiltinSlotTypeMetadata
BuiltinSlotTypeSignature
- BuiltinSlotTypeSignature
string
ChannelConfigurationMap
ChannelStatus
- ChannelStatus
string
(values: IN_PROGRESS, CREATED, FAILED)
ChannelType
- ChannelType
string
(values: Facebook, Slack, Twilio-Sms, Kik)
CodeHook
- CodeHook
object
: Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..- messageVersion required MessageVersion
- uri required LambdaARN
ConflictException
- ConflictException
object
: There was a conflict processing the request. Try your request again.- message String
ContentString
- ContentString
string
ContentType
- ContentType
string
(values: PlainText, SSML, CustomPayload)
Count
- Count
integer
CreateBotVersionRequest
- CreateBotVersionRequest
object
- checksum String
CreateBotVersionResponse
- CreateBotVersionResponse
object
- abortStatement Statement
- checksum String
- childDirected Boolean
- clarificationPrompt Prompt
- createdDate Timestamp
- description Description
- failureReason String
- idleSessionTTLInSeconds SessionTTL
- intents IntentList
- lastUpdatedDate Timestamp
- locale Locale
- name BotName
- status Status
- version Version
- voiceId String
CreateIntentVersionRequest
- CreateIntentVersionRequest
object
- checksum String
CreateIntentVersionResponse
- CreateIntentVersionResponse
object
- checksum String
- conclusionStatement Statement
- confirmationPrompt Prompt
- createdDate Timestamp
- description Description
- dialogCodeHook CodeHook
- followUpPrompt FollowUpPrompt
- fulfillmentActivity FulfillmentActivity
- lastUpdatedDate Timestamp
- name IntentName
- parentIntentSignature BuiltinIntentSignature
- rejectionStatement Statement
- sampleUtterances IntentUtteranceList
- slots SlotList
- version Version
CreateSlotTypeVersionRequest
- CreateSlotTypeVersionRequest
object
- checksum String
CreateSlotTypeVersionResponse
- CreateSlotTypeVersionResponse
object
- checksum String
- createdDate Timestamp
- description Description
- enumerationValues EnumerationValues
- lastUpdatedDate Timestamp
- name SlotTypeName
- valueSelectionStrategy SlotValueSelectionStrategy
- version Version
CustomOrBuiltinSlotTypeName
- CustomOrBuiltinSlotTypeName
string
DeleteBotAliasRequest
- DeleteBotAliasRequest
object
DeleteBotChannelAssociationRequest
- DeleteBotChannelAssociationRequest
object
DeleteBotRequest
- DeleteBotRequest
object
DeleteBotVersionRequest
- DeleteBotVersionRequest
object
DeleteIntentRequest
- DeleteIntentRequest
object
DeleteIntentVersionRequest
- DeleteIntentVersionRequest
object
DeleteSlotTypeRequest
- DeleteSlotTypeRequest
object
DeleteSlotTypeVersionRequest
- DeleteSlotTypeVersionRequest
object
DeleteUtterancesRequest
- DeleteUtterancesRequest
object
Description
- Description
string
EnumerationValue
- EnumerationValue
object
:Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.
For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values
-
thick
-
thin
-
stuffed
- synonyms SynonymList
- value required Value
-
EnumerationValues
- EnumerationValues
array
- items EnumerationValue
ExportStatus
- ExportStatus
string
(values: IN_PROGRESS, READY, FAILED)
ExportType
- ExportType
string
(values: ALEXA_SKILLS_KIT, LEX)
FollowUpPrompt
- FollowUpPrompt
object
: A prompt for additional activity after an intent is fulfilled. For example, after theOrderPizza
intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.
FulfillmentActivity
- FulfillmentActivity
object
:Describes how the intent is fulfilled after the user provides all of the information required for the intent. You can provide a Lambda function to process the intent, or you can return the intent information to the client application. We recommend that you use a Lambda function so that the relevant logic lives in the Cloud and limit the client-side code primarily to presentation. If you need to update the logic, you only update the Lambda function; you don't need to upgrade your client application.
Consider the following examples:
-
In a pizza ordering application, after the user provides all of the information for placing an order, you use a Lambda function to place an order with a pizzeria.
-
In a gaming application, when a user says "pick up a rock," this information must go back to the client application so that it can perform the operation and update the graphics. In this case, you want Amazon Lex to return the intent data to the client.
- codeHook CodeHook
- type required FulfillmentActivityType
-
FulfillmentActivityType
- FulfillmentActivityType
string
(values: ReturnIntent, CodeHook)
GetBotAliasRequest
- GetBotAliasRequest
object
GetBotAliasResponse
- GetBotAliasResponse
object
GetBotAliasesRequest
- GetBotAliasesRequest
object
GetBotAliasesResponse
- GetBotAliasesResponse
object
- BotAliases BotAliasMetadataList
- nextToken NextToken
GetBotChannelAssociationRequest
- GetBotChannelAssociationRequest
object
GetBotChannelAssociationResponse
- GetBotChannelAssociationResponse
object
- botAlias AliasName
- botConfiguration ChannelConfigurationMap
- botName BotName
- createdDate Timestamp
- description Description
- failureReason String
- name BotChannelName
- status ChannelStatus
- type ChannelType
GetBotChannelAssociationsRequest
- GetBotChannelAssociationsRequest
object
GetBotChannelAssociationsResponse
- GetBotChannelAssociationsResponse
object
- botChannelAssociations BotChannelAssociationList
- nextToken NextToken
GetBotRequest
- GetBotRequest
object
GetBotResponse
- GetBotResponse
object
- abortStatement Statement
- checksum String
- childDirected Boolean
- clarificationPrompt Prompt
- createdDate Timestamp
- description Description
- failureReason String
- idleSessionTTLInSeconds SessionTTL
- intents IntentList
- lastUpdatedDate Timestamp
- locale Locale
- name BotName
- status Status
- version Version
- voiceId String
GetBotVersionsRequest
- GetBotVersionsRequest
object
GetBotVersionsResponse
- GetBotVersionsResponse
object
- bots BotMetadataList
- nextToken NextToken
GetBotsRequest
- GetBotsRequest
object
GetBotsResponse
- GetBotsResponse
object
- bots BotMetadataList
- nextToken NextToken
GetBuiltinIntentRequest
- GetBuiltinIntentRequest
object
GetBuiltinIntentResponse
- GetBuiltinIntentResponse
object
- signature BuiltinIntentSignature
- slots BuiltinIntentSlotList
- supportedLocales LocaleList
GetBuiltinIntentsRequest
- GetBuiltinIntentsRequest
object
GetBuiltinIntentsResponse
- GetBuiltinIntentsResponse
object
- intents BuiltinIntentMetadataList
- nextToken NextToken
GetBuiltinSlotTypesRequest
- GetBuiltinSlotTypesRequest
object
GetBuiltinSlotTypesResponse
- GetBuiltinSlotTypesResponse
object
- nextToken NextToken
- slotTypes BuiltinSlotTypeMetadataList
GetExportRequest
- GetExportRequest
object
GetExportResponse
- GetExportResponse
object
- exportStatus ExportStatus
- exportType ExportType
- failureReason String
- name Name
- resourceType ResourceType
- url String
- version NumericalVersion
GetImportRequest
- GetImportRequest
object
GetImportResponse
- GetImportResponse
object
- createdDate Timestamp
- failureReason StringList
- importId String
- importStatus ImportStatus
- mergeStrategy MergeStrategy
- name Name
- resourceType ResourceType
GetIntentRequest
- GetIntentRequest
object
GetIntentResponse
- GetIntentResponse
object
- checksum String
- conclusionStatement Statement
- confirmationPrompt Prompt
- createdDate Timestamp
- description Description
- dialogCodeHook CodeHook
- followUpPrompt FollowUpPrompt
- fulfillmentActivity FulfillmentActivity
- lastUpdatedDate Timestamp
- name IntentName
- parentIntentSignature BuiltinIntentSignature
- rejectionStatement Statement
- sampleUtterances IntentUtteranceList
- slots SlotList
- version Version
GetIntentVersionsRequest
- GetIntentVersionsRequest
object
GetIntentVersionsResponse
- GetIntentVersionsResponse
object
- intents IntentMetadataList
- nextToken NextToken
GetIntentsRequest
- GetIntentsRequest
object
GetIntentsResponse
- GetIntentsResponse
object
- intents IntentMetadataList
- nextToken NextToken
GetSlotTypeRequest
- GetSlotTypeRequest
object
GetSlotTypeResponse
- GetSlotTypeResponse
object
- checksum String
- createdDate Timestamp
- description Description
- enumerationValues EnumerationValues
- lastUpdatedDate Timestamp
- name SlotTypeName
- valueSelectionStrategy SlotValueSelectionStrategy
- version Version
GetSlotTypeVersionsRequest
- GetSlotTypeVersionsRequest
object
GetSlotTypeVersionsResponse
- GetSlotTypeVersionsResponse
object
- nextToken NextToken
- slotTypes SlotTypeMetadataList
GetSlotTypesRequest
- GetSlotTypesRequest
object
GetSlotTypesResponse
- GetSlotTypesResponse
object
- nextToken NextToken
- slotTypes SlotTypeMetadataList
GetUtterancesViewRequest
- GetUtterancesViewRequest
object
GetUtterancesViewResponse
- GetUtterancesViewResponse
object
- botName BotName
- utterances ListsOfUtterances
GroupNumber
- GroupNumber
integer
ImportStatus
- ImportStatus
string
(values: IN_PROGRESS, COMPLETE, FAILED)
Intent
- Intent
object
: Identifies the specific version of an intent.- intentName required IntentName
- intentVersion required Version
IntentList
- IntentList
array
- items Intent
IntentMetadata
- IntentMetadata
object
: Provides information about an intent.- createdDate Timestamp
- description Description
- lastUpdatedDate Timestamp
- name IntentName
- version Version
IntentMetadataList
- IntentMetadataList
array
- items IntentMetadata
IntentName
- IntentName
string
IntentUtteranceList
- IntentUtteranceList
array
- items Utterance
InternalFailureException
- InternalFailureException
object
: An internal Amazon Lex error occurred. Try your request again.- message String
LambdaARN
- LambdaARN
string
LimitExceededException
- LimitExceededException
object
: The request exceeded a limit. Try your request again.- message String
ListOfUtterance
- ListOfUtterance
array
- items UtteranceData
ListsOfUtterances
- ListsOfUtterances
array
- items UtteranceList
Locale
- Locale
string
(values: en-US, en-GB, de-DE)
LocaleList
- LocaleList
array
- items Locale
MaxResults
- MaxResults
integer
MergeStrategy
- MergeStrategy
string
(values: OVERWRITE_LATEST, FAIL_ON_CONFLICT)
Message
- Message
object
: The message object that provides the message text and its type.- content required ContentString
- contentType required ContentType
- groupNumber GroupNumber
MessageList
- MessageList
array
- items Message
MessageVersion
- MessageVersion
string
Name
- Name
string
NextToken
- NextToken
string
NotFoundException
- NotFoundException
object
: The resource specified in the request was not found. Check the resource and try again.- message String
NumericalVersion
- NumericalVersion
string
PreconditionFailedException
- PreconditionFailedException
object
: The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.- message String
Priority
- Priority
integer
ProcessBehavior
- ProcessBehavior
string
(values: SAVE, BUILD)
Prompt
- Prompt
object
: Obtains information from the user. To define a prompt, provide one or more messages and specify the number of attempts to get information from the user. If you provide more than one message, Amazon Lex chooses one of the messages to use to prompt the user. For more information, see how-it-works.- maxAttempts required PromptMaxAttempts
- messages required MessageList
- responseCard ResponseCard
PromptMaxAttempts
- PromptMaxAttempts
integer
PutBotAliasRequest
- PutBotAliasRequest
object
- botVersion required Version
- checksum String
- description Description
PutBotAliasResponse
- PutBotAliasResponse
object
PutBotRequest
- PutBotRequest
object
- abortStatement Statement
- checksum String
- childDirected required Boolean
- clarificationPrompt Prompt
- createVersion Boolean
- description Description
- idleSessionTTLInSeconds SessionTTL
- intents IntentList
- locale required Locale
- processBehavior ProcessBehavior
- voiceId String
PutBotResponse
- PutBotResponse
object
- abortStatement Statement
- checksum String
- childDirected Boolean
- clarificationPrompt Prompt
- createVersion Boolean
- createdDate Timestamp
- description Description
- failureReason String
- idleSessionTTLInSeconds SessionTTL
- intents IntentList
- lastUpdatedDate Timestamp
- locale Locale
- name BotName
- status Status
- version Version
- voiceId String
PutIntentRequest
- PutIntentRequest
object
- checksum String
- conclusionStatement Statement
- confirmationPrompt Prompt
- createVersion Boolean
- description Description
- dialogCodeHook CodeHook
- followUpPrompt FollowUpPrompt
- fulfillmentActivity FulfillmentActivity
- parentIntentSignature BuiltinIntentSignature
- rejectionStatement Statement
- sampleUtterances IntentUtteranceList
- slots SlotList
PutIntentResponse
- PutIntentResponse
object
- checksum String
- conclusionStatement Statement
- confirmationPrompt Prompt
- createVersion Boolean
- createdDate Timestamp
- description Description
- dialogCodeHook CodeHook
- followUpPrompt FollowUpPrompt
- fulfillmentActivity FulfillmentActivity
- lastUpdatedDate Timestamp
- name IntentName
- parentIntentSignature BuiltinIntentSignature
- rejectionStatement Statement
- sampleUtterances IntentUtteranceList
- slots SlotList
- version Version
PutSlotTypeRequest
- PutSlotTypeRequest
object
- checksum String
- createVersion Boolean
- description Description
- enumerationValues EnumerationValues
- valueSelectionStrategy SlotValueSelectionStrategy
PutSlotTypeResponse
- PutSlotTypeResponse
object
- checksum String
- createVersion Boolean
- createdDate Timestamp
- description Description
- enumerationValues EnumerationValues
- lastUpdatedDate Timestamp
- name SlotTypeName
- valueSelectionStrategy SlotValueSelectionStrategy
- version Version
ReferenceType
- ReferenceType
string
(values: Intent, Bot, BotAlias, BotChannel)
ResourceInUseException
- ResourceInUseException
object
:The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.
The body of the exception contains a JSON object that describes the resource.
{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
"resourceReference": {
"name": string, "version": string } }
- exampleReference ResourceReference
- referenceType ReferenceType
ResourceReference
- ResourceReference
object
: Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of theResourceInUseException
exception.
ResourceType
- ResourceType
string
(values: BOT, INTENT, SLOT_TYPE)
ResponseCard
- ResponseCard
string
SessionTTL
- SessionTTL
integer
Slot
- Slot
object
: Identifies the version of a specific slot.- description Description
- name required SlotName
- priority Priority
- responseCard ResponseCard
- sampleUtterances SlotUtteranceList
- slotConstraint required SlotConstraint
- slotType CustomOrBuiltinSlotTypeName
- slotTypeVersion Version
- valueElicitationPrompt Prompt
SlotConstraint
- SlotConstraint
string
(values: Required, Optional)
SlotList
- SlotList
array
- items Slot
SlotName
- SlotName
string
SlotTypeMetadata
- SlotTypeMetadata
object
: Provides information about a slot type..- createdDate Timestamp
- description Description
- lastUpdatedDate Timestamp
- name SlotTypeName
- version Version
SlotTypeMetadataList
- SlotTypeMetadataList
array
- items SlotTypeMetadata
SlotTypeName
- SlotTypeName
string
SlotUtteranceList
- SlotUtteranceList
array
- items Utterance
SlotValueSelectionStrategy
- SlotValueSelectionStrategy
string
(values: ORIGINAL_VALUE, TOP_RESOLUTION)
StartImportRequest
- StartImportRequest
object
- mergeStrategy required MergeStrategy
- payload required Blob
- resourceType required ResourceType
StartImportResponse
- StartImportResponse
object
- createdDate Timestamp
- importId String
- importStatus ImportStatus
- mergeStrategy MergeStrategy
- name Name
- resourceType ResourceType
Statement
- Statement
object
: A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.- messages required MessageList
- responseCard ResponseCard
Status
- Status
string
(values: BUILDING, READY, FAILED, NOT_BUILT)
StatusType
- StatusType
string
(values: Detected, Missed)
String
- String
string
StringList
- StringList
array
- items String
SynonymList
- SynonymList
array
- items Value
Timestamp
- Timestamp
string
UserId
- UserId
string
Utterance
- Utterance
string
UtteranceData
- UtteranceData
object
: Provides information about a single utterance that was made to your bot.- count Count
- distinctUsers Count
- firstUtteredDate Timestamp
- lastUtteredDate Timestamp
- utteranceString UtteranceString
UtteranceList
- UtteranceList
object
: Provides a list of utterances that have been made to a specific version of your bot. The list contains a maximum of 100 utterances.- botVersion Version
- utterances ListOfUtterance
UtteranceString
- UtteranceString
string
Value
- Value
string
Version
- Version
string