{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.lexmodelbuildingservice#AWSDeepSenseModelBuildingService": { "type": "service", "version": "2017-04-19", "operations": [ { "target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBot" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotAlias" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociation" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntent" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotType" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersion" }, { "target": "com.amazonaws.lexmodelbuildingservice#DeleteUtterances" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBot" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAlias" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAliases" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociation" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociations" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBots" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBotVersions" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntent" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntents" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypes" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetExport" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetImport" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetIntent" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetIntents" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentVersions" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotType" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypes" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersions" }, { "target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesView" }, { "target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResource" }, { "target": "com.amazonaws.lexmodelbuildingservice#PutBot" }, { "target": "com.amazonaws.lexmodelbuildingservice#PutBotAlias" }, { "target": "com.amazonaws.lexmodelbuildingservice#PutIntent" }, { "target": "com.amazonaws.lexmodelbuildingservice#PutSlotType" }, { "target": "com.amazonaws.lexmodelbuildingservice#StartImport" }, { "target": "com.amazonaws.lexmodelbuildingservice#TagResource" }, { "target": "com.amazonaws.lexmodelbuildingservice#UntagResource" } ], "traits": { "aws.api#service": { "sdkId": "Lex Model Building Service", "arnNamespace": "lex", "cloudFormationName": "LexModelBuildingService", "cloudTrailEventSource": "lexmodelbuildingservice.amazonaws.com", "endpointPrefix": "models.lex" }, "aws.auth#sigv4": { "name": "lex" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "Amazon Lex Build-Time Actions\n

Amazon Lex is an AWS service for building conversational voice and text\n interfaces. Use these actions to create, update, and delete conversational\n bots for new and existing client applications.

", "smithy.api#title": "Amazon Lex Model Building Service" } }, "com.amazonaws.lexmodelbuildingservice#AliasName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^(-|^([A-Za-z]_?)+$)$" } }, "com.amazonaws.lexmodelbuildingservice#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.lexmodelbuildingservice#BadRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

The request is not well formed. For example, a value is invalid or\n a required field is missing. Check the field values, and try\n again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.lexmodelbuildingservice#Blob": { "type": "blob" }, "com.amazonaws.lexmodelbuildingservice#Boolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

The name of the bot alias.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot alias.

" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the Amazon Lex bot to which the alias points.

" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot to which the alias points.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was updated. When you create a\n resource, the creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was created.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the bot alias.

" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "

Settings that determine how Amazon Lex uses conversation logs for the\n alias.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a bot alias.

" } }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelAssociation": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "

The name of the association between the bot and the channel.\n

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A text description of the association you are creating.

" } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.

" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the Amazon Lex bot to which this association is being made.

\n \n

Currently, Amazon Lex supports associations with Facebook and Slack,\n and Twilio.

\n\n
" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the association between the Amazon Lex bot and the channel\n was created.

" } }, "type": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", "traits": { "smithy.api#documentation": "

Specifies the type of association by indicating the type of channel\n being established between the Amazon Lex bot and the external messaging\n platform.

" } }, "botConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { "smithy.api#documentation": "

Provides information necessary to communicate with the messaging\n platform.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", "traits": { "smithy.api#documentation": "

The status of the bot channel.

\n " } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex provides the\n reason that it failed to create the association.

" } } }, "traits": { "smithy.api#documentation": "

Represents an association between an Amazon Lex bot and an external\n messaging platform.

" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelAssociationList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelAssociation" } }, "com.amazonaws.lexmodelbuildingservice#BotChannelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#BotMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "

The status of the bot.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was updated. When you create a bot, the\n creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot. For a new bot, the version is always\n $LATEST.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a bot. .

" } }, "com.amazonaws.lexmodelbuildingservice#BotMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BotName": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 50 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#BotVersions": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Version" }, "traits": { "smithy.api#length": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadata": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

A unique identifier for the built-in intent. To find the signature\n for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.

" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "

A list of identifiers for the locales that the intent\n supports.

" } } }, "traits": { "smithy.api#documentation": "

Provides metadata for a built-in intent.

" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlot": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

A list of the slots defined for the intent.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a slot used in a built-in\n intent.

" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlot" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadata": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeSignature", "traits": { "smithy.api#documentation": "

A unique identifier for the built-in slot type. To find the\n signature for a slot type, see Slot Type Reference in the Alexa Skills\n Kit.

" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "

A list of target locales for the slot.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a built in slot type.

" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadata" } }, "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeSignature": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap": { "type": "map", "key": { "target": "com.amazonaws.lexmodelbuildingservice#String" }, "value": { "target": "com.amazonaws.lexmodelbuildingservice#String" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#sensitive": {} } }, "com.amazonaws.lexmodelbuildingservice#ChannelStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "CREATED", "name": "CREATED" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.lexmodelbuildingservice#ChannelType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Facebook", "name": "FACEBOOK" }, { "value": "Slack", "name": "SLACK" }, { "value": "Twilio-Sms", "name": "TWILIO_SMS" }, { "value": "Kik", "name": "KIK" } ] } }, "com.amazonaws.lexmodelbuildingservice#CodeHook": { "type": "structure", "members": { "uri": { "target": "com.amazonaws.lexmodelbuildingservice#LambdaARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda function.

", "smithy.api#required": {} } }, "messageVersion": { "target": "com.amazonaws.lexmodelbuildingservice#MessageVersion", "traits": { "smithy.api#documentation": "

The version of the request-response that you want Amazon Lex to use to\n invoke your Lambda function. For more information, see using-lambda.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Specifies a Lambda function that verifies requests to a bot or\n fulfills the user's request to a bot..

" } }, "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold": { "type": "double", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 } } }, "com.amazonaws.lexmodelbuildingservice#ConflictException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

There was a conflict processing the request. Try your request\n again.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.lexmodelbuildingservice#ContentString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1000 } } }, "com.amazonaws.lexmodelbuildingservice#ContentType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PlainText", "name": "PLAIN_TEXT" }, { "value": "SSML", "name": "SSML" }, { "value": "CustomPayload", "name": "CUSTOM_PAYLOAD" } ] } }, "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 } } }, "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 } } }, "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest": { "type": "structure", "members": { "logSettings": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsRequestList", "traits": { "smithy.api#documentation": "

The settings for your conversation logs. You can log the conversation\n text, conversation audio, or both.

", "smithy.api#required": {} } }, "iamRoleArn": { "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role with permission to write\n to your CloudWatch Logs for text logs and your S3 bucket for audio logs.\n If audio encryption is enabled, this role also provides access permission\n for the AWS KMS key used for encrypting audio logs. For more information,\n see Creating an\n IAM Role and Policy for Conversation Logs.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides the settings needed for conversation logs.

" } }, "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse": { "type": "structure", "members": { "logSettings": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsResponseList", "traits": { "smithy.api#documentation": "

The settings for your conversation logs. You can log text, audio, or\n both.

" } }, "iamRoleArn": { "target": "com.amazonaws.lexmodelbuildingservice#IamRoleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role used to write your logs\n to CloudWatch Logs or an S3 bucket.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about conversation log settings.

" } }, "com.amazonaws.lexmodelbuildingservice#Count": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersionRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#CreateBotVersionResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "

Creates a new version of the bot based on the $LATEST\n version. If the $LATEST version of this resource hasn't\n changed since you created the last version, Amazon Lex doesn't create a new\n version. It returns the last created version.

\n \n

You can update only the $LATEST version of the bot.\n You can't update the numbered versions that you create with the\n CreateBotVersion operation.

\n
\n

When you create the first version of a bot, Amazon Lex sets the version\n to 1. Subsequent versions increment by 1. For more information, see versioning-intro.

\n

This operation requires permission for the\n lex:CreateBotVersion action.

", "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": "

The name of the bot that you want to create a new version of. The\n name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Identifies a specific revision of the $LATEST version\n of the bot. If you specify a checksum and the $LATEST version\n of the bot has a different checksum, a\n PreconditionFailedException exception is returned and Amazon Lex\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST version.

" } } } }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersionResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot.

" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "

An array of Intent objects. For more information, see\n PutBot.

" } }, "clarificationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

The message that Amazon Lex uses when it doesn't understand the user's\n request. For more information, see PutBot.

" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

The message that Amazon Lex uses to cancel a conversation. For more\n information, see PutBot.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "

When you send a request to create or update a bot, Amazon Lex sets the\n status response element to BUILDING. After\n Amazon Lex builds the bot, it sets status to READY.\n If Amazon Lex can't build the bot, it sets status to\n FAILED. Amazon Lex returns the reason for the failure in the\n failureReason response element.

" } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex provides the\n reason that it failed to build the bot.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date when the $LATEST version of this bot was\n updated.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date when the bot version was created.

" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "

The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.

" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The Amazon Polly voice ID that Amazon Lex uses for voice interactions\n with the user.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum identifying the version of the bot that was\n created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot.

" } }, "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { "smithy.api#documentation": "

Specifies the target locale for the bot.

" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By\n specifying true in the childDirected field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.

\n

If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n

" } }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the bot uses accuracy improvements.\n true indicates that the bot is using the improvements,\n otherwise, false.

" } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether utterances entered by the user should be sent to\n Amazon Comprehend for sentiment analysis.

" } } } }, "com.amazonaws.lexmodelbuildingservice#CreateIntentVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "

Creates a new version of an intent based on the\n $LATEST version of the intent. If the $LATEST\n version of this intent hasn't changed since you last updated it, Amazon Lex\n doesn't create a new version. It returns the last version you\n created.

\n \n

You can update only the $LATEST version of the\n intent. You can't update the numbered versions that you create with the\n CreateIntentVersion operation.

\n
\n

When you create a version of an intent, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.

\n

This operation requires permissions to perform the\n lex:CreateIntentVersion action.

", "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": "

The name of the intent that you want to create a new version of.\n The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the $LATEST version of the intent that\n should be used to create the new version. If you specify a checksum and\n the $LATEST version of the intent has a different checksum,\n Amazon Lex returns a PreconditionFailedException exception and\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST version.

" } } } }, "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

The name of the intent.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the intent.

" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "

An array of slot types that defines the information required to\n fulfill the intent.

" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "

An array of sample utterances configured for the intent.

" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

If defined, the prompt that Amazon Lex uses to confirm the user's\n intent before fulfilling it.

" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

If the user answers \"no\" to the question defined in\n confirmationPrompt, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.

" } }, "followUpPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { "smithy.api#documentation": "

If defined, Amazon Lex uses this prompt to solicit additional user\n activity after the intent is fulfilled.

" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

After the Lambda function specified in the\n fulfillmentActivity field fulfills the intent, Amazon Lex\n conveys this statement to the user.

" } }, "dialogCodeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "

If defined, Amazon Lex invokes this Lambda function for each user\n input.

" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "

Describes how the intent is fulfilled.

" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

A unique identifier for a built-in intent.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was updated.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version number assigned to the new version of the\n intent.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the intent version created.

" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "

Configuration information, if any, for connecting an Amazon Kendra\n index with the AMAZON.KendraSearchIntent intent.

" } }, "inputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#InputContextList", "traits": { "smithy.api#documentation": "

An array of InputContext objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.

" } }, "outputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextList", "traits": { "smithy.api#documentation": "

An array of OutputContext objects that lists the contexts\n that the intent activates when the intent is fulfilled.

" } } } }, "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": "

Creates a new version of a slot type based on the\n $LATEST version of the specified slot type. If the\n $LATEST version of this resource has not changed since the\n last version that you created, Amazon Lex doesn't create a new version. It\n returns the last version that you created.

\n \n

You can update only the $LATEST version of a slot\n type. You can't update the numbered versions that you create with the\n CreateSlotTypeVersion operation.

\n
\n\n

When you create a version of a slot type, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.

\n\n

This operation requires permissions for the\n lex:CreateSlotTypeVersion action.

", "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": "

The name of the slot type that you want to create a new version\n for. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum for the $LATEST version of the slot type that\n you want to publish. If you specify a checksum and the\n $LATEST version of the slot type has a different checksum,\n Amazon Lex returns a PreconditionFailedException exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST version.

" } } } }, "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "

The name of the slot type.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot type.

" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "

A list of EnumerationValue objects that defines the\n values that the slot type can take.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version assigned to the new slot type version.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the $LATEST version of the slot\n type.

" } }, "valueSelectionStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { "smithy.api#documentation": "

The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see PutSlotType.

" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

The built-in slot type used a the parent of the slot type.

" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "

Configuration information that extends the parent built-in slot\n type.

" } } } }, "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^((AMAZON\\.)_?|[A-Za-z]_?)+" } }, "com.amazonaws.lexmodelbuildingservice#DeleteBot": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "

Deletes all versions of the bot, including the $LATEST\n version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot\n operation doesn't immediately remove the bot schema. Instead, it is marked\n for deletion and removed later.

\n

Amazon Lex stores utterances indefinitely for improving the ability of\n your bot to respond to user inputs. These utterances are not removed when\n the bot is deleted. To remove the utterances, use the DeleteUtterances operation.

\n

If a bot has an alias, you can't delete it. Instead, the\n DeleteBot operation returns a\n ResourceInUseException exception that includes a reference\n to the alias that refers to the bot. To remove the reference to the bot,\n delete the alias. If you get the same exception again, delete the\n referring alias until the DeleteBot operation is\n successful.

\n\n

This operation requires permissions for the\n lex:DeleteBot action.

", "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": "

Deletes an alias for the specified bot.

\n

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 DeleteBot operation returns a\n ResourceInUseException exception that includes a reference\n to the channel association that refers to the bot. You can remove the\n reference to the alias by deleting the channel association. If you get the\n same exception again, delete the referring association until the\n DeleteBotAlias operation is successful.

", "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": "

The name of the alias to delete. The name is case sensitive.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot that the alias points to.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociation": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Deletes the association between an Amazon Lex bot and a messaging\n platform.

\n

This operation requires permission for the\n lex:DeleteBotChannelAssociation action.

", "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": "

The name of the association. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the Amazon Lex bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

An alias that points to the specific version of the Amazon Lex bot to\n which this association is being made.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteBotVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "

Deletes a specific version of a bot. To delete all versions of a\n bot, use the DeleteBot operation.

\n

This operation requires permissions for the\n lex:DeleteBotVersion action.

", "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": "

The name of the bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "

The version of the bot to delete. You cannot delete the\n $LATEST version of the bot. To delete the\n $LATEST version, use the DeleteBot\n operation.

", "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": "

Deletes all versions of the intent, including the\n $LATEST version. To delete a specific version of the\n intent, use the DeleteIntentVersion operation.

\n

You can delete a version of an intent only if it is not\n referenced. To delete an intent that is referred to in one or more bots\n (see how-it-works), you must remove those references\n first.

\n \n

If you get the ResourceInUseException exception, it\n provides an example reference that shows where the intent is referenced.\n To remove the reference to the intent, either update the bot or delete\n it. If you get the same exception when you attempt to delete the intent\n again, repeat until the intent has no references and the call to\n DeleteIntent is successful.

\n
\n\n

This operation requires permission for the\n lex:DeleteIntent action.

", "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": "

The name of the intent. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "

Deletes a specific version of an intent. To delete all versions of\n a intent, use the DeleteIntent operation.

\n

This operation requires permissions for the\n lex:DeleteIntentVersion action.

", "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": "

The name of the intent.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "

The version of the intent to delete. You cannot delete the\n $LATEST version of the intent. To delete the\n $LATEST version, use the DeleteIntent\n operation.

", "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": "

Deletes all versions of the slot type, including the\n $LATEST version. To delete a specific version of the slot\n type, use the DeleteSlotTypeVersion operation.

\n

You can delete a version of a slot type only if it is not\n referenced. To delete a slot type that is referred to in one or more\n intents, you must remove those references first.

\n \n

If you get the ResourceInUseException exception,\n the exception provides an example reference that shows the intent where\n the slot type is referenced. To remove the reference to the slot type,\n either update the intent or delete it. If you get the same exception\n when you attempt to delete the slot type again, repeat until the slot\n type has no references and the DeleteSlotType call is\n successful.

\n
\n

This operation requires permission for the\n lex:DeleteSlotType action.

", "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": "

The name of the slot type. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersion": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ResourceInUseException" } ], "traits": { "smithy.api#documentation": "

Deletes a specific version of a slot type. To delete all versions\n of a slot type, use the DeleteSlotType operation.

\n

This operation requires permissions for the\n lex:DeleteSlotTypeVersion action.

", "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": "

The name of the slot type.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "

The version of the slot type to delete. You cannot delete the\n $LATEST version of the slot type. To delete the\n $LATEST version, use the DeleteSlotType\n operation.

", "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": "

Deletes stored utterances.

\n

Amazon Lex stores the utterances that users send to your bot. Utterances\n are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinitely for use in improving the\n ability of your bot to respond to user input.

\n

Use the DeleteUtterances operation to manually delete\n stored utterances for a specific user. When you use the\n DeleteUtterances operation, utterances stored for improving\n your bot's ability to respond to user input are deleted immediately.\n Utterances stored for use with the GetUtterancesView\n operation are deleted after 15 days.

\n

This operation requires permissions for the\n lex:DeleteUtterances action.

", "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": "

The name of the bot that stored the utterances.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "userId": { "target": "com.amazonaws.lexmodelbuildingservice#UserId", "traits": { "smithy.api#documentation": "

The unique identifier for the user that made the utterances. This\n is the user ID that was sent in the PostContent or PostText operation request that contained the\n utterance.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#Destination": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CLOUDWATCH_LOGS", "name": "CLOUDWATCH_LOGS" }, { "value": "S3", "name": "S3" } ] } }, "com.amazonaws.lexmodelbuildingservice#EnumerationValue": { "type": "structure", "members": { "value": { "target": "com.amazonaws.lexmodelbuildingservice#Value", "traits": { "smithy.api#documentation": "

The value of the slot type.

", "smithy.api#required": {} } }, "synonyms": { "target": "com.amazonaws.lexmodelbuildingservice#SynonymList", "traits": { "smithy.api#documentation": "

Additional values related to the slot type value.

" } } }, "traits": { "smithy.api#documentation": "

Each slot type can have a set of values. Each enumeration value\n represents a value the slot type can take.

\n

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

\n " } }, "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": "

Prompts for information from the user.

", "smithy.api#required": {} } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

If the user answers \"no\" to the question defined in the\n prompt field, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A prompt for additional activity after an intent is fulfilled. For\n example, after the OrderPizza intent is fulfilled, you might\n prompt the user to find out whether the user wants to order\n drinks.

" } }, "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity": { "type": "structure", "members": { "type": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivityType", "traits": { "smithy.api#documentation": "

How the intent should be fulfilled, either by running a Lambda\n function or by returning the slot data to the client application.\n

", "smithy.api#required": {} } }, "codeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "

A description of the Lambda function that is run to fulfill the\n intent.

" } } }, "traits": { "smithy.api#documentation": "

Describes how the intent is fulfilled after the user provides all\n of the information required for the intent. You can provide a Lambda\n function to process the intent, or you can return the intent information\n to the client application. We recommend that you use a Lambda function so\n that the relevant logic lives in the Cloud and limit the client-side code\n primarily to presentation. If you need to update the logic, you only\n update the Lambda function; you don't need to upgrade your client\n application.

\n\n\n

Consider the following examples:

\n " } }, "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": "

Returns metadata information for a specific bot. You must provide\n the bot name and the bot version or alias.

\n

This operation requires permissions for the\n lex:GetBot action.

", "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": "

Returns information about an Amazon Lex bot alias. For more information\n about aliases, see versioning-aliases.

\n

This operation requires permissions for the\n lex:GetBotAlias action.

", "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": "

The name of the bot alias. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliasResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

The name of the bot alias.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot alias.

" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot that the alias points to.

" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot that the alias points to.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was updated. When you create a\n resource, the creation date and the last updated date are the\n same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was created.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the bot alias.

" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "

The settings that determine how Amazon Lex uses conversation logs for the\n alias.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliases": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Returns a list of aliases for a specified Amazon Lex bot.

\n

This operation requires permissions for the\n lex:GetBotAliases action.

", "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": "

The name of the bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of aliases. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of aliases, specify the pagination\n token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of aliases to return in the response. The\n default is 50. .

", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

Substring to match in bot alias names. An alias will be returned if\n any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"

", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse": { "type": "structure", "members": { "BotAliases": { "target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList", "traits": { "smithy.api#documentation": "

An array of BotAliasMetadata objects, each describing\n a bot alias.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching next page of aliases. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of aliases, specify the pagination\n token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociation": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns information about the association between an Amazon Lex bot and\n a messaging platform.

\n

This operation requires permissions for the\n lex:GetBotChannelAssociation action.

", "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": "

The name of the association between the bot and the channel. The\n name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the Amazon Lex bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "

The name of the association between the bot and the\n channel.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the association between the bot and the\n channel.

" } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.

" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the Amazon Lex bot.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the association between the bot and the channel was\n created.

" } }, "type": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", "traits": { "smithy.api#documentation": "

The type of the messaging platform.

" } }, "botConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { "smithy.api#documentation": "

Provides information that the messaging platform needs to\n communicate with the Amazon Lex bot.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", "traits": { "smithy.api#documentation": "

The status of the bot channel.

\n " } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex provides the\n reason that it failed to create the association.

" } } } }, "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": "

Returns a list of all of the channels associated with the\n specified bot.

\n

The GetBotChannelAssociations operation requires\n permissions for the lex:GetBotChannelAssociations\n action.

", "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": "

The name of the Amazon Lex bot in the association.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll", "traits": { "smithy.api#documentation": "

An alias pointing to the specific version of the Amazon Lex bot to which\n this association is being made.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of associations. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of associations, specify the\n pagination token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of associations to return in the response. The\n default is 50.

", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { "smithy.api#documentation": "

Substring to match in channel association names. An association\n will be returned if any part of its name matches the substring. For\n example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\" To return all bot\n channel associations, use a hyphen (\"-\") as the nameContains\n parameter.

", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsResponse": { "type": "structure", "members": { "botChannelAssociations": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelAssociationList", "traits": { "smithy.api#documentation": "

An array of objects, one for each association, that provides\n information about the Amazon Lex bot and its association with the channel.\n

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token that fetches the next page of associations. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of associations, specify the\n pagination token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "versionOrAlias": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The version or alias of the bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot.

" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "

An array of intent objects. For more information, see\n PutBot.

" } }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the bot uses accuracy improvements.\n true indicates that the bot is using the improvements,\n otherwise, false.

" } }, "nluIntentConfidenceThreshold": { "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", "traits": { "smithy.api#documentation": "

The score that determines where Amazon Lex inserts the\n AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score\n for all intents is below this value.\n AMAZON.KendraSearchIntent is only inserted if it is\n configured for the bot.

" } }, "clarificationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

The message Amazon Lex uses when it doesn't understand the user's\n request. For more information, see PutBot.

" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

The message that Amazon Lex returns when the user elects to end the\n conversation without completing it. For more information, see PutBot.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "

The status of the bot.

\n

When the status is BUILDING Amazon Lex is building the bot\n for testing and use.

\n

If the status of the bot is READY_BASIC_TESTING, you\n can test the bot using the exact utterances specified in the bot's\n intents. When the bot is ready for full testing or to run, the status is\n READY.

\n

If there was a problem with building the bot, the status is\n FAILED and the failureReason field explains\n why the bot did not build.

\n

If the bot was saved but not built, the status is\n NOT_BUILT.

" } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex explains why\n it failed to build the bot.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was created.

" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "

The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.

" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see PutBot.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the bot used to identify a specific revision of the\n bot's $LATEST version.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot. For a new bot, the version is always\n $LATEST.

" } }, "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { "smithy.api#documentation": "

The target locale for the bot.

" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By\n specifying true in the childDirected field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.

\n

If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n

" } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether user utterances should be sent to Amazon Comprehend\n for sentiment analysis.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersions": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotVersionsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets information about all of the versions of a bot.

\n

The GetBotVersions operation returns a\n BotMetadata object for each version of a bot. For example,\n if a bot has three numbered versions, the GetBotVersions\n operation returns four BotMetadata objects in the response,\n one for each numbered version and one for the $LATEST\n version.

\n

The GetBotVersions operation always returns at least\n one version, the $LATEST version.

\n

This operation requires permissions for the\n lex:GetBotVersions action.

", "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": "

The name of the bot for which versions should be\n returned.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of bot versions. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of versions, specify the\n pagination token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of bot versions to return in the response. The\n default is 10.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse": { "type": "structure", "members": { "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "

An array of BotMetadata objects, one for each numbered\n version of the bot plus one for the $LATEST\n version.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of bot versions. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of versions, specify the\n pagination token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBots": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBotsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns bot information as follows:

\n \n

This operation requires permission for the lex:GetBots\n action.

", "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": "

A pagination token that fetches the next page of bots. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of bots, specify the pagination token\n in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of bots to return in the response that the\n request will return. The default is 10.

", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

Substring to match in bot names. A bot will be returned if any part\n of its name matches the substring. For example, \"xyz\" matches both\n \"xyzabc\" and \"abcxyz.\"

", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotsResponse": { "type": "structure", "members": { "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "

An array of botMetadata objects, with one entry for\n each bot.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of bots.\n

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns information about a built-in intent.

\n

This operation requires permission for the\n lex:GetBuiltinIntent action.

", "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": "

The unique identifier for a built-in intent. To find the signature\n for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse": { "type": "structure", "members": { "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

The unique identifier for a built-in intent.

" } }, "supportedLocales": { "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", "traits": { "smithy.api#documentation": "

A list of locales that the intent supports.

" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList", "traits": { "smithy.api#documentation": "

An array of BuiltinIntentSlot objects, one entry for\n each slot type in the intent.

" } } } }, "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": "

Gets a list of built-in intents that meet the specified\n criteria.

\n

This operation requires permission for the\n lex:GetBuiltinIntents action.

", "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": "

A list of locales that the intent supports.

", "smithy.api#httpQuery": "locale" } }, "signatureContains": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Substring to match in built-in intent signatures. An intent will be\n returned if any part of its signature matches the substring. For example,\n \"xyz\" matches both \"xyzabc\" and \"abcxyz.\" To find the signature for an\n intent, see Standard Built-in Intents in the Alexa Skills\n Kit.

", "smithy.api#httpQuery": "signatureContains" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token that fetches the next page of intents. If this\n API call is truncated, Amazon Lex returns a pagination token in the response.\n To fetch the next page of intents, use the pagination token in the next\n request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of intents to return in the response. The\n default is 10.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadataList", "traits": { "smithy.api#documentation": "

An array of builtinIntentMetadata objects, one for\n each intent in the response.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token that fetches the next page of intents. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of intents, specify the pagination\n token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypes": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Gets a list of built-in slot types that meet the specified\n criteria.

\n

For a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.

\n\n

This operation requires permission for the\n lex:GetBuiltInSlotTypes action.

", "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": "

A list of locales that the slot type supports.

", "smithy.api#httpQuery": "locale" } }, "signatureContains": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Substring to match in built-in slot type signatures. A slot type\n will be returned if any part of its signature matches the substring. For\n example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"

", "smithy.api#httpQuery": "signatureContains" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token that fetches the next page of slot types. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of slot types, specify the\n pagination token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of slot types to return in the response. The\n default is 10.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadataList", "traits": { "smithy.api#documentation": "

An array of BuiltInSlotTypeMetadata objects, one entry\n for each slot type returned.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

If the response is truncated, the response includes a pagination\n token that you can use in your next request to fetch the next page of slot\n types.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetExport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetExportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetExportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Exports the contents of a Amazon Lex resource in a specified format.\n

", "smithy.api#http": { "method": "GET", "uri": "/exports", "code": 200 } } }, "com.amazonaws.lexmodelbuildingservice#GetExportRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "

The name of the bot to export.

", "smithy.api#httpQuery": "name", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "

The version of the bot to export.

", "smithy.api#httpQuery": "version", "smithy.api#required": {} } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "

The type of resource to export.

", "smithy.api#httpQuery": "resourceType", "smithy.api#required": {} } }, "exportType": { "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { "smithy.api#documentation": "

The format of the exported data.

", "smithy.api#httpQuery": "exportType", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetExportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "

The name of the bot being exported.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { "smithy.api#documentation": "

The version of the bot being exported.

" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "

The type of the exported resource.

" } }, "exportType": { "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { "smithy.api#documentation": "

The format of the exported data.

" } }, "exportStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ExportStatus", "traits": { "smithy.api#documentation": "

The status of the export.

\n " } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex provides the\n reason that it failed to export the resource.

" } }, "url": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

An S3 pre-signed URL that provides the location of the exported\n resource. The exported resource is a ZIP archive that contains the\n exported resource in JSON format. The structure of the archive may change.\n Your code should not rely on the archive structure.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetImport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetImportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetImportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets information about an import job started with the\n StartImport operation.

", "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": "

The identifier of the import job information to return.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetImportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "

The name given to the import job.

" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "

The type of resource imported.

" } }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { "smithy.api#documentation": "

The action taken when there was a conflict between an existing\n resource and a resource in the import file.

" } }, "importId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The identifier for the specific import job.

" } }, "importStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", "traits": { "smithy.api#documentation": "

The status of the import job. If the status is FAILED,\n you can get the reason for the failure from the failureReason\n field.

" } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#StringList", "traits": { "smithy.api#documentation": "

A string that describes why an import job failed to\n complete.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

A timestamp for the date and time that the import job was\n created.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns information about an intent. In addition to the intent\n name, you must specify the intent version.

\n

This operation requires permissions to perform the\n lex:GetIntent action.

", "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": "

The name of the intent. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the intent.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

The name of the intent.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the intent.

" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "

An array of intent slots configured for the intent.

" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "

An array of sample utterances configured for the intent.

" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

If defined in the bot, Amazon Lex uses prompt to confirm the intent\n before fulfilling the user's request. For more information, see PutIntent.

" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

If the user answers \"no\" to the question defined in\n confirmationPrompt, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.

" } }, "followUpPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { "smithy.api#documentation": "

If defined in the bot, Amazon Lex uses this prompt to solicit additional\n user activity after the intent is fulfilled. For more information, see\n PutIntent.

" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

After the Lambda function specified in the\n fulfillmentActivity element fulfills the intent, Amazon Lex\n conveys this statement to the user.

" } }, "dialogCodeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "

If defined in the bot, Amazon Amazon Lex invokes this Lambda function\n for each user input. For more information, see PutIntent.

" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "

Describes how the intent is fulfilled. For more information, see\n PutIntent.

" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

A unique identifier for a built-in intent.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was updated. When you create a resource,\n the creation date and the last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the intent.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the intent.

" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "

Configuration information, if any, to connect to an Amazon Kendra\n index with the AMAZON.KendraSearchIntent intent.

" } }, "inputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#InputContextList", "traits": { "smithy.api#documentation": "

An array of InputContext objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.

" } }, "outputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextList", "traits": { "smithy.api#documentation": "

An array of OutputContext objects that lists the contexts\n that the intent activates when the intent is fulfilled.

" } } } }, "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": "

Gets information about all of the versions of an intent.

\n

The GetIntentVersions operation returns an\n IntentMetadata object for each version of an intent. For\n example, if an intent has three numbered versions, the\n GetIntentVersions operation returns four\n IntentMetadata objects in the response, one for each\n numbered version and one for the $LATEST version.

\n

The GetIntentVersions operation always returns at\n least one version, the $LATEST version.

\n

This operation requires permissions for the\n lex:GetIntentVersions action.

", "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": "

The name of the intent for which versions should be\n returned.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of intent versions.\n If the response to this call is truncated, Amazon Lex returns a pagination\n token in the response. To fetch the next page of versions, specify the\n pagination token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of intent versions to return in the response.\n The default is 10.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "

An array of IntentMetadata objects, one for each\n numbered version of the intent plus one for the $LATEST\n version.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of intent versions.\n If the response to this call is truncated, Amazon Lex returns a pagination\n token in the response. To fetch the next page of versions, specify the\n pagination token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntents": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetIntentsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns intent information as follows:

\n \n

The operation requires permission for the\n lex:GetIntents action.

", "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": "

A pagination token that fetches the next page of intents. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of intents, specify the pagination\n token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of intents to return in the response. The\n default is 10.

", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

Substring to match in intent names. An intent will be returned if\n any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"

", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetIntentsResponse": { "type": "structure", "members": { "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "

An array of Intent objects. For more information, see\n PutBot.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

If the response is truncated, the response includes a pagination\n token that you can specify in your next request to fetch the next page of\n intents.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotType": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns information about a specific version of a slot type. In\n addition to specifying the slot type name, you must specify the slot type\n version.

\n

This operation requires permissions for the\n lex:GetSlotType action.

", "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": "

The name of the slot type. The name is case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the slot type.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "

The name of the slot type.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot type.

" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "

A list of EnumerationValue objects that defines the\n values that the slot type can take.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was updated. When you create a\n resource, the creation date and last update date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the slot type.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the $LATEST version of the slot\n type.

" } }, "valueSelectionStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { "smithy.api#documentation": "

The strategy that Amazon Lex uses to determine the value of the slot.\n For more information, see PutSlotType.

" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

The built-in slot type used as a parent for the slot type.

" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "

Configuration information that extends the parent built-in slot\n type.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersions": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets information about all versions of a slot type.

\n

The GetSlotTypeVersions operation returns a\n SlotTypeMetadata object for each version of a slot type.\n For example, if a slot type has three numbered versions, the\n GetSlotTypeVersions operation returns four\n SlotTypeMetadata objects in the response, one for each\n numbered version and one for the $LATEST version.

\n

The GetSlotTypeVersions operation always returns at\n least one version, the $LATEST version.

\n

This operation requires permissions for the\n lex:GetSlotTypeVersions action.

", "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": "

The name of the slot type for which versions should be\n returned.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of slot type\n versions. If the response to this call is truncated, Amazon Lex returns a\n pagination token in the response. To fetch the next page of versions,\n specify the pagination token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of slot type versions to return in the response.\n The default is 10.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList", "traits": { "smithy.api#documentation": "

An array of SlotTypeMetadata objects, one for each\n numbered version of the slot type plus one for the $LATEST\n version.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

A pagination token for fetching the next page of slot type\n versions. If the response to this call is truncated, Amazon Lex returns a\n pagination token in the response. To fetch the next page of versions,\n specify the pagination token in the next request.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypes": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypesRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetSlotTypesResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns slot type information as follows:

\n \n

The operation requires permission for the\n lex:GetSlotTypes action.

", "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": "

A pagination token that fetches the next page of slot types. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch next page of slot types, specify the pagination\n token in the next request.

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of slot types to return in the response. The\n default is 10.

", "smithy.api#httpQuery": "maxResults" } }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "

Substring to match in slot type names. A slot type will be returned\n if any part of its name matches the substring. For example, \"xyz\" matches\n both \"xyzabc\" and \"abcxyz.\"

", "smithy.api#httpQuery": "nameContains" } } } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypesResponse": { "type": "structure", "members": { "slotTypes": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList", "traits": { "smithy.api#documentation": "

An array of objects, one for each slot type, that provides\n information such as the name of the slot type, the version, and a\n description.

" } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { "smithy.api#documentation": "

If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of slot\n types.

" } } } }, "com.amazonaws.lexmodelbuildingservice#GetUtterancesView": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Use the GetUtterancesView operation to get information\n about the utterances that your users have made to your bot. You can use\n this list to tune the utterances that your bot responds to.

\n

For example, say that you have created a bot to order flowers.\n After your users have used your bot for a while, use the\n GetUtterancesView operation to see the requests that they\n have made and whether they have been successful. You might find that the\n utterance \"I want flowers\" is not being recognized. You could add this\n utterance to the OrderFlowers intent so that your bot\n recognizes that utterance.

\n

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.

\n

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.

\n

If you set childDirected field to true when you\n created your bot, or if you opted out of participating in improving Amazon Lex,\n utterances are not available.

\n

This operation requires permissions for the\n lex:GetUtterancesView action.

", "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": "

The name of the bot for which utterance information should be\n returned.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "botVersions": { "target": "com.amazonaws.lexmodelbuildingservice#BotVersions", "traits": { "smithy.api#documentation": "

An array of bot versions for which utterance information should be\n returned. The limit is 5 versions per request.

", "smithy.api#httpQuery": "bot_versions", "smithy.api#required": {} } }, "statusType": { "target": "com.amazonaws.lexmodelbuildingservice#StatusType", "traits": { "smithy.api#documentation": "

To return utterances that were recognized and handled, use\n Detected. To return utterances that were not recognized,\n use Missed.

", "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": "

The name of the bot for which utterance information was\n returned.

" } }, "utterances": { "target": "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances", "traits": { "smithy.api#documentation": "

An array of UtteranceList objects, each\n containing a list of UtteranceData objects describing\n the utterances that were processed by your bot. The response contains a\n maximum of 100 UtteranceData objects for each version. Amazon Lex\n returns the most frequent utterances received by the bot in the last 15\n days.

" } } } }, "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": "

The name of the context.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The name of a context that must be active for an intent to be selected\n by Amazon Lex.

" } }, "com.amazonaws.lexmodelbuildingservice#InputContextList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#InputContext" }, "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#InputContextName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#Intent": { "type": "structure", "members": { "intentName": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

The name of the intent.

", "smithy.api#required": {} } }, "intentVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the intent.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Identifies the specific version of an intent.

" } }, "com.amazonaws.lexmodelbuildingservice#IntentList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Intent" } }, "com.amazonaws.lexmodelbuildingservice#IntentMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

The name of the intent.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the intent.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was updated. When you create an intent,\n the creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the intent.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about an intent.

" } }, "com.amazonaws.lexmodelbuildingservice#IntentMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadata" } }, "com.amazonaws.lexmodelbuildingservice#IntentName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Utterance" }, "traits": { "smithy.api#length": { "min": 0, "max": 1500 } } }, "com.amazonaws.lexmodelbuildingservice#InternalFailureException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

An internal Amazon Lex error occurred. Try your request again.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.lexmodelbuildingservice#KendraConfiguration": { "type": "structure", "members": { "kendraIndex": { "target": "com.amazonaws.lexmodelbuildingservice#KendraIndexArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Kendra index that you\n want the AMAZON.KendraSearchIntent intent to search. The index must be in\n the same account and Region as the Amazon Lex bot. If the Amazon Kendra index\n does not exist, you get an exception when you call the\n PutIntent operation.

", "smithy.api#required": {} } }, "queryFilterString": { "target": "com.amazonaws.lexmodelbuildingservice#QueryFilterString", "traits": { "smithy.api#documentation": "

A query filter that Amazon Lex sends to Amazon Kendra to filter the\n response from the query. The filter is in the format defined by Amazon\n Kendra. For more information, see Filtering\n queries.

\n

You can override this filter string with a new filter string at\n runtime.

" } }, "role": { "target": "com.amazonaws.lexmodelbuildingservice#roleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that has permission to\n search the Amazon Kendra index. The role must be in the same account and\n Region as the Amazon Lex bot. If the role does not exist, you get an exception\n when you call the PutIntent operation.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides configuration information for the AMAZON.KendraSearchIntent\n intent. When you use this intent, Amazon Lex searches the specified Amazon\n Kendra index and returns documents from the index that match the user's\n utterance. For more information, see \n AMAZON.KendraSearchIntent.

" } }, "com.amazonaws.lexmodelbuildingservice#KendraIndexArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index\\/[a-zA-Z0-9][a-zA-Z0-9_-]*" } }, "com.amazonaws.lexmodelbuildingservice#KmsKeyArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:[\\w\\-]+:kms:[\\w\\-]+:[\\d]{12}:(?:key\\/[\\w\\-]+|alias\\/[a-zA-Z0-9:\\/_\\-]{1,256})$" } }, "com.amazonaws.lexmodelbuildingservice#LambdaARN": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:lambda:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?" } }, "com.amazonaws.lexmodelbuildingservice#LimitExceededException": { "type": "structure", "members": { "retryAfterSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#httpHeader": "Retry-After" } }, "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

The request exceeded a limit. Try your request again.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.lexmodelbuildingservice#ListOfUtterance": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceData" } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets a list of tags associated with the specified resource. Only bots,\n bot aliases, and bot channels can have tags associated with them.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to get a list of tags\n for.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

The tags associated with a resource.

" } } } }, "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceList" } }, "com.amazonaws.lexmodelbuildingservice#Locale": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "de-DE", "name": "DE_DE" }, { "value": "en-AU", "name": "EN_AU" }, { "value": "en-GB", "name": "EN_GB" }, { "value": "en-US", "name": "EN_US" }, { "value": "es-419", "name": "ES_419" }, { "value": "es-ES", "name": "ES_ES" }, { "value": "es-US", "name": "ES_US" }, { "value": "fr-FR", "name": "FR_FR" }, { "value": "fr-CA", "name": "FR_CA" }, { "value": "it-IT", "name": "IT_IT" }, { "value": "ja-JP", "name": "JA_JP" } ] } }, "com.amazonaws.lexmodelbuildingservice#LocaleList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Locale" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsRequest": { "type": "structure", "members": { "logType": { "target": "com.amazonaws.lexmodelbuildingservice#LogType", "traits": { "smithy.api#documentation": "

The type of logging to enable. Text logs are delivered to a CloudWatch\n Logs log group. Audio logs are delivered to an S3 bucket.

", "smithy.api#required": {} } }, "destination": { "target": "com.amazonaws.lexmodelbuildingservice#Destination", "traits": { "smithy.api#documentation": "

Where the logs will be delivered. Text logs are delivered to a\n CloudWatch Logs log group. Audio logs are delivered to an S3\n bucket.

", "smithy.api#required": {} } }, "kmsKeyArn": { "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS KMS customer managed key for\n encrypting audio logs delivered to an S3 bucket. The key does not apply to\n CloudWatch Logs and is optional for S3 buckets.

" } }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs should be delivered.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Settings used to configure delivery mode and destination for\n conversation logs.

" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsRequestList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsRequest" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsResponse": { "type": "structure", "members": { "logType": { "target": "com.amazonaws.lexmodelbuildingservice#LogType", "traits": { "smithy.api#documentation": "

The type of logging that is enabled.

" } }, "destination": { "target": "com.amazonaws.lexmodelbuildingservice#Destination", "traits": { "smithy.api#documentation": "

The destination where logs are delivered.

" } }, "kmsKeyArn": { "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the key used to encrypt audio logs\n in an S3 bucket.

" } }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3\n bucket where the logs are delivered.

" } }, "resourcePrefix": { "target": "com.amazonaws.lexmodelbuildingservice#ResourcePrefix", "traits": { "smithy.api#documentation": "

The resource prefix is the first part of the S3 object key within the\n S3 bucket that you specified to contain audio logs. For CloudWatch Logs it\n is the prefix of the log stream name within the log group that you\n specified.

" } } }, "traits": { "smithy.api#documentation": "

The settings for conversation logs.

" } }, "com.amazonaws.lexmodelbuildingservice#LogSettingsResponseList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#LogSettingsResponse" } }, "com.amazonaws.lexmodelbuildingservice#LogType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AUDIO", "name": "AUDIO" }, { "value": "TEXT", "name": "TEXT" } ] } }, "com.amazonaws.lexmodelbuildingservice#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 } } }, "com.amazonaws.lexmodelbuildingservice#MergeStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "OVERWRITE_LATEST", "name": "OVERWRITE_LATEST" }, { "value": "FAIL_ON_CONFLICT", "name": "FAIL_ON_CONFLICT" } ] } }, "com.amazonaws.lexmodelbuildingservice#Message": { "type": "structure", "members": { "contentType": { "target": "com.amazonaws.lexmodelbuildingservice#ContentType", "traits": { "smithy.api#documentation": "

The content type of the message string.

", "smithy.api#required": {} } }, "content": { "target": "com.amazonaws.lexmodelbuildingservice#ContentString", "traits": { "smithy.api#documentation": "

The text of the message.

", "smithy.api#required": {} } }, "groupNumber": { "target": "com.amazonaws.lexmodelbuildingservice#GroupNumber", "traits": { "smithy.api#documentation": "

Identifies the message group that the message belongs to. When a group\n is assigned to a message, Amazon Lex returns one message from each group in the\n response.

" } } }, "traits": { "smithy.api#documentation": "

The message object that provides the message text and its\n type.

" } }, "com.amazonaws.lexmodelbuildingservice#MessageList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Message" }, "traits": { "smithy.api#length": { "min": 1, "max": 15 } } }, "com.amazonaws.lexmodelbuildingservice#MessageVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#Name": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "[a-zA-Z_]+" } }, "com.amazonaws.lexmodelbuildingservice#NextToken": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#NotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

The resource specified in the request was not found. Check the\n resource and try again.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.lexmodelbuildingservice#NumericalVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[0-9]+" } }, "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "NONE", "name": "NONE" }, { "value": "DEFAULT_OBFUSCATION", "name": "DEFAULT_OBFUSCATION" } ] } }, "com.amazonaws.lexmodelbuildingservice#OutputContext": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextName", "traits": { "smithy.api#documentation": "

The name of the context.

", "smithy.api#required": {} } }, "timeToLiveInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds", "traits": { "smithy.api#documentation": "

The number of seconds that the context should be active after it is\n first sent in a PostContent or PostText\n response. You can set the value between 5 and 86,400 seconds (24\n hours).

", "smithy.api#required": {} } }, "turnsToLive": { "target": "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive", "traits": { "smithy.api#documentation": "

The number of conversation turns that the context should be active. A\n conversation turn is one PostContent or PostText\n request and the corresponding response from Amazon Lex.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The specification of an output context that is set when an intent is\n fulfilled.

" } }, "com.amazonaws.lexmodelbuildingservice#OutputContextList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContext" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#OutputContextName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { "smithy.api#documentation": "

The checksum of the resource that you are trying to change does\n not match the checksum in the request. Check the resource's checksum and\n try again.

", "smithy.api#error": "client", "smithy.api#httpError": 412 } }, "com.amazonaws.lexmodelbuildingservice#Priority": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#ProcessBehavior": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SAVE", "name": "SAVE" }, { "value": "BUILD", "name": "BUILD" } ] } }, "com.amazonaws.lexmodelbuildingservice#Prompt": { "type": "structure", "members": { "messages": { "target": "com.amazonaws.lexmodelbuildingservice#MessageList", "traits": { "smithy.api#documentation": "

An array of objects, each of which provides a message string and\n its type. You can specify the message string in plain text or in Speech\n Synthesis Markup Language (SSML).

", "smithy.api#required": {} } }, "maxAttempts": { "target": "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts", "traits": { "smithy.api#documentation": "

The number of times to prompt the user for information.

", "smithy.api#required": {} } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "

A response card. Amazon Lex uses this prompt at runtime, in the\n PostText API response. It substitutes session attributes\n and slot values for placeholders in the response card. For more\n information, see ex-resp-card.

" } } }, "traits": { "smithy.api#documentation": "

Obtains information from the user. To define a prompt, provide one\n or more messages and specify the number of attempts to get information\n from the user. If you provide more than one message, Amazon Lex chooses one of\n the messages to use to prompt the user. For more information, see how-it-works.

" } }, "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 } } }, "com.amazonaws.lexmodelbuildingservice#PutBot": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#PutBotRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#PutBotResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "

Creates an Amazon Lex conversational bot or replaces an existing bot.\n When you create or update a bot you are only required to specify a name, a\n locale, and whether the bot is directed toward children under age 13. You\n can use this to add intents later, or to remove intents from an existing\n bot. When you create a bot with the minimum information, the bot is\n created or updated but Amazon Lex returns the response\n FAILED. You can build the bot after you add one or more\n intents. For more information about Amazon Lex bots, see how-it-works.

\n

If you specify the name of an existing bot, the fields in the\n request replace the existing values in the $LATEST version of\n the bot. Amazon Lex removes any fields that you don't provide values for in the\n request, except for the idleTTLInSeconds and\n privacySettings fields, which are set to their default\n values. If you don't specify values for required fields, Amazon Lex throws an\n exception.

\n\n

This operation requires permissions for the lex:PutBot\n action. For more information, see security-iam.

", "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": "

Creates an alias for the specified version of the bot or replaces\n an alias for the specified bot. To change the version of the bot that the\n alias points to, replace the alias. For more information about aliases,\n see versioning-aliases.

\n

This operation requires permissions for the\n lex:PutBotAlias action.

", "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": "

The name of the alias. The name is not case\n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the alias.

" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot.

", "smithy.api#required": {} } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Identifies a specific revision of the $LATEST\n version.

\n

When you create a new bot alias, leave the checksum\n field blank. If you specify a checksum you get a\n BadRequestException exception.

\n

When you want to update a bot alias, set the checksum\n field to the checksum of the most recent revision of the\n $LATEST version. If you don't specify the \n checksum field, or if the checksum does not match the\n $LATEST version, you get a\n PreconditionFailedException exception.

" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest", "traits": { "smithy.api#documentation": "

Settings for conversation logs for the alias.

" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tags to add to the bot alias. You can only add tags when you\n create an alias, you can't use the PutBotAlias operation to\n update the tags on a bot alias. To update tags, use the\n TagResource operation.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutBotAliasResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

The name of the alias.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the alias.

" } }, "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot that the alias points to.

" } }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot that the alias points to.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was updated. When you create a\n resource, the creation date and the last updated date are the\n same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot alias was created.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The checksum for the current version of the alias.

" } }, "conversationLogs": { "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { "smithy.api#documentation": "

The settings that determine how Amazon Lex uses conversation logs for the\n alias.

" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tags associated with a bot.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutBotRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot. The name is not case\n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot.

" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "

An array of Intent objects. Each intent represents a\n command that a user can express. For example, a pizza ordering bot might\n support an OrderPizza intent. For more information, see how-it-works.

" } }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Set to true to enable access to natural language\n understanding improvements.

\n

When you set the enableModelImprovements parameter to\n true you can use the\n nluIntentConfidenceThreshold parameter to configure\n confidence scores. For more information, see Confidence Scores.

\n

You can only set the enableModelImprovements parameter in\n certain Regions. If you set the parameter to true, your bot\n has access to accuracy improvements.

\n

The Regions where you can set the enableModelImprovements\n parameter to true are:

\n \n

In other Regions, the enableModelImprovements parameter\n is set to true by default. In these Regions setting the\n parameter to false throws a ValidationException\n exception.

" } }, "nluIntentConfidenceThreshold": { "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", "traits": { "smithy.api#documentation": "

Determines the threshold where Amazon Lex will insert the\n AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent and\n AMAZON.KendraSearchIntent are only inserted if they are\n configured for the bot.

\n

You must set the enableModelImprovements parameter to\n true to use confidence scores in the following\n regions.

\n \n

In other Regions, the enableModelImprovements parameter\n is set to true by default.

\n

For example, suppose a bot is configured with the confidence threshold\n of 0.80 and the AMAZON.FallbackIntent. Amazon Lex returns three\n alternative intents with the following confidence scores: IntentA (0.70),\n IntentB (0.60), IntentC (0.50). The response from the\n PostText operation would be:

\n " } }, "clarificationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

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 maxAttempts field.\n If Amazon Lex still doesn't understand, it sends the message in the\n abortStatement field.

\n

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.'\"

\n

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 maxAttempts field. For more information, see \n AMAZON.FallbackIntent.

\n

If you don't define a clarification prompt, at runtime Amazon Lex will\n return a 400 Bad Request exception in three cases:

\n " } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

When Amazon Lex can't understand the user's input in context, it tries\n to elicit the information a few times. After that, Amazon Lex sends the message\n defined in abortStatement to the user, and then cancels the\n conversation. To set the number of retries, use the\n valueElicitationPrompt field for the slot type.

\n

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.

\n

For example, in a pizza ordering application,\n OrderPizza might be one of the intents. This intent might\n require the CrustType slot. You specify the\n valueElicitationPrompt field when you create the\n CrustType slot.

\n

If you have defined a fallback intent the cancel statement will not be\n sent to the user, the fallback intent is used instead. For more\n information, see \n AMAZON.FallbackIntent.

" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "

The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation.

\n

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.

\n

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.

\n

If you don't include the idleSessionTTLInSeconds\n element in a PutBot operation request, Amazon Lex uses the default\n value. This is also true if the request replaces an existing\n bot.

\n

The default is 300 seconds (5 minutes).

" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The Amazon Polly voice ID that you want Amazon Lex to use for voice\n interactions with the user. The locale configured for the voice must match\n the locale of the bot. For more information, see Voices\n in Amazon Polly in the Amazon Polly Developer\n Guide.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Identifies a specific revision of the $LATEST\n version.

\n

When you create a new bot, leave the checksum field\n blank. If you specify a checksum you get a\n BadRequestException exception.

\n

When you want to update a bot, set the checksum field\n to the checksum of the most recent revision of the $LATEST\n version. If you don't specify the checksum field, or if the\n checksum does not match the $LATEST version, you get a\n PreconditionFailedException exception.

" } }, "processBehavior": { "target": "com.amazonaws.lexmodelbuildingservice#ProcessBehavior", "traits": { "smithy.api#documentation": "

If you set the processBehavior element to\n BUILD, Amazon Lex builds the bot so that it can be run. If you\n set the element to SAVE Amazon Lex saves the bot, but doesn't\n build it.

\n

If you don't specify this value, the default value is\n BUILD.

" } }, "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { "smithy.api#documentation": "

Specifies the target locale for the bot. Any intent used in the\n bot must be compatible with the locale of the bot.

\n\n

The default is en-US.

", "smithy.api#required": {} } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By\n specifying true in the childDirected field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.

\n

If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n

", "smithy.api#required": {} } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

When set to true user utterances are sent to Amazon\n Comprehend for sentiment analysis. If you don't specify\n detectSentiment, the default is false.

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

When set to true a new numbered version of the bot is\n created. This is the same as calling the CreateBotVersion\n operation. If you don't specify createVersion, the default is\n false.

" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tags to add to the bot. You can only add tags when you\n create a bot, you can't use the PutBot operation to update\n the tags on a bot. To update tags, use the TagResource\n operation.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutBotResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

The name of the bot.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the bot.

" } }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { "smithy.api#documentation": "

An array of Intent objects. For more information, see\n PutBot.

" } }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the bot uses accuracy improvements.\n true indicates that the bot is using the improvements,\n otherwise, false.

" } }, "nluIntentConfidenceThreshold": { "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", "traits": { "smithy.api#documentation": "

The score that determines where Amazon Lex inserts the\n AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning\n alternative intents in a PostContent or\n PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score\n for all intents is below this value.\n AMAZON.KendraSearchIntent is only inserted if it is\n configured for the bot.

" } }, "clarificationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

The prompts that Amazon Lex uses when it doesn't understand the user's\n intent. For more information, see PutBot.

" } }, "abortStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

The message that Amazon Lex uses to cancel a conversation. For more\n information, see PutBot.

" } }, "status": { "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { "smithy.api#documentation": "

When you send a request to create a bot with\n processBehavior set to BUILD, Amazon Lex sets the\n status response element to BUILDING.

\n

In the READY_BASIC_TESTING state you can test the bot\n with user inputs that exactly match the utterances configured for the\n bot's intents and values in the slot types.

\n

If Amazon Lex can't build the bot, Amazon Lex sets status to\n FAILED. Amazon Lex returns the reason for the failure in the\n failureReason response element.

\n

When you set processBehavior to SAVE,\n Amazon Lex sets the status code to NOT BUILT.

\n

When the bot is in the READY state you can test and\n publish the bot.

" } }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

If status is FAILED, Amazon Lex provides the\n reason that it failed to build the bot.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was updated. When you create a resource, the\n creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the bot was created.

" } }, "idleSessionTTLInSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { "smithy.api#documentation": "

The maximum length of time that Amazon Lex retains the data gathered in\n a conversation. For more information, see PutBot.

" } }, "voiceId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The Amazon Polly voice ID that Amazon Lex uses for voice interaction\n with the user. For more information, see PutBot.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the bot that you created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot. For a new bot, the version is always\n $LATEST.

" } }, "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { "smithy.api#documentation": "

The target locale for the bot.

" } }, "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or in\n part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By\n specifying true in the childDirected field, you\n confirm that your use of Amazon Lex is related\n to a website, program, or other application that is directed or targeted,\n in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you\n confirm that your use of Amazon Lex is not\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. You may not specify a default value for the\n childDirected field that does not accurately reflect\n whether your use of Amazon Lex is related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children\n under age 13 and subject to COPPA.

\n

If your use of Amazon Lex relates to a website, program, or other\n application that is directed in whole or in part, to children under age\n 13, you must obtain any required verifiable parental consent under COPPA.\n For information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole or\n in part, to children under age 13, see the Amazon Lex FAQ.\n

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

\n True if a new version of the bot was created. If the\n createVersion field was not specified in the request, the\n createVersion field is set to false in the\n response.

" } }, "detectSentiment": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

\n true if the bot is configured to send user utterances to\n Amazon Comprehend for sentiment analysis. If the\n detectSentiment field was not specified in the request, the\n detectSentiment field is false in the\n response.

" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tags associated with the bot.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutIntent": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#PutIntentRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#PutIntentResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#PreconditionFailedException" } ], "traits": { "smithy.api#documentation": "

Creates an intent or replaces an existing intent.

\n

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 OrderPizza intent.

\n

To create an intent or replace an existing intent, you must provide\n the following:

\n \n

You can specify other optional information in the request, such\n as:

\n\n \n

If you specify an existing intent name to update the intent, Amazon Lex\n replaces the values in the $LATEST version of the intent with\n the values in the request. Amazon Lex removes fields that you don't provide in\n the request. If you don't specify the required fields, Amazon Lex throws an\n exception. When you update the $LATEST version of an intent,\n the status field of any bot that uses the\n $LATEST version of the intent is set to\n NOT_BUILT.

\n

For more information, see how-it-works.

\n

This operation requires permissions for the\n lex:PutIntent action.

", "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": "

The name of the intent. The name is not case\n sensitive.

\n

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 AMAZON.HelpIntent, you can't create a custom\n intent called HelpIntent.

\n

For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills\n Kit.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the intent.

" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "

An array of intent slots. At runtime, Amazon Lex elicits required slot\n values from the user using prompts defined in the slots. For more\n information, see how-it-works.

" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "

An array of utterances (strings) that a user might say to signal\n the intent. For example, \"I want {PizzaSize} pizza\", \"Order {Quantity}\n {PizzaSize} pizzas\".

\n\n

In each utterance, a slot name is enclosed in curly braces.\n

" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

Prompts the user to confirm the intent. This question should have a\n yes or no answer.

\n

Amazon Lex uses this prompt to ensure that the user acknowledges that\n the intent is ready for fulfillment. For example, with the\n OrderPizza intent, you might want to confirm that the order\n is correct before placing it. For other intents, such as intents that\n simply respond to user questions, you might not need to ask the user for\n confirmation before providing the information.

\n \n

You you must provide both the rejectionStatement and\n the confirmationPrompt, or neither.

\n
" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

When the user answers \"no\" to the question defined in\n confirmationPrompt, Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.

\n \n

You must provide both the rejectionStatement and the\n confirmationPrompt, or neither.

\n
" } }, "followUpPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { "smithy.api#documentation": "

Amazon Lex uses this prompt to solicit additional activity after\n fulfilling an intent. For example, after the OrderPizza\n intent is fulfilled, you might prompt the user to order a drink.

\n

The action that Amazon Lex takes depends on the user's response, as\n follows:

\n \n\n

The followUpPrompt field and the\n conclusionStatement field are mutually exclusive. You can\n specify only one.

" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

The statement that you want Amazon Lex to convey to the user after the\n intent is successfully fulfilled by the Lambda function.

\n

This element is relevant only if you provide a Lambda function in\n the fulfillmentActivity. If you return the intent to the\n client application, you can't specify this element.

\n \n

The followUpPrompt and\n conclusionStatement are mutually exclusive. You can\n specify only one.

\n
" } }, "dialogCodeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "

Specifies a Lambda function to invoke for each user input. You can\n invoke this Lambda function to personalize user interaction.

\n

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 GlutenIntolerant, to true. You might find John's phone\n number and set the corresponding session attribute.

" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "

Required. Describes how the intent is fulfilled. For example, after\n a user provides all of the information for a pizza order,\n fulfillmentActivity defines how the bot places an order\n with a local pizza store.

\n

You might configure Amazon Lex to return all of the intent information\n to the client application, or direct it to invoke a Lambda function that\n can process the intent (for example, place an order with a pizzeria).\n

" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

A unique identifier for the built-in intent to base this intent on.\n To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills\n Kit.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Identifies a specific revision of the $LATEST\n version.

\n

When you create a new intent, leave the checksum field\n blank. If you specify a checksum you get a\n BadRequestException exception.

\n

When you want to update a intent, set the checksum\n field to the checksum of the most recent revision of the\n $LATEST version. If you don't specify the \n checksum field, or if the checksum does not match the\n $LATEST version, you get a\n PreconditionFailedException exception.

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

When set to true a new numbered version of the intent\n is created. This is the same as calling the\n CreateIntentVersion operation. If you do not specify\n createVersion, the default is false.

" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "

Configuration information required to use the\n AMAZON.KendraSearchIntent intent to connect to an Amazon\n Kendra index. For more information, see \n AMAZON.KendraSearchIntent.

" } }, "inputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#InputContextList", "traits": { "smithy.api#documentation": "

An array of InputContext objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.

" } }, "outputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextList", "traits": { "smithy.api#documentation": "

An array of OutputContext objects that lists the contexts\n that the intent activates when the intent is fulfilled.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutIntentResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { "smithy.api#documentation": "

The name of the intent.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the intent.

" } }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { "smithy.api#documentation": "

An array of intent slots that are configured for the\n intent.

" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { "smithy.api#documentation": "

An array of sample utterances that are configured for the intent.\n

" } }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

If defined in the intent, Amazon Lex prompts the user to confirm the\n intent before fulfilling it.

" } }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

If the user answers \"no\" to the question defined in\n confirmationPrompt Amazon Lex responds with this statement to\n acknowledge that the intent was canceled.

" } }, "followUpPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { "smithy.api#documentation": "

If defined in the intent, Amazon Lex uses this prompt to solicit\n additional user activity after the intent is fulfilled.

" } }, "conclusionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

After the Lambda function specified in\n thefulfillmentActivityintent fulfills the intent, Amazon Lex\n conveys this statement to the user.

" } }, "dialogCodeHook": { "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { "smithy.api#documentation": "

If defined in the intent, Amazon Lex invokes this Lambda function for\n each user input.

" } }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "

If defined in the intent, Amazon Lex invokes this Lambda function to\n fulfill the intent after the user provides all of the information required\n by the intent.

" } }, "parentIntentSignature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

A unique identifier for the built-in intent that this intent is\n based on.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was updated. When you create a resource,\n the creation date and last update dates are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the intent was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the intent. For a new intent, the version is always\n $LATEST.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the $LATESTversion of the intent created\n or updated.

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

\n True if a new version of the intent was created. If\n the createVersion field was not specified in the request, the\n createVersion field is set to false in the\n response.

" } }, "kendraConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { "smithy.api#documentation": "

Configuration information, if any, required to connect to an Amazon\n Kendra index and use the AMAZON.KendraSearchIntent\n intent.

" } }, "inputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#InputContextList", "traits": { "smithy.api#documentation": "

An array of InputContext objects that lists the contexts\n that must be active for Amazon Lex to choose the intent in a conversation with\n the user.

" } }, "outputContexts": { "target": "com.amazonaws.lexmodelbuildingservice#OutputContextList", "traits": { "smithy.api#documentation": "

An array of OutputContext objects that lists the contexts\n that the intent activates when the intent is fulfilled.

" } } } }, "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": "

Creates a custom slot type or replaces an existing custom slot\n type.

\n

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 how-it-works.

\n

If you specify the name of an existing slot type, the fields in the\n request replace the existing values in the $LATEST version of\n the slot type. Amazon Lex removes the fields that you don't provide in the\n request. If you don't specify required fields, Amazon Lex throws an exception.\n When you update the $LATEST version of a slot type, if a bot\n uses the $LATEST version of an intent that contains the slot\n type, the bot's status field is set to\n NOT_BUILT.

\n\n

This operation requires permissions for the\n lex:PutSlotType action.

", "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": "

The name of the slot type. The name is not\n case sensitive.

\n

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 AMAZON.DATE, you can't create a custom slot\n type called DATE.

\n

For a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot type.

" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "

A list of EnumerationValue objects that defines the\n values that the slot type can take. Each value can have a list of\n synonyms, which are additional values that help train the\n machine learning model about the values that it resolves for a slot.

\n

A regular expression slot type doesn't require enumeration values.\n All other slot types require a list of enumeration values.

\n

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 valueSelectionStrategy field indicates the option\n to use.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Identifies a specific revision of the $LATEST\n version.

\n

When you create a new slot type, leave the checksum\n field blank. If you specify a checksum you get a\n BadRequestException exception.

\n

When you want to update a slot type, set the checksum\n field to the checksum of the most recent revision of the\n $LATEST version. If you don't specify the \n checksum field, or if the checksum does not match the\n $LATEST version, you get a\n PreconditionFailedException exception.

" } }, "valueSelectionStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { "smithy.api#documentation": "

Determines the slot resolution strategy that Amazon Lex uses to return\n slot type values. The field can be set to one of the following\n values:

\n \n

If you don't specify the valueSelectionStrategy, the\n default is ORIGINAL_VALUE.

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

When set to true a new numbered version of the slot\n type is created. This is the same as calling the\n CreateSlotTypeVersion operation. If you do not specify\n createVersion, the default is false.

" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

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.

\n

Only AMAZON.AlphaNumeric is supported.

" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "

Configuration information that extends the parent built-in slot type.\n The configuration is added to the settings for the parent slot\n type.

" } } } }, "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "

The name of the slot type.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot type.

" } }, "enumerationValues": { "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { "smithy.api#documentation": "

A list of EnumerationValue objects that defines the\n values that the slot type can take.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was updated. When you create a slot\n type, the creation date and last update date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the slot type. For a new slot type, the version is\n always $LATEST.

" } }, "checksum": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

Checksum of the $LATEST version of the slot\n type.

" } }, "valueSelectionStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { "smithy.api#documentation": "

The slot resolution strategy that Amazon Lex uses to determine the value\n of the slot. For more information, see PutSlotType.

" } }, "createVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

\n True if a new version of the slot type was created. If\n the createVersion field was not specified in the request, the\n createVersion field is set to false in the\n response.

" } }, "parentSlotTypeSignature": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

The built-in slot type used as the parent of the slot type.

" } }, "slotTypeConfigurations": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { "smithy.api#documentation": "

Configuration information that extends the parent built-in slot\n type.

" } } } }, "com.amazonaws.lexmodelbuildingservice#QueryFilterString": { "type": "string", "traits": { "smithy.api#length": { "min": 0 } } }, "com.amazonaws.lexmodelbuildingservice#ReferenceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Intent", "name": "INTENT" }, { "value": "Bot", "name": "BOT" }, { "value": "BotAlias", "name": "BOTALIAS" }, { "value": "BotChannel", "name": "BOTCHANNEL" } ] } }, "com.amazonaws.lexmodelbuildingservice#RegexPattern": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#ResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^arn:[\\w\\-]+:(?:logs:[\\w\\-]+:[\\d]{12}:log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(?::\\*)?|s3:::[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9])$" } }, "com.amazonaws.lexmodelbuildingservice#ResourceInUseException": { "type": "structure", "members": { "referenceType": { "target": "com.amazonaws.lexmodelbuildingservice#ReferenceType" }, "exampleReference": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceReference" } }, "traits": { "smithy.api#documentation": "

The resource that you are attempting to delete is referred to by\n another resource. Use this information to remove references to the\n resource that you are trying to delete.

\n

The body of the exception contains a JSON object that describes the\n resource.

\n

\n { \"resourceType\": BOT | BOTALIAS | BOTCHANNEL |\n INTENT,\n

\n

\n \"resourceReference\": {\n

\n

\n \"name\": string, \"version\":\n string } }\n

", "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": "

The name of the resource that is using the resource that you are\n trying to delete.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the resource that is using the resource that you are\n trying to delete.

" } } }, "traits": { "smithy.api#documentation": "

Describes the resource that refers to the resource that you are\n attempting to delete. This object is returned as part of the\n ResourceInUseException exception.

" } }, "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": "

The name of the slot.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot.

" } }, "slotConstraint": { "target": "com.amazonaws.lexmodelbuildingservice#SlotConstraint", "traits": { "smithy.api#documentation": "

Specifies whether the slot is required or optional.

", "smithy.api#required": {} } }, "slotType": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

The type of the slot, either a custom slot type that you defined or\n one of the built-in slot types.

" } }, "slotTypeVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the slot type.

" } }, "valueElicitationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

The prompt that Amazon Lex uses to elicit the slot value from the\n user.

" } }, "priority": { "target": "com.amazonaws.lexmodelbuildingservice#Priority", "traits": { "smithy.api#documentation": "

Directs Amazon Lex the order in which to elicit this slot value from\n the user. For example, if the intent has two slots with priorities 1 and\n 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

\n

If multiple slots share the same priority, the order in which Amazon Lex\n elicits values is arbitrary.

" } }, "sampleUtterances": { "target": "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList", "traits": { "smithy.api#documentation": "

If you know a specific pattern with which users might respond to\n an Amazon Lex request for a slot value, you can provide those utterances to\n improve accuracy. This is optional. In most cases, Amazon Lex is capable of\n understanding user utterances.

" } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "

A set of possible responses for the slot type used by text-based\n clients. A user chooses an option from the response card, instead of using\n text to reply.

" } }, "obfuscationSetting": { "target": "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting", "traits": { "smithy.api#documentation": "

Determines whether a slot is obfuscated in conversation logs and\n stored utterances. When you obfuscate a slot, the value is replaced by the\n slot name in curly braces ({}). For example, if the slot name is\n \"full_name\", obfuscated values are replaced with \"{full_name}\". For more\n information, see Slot Obfuscation .\n

" } }, "defaultValueSpec": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueSpec", "traits": { "smithy.api#documentation": "

A list of default values for the slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot. You can specify default values\n from context variables, session attributes, and defined values.

" } } }, "traits": { "smithy.api#documentation": "

Identifies the version of a specific slot.

" } }, "com.amazonaws.lexmodelbuildingservice#SlotConstraint": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Required", "name": "REQUIRED" }, { "value": "Optional", "name": "OPTIONAL" } ] } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValue": { "type": "structure", "members": { "defaultValue": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueString", "traits": { "smithy.api#documentation": "

The default value for the slot. You can specify one of the\n following:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A default value for a slot.

" } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValue" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueSpec": { "type": "structure", "members": { "defaultValueList": { "target": "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueList", "traits": { "smithy.api#documentation": "

The default values for a slot. You can specify more than one default.\n For example, you can specify a default value to use from a matching\n context variable, a session attribute, or a fixed value.

\n

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.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot.

" } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValueString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 202 } } }, "com.amazonaws.lexmodelbuildingservice#SlotList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Slot" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#SlotName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z](-|_|.)?)+$" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeConfiguration": { "type": "structure", "members": { "regexConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeRegexConfiguration", "traits": { "smithy.api#documentation": "

A regular expression used to validate the value of a slot.

" } } }, "traits": { "smithy.api#documentation": "

Provides configuration information for a slot type.

" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfiguration" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { "smithy.api#documentation": "

The name of the slot type.

" } }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

A description of the slot type.

" } }, "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was updated. When you create a\n resource, the creation date and last updated date are the same.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the slot type was created.

" } }, "version": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the slot type.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a slot type..

" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadataList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadata" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "^([A-Za-z]_?)+$" } }, "com.amazonaws.lexmodelbuildingservice#SlotTypeRegexConfiguration": { "type": "structure", "members": { "pattern": { "target": "com.amazonaws.lexmodelbuildingservice#RegexPattern", "traits": { "smithy.api#documentation": "

A regular expression used to validate the value of a slot.

\n

Use a standard regular expression. Amazon Lex supports the following\n characters in the regular expression:

\n \n

Represent Unicode characters with four digits, for example\n \"\\u0041\" or \"\\u005A\".

\n

The following regular expression operators are not supported:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides a regular expression used to validate the value of a\n slot.

" } }, "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Utterance" }, "traits": { "smithy.api#length": { "min": 0, "max": 10 } } }, "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ORIGINAL_VALUE", "name": "ORIGINAL_VALUE" }, { "value": "TOP_RESOLUTION", "name": "TOP_RESOLUTION" } ] } }, "com.amazonaws.lexmodelbuildingservice#StartImport": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#StartImportRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#StartImportResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Starts a job to import a resource to Amazon Lex.

", "smithy.api#http": { "method": "POST", "uri": "/imports", "code": 201 } } }, "com.amazonaws.lexmodelbuildingservice#StartImportRequest": { "type": "structure", "members": { "payload": { "target": "com.amazonaws.lexmodelbuildingservice#Blob", "traits": { "smithy.api#documentation": "

A zip archive in binary format. The archive should contain one file, a\n JSON file containing the resource to import. The resource should match the\n type specified in the resourceType field.

", "smithy.api#required": {} } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "

Specifies the type of resource to export. Each resource also\n exports any resources that it depends on.

\n ", "smithy.api#required": {} } }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { "smithy.api#documentation": "

Specifies the action that the StartImport operation\n should take when there is an existing resource with the same\n name.

\n ", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

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.

" } } } }, "com.amazonaws.lexmodelbuildingservice#StartImportResponse": { "type": "structure", "members": { "name": { "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { "smithy.api#documentation": "

The name given to the import job.

" } }, "resourceType": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { "smithy.api#documentation": "

The type of resource to import.

" } }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { "smithy.api#documentation": "

The action to take when there is a merge conflict.

" } }, "importId": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#documentation": "

The identifier for the specific import job.

" } }, "importStatus": { "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", "traits": { "smithy.api#documentation": "

The status of the import job. If the status is FAILED,\n you can get the reason for the failure using the GetImport\n operation.

" } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tags added to the imported bot.

" } }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

A timestamp for the date and time that the import job was\n requested.

" } } } }, "com.amazonaws.lexmodelbuildingservice#Statement": { "type": "structure", "members": { "messages": { "target": "com.amazonaws.lexmodelbuildingservice#MessageList", "traits": { "smithy.api#documentation": "

A collection of message objects.

", "smithy.api#required": {} } }, "responseCard": { "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", "traits": { "smithy.api#documentation": "

At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response.\n It substitutes all of the session attributes and slot values for\n placeholders in the response card.

" } } }, "traits": { "smithy.api#documentation": "

A collection of messages that convey information to the user. At\n runtime, Amazon Lex selects the message to convey.

" } }, "com.amazonaws.lexmodelbuildingservice#Status": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BUILDING", "name": "BUILDING" }, { "value": "READY", "name": "READY" }, { "value": "READY_BASIC_TESTING", "name": "READY_BASIC_TESTING" }, { "value": "FAILED", "name": "FAILED" }, { "value": "NOT_BUILT", "name": "NOT_BUILT" } ] } }, "com.amazonaws.lexmodelbuildingservice#StatusType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Detected", "name": "DETECTED" }, { "value": "Missed", "name": "MISSED" } ] } }, "com.amazonaws.lexmodelbuildingservice#String": { "type": "string" }, "com.amazonaws.lexmodelbuildingservice#StringList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "com.amazonaws.lexmodelbuildingservice#SynonymList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Value" } }, "com.amazonaws.lexmodelbuildingservice#Tag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.lexmodelbuildingservice#TagKey", "traits": { "smithy.api#documentation": "

The key for the tag. Keys are not case-sensitive and must be\n unique.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.lexmodelbuildingservice#TagValue", "traits": { "smithy.api#documentation": "

The value associated with a key. The value may be an empty string but\n it can't be null.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A list of key/value pairs that identify a bot, bot alias, or bot\n channel. Tag keys and values can consist of Unicode letters, digits, white\n space, and any of the following symbols: _ . : / = + - @.

" } }, "com.amazonaws.lexmodelbuildingservice#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.lexmodelbuildingservice#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#TagList": { "type": "list", "member": { "target": "com.amazonaws.lexmodelbuildingservice#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#TagResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Adds the specified tags to the specified resource. If a tag key\n already exists, the existing value is replaced with the new value.

", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.lexmodelbuildingservice#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel\n to tag.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { "smithy.api#documentation": "

A list of tag keys to add to the resource. If a tag key already\n exists, the existing value is replaced with the new value.

", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lexmodelbuildingservice#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.lexmodelbuildingservice#Timestamp": { "type": "timestamp" }, "com.amazonaws.lexmodelbuildingservice#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.lexmodelbuildingservice#UntagResourceRequest" }, "output": { "target": "com.amazonaws.lexmodelbuildingservice#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" }, { "target": "com.amazonaws.lexmodelbuildingservice#ConflictException" }, { "target": "com.amazonaws.lexmodelbuildingservice#InternalFailureException" }, { "target": "com.amazonaws.lexmodelbuildingservice#LimitExceededException" }, { "target": "com.amazonaws.lexmodelbuildingservice#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Removes tags from a bot, bot alias or bot channel.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", "code": 204 } } }, "com.amazonaws.lexmodelbuildingservice#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to remove the tags\n from.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.lexmodelbuildingservice#TagKeyList", "traits": { "smithy.api#documentation": "

A list of tag keys to remove from the resource. If a tag key does not\n exist on the resource, it is ignored.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.lexmodelbuildingservice#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.lexmodelbuildingservice#UserId": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 100 } } }, "com.amazonaws.lexmodelbuildingservice#Utterance": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "com.amazonaws.lexmodelbuildingservice#UtteranceData": { "type": "structure", "members": { "utteranceString": { "target": "com.amazonaws.lexmodelbuildingservice#UtteranceString", "traits": { "smithy.api#documentation": "

The text that was entered by the user or the text representation of\n an audio clip.

" } }, "count": { "target": "com.amazonaws.lexmodelbuildingservice#Count", "traits": { "smithy.api#documentation": "

The number of times that the utterance was processed.

" } }, "distinctUsers": { "target": "com.amazonaws.lexmodelbuildingservice#Count", "traits": { "smithy.api#documentation": "

The total number of individuals that used the utterance.

" } }, "firstUtteredDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the utterance was first recorded.

" } }, "lastUtteredDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

The date that the utterance was last recorded.

" } } }, "traits": { "smithy.api#documentation": "

Provides information about a single utterance that was made to your\n bot.

" } }, "com.amazonaws.lexmodelbuildingservice#UtteranceList": { "type": "structure", "members": { "botVersion": { "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { "smithy.api#documentation": "

The version of the bot that processed the list.

" } }, "utterances": { "target": "com.amazonaws.lexmodelbuildingservice#ListOfUtterance", "traits": { "smithy.api#documentation": "

One or more UtteranceData objects that contain\n information about the utterances that have been made to a bot. The maximum\n number of object is 100.

" } } }, "traits": { "smithy.api#documentation": "

Provides a list of utterances that have been made to a specific\n version of your bot. The list contains a maximum of 100\n utterances.

" } }, "com.amazonaws.lexmodelbuildingservice#UtteranceString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2000 } } }, "com.amazonaws.lexmodelbuildingservice#Value": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 140 } } }, "com.amazonaws.lexmodelbuildingservice#Version": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "\\$LATEST|[0-9]+" } }, "com.amazonaws.lexmodelbuildingservice#roleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:role/.*" } } } }