10144 lines
479 KiB
JSON
10144 lines
479 KiB
JSON
|
{
|
||
|
"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.lexmodelsv2#AmazonResourceName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1011
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#AttachmentTitle": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 250
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#AttachmentUrl": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 250
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#AudioLogDestination": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"s3Bucket": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#S3BucketLogDestination",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon S3 bucket where the audio log files are stored. The IAM\n role specified in the <code>roleArn</code> parameter of the <a>CreateBot</a> operation must have permission to write to\n this bucket.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The location of audio log files collected when conversation logging\n is enabled for a bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#AudioLogSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"enabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether audio logging in enabled for the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"destination": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AudioLogDestination",
|
||
|
"traits": {
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Settings for logging audio of conversations between Amazon Lex and a\n user. You specify whether to log audio and the Amazon S3 bucket where\n the audio file is stored.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#AudioLogSettingsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AudioLogSetting"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Boolean": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasHistoryEvent": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that was used in the event. </p>"
|
||
|
}
|
||
|
},
|
||
|
"startDate": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the event started.</p>"
|
||
|
}
|
||
|
},
|
||
|
"endDate": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the event ended.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides a record of an event that affects a bot alias. For example,\n when the version of a bot that the alias points to changes.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasHistoryEventsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasHistoryEvent"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasId": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 10,
|
||
|
"max": 10
|
||
|
},
|
||
|
"smithy.api#pattern": "^(\\bTSTALIASID\\b|[0-9a-zA-Z]+)$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasLocaleSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"enabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether the locale is enabled for the bot. If the value\n is <code>false</code>, the locale isn't available for use.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"codeHookSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CodeHookSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies the Lambda function that should be used in the\n locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies settings that are unique to a locale. For example, you can\n use different Lambda function depending on the bot's locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap": {
|
||
|
"type": "map",
|
||
|
"key": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId"
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettings"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasStatus": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Creating",
|
||
|
"name": "Creating"
|
||
|
},
|
||
|
{
|
||
|
"value": "Available",
|
||
|
"name": "Available"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deleting",
|
||
|
"name": "Deleting"
|
||
|
},
|
||
|
{
|
||
|
"value": "Failed",
|
||
|
"name": "Failed"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the bot alias. You can use this ID\n to get detailed information about the alias using the <a>DescribeBotAlias</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that the bot alias references.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current state of the bot alias. If the status is\n <code>Available</code>, the alias is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot alias was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot alias was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about bot aliases returned from the <a>ListBotAliases</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotAliasSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotExportSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot assigned by Amazon Lex.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that was exported. This will be either\n <code>DRAFT</code> or the version number.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provided the identity of a the bot that was exported.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to filter the list of bots.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value to use for filtering the list of bots.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify <code>EQ</code> when the\n <code>ListBots</code> operation should return only aliases that\n equal the specified value. Specify <code>CO</code> when the\n <code>ListBots</code> operation should return aliases that contain\n the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters the responses returned by the <code>ListBots</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "BotName",
|
||
|
"name": "BotName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotImportSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name that Amazon Lex should use for the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used to build and run\n the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The time, in seconds, that Amazon Lex should keep information about a\n user's conversation with the bot. </p>\n <p>A user interaction remains active for the amount of time specified.\n If no conversation occurs during this time, the session expires and\n Amazon Lex deletes any data provided before the timeout.</p>\n <p>You can specify between 60 (1 minute) and 86,400 (24 hours)\n seconds.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags to add to the bot. You can only add tags when you\n import a bot. You can't use the <code>UpdateBot</code> operation to\n update tags. To update tags, use the <code>TagResource</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"testBotAliasTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags to add to the test alias for a bot. You can only add\n tags when you import a bot. You can't use the <code>UpdateAlias</code>\n operation to update tags. To update tags on the test alias, use the\n <code>TagResource</code> operation.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the bot parameters required for importing a bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleExportSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to create the locale for.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to export.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale to export. The string must\n match one of the locales in the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the bot locale parameters required for exporting a bot\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to filter the list of bots.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value to use for filtering the list of bots.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify <code>EQ</code> when the\n <code>ListBotLocales</code> operation should return only aliases\n that equal the specified value. Specify <code>CO</code> when the\n <code>ListBotLocales</code> operation should return aliases that\n contain the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters responses returned by the <code>ListBotLocales</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "BotLocaleName",
|
||
|
"name": "BotLocaleName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleHistoryEvent": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"event": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleHistoryEventDescription",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the event that occurred.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"eventDate": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the event occurred.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information about an event that occurred affecting the bot\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleHistoryEventDescription": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleHistoryEventsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleHistoryEvent"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleImportSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to import the locale to.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to import the locale to. This can only be the\n <code>DRAFT</code> version of the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the bot will be used\n in. The string must match one of the supported locales. All of the\n intents, slot types, and slots used in the bot must have the same\n locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported\n languages</a>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the threshold where Amazon Lex will insert the\n <code>AMAZON.FallbackIntent</code>,\n <code>AMAZON.KendraSearchIntent</code>, or both when returning\n alternative intents. <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> are only inserted if they are\n configured for the bot. </p>\n <p>For example, suppose a bot is configured with the confidence\n threshold of 0.80 and the <code>AMAZON.FallbackIntent</code>. Amazon\n Lex returns three alternative intents with the following confidence\n scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response\n from the <code>PostText</code> operation would be:</p>\n <ul>\n <li>\n <p>\n <code>AMAZON.FallbackIntent</code>\n </p>\n </li>\n <li>\n <p>\n <code>IntentA</code>\n </p>\n </li>\n <li>\n <p>\n <code>IntentB</code>\n </p>\n </li>\n <li>\n <p>\n <code>IntentC</code>\n </p>\n </li>\n </ul>"
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the bot locale parameters required for importing a bot\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "BotLocaleName",
|
||
|
"name": "BotLocaleName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The bot locale attribute to sort by.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies whether to sort the bot locales in ascending or descending\n order.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of bot locales.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleStatus": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Creating",
|
||
|
"name": "Creating"
|
||
|
},
|
||
|
{
|
||
|
"value": "Building",
|
||
|
"name": "Building"
|
||
|
},
|
||
|
{
|
||
|
"value": "Built",
|
||
|
"name": "Built"
|
||
|
},
|
||
|
{
|
||
|
"value": "ReadyExpressTesting",
|
||
|
"name": "ReadyExpressTesting"
|
||
|
},
|
||
|
{
|
||
|
"value": "Failed",
|
||
|
"name": "Failed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deleting",
|
||
|
"name": "Deleting"
|
||
|
},
|
||
|
{
|
||
|
"value": "NotBuilt",
|
||
|
"name": "NotBuilt"
|
||
|
},
|
||
|
{
|
||
|
"value": "Importing",
|
||
|
"name": "Importing"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot locale. When the status is\n <code>Built</code> the locale is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot locale was last\n updated.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastBuildSubmittedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot locale was last\n built.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about bot locales returned by the <a>ListBotLocales</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotLocaleSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "BotName",
|
||
|
"name": "BotName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of bots.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can choose ascending or\n descending.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of bots.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotStatus": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Creating",
|
||
|
"name": "Creating"
|
||
|
},
|
||
|
{
|
||
|
"value": "Available",
|
||
|
"name": "Available"
|
||
|
},
|
||
|
{
|
||
|
"value": "Inactive",
|
||
|
"name": "Inactive"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deleting",
|
||
|
"name": "Deleting"
|
||
|
},
|
||
|
{
|
||
|
"value": "Failed",
|
||
|
"name": "Failed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Versioning",
|
||
|
"name": "Versioning"
|
||
|
},
|
||
|
{
|
||
|
"value": "Importing",
|
||
|
"name": "Importing"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the bot. Use this ID to get\n detailed information about the bot with the <a>DescribeBot</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot. When the status is\n <code>Available</code> the bot is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"latestBotVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The latest numerical version in use for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the bot was last updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about a bot returned by the <a>ListBots</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersion": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5
|
||
|
},
|
||
|
"smithy.api#pattern": "^(DRAFT|[0-9]+)$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionLocaleDetails": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"sourceBotVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of a bot used for a bot locale.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of a bot used for a bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionLocaleSpecification": {
|
||
|
"type": "map",
|
||
|
"key": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId"
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionLocaleDetails"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "BotVersion",
|
||
|
"name": "BotVersion"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of versions.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can specify ascending or descending\n order.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of bot versions.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot associated with the version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The numeric version of the bot, or <code>DRAFT</code> to indicate\n that this is the version of the bot that can be updated..</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the bot. When the status is available, the version of\n the bot is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the version was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about a bot version returned by the <a>ListBotVersions</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BotVersionSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BoxedBoolean": {
|
||
|
"type": "boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuildBotLocale": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuildBotLocaleRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuildBotLocaleResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Builds a bot, its intents, and its slot types into a specific\n locale. A bot can be built into multiple locales. At runtime the locale\n is used to choose a specific build of the bot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuildBotLocaleRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to build. The identifier is returned in\n the response from the operation.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to build. This can only be the draft version\n of the bot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the bot will be used\n in. The string must match one of the supported locales. All of the\n intents, slot types, and slots used in the bot must have the same\n locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuildBotLocaleResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the specified bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that was built. This is only the draft\n version of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale specified of where the bot can be\n used.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The bot's build status. When the status is\n <code>ReadyExpressTesting</code> you can test the bot using the\n utterances defined for the intents and slot types. When the status is\n <code>Built</code>, the bot is ready for use and can be tested using\n any utterance.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastBuildSubmittedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp indicating the date and time that the bot was last built\n for this locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInIntentSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "IntentSignature",
|
||
|
"name": "IntentSignature"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInIntentSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInIntentSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of built-in intents.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can specify ascending or descending\n order.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of built-in intents.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInIntentSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The signature of the built-in intent. Use this to specify the parent\n intent of a derived intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the intent.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides summary information about a built-in intent for the <a>ListBuiltInIntents</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInIntentSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInIntentSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 25
|
||
|
},
|
||
|
"smithy.api#pattern": "^((AMAZON\\.)[a-zA-Z_]+?|[0-9a-zA-Z]+)$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInSlotTypeSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "SlotTypeSignature",
|
||
|
"name": "SlotTypeSignature"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInSlotTypeSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInSlotTypeSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of built-in intents.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can choose ascending or\n descending.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of built-in slot\n types.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInSlotTypeSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The signature of the built-in slot type. Use this to specify the\n parent slot type of a derived slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the built-in slot type.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides summary information about a built-in slot type for the\n <a>ListBuiltInSlotTypes</a> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInSlotTypeSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInSlotTypeSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#BuiltInsMaxResults": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 20,
|
||
|
"max": 20
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Button": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"text": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ButtonText",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The text that appears on the button. Use this to tell the user what\n value is returned when they choose this button.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ButtonValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value returned to Amazon Lex when the user chooses this button. This\n must be one of the slot values configured for the slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Describes a button to use on a response card used to gather slot\n values from a user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ButtonText": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 50
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ButtonValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 50
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ButtonsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Button"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ChildDirected": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CloudWatchLogGroupArn": {
|
||
|
"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}(?::\\*)?$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CloudWatchLogGroupLogDestination": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"cloudWatchLogGroupArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CloudWatchLogGroupArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log group where text and\n metadata logs are delivered.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"logPrefix": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LogPrefix",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The prefix of the log stream name within the log group that you\n specified </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon CloudWatch Logs log group where the text and metadata logs are\n delivered. The log group must exist before you enable logging.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CodeHookInterfaceVersion": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CodeHookSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"lambdaCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LambdaCodeHook",
|
||
|
"traits": {
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Contains information about code hooks that Amazon Lex calls during a\n conversation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConditionKey": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1024
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConditionKeyValueMap": {
|
||
|
"type": "map",
|
||
|
"key": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConditionKey"
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConditionValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 10
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConditionMap": {
|
||
|
"type": "map",
|
||
|
"key": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConditionOperator"
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConditionKeyValueMap"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 10
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConditionOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConditionValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1024
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConfidenceThreshold": {
|
||
|
"type": "double",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 0,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConflictException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 409
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ContextTimeToLiveInSeconds": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 5,
|
||
|
"max": 86400
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ContextTurnsToLive": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 1,
|
||
|
"max": 20
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ConversationLogSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"textLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TextLogSettingsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon CloudWatch Logs settings for logging text and metadata.</p>"
|
||
|
}
|
||
|
},
|
||
|
"audioLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AudioLogSettingsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon S3 settings for logging audio to an S3 bucket.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Configures conversation logging that saves audio, text, and metadata\n for the conversations with your users.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates an Amazon Lex conversational bot. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotAlias": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotAliasRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotAliasResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates an alias for the specified version of a bot. Use an alias to\n enable you to change the version of a bot without updating applications\n that use the bot.</p>\n <p>For example, you can create an alias called \"PROD\" that your\n applications use to call the Amazon Lex bot. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botaliases",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotAliasRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The alias to create. The name must be unique for the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the alias. Use this description to help identify\n the alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that this alias points to. You can use the\n operation to change the bot\n version associated with the alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasLocaleSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Maps configuration information to a specific locale. You can use\n this parameter to specify a specific Lambda function to run different\n functions in different locales.</p>"
|
||
|
}
|
||
|
},
|
||
|
"conversationLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConversationLogSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies whether Amazon Lex logs text and audio for a conversation with\n the bot. When you enable conversation logs, text logs store text input,\n transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio\n logs store audio input in Amazon S3.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sentimentAnalysisSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SentimentAnalysisSettings"
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that the alias applies to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"tags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags to add to the bot alias. You can only add tags when\n you create an alias, you can't use the <code>UpdateBotAlias</code>\n operation to update the tags on a bot alias. To update tags, use the\n <code>TagResource</code> operation.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotAliasResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with this alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasLocaleSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Configuration information for a specific locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"conversationLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConversationLogSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The conversation log settings specified for the alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sentimentAnalysisSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SentimentAnalysisSettings"
|
||
|
},
|
||
|
"botAliasStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the alias. The alias is first put into the\n <code>Creating</code> state. When the alias is ready to be used, it\n is put into the <code>Available</code> state. You can use the\n <code>DescribeBotAlias</code> operation to get the current state of\n an alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that this alias applies to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A Unix timestamp indicating the date and time that the bot alias was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"tags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags associated with the bot alias.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotLocale": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotLocaleRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotLocaleResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a locale in the bot. The locale contains the intents and\n slot types that the bot uses in conversations with users in the\n specified language and locale. You must add a locale to a bot before\n you can add intents and slot types to the bot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotLocaleRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to create the locale for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to create the locale for. This can only be\n the draft version of the bot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the bot will be used\n in. The string must match one of the supported locales. All of the\n intents, slot types, and slots used in the bot must have the same\n locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the bot locale. Use this to help identify the bot\n locale in lists.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the threshold where Amazon Lex will insert the\n <code>AMAZON.FallbackIntent</code>,\n <code>AMAZON.KendraSearchIntent</code>, or both when returning\n alternative intents. <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> are only inserted if they are\n configured for the bot.</p>\n <p>For example, suppose a bot is configured with the confidence\n threshold of 0.80 and the <code>AMAZON.FallbackIntent</code>. Amazon Lex\n returns three alternative intents with the following confidence scores:\n IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the\n PostText operation would be:</p>\n <ul>\n <li>\n <p>AMAZON.FallbackIntent</p>\n </li>\n <li>\n <p>IntentA</p>\n </li>\n <li>\n <p>IntentB</p>\n </li>\n <li>\n <p>IntentC</p>\n </li>\n </ul>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the\n user.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotLocaleResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified bot identifier.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified bot version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified locale name.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified locale identifier.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified description of the bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified confidence threshold for inserting the\n <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> intents.</p>"
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the bot.</p>\n <p>When the status is <code>Creating</code> the bot locale is being\n configured. When the status is <code>Building</code> Amazon Lex is building\n the bot for testing and use.</p>\n <p>If the status of the bot is <code>ReadyExpressTesting</code>, you\n can test the bot using the exact utterances specified in the bots'\n intents. When the bot is ready for full testing or to run, the status\n is <code>Built</code>.</p>\n <p>If there was a problem with building the bot, the status is\n <code>Failed</code>. If the bot was saved but not built, the status\n is <code>NotBuilt</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp specifying the date and time that the bot locale was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot. The bot name must be unique in the account that\n creates the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the bot. It appears in lists to help you identify a\n particular bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an IAM role that has permission to\n access the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information on additional privacy protections Amazon Lex should\n use with the bot's data.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The time, in seconds, that Amazon Lex should keep information about a\n user's conversation with the bot. </p>\n <p>A user interaction remains active for the amount of time specified.\n If no conversation occurs during this time, the session expires and\n Amazon Lex deletes any data provided before the timeout.</p>\n <p>You can specify between 60 (1 minute) and 86,400 (24 hours)\n seconds.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags to add to the bot. You can only add tags when you\n create a bot. You can't use the <code>UpdateBot</code> operation to\n update tags. To update tags, use the <code>TagResource</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"testBotAliasTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags to add to the test alias for a bot. You can only add\n tags when you create a bot. You can't use the <code>UpdateAlias</code>\n operation to update tags. To update tags on the test alias, use the\n <code>TagResource</code> operation.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A unique identifier for a particular bot. You use this to identify\n the bot when you call other Amazon Lex API operations.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The IAM role specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The data privacy settings specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The session idle time specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Shows the current status of the bot. The bot is first in the\n <code>Creating</code> status. Once the bot is read for use, it\n changes to the <code>Available</code> status. After the bot is created,\n you can use the <code>Draft</code> version of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp indicating the date and time that the bot was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags associated with the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"testBotAliasTags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tags associated with the test alias for the bot.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotVersion": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotVersionRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotVersionResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a new version of the bot based on the <code>DRAFT</code>\n version. If the <code>DRAFT</code> version of this resource hasn't\n changed since you created the last version, Amazon Lex doesn't create a new\n version, it returns the last created version.</p>\n <p>When you create the first version of a bot, Amazon Lex sets the version\n to 1. Subsequent versions increment by 1.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotVersionRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to create the version for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the version. Use the description to help identify\n the version in lists.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersionLocaleSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionLocaleSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies the locales that Amazon Lex adds to this version. You can\n choose the <code>Draft</code> version or any other previously published\n version for each locale. When you specify a source version, the locale\n data is copied from the source version to the new version.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateBotVersionResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The bot identifier specified in the request.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the version specified in the request.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version number assigned to the version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersionLocaleSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionLocaleSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The source versions used for each locale in the new version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>When you send a request to create or update a bot, Amazon Lex sets the\n status response element to <code>Creating</code>. After Amazon Lex builds\n the bot, it sets status to <code>Available</code>. If Amazon Lex can't build\n the bot, it sets status to <code>Failed</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the version was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateExport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateExportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateExportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a zip archive containing the contents of a bot or a bot\n locale. The archive contains a directory structure that contains JSON\n files that define the bot.</p>\n <p>You can create an archive that contains the complete definition of a\n bot, or you can specify that the archive contain only the definition of\n a single bot locale.</p>\n <p>For more information about exporting bots, and about the structure\n of the export archive, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/importing-exporting.html\"> Importing and\n exporting bots </a>\n </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/exports",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateExportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies the type of resource to export, either a bot or a bot\n locale. You can only specify one type of resource to export.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"fileFormat": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFileFormat",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The file format of the bot or bot locale definition files.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"filePassword": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFilePassword",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>An password to use to encrypt the exported archive. Using a password\n is optional, but you should encrypt the archive to protect the data in\n transit between Amazon Lex and your local computer.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateExportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>An identifier for a specific request to create an export.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the type of resource that was exported, either a\n bot or a bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fileFormat": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFileFormat",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The file format used for the bot or bot locale definition\n files.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the export. When the status is <code>Completed</code>,\n you can use the operation to get\n the pre-signed S3 URL link to your exported bot or bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the request to export a bot was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateIntent": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateIntentRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateIntentResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates an intent.</p>\n <p>To define the interaction between the user and your bot, you define\n one or more intents. For example, for a pizza ordering bot you would\n create an <code>OrderPizza</code> intent.</p>\n <p>When you create an intent, you must provide a name. You can\n optionally provide the following:</p>\n <ul>\n <li>\n <p>Sample utterances. For example, \"I want to order a pizza\" and\n \"Can I order a pizza.\" You can't provide utterances for built-in\n intents.</p>\n </li>\n <li>\n <p>Information to be gathered. You specify slots for the\n information that you bot requests from the user. You can specify\n standard slot types, such as date and time, or custom slot types\n for your application.</p>\n </li>\n <li>\n <p>How the intent is fulfilled. You can provide a Lambda function\n or configure the intent to return the intent information to your\n client application. If you use a Lambda function, Amazon Lex invokes\n the function when all of the intent information is\n available.</p>\n </li>\n <li>\n <p>A confirmation prompt to send to the user to confirm an\n intent. For example, \"Shall I order your pizza?\"</p>\n </li>\n <li>\n <p>A conclusion statement to send to the user after the intent is\n fulfilled. For example, \"I ordered your pizza.\"</p>\n </li>\n <li>\n <p>A follow-up prompt that asks the user for additional activity.\n For example, \"Do you want a drink with your pizza?\"</p>\n </li>\n </ul>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateIntentRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the intent. Intent names must be unique in the locale\n that contains the intent and cannot match the name of any built-in\n intent.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the intent. Use the description to help identify\n the intent in lists.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A unique identifier for the built-in intent to base this intent\n on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>An array of strings that a user might say to signal the intent. For\n example, \"I want a pizza\", or \"I want a {PizzaSize} pizza\". </p>\n <p>In an utterance, slot names are enclosed in curly braces (\"{\", \"}\")\n to indicate where they should be displayed in the utterance shown to\n the user.. </p>"
|
||
|
}
|
||
|
},
|
||
|
"dialogCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DialogCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies that Amazon Lex invokes the alias Lambda function for each user\n input. You can invoke this Lambda function to personalize user\n interaction.</p>\n <p>For example, suppose that your bot determines that the user's name\n is John. You Lambda function might retrieve John's information from a\n backend database and prepopulate some of the values. For example, if\n you find that John is gluten intolerant, you might set the\n corresponding intent slot, <code>glutenIntolerant</code> to\n <code>true</code>. You might find John's phone number and set the\n corresponding session attribute.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fulfillmentCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies that Amazon Lex invokes the alias Lambda function when the\n intent is ready for fulfillment. You can invoke this function to\n complete the bot's transaction with the user.</p>\n <p>For example, in a pizza ordering bot, the Lambda function can look up\n the closest pizza restaurant to the customer's location and then place\n an order on the customer's behalf.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentConfirmationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentConfirmationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides prompts that Amazon Lex sends to the user to confirm the\n completion of an intent. If the user answers \"no,\" the settings contain\n a statement that is sent to the user to end the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentClosingSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentClosingSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Sets the response that Amazon Lex sends to the user when the intent is\n closed.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of contexts that must be active for this intent to be\n considered by Amazon Lex.</p>\n <p>When an intent has an input context list, Amazon Lex only considers using\n the intent in an interaction with the user when the specified contexts\n are included in the active context list for the session. If the\n contexts are not active, then Amazon Lex will not use the intent.</p>\n <p>A context can be automatically activated using the\n <code>outputContexts</code> property or it can be set at\n runtime.</p>\n <p> For example, if there are two intents with different input contexts\n that respond to the same utterances, only the intent with the active\n context will respond.</p>\n <p>An intent may have up to 5 input contexts. If an intent has multiple\n input contexts, all of the contexts must be active to consider the\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A lists of contexts that the intent activates when it is\n fulfilled.</p>\n <p>You can use an output context to indicate the intents that Amazon Lex\n should consider for the next turn of the conversation with a customer. </p>\n <p>When you use the <code>outputContextsList</code> property, all of\n the contexts specified in the list are activated when the intent is\n fulfilled. You can set up to 10 output contexts. You can also set the\n number of conversation turns that the context should be active, or the\n length of time that the context should be active.</p>"
|
||
|
}
|
||
|
},
|
||
|
"kendraConfiguration": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraConfiguration",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Configuration information required to use the\n <code>AMAZON.KendraSearchIntent</code> intent to connect to an Amazon Kendra\n index. The <code>AMAZON.KendraSearchIntent</code> intent is called when\n Amazon Lex can't determine another intent to invoke.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with this intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the version of the bot associated with this\n intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale where this intent is used.\n All of the bots, slot types, and slots used by the intent must have the\n same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateIntentResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A unique identifier for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The signature of the parent intent specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The sample utterances specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dialogCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DialogCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The dialog Lambda function specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fulfillmentCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The fulfillment Lambda function specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentConfirmationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentConfirmationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The confirmation setting specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentClosingSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentClosingSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The closing setting specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The list of input contexts specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The list of output contexts specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"kendraConfiguration": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraConfiguration",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Configuration for searching a Amazon Kendra index specified for the\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the version of the bot associated with the\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The locale that the intent is specified to use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the intent was created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicy": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicyRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicyResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a new resource policy with the specified policy\n statements.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/policy/{resourceArn}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicyRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"policy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Policy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A resource policy to add to the resource. The policy is a JSON\n structure that contains one or more statements that define the policy.\n The policy must follow the IAM syntax. For more information about the\n contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy\n reference </a>. </p>\n <p>If the policy isn't valid, Amazon Lex returns a validation\n exception.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicyResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy was attached to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicyStatement": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicyStatementRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicyStatementResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Adds a new resource policy statement to a bot or bot alias. If a\n resource policy exists, the statement is added to the current resource\n policy. If a policy doesn't exist, a new policy is created.</p>\n <p>You can create a resource policy statement that allows cross-account\n access.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/policy/{resourceArn}/statements",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicyStatementRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"statementId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the statement. The ID is the same as the\n <code>Sid</code> IAM property. The statement name must be unique\n within the policy. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html\">IAM\n JSON policy elements: Sid</a>. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"effect": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Effect",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether the statement allows or denies access to the\n resource.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"principal": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PrincipalList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>An IAM principal, such as an IAM users, IAM roles, or AWS services\n that is allowed or denied access to a resource. For more information,\n see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html\">AWS JSON policy elements: Principal</a>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"action": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OperationList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Lex action that this policy either allows or denies. The\n action must apply to the resource type of the specified ARN. For more\n information, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlexv2.html\">\n Actions, resources, and condition keys for Amazon Lex V2</a>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"condition": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConditionMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies a condition when the policy is in effect. If the principal\n of the policy is a service principal, you must provide two condition\n blocks, one with a SourceAccount global condition key and one with a\n SourceArn global condition key.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html\">IAM JSON policy elements: Condition </a>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"expectedRevisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the revision of the policy to edit. If this\n revision ID doesn't match the current revision ID, Amazon Lex throws an\n exception.</p>\n <p>If you don't specify a revision, Amazon Lex overwrites the contents of\n the policy with the new values.</p>",
|
||
|
"smithy.api#httpQuery": "expectedRevisionId"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateResourcePolicyStatementResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a slot in an intent. A slot is a variable needed to fulfill\n an intent. For example, an <code>OrderPizza</code> intent might need\n slots for size, crust, and number of pizzas. For each slot, you define\n one or more utterances that Amazon Lex uses to elicit a response from the\n user. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the slot. Slot names must be unique within the bot that\n contains the slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the slot. Use this to help identify the slot in\n lists.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the slot type associated with this slot.\n The slot type determines the values that can be entered into the\n slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueElicitationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies prompts that Amazon Lex sends to the user to elicit a response\n that provides the value for the slot. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"obfuscationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines how slot values are used in Amazon CloudWatch logs. If the value of\n the <code>obfuscationSetting</code> parameter is\n <code>DefaultObfuscation</code>, slot values are obfuscated in the\n log output. If the value is <code>None</code>, the actual value is\n present in the log output.</p>\n <p>The default is to obfuscate values in the CloudWatch logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the slot will be used\n in. The string must match one of the supported locales. All of the\n bots, intents, slot types used by the slot must have the same locale.\n For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier associated with the slot. Use this to identify\n the slot when you update or delete it.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the slot type associated with this\n slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueElicitationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value elicitation settings specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"obfuscationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch\n logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and local specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the intent associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the date and time that the slot was created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlotType": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlotTypeRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlotTypeResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Creates a custom slot type</p>\n <p> To create a custom slot type, specify a name for the slot type and\n a set of enumeration values, the values that a slot of this type can\n assume. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlotTypeRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name for the slot. A slot type name must be unique within the\n account.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the slot type. Use the description to help identify\n the slot type in lists.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeValues": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of <code>SlotTypeValue</code> objects that defines the values\n that the slot type can take. Each value can have a list of synonyms,\n additional values that help train the machine learning model about the\n values that it resolves for a slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueSelectionSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueSelectionSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the strategy that Amazon Lex uses to select a value from the\n list of possible values. The field can be set to one of the following\n values:</p>\n <ul>\n <li>\n <p>\n <code>OriginalValue</code> - Returns the value entered by the\n user, if the user value is similar to the slot value.</p>\n </li>\n <li>\n <p>\n <code>TopResolution</code> - If there is a resolution list for\n the slot, return the first value in the resolution list. If there\n is no resolution list, return null.</p>\n </li>\n </ul>\n <p>If you don't specify the <code>valueSelectionSetting</code>\n parameter, the default is <code>OriginalValue</code>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The built-in slot type used as a parent of this slot type. When you\n define a parent slot type, the new slot type has the configuration of\n the parent slot type.</p>\n <p>Only <code>AMAZON.AlphaNumeric</code> is supported.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with this slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot version associated with this slot\n type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the slot type will be\n used in. The string must match one of the supported locales. All of the\n bots, intents, and slots used by the slot type must have the same\n locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateSlotTypeResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the slot type. Use this to\n identify the slot type in the <code>UpdateSlotType</code> and\n <code>DeleteSlotType</code> operations.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeValues": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The list of values that the slot type can assume.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueSelectionSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueSelectionSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy that Amazon Lex uses to select a value from the list of\n possible values.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The signature of the base slot type specified for the slot\n type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier for the bot associated with the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specified language and local specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot type was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateUploadUrl": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateUploadUrlRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateUploadUrlResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a pre-signed S3 write URL that you use to upload the zip\n archive when importing a bot or a bot locale. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/createuploadurl",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateUploadUrlRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CreateUploadUrlResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>An identifier for a unique import job. Use it when you call the\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"uploadUrl": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PresignedS3Url",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A pre-signed S3 write URL. Upload the zip archive file that contains\n the definition of your bot or bot locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CustomPayload": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CustomPayloadValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The string that is sent to your application.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A custom response string that Amazon Lex sends to your application. You\n define the content and structure the string.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#CustomPayloadValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DataPrivacy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"childDirected": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ChildDirected",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>For each Amazon Lex bot created with the Amazon Lex Model Building Service,\n you must specify whether your use of Amazon Lex is related to a website,\n program, or other application that is directed or targeted, in whole or\n in part, to children under age 13 and subject to the Children's Online\n Privacy Protection Act (COPPA) by specifying <code>true</code> or\n <code>false</code> in the <code>childDirected</code> field. By\n specifying <code>true</code> in the <code>childDirected</code> field,\n you confirm that your use of Amazon Lex <b>is</b>\n related to a website, program, or other application that is directed or\n targeted, in whole or in part, to children under age 13 and subject to\n COPPA. By specifying <code>false</code> in the\n <code>childDirected</code> field, you confirm that your use of Amazon Lex\n <b>is not</b> related to a website,\n program, or other application that is directed or targeted, in whole or\n in part, to children under age 13 and subject to COPPA. You may not\n specify a default value for the <code>childDirected</code> field that\n does not accurately reflect whether your use of Amazon Lex is related to a\n website, program, or other application that is directed or targeted, in\n whole or in part, to children under age 13 and subject to COPPA. If\n your use of Amazon Lex relates to a website, program, or other application\n that is directed in whole or in part, to children under age 13, you\n must obtain any required verifiable parental consent under COPPA. For\n information regarding the use of Amazon Lex in connection with websites,\n programs, or other applications that are directed or targeted, in whole\n or in part, to children under age 13, see the <a href=\"https://aws.amazon.com/lex/faqs#data-security\">Amazon Lex\n FAQ</a>.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>By default, data stored by Amazon Lex is encrypted. The\n <code>DataPrivacy</code> structure provides settings that determine\n how Amazon Lex handles special cases of securing the data for your bot.\n </p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes all versions of a bot, including the <code>Draft</code>\n version. To delete a specific version, use the\n <code>DeleteBotVersion</code> operation.</p>\n <p>When you delete a bot, all of the resources contained in the bot are\n also deleted. Deleting a bot removes all locales, intents, slot, and\n slot types defined for the bot.</p>\n <p>If a bot has an alias, the <code>DeleteBot</code> operation returns\n a <code>ResourceInUseException</code> exception. If you want to delete\n the bot and the alias, set the <code>skipResourceInUseCheck</code>\n parameter to <code>true</code>.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotAlias": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotAliasRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotAliasResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes the specified bot alias.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botaliases/{botAliasId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotAliasRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot alias to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot associated with the alias to\n delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"skipResourceInUseCheck": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SkipResourceInUseCheck",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>When this parameter is true, Amazon Lex doesn't check to see if any other\n resource is using the alias before it is deleted.</p>",
|
||
|
"smithy.api#httpQuery": "skipResourceInUseCheck"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotAliasResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot alias to delete.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the alias to\n delete.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the alias. The status is <code>Deleting</code>\n while the alias is in the process of being deleted. Once the alias is\n deleted, it will no longer appear in the list of aliases returned by\n the <code>ListBotAliases</code> operation.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotLocale": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotLocaleRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotLocaleResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes a locale from a bot.</p>\n <p>When you delete a locale, all intents, slots, and slot types defined\n for the locale are also deleted.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotLocaleRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the locale.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the locale. </p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that will be deleted. The\n string must match one of the supported locales. For more information,\n see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotLocaleResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contained the deleted locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contained the deleted locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the deleted locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of deleting the bot locale. The locale first enters the\n <code>Deleting</code> status. Once the locale is deleted it no\n longer appears in the list of locales for the bot.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to delete. </p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"skipResourceInUseCheck": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SkipResourceInUseCheck",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>When <code>true</code>, Amazon Lex doesn't check to see if another\n resource, such as an alias, is using the bot before it is\n deleted.</p>",
|
||
|
"smithy.api#httpQuery": "skipResourceInUseCheck"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that Amazon Lex is deleting.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot. The status is <code>Deleting</code>\n while the bot and its associated resources are being deleted.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotVersion": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotVersionRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotVersionResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes a specific version of a bot. To delete all version of a bot,\n use the <a>DeleteBot</a> operation.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotVersionRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the version.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"skipResourceInUseCheck": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SkipResourceInUseCheck",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>By default, the <code>DeleteBotVersion</code> operations throws a\n <code>ResourceInUseException</code> exception if you try to delete a\n bot version that has an alias pointing at it. Set the\n <code>skipResourceInUseCheck</code> parameter to <code>true</code>\n to skip this check and remove the version even if an alias points to\n it.</p>",
|
||
|
"smithy.api#httpQuery": "skipResourceInUseCheck"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteBotVersionResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that is being deleted.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that is being deleted.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot. </p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteExport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteExportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteExportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes a previous export and the associated files stored in an S3\n bucket.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/exports/{exportId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteExportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the export to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteExportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the deleted export.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the deletion. When the deletion is complete,\n the export will no longer be returned by the operation and calls to the with the export identifier will\n fail.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteImport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteImportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteImportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes a previous import and the associated file stored in an S3\n bucket.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/imports/{importId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteImportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the import to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteImportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the deleted import.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the deletion. When the deletion is complete,\n the import will no longer be returned by the operation and calls to the with the import identifier will\n fail.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteIntent": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteIntentRequest"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes the specified intent.</p>\n <p>Deleting an intent also deletes the slots associated with the\n intent.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}",
|
||
|
"code": 204
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteIntentRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the intent to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale where the bot will be\n deleted. The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicy": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicyRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicyResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes an existing policy from a bot or bot alias. If the resource\n doesn't have a policy attached, Amazon Lex returns an exception.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/policy/{resourceArn}",
|
||
|
"code": 204
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicyRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that has the\n resource policy attached.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"expectedRevisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the revision to edit. If this ID doesn't match the\n current revision number, Amazon Lex returns an exception</p>\n <p>If you don't specify a revision ID, Amazon Lex will delete the current\n policy.</p>",
|
||
|
"smithy.api#httpQuery": "expectedRevisionId"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicyResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy was deleted from.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatement": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatementRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatementResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes a policy statement from a resource policy. If you delete the\n last statement from a policy, the policy is deleted. If you specify a\n statement ID that doesn't exist in the policy, or if the bot or bot\n alias doesn't have a policy attached, Amazon Lex returns an\n exception.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/policy/{resourceArn}/statements/{statementId}",
|
||
|
"code": 204
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatementRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"statementId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the statement (SID) to delete from the policy.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"expectedRevisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the revision of the policy to delete the statement\n from. If this revision ID doesn't match the current revision ID, Amazon Lex\n throws an exception.</p>\n <p>If you don't specify a revision, Amazon Lex removes the current contents\n of the statement. </p>",
|
||
|
"smithy.api#httpQuery": "expectedRevisionId"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatementResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy statement was removed from.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteSlot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteSlotRequest"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes the specified slot from an intent.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}",
|
||
|
"code": 204
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteSlotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the slot to delete. </p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the slot will be\n deleted from. The string must match one of the supported locales. For\n more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent associated with the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteSlotType": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteSlotTypeRequest"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Deletes a slot type from a bot locale.</p>\n <p>If a slot is using the slot type, Amazon Lex throws a\n <code>ResourceInUseException</code> exception. To avoid the\n exception, set the <code>skipResourceInUseCheck</code> parameter to\n <code>true</code>.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}",
|
||
|
"code": 204
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DeleteSlotTypeRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the slot type to delete.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that the slot type will be\n deleted from. The string must match one of the supported locales. For\n more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"skipResourceInUseCheck": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SkipResourceInUseCheck",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>By default, the <code>DeleteSlotType</code> operations throws a\n <code>ResourceInUseException</code> exception if you try to delete a\n slot type used by a slot. Set the <code>skipResourceInUseCheck</code>\n parameter to <code>true</code> to skip this check and remove the slot\n type even if a slot uses it.</p>",
|
||
|
"smithy.api#httpQuery": "skipResourceInUseCheck"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides metadata information about a bot. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotAlias": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotAliasRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotAliasResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Get information about a specific bot alias.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botaliases/{botAliasId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotAliasRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot alias to describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the bot alias to\n describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotAliasResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasLocaleSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The locale settings that are unique to the alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"conversationLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConversationLogSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifics of how Amazon Lex logs text and audio conversations with the\n bot associated with the alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sentimentAnalysisSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SentimentAnalysisSettings"
|
||
|
},
|
||
|
"botAliasHistoryEvents": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasHistoryEventsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of events that affect a bot alias. For example, an event is\n recorded when the version that the alias points to changes.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the alias. When the alias is\n <code>Available</code>, the alias is ready for use with your\n bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the alias was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the alias was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotLocale": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotLocaleRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotLocaleResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Describes the settings that a bot has for a specific locale. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotLocaleRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the locale.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the version of the bot associated with the\n locale.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the locale to describe. The string must\n match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>. </p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotLocaleResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the version of the bot associated with the\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the described locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The confidence threshold where Amazon Lex inserts the\n <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> intents in the list of\n possible intents for an utterance.</p>"
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Polly voice Amazon Lex uses for voice interaction with the\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentsCount": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceCount",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The number of intents defined for the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypesCount": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceCount",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The number of slot types defined for the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the bot. If the status is <code>Failed</code>, the\n reasons for the failure are listed in the <code>failureReasons</code>\n field.</p>"
|
||
|
}
|
||
|
},
|
||
|
"failureReasons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReasons",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>if <code>botLocaleStatus</code> is <code>Failed</code>, Amazon Lex\n explains why it failed to build the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the locale was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the locale was last updated.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastBuildSubmittedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the locale was last submitted for\n building.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleHistoryEvents": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleHistoryEventsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>History of changes, such as when a locale is used in an alias, that\n have taken place for the locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot to describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot. </p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an IAM role that has permission to\n access the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Settings for managing data privacy of the bot and its conversations\n with users.</p>"
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum time in seconds that Amazon Lex retains the data gathered in\n a conversation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot. When the status is\n <code>Available</code> the bot is ready to be used in conversations\n with users.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotVersion": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotVersionRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotVersionResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides metadata about a version of a bot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotVersionRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot containing the version to return metadata\n for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to return metadata for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeBotVersionResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot that contains the version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NumericalBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to describe.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an IAM role that has permission to\n access the bot version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Data privacy settings for the bot version.</p>"
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The number of seconds that a session with the bot remains active\n before it is discarded by Amazon Lex.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot. When the status is\n <code>Available</code>, the bot version is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"failureReasons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReasons",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the <code>botStatus</code> is <code>Failed</code>, this contains\n a list of reasons that the version couldn't be built.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot version was\n created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeExport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeExportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeExportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets information about a specific export.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/exports/{exportId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeExportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the export to describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeExportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the described export.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The bot, bot ID, and optional locale ID of the exported bot or bot\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fileFormat": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFileFormat",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The file format used in the files that describe the bot or bot\n locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the export. When the status is <code>Complete</code>\n the export archive file is available for download.</p>"
|
||
|
}
|
||
|
},
|
||
|
"failureReasons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReasons",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the <code>exportStatus</code> is failed, contains one or more\n reasons why the export could not be completed.</p>"
|
||
|
}
|
||
|
},
|
||
|
"downloadUrl": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PresignedS3Url",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A pre-signed S3 URL that points to the bot or bot locale archive.\n The URL is only available for 5 minutes after calling the\n <code>DescribeExport</code> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the export was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The last date and time that the export was updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeImport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeImportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeImportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets information about a specific import.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/imports/{importId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeImportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the import to describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeImportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the described import.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The specifications of the imported bot or bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importedResourceId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportedResourceId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the resource created by\n the import.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importedResourceName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the imported resource.</p>"
|
||
|
}
|
||
|
},
|
||
|
"mergeStrategy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MergeStrategy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy used when there was a name conflict between the\n imported resource and an existing resource. When the merge strategy is\n <code>FailOnConflict</code> existing resources are not overwritten\n and the import fails.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the import process. When the status is\n <code>Completed</code> the resource is imported and ready for\n use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"failureReasons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReasons",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the <code>importStatus</code> field is <code>Failed</code>, this\n provides one or more reasons for the failture.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the import was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the import was last updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeIntent": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeIntentRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeIntentResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Returns metadata about an intent.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeIntentRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent to describe.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the intent to describe.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeIntentResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the intent when it was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the built-in intent that this intent is derived\n from, if any.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>User utterances that trigger this intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dialogCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DialogCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Lambda function called during each turn of a conversation with\n the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fulfillmentCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Lambda function called when the intent is complete and ready for\n fulfillment.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotPriorities": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotPrioritiesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The list that determines the priority that slots should be elicited\n from the user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentConfirmationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentConfirmationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Prompts that Amazon Lex sends to the user to confirm completion of an\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentClosingSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentClosingSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The response that Amazon Lex sends to when the intent is closed.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of contexts that must be active for the intent to be\n considered for sending to the user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of contexts that are activated when the intent is\n fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"kendraConfiguration": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraConfiguration",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Configuration information required to use the\n <code>AMAZON.KendraSearchIntent</code> intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale specified for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the intent was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the intent was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeResourcePolicy": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeResourcePolicyRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeResourcePolicyResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets the resource policy and policy revision for a bot or bot\n alias.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/policy/{resourceArn}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeResourcePolicyRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeResourcePolicyResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"policy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Policy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The JSON structure that contains the resource policy. For more\n information about the contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy\n reference </a>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets metadata information about a slot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the slot to describe.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier generated for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the slot type that determines the values entered\n into the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueElicitationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Prompts that Amazon Lex uses to elicit a value for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"obfuscationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Whether slot values are shown in Amazon CloudWatch logs. If the value is\n <code>None</code>, the actual value of the slot is shown in\n logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale specified for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent associated with the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlotType": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlotTypeRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlotTypeResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets metadata information about a slot type.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlotTypeRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the slot type to\n describe. The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DescribeSlotTypeResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeValues": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The values that the slot type can take. Includes any synonyms for\n the slot type values.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueSelectionSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueSelectionSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy that Amazon Lex uses to choose a value from a list of\n possible values.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The built in slot type used as a parent to this slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot associated with the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale specified for the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot type was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot type was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Description": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DialogCodeHookSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"enabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Enables the dialog code hook so that it processes user\n requests.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Settings that determine the Lambda function that Amazon Lex uses for\n processing user responses.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#DraftBotVersion": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 5,
|
||
|
"max": 5
|
||
|
},
|
||
|
"smithy.api#pattern": "^DRAFT$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Effect": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Allow",
|
||
|
"name": "Allow"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deny",
|
||
|
"name": "Deny"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExceptionMessage": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to use for filtering.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The values to use to fileter the response.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify EQ when the\n <code>ListExports</code> operation should return only resource types\n that equal the specified value. Specify CO when the\n <code>ListExports</code> operation should return resource types that\n contain the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filtes the response form the \n operation</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "ExportResourceType",
|
||
|
"name": "ExportResourceType"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportResourceSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botExportSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotExportSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Parameters for exporting a bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleExportSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleExportSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Parameters for exporting a bot locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information about the bot or bot locale that you want to\n export. You can specify the <code>botExportSpecification</code> or the\n <code>botLocaleExportSpecification</code>, but not both.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "LastUpdatedDateTime",
|
||
|
"name": "LastUpdatedDateTime"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The export field to use for sorting.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information about sorting a list of exports.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportStatus": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "InProgress",
|
||
|
"name": "InProgress"
|
||
|
},
|
||
|
{
|
||
|
"value": "Completed",
|
||
|
"name": "Completed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Failed",
|
||
|
"name": "Failed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deleting",
|
||
|
"name": "Deleting"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the export.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Information about the bot or bot locale that was exported.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fileFormat": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFileFormat",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The file format used in the export files.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the export. When the status is <code>Completed</code>\n the export is ready to download.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the export was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the export was last updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides summary information about an export in an export list.\n </p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ExportSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#FailureReason": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#FailureReasons": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReason"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#FilterValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 100
|
||
|
},
|
||
|
"smithy.api#pattern": "^[0-9a-zA-Z_()\\s-]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#FilterValues": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"enabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Indicates whether a Lambda function should be invoked to fulfill a\n specific intent.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines if a Lambda function should be invoked for a specific\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Id": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 10,
|
||
|
"max": 10
|
||
|
},
|
||
|
"smithy.api#pattern": "^[0-9a-zA-Z]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImageResponseCard": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"title": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AttachmentTitle",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The title to display on the response card. The format of the title\n is determined by the platform displaying the response card.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"subtitle": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AttachmentTitle",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The subtitle to display on the response card. The format of the\n subtitle is determined by the platform displaying the response\n card.</p>"
|
||
|
}
|
||
|
},
|
||
|
"imageUrl": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AttachmentUrl",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The URL of an image to display on the response card. The image URL\n must be publicly available so that the platform displaying the response\n card has access to the image.</p>"
|
||
|
}
|
||
|
},
|
||
|
"buttons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ButtonsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of buttons that should be displayed on the response card. The\n arrangement of the buttons is determined by the platform that displays\n the button.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A card that is shown to the user by a messaging platform. You define\n the contents of the card, the card is displayed by the platform. </p>\n <p>When you use a response card, the response from the user is\n constrained to the text associated with a button on the card.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportExportFileFormat": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "LexJson",
|
||
|
"name": "LexJson"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportExportFilePassword": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1024
|
||
|
},
|
||
|
"smithy.api#sensitive": {}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to use for filtering.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The values to use to filter the response.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify EQ when the\n <code>ListImports</code> operation should return only resource types\n that equal the specified value. Specify CO when the\n <code>ListImports</code> operation should return resource types that\n contain the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters the response from the \n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "ImportResourceType",
|
||
|
"name": "ImportResourceType"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportResourceSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botImportSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotImportSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Parameters for importing a bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleImportSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleImportSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Parameters for importing a bot locale.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information about the bot or bot locale that you want to\n import. You can sepcifiy the <code>botImportSpecification</code> or the\n <code>botLocaleImportSpecification</code>, but not both.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "LastUpdatedDateTime",
|
||
|
"name": "LastUpdatedDateTime"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The export field to use for sorting.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information for sorting a list of imports.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportStatus": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "InProgress",
|
||
|
"name": "InProgress"
|
||
|
},
|
||
|
{
|
||
|
"value": "Completed",
|
||
|
"name": "Completed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Failed",
|
||
|
"name": "Failed"
|
||
|
},
|
||
|
{
|
||
|
"value": "Deleting",
|
||
|
"name": "Deleting"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the import.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importedResourceId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportedResourceId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the imported\n resource.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importedResourceName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name that you gave the imported resource.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the resource. When the status is\n <code>Completed</code> the resource is ready to build.</p>"
|
||
|
}
|
||
|
},
|
||
|
"mergeStrategy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MergeStrategy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy used to merge existing bot or bot locale definitions\n with the imported definition.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the import was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the import was last updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides summary information about an import in an import\n list.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ImportedResourceId": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 5,
|
||
|
"max": 10
|
||
|
},
|
||
|
"smithy.api#pattern": "^([0-9a-zA-Z_])+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#InputContext": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the context.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of a context that must be active for an intent to be\n selected by Amazon Lex.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#InputContextsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContext"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentClosingSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"closingResponse": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResponseSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The response that Amazon Lex sends to the user when the intent is\n complete.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides a statement the Amazon Lex conveys to the user when the intent\n is successfully fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentConfirmationSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"promptSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PromptSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Prompts the user to confirm the intent. This question should have a\n yes or no answer.</p>\n <p>Amazon Lex uses this prompt to ensure that the user acknowledges that the\n intent is ready for fulfillment. For example, with the\n <code>OrderPizza</code> intent, you might want to confirm that the\n order is correct before placing it. For other intents, such as intents\n that simply respond to user questions, you might not need to ask the\n user for confirmation before providing the information. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"declinationResponse": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResponseSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>When the user answers \"no\" to the question defined in\n <code>promptSpecification</code>, Amazon Lex responds with this response\n to acknowledge that the intent was canceled. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides a prompt for making sure that the user is ready for the\n intent to be fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to use for the filter.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value to use for the filter.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify <code>EQ</code> when the\n <code>ListIntents</code> operation should return only aliases that\n equal the specified value. Specify <code>CO</code> when the\n <code>ListIntents</code> operation should return aliases that\n contain the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters the response from the <code>ListIntents</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "IntentName",
|
||
|
"name": "IntentName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentSignature": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "IntentName",
|
||
|
"name": "IntentName"
|
||
|
},
|
||
|
{
|
||
|
"value": "LastUpdatedDateTime",
|
||
|
"name": "LastUpdatedDateTime"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of intents.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can choose ascending or\n descending.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of intents.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the intent. Use this ID to get\n detailed information about the intent with the\n <code>DescribeIntent</code> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If this intent is derived from a built-in intent, the name of the\n parent intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The input contexts that must be active for this intent to be\n considered for recognition.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The output contexts that are activated when this intent is\n fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the date and time that the intent was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about an intent returned by the\n <code>ListIntents</code> operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#IntentSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#InternalServerException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "server",
|
||
|
"smithy.api#httpError": 500
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#KendraConfiguration": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"kendraIndex": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraIndexArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the\n AMAZON.KendraSearchIntent intent to search. The index must be in the\n same account and Region as the Amazon Lex bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"queryFilterStringEnabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether the AMAZON.KendraSearchIntent intent uses a\n custom query string to query the Amazon Kendra index.</p>"
|
||
|
}
|
||
|
},
|
||
|
"queryFilterString": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#QueryFilterString",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A query filter that Amazon Lex sends to Amazon Kendra to filter the response from\n a query. The filter is in the format defined by Amazon Kendra. For more\n information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/filtering.html\">Filtering\n queries</a>.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides configuration information for the AMAZON.KendraSearchIntent\n intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra\n index and returns documents from the index that match the user's\n utterance.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#KendraIndexArn": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 32,
|
||
|
"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.lexmodelsv2#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.lexmodelsv2#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.lexmodelsv2#LambdaCodeHook": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"lambdaARN": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LambdaARN",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Lambda function.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"codeHookInterfaceVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CodeHookInterfaceVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the request-response that you want Amazon Lex to use to\n invoke your Lambda function.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies a Lambda function that verifies requests to a bot or\n fulfilles the user's request to a bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#LexModelBuildingServiceV2": {
|
||
|
"type": "service",
|
||
|
"version": "2020-08-07",
|
||
|
"operations": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuildBotLocale"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotAlias"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotLocale"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateBotVersion"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateExport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateIntent"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicy"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateResourcePolicyStatement"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateSlotType"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#CreateUploadUrl"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotAlias"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotLocale"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteBotVersion"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteExport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteImport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteIntent"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicy"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteResourcePolicyStatement"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteSlot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DeleteSlotType"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotAlias"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotLocale"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeBotVersion"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeExport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeImport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeIntent"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeResourcePolicy"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#DescribeSlotType"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotAliases"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotLocales"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBots"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotVersions"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInIntents"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInSlotTypes"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListExports"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListImports"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListIntents"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlots"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlotTypes"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListTagsForResource"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#StartImport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagResource"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UntagResource"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotAlias"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotLocale"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateExport"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateIntent"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateResourcePolicy"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlot"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlotType"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"aws.api#service": {
|
||
|
"sdkId": "Lex Models V2",
|
||
|
"arnNamespace": "lex",
|
||
|
"cloudFormationName": "LexModelsV2",
|
||
|
"cloudTrailEventSource": "lexmodelsv2.amazonaws.com",
|
||
|
"endpointPrefix": "models-v2-lex"
|
||
|
},
|
||
|
"aws.auth#sigv4": {
|
||
|
"name": "lex"
|
||
|
},
|
||
|
"aws.protocols#restJson1": {},
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#title": "Amazon Lex Model Building V2"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotAliases": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotAliasesRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotAliasesResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of aliases for the specified bot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botaliases",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotAliasesRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to list aliases for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of aliases to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListBotAliases</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotAliasesResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the bot aliases that meet the filter\n criteria specified in the request. The length of the list is specified\n in the <code>maxResults</code> parameter of the request. If there are\n more aliases available, the <code>nextToken</code> field contains a\n token to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBotAliases</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListBotAliases</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot associated with the aliases.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotLocales": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotLocalesRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotLocalesResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of locales for the specified bot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotLocalesRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to list locales for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to list locales for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies sorting parameters for the list of locales. You can sort\n by locale name in ascending or descending order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification for a filter used to limit the response\n to only those locales that match the filter specification. You can only\n specify one filter and one value to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of aliases to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListBotLocales</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token as the\n <code>nextToken</code> parameter to return the next page of results.\n </p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotLocalesResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to list locales for.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBotLocales</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListBotLocales</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the locales that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter of the request. If there are more\n locales available, the <code>nextToken</code> field contains a token to\n get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotVersions": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotVersionsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotVersionsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets information about all of the versions of a bot.</p>\n <p>The <code>ListBotVersions</code> operation returns a summary of each\n version of a bot. For example, if a bot has three numbered versions,\n the <code>ListBotVersions</code> operation returns for summaries, one\n for each numbered version and one for the <code>DRAFT</code>\n version.</p>\n <p>The <code>ListBotVersions</code> operation always returns at least\n one version, the <code>DRAFT</code> version.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotVersionsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to list versions for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies sorting parameters for the list of versions. You can\n specify that the list be sorted by version name in either ascending or\n descending order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of versions to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response to the <code>ListBotVersion</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotVersionsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot to list versions for.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersionSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersionSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the bot versions that meet the filter\n criteria specified in the request. The length of the list is specified\n in the <code>maxResults</code> parameter of the request. If there are\n more versions available, the <code>nextToken</code> field contains a\n token to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBotVersions</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListBotAliases</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBots": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBotsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of available bots.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies sorting parameters for the list of bots. You can specify\n that the list be sorted by bot name in ascending or descending\n order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the bots in the\n response to only those that match the filter specification. You can\n only specify one filter and one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of bots to return in each page of results. If\n there are fewer results than the maximum page size, only the actual\n number of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListBots</code> operation contains\n more results than specified in the <code>maxResults</code> parameter, a\n token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBotsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the bots that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter of the request. If there are more\n bots available, the <code>nextToken</code> field contains a token to\n the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBots</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListBots</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInIntents": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInIntentsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInIntentsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of built-in intents provided by Amazon Lex that you can use\n in your bot. </p>\n <p>To use a built-in intent as a the base for your own intent, include\n the built-in intent signature in the <code>parentIntentSignature</code>\n parameter when you call the <code>CreateIntent</code> operation. For\n more information, see <a>CreateIntent</a>.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/builtins/locales/{localeId}/intents",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInIntentsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the intents to list.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInIntentSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies sorting parameters for the list of built-in intents. You\n can specify that the list be sorted by the built-in intent signature in\n either ascending or descending order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInsMaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of built-in intents to return in each page of\n results. If there are fewer results than the max page size, only the\n actual number of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListBuiltInIntents</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInIntentsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"builtInIntentSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInIntentSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the built-in intents that meet the filter\n criteria specified in the request. The length of the list is specified\n in the <code>maxResults</code> parameter of the request. If there are\n more intents available, the <code>nextToken</code> field contains a\n token to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBuiltInIntents</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListBotAliases</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the intents in the list.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInSlotTypes": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInSlotTypesRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListBuiltInSlotTypesResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of built-in slot types that meet the specified\n criteria.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/builtins/locales/{localeId}/slottypes",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInSlotTypesRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the slot types to list.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInSlotTypeSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the sort order for the response from the\n <code>ListBuiltInSlotTypes</code> operation. You can choose to sort\n by the slot type signature in either ascending or descending\n order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInsMaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of built-in slot types to return in each page of\n results. If there are fewer results than the max page size, only the\n actual number of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListBuiltInSlotTypes</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListBuiltInSlotTypesResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"builtInSlotTypeSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInSlotTypeSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the built-in slot types that meet the filter\n criteria specified in the request. The length of the list is specified\n in the <code>maxResults</code> parameter of the request. If there are\n more slot types available, the <code>nextToken</code> field contains a\n token to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListBuiltInSlotTypes</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a\n <code>LIstBuiltInSlotTypes</code> operation request to get the next\n page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the slot types in the list.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListExports": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListExportsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListExportsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Lists the exports for a bot or bot locale. Exports are kept in the list for 7\n days.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/exports",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListExportsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to list exports for. </p>"
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the field that the list of exports is sorted by. You can\n sort by the <code>LastUpdatedDateTime</code> field in ascending or\n descending order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the exports in\n the response to only those that match the filter specification. You can\n only specify one filter and one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of exports to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListExports</code> operation contans\n more results that specified in the <code>maxResults</code> parameter, a\n token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListExportsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the bot by Amazon Lex.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that was exported.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the exports that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter. If there are more exports\n available, the <code>nextToken</code> field contains a token to get the\n next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListExports</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListExports</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListImports": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListImportsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListImportsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Lists the imports for a bot or bot locale. Imports are kept in the list for 7\n days.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/imports",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListImportsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier that Amazon Lex assigned to the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot to list imports for.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the field that the list of imports is sorted by. You can\n sort by the <code>LastUpdatedDateTime</code> field in ascending or\n descending order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the bots in the\n response to only those that match the filter specification. You can\n only specify one filter and one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of imports to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListImports</code> operation contains\n more results than specified in the <code>maxResults</code> parameter, a\n token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListImportsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned by Amazon Lex to the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that was imported. It will always be\n <code>DRAFT</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the imports that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter. If there are more imports\n available, the <code>nextToken</code> field contains a token to get the\n next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListImports</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListImports</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListIntents": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListIntentsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListIntentsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Get a list of intents that meet the specified criteria.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListIntentsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the intents to list.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the sort order for the response from the\n <code>ListIntents</code> operation. You can choose to sort by the\n intent name or last updated date in either ascending or descending\n order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the intents in\n the response to only those that match the filter specification. You can\n only specify one filter and only one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of intents to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListIntents</code> operation contains\n more results than specified in the <code>maxResults</code> parameter, a\n token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListIntentsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the intents in the list.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the intents that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter of the request. If there are more\n intents available, the <code>nextToken</code> field contains a token to\n get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListIntents</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListIntents</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlotTypes": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlotTypesRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlotTypesResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of slot types that match the specified criteria.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlotTypesRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the slot\n types.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the slot types to list.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the sort order for the response from the\n <code>ListSlotTypes</code> operation. You can choose to sort by the\n slot type name or last updated date in either ascending or descending\n order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the slot types\n in the response to only those that match the filter specification. You\n can only specify one filter and only one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of slot types to return in each page of results.\n If there are fewer results than the max page size, only the actual\n number of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListSlotTypes</code> operation\n contains more results than specified in the <code>maxResults</code>\n parameter, a token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlotTypesResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slot types.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot types.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and local of the slot types in the list.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the slot types that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter of the request. If there are more\n slot types available, the <code>nextToken</code> field contains a token\n to get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListSlotTypes</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListSlotTypes</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlots": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlotsRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListSlotsResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of slots that match the specified criteria.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots",
|
||
|
"code": 200
|
||
|
},
|
||
|
"smithy.api#paginated": {
|
||
|
"inputToken": "nextToken",
|
||
|
"outputToken": "nextToken",
|
||
|
"pageSize": "maxResults"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlotsRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale of the slots to list. The\n string must match one of the supported locales. For more information,\n see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the intent that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"sortBy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotSortBy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the sort order for the response from the\n <code>ListSlots</code> operation. You can choose to sort by the slot\n name or last updated date in either ascending or descending\n order.</p>"
|
||
|
}
|
||
|
},
|
||
|
"filters": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotFilters",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides the specification of a filter used to limit the slots in\n the response to only those that match the filter specification. You can\n only specify one filter and only one string to filter on.</p>"
|
||
|
}
|
||
|
},
|
||
|
"maxResults": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MaxResults",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of slots to return in each page of results. If\n there are fewer results than the max page size, only the actual number\n of results are returned.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the response from the <code>ListSlots</code> operation contains\n more results than specified in the <code>maxResults</code> parameter, a\n token is returned in the response. Use that token in the\n <code>nextToken</code> parameter to return the next page of\n results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListSlotsResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slots.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slots.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the slots in the list.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent that contains the slots.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotSummaries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotSummaryList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information for the slots that meet the filter criteria\n specified in the request. The length of the list is specified in the\n <code>maxResults</code> parameter of the request. If there are more\n slots available, the <code>nextToken</code> field contains a token to\n get the next page of results.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#NextToken",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A token that indicates whether there are more results to return in a\n response to the <code>ListSlots</code> operation. If the\n <code>nextToken</code> field is present, you send the contents as\n the <code>nextToken</code> parameter of a <code>ListSlots</code>\n operation request to get the next page of results.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListTagsForResource": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListTagsForResourceRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ListTagsForResourceResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Gets a list of tags associated with a resource. Only bots, bot\n aliases, and bot channels can have tags associated with them.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "GET",
|
||
|
"uri": "/tags/{resourceARN}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListTagsForResourceRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceARN": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource to get a list of tags\n for.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ListTagsForResourceResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"tags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The tags associated with a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#LocaleId": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#LocaleName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#LogPrefix": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 1024
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#MaxResults": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 1,
|
||
|
"max": 1000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#MergeStrategy": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Overwrite",
|
||
|
"name": "Overwrite"
|
||
|
},
|
||
|
{
|
||
|
"value": "FailOnConflict",
|
||
|
"name": "FailOnConflict"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Message": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"plainTextMessage": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PlainTextMessage",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A message in plain text format.</p>"
|
||
|
}
|
||
|
},
|
||
|
"customPayload": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CustomPayload",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A message in a custom format defined by the client\n application.</p>"
|
||
|
}
|
||
|
},
|
||
|
"ssmlMessage": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SSMLMessage",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A message in Speech Synthesis Markup Language (SSML).</p>"
|
||
|
}
|
||
|
},
|
||
|
"imageResponseCard": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImageResponseCard",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A message that defines a response card that the client application\n can show to the user.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The object that provides message text and it's type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#MessageGroup": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Message",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The primary message that Amazon Lex should send to the user.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"variations": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MessageVariationsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Message variations to send to the user. When variations are defined,\n Amazon Lex chooses the primary message or one of the variations to send to\n the user.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides one or more messages that Amazon Lex should send to the\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#MessageGroupsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MessageGroup"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#MessageVariationsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Message"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 2
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Name": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 100
|
||
|
},
|
||
|
"smithy.api#pattern": "^([0-9a-zA-Z][_-]?)+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#NextToken": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#NumericalBotVersion": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5
|
||
|
},
|
||
|
"smithy.api#pattern": "^[0-9]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ObfuscationSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"obfuscationSettingType": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSettingType",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Value that determines whether Amazon Lex obscures slot values in\n conversation logs. The default is to obscure the values.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether Amazon Lex obscures slot values in conversation logs.\n </p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ObfuscationSettingType": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "None",
|
||
|
"name": "None"
|
||
|
},
|
||
|
{
|
||
|
"value": "DefaultObfuscation",
|
||
|
"name": "DefaultObfuscation"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Operation": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 5,
|
||
|
"max": 50
|
||
|
},
|
||
|
"smithy.api#pattern": "^lex:[a-zA-Z*]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#OperationList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Operation"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#OutputContext": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the output context.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"timeToLiveInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ContextTimeToLiveInSeconds",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The amount of time, in seconds, that the output context should\n remain active. The time is figured from the first time the context is\n sent to the user.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"turnsToLive": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ContextTurnsToLive",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The number of conversation turns that the output context should\n remain active. The number of turns is counted from the first time that\n the context is sent to the user.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Describes a session context that is activated when an intent is\n fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#OutputContextsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContext"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 10
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PlainTextMessage": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PlainTextMessageValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The message to send to the user.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines an ASCII text message to send to the user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PlainTextMessageValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Policy": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 2
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PreconditionFailedException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 412
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PresignedS3Url": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1024
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Principal": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"service": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServicePrincipal",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the AWS service that should allowed or denied access to\n an Amazon Lex action.</p>"
|
||
|
}
|
||
|
},
|
||
|
"arn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PrincipalArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the principal.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The IAM principal that you allowing or denying access to an Amazon Lex\n action. You must provide a <code>service</code> or an <code>arn</code>,\n but not both in the same statement. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html\"> AWS JSON policy elements: Principal </a>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PrincipalArn": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 30,
|
||
|
"max": 1024
|
||
|
},
|
||
|
"smithy.api#pattern": "^arn:aws:iam::[0-9]{12}:(root|(user|role)/.*)$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PrincipalList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Principal"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PriorityValue": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 0,
|
||
|
"max": 25
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PromptMaxRetries": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 0,
|
||
|
"max": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#PromptSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"messageGroups": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MessageGroupsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A collection of messages that Amazon Lex can send to the user. Amazon Lex\n chooses the actual message to send at runtime.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"maxRetries": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PromptMaxRetries",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The maximum number of times the bot tries to elicit a resonse from\n the user using this prompt.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"allowInterrupt": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BoxedBoolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Indicates whether the user can interrupt a speech prompt from the\n bot.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies a list of message groups that Amazon Lex sends to a user to\n elicit a response.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#QueryFilterString": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#RegexPattern": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 100
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ResourceCount": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ResourceNotFoundException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 404
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ResponseSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"messageGroups": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MessageGroupsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A collection of responses that Amazon Lex can send to the user. Amazon Lex\n chooses the actual response to send at runtime.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"allowInterrupt": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BoxedBoolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Indicates whether the user can interrupt a speech response from\n Amazon Lex.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies a list of message groups that Amazon Lex uses to respond the\n user input.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#RetryAfterSeconds": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#RevisionId": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 5
|
||
|
},
|
||
|
"smithy.api#pattern": "^[0-9]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#RoleArn": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 32,
|
||
|
"max": 2048
|
||
|
},
|
||
|
"smithy.api#pattern": "^arn:aws:iam::[0-9]{12}:role/.*$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#S3BucketArn": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 2048
|
||
|
},
|
||
|
"smithy.api#pattern": "^arn:[\\w\\-]+:s3:::[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#S3BucketLogDestination": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"kmsKeyArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KmsKeyArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an AWS Key Management Service\n (KMS) key for encrypting audio log files stored in an S3 bucket.</p>"
|
||
|
}
|
||
|
},
|
||
|
"s3BucketArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#S3BucketArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio\n log files are stored.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"logPrefix": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LogPrefix",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The S3 prefix to assign to audio log files.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies an Amazon S3 bucket for logging audio conversations</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SSMLMessage": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SSMLMessageValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The SSML text that defines the prompt.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines a Speech Synthesis Markup Language (SSML) prompt.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SSMLMessageValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SampleUtterance": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"utterance": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Utterance",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The sample utterance that Amazon Lex uses to build its machine-learning\n model to recognize intents.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A sample utterance that invokes an intent or respond to a slot\n elicitation prompt.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SampleUtterancesList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterance"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SampleValue": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Value",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value that can be used for a slot type.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines one of the values for a slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SentimentAnalysisSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"detectSentiment": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user\n utterances.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of\n user utterances.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ServicePrincipal": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 15,
|
||
|
"max": 1024
|
||
|
},
|
||
|
"smithy.api#pattern": "^[0-9a-zA-Z_.]+$"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ServiceQuotaExceededException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 402
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SessionTTL": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 60,
|
||
|
"max": 86400
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SkipResourceInUseCheck": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotConstraint": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Required",
|
||
|
"name": "Required"
|
||
|
},
|
||
|
{
|
||
|
"value": "Optional",
|
||
|
"name": "Optional"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotDefaultValue": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"defaultValue": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotDefaultValueString",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The default value to use when a user doesn't provide a value for a\n slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies the default value to use when a user doesn't provide a\n value for a slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotDefaultValueList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotDefaultValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 10
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotDefaultValueSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"defaultValueList": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotDefaultValueList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of default values. Amazon Lex chooses the default value to use in\n the order that they are presented in the list.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines a list of values that Amazon Lex should use as the default value\n for a slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotDefaultValueString": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to use for filtering.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value to use to filter the response.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify <code>EQ</code> when the\n <code>ListSlots</code> operation should return only aliases that\n equal the specified value. Specify <code>CO</code> when the\n <code>ListSlots</code> operation should return aliases that contain\n the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters the response from the <code>ListSlots</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "SlotName",
|
||
|
"name": "SlotName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotPrioritiesList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotPriority"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotPriority": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"priority": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PriorityValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The priority that a slot should be elicited.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Sets the priority that Amazon Lex should use when eliciting slot values\n from a user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "SlotName",
|
||
|
"name": "SlotName"
|
||
|
},
|
||
|
{
|
||
|
"value": "LastUpdatedDateTime",
|
||
|
"name": "LastUpdatedDateTime"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can choose ascending or\n descending.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of bots.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name given to the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotConstraint": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotConstraint",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Whether the slot is required or optional. An intent is complete when\n all required slots are filled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the slot type that defines the values for\n the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationPromptSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PromptSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Prompts that are sent to the user to elicit a value for the\n slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the last date and time that the slot was\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Summary information about a slot, a value that the bot elicits from\n the user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeFilterName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the field to use for filtering.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"values": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FilterValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value to use to filter the response.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"operator": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeFilterOperator",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The operator to use for the filter. Specify <code>EQ</code> when the\n <code>ListSlotTypes</code> operation should return only aliases that\n equal the specified value. Specify <code>CO</code> when the\n <code>ListSlotTypes</code> operation should return aliases that\n contain the specified value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Filters the response from the <code>ListSlotTypes</code>\n operation.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeFilterName": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "SlotTypeName",
|
||
|
"name": "SlotTypeName"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeFilterOperator": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "CO",
|
||
|
"name": "Contains"
|
||
|
},
|
||
|
{
|
||
|
"value": "EQ",
|
||
|
"name": "Equals"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeFilters": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeFilter"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeSignature": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeSortAttribute": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "SlotTypeName",
|
||
|
"name": "SlotTypeName"
|
||
|
},
|
||
|
{
|
||
|
"value": "LastUpdatedDateTime",
|
||
|
"name": "LastUpdatedDateTime"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeSortBy": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"attribute": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSortAttribute",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The attribute to use to sort the list of slot types.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"order": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SortOrder",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The order to sort the list. You can say ascending or\n descending.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies attributes for sorting a list of slot types.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeSummary": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier assigned to the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the slot type is derived from a built-on slot type, the name of\n the parent slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot type was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides summary information about a slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeSummaryList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSummary"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeValue": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"sampleValue": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleValue",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The value of the slot type entry.</p>"
|
||
|
}
|
||
|
},
|
||
|
"synonyms": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SynonymList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Additional values releated to the slot type entry.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Each slot type can have a set of values. Each\n <code>SlotTypeValue</code> represents a value that the slot type can\n take.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotTypeValues": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 10000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotValueElicitationSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"defaultValueSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotDefaultValueSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot. You can specify default\n values from context variables, sesion attributes, and defined\n values.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotConstraint": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotConstraint",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies whether the slot is required or optional.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"promptSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#PromptSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The prompt that Amazon Lex uses to elicit the slot value from the\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If you know a specific pattern that users might respond to an Amazon Lex\n request for a slot value, you can provide those utterances to improve\n accuracy. This is optional. In most cases, Amazon Lex is capable of\n understanding user utterances.</p>"
|
||
|
}
|
||
|
},
|
||
|
"waitAndContinueSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#WaitAndContinueSpecification"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Settings that you can use for eliciting a slot value.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotValueRegexFilter": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pattern": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RegexPattern",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A regular expression used to validate the value of a slot.</p>\n <p> Use a standard regular expression. Amazon Lex supports the\n following characters in the regular expression: </p>\n <ul>\n <li>\n <p>A-Z, a-z</p>\n </li>\n <li>\n <p>0-9</p>\n </li>\n <li>\n <p>Unicode characters (\"\\ u<Unicode>\")</p>\n </li>\n </ul>\n <p> Represent Unicode characters with four digits, for example \"\\u0041\"\n or \"\\u005A\". </p>\n <p> The following regular expression operators are not supported: </p>\n <ul>\n <li>\n <p>Infinite repeaters: *, +, or {x,} with no upper bound.</p>\n </li>\n <li>\n <p>Wild card (.)</p>\n </li>\n </ul>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides a regular expression used to validate the value of a\n slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotValueResolutionStrategy": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "OriginalValue",
|
||
|
"name": "OriginalValue"
|
||
|
},
|
||
|
{
|
||
|
"value": "TopResolution",
|
||
|
"name": "TopResolution"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SlotValueSelectionSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resolutionStrategy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueResolutionStrategy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines the slot resolution strategy that Amazon Lex uses to\n return slot type values. The field can be set to one of the following\n values:</p>\n\n <ul>\n <li>\n <p>OriginalValue - Returns the value entered by the user, if the\n user value is similar to the slot value.</p>\n </li>\n <li>\n <p>TopResolution - If there is a resolution list for the slot,\n return the first value in the resolution list as the slot type\n value. If there is no resolution list, null is returned.</p>\n </li>\n </ul>\n\n <p>If you don't specify the valueSelectionStrategy, the default is\n OriginalValue. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"regexFilter": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueRegexFilter",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A regular expression used to validate the value of a slot.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Contains settings used by Amazon Lex to select a slot value.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SortOrder": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#enum": [
|
||
|
{
|
||
|
"value": "Ascending",
|
||
|
"name": "Ascending"
|
||
|
},
|
||
|
{
|
||
|
"value": "Descending",
|
||
|
"name": "Descending"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StartImport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#StartImportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#StartImportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Starts importing a bot or bot locale from a zip archive that you\n uploaded to an S3 bucket.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/imports",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StartImportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the import. It is included in the response\n from the operation.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Parameters for creating the bot or bot locale.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"mergeStrategy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MergeStrategy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy to use when there is a name conflict between the\n imported resource and an existing resource. When the merge strategy is\n <code>FailOnConflict</code> existing resources are not overwritten\n and the import fails.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"filePassword": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFilePassword",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The password used to encrypt the zip archive that contains the bot\n or bot locale definition. You should always encrypt the zip archive to\n protect it during transit between your site and Amazon Lex.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StartImportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"importId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A unique identifier for the import.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The parameters used when importing the bot or bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"mergeStrategy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MergeStrategy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy used when there was a name conflict between the\n imported resource and an existing resource. When the merge strategy is\n <code>FailOnConflict</code> existing resources are not overwritten\n and the import fails.</p>"
|
||
|
}
|
||
|
},
|
||
|
"importStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the import. When the status is\n <code>Complete</code> the bot or bot alias is ready to use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the import request was created.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StillWaitingResponseFrequency": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 1,
|
||
|
"max": 300
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StillWaitingResponseSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"messageGroups": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#MessageGroupsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>One or more message groups, each containing one or more messages,\n that define the prompts that Amazon Lex sends to the user.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"frequencyInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#StillWaitingResponseFrequency",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>How often a message should be sent to the user. Minimum of 1 second,\n maximum of 5 minutes.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"timeoutInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#StillWaitingResponseTimeout",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If Amazon Lex waits longer than this length of time for a response, it\n will stop sending messages.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"allowInterrupt": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BoxedBoolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Indicates that the user can interrupt the response by speaking while\n the message is being played.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines the messages that Amazon Lex sends to a user to remind them that\n the bot is waiting for a response.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#StillWaitingResponseTimeout": {
|
||
|
"type": "integer",
|
||
|
"traits": {
|
||
|
"smithy.api#box": {},
|
||
|
"smithy.api#range": {
|
||
|
"min": 1,
|
||
|
"max": 900
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#SynonymList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 10000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagKey": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 128
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagKeyList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagKey"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagMap": {
|
||
|
"type": "map",
|
||
|
"key": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagKey"
|
||
|
},
|
||
|
"value": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagValue"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagResource": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagResourceRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagResourceResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Adds the specified tags to the specified resource. If a tag key\n already exists, the existing value is replaced with the new\n value.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "POST",
|
||
|
"uri": "/tags/{resourceARN}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagResourceRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceARN": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel\n to tag.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"tags": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tag keys to add to the resource. If a tag key already\n exists, the existing value is replaced with the new value.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagResourceResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TagValue": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 0,
|
||
|
"max": 256
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TextLogDestination": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"cloudWatch": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#CloudWatchLogGroupLogDestination",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines the Amazon CloudWatch Logs log group where text and metadata logs are\n delivered.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines the Amazon CloudWatch Logs destination log group for\n conversation text logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TextLogSetting": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"enabled": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Boolean",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Determines whether conversation logs should be stored for an\n alias.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"destination": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TextLogDestination",
|
||
|
"traits": {
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines settings to enable text conversation logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#TextLogSettingsList": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TextLogSetting"
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 1
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ThrottlingException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"retryAfterSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RetryAfterSeconds",
|
||
|
"traits": {
|
||
|
"smithy.api#httpHeader": "Retry-After"
|
||
|
}
|
||
|
},
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 429
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Timestamp": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UntagResource": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UntagResourceRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UntagResourceResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Removes tags from a bot, bot alias, or bot channel.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "DELETE",
|
||
|
"uri": "/tags/{resourceARN}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UntagResourceRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceARN": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource to remove the tags\n from.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"tagKeys": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#TagKeyList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A list of tag keys to remove from the resource. If a tag key does\n not exist on the resource, it is ignored.</p>",
|
||
|
"smithy.api#httpQuery": "tagKeys",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UntagResourceResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the configuration of an existing bot. </p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotAlias": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotAliasRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotAliasResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the configuration of an existing bot alias.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botaliases/{botAliasId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotAliasRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot alias.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new name to assign to the bot alias.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new description to assign to the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new bot version to assign to the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasLocaleSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new Lambda functions to use in each locale for the bot\n alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"conversationLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConversationLogSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new settings for storing conversation logs in Amazon CloudWatch Logs and\n Amazon S3 buckets.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sentimentAnalysisSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SentimentAnalysisSettings"
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot with the updated alias.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotAliasResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botAliasId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the updated bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated name of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated description of the bot alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated version of the bot that the alias points to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botAliasLocaleSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasLocaleSettingsMap",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated Lambda functions to use in each locale for the bot\n alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"conversationLogSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConversationLogSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated settings for storing conversation logs in Amazon CloudWatch Logs and\n Amazon S3 buckets.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sentimentAnalysisSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SentimentAnalysisSettings"
|
||
|
},
|
||
|
"botAliasStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotAliasStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the bot alias. When the status is\n <code>Available</code> the alias is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot with the updated alias.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotLocale": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotLocaleRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateBotLocaleResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the settings that a bot has for a specific locale.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotLocaleRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the locale.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the locale to be updated. The\n version can only be the <code>DRAFT</code> version.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale to update. The string must\n match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new description of the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new confidence threshold where Amazon Lex inserts the\n <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> intents in the list of\n possible intents for an utterance.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new Amazon Polly voice Amazon Lex should use for voice interaction with the\n user.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotLocaleResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the updated locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the updated locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the updated bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated locale name for the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated description of the locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"nluIntentConfidenceThreshold": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated confidence threshold for inserting the\n <code>AMAZON.FallbackIntent</code> and\n <code>AMAZON.KendraSearchIntent</code> intents in the list of\n possible intents for an utterance.</p>"
|
||
|
}
|
||
|
},
|
||
|
"voiceSettings": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated Amazon Polly voice to use for voice interaction with the\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botLocaleStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotLocaleStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current status of the locale. When the bot status is\n <code>Built</code> the locale is ready for use.</p>"
|
||
|
}
|
||
|
},
|
||
|
"failureReasons": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FailureReasons",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>If the <code>botLocaleStatus</code> is <code>Failed</code>, the\n <code>failureReasons</code> field lists the errors that occurred\n while building the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the locale was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the locale was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot to update. This identifier is\n returned by the <a>CreateBot</a> operation.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new name of the bot. The name must be unique in the account that\n creates the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an IAM role that has permissions\n to access the bot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Provides information on additional privacy protections Amazon Lex should\n use with the bot's data.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The time, in seconds, that Amazon Lex should keep information about a\n user's conversation with the bot.</p>\n <p>A user interaction remains active for the amount of time specified.\n If no conversation occurs during this time, the session expires and\n Amazon Lex deletes any data provided before the timeout.</p>\n <p>You can specify between 60 (1 minute) and 86,400 (24 hours)\n seconds.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateBotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that was updated.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The name of the bot after the update.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The description of the bot after the update.</p>"
|
||
|
}
|
||
|
},
|
||
|
"roleArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RoleArn",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role used by the bot after\n the update.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dataPrivacy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DataPrivacy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The data privacy settings for the bot after the update.</p>"
|
||
|
}
|
||
|
},
|
||
|
"idleSessionTTLInSeconds": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SessionTTL",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The session timeout, in seconds, for the bot after the\n update.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BotStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Shows the current status of the bot. The bot is first in the\n <code>Creating</code> status. Once the bot is read for use, it\n changes to the <code>Available</code> status. After the bot is created,\n you can use the <code>DRAFT</code> version of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the bot was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateExport": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateExportRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateExportResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the password used to encrypt an export zip archive.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/exports/{exportId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateExportRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier Amazon Lex assigned to the export.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"filePassword": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFilePassword",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new password to use to encrypt the export zip archive.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateExportResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"exportId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier Amazon Lex assigned to the export.</p>"
|
||
|
}
|
||
|
},
|
||
|
"resourceSpecification": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportResourceSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A description of the type of resource that was exported, either a\n bot or a bot locale.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fileFormat": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ImportExportFileFormat",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The file format used for the files that define the resource.</p>"
|
||
|
}
|
||
|
},
|
||
|
"exportStatus": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExportStatus",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The status of the export. When the status is <code>Completed</code>\n the export archive is available for download.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the export was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The date and time that the export was last updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateIntent": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateIntentRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateIntentResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the settings for an intent.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateIntentRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the intent to update.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new name for the intent.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new description of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The signature of the new built-in intent to use as the parent of\n this intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>New utterances used to invoke the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dialogCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DialogCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new Lambda function to use between each turn of the conversation\n with the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fulfillmentCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new Lambda function to call when all of the intents required\n slots are provided and the intent is ready for fulfillment.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotPriorities": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotPrioritiesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A new list of slots and their priorities that are contained by the\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentConfirmationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentConfirmationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>New prompts that Amazon Lex sends to the user to confirm the completion\n of an intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentClosingSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentClosingSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new response that Amazon Lex sends the user when the intent is\n closed.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A new list of contexts that must be active in order for Amazon Lex to\n consider the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A new list of contexts that Amazon Lex activates when the intent is\n fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"kendraConfiguration": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraConfiguration",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>New configuration settings for connecting to an Amazon Kendra index.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the intent.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the intent. Must be\n <code>DRAFT</code>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale where this intent is used.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateIntentResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent that was updated.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated name of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated description of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentIntentSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated built-in intent that is the parent of this\n intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"sampleUtterances": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SampleUtterancesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated list of sample utterances for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"dialogCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DialogCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated Lambda function called during each turn of the\n conversation with the user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"fulfillmentCodeHook": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#FulfillmentCodeHookSettings",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated Lambda function called when the intent is ready for\n fulfillment.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotPriorities": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotPrioritiesList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated list of slots and their priorities that are elicited\n from the user for the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentConfirmationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentConfirmationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated prompts that Amazon Lex sends to the user to confirm the\n completion of an intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentClosingSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#IntentClosingSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated response that Amazon Lex sends the user when the intent is\n closed.</p>"
|
||
|
}
|
||
|
},
|
||
|
"inputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#InputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated list of contexts that must be active for the intent to\n be considered by Amazon Lex.</p>"
|
||
|
}
|
||
|
},
|
||
|
"outputContexts": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#OutputContextsList",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated list of contexts that Amazon Lex activates when the intent is\n fulfilled.</p>"
|
||
|
}
|
||
|
},
|
||
|
"kendraConfiguration": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#KendraConfiguration",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated configuration for connecting to an Amazon Kendra index with the\n <code>AMAZON.KendraSearchIntent</code> intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the intent. Will always be\n <code>DRAFT</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated language and locale of the intent.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of when the intent was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the last time that the intent was modified.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateResourcePolicy": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateResourcePolicyRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateResourcePolicyResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResourceNotFoundException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Replaces the existing resource policy for a bot or bot alias with a\n new one. If the policy doesn't exist, Amazon Lex returns an\n exception.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/policy/{resourceArn}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateResourcePolicyRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"policy": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Policy",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A resource policy to add to the resource. The policy is a JSON\n structure that contains one or more statements that define the policy.\n The policy must follow the IAM syntax. For more information about the\n contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy\n reference </a>. </p>\n <p>If the policy isn't valid, Amazon Lex returns a validation\n exception.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"expectedRevisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the revision of the policy to update. If this\n revision ID doesn't match the current revision ID, Amazon Lex throws an\n exception.</p>\n <p>If you don't specify a revision, Amazon Lex overwrites the contents of\n the policy with the new values.</p>",
|
||
|
"smithy.api#httpQuery": "expectedRevisionId"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateResourcePolicyResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"resourceArn": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#AmazonResourceName",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the bot or bot alias that the\n resource policy is attached to.</p>"
|
||
|
}
|
||
|
},
|
||
|
"revisionId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#RevisionId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The current revision of the resource policy. Use the revision ID to\n make sure that you are updating the most current version of a resource\n policy when you add a policy statement to a resource, delete a\n resource, or update a resource.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlot": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlotRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlotResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the settings for a slot.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}",
|
||
|
"code": 200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlotRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier for the slot to update.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new name for the slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new description for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the new slot type to associate with this\n slot. </p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueElicitationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A new set of prompts that Amazon Lex sends to the user to elicit a\n response the provides a value for the slot.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"obfuscationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>New settings that determine how slot values are formatted in Amazon CloudWatch\n logs. </p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the bot that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot. Must always be\n <code>DRAFT</code>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that contains the slot.\n The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the intent that contains the slot.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlotResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the slot that was updated.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated name of the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated description of the bot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#BuiltInOrCustomSlotTypeId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated identifier of the slot type that provides values for the\n slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueElicitationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueElicitationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated prompts that Amazon Lex sends to the user to elicit a\n response that provides a value for the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"obfuscationSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ObfuscationSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated setting that determines whether the slot value is\n obfuscated in the Amazon CloudWatch logs.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the slot version that contains the slot. Will\n always be <code>DRAFT</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The locale that contains the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"intentId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The intent that contains the slot.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the date and time that the slot was created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the date and time that the slot was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlotType": {
|
||
|
"type": "operation",
|
||
|
"input": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlotTypeRequest"
|
||
|
},
|
||
|
"output": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#UpdateSlotTypeResponse"
|
||
|
},
|
||
|
"errors": [
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ConflictException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#InternalServerException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#PreconditionFailedException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ThrottlingException"
|
||
|
},
|
||
|
{
|
||
|
"target": "com.amazonaws.lexmodelsv2#ValidationException"
|
||
|
}
|
||
|
],
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Updates the configuration of an existing slot type.</p>",
|
||
|
"smithy.api#http": {
|
||
|
"method": "PUT",
|
||
|
"uri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}",
|
||
|
"code": 202
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlotTypeRequest": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the slot type to update.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new name of the slot type.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new description of the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeValues": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A new list of values and their optional synonyms that define the\n values that the slot type can take.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueSelectionSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueSelectionSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The strategy that Amazon Lex should use when deciding on a value from the\n list of slot type values.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The new built-in slot type that should be used as the parent of this\n slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slot type.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot type. Must be\n <code>DRAFT</code>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the language and locale that contains the slot\n type. The string must match one of the supported locales. For more\n information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
||
|
"smithy.api#httpLabel": {},
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#UpdateSlotTypeResponse": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"slotTypeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The unique identifier of the updated slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeName": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Name",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated name of the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"description": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Description",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated description of the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"slotTypeValues": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeValues",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated values that the slot type provides.</p>"
|
||
|
}
|
||
|
},
|
||
|
"valueSelectionSetting": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotValueSelectionSetting",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated strategy that Amazon Lex uses to determine which value to\n select from the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"parentSlotTypeSignature": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#SlotTypeSignature",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The updated signature of the built-in slot type that is the parent\n of this slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Id",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the bot that contains the slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"botVersion": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#DraftBotVersion",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The version of the bot that contains the slot type. This is always\n <code>DRAFT</code>.</p>"
|
||
|
}
|
||
|
},
|
||
|
"localeId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#LocaleId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The language and locale of the updated slot type.</p>"
|
||
|
}
|
||
|
},
|
||
|
"creationDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The timestamp of the date and time that the slot type was\n created.</p>"
|
||
|
}
|
||
|
},
|
||
|
"lastUpdatedDateTime": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#Timestamp",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A timestamp of the date and time that the slot type was last\n updated.</p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Utterance": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#ValidationException": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"message": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ExceptionMessage"
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p></p>",
|
||
|
"smithy.api#error": "client",
|
||
|
"smithy.api#httpError": 400
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#Value": {
|
||
|
"type": "string",
|
||
|
"traits": {
|
||
|
"smithy.api#length": {
|
||
|
"min": 1,
|
||
|
"max": 140
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#VoiceId": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#VoiceSettings": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"voiceId": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#VoiceId",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The identifier of the Amazon Polly voice to use.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Defines settings for using an Amazon Polly voice to communicate with a\n user.</p>"
|
||
|
}
|
||
|
},
|
||
|
"com.amazonaws.lexmodelsv2#WaitAndContinueSpecification": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"waitingResponse": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResponseSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The response that Amazon Lex sends to indicate that the bot is waiting\n for the conversation to continue.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"continueResponse": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#ResponseSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>The response that Amazon Lex sends to indicate that the bot is ready to\n continue the conversation.</p>",
|
||
|
"smithy.api#required": {}
|
||
|
}
|
||
|
},
|
||
|
"stillWaitingResponse": {
|
||
|
"target": "com.amazonaws.lexmodelsv2#StillWaitingResponseSpecification",
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>A response that Amazon Lex sends periodically to the user to indicate\n that the bot is still waiting for input from the user.</p>"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"traits": {
|
||
|
"smithy.api#documentation": "<p>Specifies the prompts that Amazon Lex uses while a bot is waiting for\n customer input. </p>"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|