{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.lexmodelbuildingservice#AWSDeepSenseModelBuildingService": {
"type": "service",
"version": "2017-04-19",
"operations": [
{
"target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteBot"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteBotAlias"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociation"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteIntent"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotType"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersion"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#DeleteUtterances"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBot"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBotAlias"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBotAliases"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociation"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociations"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBots"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBotVersions"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntent"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntents"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypes"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetExport"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetImport"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetIntent"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetIntents"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetIntentVersions"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetSlotType"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypes"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersions"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesView"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResource"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#PutBot"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#PutBotAlias"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#PutIntent"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#PutSlotType"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#StartImport"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#TagResource"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#UntagResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Lex Model Building Service",
"arnNamespace": "lex",
"cloudFormationName": "LexModelBuildingService",
"cloudTrailEventSource": "lexmodelbuildingservice.amazonaws.com",
"endpointPrefix": "models.lex"
},
"aws.auth#sigv4": {
"name": "lex"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "
Amazon Lex is an AWS service for building conversational voice and text\n interfaces. Use these actions to create, update, and delete conversational\n bots for new and existing client applications.
", "smithy.api#title": "Amazon Lex Model Building Service" } }, "com.amazonaws.lexmodelbuildingservice#AliasName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^(-|^([A-Za-z]_?)+$)$" } }, "com.amazonaws.lexmodelbuildingservice#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.lexmodelbuildingservice#BadRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "The request is not well formed. For example, a value is invalid or\n a required field is missing. Check the field values, and try\n again.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.lexmodelbuildingservice#Blob": { "type": "blob" }, "com.amazonaws.lexmodelbuildingservice#Boolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "The name of the bot alias.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot alias.
" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the Amazon Lex bot to which the alias points.
" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot to which the alias points.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was updated. When you create a\n resource, the creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was created.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the bot alias.
" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "Settings that determine how Amazon Lex uses conversation logs for the\n alias.
" } } }, "traits": { "smithy.api#documentation": "Provides information about a bot alias.
" } }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelAssociation": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "The name of the association between the bot and the channel.\n
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A text description of the association you are creating.
" } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.
" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the Amazon Lex bot to which this association is being made.
\nCurrently, Amazon Lex supports associations with Facebook and Slack,\n and Twilio.
\n\nThe date that the association between the Amazon Lex bot and the channel\n was created.
" } }, "type": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", "traits": { "smithy.api#documentation": "Specifies the type of association by indicating the type of channel\n being established between the Amazon Lex bot and the external messaging\n platform.
" } }, "botConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { "smithy.api#documentation": "Provides information necessary to communicate with the messaging\n platform.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", "traits": { "smithy.api#documentation": "The status of the bot channel.
\n\n CREATED
- The channel has been created and is\n ready for use.
\n IN_PROGRESS
- Channel creation is in\n progress.
\n FAILED
- There was an error creating the channel.\n For information about the reason for the failure, see the\n failureReason
field.
If status
is FAILED
, Amazon Lex provides the\n reason that it failed to create the association.
Represents an association between an Amazon Lex bot and an external\n messaging platform.
" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelAssociationList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelAssociation" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#BotMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "The status of the bot.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot was updated. When you create a bot, the\n creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot. For a new bot, the version is always\n $LATEST
.
Provides information about a bot. .
" } }, "com.amazonaws.lexmodelbuildingservice#BotMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BotName": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 50 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#BotVersions": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Version" }, "traits": { "smithy.api#length": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadata": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "A unique identifier for the built-in intent. To find the signature\n for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.
" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "A list of identifiers for the locales that the intent\n supports.
" } } }, "traits": { "smithy.api#documentation": "Provides metadata for a built-in intent.
" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlot": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "A list of the slots defined for the intent.
" } } }, "traits": { "smithy.api#documentation": "Provides information about a slot used in a built-in\n intent.
" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlot" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadata": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeSignature", "traits": { "smithy.api#documentation": "A unique identifier for the built-in slot type. To find the\n signature for a slot type, see Slot Type Reference in the Alexa Skills\n Kit.
" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "A list of target locales for the slot.
" } } }, "traits": { "smithy.api#documentation": "Provides information about a built in slot type.
" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeSignature": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap": { "type": "map", "key": { "target": "com.amazonaws.lexmodelbuildingservice#String" }, "value": { "target": "com.amazonaws.lexmodelbuildingservice#String" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#sensitive": {} } }, "com.amazonaws.lexmodelbuildingservice#ChannelStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "CREATED", "name": "CREATED" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.lexmodelbuildingservice#ChannelType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Facebook", "name": "FACEBOOK" }, { "value": "Slack", "name": "SLACK" }, { "value": "Twilio-Sms", "name": "TWILIO_SMS" }, { "value": "Kik", "name": "KIK" } ] } }, "com.amazonaws.lexmodelbuildingservice#CodeHook": { "type": "structure", "members": { "uri": { "target": "com.amazonaws.lexmodelbuildingservice#LambdaARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda function.
", "smithy.api#required": {} } }, "messageVersion": { "target": "com.amazonaws.lexmodelbuildingservice#MessageVersion", "traits": { "smithy.api#documentation": "The version of the request-response that you want Amazon Lex to use to\n invoke your Lambda function. For more information, see using-lambda.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies a Lambda function that verifies requests to a bot or\n fulfills the user's request to a bot..
" } }, "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold": { "type": "double", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 } } }, "com.amazonaws.lexmodelbuildingservice#ConflictException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "There was a conflict processing the request. Try your request\n again.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.lexmodelbuildingservice#ContentString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1000 } } }, "com.amazonaws.lexmodelbuildingservice#ContentType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PlainText", "name": "PLAIN_TEXT" }, { "value": "SSML", "name": "SSML" }, { "value": "CustomPayload", "name": "CUSTOM_PAYLOAD" } ] } }, "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 } } }, "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 } } }, "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest": { "type": "structure", "members": { "logSettings": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsRequestList", "traits": { "smithy.api#documentation": "The settings for your conversation logs. You can log the conversation\n text, conversation audio, or both.
", "smithy.api#required": {} } }, "iamRoleArn": { "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role with permission to write\n to your CloudWatch Logs for text logs and your S3 bucket for audio logs.\n If audio encryption is enabled, this role also provides access permission\n for the AWS KMS key used for encrypting audio logs. For more information,\n see Creating an\n IAM Role and Policy for Conversation Logs.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Provides the settings needed for conversation logs.
" } }, "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse": { "type": "structure", "members": { "logSettings": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsResponseList", "traits": { "smithy.api#documentation": "The settings for your conversation logs. You can log text, audio, or\n both.
" } }, "iamRoleArn": { "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the IAM role used to write your logs\n to CloudWatch Logs or an S3 bucket.
" } } }, "traits": { "smithy.api#documentation": "Contains information about conversation log settings.
" } }, "com.amazonaws.lexmodelbuildingservice#Count": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersionRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersionResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "Creates a new version of the bot based on the $LATEST
\n version. If the $LATEST
version of this resource hasn't\n changed since you created the last version, Amazon Lex doesn't create a new\n version. It returns the last created version.
You can update only the $LATEST
version of the bot.\n You can't update the numbered versions that you create with the\n CreateBotVersion
operation.
When you create the first version of a bot, Amazon Lex sets the version\n to 1. Subsequent versions increment by 1. For more information, see versioning-intro.
\n This operation requires permission for the\n lex:CreateBotVersion
action.
The name of the bot that you want to create a new version of. The\n name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Identifies a specific revision of the $LATEST
version\n of the bot. If you specify a checksum and the $LATEST
version\n of the bot has a different checksum, a\n PreconditionFailedException
exception is returned and Amazon Lex\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
The name of the bot.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot.
" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "An array of Intent
objects. For more information, see\n PutBot.
The message that Amazon Lex uses when it doesn't understand the user's\n request. For more information, see PutBot.
" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "The message that Amazon Lex uses to cancel a conversation. For more\n information, see PutBot.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": " When you send a request to create or update a bot, Amazon Lex sets the\n status
response element to BUILDING
. After\n Amazon Lex builds the bot, it sets status
to READY
.\n If Amazon Lex can't build the bot, it sets status
to\n FAILED
. Amazon Lex returns the reason for the failure in the\n failureReason
response element.
If status
is FAILED
, Amazon Lex provides the\n reason that it failed to build the bot.
The date when the $LATEST
version of this bot was\n updated.
The date when the bot version was created.
" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.
" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The Amazon Polly voice ID that Amazon Lex uses for voice interactions\n with the user.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum identifying the version of the bot that was\n created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot.
" } }, "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { "smithy.api#documentation": "Specifies the target locale for the bot.
" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true
or\n false
in the childDirected
field. By\n specifying true
in the childDirected
field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false
in the childDirected
field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected
field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n
" } }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "Indicates whether the bot uses accuracy improvements.\n true
indicates that the bot is using the improvements,\n otherwise, false
.
Indicates whether utterances entered by the user should be sent to\n Amazon Comprehend for sentiment analysis.
" } } } }, "com.amazonaws.lexmodelbuildingservice#CreateIntentVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "Creates a new version of an intent based on the\n $LATEST
version of the intent. If the $LATEST
\n version of this intent hasn't changed since you last updated it, Amazon Lex\n doesn't create a new version. It returns the last version you\n created.
You can update only the $LATEST
version of the\n intent. You can't update the numbered versions that you create with the\n CreateIntentVersion
operation.
When you create a version of an intent, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.
\nThis operation requires permissions to perform the\n lex:CreateIntentVersion
action.
The name of the intent that you want to create a new version of.\n The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the $LATEST
version of the intent that\n should be used to create the new version. If you specify a checksum and\n the $LATEST
version of the intent has a different checksum,\n Amazon Lex returns a PreconditionFailedException
exception and\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
The name of the intent.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the intent.
" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "An array of slot types that defines the information required to\n fulfill the intent.
" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "An array of sample utterances configured for the intent.
" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "If defined, the prompt that Amazon Lex uses to confirm the user's\n intent before fulfilling it.
" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "If the user answers \"no\" to the question defined in\n confirmationPrompt
, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.
If defined, Amazon Lex uses this prompt to solicit additional user\n activity after the intent is fulfilled.
" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "After the Lambda function specified in the\n fulfillmentActivity
field fulfills the intent, Amazon Lex\n conveys this statement to the user.
If defined, Amazon Lex invokes this Lambda function for each user\n input.
" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "Describes how the intent is fulfilled.
" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "A unique identifier for a built-in intent.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was updated.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version number assigned to the new version of the\n intent.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the intent version created.
" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "Configuration information, if any, for connecting an Amazon Kendra\n index with the AMAZON.KendraSearchIntent
intent.
An array of InputContext
objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
Creates a new version of a slot type based on the\n $LATEST
version of the specified slot type. If the\n $LATEST
version of this resource has not changed since the\n last version that you created, Amazon Lex doesn't create a new version. It\n returns the last version that you created.
You can update only the $LATEST
version of a slot\n type. You can't update the numbered versions that you create with the\n CreateSlotTypeVersion
operation.
When you create a version of a slot type, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.
\n\nThis operation requires permissions for the\n lex:CreateSlotTypeVersion
action.
The name of the slot type that you want to create a new version\n for. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum for the $LATEST
version of the slot type that\n you want to publish. If you specify a checksum and the\n $LATEST
version of the slot type has a different checksum,\n Amazon Lex returns a PreconditionFailedException
exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
The name of the slot type.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot type.
" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "A list of EnumerationValue
objects that defines the\n values that the slot type can take.
The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the slot type was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version assigned to the new slot type version.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the $LATEST
version of the slot\n type.
The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see PutSlotType.
" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "The built-in slot type used a the parent of the slot type.
" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "Configuration information that extends the parent built-in slot\n type.
" } } } }, "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^((AMAZON\\.)_?|[A-Za-z]_?)+" } }, "com.amazonaws.lexmodelbuildingservice#DeleteBot": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "Deletes all versions of the bot, including the $LATEST
\n version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot
\n operation doesn't immediately remove the bot schema. Instead, it is marked\n for deletion and removed later.
Amazon Lex stores utterances indefinitely for improving the ability of\n your bot to respond to user inputs. These utterances are not removed when\n the bot is deleted. To remove the utterances, use the DeleteUtterances operation.
\nIf a bot has an alias, you can't delete it. Instead, the\n DeleteBot
operation returns a\n ResourceInUseException
exception that includes a reference\n to the alias that refers to the bot. To remove the reference to the bot,\n delete the alias. If you get the same exception again, delete the\n referring alias until the DeleteBot
operation is\n successful.
This operation requires permissions for the\n lex:DeleteBot
action.
Deletes an alias for the specified bot.
\nYou can't delete an alias that is used in the association between a\n bot and a messaging channel. If an alias is used in a channel association,\n the DeleteBot
operation returns a\n ResourceInUseException
exception that includes a reference\n to the channel association that refers to the bot. You can remove the\n reference to the alias by deleting the channel association. If you get the\n same exception again, delete the referring association until the\n DeleteBotAlias
operation is successful.
The name of the alias to delete. The name is case sensitive.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot that the alias points to.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociation": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Deletes the association between an Amazon Lex bot and a messaging\n platform.
\nThis operation requires permission for the\n lex:DeleteBotChannelAssociation
action.
The name of the association. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the Amazon Lex bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "An alias that points to the specific version of the Amazon Lex bot to\n which this association is being made.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "Deletes a specific version of a bot. To delete all versions of a\n bot, use the DeleteBot operation.
\nThis operation requires permissions for the\n lex:DeleteBotVersion
action.
The name of the bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "The version of the bot to delete. You cannot delete the\n $LATEST
version of the bot. To delete the\n $LATEST
version, use the DeleteBot\n operation.
Deletes all versions of the intent, including the\n $LATEST
version. To delete a specific version of the\n intent, use the DeleteIntentVersion operation.
You can delete a version of an intent only if it is not\n referenced. To delete an intent that is referred to in one or more bots\n (see how-it-works), you must remove those references\n first.
\n If you get the ResourceInUseException
exception, it\n provides an example reference that shows where the intent is referenced.\n To remove the reference to the intent, either update the bot or delete\n it. If you get the same exception when you attempt to delete the intent\n again, repeat until the intent has no references and the call to\n DeleteIntent
is successful.
This operation requires permission for the\n lex:DeleteIntent
action.
The name of the intent. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "Deletes a specific version of an intent. To delete all versions of\n a intent, use the DeleteIntent operation.
\nThis operation requires permissions for the\n lex:DeleteIntentVersion
action.
The name of the intent.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "The version of the intent to delete. You cannot delete the\n $LATEST
version of the intent. To delete the\n $LATEST
version, use the DeleteIntent\n operation.
Deletes all versions of the slot type, including the\n $LATEST
version. To delete a specific version of the slot\n type, use the DeleteSlotTypeVersion operation.
You can delete a version of a slot type only if it is not\n referenced. To delete a slot type that is referred to in one or more\n intents, you must remove those references first.
\n If you get the ResourceInUseException
exception,\n the exception provides an example reference that shows the intent where\n the slot type is referenced. To remove the reference to the slot type,\n either update the intent or delete it. If you get the same exception\n when you attempt to delete the slot type again, repeat until the slot\n type has no references and the DeleteSlotType
call is\n successful.
This operation requires permission for the\n lex:DeleteSlotType
action.
The name of the slot type. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "Deletes a specific version of a slot type. To delete all versions\n of a slot type, use the DeleteSlotType operation.
\nThis operation requires permissions for the\n lex:DeleteSlotTypeVersion
action.
The name of the slot type.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "The version of the slot type to delete. You cannot delete the\n $LATEST
version of the slot type. To delete the\n $LATEST
version, use the DeleteSlotType\n operation.
Deletes stored utterances.
\nAmazon Lex stores the utterances that users send to your bot. Utterances\n are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinitely for use in improving the\n ability of your bot to respond to user input.
\nUse the DeleteUtterances
operation to manually delete\n stored utterances for a specific user. When you use the\n DeleteUtterances
operation, utterances stored for improving\n your bot's ability to respond to user input are deleted immediately.\n Utterances stored for use with the GetUtterancesView
\n operation are deleted after 15 days.
This operation requires permissions for the\n lex:DeleteUtterances
action.
The name of the bot that stored the utterances.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "userId": { "target": "com.amazonaws.lexmodelbuildingservice#UserId", "traits": { "smithy.api#documentation": "The unique identifier for the user that made the utterances. This\n is the user ID that was sent in the PostContent or PostText operation request that contained the\n utterance.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#Destination": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CLOUDWATCH_LOGS", "name": "CLOUDWATCH_LOGS" }, { "value": "S3", "name": "S3" } ] } }, "com.amazonaws.lexmodelbuildingservice#EnumerationValue": { "type": "structure", "members": { "value": { "target": "com.amazonaws.lexmodelbuildingservice#Value", "traits": { "smithy.api#documentation": "The value of the slot type.
", "smithy.api#required": {} } }, "synonyms": { "target": "com.amazonaws.lexmodelbuildingservice#SynonymList", "traits": { "smithy.api#documentation": "Additional values related to the slot type value.
" } } }, "traits": { "smithy.api#documentation": "Each slot type can have a set of values. Each enumeration value\n represents a value the slot type can take.
\nFor example, a pizza ordering bot could have a slot type that\n specifies the type of crust that the pizza should have. The slot type\n could include the values
\nthick
\nthin
\nstuffed
\nPrompts for information from the user.
", "smithy.api#required": {} } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "If the user answers \"no\" to the question defined in the\n prompt
field, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.
A prompt for additional activity after an intent is fulfilled. For\n example, after the OrderPizza
intent is fulfilled, you might\n prompt the user to find out whether the user wants to order\n drinks.
How the intent should be fulfilled, either by running a Lambda\n function or by returning the slot data to the client application.\n
", "smithy.api#required": {} } }, "codeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "A description of the Lambda function that is run to fulfill the\n intent.
" } } }, "traits": { "smithy.api#documentation": "Describes how the intent is fulfilled after the user provides all\n of the information required for the intent. You can provide a Lambda\n function to process the intent, or you can return the intent information\n to the client application. We recommend that you use a Lambda function so\n that the relevant logic lives in the Cloud and limit the client-side code\n primarily to presentation. If you need to update the logic, you only\n update the Lambda function; you don't need to upgrade your client\n application.
\n\n\nConsider the following examples:
\nIn a pizza ordering application, after the user provides all of\n the information for placing an order, you use a Lambda function to\n place an order with a pizzeria.
\nIn a gaming application, when a user says \"pick up a rock,\"\n this information must go back to the client application so that it can\n perform the operation and update the graphics. In this case, you want\n Amazon Lex to return the intent data to the client.
\nReturns metadata information for a specific bot. You must provide\n the bot name and the bot version or alias.
\n This operation requires permissions for the\n lex:GetBot
action.
Returns information about an Amazon Lex bot alias. For more information\n about aliases, see versioning-aliases.
\nThis operation requires permissions for the\n lex:GetBotAlias
action.
The name of the bot alias. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliasResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "The name of the bot alias.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot alias.
" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot that the alias points to.
" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot that the alias points to.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was updated. When you create a\n resource, the creation date and the last updated date are the\n same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was created.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the bot alias.
" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "The settings that determine how Amazon Lex uses conversation logs for the\n alias.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliases": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "Returns a list of aliases for a specified Amazon Lex bot.
\nThis operation requires permissions for the\n lex:GetBotAliases
action.
The name of the bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token for fetching the next page of aliases. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of aliases, specify the pagination\n token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of aliases to return in the response. The\n default is 50. .
", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "Substring to match in bot alias names. An alias will be returned if\n any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"
", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse": { "type": "structure", "members": { "BotAliases": { "target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList", "traits": { "smithy.api#documentation": "An array of BotAliasMetadata
objects, each describing\n a bot alias.
A pagination token for fetching next page of aliases. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of aliases, specify the pagination\n token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociation": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns information about the association between an Amazon Lex bot and\n a messaging platform.
\nThis operation requires permissions for the\n lex:GetBotChannelAssociation
action.
The name of the association between the bot and the channel. The\n name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the Amazon Lex bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "The name of the association between the bot and the\n channel.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the association between the bot and the\n channel.
" } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.
" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the Amazon Lex bot.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the association between the bot and the channel was\n created.
" } }, "type": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", "traits": { "smithy.api#documentation": "The type of the messaging platform.
" } }, "botConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { "smithy.api#documentation": "Provides information that the messaging platform needs to\n communicate with the Amazon Lex bot.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", "traits": { "smithy.api#documentation": "The status of the bot channel.
\n\n CREATED
- The channel has been created and is\n ready for use.
\n IN_PROGRESS
- Channel creation is in\n progress.
\n FAILED
- There was an error creating the channel.\n For information about the reason for the failure, see the\n failureReason
field.
If status
is FAILED
, Amazon Lex provides the\n reason that it failed to create the association.
Returns a list of all of the channels associated with the\n specified bot.
\nThe GetBotChannelAssociations
operation requires\n permissions for the lex:GetBotChannelAssociations
\n action.
The name of the Amazon Lex bot in the association.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll", "traits": { "smithy.api#documentation": "An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token for fetching the next page of associations. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of associations, specify the\n pagination token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of associations to return in the response. The\n default is 50.
", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "Substring to match in channel association names. An association\n will be returned if any part of its name matches the substring. For\n example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\" To return all bot\n channel associations, use a hyphen (\"-\") as the nameContains
\n parameter.
An array of objects, one for each association, that provides\n information about the Amazon Lex bot and its association with the channel.\n
" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token that fetches the next page of associations. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of associations, specify the\n pagination token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "versionOrAlias": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The version or alias of the bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot.
" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "An array of intent
objects. For more information, see\n PutBot.
Indicates whether the bot uses accuracy improvements.\n true
indicates that the bot is using the improvements,\n otherwise, false
.
The score that determines where Amazon Lex inserts the\n AMAZON.FallbackIntent
,\n AMAZON.KendraSearchIntent
, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent
is inserted if the confidence score\n for all intents is below this value.\n AMAZON.KendraSearchIntent
is only inserted if it is\n configured for the bot.
The message Amazon Lex uses when it doesn't understand the user's\n request. For more information, see PutBot.
" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "The message that Amazon Lex returns when the user elects to end the\n conversation without completing it. For more information, see PutBot.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "The status of the bot.
\nWhen the status is BUILDING
Amazon Lex is building the bot\n for testing and use.
If the status of the bot is READY_BASIC_TESTING
, you\n can test the bot using the exact utterances specified in the bot's\n intents. When the bot is ready for full testing or to run, the status is\n READY
.
If there was a problem with building the bot, the status is\n FAILED
and the failureReason
field explains\n why the bot did not build.
If the bot was saved but not built, the status is\n NOT_BUILT
.
If status
is FAILED
, Amazon Lex explains why\n it failed to build the bot.
The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot was created.
" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.
" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see PutBot.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the bot used to identify a specific revision of the\n bot's $LATEST
version.
The version of the bot. For a new bot, the version is always\n $LATEST
.
The target locale for the bot.
" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true
or\n false
in the childDirected
field. By\n specifying true
in the childDirected
field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false
in the childDirected
field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected
field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n
" } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "Indicates whether user utterances should be sent to Amazon Comprehend\n for sentiment analysis.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersions": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotVersionsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Gets information about all of the versions of a bot.
\nThe GetBotVersions
operation returns a\n BotMetadata
object for each version of a bot. For example,\n if a bot has three numbered versions, the GetBotVersions
\n operation returns four BotMetadata
objects in the response,\n one for each numbered version and one for the $LATEST
\n version.
The GetBotVersions
operation always returns at least\n one version, the $LATEST
version.
This operation requires permissions for the\n lex:GetBotVersions
action.
The name of the bot for which versions should be\n returned.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token for fetching the next page of bot versions. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of bot versions to return in the response. The\n default is 10.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse": { "type": "structure", "members": { "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "An array of BotMetadata
objects, one for each numbered\n version of the bot plus one for the $LATEST
\n version.
A pagination token for fetching the next page of bot versions. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBots": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns bot information as follows:
\nIf you provide the nameContains
field, the\n response includes information for the $LATEST
version of\n all bots whose name contains the specified string.
If you don't specify the nameContains
field, the\n operation returns information about the $LATEST
version\n of all of your bots.
This operation requires permission for the lex:GetBots
\n action.
A pagination token that fetches the next page of bots. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of bots, specify the pagination token\n in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of bots to return in the response that the\n request will return. The default is 10.
", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "Substring to match in bot names. A bot will be returned if any part\n of its name matches the substring. For example, \"xyz\" matches both\n \"xyzabc\" and \"abcxyz.\"
", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotsResponse": { "type": "structure", "members": { "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "An array of botMetadata
objects, with one entry for\n each bot.
If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of bots.\n
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns information about a built-in intent.
\nThis operation requires permission for the\n lex:GetBuiltinIntent
action.
The unique identifier for a built-in intent. To find the signature\n for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "The unique identifier for a built-in intent.
" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "A list of locales that the intent supports.
" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList", "traits": { "smithy.api#documentation": "An array of BuiltinIntentSlot
objects, one entry for\n each slot type in the intent.
Gets a list of built-in intents that meet the specified\n criteria.
\nThis operation requires permission for the\n lex:GetBuiltinIntents
action.
A list of locales that the intent supports.
", "smithy.api#httpQuery": "locale" } }, "signatureContains": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Substring to match in built-in intent signatures. An intent will be\n returned if any part of its signature matches the substring. For example,\n \"xyz\" matches both \"xyzabc\" and \"abcxyz.\" To find the signature for an\n intent, see Standard Built-in Intents in the Alexa Skills\n Kit.
", "smithy.api#httpQuery": "signatureContains" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token that fetches the next page of intents. If this\n API call is truncated, Amazon Lex returns a pagination token in the response.\n To fetch the next page of intents, use the pagination token in the next\n request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of intents to return in the response. The\n default is 10.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadataList", "traits": { "smithy.api#documentation": "An array of builtinIntentMetadata
objects, one for\n each intent in the response.
A pagination token that fetches the next page of intents. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of intents, specify the pagination\n token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypes": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "Gets a list of built-in slot types that meet the specified\n criteria.
\nFor a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.
\n\nThis operation requires permission for the\n lex:GetBuiltInSlotTypes
action.
A list of locales that the slot type supports.
", "smithy.api#httpQuery": "locale" } }, "signatureContains": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Substring to match in built-in slot type signatures. A slot type\n will be returned if any part of its signature matches the substring. For\n example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"
", "smithy.api#httpQuery": "signatureContains" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token that fetches the next page of slot types. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of slot types, specify the\n pagination token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of slot types to return in the response. The\n default is 10.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadataList", "traits": { "smithy.api#documentation": "An array of BuiltInSlotTypeMetadata
objects, one entry\n for each slot type returned.
If the response is truncated, the response includes a pagination\n token that you can use in your next request to fetch the next page of slot\n types.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetExport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetExportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetExportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Exports the contents of a Amazon Lex resource in a specified format.\n
", "smithy.api#http": { "method": "GET", "uri": "/exports", "code": 200 } } }, "com.amazonaws.lexmodelbuildingservice#GetExportRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "The name of the bot to export.
", "smithy.api#httpQuery": "name", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "The version of the bot to export.
", "smithy.api#httpQuery": "version", "smithy.api#required": {} } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "The type of resource to export.
", "smithy.api#httpQuery": "resourceType", "smithy.api#required": {} } }, "exportType": { "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { "smithy.api#documentation": "The format of the exported data.
", "smithy.api#httpQuery": "exportType", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetExportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "The name of the bot being exported.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "The version of the bot being exported.
" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "The type of the exported resource.
" } }, "exportType": { "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { "smithy.api#documentation": "The format of the exported data.
" } }, "exportStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ExportStatus", "traits": { "smithy.api#documentation": "The status of the export.
\n\n IN_PROGRESS
- The export is in progress.
\n READY
- The export is complete.
\n FAILED
- The export could not be\n completed.
If status
is FAILED
, Amazon Lex provides the\n reason that it failed to export the resource.
An S3 pre-signed URL that provides the location of the exported\n resource. The exported resource is a ZIP archive that contains the\n exported resource in JSON format. The structure of the archive may change.\n Your code should not rely on the archive structure.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetImport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetImportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetImportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Gets information about an import job started with the\n StartImport
operation.
The identifier of the import job information to return.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetImportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "The name given to the import job.
" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "The type of resource imported.
" } }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { "smithy.api#documentation": "The action taken when there was a conflict between an existing\n resource and a resource in the import file.
" } }, "importId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The identifier for the specific import job.
" } }, "importStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", "traits": { "smithy.api#documentation": "The status of the import job. If the status is FAILED
,\n you can get the reason for the failure from the failureReason
\n field.
A string that describes why an import job failed to\n complete.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "A timestamp for the date and time that the import job was\n created.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns information about an intent. In addition to the intent\n name, you must specify the intent version.
\n This operation requires permissions to perform the\n lex:GetIntent
action.
The name of the intent. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the intent.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "The name of the intent.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the intent.
" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "An array of intent slots configured for the intent.
" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "An array of sample utterances configured for the intent.
" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "If defined in the bot, Amazon Lex uses prompt to confirm the intent\n before fulfilling the user's request. For more information, see PutIntent.
" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "If the user answers \"no\" to the question defined in\n confirmationPrompt
, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.
If defined in the bot, Amazon Lex uses this prompt to solicit additional\n user activity after the intent is fulfilled. For more information, see\n PutIntent.
" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "After the Lambda function specified in the\n fulfillmentActivity
element fulfills the intent, Amazon Lex\n conveys this statement to the user.
If defined in the bot, Amazon Amazon Lex invokes this Lambda function\n for each user input. For more information, see PutIntent.
" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "Describes how the intent is fulfilled. For more information, see\n PutIntent.
" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "A unique identifier for a built-in intent.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was updated. When you create a resource,\n the creation date and the last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the intent.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the intent.
" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "Configuration information, if any, to connect to an Amazon Kendra\n index with the AMAZON.KendraSearchIntent
intent.
An array of InputContext
objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
Gets information about all of the versions of an intent.
\nThe GetIntentVersions
operation returns an\n IntentMetadata
object for each version of an intent. For\n example, if an intent has three numbered versions, the\n GetIntentVersions
operation returns four\n IntentMetadata
objects in the response, one for each\n numbered version and one for the $LATEST
version.
The GetIntentVersions
operation always returns at\n least one version, the $LATEST
version.
This operation requires permissions for the\n lex:GetIntentVersions
action.
The name of the intent for which versions should be\n returned.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token for fetching the next page of intent versions.\n If the response to this call is truncated, Amazon Lex returns a pagination\n token in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of intent versions to return in the response.\n The default is 10.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "An array of IntentMetadata
objects, one for each\n numbered version of the intent plus one for the $LATEST
\n version.
A pagination token for fetching the next page of intent versions.\n If the response to this call is truncated, Amazon Lex returns a pagination\n token in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntents": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns intent information as follows:
\nIf you specify the nameContains
field, returns the\n $LATEST
version of all intents that contain the\n specified string.
If you don't specify the nameContains
field,\n returns information about the $LATEST
version of all\n intents.
The operation requires permission for the\n lex:GetIntents
action.
A pagination token that fetches the next page of intents. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of intents, specify the pagination\n token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of intents to return in the response. The\n default is 10.
", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "Substring to match in intent names. An intent will be returned if\n any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"
", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "An array of Intent
objects. For more information, see\n PutBot.
If the response is truncated, the response includes a pagination\n token that you can specify in your next request to fetch the next page of\n intents.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotType": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns information about a specific version of a slot type. In\n addition to specifying the slot type name, you must specify the slot type\n version.
\nThis operation requires permissions for the\n lex:GetSlotType
action.
The name of the slot type. The name is case sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the slot type.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "The name of the slot type.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot type.
" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "A list of EnumerationValue
objects that defines the\n values that the slot type can take.
The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the slot type was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the slot type.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the $LATEST
version of the slot\n type.
The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see PutSlotType.
" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "The built-in slot type used as a parent for the slot type.
" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "Configuration information that extends the parent built-in slot\n type.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersions": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Gets information about all versions of a slot type.
\nThe GetSlotTypeVersions
operation returns a\n SlotTypeMetadata
object for each version of a slot type.\n For example, if a slot type has three numbered versions, the\n GetSlotTypeVersions
operation returns four\n SlotTypeMetadata
objects in the response, one for each\n numbered version and one for the $LATEST
version.
The GetSlotTypeVersions
operation always returns at\n least one version, the $LATEST
version.
This operation requires permissions for the\n lex:GetSlotTypeVersions
action.
The name of the slot type for which versions should be\n returned.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "A pagination token for fetching the next page of slot type\n versions. If the response to this call is truncated, Amazon Lex returns a\n pagination token in the response. To fetch the next page of versions,\n specify the pagination token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of slot type versions to return in the response.\n The default is 10.
", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList", "traits": { "smithy.api#documentation": "An array of SlotTypeMetadata
objects, one for each\n numbered version of the slot type plus one for the $LATEST
\n version.
A pagination token for fetching the next page of slot type\n versions. If the response to this call is truncated, Amazon Lex returns a\n pagination token in the response. To fetch the next page of versions,\n specify the pagination token in the next request.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypes": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Returns slot type information as follows:
\nIf you specify the nameContains
field, returns the\n $LATEST
version of all slot types that contain the\n specified string.
If you don't specify the nameContains
field,\n returns information about the $LATEST
version of all slot\n types.
The operation requires permission for the\n lex:GetSlotTypes
action.
A pagination token that fetches the next page of slot types. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch next page of slot types, specify the pagination\n token in the next request.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of slot types to return in the response. The\n default is 10.
", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "Substring to match in slot type names. A slot type will be returned\n if any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"
", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypesResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList", "traits": { "smithy.api#documentation": "An array of objects, one for each slot type, that provides\n information such as the name of the slot type, the version, and a\n description.
" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of slot\n types.
" } } } }, "com.amazonaws.lexmodelbuildingservice#GetUtterancesView": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "Use the GetUtterancesView
operation to get information\n about the utterances that your users have made to your bot. You can use\n this list to tune the utterances that your bot responds to.
For example, say that you have created a bot to order flowers.\n After your users have used your bot for a while, use the\n GetUtterancesView
operation to see the requests that they\n have made and whether they have been successful. You might find that the\n utterance \"I want flowers\" is not being recognized. You could add this\n utterance to the OrderFlowers
intent so that your bot\n recognizes that utterance.
After you publish a new version of a bot, you can get information\n about the old version and the new so that you can compare the performance\n across the two versions.
\nUtterance statistics are generated once a day. Data is available\n for the last 15 days. You can request information for up to 5 versions of\n your bot in each request. Amazon Lex returns the most frequent utterances\n received by the bot in the last 15 days. The response contains information\n about a maximum of 100 utterances for each version.
\nIf you set childDirected
field to true when you\n created your bot, or if you opted out of participating in improving Amazon Lex,\n utterances are not available.
This operation requires permissions for the\n lex:GetUtterancesView
action.
The name of the bot for which utterance information should be\n returned.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botVersions": { "target": "com.amazonaws.lexmodelbuildingservice#BotVersions", "traits": { "smithy.api#documentation": "An array of bot versions for which utterance information should be\n returned. The limit is 5 versions per request.
", "smithy.api#httpQuery": "bot_versions", "smithy.api#required": {} } }, "statusType": { "target": "com.amazonaws.lexmodelbuildingservice#StatusType", "traits": { "smithy.api#documentation": "To return utterances that were recognized and handled, use\n Detected
. To return utterances that were not recognized,\n use Missed
.
The name of the bot for which utterance information was\n returned.
" } }, "utterances": { "target": "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances", "traits": { "smithy.api#documentation": "An array of UtteranceList objects, each\n containing a list of UtteranceData objects describing\n the utterances that were processed by your bot. The response contains a\n maximum of 100 UtteranceData
objects for each version. Amazon Lex\n returns the most frequent utterances received by the bot in the last 15\n days.
The name of the context.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The name of a context that must be active for an intent to be selected\n by Amazon Lex.
" } }, "com.amazonaws.lexmodelbuildingservice#InputContextList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#InputContext" }, "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#InputContextName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#Intent": { "type": "structure", "members": { "intentName": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "The name of the intent.
", "smithy.api#required": {} } }, "intentVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the intent.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Identifies the specific version of an intent.
" } }, "com.amazonaws.lexmodelbuildingservice#IntentList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Intent" } }, "com.amazonaws.lexmodelbuildingservice#IntentMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "The name of the intent.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the intent.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was updated. When you create an intent,\n the creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the intent.
" } } }, "traits": { "smithy.api#documentation": "Provides information about an intent.
" } }, "com.amazonaws.lexmodelbuildingservice#IntentMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadata" } }, "com.amazonaws.lexmodelbuildingservice#IntentName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Utterance" }, "traits": { "smithy.api#length": { "min": 0, "max": 1500 } } }, "com.amazonaws.lexmodelbuildingservice#InternalFailureException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "An internal Amazon Lex error occurred. Try your request again.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.lexmodelbuildingservice#KendraConfiguration": { "type": "structure", "members": { "kendraIndex": { "target": "com.amazonaws.lexmodelbuildingservice#KendraIndexArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Kendra index that you\n want the AMAZON.KendraSearchIntent intent to search. The index must be in\n the same account and Region as the Amazon Lex bot. If the Amazon Kendra index\n does not exist, you get an exception when you call the\n PutIntent
operation.
A query filter that Amazon Lex sends to Amazon Kendra to filter the\n response from the query. The filter is in the format defined by Amazon\n Kendra. For more information, see Filtering\n queries.
\nYou can override this filter string with a new filter string at\n runtime.
" } }, "role": { "target": "com.amazonaws.lexmodelbuildingservice#roleArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role that has permission to\n search the Amazon Kendra index. The role must be in the same account and\n Region as the Amazon Lex bot. If the role does not exist, you get an exception\n when you call the PutIntent
operation.
Provides configuration information for the AMAZON.KendraSearchIntent\n intent. When you use this intent, Amazon Lex searches the specified Amazon\n Kendra index and returns documents from the index that match the user's\n utterance. For more information, see \n AMAZON.KendraSearchIntent.
" } }, "com.amazonaws.lexmodelbuildingservice#KendraIndexArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index\\/[a-zA-Z0-9][a-zA-Z0-9_-]*" } }, "com.amazonaws.lexmodelbuildingservice#KmsKeyArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:[\\w\\-]+:kms:[\\w\\-]+:[\\d]{12}:(?:key\\/[\\w\\-]+|alias\\/[a-zA-Z0-9:\\/_\\-]{1,256})$" } }, "com.amazonaws.lexmodelbuildingservice#LambdaARN": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:lambda:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?" } }, "com.amazonaws.lexmodelbuildingservice#LimitExceededException": { "type": "structure", "members": { "retryAfterSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#httpHeader": "Retry-After" } }, "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "The request exceeded a limit. Try your request again.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.lexmodelbuildingservice#ListOfUtterance": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceData" } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Gets a list of tags associated with the specified resource. Only bots,\n bot aliases, and bot channels can have tags associated with them.
", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to get a list of tags\n for.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "The tags associated with a resource.
" } } } }, "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceList" } }, "com.amazonaws.lexmodelbuildingservice#Locale": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "de-DE", "name": "DE_DE" }, { "value": "en-AU", "name": "EN_AU" }, { "value": "en-GB", "name": "EN_GB" }, { "value": "en-US", "name": "EN_US" }, { "value": "es-419", "name": "ES_419" }, { "value": "es-ES", "name": "ES_ES" }, { "value": "es-US", "name": "ES_US" }, { "value": "fr-FR", "name": "FR_FR" }, { "value": "fr-CA", "name": "FR_CA" }, { "value": "it-IT", "name": "IT_IT" }, { "value": "ja-JP", "name": "JA_JP" } ] } }, "com.amazonaws.lexmodelbuildingservice#LocaleList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Locale" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsRequest": { "type": "structure", "members": { "logType": { "target": "com.amazonaws.lexmodelbuildingservice#LogType", "traits": { "smithy.api#documentation": "The type of logging to enable. Text logs are delivered to a CloudWatch\n Logs log group. Audio logs are delivered to an S3 bucket.
", "smithy.api#required": {} } }, "destination": { "target": "com.amazonaws.lexmodelbuildingservice#Destination", "traits": { "smithy.api#documentation": "Where the logs will be delivered. Text logs are delivered to a\n CloudWatch Logs log group. Audio logs are delivered to an S3\n bucket.
", "smithy.api#required": {} } }, "kmsKeyArn": { "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS KMS customer managed key for\n encrypting audio logs delivered to an S3 bucket. The key does not apply to\n CloudWatch Logs and is optional for S3 buckets.
" } }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs should be delivered.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Settings used to configure delivery mode and destination for\n conversation logs.
" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsRequestList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsRequest" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsResponse": { "type": "structure", "members": { "logType": { "target": "com.amazonaws.lexmodelbuildingservice#LogType", "traits": { "smithy.api#documentation": "The type of logging that is enabled.
" } }, "destination": { "target": "com.amazonaws.lexmodelbuildingservice#Destination", "traits": { "smithy.api#documentation": "The destination where logs are delivered.
" } }, "kmsKeyArn": { "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the key used to encrypt audio logs\n in an S3 bucket.
" } }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs are delivered.
" } }, "resourcePrefix": { "target": "com.amazonaws.lexmodelbuildingservice#ResourcePrefix", "traits": { "smithy.api#documentation": "The resource prefix is the first part of the S3 object key within the\n S3 bucket that you specified to contain audio logs. For CloudWatch Logs it\n is the prefix of the log stream name within the log group that you\n specified.
" } } }, "traits": { "smithy.api#documentation": "The settings for conversation logs.
" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsResponseList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsResponse" } }, "com.amazonaws.lexmodelbuildingservice#LogType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AUDIO", "name": "AUDIO" }, { "value": "TEXT", "name": "TEXT" } ] } }, "com.amazonaws.lexmodelbuildingservice#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 } } }, "com.amazonaws.lexmodelbuildingservice#MergeStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "OVERWRITE_LATEST", "name": "OVERWRITE_LATEST" }, { "value": "FAIL_ON_CONFLICT", "name": "FAIL_ON_CONFLICT" } ] } }, "com.amazonaws.lexmodelbuildingservice#Message": { "type": "structure", "members": { "contentType": { "target": "com.amazonaws.lexmodelbuildingservice#ContentType", "traits": { "smithy.api#documentation": "The content type of the message string.
", "smithy.api#required": {} } }, "content": { "target": "com.amazonaws.lexmodelbuildingservice#ContentString", "traits": { "smithy.api#documentation": "The text of the message.
", "smithy.api#required": {} } }, "groupNumber": { "target": "com.amazonaws.lexmodelbuildingservice#GroupNumber", "traits": { "smithy.api#documentation": "Identifies the message group that the message belongs to. When a group\n is assigned to a message, Amazon Lex returns one message from each group in the\n response.
" } } }, "traits": { "smithy.api#documentation": "The message object that provides the message text and its\n type.
" } }, "com.amazonaws.lexmodelbuildingservice#MessageList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Message" }, "traits": { "smithy.api#length": { "min": 1, "max": 15 } } }, "com.amazonaws.lexmodelbuildingservice#MessageVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#Name": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "[a-zA-Z_]+" } }, "com.amazonaws.lexmodelbuildingservice#NextToken": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#NotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "The resource specified in the request was not found. Check the\n resource and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.lexmodelbuildingservice#NumericalVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[0-9]+" } }, "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "NONE", "name": "NONE" }, { "value": "DEFAULT_OBFUSCATION", "name": "DEFAULT_OBFUSCATION" } ] } }, "com.amazonaws.lexmodelbuildingservice#OutputContext": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextName", "traits": { "smithy.api#documentation": "The name of the context.
", "smithy.api#required": {} } }, "timeToLiveInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds", "traits": { "smithy.api#documentation": "The number of seconds that the context should be active after it is\n first sent in a PostContent
or PostText
\n response. You can set the value between 5 and 86,400 seconds (24\n hours).
The number of conversation turns that the context should be active. A\n conversation turn is one PostContent
or PostText
\n request and the corresponding response from Amazon Lex.
The specification of an output context that is set when an intent is\n fulfilled.
" } }, "com.amazonaws.lexmodelbuildingservice#OutputContextList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContext" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#OutputContextName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "The checksum of the resource that you are trying to change does\n not match the checksum in the request. Check the resource's checksum and\n try again.
", "smithy.api#error": "client", "smithy.api#httpError": 412 } }, "com.amazonaws.lexmodelbuildingservice#Priority": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#ProcessBehavior": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SAVE", "name": "SAVE" }, { "value": "BUILD", "name": "BUILD" } ] } }, "com.amazonaws.lexmodelbuildingservice#Prompt": { "type": "structure", "members": { "messages": { "target": "com.amazonaws.lexmodelbuildingservice#MessageList", "traits": { "smithy.api#documentation": "An array of objects, each of which provides a message string and\n its type. You can specify the message string in plain text or in Speech\n Synthesis Markup Language (SSML).
", "smithy.api#required": {} } }, "maxAttempts": { "target": "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts", "traits": { "smithy.api#documentation": "The number of times to prompt the user for information.
", "smithy.api#required": {} } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "A response card. Amazon Lex uses this prompt at runtime, in the\n PostText
API response. It substitutes session attributes\n and slot values for placeholders in the response card. For more\n information, see ex-resp-card.
Obtains information from the user. To define a prompt, provide one\n or more messages and specify the number of attempts to get information\n from the user. If you provide more than one message, Amazon Lex chooses one of\n the messages to use to prompt the user. For more information, see how-it-works.
" } }, "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#PutBot": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#PutBotRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#PutBotResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "Creates an Amazon Lex conversational bot or replaces an existing bot.\n When you create or update a bot you are only required to specify a name, a\n locale, and whether the bot is directed toward children under age 13. You\n can use this to add intents later, or to remove intents from an existing\n bot. When you create a bot with the minimum information, the bot is\n created or updated but Amazon Lex returns the response\n
FAILED
. You can build the bot after you add one or more\n intents. For more information about Amazon Lex bots, see how-it-works.
If you specify the name of an existing bot, the fields in the\n request replace the existing values in the $LATEST
version of\n the bot. Amazon Lex removes any fields that you don't provide values for in the\n request, except for the idleTTLInSeconds
and\n privacySettings
fields, which are set to their default\n values. If you don't specify values for required fields, Amazon Lex throws an\n exception.
This operation requires permissions for the lex:PutBot
\n action. For more information, see security-iam.
Creates an alias for the specified version of the bot or replaces\n an alias for the specified bot. To change the version of the bot that the\n alias points to, replace the alias. For more information about aliases,\n see versioning-aliases.
\nThis operation requires permissions for the\n lex:PutBotAlias
action.
The name of the alias. The name is not case\n sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the alias.
" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot.
", "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Identifies a specific revision of the $LATEST
\n version.
When you create a new bot alias, leave the checksum
\n field blank. If you specify a checksum you get a\n BadRequestException
exception.
When you want to update a bot alias, set the checksum
\n field to the checksum of the most recent revision of the\n $LATEST
version. If you don't specify the \n checksum
field, or if the checksum does not match the\n $LATEST
version, you get a\n PreconditionFailedException
exception.
Settings for conversation logs for the alias.
" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "A list of tags to add to the bot alias. You can only add tags when you\n create an alias, you can't use the PutBotAlias
operation to\n update the tags on a bot alias. To update tags, use the\n TagResource
operation.
The name of the alias.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the alias.
" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot that the alias points to.
" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot that the alias points to.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was updated. When you create a\n resource, the creation date and the last updated date are the\n same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot alias was created.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The checksum for the current version of the alias.
" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "The settings that determine how Amazon Lex uses conversation logs for the\n alias.
" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "A list of tags associated with a bot.
" } } } }, "com.amazonaws.lexmodelbuildingservice#PutBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "The name of the bot. The name is not case\n sensitive.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot.
" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "An array of Intent
objects. Each intent represents a\n command that a user can express. For example, a pizza ordering bot might\n support an OrderPizza intent. For more information, see how-it-works.
Set to true
to enable access to natural language\n understanding improvements.
When you set the enableModelImprovements
parameter to\n true
you can use the\n nluIntentConfidenceThreshold
parameter to configure\n confidence scores. For more information, see Confidence Scores.
You can only set the enableModelImprovements
parameter in\n certain Regions. If you set the parameter to true
, your bot\n has access to accuracy improvements.
The Regions where you can set the enableModelImprovements
\n parameter to true
are:
US East (N. Virginia) (us-east-1)
\nUS West (Oregon) (us-west-2)
\nAsia Pacific (Sydney) (ap-southeast-2)
\nEU (Ireland) (eu-west-1)
\nIn other Regions, the enableModelImprovements
parameter\n is set to true
by default. In these Regions setting the\n parameter to false
throws a ValidationException
\n exception.
Determines the threshold where Amazon Lex will insert the\n AMAZON.FallbackIntent
,\n AMAZON.KendraSearchIntent
, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent
and\n AMAZON.KendraSearchIntent
are only inserted if they are\n configured for the bot.
You must set the enableModelImprovements
parameter to\n true
to use confidence scores in the following\n regions.
US East (N. Virginia) (us-east-1)
\nUS West (Oregon) (us-west-2)
\nAsia Pacific (Sydney) (ap-southeast-2)
\nEU (Ireland) (eu-west-1)
\nIn other Regions, the enableModelImprovements
parameter\n is set to true
by default.
For example, suppose a bot is configured with the confidence threshold\n of 0.80 and the AMAZON.FallbackIntent
. Amazon Lex returns three\n alternative intents with the following confidence scores: IntentA (0.70),\n IntentB (0.60), IntentC (0.50). The response from the\n PostText
operation would be:
AMAZON.FallbackIntent
\nIntentA
\nIntentB
\nIntentC
\nWhen Amazon Lex doesn't understand the user's intent, it uses this\n message to get clarification. To specify how many times Amazon Lex should\n repeat the clarification prompt, use the maxAttempts
field.\n If Amazon Lex still doesn't understand, it sends the message in the\n abortStatement
field.
When you create a clarification prompt, make sure that it suggests\n the correct response from the user. for example, for a bot that orders\n pizza and drinks, you might create this clarification prompt: \"What would\n you like to do? You can say 'Order a pizza' or 'Order a drink.'\"
\nIf you have defined a fallback intent, it will be invoked if the\n clarification prompt is repeated the number of times defined in the\n maxAttempts
field. For more information, see \n AMAZON.FallbackIntent.
If you don't define a clarification prompt, at runtime Amazon Lex will\n return a 400 Bad Request exception in three cases:
\nFollow-up prompt - When the user responds to a follow-up prompt\n but does not provide an intent. For example, in response to a\n follow-up prompt that says \"Would you like anything else today?\" the\n user says \"Yes.\" Amazon Lex will return a 400 Bad Request exception because\n it does not have a clarification prompt to send to the user to get an\n intent.
\nLambda function - When using a Lambda function, you return an\n ElicitIntent
dialog type. Since Amazon Lex does not have a\n clarification prompt to get an intent from the user, it returns a 400\n Bad Request exception.
PutSession operation - When using the PutSession
\n operation, you send an ElicitIntent
dialog type. Since\n Amazon Lex does not have a clarification prompt to get an intent from the\n user, it returns a 400 Bad Request exception.
When Amazon Lex can't understand the user's input in context, it tries\n to elicit the information a few times. After that, Amazon Lex sends the message\n defined in abortStatement
to the user, and then cancels the\n conversation. To set the number of retries, use the\n valueElicitationPrompt
field for the slot type.
For example, in a pizza ordering bot, Amazon Lex might ask a user \"What\n type of crust would you like?\" If the user's response is not one of the\n expected responses (for example, \"thin crust, \"deep dish,\" etc.), Amazon Lex\n tries to elicit a correct response a few more times.
\nFor example, in a pizza ordering application,\n OrderPizza
might be one of the intents. This intent might\n require the CrustType
slot. You specify the\n valueElicitationPrompt
field when you create the\n CrustType
slot.
If you have defined a fallback intent the cancel statement will not be\n sent to the user, the fallback intent is used instead. For more\n information, see \n AMAZON.FallbackIntent.
" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation.
\nA user interaction session remains active for the amount of time\n specified. If no conversation occurs during this time, the session expires\n and Amazon Lex deletes any data provided before the timeout.
\nFor example, suppose that a user chooses the OrderPizza intent, but\n gets sidetracked halfway through placing an order. If the user doesn't\n complete the order within the specified time, Amazon Lex discards the slot\n information that it gathered, and the user must start over.
\nIf you don't include the idleSessionTTLInSeconds
\n element in a PutBot
operation request, Amazon Lex uses the default\n value. This is also true if the request replaces an existing\n bot.
The default is 300 seconds (5 minutes).
" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The Amazon Polly voice ID that you want Amazon Lex to use for voice\n interactions with the user. The locale configured for the voice must match\n the locale of the bot. For more information, see Voices\n in Amazon Polly in the Amazon Polly Developer\n Guide.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Identifies a specific revision of the $LATEST
\n version.
When you create a new bot, leave the checksum
field\n blank. If you specify a checksum you get a\n BadRequestException
exception.
When you want to update a bot, set the checksum
field\n to the checksum of the most recent revision of the $LATEST
\n version. If you don't specify the checksum
field, or if the\n checksum does not match the $LATEST
version, you get a\n PreconditionFailedException
exception.
If you set the processBehavior
element to\n BUILD
, Amazon Lex builds the bot so that it can be run. If you\n set the element to SAVE
Amazon Lex saves the bot, but doesn't\n build it.
If you don't specify this value, the default value is\n BUILD
.
Specifies the target locale for the bot. Any intent used in the\n bot must be compatible with the locale of the bot.
\n\nThe default is en-US
.
For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true
or\n false
in the childDirected
field. By\n specifying true
in the childDirected
field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false
in the childDirected
field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected
field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n
", "smithy.api#required": {} } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "When set to true
user utterances are sent to Amazon\n Comprehend for sentiment analysis. If you don't specify\n detectSentiment
, the default is false
.
When set to true
a new numbered version of the bot is\n created. This is the same as calling the CreateBotVersion
\n operation. If you don't specify createVersion
, the default is\n false
.
A list of tags to add to the bot. You can only add tags when you\n create a bot, you can't use the PutBot
operation to update\n the tags on a bot. To update tags, use the TagResource
\n operation.
The name of the bot.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the bot.
" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "An array of Intent
objects. For more information, see\n PutBot.
Indicates whether the bot uses accuracy improvements.\n true
indicates that the bot is using the improvements,\n otherwise, false
.
The score that determines where Amazon Lex inserts the\n AMAZON.FallbackIntent
,\n AMAZON.KendraSearchIntent
, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent
is inserted if the confidence score\n for all intents is below this value.\n AMAZON.KendraSearchIntent
is only inserted if it is\n configured for the bot.
The prompts that Amazon Lex uses when it doesn't understand the user's\n intent. For more information, see PutBot.
" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "The message that Amazon Lex uses to cancel a conversation. For more\n information, see PutBot.
" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": " When you send a request to create a bot with\n processBehavior
set to BUILD
, Amazon Lex sets the\n status
response element to BUILDING
.
In the READY_BASIC_TESTING
state you can test the bot\n with user inputs that exactly match the utterances configured for the\n bot's intents and values in the slot types.
If Amazon Lex can't build the bot, Amazon Lex sets status
to\n FAILED
. Amazon Lex returns the reason for the failure in the\n failureReason
response element.
When you set processBehavior
to SAVE
,\n Amazon Lex sets the status code to NOT BUILT
.
When the bot is in the READY
state you can test and\n publish the bot.
If status
is FAILED
, Amazon Lex provides the\n reason that it failed to build the bot.
The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the bot was created.
" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "The maximum length of time that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.
" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see PutBot.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Checksum of the bot that you created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot. For a new bot, the version is always\n $LATEST
.
The target locale for the bot.
" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true
or\n false
in the childDirected
field. By\n specifying true
in the childDirected
field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false
in the childDirected
field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected
field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n
" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "\n True
if a new version of the bot was created. If the\n createVersion
field was not specified in the request, the\n createVersion
field is set to false in the\n response.
\n true
if the bot is configured to send user utterances to\n Amazon Comprehend for sentiment analysis. If the\n detectSentiment
field was not specified in the request, the\n detectSentiment
field is false
in the\n response.
A list of tags associated with the bot.
" } } } }, "com.amazonaws.lexmodelbuildingservice#PutIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#PutIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#PutIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "Creates an intent or replaces an existing intent.
\nTo define the interaction between the user and your bot, you use\n one or more intents. For a pizza ordering bot, for example, you would\n create an OrderPizza
intent.
To create an intent or replace an existing intent, you must provide\n the following:
\nIntent name. For example, OrderPizza
.
Sample utterances. For example, \"Can I order a pizza, please.\"\n and \"I want to order a pizza.\"
\nInformation to be gathered. You specify slot types for the\n information that your bot will request from the user. You can specify\n standard slot types, such as a date or a time, or custom slot types\n such as the size and crust of a pizza.
\nHow the intent will be fulfilled. You can provide a Lambda\n function or configure the intent to return the intent information to\n the client application. If you use a Lambda function, when all of the\n intent information is available, Amazon Lex invokes your Lambda function.\n If you configure your intent to return the intent information to the\n client application.
\nYou can specify other optional information in the request, such\n as:
\n\nA confirmation prompt to ask the user to confirm an intent. For\n example, \"Shall I order your pizza?\"
\nA conclusion statement to send to the user after the intent has\n been fulfilled. For example, \"I placed your pizza order.\"
\nA follow-up prompt that asks the user for additional activity.\n For example, asking \"Do you want to order a drink with your\n pizza?\"
\nIf you specify an existing intent name to update the intent, Amazon Lex\n replaces the values in the $LATEST
version of the intent with\n the values in the request. Amazon Lex removes fields that you don't provide in\n the request. If you don't specify the required fields, Amazon Lex throws an\n exception. When you update the $LATEST
version of an intent,\n the status
field of any bot that uses the\n $LATEST
version of the intent is set to\n NOT_BUILT
.
For more information, see how-it-works.
\nThis operation requires permissions for the\n lex:PutIntent
action.
The name of the intent. The name is not case\n sensitive.
\nThe name can't match a built-in intent name, or a built-in intent\n name with \"AMAZON.\" removed. For example, because there is a built-in\n intent called AMAZON.HelpIntent
, you can't create a custom\n intent called HelpIntent
.
For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills\n Kit.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the intent.
" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "An array of intent slots. At runtime, Amazon Lex elicits required slot\n values from the user using prompts defined in the slots. For more\n information, see how-it-works.
" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "An array of utterances (strings) that a user might say to signal\n the intent. For example, \"I want {PizzaSize} pizza\", \"Order {Quantity}\n {PizzaSize} pizzas\".
\n\nIn each utterance, a slot name is enclosed in curly braces.\n
" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "Prompts the user to confirm the intent. This question should have a\n yes or no answer.
\nAmazon Lex uses this prompt to ensure that the user acknowledges that\n the intent is ready for fulfillment. For example, with the\n OrderPizza
intent, you might want to confirm that the order\n is correct before placing it. For other intents, such as intents that\n simply respond to user questions, you might not need to ask the user for\n confirmation before providing the information.
You you must provide both the rejectionStatement
and\n the confirmationPrompt
, or neither.
When the user answers \"no\" to the question defined in\n confirmationPrompt
, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.
You must provide both the rejectionStatement
and the\n confirmationPrompt
, or neither.
Amazon Lex uses this prompt to solicit additional activity after\n fulfilling an intent. For example, after the OrderPizza
\n intent is fulfilled, you might prompt the user to order a drink.
The action that Amazon Lex takes depends on the user's response, as\n follows:
\nIf the user says \"Yes\" it responds with the clarification\n prompt that is configured for the bot.
\nif the user says \"Yes\" and continues with an utterance that\n triggers an intent it starts a conversation for the intent.
\nIf the user says \"No\" it responds with the rejection statement\n configured for the the follow-up prompt.
\nIf it doesn't recognize the utterance it repeats the follow-up\n prompt again.
\nThe followUpPrompt
field and the\n conclusionStatement
field are mutually exclusive. You can\n specify only one.
The statement that you want Amazon Lex to convey to the user after the\n intent is successfully fulfilled by the Lambda function.
\nThis element is relevant only if you provide a Lambda function in\n the fulfillmentActivity
. If you return the intent to the\n client application, you can't specify this element.
The followUpPrompt
and\n conclusionStatement
are mutually exclusive. You can\n specify only one.
Specifies a Lambda function to invoke for each user input. You can\n invoke this Lambda function to personalize user interaction.
\nFor example, suppose your bot determines that the user is John.\n Your Lambda function might retrieve John's information from a backend\n database and prepopulate some of the values. For example, if you find that\n John is gluten intolerant, you might set the corresponding intent slot,\n GlutenIntolerant
, to true. You might find John's phone\n number and set the corresponding session attribute.
Required. Describes how the intent is fulfilled. For example, after\n a user provides all of the information for a pizza order,\n fulfillmentActivity
defines how the bot places an order\n with a local pizza store.
You might configure Amazon Lex to return all of the intent information\n to the client application, or direct it to invoke a Lambda function that\n can process the intent (for example, place an order with a pizzeria).\n
" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "A unique identifier for the built-in intent to base this intent on.\n To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.
" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "Identifies a specific revision of the $LATEST
\n version.
When you create a new intent, leave the checksum
field\n blank. If you specify a checksum you get a\n BadRequestException
exception.
When you want to update a intent, set the checksum
\n field to the checksum of the most recent revision of the\n $LATEST
version. If you don't specify the \n checksum
field, or if the checksum does not match the\n $LATEST
version, you get a\n PreconditionFailedException
exception.
When set to true
a new numbered version of the intent\n is created. This is the same as calling the\n CreateIntentVersion
operation. If you do not specify\n createVersion
, the default is false
.
Configuration information required to use the\n AMAZON.KendraSearchIntent
intent to connect to an Amazon\n Kendra index. For more information, see \n AMAZON.KendraSearchIntent.
An array of InputContext
objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
The name of the intent.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the intent.
" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "An array of intent slots that are configured for the\n intent.
" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "An array of sample utterances that are configured for the intent.\n
" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "If defined in the intent, Amazon Lex prompts the user to confirm the\n intent before fulfilling it.
" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "If the user answers \"no\" to the question defined in\n confirmationPrompt
Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.
If defined in the intent, Amazon Lex uses this prompt to solicit\n additional user activity after the intent is fulfilled.
" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "After the Lambda function specified in\n thefulfillmentActivity
intent fulfills the intent, Amazon Lex\n conveys this statement to the user.
If defined in the intent, Amazon Lex invokes this Lambda function for\n each user input.
" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "If defined in the intent, Amazon Lex invokes this Lambda function to\n fulfill the intent after the user provides all of the information required\n by the intent.
" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "A unique identifier for the built-in intent that this intent is\n based on.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was updated. When you create a resource,\n the creation date and last update dates are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the intent was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the intent. For a new intent, the version is always\n $LATEST
.
Checksum of the $LATEST
version of the intent created\n or updated.
\n True
if a new version of the intent was created. If\n the createVersion
field was not specified in the request, the\n createVersion
field is set to false in the\n response.
Configuration information, if any, required to connect to an Amazon\n Kendra index and use the AMAZON.KendraSearchIntent
\n intent.
An array of InputContext
objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
Creates a custom slot type or replaces an existing custom slot\n type.
\nTo create a custom slot type, specify a name for the slot type and\n a set of enumeration values, which are the values that a slot of this type\n can assume. For more information, see how-it-works.
\nIf you specify the name of an existing slot type, the fields in the\n request replace the existing values in the $LATEST
version of\n the slot type. Amazon Lex removes the fields that you don't provide in the\n request. If you don't specify required fields, Amazon Lex throws an exception.\n When you update the $LATEST
version of a slot type, if a bot\n uses the $LATEST
version of an intent that contains the slot\n type, the bot's status
field is set to\n NOT_BUILT
.
This operation requires permissions for the\n lex:PutSlotType
action.
The name of the slot type. The name is not\n case sensitive.
\nThe name can't match a built-in slot type name, or a built-in slot\n type name with \"AMAZON.\" removed. For example, because there is a built-in\n slot type called AMAZON.DATE
, you can't create a custom slot\n type called DATE
.
For a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot type.
" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "A list of EnumerationValue
objects that defines the\n values that the slot type can take. Each value can have a list of\n synonyms
, which are additional values that help train the\n machine learning model about the values that it resolves for a slot.
A regular expression slot type doesn't require enumeration values.\n All other slot types require a list of enumeration values.
\nWhen Amazon Lex resolves a slot value, it generates a resolution list\n that contains up to five possible values for the slot. If you are using a\n Lambda function, this resolution list is passed to the function. If you\n are not using a Lambda function you can choose to return the value that\n the user entered or the first value in the resolution list as the slot\n value. The valueSelectionStrategy
field indicates the option\n to use.
Identifies a specific revision of the $LATEST
\n version.
When you create a new slot type, leave the checksum
\n field blank. If you specify a checksum you get a\n BadRequestException
exception.
When you want to update a slot type, set the checksum
\n field to the checksum of the most recent revision of the\n $LATEST
version. If you don't specify the \n checksum
field, or if the checksum does not match the\n $LATEST
version, you get a\n PreconditionFailedException
exception.
Determines the slot resolution strategy that Amazon Lex uses to return\n slot type values. The field can be set to one of the following\n values:
\n\n ORIGINAL_VALUE
- Returns the value entered by the\n user, if the user value is similar to the slot value.
\n TOP_RESOLUTION
- If there is a resolution list for\n the slot, return the first value in the resolution list as the slot\n type value. If there is no resolution list, null is\n returned.
If you don't specify the valueSelectionStrategy
, the\n default is ORIGINAL_VALUE
.
When set to true
a new numbered version of the slot\n type is created. This is the same as calling the\n CreateSlotTypeVersion
operation. If you do not specify\n createVersion
, the default is false
.
The built-in slot type used as the parent of the slot type. When you\n define a parent slot type, the new slot type has all of the same\n configuration as the parent.
\nOnly AMAZON.AlphaNumeric
is supported.
Configuration information that extends the parent built-in slot type.\n The configuration is added to the settings for the parent slot\n type.
" } } } }, "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "The name of the slot type.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot type.
" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "A list of EnumerationValue
objects that defines the\n values that the slot type can take.
The date that the slot type was updated. When you create a slot\n type, the creation date and last update date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the slot type was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the slot type. For a new slot type, the version is\n always $LATEST
.
Checksum of the $LATEST
version of the slot\n type.
The slot resolution strategy that Amazon Lex uses to determine the value\n of the slot. For more information, see PutSlotType.
" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "\n True
if a new version of the slot type was created. If\n the createVersion
field was not specified in the request, the\n createVersion
field is set to false in the\n response.
The built-in slot type used as the parent of the slot type.
" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "Configuration information that extends the parent built-in slot\n type.
" } } } }, "com.amazonaws.lexmodelbuildingservice#QueryFilterString": { "type": "string", "traits": { "smithy.api#length": { "min": 0 } } }, "com.amazonaws.lexmodelbuildingservice#ReferenceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Intent", "name": "INTENT" }, { "value": "Bot", "name": "BOT" }, { "value": "BotAlias", "name": "BOTALIAS" }, { "value": "BotChannel", "name": "BOTCHANNEL" } ] } }, "com.amazonaws.lexmodelbuildingservice#RegexPattern": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#ResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^arn:[\\w\\-]+:(?:logs:[\\w\\-]+:[\\d]{12}:log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(?::\\*)?|s3:::[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9])$" } }, "com.amazonaws.lexmodelbuildingservice#ResourceInUseException": { "type": "structure", "members": { "referenceType": { "target": "com.amazonaws.lexmodelbuildingservice#ReferenceType" }, "exampleReference": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceReference" } }, "traits": { "smithy.api#documentation": "The resource that you are attempting to delete is referred to by\n another resource. Use this information to remove references to the\n resource that you are trying to delete.
\nThe body of the exception contains a JSON object that describes the\n resource.
\n\n { \"resourceType\": BOT | BOTALIAS | BOTCHANNEL |\n INTENT,
\n
\n \"resourceReference\": {
\n
\n \"name\": string, \"version\":\n string } }
\n
The name of the resource that is using the resource that you are\n trying to delete.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the resource that is using the resource that you are\n trying to delete.
" } } }, "traits": { "smithy.api#documentation": "Describes the resource that refers to the resource that you are\n attempting to delete. This object is returned as part of the\n ResourceInUseException
exception.
The name of the slot.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot.
" } }, "slotConstraint": { "target": "com.amazonaws.lexmodelbuildingservice#SlotConstraint", "traits": { "smithy.api#documentation": "Specifies whether the slot is required or optional.
", "smithy.api#required": {} } }, "slotType": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "The type of the slot, either a custom slot type that you defined or\n one of the built-in slot types.
" } }, "slotTypeVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the slot type.
" } }, "valueElicitationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "The prompt that Amazon Lex uses to elicit the slot value from the\n user.
" } }, "priority": { "target": "com.amazonaws.lexmodelbuildingservice#Priority", "traits": { "smithy.api#documentation": "Directs Amazon Lex the order in which to elicit this slot value from\n the user. For example, if the intent has two slots with priorities 1 and\n 2, AWS Amazon Lex first elicits a value for the slot with priority 1.
\nIf multiple slots share the same priority, the order in which Amazon Lex\n elicits values is arbitrary.
" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList", "traits": { "smithy.api#documentation": "If you know a specific pattern with which users might respond to\n an Amazon Lex request for a slot value, you can provide those utterances to\n improve accuracy. This is optional. In most cases, Amazon Lex is capable of\n understanding user utterances.
" } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "A set of possible responses for the slot type used by text-based\n clients. A user chooses an option from the response card, instead of using\n text to reply.
" } }, "obfuscationSetting": { "target": "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting", "traits": { "smithy.api#documentation": "Determines whether a slot is obfuscated in conversation logs and\n stored utterances. When you obfuscate a slot, the value is replaced by the\n slot name in curly braces ({}). For example, if the slot name is\n \"full_name\", obfuscated values are replaced with \"{full_name}\". For more\n information, see Slot Obfuscation .\n
" } }, "defaultValueSpec": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueSpec", "traits": { "smithy.api#documentation": "A list of default values for the slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot. You can specify default values\n from context variables, session attributes, and defined values.
" } } }, "traits": { "smithy.api#documentation": "Identifies the version of a specific slot.
" } }, "com.amazonaws.lexmodelbuildingservice#SlotConstraint": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Required", "name": "REQUIRED" }, { "value": "Optional", "name": "OPTIONAL" } ] } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValue": { "type": "structure", "members": { "defaultValue": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueString", "traits": { "smithy.api#documentation": "The default value for the slot. You can specify one of the\n following:
\n\n #context-name.slot-name
- The slot value \"slot-name\"\n in the context \"context-name.\"
\n {attribute}
- The slot value of the session attribute\n \"attribute.\"
\n 'value'
- The discrete value \"value.\"
A default value for a slot.
" } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValue" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueSpec": { "type": "structure", "members": { "defaultValueList": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueList", "traits": { "smithy.api#documentation": "The default values for a slot. You can specify more than one default.\n For example, you can specify a default value to use from a matching\n context variable, a session attribute, or a fixed value.
\nThe default value chosen is selected based on the order that you\n specify them in the list. For example, if you specify a context variable\n and a fixed value in that order, Amazon Lex uses the context variable if it is\n available, else it uses the fixed value.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot.
" } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 202 } } }, "com.amazonaws.lexmodelbuildingservice#SlotList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Slot" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#SlotName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z](-|_|.)?)+$" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeConfiguration": { "type": "structure", "members": { "regexConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeRegexConfiguration", "traits": { "smithy.api#documentation": "A regular expression used to validate the value of a slot.
" } } }, "traits": { "smithy.api#documentation": "Provides configuration information for a slot type.
" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfiguration" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "The name of the slot type.
" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "A description of the slot type.
" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the slot type was updated. When you create a\n resource, the creation date and last updated date are the same.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the slot type was created.
" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the slot type.
" } } }, "traits": { "smithy.api#documentation": "Provides information about a slot type..
" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadata" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeRegexConfiguration": { "type": "structure", "members": { "pattern": { "target": "com.amazonaws.lexmodelbuildingservice#RegexPattern", "traits": { "smithy.api#documentation": "A regular expression used to validate the value of a slot.
\nUse a standard regular expression. Amazon Lex supports the following\n characters in the regular expression:
\nA-Z, a-z
\n0-9
\nUnicode characters (\"\\ u
Represent Unicode characters with four digits, for example\n \"\\u0041\" or \"\\u005A\".
\nThe following regular expression operators are not supported:
\nInfinite repeaters: *, +, or {x,} with no upper bound.
\nWild card (.)
\nProvides a regular expression used to validate the value of a\n slot.
" } }, "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Utterance" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ORIGINAL_VALUE", "name": "ORIGINAL_VALUE" }, { "value": "TOP_RESOLUTION", "name": "TOP_RESOLUTION" } ] } }, "com.amazonaws.lexmodelbuildingservice#StartImport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#StartImportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#StartImportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "Starts a job to import a resource to Amazon Lex.
", "smithy.api#http": { "method": "POST", "uri": "/imports", "code": 201 } } }, "com.amazonaws.lexmodelbuildingservice#StartImportRequest": { "type": "structure", "members": { "payload": { "target": "com.amazonaws.lexmodelbuildingservice#Blob", "traits": { "smithy.api#documentation": "A zip archive in binary format. The archive should contain one file, a\n JSON file containing the resource to import. The resource should match the\n type specified in the resourceType
field.
Specifies the type of resource to export. Each resource also\n exports any resources that it depends on.
\nA bot exports dependent intents.
\nAn intent exports dependent slot types.
\nSpecifies the action that the StartImport
operation\n should take when there is an existing resource with the same\n name.
FAIL_ON_CONFLICT - The import operation is stopped on the first\n conflict between a resource in the import file and an existing\n resource. The name of the resource causing the conflict is in the\n failureReason
field of the response to the\n GetImport
operation.
OVERWRITE_LATEST - The import operation proceeds even if there\n is a conflict with an existing resource. The $LASTEST version of the\n existing resource is overwritten with the data from the import\n file.
\nA list of tags to add to the imported bot. You can only add tags when\n you import a bot, you can't add tags to an intent or slot type.
" } } } }, "com.amazonaws.lexmodelbuildingservice#StartImportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "The name given to the import job.
" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "The type of resource to import.
" } }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { "smithy.api#documentation": "The action to take when there is a merge conflict.
" } }, "importId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "The identifier for the specific import job.
" } }, "importStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", "traits": { "smithy.api#documentation": "The status of the import job. If the status is FAILED
,\n you can get the reason for the failure using the GetImport
\n operation.
A list of tags added to the imported bot.
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "A timestamp for the date and time that the import job was\n requested.
" } } } }, "com.amazonaws.lexmodelbuildingservice#Statement": { "type": "structure", "members": { "messages": { "target": "com.amazonaws.lexmodelbuildingservice#MessageList", "traits": { "smithy.api#documentation": "A collection of message objects.
", "smithy.api#required": {} } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response.\n It substitutes all of the session attributes and slot values for\n placeholders in the response card.
" } } }, "traits": { "smithy.api#documentation": "A collection of messages that convey information to the user. At\n runtime, Amazon Lex selects the message to convey.
" } }, "com.amazonaws.lexmodelbuildingservice#Status": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BUILDING", "name": "BUILDING" }, { "value": "READY", "name": "READY" }, { "value": "READY_BASIC_TESTING", "name": "READY_BASIC_TESTING" }, { "value": "FAILED", "name": "FAILED" }, { "value": "NOT_BUILT", "name": "NOT_BUILT" } ] } }, "com.amazonaws.lexmodelbuildingservice#StatusType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Detected", "name": "DETECTED" }, { "value": "Missed", "name": "MISSED" } ] } }, "com.amazonaws.lexmodelbuildingservice#String": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#StringList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "com.amazonaws.lexmodelbuildingservice#SynonymList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Value" } }, "com.amazonaws.lexmodelbuildingservice#Tag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.lexmodelbuildingservice#TagKey", "traits": { "smithy.api#documentation": "The key for the tag. Keys are not case-sensitive and must be\n unique.
", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.lexmodelbuildingservice#TagValue", "traits": { "smithy.api#documentation": "The value associated with a key. The value may be an empty string but\n it can't be null.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A list of key/value pairs that identify a bot, bot alias, or bot\n channel. Tag keys and values can consist of Unicode letters, digits, white\n space, and any of the following symbols: _ . : / = + - @.
" } }, "com.amazonaws.lexmodelbuildingservice#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.lexmodelbuildingservice#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#TagList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#TagResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Adds the specified tags to the specified resource. If a tag key\n already exists, the existing value is replaced with the new value.
", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.lexmodelbuildingservice#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel\n to tag.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "A list of tag keys to add to the resource. If a tag key already\n exists, the existing value is replaced with the new value.
", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lexmodelbuildingservice#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.lexmodelbuildingservice#Timestamp": { "type": "timestamp" }, "com.amazonaws.lexmodelbuildingservice#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#UntagResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "Removes tags from a bot, bot alias or bot channel.
", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.lexmodelbuildingservice#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to remove the tags\n from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.lexmodelbuildingservice#TagKeyList", "traits": { "smithy.api#documentation": "A list of tag keys to remove from the resource. If a tag key does not\n exist on the resource, it is ignored.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lexmodelbuildingservice#UserId": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#Utterance": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#UtteranceData": { "type": "structure", "members": { "utteranceString": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceString", "traits": { "smithy.api#documentation": "The text that was entered by the user or the text representation of\n an audio clip.
" } }, "count": { "target": "com.amazonaws.lexmodelbuildingservice#Count", "traits": { "smithy.api#documentation": "The number of times that the utterance was processed.
" } }, "distinctUsers": { "target": "com.amazonaws.lexmodelbuildingservice#Count", "traits": { "smithy.api#documentation": "The total number of individuals that used the utterance.
" } }, "firstUtteredDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the utterance was first recorded.
" } }, "lastUtteredDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "The date that the utterance was last recorded.
" } } }, "traits": { "smithy.api#documentation": "Provides information about a single utterance that was made to your\n bot.
" } }, "com.amazonaws.lexmodelbuildingservice#UtteranceList": { "type": "structure", "members": { "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "The version of the bot that processed the list.
" } }, "utterances": { "target": "com.amazonaws.lexmodelbuildingservice#ListOfUtterance", "traits": { "smithy.api#documentation": "One or more UtteranceData objects that contain\n information about the utterances that have been made to a bot. The maximum\n number of object is 100.
" } } }, "traits": { "smithy.api#documentation": "Provides a list of utterances that have been made to a specific\n version of your bot. The list contains a maximum of 100\n utterances.
" } }, "com.amazonaws.lexmodelbuildingservice#UtteranceString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2000 } } }, "com.amazonaws.lexmodelbuildingservice#Value": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 140 } } }, "com.amazonaws.lexmodelbuildingservice#Version": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "\\$LATEST|[0-9]+" } }, "com.amazonaws.lexmodelbuildingservice#roleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:role/.*" } } } }