aws-sdk-for-zig/codegen/models/lexmodelbuildingservice.2017-04-19.json

6094 lines
335 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"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": "<fullname>Amazon Lex Build-Time Actions</fullname>\n <p> 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. </p>",
"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": "<p>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.</p>",
"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": "<p>The name of the bot alias.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot alias.</p>"
}
},
"botVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the Amazon Lex bot to which the alias points.</p>"
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot to which the alias points.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot alias was updated. When you create a\n resource, the creation date and last updated date are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot alias was created.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the bot alias.</p>"
}
},
"conversationLogs": {
"target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse",
"traits": {
"smithy.api#documentation": "<p>Settings that determine how Amazon Lex uses conversation logs for the\n alias.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a bot alias.</p>"
}
},
"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": "<p>The name of the association between the bot and the channel.\n </p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A text description of the association you are creating. </p>"
}
},
"botAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made. </p>"
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Lex bot to which this association is being made. </p>\n <note>\n <p>Currently, Amazon Lex supports associations with Facebook and Slack,\n and Twilio.</p>\n\n </note>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the association between the Amazon Lex bot and the channel\n was created. </p>"
}
},
"type": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelType",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"botConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap",
"traits": {
"smithy.api#documentation": "<p>Provides information necessary to communicate with the messaging\n platform. </p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the bot channel. </p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The channel has been created and is\n ready for use.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Channel creation is in\n progress.</p>\n </li>\n <li>\n <p>\n <code>FAILED</code> - There was an error creating the channel.\n For information about the reason for the failure, see the\n <code>failureReason</code> field.</p>\n </li>\n </ul>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the\n reason that it failed to create the association.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents an association between an Amazon Lex bot and an external\n messaging platform.</p>"
}
},
"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": "<p>The name of the bot. </p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot.</p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#Status",
"traits": {
"smithy.api#documentation": "<p>The status of the bot.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was updated. When you create a bot, the\n creation date and last updated date are the same. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot. For a new bot, the version is always\n <code>$LATEST</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a bot. .</p>"
}
},
"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": "<p>A unique identifier for the built-in intent. To find the signature\n for an intent, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents\">Standard Built-in Intents</a> in the <i>Alexa Skills\n Kit</i>.</p>"
}
},
"supportedLocales": {
"target": "com.amazonaws.lexmodelbuildingservice#LocaleList",
"traits": {
"smithy.api#documentation": "<p>A list of identifiers for the locales that the intent\n supports.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides metadata for a built-in intent.</p>"
}
},
"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": "<p>A list of the slots defined for the intent.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a slot used in a built-in\n intent.</p>"
}
},
"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": "<p>A unique identifier for the built-in slot type. To find the\n signature for a slot type, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference\">Slot Type Reference</a> in the <i>Alexa Skills\n Kit</i>.</p>"
}
},
"supportedLocales": {
"target": "com.amazonaws.lexmodelbuildingservice#LocaleList",
"traits": {
"smithy.api#documentation": "<p>A list of target locales for the slot. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a built in slot type.</p>"
}
},
"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": "<p>The Amazon Resource Name (ARN) of the Lambda function.</p>",
"smithy.api#required": {}
}
},
"messageVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#MessageVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the request-response that you want Amazon Lex to use to\n invoke your Lambda function. For more information, see <a>using-lambda</a>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies a Lambda function that verifies requests to a bot or\n fulfills the user's request to a bot..</p>"
}
},
"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": "<p> There was a conflict processing the request. Try your request\n again. </p>",
"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": "<p>The settings for your conversation logs. You can log the conversation\n text, conversation audio, or both.</p>",
"smithy.api#required": {}
}
},
"iamRoleArn": {
"target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/lex/latest/dg/conversation-logs-role-and-policy.html\">Creating an\n IAM Role and Policy for Conversation Logs</a>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides the settings needed for conversation logs.</p>"
}
},
"com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse": {
"type": "structure",
"members": {
"logSettings": {
"target": "com.amazonaws.lexmodelbuildingservice#LogSettingsResponseList",
"traits": {
"smithy.api#documentation": "<p>The settings for your conversation logs. You can log text, audio, or\n both.</p>"
}
},
"iamRoleArn": {
"target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used to write your logs\n to CloudWatch Logs or an S3 bucket.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about conversation log settings.</p>"
}
},
"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": "<p>Creates a new version of the bot based on the <code>$LATEST</code>\n version. If the <code>$LATEST</code> 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.</p>\n <note>\n <p>You can update only the <code>$LATEST</code> version of the bot.\n You can't update the numbered versions that you create with the\n <code>CreateBotVersion</code> operation.</p>\n </note>\n <p> 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 <a>versioning-intro</a>. </p>\n <p> This operation requires permission for the\n <code>lex:CreateBotVersion</code> action. </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/bots/{name}/versions",
"code": 201
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateBotVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot that you want to create a new version of. The\n name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Identifies a specific revision of the <code>$LATEST</code> version\n of the bot. If you specify a checksum and the <code>$LATEST</code> version\n of the bot has a different checksum, a\n <code>PreconditionFailedException</code> 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 <code>$LATEST</code> version.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateBotVersionResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot.</p>"
}
},
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>Intent</code> objects. For more information, see\n <a>PutBot</a>.</p>"
}
},
"clarificationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>The message that Amazon Lex uses when it doesn't understand the user's\n request. For more information, see <a>PutBot</a>. </p>"
}
},
"abortStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>The message that Amazon Lex uses to cancel a conversation. For more\n information, see <a>PutBot</a>.</p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#Status",
"traits": {
"smithy.api#documentation": "<p> When you send a request to create or update a bot, Amazon Lex sets the\n <code>status</code> response element to <code>BUILDING</code>. After\n Amazon Lex builds the bot, it sets <code>status</code> to <code>READY</code>.\n If Amazon Lex can't build the bot, it sets <code>status</code> to\n <code>FAILED</code>. Amazon Lex returns the reason for the failure in the\n <code>failureReason</code> response element. </p>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the\n reason that it failed to build the bot.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date when the <code>$LATEST</code> version of this bot was\n updated. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date when the bot version was created.</p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.lexmodelbuildingservice#SessionTTL",
"traits": {
"smithy.api#documentation": "<p>The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see <a>PutBot</a>.</p>"
}
},
"voiceId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Polly voice ID that Amazon Lex uses for voice interactions\n with the user.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum identifying the version of the bot that was\n created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot. </p>"
}
},
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p> Specifies the target locale for the bot. </p>"
}
},
"childDirected": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>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 <code>true</code> or\n <code>false</code> in the <code>childDirected</code> field. By\n specifying <code>true</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is</b> 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 <code>false</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is not</b>\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 <code>childDirected</code> 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.</p>\n <p>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 <a href=\"https://aws.amazon.com/lex/faqs#data-security\">Amazon Lex FAQ.</a>\n </p>"
}
},
"enableModelImprovements": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the bot uses accuracy improvements.\n <code>true</code> indicates that the bot is using the improvements,\n otherwise, <code>false</code>.</p>"
}
},
"detectSentiment": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether utterances entered by the user should be sent to\n Amazon Comprehend for sentiment analysis.</p>"
}
}
}
},
"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": "<p>Creates a new version of an intent based on the\n <code>$LATEST</code> version of the intent. If the <code>$LATEST</code>\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.</p>\n <note>\n <p>You can update only the <code>$LATEST</code> version of the\n intent. You can't update the numbered versions that you create with the\n <code>CreateIntentVersion</code> operation.</p>\n </note>\n <p> 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 <a>versioning-intro</a>. </p>\n <p>This operation requires permissions to perform the\n <code>lex:CreateIntentVersion</code> action. </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/intents/{name}/versions",
"code": 201
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateIntentVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent that you want to create a new version of.\n The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the <code>$LATEST</code> version of the intent that\n should be used to create the new version. If you specify a checksum and\n the <code>$LATEST</code> version of the intent has a different checksum,\n Amazon Lex returns a <code>PreconditionFailedException</code> exception and\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the <code>$LATEST</code> version.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateIntentVersionResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the intent.</p>"
}
},
"slots": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotList",
"traits": {
"smithy.api#documentation": "<p>An array of slot types that defines the information required to\n fulfill the intent.</p>"
}
},
"sampleUtterances": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList",
"traits": {
"smithy.api#documentation": "<p>An array of sample utterances configured for the intent. </p>"
}
},
"confirmationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>If defined, the prompt that Amazon Lex uses to confirm the user's\n intent before fulfilling it. </p>"
}
},
"rejectionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>If the user answers \"no\" to the question defined in\n <code>confirmationPrompt</code>, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled. </p>"
}
},
"followUpPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt",
"traits": {
"smithy.api#documentation": "<p>If defined, Amazon Lex uses this prompt to solicit additional user\n activity after the intent is fulfilled. </p>"
}
},
"conclusionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>After the Lambda function specified in the\n <code>fulfillmentActivity</code> field fulfills the intent, Amazon Lex\n conveys this statement to the user. </p>"
}
},
"dialogCodeHook": {
"target": "com.amazonaws.lexmodelbuildingservice#CodeHook",
"traits": {
"smithy.api#documentation": "<p>If defined, Amazon Lex invokes this Lambda function for each user\n input.</p>"
}
},
"fulfillmentActivity": {
"target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity",
"traits": {
"smithy.api#documentation": "<p> Describes how the intent is fulfilled. </p>"
}
},
"parentIntentSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for a built-in intent.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was updated. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version number assigned to the new version of the\n intent.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the intent version created.</p>"
}
},
"kendraConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration",
"traits": {
"smithy.api#documentation": "<p>Configuration information, if any, for connecting an Amazon Kendra\n index with the <code>AMAZON.KendraSearchIntent</code> intent.</p>"
}
},
"inputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#InputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>InputContext</code> objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.</p>"
}
},
"outputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#OutputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>OutputContext</code> objects that lists the contexts\n that the intent activates when the intent is fulfilled.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersion": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionResponse"
},
"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": "<p>Creates a new version of a slot type based on the\n <code>$LATEST</code> version of the specified slot type. If the\n <code>$LATEST</code> 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. </p>\n <note>\n <p>You can update only the <code>$LATEST</code> version of a slot\n type. You can't update the numbered versions that you create with the\n <code>CreateSlotTypeVersion</code> operation.</p>\n </note>\n\n <p>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 <a>versioning-intro</a>. </p>\n\n <p>This operation requires permissions for the\n <code>lex:CreateSlotTypeVersion</code> action.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/slottypes/{name}/versions",
"code": 201
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type that you want to create a new version\n for. The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum for the <code>$LATEST</code> version of the slot type that\n you want to publish. If you specify a checksum and the\n <code>$LATEST</code> version of the slot type has a different checksum,\n Amazon Lex returns a <code>PreconditionFailedException</code> exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex\n publishes the <code>$LATEST</code> version.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot type.</p>"
}
},
"enumerationValues": {
"target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues",
"traits": {
"smithy.api#documentation": "<p>A list of <code>EnumerationValue</code> objects that defines the\n values that the slot type can take.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version assigned to the new slot type version. </p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the <code>$LATEST</code> version of the slot\n type.</p>"
}
},
"valueSelectionStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy",
"traits": {
"smithy.api#documentation": "<p>The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see <a>PutSlotType</a>.</p>"
}
},
"parentSlotTypeSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The built-in slot type used a the parent of the slot type.</p>"
}
},
"slotTypeConfigurations": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations",
"traits": {
"smithy.api#documentation": "<p>Configuration information that extends the parent built-in slot\n type.</p>"
}
}
}
},
"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": "<p>Deletes all versions of the bot, including the <code>$LATEST</code>\n version. To delete a specific version of the bot, use the <a>DeleteBotVersion</a> operation. The <code>DeleteBot</code>\n operation doesn't immediately remove the bot schema. Instead, it is marked\n for deletion and removed later.</p>\n <p>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 <a>DeleteUtterances</a> operation.</p>\n <p>If a bot has an alias, you can't delete it. Instead, the\n <code>DeleteBot</code> operation returns a\n <code>ResourceInUseException</code> 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 <code>DeleteBot</code> operation is\n successful.</p>\n\n <p>This operation requires permissions for the\n <code>lex:DeleteBot</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/bots/{name}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteBotAlias": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#DeleteBotAliasRequest"
},
"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": "<p>Deletes an alias for the specified bot. </p>\n <p>You 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 <code>DeleteBot</code> operation returns a\n <code>ResourceInUseException</code> 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 <code>DeleteBotAlias</code> operation is successful.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/bots/{botName}/aliases/{name}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteBotAliasRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>The name of the alias to delete. The name is case sensitive.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot that the alias points to.</p>",
"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": "<p>Deletes the association between an Amazon Lex bot and a messaging\n platform.</p>\n <p>This operation requires permission for the\n <code>lex:DeleteBotChannelAssociation</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/bots/{botName}/aliases/{botAlias}/channels/{name}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotChannelName",
"traits": {
"smithy.api#documentation": "<p>The name of the association. The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Lex bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>An alias that points to the specific version of the Amazon Lex bot to\n which this association is being made.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteBotRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot. The name is case sensitive. </p>",
"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": "<p>Deletes a specific version of a bot. To delete all versions of a\n bot, use the <a>DeleteBot</a> operation. </p>\n <p>This operation requires permissions for the\n <code>lex:DeleteBotVersion</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/bots/{name}/versions/{version}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteBotVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the bot to delete. You cannot delete the\n <code>$LATEST</code> version of the bot. To delete the\n <code>$LATEST</code> version, use the <a>DeleteBot</a>\n operation.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteIntent": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentRequest"
},
"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": "<p>Deletes all versions of the intent, including the\n <code>$LATEST</code> version. To delete a specific version of the\n intent, use the <a>DeleteIntentVersion</a> operation.</p>\n <p> 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 <a>how-it-works</a>), you must remove those references\n first. </p>\n <note>\n <p> If you get the <code>ResourceInUseException</code> 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 <code>DeleteIntent</code> is successful. </p>\n </note>\n\n <p> This operation requires permission for the\n <code>lex:DeleteIntent</code> action. </p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/intents/{name}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteIntentRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent. The name is case sensitive. </p>",
"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": "<p>Deletes a specific version of an intent. To delete all versions of\n a intent, use the <a>DeleteIntent</a> operation. </p>\n <p>This operation requires permissions for the\n <code>lex:DeleteIntentVersion</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/intents/{name}/versions/{version}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the intent to delete. You cannot delete the\n <code>$LATEST</code> version of the intent. To delete the\n <code>$LATEST</code> version, use the <a>DeleteIntent</a>\n operation.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteSlotType": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeRequest"
},
"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": "<p>Deletes all versions of the slot type, including the\n <code>$LATEST</code> version. To delete a specific version of the slot\n type, use the <a>DeleteSlotTypeVersion</a> operation.</p>\n <p> 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. </p>\n <note>\n <p> If you get the <code>ResourceInUseException</code> 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 <code>DeleteSlotType</code> call is\n successful. </p>\n </note>\n <p>This operation requires permission for the\n <code>lex:DeleteSlotType</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/slottypes/{name}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type. The name is case sensitive. </p>",
"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": "<p>Deletes a specific version of a slot type. To delete all versions\n of a slot type, use the <a>DeleteSlotType</a> operation. </p>\n <p>This operation requires permissions for the\n <code>lex:DeleteSlotTypeVersion</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/slottypes/{name}/version/{version}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type to delete. You cannot delete the\n <code>$LATEST</code> version of the slot type. To delete the\n <code>$LATEST</code> version, use the <a>DeleteSlotType</a>\n operation.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteUtterances": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#DeleteUtterancesRequest"
},
"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": "<p>Deletes stored utterances.</p>\n <p>Amazon Lex stores the utterances that users send to your bot. Utterances\n are stored for 15 days for use with the <a>GetUtterancesView</a> operation, and then stored indefinitely for use in improving the\n ability of your bot to respond to user input.</p>\n <p>Use the <code>DeleteUtterances</code> operation to manually delete\n stored utterances for a specific user. When you use the\n <code>DeleteUtterances</code> 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 <code>GetUtterancesView</code>\n operation are deleted after 15 days.</p>\n <p>This operation requires permissions for the\n <code>lex:DeleteUtterances</code> action.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/bots/{botName}/utterances/{userId}",
"code": 204
}
}
},
"com.amazonaws.lexmodelbuildingservice#DeleteUtterancesRequest": {
"type": "structure",
"members": {
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot that stored the utterances.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"userId": {
"target": "com.amazonaws.lexmodelbuildingservice#UserId",
"traits": {
"smithy.api#documentation": "<p> The unique identifier for the user that made the utterances. This\n is the user ID that was sent in the <a href=\"http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html\">PostContent</a> or <a href=\"http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html\">PostText</a> operation request that contained the\n utterance.</p>",
"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": "<p>The value of the slot type.</p>",
"smithy.api#required": {}
}
},
"synonyms": {
"target": "com.amazonaws.lexmodelbuildingservice#SynonymList",
"traits": {
"smithy.api#documentation": "<p>Additional values related to the slot type value.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Each slot type can have a set of values. Each enumeration value\n represents a value the slot type can take. </p>\n <p>For 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 </p>\n <ul>\n <li>\n <p>thick</p>\n </li>\n <li>\n <p>thin</p>\n </li>\n <li>\n <p>stuffed</p>\n </li>\n </ul>"
}
},
"com.amazonaws.lexmodelbuildingservice#EnumerationValues": {
"type": "list",
"member": {
"target": "com.amazonaws.lexmodelbuildingservice#EnumerationValue"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 10000
}
}
},
"com.amazonaws.lexmodelbuildingservice#ExportStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "READY",
"name": "READY"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.lexmodelbuildingservice#ExportType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALEXA_SKILLS_KIT",
"name": "ALEXA_SKILLS_KIT"
},
{
"value": "LEX",
"name": "LEX"
}
]
}
},
"com.amazonaws.lexmodelbuildingservice#FollowUpPrompt": {
"type": "structure",
"members": {
"prompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>Prompts for information from the user. </p>",
"smithy.api#required": {}
}
},
"rejectionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>If the user answers \"no\" to the question defined in the\n <code>prompt</code> field, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A prompt for additional activity after an intent is fulfilled. For\n example, after the <code>OrderPizza</code> intent is fulfilled, you might\n prompt the user to find out whether the user wants to order\n drinks.</p>"
}
},
"com.amazonaws.lexmodelbuildingservice#FulfillmentActivity": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivityType",
"traits": {
"smithy.api#documentation": "<p> How the intent should be fulfilled, either by running a Lambda\n function or by returning the slot data to the client application.\n </p>",
"smithy.api#required": {}
}
},
"codeHook": {
"target": "com.amazonaws.lexmodelbuildingservice#CodeHook",
"traits": {
"smithy.api#documentation": "<p> A description of the Lambda function that is run to fulfill the\n intent. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> 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. </p>\n\n\n <p>Consider the following examples:</p>\n <ul>\n <li>\n <p>In 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. </p>\n </li>\n <li>\n <p>In 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. </p>\n </li>\n </ul>"
}
},
"com.amazonaws.lexmodelbuildingservice#FulfillmentActivityType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ReturnIntent",
"name": "RETURN_INTENT"
},
{
"value": "CodeHook",
"name": "CODE_HOOK"
}
]
}
},
"com.amazonaws.lexmodelbuildingservice#GetBot": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotResponse"
},
"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": "<p>Returns metadata information for a specific bot. You must provide\n the bot name and the bot version or alias. </p>\n <p> This operation requires permissions for the\n <code>lex:GetBot</code> action. </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{name}/versions/{versionOrAlias}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotAlias": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasResponse"
},
"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": "<p>Returns information about an Amazon Lex bot alias. For more information\n about aliases, see <a>versioning-aliases</a>.</p>\n <p>This operation requires permissions for the\n <code>lex:GetBotAlias</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{botName}/aliases/{name}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotAliasRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot alias. The name is case sensitive.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotAliasResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot alias.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot alias.</p>"
}
},
"botVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot that the alias points to.</p>"
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot that the alias points to.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot alias was created.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the bot alias.</p>"
}
},
"conversationLogs": {
"target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse",
"traits": {
"smithy.api#documentation": "<p>The settings that determine how Amazon Lex uses conversation logs for the\n alias.</p>"
}
}
}
},
"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": "<p>Returns a list of aliases for a specified Amazon Lex bot.</p>\n <p>This operation requires permissions for the\n <code>lex:GetBotAliases</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{botName}/aliases",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotAliasesRequest": {
"type": "structure",
"members": {
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of aliases to return in the response. The\n default is 50. . </p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nameContains": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>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.\"</p>",
"smithy.api#httpQuery": "nameContains"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse": {
"type": "structure",
"members": {
"BotAliases": {
"target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BotAliasMetadata</code> objects, each describing\n a bot alias.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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": "<p>Returns information about the association between an Amazon Lex bot and\n a messaging platform.</p>\n <p>This operation requires permissions for the\n <code>lex:GetBotChannelAssociation</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{botName}/aliases/{botAlias}/channels/{name}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotChannelName",
"traits": {
"smithy.api#documentation": "<p>The name of the association between the bot and the channel. The\n name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Lex bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotChannelName",
"traits": {
"smithy.api#documentation": "<p>The name of the association between the bot and the\n channel.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the association between the bot and the\n channel.</p>"
}
},
"botAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.</p>"
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Lex bot.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the association between the bot and the channel was\n created.</p>"
}
},
"type": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelType",
"traits": {
"smithy.api#documentation": "<p>The type of the messaging platform.</p>"
}
},
"botConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap",
"traits": {
"smithy.api#documentation": "<p>Provides information that the messaging platform needs to\n communicate with the Amazon Lex bot.</p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the bot channel. </p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The channel has been created and is\n ready for use.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Channel creation is in\n progress.</p>\n </li>\n <li>\n <p>\n <code>FAILED</code> - There was an error creating the channel.\n For information about the reason for the failure, see the\n <code>failureReason</code> field.</p>\n </li>\n </ul>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the\n reason that it failed to create the association.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociations": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsResponse"
},
"errors": [
{
"target": "com.amazonaws.lexmodelbuildingservice#BadRequestException"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p> Returns a list of all of the channels associated with the\n specified bot. </p>\n <p>The <code>GetBotChannelAssociations</code> operation requires\n permissions for the <code>lex:GetBotChannelAssociations</code>\n action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{botName}/aliases/{botAlias}/channels",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsRequest": {
"type": "structure",
"members": {
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Lex bot in the association.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll",
"traits": {
"smithy.api#documentation": "<p>An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of associations to return in the response. The\n default is 50. </p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nameContains": {
"target": "com.amazonaws.lexmodelbuildingservice#BotChannelName",
"traits": {
"smithy.api#documentation": "<p>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 <code>nameContains</code>\n parameter.</p>",
"smithy.api#httpQuery": "nameContains"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsResponse": {
"type": "structure",
"members": {
"botChannelAssociations": {
"target": "com.amazonaws.lexmodelbuildingservice#BotChannelAssociationList",
"traits": {
"smithy.api#documentation": "<p>An array of objects, one for each association, that provides\n information about the Amazon Lex bot and its association with the channel.\n </p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot. The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"versionOrAlias": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The version or alias of the bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot.</p>"
}
},
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>intent</code> objects. For more information, see\n <a>PutBot</a>.</p>"
}
},
"enableModelImprovements": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the bot uses accuracy improvements.\n <code>true</code> indicates that the bot is using the improvements,\n otherwise, <code>false</code>.</p>"
}
},
"nluIntentConfidenceThreshold": {
"target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold",
"traits": {
"smithy.api#documentation": "<p>The score that determines where Amazon Lex inserts the\n <code>AMAZON.FallbackIntent</code>,\n <code>AMAZON.KendraSearchIntent</code>, or both when returning\n alternative intents in a <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html\">PostContent</a> or\n <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html\">PostText</a> response.\n <code>AMAZON.FallbackIntent</code> is inserted if the confidence score\n for all intents is below this value.\n <code>AMAZON.KendraSearchIntent</code> is only inserted if it is\n configured for the bot.</p>"
}
},
"clarificationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>The message Amazon Lex uses when it doesn't understand the user's\n request. For more information, see <a>PutBot</a>. </p>"
}
},
"abortStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>The message that Amazon Lex returns when the user elects to end the\n conversation without completing it. For more information, see <a>PutBot</a>.</p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#Status",
"traits": {
"smithy.api#documentation": "<p>The status of the bot. </p>\n <p>When the status is <code>BUILDING</code> Amazon Lex is building the bot\n for testing and use.</p>\n <p>If the status of the bot is <code>READY_BASIC_TESTING</code>, 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 <code>READY</code>.</p>\n <p>If there was a problem with building the bot, the status is\n <code>FAILED</code> and the <code>failureReason</code> field explains\n why the bot did not build.</p>\n <p>If the bot was saved but not built, the status is\n <code>NOT_BUILT</code>.</p>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex explains why\n it failed to build the bot.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was created.</p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.lexmodelbuildingservice#SessionTTL",
"traits": {
"smithy.api#documentation": "<p>The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see <a>PutBot</a>.</p>"
}
},
"voiceId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see <a>PutBot</a>.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the bot used to identify a specific revision of the\n bot's <code>$LATEST</code> version.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot. For a new bot, the version is always\n <code>$LATEST</code>.</p>"
}
},
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p> The target locale for the bot. </p>"
}
},
"childDirected": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>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 <code>true</code> or\n <code>false</code> in the <code>childDirected</code> field. By\n specifying <code>true</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is</b> 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 <code>false</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is not</b>\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 <code>childDirected</code> 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.</p>\n <p>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 <a href=\"https://aws.amazon.com/lex/faqs#data-security\">Amazon Lex FAQ.</a>\n </p>"
}
},
"detectSentiment": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether user utterances should be sent to Amazon Comprehend\n for sentiment analysis.</p>"
}
}
}
},
"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": "<p>Gets information about all of the versions of a bot.</p>\n <p>The <code>GetBotVersions</code> operation returns a\n <code>BotMetadata</code> object for each version of a bot. For example,\n if a bot has three numbered versions, the <code>GetBotVersions</code>\n operation returns four <code>BotMetadata</code> objects in the response,\n one for each numbered version and one for the <code>$LATEST</code>\n version. </p>\n <p>The <code>GetBotVersions</code> operation always returns at least\n one version, the <code>$LATEST</code> version.</p>\n <p>This operation requires permissions for the\n <code>lex:GetBotVersions</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{name}/versions",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotVersionsRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot for which versions should be\n returned.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of bot versions to return in the response. The\n default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse": {
"type": "structure",
"members": {
"bots": {
"target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BotMetadata</code> objects, one for each numbered\n version of the bot plus one for the <code>$LATEST</code>\n version.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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": "<p>Returns bot information as follows: </p>\n <ul>\n <li>\n <p>If you provide the <code>nameContains</code> field, the\n response includes information for the <code>$LATEST</code> version of\n all bots whose name contains the specified string.</p>\n </li>\n <li>\n <p>If you don't specify the <code>nameContains</code> field, the\n operation returns information about the <code>$LATEST</code> version\n of all of your bots.</p>\n </li>\n </ul>\n <p>This operation requires permission for the <code>lex:GetBots</code>\n action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotsRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of bots to return in the response that the\n request will return. The default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nameContains": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>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.\"</p>",
"smithy.api#httpQuery": "nameContains"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBotsResponse": {
"type": "structure",
"members": {
"bots": {
"target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>botMetadata</code> objects, with one entry for\n each bot. </p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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 </p>"
}
}
}
},
"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": "<p>Returns information about a built-in intent.</p>\n <p>This operation requires permission for the\n <code>lex:GetBuiltinIntent</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/builtins/intents/{signature}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentRequest": {
"type": "structure",
"members": {
"signature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>The unique identifier for a built-in intent. To find the signature\n for an intent, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents\">Standard Built-in Intents</a> in the <i>Alexa Skills\n Kit</i>.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse": {
"type": "structure",
"members": {
"signature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>The unique identifier for a built-in intent.</p>"
}
},
"supportedLocales": {
"target": "com.amazonaws.lexmodelbuildingservice#LocaleList",
"traits": {
"smithy.api#documentation": "<p>A list of locales that the intent supports.</p>"
}
},
"slots": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuiltinIntentSlot</code> objects, one entry for\n each slot type in the intent.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinIntents": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsResponse"
},
"errors": [
{
"target": "com.amazonaws.lexmodelbuildingservice#BadRequestException"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException"
},
{
"target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a list of built-in intents that meet the specified\n criteria.</p>\n <p>This operation requires permission for the\n <code>lex:GetBuiltinIntents</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/builtins/intents",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsRequest": {
"type": "structure",
"members": {
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p>A list of locales that the intent supports.</p>",
"smithy.api#httpQuery": "locale"
}
},
"signatureContains": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents\">Standard Built-in Intents</a> in the <i>Alexa Skills\n Kit</i>.</p>",
"smithy.api#httpQuery": "signatureContains"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of intents to return in the response. The\n default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsResponse": {
"type": "structure",
"members": {
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>builtinIntentMetadata</code> objects, one for\n each intent in the response.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
}
},
"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": "<p>Gets a list of built-in slot types that meet the specified\n criteria.</p>\n <p>For a list of built-in slot types, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference\">Slot Type Reference</a> in the <i>Alexa Skills\n Kit</i>.</p>\n\n <p>This operation requires permission for the\n <code>lex:GetBuiltInSlotTypes</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/builtins/slottypes",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesRequest": {
"type": "structure",
"members": {
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p>A list of locales that the slot type supports.</p>",
"smithy.api#httpQuery": "locale"
}
},
"signatureContains": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>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.\"</p>",
"smithy.api#httpQuery": "signatureContains"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of slot types to return in the response. The\n default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesResponse": {
"type": "structure",
"members": {
"slotTypes": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuiltInSlotTypeMetadata</code> objects, one entry\n for each slot type returned.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
}
},
"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": "<p>Exports the contents of a Amazon Lex resource in a specified format.\n </p>",
"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": "<p>The name of the bot to export.</p>",
"smithy.api#httpQuery": "name",
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the bot to export.</p>",
"smithy.api#httpQuery": "version",
"smithy.api#required": {}
}
},
"resourceType": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of resource to export. </p>",
"smithy.api#httpQuery": "resourceType",
"smithy.api#required": {}
}
},
"exportType": {
"target": "com.amazonaws.lexmodelbuildingservice#ExportType",
"traits": {
"smithy.api#documentation": "<p>The format of the exported data.</p>",
"smithy.api#httpQuery": "exportType",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetExportResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#Name",
"traits": {
"smithy.api#documentation": "<p>The name of the bot being exported.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the bot being exported.</p>"
}
},
"resourceType": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the exported resource.</p>"
}
},
"exportType": {
"target": "com.amazonaws.lexmodelbuildingservice#ExportType",
"traits": {
"smithy.api#documentation": "<p>The format of the exported data.</p>"
}
},
"exportStatus": {
"target": "com.amazonaws.lexmodelbuildingservice#ExportStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the export. </p>\n <ul>\n <li>\n <p>\n <code>IN_PROGRESS</code> - The export is in progress.</p>\n </li>\n <li>\n <p>\n <code>READY</code> - The export is complete.</p>\n </li>\n <li>\n <p>\n <code>FAILED</code> - The export could not be\n completed.</p>\n </li>\n </ul>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the\n reason that it failed to export the resource.</p>"
}
},
"url": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
}
},
"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": "<p>Gets information about an import job started with the\n <code>StartImport</code> operation.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/imports/{importId}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetImportRequest": {
"type": "structure",
"members": {
"importId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The identifier of the import job information to return.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetImportResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#Name",
"traits": {
"smithy.api#documentation": "<p>The name given to the import job.</p>"
}
},
"resourceType": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of resource imported.</p>"
}
},
"mergeStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy",
"traits": {
"smithy.api#documentation": "<p>The action taken when there was a conflict between an existing\n resource and a resource in the import file.</p>"
}
},
"importId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The identifier for the specific import job.</p>"
}
},
"importStatus": {
"target": "com.amazonaws.lexmodelbuildingservice#ImportStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the import job. If the status is <code>FAILED</code>,\n you can get the reason for the failure from the <code>failureReason</code>\n field.</p>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#StringList",
"traits": {
"smithy.api#documentation": "<p>A string that describes why an import job failed to\n complete.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>A timestamp for the date and time that the import job was\n created.</p>"
}
}
}
},
"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": "<p> Returns information about an intent. In addition to the intent\n name, you must specify the intent version. </p>\n <p> This operation requires permissions to perform the\n <code>lex:GetIntent</code> action. </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/intents/{name}/versions/{version}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent. The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the intent.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the intent.</p>"
}
},
"slots": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotList",
"traits": {
"smithy.api#documentation": "<p>An array of intent slots configured for the intent.</p>"
}
},
"sampleUtterances": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList",
"traits": {
"smithy.api#documentation": "<p>An array of sample utterances configured for the intent.</p>"
}
},
"confirmationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>If defined in the bot, Amazon Lex uses prompt to confirm the intent\n before fulfilling the user's request. For more information, see <a>PutIntent</a>. </p>"
}
},
"rejectionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>If the user answers \"no\" to the question defined in\n <code>confirmationPrompt</code>, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled. </p>"
}
},
"followUpPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt",
"traits": {
"smithy.api#documentation": "<p>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 <a>PutIntent</a>.</p>"
}
},
"conclusionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>After the Lambda function specified in the\n <code>fulfillmentActivity</code> element fulfills the intent, Amazon Lex\n conveys this statement to the user.</p>"
}
},
"dialogCodeHook": {
"target": "com.amazonaws.lexmodelbuildingservice#CodeHook",
"traits": {
"smithy.api#documentation": "<p>If defined in the bot, Amazon Amazon Lex invokes this Lambda function\n for each user input. For more information, see <a>PutIntent</a>. </p>"
}
},
"fulfillmentActivity": {
"target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity",
"traits": {
"smithy.api#documentation": "<p>Describes how the intent is fulfilled. For more information, see\n <a>PutIntent</a>. </p>"
}
},
"parentIntentSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for a built-in intent.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was updated. When you create a resource,\n the creation date and the last updated date are the same. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the intent.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the intent.</p>"
}
},
"kendraConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration",
"traits": {
"smithy.api#documentation": "<p>Configuration information, if any, to connect to an Amazon Kendra\n index with the <code>AMAZON.KendraSearchIntent</code> intent.</p>"
}
},
"inputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#InputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>InputContext</code> objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.</p>"
}
},
"outputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#OutputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>OutputContext</code> objects that lists the contexts\n that the intent activates when the intent is fulfilled.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentVersions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsResponse"
},
"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": "<p>Gets information about all of the versions of an intent.</p>\n <p>The <code>GetIntentVersions</code> operation returns an\n <code>IntentMetadata</code> object for each version of an intent. For\n example, if an intent has three numbered versions, the\n <code>GetIntentVersions</code> operation returns four\n <code>IntentMetadata</code> objects in the response, one for each\n numbered version and one for the <code>$LATEST</code> version. </p>\n <p>The <code>GetIntentVersions</code> operation always returns at\n least one version, the <code>$LATEST</code> version.</p>\n <p>This operation requires permissions for the\n <code>lex:GetIntentVersions</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/intents/{name}/versions",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentVersionsRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent for which versions should be\n returned.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of intent versions to return in the response.\n The default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentVersionsResponse": {
"type": "structure",
"members": {
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>IntentMetadata</code> objects, one for each\n numbered version of the intent plus one for the <code>$LATEST</code>\n version.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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": "<p>Returns intent information as follows: </p>\n <ul>\n <li>\n <p>If you specify the <code>nameContains</code> field, returns the\n <code>$LATEST</code> version of all intents that contain the\n specified string.</p>\n </li>\n <li>\n <p> If you don't specify the <code>nameContains</code> field,\n returns information about the <code>$LATEST</code> version of all\n intents. </p>\n </li>\n </ul>\n <p> The operation requires permission for the\n <code>lex:GetIntents</code> action. </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/intents",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentsRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of intents to return in the response. The\n default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nameContains": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>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.\"</p>",
"smithy.api#httpQuery": "nameContains"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetIntentsResponse": {
"type": "structure",
"members": {
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>Intent</code> objects. For more information, see\n <a>PutBot</a>.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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": "<p>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.</p>\n <p>This operation requires permissions for the\n <code>lex:GetSlotType</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/slottypes/{name}/versions/{version}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypeRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type. The name is case sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot type.</p>"
}
},
"enumerationValues": {
"target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues",
"traits": {
"smithy.api#documentation": "<p>A list of <code>EnumerationValue</code> objects that defines the\n values that the slot type can take.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the <code>$LATEST</code> version of the slot\n type.</p>"
}
},
"valueSelectionStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy",
"traits": {
"smithy.api#documentation": "<p>The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see <a>PutSlotType</a>.</p>"
}
},
"parentSlotTypeSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The built-in slot type used as a parent for the slot type.</p>"
}
},
"slotTypeConfigurations": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations",
"traits": {
"smithy.api#documentation": "<p>Configuration information that extends the parent built-in slot\n type.</p>"
}
}
}
},
"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": "<p>Gets information about all versions of a slot type.</p>\n <p>The <code>GetSlotTypeVersions</code> operation returns a\n <code>SlotTypeMetadata</code> object for each version of a slot type.\n For example, if a slot type has three numbered versions, the\n <code>GetSlotTypeVersions</code> operation returns four\n <code>SlotTypeMetadata</code> objects in the response, one for each\n numbered version and one for the <code>$LATEST</code> version. </p>\n <p>The <code>GetSlotTypeVersions</code> operation always returns at\n least one version, the <code>$LATEST</code> version.</p>\n <p>This operation requires permissions for the\n <code>lex:GetSlotTypeVersions</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/slottypes/{name}/versions",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type for which versions should be\n returned.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of slot type versions to return in the response.\n The default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse": {
"type": "structure",
"members": {
"slotTypes": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>SlotTypeMetadata</code> objects, one for each\n numbered version of the slot type plus one for the <code>$LATEST</code>\n version.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
}
},
"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": "<p>Returns slot type information as follows: </p>\n <ul>\n <li>\n <p>If you specify the <code>nameContains</code> field, returns the\n <code>$LATEST</code> version of all slot types that contain the\n specified string.</p>\n </li>\n <li>\n <p> If you don't specify the <code>nameContains</code> field,\n returns information about the <code>$LATEST</code> version of all slot\n types. </p>\n </li>\n </ul>\n <p> The operation requires permission for the\n <code>lex:GetSlotTypes</code> action. </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/slottypes",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypesRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.lexmodelbuildingservice#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of slot types to return in the response. The\n default is 10.</p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nameContains": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>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.\"</p>",
"smithy.api#httpQuery": "nameContains"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetSlotTypesResponse": {
"type": "structure",
"members": {
"slotTypes": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.lexmodelbuildingservice#NextToken",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
}
},
"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": "<p>Use the <code>GetUtterancesView</code> 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.</p>\n <p>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 <code>GetUtterancesView</code> 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 <code>OrderFlowers</code> intent so that your bot\n recognizes that utterance.</p>\n <p>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. </p>\n <p>Utterance 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.</p>\n <p>If you set <code>childDirected</code> 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.</p>\n <p>This operation requires permissions for the\n <code>lex:GetUtterancesView</code> action.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bots/{botName}/utterances?view=aggregation",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetUtterancesViewRequest": {
"type": "structure",
"members": {
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot for which utterance information should be\n returned.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"botVersions": {
"target": "com.amazonaws.lexmodelbuildingservice#BotVersions",
"traits": {
"smithy.api#documentation": "<p>An array of bot versions for which utterance information should be\n returned. The limit is 5 versions per request.</p>",
"smithy.api#httpQuery": "bot_versions",
"smithy.api#required": {}
}
},
"statusType": {
"target": "com.amazonaws.lexmodelbuildingservice#StatusType",
"traits": {
"smithy.api#documentation": "<p>To return utterances that were recognized and handled, use\n <code>Detected</code>. To return utterances that were not recognized,\n use <code>Missed</code>.</p>",
"smithy.api#httpQuery": "status_type",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GetUtterancesViewResponse": {
"type": "structure",
"members": {
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot for which utterance information was\n returned.</p>"
}
},
"utterances": {
"target": "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances",
"traits": {
"smithy.api#documentation": "<p>An array of <a>UtteranceList</a> objects, each\n containing a list of <a>UtteranceData</a> objects describing\n the utterances that were processed by your bot. The response contains a\n maximum of 100 <code>UtteranceData</code> objects for each version. Amazon Lex\n returns the most frequent utterances received by the bot in the last 15\n days.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#GroupNumber": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 5
}
}
},
"com.amazonaws.lexmodelbuildingservice#IamRoleArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 20,
"max": 2048
},
"smithy.api#pattern": "^arn:[\\w\\-]+:iam::[\\d]{12}:role/.+$"
}
},
"com.amazonaws.lexmodelbuildingservice#ImportStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "COMPLETE",
"name": "COMPLETE"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.lexmodelbuildingservice#InputContext": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#InputContextName",
"traits": {
"smithy.api#documentation": "<p>The name of the context.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The name of a context that must be active for an intent to be selected\n by Amazon Lex.</p>"
}
},
"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": "<p>The name of the intent.</p>",
"smithy.api#required": {}
}
},
"intentVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the intent.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Identifies the specific version of an intent.</p>"
}
},
"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": "<p>The name of the intent.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the intent.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was updated. When you create an intent,\n the creation date and last updated date are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the intent.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about an intent.</p>"
}
},
"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": "<p>An internal Amazon Lex error occurred. Try your request again.</p>",
"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": "<p>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 <code>PutIntent</code> operation.</p>",
"smithy.api#required": {}
}
},
"queryFilterString": {
"target": "com.amazonaws.lexmodelbuildingservice#QueryFilterString",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"http://docs.aws.amazon.com/kendra/latest/dg/filtering.html\">Filtering\n queries</a>.</p>\n <p>You can override this filter string with a new filter string at\n runtime.</p>"
}
},
"role": {
"target": "com.amazonaws.lexmodelbuildingservice#roleArn",
"traits": {
"smithy.api#documentation": "<p>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 <code>PutIntent</code> operation.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html\">\n AMAZON.KendraSearchIntent</a>.</p>"
}
},
"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": "<p>The request exceeded a limit. Try your request again.</p>",
"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": "<p>Gets a list of tags associated with the specified resource. Only bots,\n bot aliases, and bot channels can have tags associated with them.</p>",
"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": "<p>The Amazon Resource Name (ARN) of the resource to get a list of tags\n for.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>The tags associated with a resource.</p>"
}
}
}
},
"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": "<p>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.</p>",
"smithy.api#required": {}
}
},
"destination": {
"target": "com.amazonaws.lexmodelbuildingservice#Destination",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"kmsKeyArn": {
"target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"resourceArn": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs should be delivered.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Settings used to configure delivery mode and destination for\n conversation logs.</p>"
}
},
"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": "<p>The type of logging that is enabled.</p>"
}
},
"destination": {
"target": "com.amazonaws.lexmodelbuildingservice#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination where logs are delivered.</p>"
}
},
"kmsKeyArn": {
"target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the key used to encrypt audio logs\n in an S3 bucket.</p>"
}
},
"resourceArn": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs are delivered.</p>"
}
},
"resourcePrefix": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourcePrefix",
"traits": {
"smithy.api#documentation": "<p>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. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The settings for conversation logs.</p>"
}
},
"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": "<p>The content type of the message string.</p>",
"smithy.api#required": {}
}
},
"content": {
"target": "com.amazonaws.lexmodelbuildingservice#ContentString",
"traits": {
"smithy.api#documentation": "<p>The text of the message.</p>",
"smithy.api#required": {}
}
},
"groupNumber": {
"target": "com.amazonaws.lexmodelbuildingservice#GroupNumber",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The message object that provides the message text and its\n type.</p>"
}
},
"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": "<p>The resource specified in the request was not found. Check the\n resource and try again.</p>",
"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": "<p>The name of the context.</p>",
"smithy.api#required": {}
}
},
"timeToLiveInSeconds": {
"target": "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds",
"traits": {
"smithy.api#documentation": "<p>The number of seconds that the context should be active after it is\n first sent in a <code>PostContent</code> or <code>PostText</code>\n response. You can set the value between 5 and 86,400 seconds (24\n hours).</p>",
"smithy.api#required": {}
}
},
"turnsToLive": {
"target": "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive",
"traits": {
"smithy.api#documentation": "<p>The number of conversation turns that the context should be active. A\n conversation turn is one <code>PostContent</code> or <code>PostText</code>\n request and the corresponding response from Amazon Lex.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The specification of an output context that is set when an intent is\n fulfilled.</p>"
}
},
"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": "<p> 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.</p>",
"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": "<p>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).</p>",
"smithy.api#required": {}
}
},
"maxAttempts": {
"target": "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts",
"traits": {
"smithy.api#documentation": "<p>The number of times to prompt the user for information.</p>",
"smithy.api#required": {}
}
},
"responseCard": {
"target": "com.amazonaws.lexmodelbuildingservice#ResponseCard",
"traits": {
"smithy.api#documentation": "<p>A response card. Amazon Lex uses this prompt at runtime, in the\n <code>PostText</code> API response. It substitutes session attributes\n and slot values for placeholders in the response card. For more\n information, see <a>ex-resp-card</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>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 <a>how-it-works</a>.</p>"
}
},
"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": "<p>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 <code></code> response\n <code>FAILED</code>. You can build the bot after you add one or more\n intents. For more information about Amazon Lex bots, see <a>how-it-works</a>. </p>\n <p>If you specify the name of an existing bot, the fields in the\n request replace the existing values in the <code>$LATEST</code> version of\n the bot. Amazon Lex removes any fields that you don't provide values for in the\n request, except for the <code>idleTTLInSeconds</code> and\n <code>privacySettings</code> fields, which are set to their default\n values. If you don't specify values for required fields, Amazon Lex throws an\n exception.</p>\n\n <p>This operation requires permissions for the <code>lex:PutBot</code>\n action. For more information, see <a>security-iam</a>.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/bots/{name}/versions/$LATEST",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutBotAlias": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#PutBotAliasRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#PutBotAliasResponse"
},
"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": "<p>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 <a>versioning-aliases</a>.</p>\n <p>This operation requires permissions for the\n <code>lex:PutBotAlias</code> action. </p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/bots/{botName}/aliases/{name}",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutBotAliasRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>The name of the alias. The name is <i>not</i> case\n sensitive.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the alias.</p>"
}
},
"botVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot.</p>",
"smithy.api#required": {}
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Identifies a specific revision of the <code>$LATEST</code>\n version.</p>\n <p>When you create a new bot alias, leave the <code>checksum</code>\n field blank. If you specify a checksum you get a\n <code>BadRequestException</code> exception.</p>\n <p>When you want to update a bot alias, set the <code>checksum</code>\n field to the checksum of the most recent revision of the\n <code>$LATEST</code> version. If you don't specify the <code>\n checksum</code> field, or if the checksum does not match the\n <code>$LATEST</code> version, you get a\n <code>PreconditionFailedException</code> exception.</p>"
}
},
"conversationLogs": {
"target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest",
"traits": {
"smithy.api#documentation": "<p>Settings for conversation logs for the alias.</p>"
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>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 <code>PutBotAlias</code> operation to\n update the tags on a bot alias. To update tags, use the\n <code>TagResource</code> operation.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutBotAliasResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#AliasName",
"traits": {
"smithy.api#documentation": "<p>The name of the alias.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the alias.</p>"
}
},
"botVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot that the alias points to.</p>"
}
},
"botName": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot that the alias points to.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot alias was created.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The checksum for the current version of the alias.</p>"
}
},
"conversationLogs": {
"target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse",
"traits": {
"smithy.api#documentation": "<p>The settings that determine how Amazon Lex uses conversation logs for the\n alias.</p>"
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tags associated with a bot.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutBotRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot. The name is <i>not</i> case\n sensitive. </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot.</p>"
}
},
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>Intent</code> 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 <a>how-it-works</a>.</p>"
}
},
"enableModelImprovements": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Set to <code>true</code> to enable access to natural language\n understanding improvements. </p>\n <p>When you set the <code>enableModelImprovements</code> parameter to\n <code>true</code> you can use the\n <code>nluIntentConfidenceThreshold</code> parameter to configure\n confidence scores. For more information, see <a href=\"https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html\">Confidence Scores</a>.</p>\n <p>You can only set the <code>enableModelImprovements</code> parameter in\n certain Regions. If you set the parameter to <code>true</code>, your bot\n has access to accuracy improvements.</p>\n <p>The Regions where you can set the <code>enableModelImprovements</code>\n parameter to <code>true</code> are:</p>\n <ul>\n <li>\n <p>US East (N. Virginia) (us-east-1)</p>\n </li>\n <li>\n <p>US West (Oregon) (us-west-2)</p>\n </li>\n <li>\n <p>Asia Pacific (Sydney) (ap-southeast-2)</p>\n </li>\n <li>\n <p>EU (Ireland) (eu-west-1)</p>\n </li>\n </ul>\n <p>In other Regions, the <code>enableModelImprovements</code> parameter\n is set to <code>true</code> by default. In these Regions setting the\n parameter to <code>false</code> throws a <code>ValidationException</code>\n exception.</p>"
}
},
"nluIntentConfidenceThreshold": {
"target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold",
"traits": {
"smithy.api#documentation": "<p>Determines the threshold where Amazon Lex will insert the\n <code>AMAZON.FallbackIntent</code>,\n <code>AMAZON.KendraSearchIntent</code>, or both when returning\n alternative intents in a <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html\">PostContent</a> or\n <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html\">PostText</a> response.\n <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> are only inserted if they are\n configured for the bot.</p>\n <p>You must set the <code>enableModelImprovements</code> parameter to\n <code>true</code> to use confidence scores in the following\n regions.</p>\n <ul>\n <li>\n <p>US East (N. Virginia) (us-east-1)</p>\n </li>\n <li>\n <p>US West (Oregon) (us-west-2)</p>\n </li>\n <li>\n <p>Asia Pacific (Sydney) (ap-southeast-2)</p>\n </li>\n <li>\n <p>EU (Ireland) (eu-west-1)</p>\n </li>\n </ul>\n <p>In other Regions, the <code>enableModelImprovements</code> parameter\n is set to <code>true</code> by default.</p>\n <p>For example, suppose a bot is configured with the confidence threshold\n of 0.80 and the <code>AMAZON.FallbackIntent</code>. 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 <code>PostText</code> operation would be:</p>\n <ul>\n <li>\n <p>AMAZON.FallbackIntent</p>\n </li>\n <li>\n <p>IntentA</p>\n </li>\n <li>\n <p>IntentB</p>\n </li>\n <li>\n <p>IntentC</p>\n </li>\n </ul>"
}
},
"clarificationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>When 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 <code>maxAttempts</code> field.\n If Amazon Lex still doesn't understand, it sends the message in the\n <code>abortStatement</code> field. </p>\n <p>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.'\"</p>\n <p>If 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 <code>maxAttempts</code> field. For more information, see <a href=\"https://docs.aws.amazon.com/lex/latest/dg/built-in-intent-fallback.html\">\n AMAZON.FallbackIntent</a>.</p>\n <p>If you don't define a clarification prompt, at runtime Amazon Lex will\n return a 400 Bad Request exception in three cases: </p>\n <ul>\n <li>\n <p>Follow-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.</p>\n </li>\n <li>\n <p>Lambda function - When using a Lambda function, you return an\n <code>ElicitIntent</code> 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.</p>\n </li>\n <li>\n <p>PutSession operation - When using the <code>PutSession</code>\n operation, you send an <code>ElicitIntent</code> 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.</p>\n </li>\n </ul>"
}
},
"abortStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>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 <code>abortStatement</code> to the user, and then cancels the\n conversation. To set the number of retries, use the\n <code>valueElicitationPrompt</code> field for the slot type. </p>\n <p>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. </p>\n <p>For example, in a pizza ordering application,\n <code>OrderPizza</code> might be one of the intents. This intent might\n require the <code>CrustType</code> slot. You specify the\n <code>valueElicitationPrompt</code> field when you create the\n <code>CrustType</code> slot.</p>\n <p>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 <a href=\"https://docs.aws.amazon.com/lex/latest/dg/built-in-intent-fallback.html\">\n AMAZON.FallbackIntent</a>.</p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.lexmodelbuildingservice#SessionTTL",
"traits": {
"smithy.api#documentation": "<p>The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation.</p>\n <p>A 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.</p>\n <p>For 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.</p>\n <p>If you don't include the <code>idleSessionTTLInSeconds</code>\n element in a <code>PutBot</code> operation request, Amazon Lex uses the default\n value. This is also true if the request replaces an existing\n bot.</p>\n <p>The default is 300 seconds (5 minutes).</p>"
}
},
"voiceId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Voices\n in Amazon Polly</a> in the <i>Amazon Polly Developer\n Guide</i>.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Identifies a specific revision of the <code>$LATEST</code>\n version.</p>\n <p>When you create a new bot, leave the <code>checksum</code> field\n blank. If you specify a checksum you get a\n <code>BadRequestException</code> exception.</p>\n <p>When you want to update a bot, set the <code>checksum</code> field\n to the checksum of the most recent revision of the <code>$LATEST</code>\n version. If you don't specify the <code> checksum</code> field, or if the\n checksum does not match the <code>$LATEST</code> version, you get a\n <code>PreconditionFailedException</code> exception.</p>"
}
},
"processBehavior": {
"target": "com.amazonaws.lexmodelbuildingservice#ProcessBehavior",
"traits": {
"smithy.api#documentation": "<p>If you set the <code>processBehavior</code> element to\n <code>BUILD</code>, Amazon Lex builds the bot so that it can be run. If you\n set the element to <code>SAVE</code> Amazon Lex saves the bot, but doesn't\n build it. </p>\n <p>If you don't specify this value, the default value is\n <code>BUILD</code>.</p>"
}
},
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p> Specifies the target locale for the bot. Any intent used in the\n bot must be compatible with the locale of the bot. </p>\n\n <p>The default is <code>en-US</code>.</p>",
"smithy.api#required": {}
}
},
"childDirected": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>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 <code>true</code> or\n <code>false</code> in the <code>childDirected</code> field. By\n specifying <code>true</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is</b> 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 <code>false</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is not</b>\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 <code>childDirected</code> 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.</p>\n <p>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 <a href=\"https://aws.amazon.com/lex/faqs#data-security\">Amazon Lex FAQ.</a>\n </p>",
"smithy.api#required": {}
}
},
"detectSentiment": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>When set to <code>true</code> user utterances are sent to Amazon\n Comprehend for sentiment analysis. If you don't specify\n <code>detectSentiment</code>, the default is <code>false</code>.</p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>When set to <code>true</code> a new numbered version of the bot is\n created. This is the same as calling the <code>CreateBotVersion</code>\n operation. If you don't specify <code>createVersion</code>, the default is\n <code>false</code>.</p>"
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>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 <code>PutBot</code> operation to update\n the tags on a bot. To update tags, use the <code>TagResource</code>\n operation.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutBotResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#BotName",
"traits": {
"smithy.api#documentation": "<p>The name of the bot.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the bot.</p>"
}
},
"intents": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>Intent</code> objects. For more information, see\n <a>PutBot</a>.</p>"
}
},
"enableModelImprovements": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the bot uses accuracy improvements.\n <code>true</code> indicates that the bot is using the improvements,\n otherwise, <code>false</code>.</p>"
}
},
"nluIntentConfidenceThreshold": {
"target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold",
"traits": {
"smithy.api#documentation": "<p>The score that determines where Amazon Lex inserts the\n <code>AMAZON.FallbackIntent</code>,\n <code>AMAZON.KendraSearchIntent</code>, or both when returning\n alternative intents in a <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html\">PostContent</a> or\n <a href=\"https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html\">PostText</a> response.\n <code>AMAZON.FallbackIntent</code> is inserted if the confidence score\n for all intents is below this value.\n <code>AMAZON.KendraSearchIntent</code> is only inserted if it is\n configured for the bot.</p>"
}
},
"clarificationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p> The prompts that Amazon Lex uses when it doesn't understand the user's\n intent. For more information, see <a>PutBot</a>. </p>"
}
},
"abortStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>The message that Amazon Lex uses to cancel a conversation. For more\n information, see <a>PutBot</a>.</p>"
}
},
"status": {
"target": "com.amazonaws.lexmodelbuildingservice#Status",
"traits": {
"smithy.api#documentation": "<p> When you send a request to create a bot with\n <code>processBehavior</code> set to <code>BUILD</code>, Amazon Lex sets the\n <code>status</code> response element to <code>BUILDING</code>.</p>\n <p>In the <code>READY_BASIC_TESTING</code> 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.</p>\n <p>If Amazon Lex can't build the bot, Amazon Lex sets <code>status</code> to\n <code>FAILED</code>. Amazon Lex returns the reason for the failure in the\n <code>failureReason</code> response element. </p>\n <p>When you set <code>processBehavior</code> to <code>SAVE</code>,\n Amazon Lex sets the status code to <code>NOT BUILT</code>.</p>\n <p>When the bot is in the <code>READY</code> state you can test and\n publish the bot.</p>"
}
},
"failureReason": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the\n reason that it failed to build the bot.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the bot was created.</p>"
}
},
"idleSessionTTLInSeconds": {
"target": "com.amazonaws.lexmodelbuildingservice#SessionTTL",
"traits": {
"smithy.api#documentation": "<p>The maximum length of time that Amazon Lex retains the data gathered in\n a conversation. For more information, see <a>PutBot</a>.</p>"
}
},
"voiceId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see <a>PutBot</a>.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the bot that you created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot. For a new bot, the version is always\n <code>$LATEST</code>.</p>"
}
},
"locale": {
"target": "com.amazonaws.lexmodelbuildingservice#Locale",
"traits": {
"smithy.api#documentation": "<p> The target locale for the bot. </p>"
}
},
"childDirected": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>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 <code>true</code> or\n <code>false</code> in the <code>childDirected</code> field. By\n specifying <code>true</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is</b> 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 <code>false</code> in the <code>childDirected</code> field, you\n confirm that your use of Amazon Lex <b>is not</b>\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 <code>childDirected</code> 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.</p>\n <p>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 <a href=\"https://aws.amazon.com/lex/faqs#data-security\">Amazon Lex FAQ.</a>\n </p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>\n <code>True</code> if a new version of the bot was created. If the\n <code>createVersion</code> field was not specified in the request, the\n <code>createVersion</code> field is set to false in the\n response.</p>"
}
},
"detectSentiment": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>\n <code>true</code> if the bot is configured to send user utterances to\n Amazon Comprehend for sentiment analysis. If the\n <code>detectSentiment</code> field was not specified in the request, the\n <code>detectSentiment</code> field is <code>false</code> in the\n response.</p>"
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tags associated with the bot.</p>"
}
}
}
},
"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": "<p>Creates an intent or replaces an existing intent.</p>\n <p>To 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 <code>OrderPizza</code> intent. </p>\n <p>To create an intent or replace an existing intent, you must provide\n the following:</p>\n <ul>\n <li>\n <p>Intent name. For example, <code>OrderPizza</code>.</p>\n </li>\n <li>\n <p>Sample utterances. For example, \"Can I order a pizza, please.\"\n and \"I want to order a pizza.\"</p>\n </li>\n <li>\n <p>Information 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.</p>\n </li>\n <li>\n <p>How 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. </p>\n </li>\n </ul>\n <p>You can specify other optional information in the request, such\n as:</p>\n\n <ul>\n <li>\n <p>A confirmation prompt to ask the user to confirm an intent. For\n example, \"Shall I order your pizza?\"</p>\n </li>\n <li>\n <p>A conclusion statement to send to the user after the intent has\n been fulfilled. For example, \"I placed your pizza order.\"</p>\n </li>\n <li>\n <p>A 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?\"</p>\n </li>\n </ul>\n <p>If you specify an existing intent name to update the intent, Amazon Lex\n replaces the values in the <code>$LATEST</code> 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 <code>$LATEST</code> version of an intent,\n the <code>status</code> field of any bot that uses the\n <code>$LATEST</code> version of the intent is set to\n <code>NOT_BUILT</code>.</p>\n <p>For more information, see <a>how-it-works</a>.</p>\n <p>This operation requires permissions for the\n <code>lex:PutIntent</code> action.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/intents/{name}/versions/$LATEST",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutIntentRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent. The name is <i>not</i> case\n sensitive. </p>\n <p>The 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 <code>AMAZON.HelpIntent</code>, you can't create a custom\n intent called <code>HelpIntent</code>.</p>\n <p>For a list of built-in intents, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents\">Standard Built-in Intents</a> in the <i>Alexa Skills\n Kit</i>.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the intent.</p>"
}
},
"slots": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotList",
"traits": {
"smithy.api#documentation": "<p>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 <a>how-it-works</a>. </p>"
}
},
"sampleUtterances": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList",
"traits": {
"smithy.api#documentation": "<p>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\". </p>\n\n <p>In each utterance, a slot name is enclosed in curly braces.\n </p>"
}
},
"confirmationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>Prompts the user to confirm the intent. This question should have a\n yes or no answer.</p>\n <p>Amazon Lex uses this prompt to ensure that the user acknowledges that\n the intent is ready for fulfillment. For example, with the\n <code>OrderPizza</code> 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. </p>\n <note>\n <p>You you must provide both the <code>rejectionStatement</code> and\n the <code>confirmationPrompt</code>, or neither.</p>\n </note>"
}
},
"rejectionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>When the user answers \"no\" to the question defined in\n <code>confirmationPrompt</code>, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled. </p>\n <note>\n <p>You must provide both the <code>rejectionStatement</code> and the\n <code>confirmationPrompt</code>, or neither.</p>\n </note>"
}
},
"followUpPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt",
"traits": {
"smithy.api#documentation": "<p>Amazon Lex uses this prompt to solicit additional activity after\n fulfilling an intent. For example, after the <code>OrderPizza</code>\n intent is fulfilled, you might prompt the user to order a drink.</p>\n <p>The action that Amazon Lex takes depends on the user's response, as\n follows:</p>\n <ul>\n <li>\n <p>If the user says \"Yes\" it responds with the clarification\n prompt that is configured for the bot.</p>\n </li>\n <li>\n <p>if the user says \"Yes\" and continues with an utterance that\n triggers an intent it starts a conversation for the intent.</p>\n </li>\n <li>\n <p>If the user says \"No\" it responds with the rejection statement\n configured for the the follow-up prompt.</p>\n </li>\n <li>\n <p>If it doesn't recognize the utterance it repeats the follow-up\n prompt again.</p>\n </li>\n </ul>\n\n <p>The <code>followUpPrompt</code> field and the\n <code>conclusionStatement</code> field are mutually exclusive. You can\n specify only one. </p>"
}
},
"conclusionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p> The statement that you want Amazon Lex to convey to the user after the\n intent is successfully fulfilled by the Lambda function. </p>\n <p>This element is relevant only if you provide a Lambda function in\n the <code>fulfillmentActivity</code>. If you return the intent to the\n client application, you can't specify this element.</p>\n <note>\n <p>The <code>followUpPrompt</code> and\n <code>conclusionStatement</code> are mutually exclusive. You can\n specify only one.</p>\n </note>"
}
},
"dialogCodeHook": {
"target": "com.amazonaws.lexmodelbuildingservice#CodeHook",
"traits": {
"smithy.api#documentation": "<p> Specifies a Lambda function to invoke for each user input. You can\n invoke this Lambda function to personalize user interaction. </p>\n <p>For 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 <code>GlutenIntolerant</code>, to true. You might find John's phone\n number and set the corresponding session attribute. </p>"
}
},
"fulfillmentActivity": {
"target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity",
"traits": {
"smithy.api#documentation": "<p>Required. Describes how the intent is fulfilled. For example, after\n a user provides all of the information for a pizza order,\n <code>fulfillmentActivity</code> defines how the bot places an order\n with a local pizza store. </p>\n <p> 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 </p>"
}
},
"parentIntentSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for the built-in intent to base this intent on.\n To find the signature for an intent, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents\">Standard Built-in Intents</a> in the <i>Alexa Skills\n Kit</i>.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Identifies a specific revision of the <code>$LATEST</code>\n version.</p>\n <p>When you create a new intent, leave the <code>checksum</code> field\n blank. If you specify a checksum you get a\n <code>BadRequestException</code> exception.</p>\n <p>When you want to update a intent, set the <code>checksum</code>\n field to the checksum of the most recent revision of the\n <code>$LATEST</code> version. If you don't specify the <code>\n checksum</code> field, or if the checksum does not match the\n <code>$LATEST</code> version, you get a\n <code>PreconditionFailedException</code> exception.</p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>When set to <code>true</code> a new numbered version of the intent\n is created. This is the same as calling the\n <code>CreateIntentVersion</code> operation. If you do not specify\n <code>createVersion</code>, the default is <code>false</code>.</p>"
}
},
"kendraConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration",
"traits": {
"smithy.api#documentation": "<p>Configuration information required to use the\n <code>AMAZON.KendraSearchIntent</code> intent to connect to an Amazon\n Kendra index. For more information, see <a href=\"http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html\">\n AMAZON.KendraSearchIntent</a>.</p>"
}
},
"inputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#InputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>InputContext</code> objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.</p>"
}
},
"outputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#OutputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>OutputContext</code> objects that lists the contexts\n that the intent activates when the intent is fulfilled.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutIntentResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentName",
"traits": {
"smithy.api#documentation": "<p>The name of the intent.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the intent.</p>"
}
},
"slots": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotList",
"traits": {
"smithy.api#documentation": "<p>An array of intent slots that are configured for the\n intent.</p>"
}
},
"sampleUtterances": {
"target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList",
"traits": {
"smithy.api#documentation": "<p> An array of sample utterances that are configured for the intent.\n </p>"
}
},
"confirmationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>If defined in the intent, Amazon Lex prompts the user to confirm the\n intent before fulfilling it.</p>"
}
},
"rejectionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>If the user answers \"no\" to the question defined in\n <code>confirmationPrompt</code> Amazon Lex responds with this statement to\n acknowledge that the intent was canceled. </p>"
}
},
"followUpPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt",
"traits": {
"smithy.api#documentation": "<p>If defined in the intent, Amazon Lex uses this prompt to solicit\n additional user activity after the intent is fulfilled.</p>"
}
},
"conclusionStatement": {
"target": "com.amazonaws.lexmodelbuildingservice#Statement",
"traits": {
"smithy.api#documentation": "<p>After the Lambda function specified in\n the<code>fulfillmentActivity</code>intent fulfills the intent, Amazon Lex\n conveys this statement to the user.</p>"
}
},
"dialogCodeHook": {
"target": "com.amazonaws.lexmodelbuildingservice#CodeHook",
"traits": {
"smithy.api#documentation": "<p>If defined in the intent, Amazon Lex invokes this Lambda function for\n each user input.</p>"
}
},
"fulfillmentActivity": {
"target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"parentIntentSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for the built-in intent that this intent is\n based on.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was updated. When you create a resource,\n the creation date and last update dates are the same.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the intent was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the intent. For a new intent, the version is always\n <code>$LATEST</code>.</p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the <code>$LATEST</code>version of the intent created\n or updated.</p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>\n <code>True</code> if a new version of the intent was created. If\n the <code>createVersion</code> field was not specified in the request, the\n <code>createVersion</code> field is set to false in the\n response.</p>"
}
},
"kendraConfiguration": {
"target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration",
"traits": {
"smithy.api#documentation": "<p>Configuration information, if any, required to connect to an Amazon\n Kendra index and use the <code>AMAZON.KendraSearchIntent</code>\n intent.</p>"
}
},
"inputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#InputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>InputContext</code> objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.</p>"
}
},
"outputContexts": {
"target": "com.amazonaws.lexmodelbuildingservice#OutputContextList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>OutputContext</code> objects that lists the contexts\n that the intent activates when the intent is fulfilled.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutSlotType": {
"type": "operation",
"input": {
"target": "com.amazonaws.lexmodelbuildingservice#PutSlotTypeRequest"
},
"output": {
"target": "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse"
},
"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": "<p>Creates a custom slot type or replaces an existing custom slot\n type.</p>\n <p>To 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 <a>how-it-works</a>.</p>\n <p>If you specify the name of an existing slot type, the fields in the\n request replace the existing values in the <code>$LATEST</code> 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 <code>$LATEST</code> version of a slot type, if a bot\n uses the <code>$LATEST</code> version of an intent that contains the slot\n type, the bot's <code>status</code> field is set to\n <code>NOT_BUILT</code>.</p>\n\n <p>This operation requires permissions for the\n <code>lex:PutSlotType</code> action.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/slottypes/{name}/versions/$LATEST",
"code": 200
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutSlotTypeRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type. The name is <i>not</i>\n case sensitive. </p>\n <p>The 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 <code>AMAZON.DATE</code>, you can't create a custom slot\n type called <code>DATE</code>.</p>\n <p>For a list of built-in slot types, see <a href=\"https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference\">Slot Type Reference</a> in the <i>Alexa Skills\n Kit</i>.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot type.</p>"
}
},
"enumerationValues": {
"target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues",
"traits": {
"smithy.api#documentation": "<p>A list of <code>EnumerationValue</code> objects that defines the\n values that the slot type can take. Each value can have a list of\n <code>synonyms</code>, which are additional values that help train the\n machine learning model about the values that it resolves for a slot. </p>\n <p>A regular expression slot type doesn't require enumeration values.\n All other slot types require a list of enumeration values.</p>\n <p>When 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 <code>valueSelectionStrategy</code> field indicates the option\n to use. </p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Identifies a specific revision of the <code>$LATEST</code>\n version.</p>\n <p>When you create a new slot type, leave the <code>checksum</code>\n field blank. If you specify a checksum you get a\n <code>BadRequestException</code> exception.</p>\n <p>When you want to update a slot type, set the <code>checksum</code>\n field to the checksum of the most recent revision of the\n <code>$LATEST</code> version. If you don't specify the <code>\n checksum</code> field, or if the checksum does not match the\n <code>$LATEST</code> version, you get a\n <code>PreconditionFailedException</code> exception.</p>"
}
},
"valueSelectionStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy",
"traits": {
"smithy.api#documentation": "<p>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:</p>\n <ul>\n <li>\n <p>\n <code>ORIGINAL_VALUE</code> - Returns the value entered by the\n user, if the user value is similar to the slot value.</p>\n </li>\n <li>\n <p>\n <code>TOP_RESOLUTION</code> - 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.</p>\n </li>\n </ul>\n <p>If you don't specify the <code>valueSelectionStrategy</code>, the\n default is <code>ORIGINAL_VALUE</code>.</p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>When set to <code>true</code> a new numbered version of the slot\n type is created. This is the same as calling the\n <code>CreateSlotTypeVersion</code> operation. If you do not specify\n <code>createVersion</code>, the default is <code>false</code>.</p>"
}
},
"parentSlotTypeSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName",
"traits": {
"smithy.api#documentation": "<p>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.</p>\n <p>Only <code>AMAZON.AlphaNumeric</code> is supported.</p>"
}
},
"slotTypeConfigurations": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations",
"traits": {
"smithy.api#documentation": "<p>Configuration information that extends the parent built-in slot type.\n The configuration is added to the settings for the parent slot\n type.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot type.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot type.</p>"
}
},
"enumerationValues": {
"target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues",
"traits": {
"smithy.api#documentation": "<p>A list of <code>EnumerationValue</code> objects that defines the\n values that the slot type can take.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type. For a new slot type, the version is\n always <code>$LATEST</code>. </p>"
}
},
"checksum": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>Checksum of the <code>$LATEST</code> version of the slot\n type.</p>"
}
},
"valueSelectionStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy",
"traits": {
"smithy.api#documentation": "<p>The slot resolution strategy that Amazon Lex uses to determine the value\n of the slot. For more information, see <a>PutSlotType</a>.</p>"
}
},
"createVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Boolean",
"traits": {
"smithy.api#documentation": "<p>\n <code>True</code> if a new version of the slot type was created. If\n the <code>createVersion</code> field was not specified in the request, the\n <code>createVersion</code> field is set to false in the\n response.</p>"
}
},
"parentSlotTypeSignature": {
"target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The built-in slot type used as the parent of the slot type.</p>"
}
},
"slotTypeConfigurations": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations",
"traits": {
"smithy.api#documentation": "<p>Configuration information that extends the parent built-in slot\n type.</p>"
}
}
}
},
"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": "<p>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.</p>\n <p>The body of the exception contains a JSON object that describes the\n resource.</p>\n <p>\n <code>{ \"resourceType\": BOT | BOTALIAS | BOTCHANNEL |\n INTENT,</code>\n </p>\n <p>\n <code>\"resourceReference\": {</code>\n </p>\n <p>\n <code>\"name\": <i>string</i>, \"version\":\n <i>string</i> } }</code>\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.lexmodelbuildingservice#ResourcePrefix": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 1024
}
}
},
"com.amazonaws.lexmodelbuildingservice#ResourceReference": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#Name",
"traits": {
"smithy.api#documentation": "<p>The name of the resource that is using the resource that you are\n trying to delete.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the resource that is using the resource that you are\n trying to delete.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes the resource that refers to the resource that you are\n attempting to delete. This object is returned as part of the\n <code>ResourceInUseException</code> exception. </p>"
}
},
"com.amazonaws.lexmodelbuildingservice#ResourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BOT",
"name": "BOT"
},
{
"value": "INTENT",
"name": "INTENT"
},
{
"value": "SLOT_TYPE",
"name": "SLOT_TYPE"
}
]
}
},
"com.amazonaws.lexmodelbuildingservice#ResponseCard": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50000
}
}
},
"com.amazonaws.lexmodelbuildingservice#SessionTTL": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 60,
"max": 86400
}
}
},
"com.amazonaws.lexmodelbuildingservice#Slot": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotName",
"traits": {
"smithy.api#documentation": "<p>The name of the slot.</p>",
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot.</p>"
}
},
"slotConstraint": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotConstraint",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the slot is required or optional. </p>",
"smithy.api#required": {}
}
},
"slotType": {
"target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName",
"traits": {
"smithy.api#documentation": "<p>The type of the slot, either a custom slot type that you defined or\n one of the built-in slot types.</p>"
}
},
"slotTypeVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type.</p>"
}
},
"valueElicitationPrompt": {
"target": "com.amazonaws.lexmodelbuildingservice#Prompt",
"traits": {
"smithy.api#documentation": "<p>The prompt that Amazon Lex uses to elicit the slot value from the\n user.</p>"
}
},
"priority": {
"target": "com.amazonaws.lexmodelbuildingservice#Priority",
"traits": {
"smithy.api#documentation": "<p> 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.</p>\n <p>If multiple slots share the same priority, the order in which Amazon Lex\n elicits values is arbitrary.</p>"
}
},
"sampleUtterances": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList",
"traits": {
"smithy.api#documentation": "<p> 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. </p>"
}
},
"responseCard": {
"target": "com.amazonaws.lexmodelbuildingservice#ResponseCard",
"traits": {
"smithy.api#documentation": "<p> 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. </p>"
}
},
"obfuscationSetting": {
"target": "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting",
"traits": {
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/lex/latest/dg/how-obfuscate.html\"> Slot Obfuscation </a>.\n </p>"
}
},
"defaultValueSpec": {
"target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueSpec",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Identifies the version of a specific slot.</p>"
}
},
"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": "<p>The default value for the slot. You can specify one of the\n following:</p>\n <ul>\n <li>\n <p>\n <code>#context-name.slot-name</code> - The slot value \"slot-name\"\n in the context \"context-name.\"</p>\n </li>\n <li>\n <p>\n <code>{attribute}</code> - The slot value of the session attribute\n \"attribute.\"</p>\n </li>\n <li>\n <p>\n <code>'value'</code> - The discrete value \"value.\"</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A default value for a slot.</p>"
}
},
"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": "<p>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.</p>\n <p>The 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.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot.</p>"
}
},
"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": "<p>A regular expression used to validate the value of a slot.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides configuration information for a slot type.</p>"
}
},
"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": "<p>The name of the slot type.</p>"
}
},
"description": {
"target": "com.amazonaws.lexmodelbuildingservice#Description",
"traits": {
"smithy.api#documentation": "<p>A description of the slot type.</p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was updated. When you create a\n resource, the creation date and last updated date are the same. </p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the slot type was created.</p>"
}
},
"version": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the slot type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a slot type..</p>"
}
},
"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": "<p>A regular expression used to validate the value of a slot. </p>\n <p>Use a standard regular expression. Amazon Lex supports the following\n characters in the regular expression:</p>\n <ul>\n <li>\n <p>A-Z, a-z</p>\n </li>\n <li>\n <p>0-9</p>\n </li>\n <li>\n <p>Unicode characters (\"\\ u<Unicode>\")</p>\n </li>\n </ul>\n <p>Represent Unicode characters with four digits, for example\n \"\\u0041\" or \"\\u005A\".</p>\n <p>The following regular expression operators are not supported:</p>\n <ul>\n <li>\n <p>Infinite repeaters: *, +, or {x,} with no upper bound.</p>\n </li>\n <li>\n <p>Wild card (.)</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides a regular expression used to validate the value of a\n slot.</p>"
}
},
"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": "<p>Starts a job to import a resource to Amazon Lex.</p>",
"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": "<p>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 <code>resourceType</code> field.</p>",
"smithy.api#required": {}
}
},
"resourceType": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of resource to export. Each resource also\n exports any resources that it depends on. </p>\n <ul>\n <li>\n <p>A bot exports dependent intents.</p>\n </li>\n <li>\n <p>An intent exports dependent slot types.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"mergeStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy",
"traits": {
"smithy.api#documentation": "<p>Specifies the action that the <code>StartImport</code> operation\n should take when there is an existing resource with the same\n name.</p>\n <ul>\n <li>\n <p>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 <code>failureReason</code> field of the response to the\n <code>GetImport</code> operation.</p>\n <p>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.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>A 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.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#StartImportResponse": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.lexmodelbuildingservice#Name",
"traits": {
"smithy.api#documentation": "<p>The name given to the import job.</p>"
}
},
"resourceType": {
"target": "com.amazonaws.lexmodelbuildingservice#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of resource to import.</p>"
}
},
"mergeStrategy": {
"target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy",
"traits": {
"smithy.api#documentation": "<p>The action to take when there is a merge conflict.</p>"
}
},
"importId": {
"target": "com.amazonaws.lexmodelbuildingservice#String",
"traits": {
"smithy.api#documentation": "<p>The identifier for the specific import job.</p>"
}
},
"importStatus": {
"target": "com.amazonaws.lexmodelbuildingservice#ImportStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the import job. If the status is <code>FAILED</code>,\n you can get the reason for the failure using the <code>GetImport</code>\n operation.</p>"
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tags added to the imported bot.</p>"
}
},
"createdDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>A timestamp for the date and time that the import job was\n requested.</p>"
}
}
}
},
"com.amazonaws.lexmodelbuildingservice#Statement": {
"type": "structure",
"members": {
"messages": {
"target": "com.amazonaws.lexmodelbuildingservice#MessageList",
"traits": {
"smithy.api#documentation": "<p>A collection of message objects.</p>",
"smithy.api#required": {}
}
},
"responseCard": {
"target": "com.amazonaws.lexmodelbuildingservice#ResponseCard",
"traits": {
"smithy.api#documentation": "<p> At runtime, if the client is using the <a href=\"http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html\">PostText</a> 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. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A collection of messages that convey information to the user. At\n runtime, Amazon Lex selects the message to convey. </p>"
}
},
"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": "<p>The key for the tag. Keys are not case-sensitive and must be\n unique.</p>",
"smithy.api#required": {}
}
},
"value": {
"target": "com.amazonaws.lexmodelbuildingservice#TagValue",
"traits": {
"smithy.api#documentation": "<p>The value associated with a key. The value may be an empty string but\n it can't be null.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>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: _ . : / = + - @. </p>"
}
},
"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": "<p>Adds the specified tags to the specified resource. If a tag key\n already exists, the existing value is replaced with the new value.</p>",
"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": "<p>The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel\n to tag.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.lexmodelbuildingservice#TagList",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"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": "<p>Removes tags from a bot, bot alias or bot channel.</p>",
"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": "<p>The Amazon Resource Name (ARN) of the resource to remove the tags\n from.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tagKeys": {
"target": "com.amazonaws.lexmodelbuildingservice#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>A list of tag keys to remove from the resource. If a tag key does not\n exist on the resource, it is ignored.</p>",
"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": "<p>The text that was entered by the user or the text representation of\n an audio clip.</p>"
}
},
"count": {
"target": "com.amazonaws.lexmodelbuildingservice#Count",
"traits": {
"smithy.api#documentation": "<p>The number of times that the utterance was processed.</p>"
}
},
"distinctUsers": {
"target": "com.amazonaws.lexmodelbuildingservice#Count",
"traits": {
"smithy.api#documentation": "<p>The total number of individuals that used the utterance.</p>"
}
},
"firstUtteredDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the utterance was first recorded.</p>"
}
},
"lastUtteredDate": {
"target": "com.amazonaws.lexmodelbuildingservice#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the utterance was last recorded.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides information about a single utterance that was made to your\n bot. </p>"
}
},
"com.amazonaws.lexmodelbuildingservice#UtteranceList": {
"type": "structure",
"members": {
"botVersion": {
"target": "com.amazonaws.lexmodelbuildingservice#Version",
"traits": {
"smithy.api#documentation": "<p>The version of the bot that processed the list.</p>"
}
},
"utterances": {
"target": "com.amazonaws.lexmodelbuildingservice#ListOfUtterance",
"traits": {
"smithy.api#documentation": "<p>One or more <a>UtteranceData</a> objects that contain\n information about the utterances that have been made to a bot. The maximum\n number of object is 100.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"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/.*"
}
}
}
}