2124 lines
56 KiB
JSON
2124 lines
56 KiB
JSON
{
|
|
"version":"2.0",
|
|
"metadata":{
|
|
"apiVersion":"2017-04-19",
|
|
"endpointPrefix":"models.lex",
|
|
"jsonVersion":"1.1",
|
|
"protocol":"rest-json",
|
|
"serviceFullName":"Amazon Lex Model Building Service",
|
|
"signatureVersion":"v4",
|
|
"signingName":"lex",
|
|
"uid":"lex-models-2017-04-19"
|
|
},
|
|
"operations":{
|
|
"CreateBotVersion":{
|
|
"name":"CreateBotVersion",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/bots/{name}/versions",
|
|
"responseCode":201
|
|
},
|
|
"input":{"shape":"CreateBotVersionRequest"},
|
|
"output":{"shape":"CreateBotVersionResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"CreateIntentVersion":{
|
|
"name":"CreateIntentVersion",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/intents/{name}/versions",
|
|
"responseCode":201
|
|
},
|
|
"input":{"shape":"CreateIntentVersionRequest"},
|
|
"output":{"shape":"CreateIntentVersionResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"CreateSlotTypeVersion":{
|
|
"name":"CreateSlotTypeVersion",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/slottypes/{name}/versions",
|
|
"responseCode":201
|
|
},
|
|
"input":{"shape":"CreateSlotTypeVersionRequest"},
|
|
"output":{"shape":"CreateSlotTypeVersionResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"DeleteBot":{
|
|
"name":"DeleteBot",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/bots/{name}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteBotRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteBotAlias":{
|
|
"name":"DeleteBotAlias",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/bots/{botName}/aliases/{name}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteBotAliasRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteBotChannelAssociation":{
|
|
"name":"DeleteBotChannelAssociation",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/bots/{botName}/aliases/{aliasName}/channels/{name}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteBotChannelAssociationRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"DeleteBotVersion":{
|
|
"name":"DeleteBotVersion",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/bots/{name}/versions/{version}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteBotVersionRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteIntent":{
|
|
"name":"DeleteIntent",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/intents/{name}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteIntentRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteIntentVersion":{
|
|
"name":"DeleteIntentVersion",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/intents/{name}/versions/{version}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteIntentVersionRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteSlotType":{
|
|
"name":"DeleteSlotType",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/slottypes/{name}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteSlotTypeRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteSlotTypeVersion":{
|
|
"name":"DeleteSlotTypeVersion",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/slottypes/{name}/version/{version}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteSlotTypeVersionRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"ResourceInUseException"}
|
|
]
|
|
},
|
|
"DeleteUtterances":{
|
|
"name":"DeleteUtterances",
|
|
"http":{
|
|
"method":"DELETE",
|
|
"requestUri":"/bots/{botName}/utterances/{userId}",
|
|
"responseCode":204
|
|
},
|
|
"input":{"shape":"DeleteUtterancesRequest"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBot":{
|
|
"name":"GetBot",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{name}/versions/{versionoralias}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotRequest"},
|
|
"output":{"shape":"GetBotResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBotAlias":{
|
|
"name":"GetBotAlias",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{botName}/aliases/{name}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotAliasRequest"},
|
|
"output":{"shape":"GetBotAliasResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBotAliases":{
|
|
"name":"GetBotAliases",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{botName}/aliases/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotAliasesRequest"},
|
|
"output":{"shape":"GetBotAliasesResponse"},
|
|
"errors":[
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBotChannelAssociation":{
|
|
"name":"GetBotChannelAssociation",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{botName}/aliases/{aliasName}/channels/{name}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotChannelAssociationRequest"},
|
|
"output":{"shape":"GetBotChannelAssociationResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBotChannelAssociations":{
|
|
"name":"GetBotChannelAssociations",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{botName}/aliases/{aliasName}/channels/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotChannelAssociationsRequest"},
|
|
"output":{"shape":"GetBotChannelAssociationsResponse"},
|
|
"errors":[
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBotVersions":{
|
|
"name":"GetBotVersions",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{name}/versions/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotVersionsRequest"},
|
|
"output":{"shape":"GetBotVersionsResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBots":{
|
|
"name":"GetBots",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBotsRequest"},
|
|
"output":{"shape":"GetBotsResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBuiltinIntent":{
|
|
"name":"GetBuiltinIntent",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/builtins/intents/{signature}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBuiltinIntentRequest"},
|
|
"output":{"shape":"GetBuiltinIntentResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBuiltinIntents":{
|
|
"name":"GetBuiltinIntents",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/builtins/intents/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBuiltinIntentsRequest"},
|
|
"output":{"shape":"GetBuiltinIntentsResponse"},
|
|
"errors":[
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetBuiltinSlotTypes":{
|
|
"name":"GetBuiltinSlotTypes",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/builtins/slottypes/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetBuiltinSlotTypesRequest"},
|
|
"output":{"shape":"GetBuiltinSlotTypesResponse"},
|
|
"errors":[
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetExport":{
|
|
"name":"GetExport",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/exports/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetExportRequest"},
|
|
"output":{"shape":"GetExportResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetIntent":{
|
|
"name":"GetIntent",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/intents/{name}/versions/{version}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetIntentRequest"},
|
|
"output":{"shape":"GetIntentResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetIntentVersions":{
|
|
"name":"GetIntentVersions",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/intents/{name}/versions/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetIntentVersionsRequest"},
|
|
"output":{"shape":"GetIntentVersionsResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetIntents":{
|
|
"name":"GetIntents",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/intents/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetIntentsRequest"},
|
|
"output":{"shape":"GetIntentsResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetSlotType":{
|
|
"name":"GetSlotType",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/slottypes/{name}/versions/{version}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetSlotTypeRequest"},
|
|
"output":{"shape":"GetSlotTypeResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetSlotTypeVersions":{
|
|
"name":"GetSlotTypeVersions",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/slottypes/{name}/versions/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetSlotTypeVersionsRequest"},
|
|
"output":{"shape":"GetSlotTypeVersionsResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetSlotTypes":{
|
|
"name":"GetSlotTypes",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/slottypes/",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetSlotTypesRequest"},
|
|
"output":{"shape":"GetSlotTypesResponse"},
|
|
"errors":[
|
|
{"shape":"NotFoundException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"GetUtterancesView":{
|
|
"name":"GetUtterancesView",
|
|
"http":{
|
|
"method":"GET",
|
|
"requestUri":"/bots/{botname}/utterances?view=aggregation",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"GetUtterancesViewRequest"},
|
|
"output":{"shape":"GetUtterancesViewResponse"},
|
|
"errors":[
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"}
|
|
]
|
|
},
|
|
"PutBot":{
|
|
"name":"PutBot",
|
|
"http":{
|
|
"method":"PUT",
|
|
"requestUri":"/bots/{name}/versions/$LATEST",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"PutBotRequest"},
|
|
"output":{"shape":"PutBotResponse"},
|
|
"errors":[
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"PutBotAlias":{
|
|
"name":"PutBotAlias",
|
|
"http":{
|
|
"method":"PUT",
|
|
"requestUri":"/bots/{botName}/aliases/{name}",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"PutBotAliasRequest"},
|
|
"output":{"shape":"PutBotAliasResponse"},
|
|
"errors":[
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"PutIntent":{
|
|
"name":"PutIntent",
|
|
"http":{
|
|
"method":"PUT",
|
|
"requestUri":"/intents/{name}/versions/$LATEST",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"PutIntentRequest"},
|
|
"output":{"shape":"PutIntentResponse"},
|
|
"errors":[
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
},
|
|
"PutSlotType":{
|
|
"name":"PutSlotType",
|
|
"http":{
|
|
"method":"PUT",
|
|
"requestUri":"/slottypes/{name}/versions/$LATEST",
|
|
"responseCode":200
|
|
},
|
|
"input":{"shape":"PutSlotTypeRequest"},
|
|
"output":{"shape":"PutSlotTypeResponse"},
|
|
"errors":[
|
|
{"shape":"ConflictException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"InternalFailureException"},
|
|
{"shape":"BadRequestException"},
|
|
{"shape":"PreconditionFailedException"}
|
|
]
|
|
}
|
|
},
|
|
"shapes":{
|
|
"AliasName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"AliasNameOrListAll":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^(-|^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*))$"
|
|
},
|
|
"BadRequestException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":400},
|
|
"exception":true
|
|
},
|
|
"Boolean":{"type":"boolean"},
|
|
"BotAliasMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"AliasName"},
|
|
"description":{"shape":"Description"},
|
|
"botVersion":{"shape":"Version"},
|
|
"botName":{"shape":"BotName"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"BotAliasMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"BotAliasMetadata"}
|
|
},
|
|
"BotChannelAssociation":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotChannelName"},
|
|
"description":{"shape":"Description"},
|
|
"botAlias":{"shape":"AliasName"},
|
|
"botName":{"shape":"BotName"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"type":{"shape":"ChannelType"},
|
|
"botConfiguration":{"shape":"ChannelConfigurationMap"}
|
|
}
|
|
},
|
|
"BotChannelAssociationList":{
|
|
"type":"list",
|
|
"member":{"shape":"BotChannelAssociation"}
|
|
},
|
|
"BotChannelName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"BotMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotName"},
|
|
"description":{"shape":"Description"},
|
|
"status":{"shape":"Status"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"}
|
|
}
|
|
},
|
|
"BotMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"BotMetadata"}
|
|
},
|
|
"BotName":{
|
|
"type":"string",
|
|
"max":50,
|
|
"min":2,
|
|
"pattern":"^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"BotVersions":{
|
|
"type":"list",
|
|
"member":{"shape":"Version"},
|
|
"max":5,
|
|
"min":1
|
|
},
|
|
"BuiltinIntentMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"signature":{"shape":"BuiltinIntentSignature"},
|
|
"supportedLocales":{"shape":"LocaleList"}
|
|
}
|
|
},
|
|
"BuiltinIntentMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"BuiltinIntentMetadata"}
|
|
},
|
|
"BuiltinIntentSignature":{"type":"string"},
|
|
"BuiltinIntentSlot":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"String"}
|
|
}
|
|
},
|
|
"BuiltinIntentSlotList":{
|
|
"type":"list",
|
|
"member":{"shape":"BuiltinIntentSlot"}
|
|
},
|
|
"BuiltinSlotTypeMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"signature":{"shape":"BuiltinSlotTypeSignature"},
|
|
"supportedLocales":{"shape":"LocaleList"}
|
|
}
|
|
},
|
|
"BuiltinSlotTypeMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"BuiltinSlotTypeMetadata"}
|
|
},
|
|
"BuiltinSlotTypeSignature":{"type":"string"},
|
|
"ChannelConfigurationMap":{
|
|
"type":"map",
|
|
"key":{"shape":"String"},
|
|
"value":{"shape":"String"},
|
|
"max":10,
|
|
"min":1,
|
|
"sensitive":true
|
|
},
|
|
"ChannelType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"Facebook",
|
|
"Slack",
|
|
"Twilio-Sms"
|
|
]
|
|
},
|
|
"CodeHook":{
|
|
"type":"structure",
|
|
"required":[
|
|
"uri",
|
|
"messageVersion"
|
|
],
|
|
"members":{
|
|
"uri":{"shape":"LambdaARN"},
|
|
"messageVersion":{"shape":"MessageVersion"}
|
|
}
|
|
},
|
|
"ConflictException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":409},
|
|
"exception":true
|
|
},
|
|
"ContentString":{
|
|
"type":"string",
|
|
"max":1000,
|
|
"min":1
|
|
},
|
|
"ContentType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"PlainText",
|
|
"SSML"
|
|
]
|
|
},
|
|
"Count":{"type":"integer"},
|
|
"CreateBotVersionRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"CreateBotVersionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotName"},
|
|
"description":{"shape":"Description"},
|
|
"intents":{"shape":"IntentList"},
|
|
"clarificationPrompt":{"shape":"Prompt"},
|
|
"abortStatement":{"shape":"Statement"},
|
|
"status":{"shape":"Status"},
|
|
"failureReason":{"shape":"String"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
|
|
"voiceId":{"shape":"String"},
|
|
"checksum":{"shape":"String"},
|
|
"version":{"shape":"Version"},
|
|
"locale":{"shape":"Locale"},
|
|
"childDirected":{"shape":"Boolean"}
|
|
}
|
|
},
|
|
"CreateIntentVersionRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"CreateIntentVersionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"IntentName"},
|
|
"description":{"shape":"Description"},
|
|
"slots":{"shape":"SlotList"},
|
|
"sampleUtterances":{"shape":"IntentUtteranceList"},
|
|
"confirmationPrompt":{"shape":"Prompt"},
|
|
"rejectionStatement":{"shape":"Statement"},
|
|
"followUpPrompt":{"shape":"FollowUpPrompt"},
|
|
"conclusionStatement":{"shape":"Statement"},
|
|
"dialogCodeHook":{"shape":"CodeHook"},
|
|
"fulfillmentActivity":{"shape":"FulfillmentActivity"},
|
|
"parentIntentSignature":{"shape":"BuiltinIntentSignature"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"CreateSlotTypeVersionRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"CreateSlotTypeVersionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"SlotTypeName"},
|
|
"description":{"shape":"Description"},
|
|
"enumerationValues":{"shape":"EnumerationValues"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"},
|
|
"valueSelectionStrategy":{"shape":"SlotValueSelectionStrategy"}
|
|
}
|
|
},
|
|
"CustomOrBuiltinSlotTypeName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^([a-zA-Z]|AMAZON.)+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"DeleteBotAliasRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"botName"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"AliasName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
}
|
|
}
|
|
},
|
|
"DeleteBotChannelAssociationRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"botName",
|
|
"botAlias"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotChannelName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"botAlias":{
|
|
"shape":"AliasName",
|
|
"location":"uri",
|
|
"locationName":"aliasName"
|
|
}
|
|
}
|
|
},
|
|
"DeleteBotRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
}
|
|
}
|
|
},
|
|
"DeleteBotVersionRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"NumericalVersion",
|
|
"location":"uri",
|
|
"locationName":"version"
|
|
}
|
|
}
|
|
},
|
|
"DeleteIntentRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
}
|
|
}
|
|
},
|
|
"DeleteIntentVersionRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"NumericalVersion",
|
|
"location":"uri",
|
|
"locationName":"version"
|
|
}
|
|
}
|
|
},
|
|
"DeleteSlotTypeRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
}
|
|
}
|
|
},
|
|
"DeleteSlotTypeVersionRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"NumericalVersion",
|
|
"location":"uri",
|
|
"locationName":"version"
|
|
}
|
|
}
|
|
},
|
|
"DeleteUtterancesRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"botName",
|
|
"userId"
|
|
],
|
|
"members":{
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"userId":{
|
|
"shape":"UserId",
|
|
"location":"uri",
|
|
"locationName":"userId"
|
|
}
|
|
}
|
|
},
|
|
"Description":{
|
|
"type":"string",
|
|
"max":200,
|
|
"min":0
|
|
},
|
|
"EnumerationValue":{
|
|
"type":"structure",
|
|
"required":["value"],
|
|
"members":{
|
|
"value":{"shape":"Value"},
|
|
"synonyms":{"shape":"SynonymList"}
|
|
}
|
|
},
|
|
"EnumerationValues":{
|
|
"type":"list",
|
|
"member":{"shape":"EnumerationValue"},
|
|
"max":10000,
|
|
"min":1
|
|
},
|
|
"ExportStatus":{
|
|
"type":"string",
|
|
"enum":[
|
|
"IN_PROGRESS",
|
|
"READY",
|
|
"FAILED"
|
|
]
|
|
},
|
|
"ExportType":{
|
|
"type":"string",
|
|
"enum":["ALEXA_SKILLS_KIT"]
|
|
},
|
|
"FollowUpPrompt":{
|
|
"type":"structure",
|
|
"required":[
|
|
"prompt",
|
|
"rejectionStatement"
|
|
],
|
|
"members":{
|
|
"prompt":{"shape":"Prompt"},
|
|
"rejectionStatement":{"shape":"Statement"}
|
|
}
|
|
},
|
|
"FulfillmentActivity":{
|
|
"type":"structure",
|
|
"required":["type"],
|
|
"members":{
|
|
"type":{"shape":"FulfillmentActivityType"},
|
|
"codeHook":{"shape":"CodeHook"}
|
|
}
|
|
},
|
|
"FulfillmentActivityType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"ReturnIntent",
|
|
"CodeHook"
|
|
]
|
|
},
|
|
"GetBotAliasRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"botName"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"AliasName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
}
|
|
}
|
|
},
|
|
"GetBotAliasResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"AliasName"},
|
|
"description":{"shape":"Description"},
|
|
"botVersion":{"shape":"Version"},
|
|
"botName":{"shape":"BotName"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"GetBotAliasesRequest":{
|
|
"type":"structure",
|
|
"required":["botName"],
|
|
"members":{
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
},
|
|
"nameContains":{
|
|
"shape":"AliasName",
|
|
"location":"querystring",
|
|
"locationName":"nameContains"
|
|
}
|
|
}
|
|
},
|
|
"GetBotAliasesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"BotAliases":{"shape":"BotAliasMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetBotChannelAssociationRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"botName",
|
|
"botAlias"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotChannelName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"botAlias":{
|
|
"shape":"AliasName",
|
|
"location":"uri",
|
|
"locationName":"aliasName"
|
|
}
|
|
}
|
|
},
|
|
"GetBotChannelAssociationResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotChannelName"},
|
|
"description":{"shape":"Description"},
|
|
"botAlias":{"shape":"AliasName"},
|
|
"botName":{"shape":"BotName"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"type":{"shape":"ChannelType"},
|
|
"botConfiguration":{"shape":"ChannelConfigurationMap"}
|
|
}
|
|
},
|
|
"GetBotChannelAssociationsRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"botName",
|
|
"botAlias"
|
|
],
|
|
"members":{
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"botAlias":{
|
|
"shape":"AliasNameOrListAll",
|
|
"location":"uri",
|
|
"locationName":"aliasName"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
},
|
|
"nameContains":{
|
|
"shape":"BotChannelName",
|
|
"location":"querystring",
|
|
"locationName":"nameContains"
|
|
}
|
|
}
|
|
},
|
|
"GetBotChannelAssociationsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"botChannelAssociations":{"shape":"BotChannelAssociationList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetBotRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"versionOrAlias"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"versionOrAlias":{
|
|
"shape":"String",
|
|
"location":"uri",
|
|
"locationName":"versionoralias"
|
|
}
|
|
}
|
|
},
|
|
"GetBotResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotName"},
|
|
"description":{"shape":"Description"},
|
|
"intents":{"shape":"IntentList"},
|
|
"clarificationPrompt":{"shape":"Prompt"},
|
|
"abortStatement":{"shape":"Statement"},
|
|
"status":{"shape":"Status"},
|
|
"failureReason":{"shape":"String"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
|
|
"voiceId":{"shape":"String"},
|
|
"checksum":{"shape":"String"},
|
|
"version":{"shape":"Version"},
|
|
"locale":{"shape":"Locale"},
|
|
"childDirected":{"shape":"Boolean"}
|
|
}
|
|
},
|
|
"GetBotVersionsRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
}
|
|
}
|
|
},
|
|
"GetBotVersionsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"bots":{"shape":"BotMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetBotsRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
},
|
|
"nameContains":{
|
|
"shape":"BotName",
|
|
"location":"querystring",
|
|
"locationName":"nameContains"
|
|
}
|
|
}
|
|
},
|
|
"GetBotsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"bots":{"shape":"BotMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetBuiltinIntentRequest":{
|
|
"type":"structure",
|
|
"required":["signature"],
|
|
"members":{
|
|
"signature":{
|
|
"shape":"BuiltinIntentSignature",
|
|
"location":"uri",
|
|
"locationName":"signature"
|
|
}
|
|
}
|
|
},
|
|
"GetBuiltinIntentResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"signature":{"shape":"BuiltinIntentSignature"},
|
|
"supportedLocales":{"shape":"LocaleList"},
|
|
"slots":{"shape":"BuiltinIntentSlotList"}
|
|
}
|
|
},
|
|
"GetBuiltinIntentsRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"locale":{
|
|
"shape":"Locale",
|
|
"location":"querystring",
|
|
"locationName":"locale"
|
|
},
|
|
"signatureContains":{
|
|
"shape":"String",
|
|
"location":"querystring",
|
|
"locationName":"signatureContains"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
}
|
|
}
|
|
},
|
|
"GetBuiltinIntentsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"intents":{"shape":"BuiltinIntentMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetBuiltinSlotTypesRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"locale":{
|
|
"shape":"Locale",
|
|
"location":"querystring",
|
|
"locationName":"locale"
|
|
},
|
|
"signatureContains":{
|
|
"shape":"String",
|
|
"location":"querystring",
|
|
"locationName":"signatureContains"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
}
|
|
}
|
|
},
|
|
"GetBuiltinSlotTypesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"slotTypes":{"shape":"BuiltinSlotTypeMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetExportRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version",
|
|
"resourceType",
|
|
"exportType"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"Name",
|
|
"location":"querystring",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"NumericalVersion",
|
|
"location":"querystring",
|
|
"locationName":"version"
|
|
},
|
|
"resourceType":{
|
|
"shape":"ResourceType",
|
|
"location":"querystring",
|
|
"locationName":"resourceType"
|
|
},
|
|
"exportType":{
|
|
"shape":"ExportType",
|
|
"location":"querystring",
|
|
"locationName":"exportType"
|
|
}
|
|
}
|
|
},
|
|
"GetExportResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"Name"},
|
|
"version":{"shape":"NumericalVersion"},
|
|
"resourceType":{"shape":"ResourceType"},
|
|
"exportType":{"shape":"ExportType"},
|
|
"exportStatus":{"shape":"ExportStatus"},
|
|
"failureReason":{"shape":"String"},
|
|
"url":{"shape":"String"}
|
|
}
|
|
},
|
|
"GetIntentRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"Version",
|
|
"location":"uri",
|
|
"locationName":"version"
|
|
}
|
|
}
|
|
},
|
|
"GetIntentResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"IntentName"},
|
|
"description":{"shape":"Description"},
|
|
"slots":{"shape":"SlotList"},
|
|
"sampleUtterances":{"shape":"IntentUtteranceList"},
|
|
"confirmationPrompt":{"shape":"Prompt"},
|
|
"rejectionStatement":{"shape":"Statement"},
|
|
"followUpPrompt":{"shape":"FollowUpPrompt"},
|
|
"conclusionStatement":{"shape":"Statement"},
|
|
"dialogCodeHook":{"shape":"CodeHook"},
|
|
"fulfillmentActivity":{"shape":"FulfillmentActivity"},
|
|
"parentIntentSignature":{"shape":"BuiltinIntentSignature"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"GetIntentVersionsRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
}
|
|
}
|
|
},
|
|
"GetIntentVersionsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"intents":{"shape":"IntentMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetIntentsRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
},
|
|
"nameContains":{
|
|
"shape":"IntentName",
|
|
"location":"querystring",
|
|
"locationName":"nameContains"
|
|
}
|
|
}
|
|
},
|
|
"GetIntentsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"intents":{"shape":"IntentMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetSlotTypeRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"version"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"version":{
|
|
"shape":"Version",
|
|
"location":"uri",
|
|
"locationName":"version"
|
|
}
|
|
}
|
|
},
|
|
"GetSlotTypeResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"SlotTypeName"},
|
|
"description":{"shape":"Description"},
|
|
"enumerationValues":{"shape":"EnumerationValues"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"},
|
|
"valueSelectionStrategy":{"shape":"SlotValueSelectionStrategy"}
|
|
}
|
|
},
|
|
"GetSlotTypeVersionsRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
}
|
|
}
|
|
},
|
|
"GetSlotTypeVersionsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"slotTypes":{"shape":"SlotTypeMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetSlotTypesRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"nextToken":{
|
|
"shape":"NextToken",
|
|
"location":"querystring",
|
|
"locationName":"nextToken"
|
|
},
|
|
"maxResults":{
|
|
"shape":"MaxResults",
|
|
"location":"querystring",
|
|
"locationName":"maxResults"
|
|
},
|
|
"nameContains":{
|
|
"shape":"SlotTypeName",
|
|
"location":"querystring",
|
|
"locationName":"nameContains"
|
|
}
|
|
}
|
|
},
|
|
"GetSlotTypesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"slotTypes":{"shape":"SlotTypeMetadataList"},
|
|
"nextToken":{"shape":"NextToken"}
|
|
}
|
|
},
|
|
"GetUtterancesViewRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"botName",
|
|
"botVersions",
|
|
"statusType"
|
|
],
|
|
"members":{
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botname"
|
|
},
|
|
"botVersions":{
|
|
"shape":"BotVersions",
|
|
"location":"querystring",
|
|
"locationName":"bot_versions"
|
|
},
|
|
"statusType":{
|
|
"shape":"StatusType",
|
|
"location":"querystring",
|
|
"locationName":"status_type"
|
|
}
|
|
}
|
|
},
|
|
"GetUtterancesViewResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"botName":{"shape":"BotName"},
|
|
"utterances":{"shape":"ListsOfUtterances"}
|
|
}
|
|
},
|
|
"Intent":{
|
|
"type":"structure",
|
|
"required":[
|
|
"intentName",
|
|
"intentVersion"
|
|
],
|
|
"members":{
|
|
"intentName":{"shape":"IntentName"},
|
|
"intentVersion":{"shape":"Version"}
|
|
}
|
|
},
|
|
"IntentList":{
|
|
"type":"list",
|
|
"member":{"shape":"Intent"}
|
|
},
|
|
"IntentMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"IntentName"},
|
|
"description":{"shape":"Description"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"}
|
|
}
|
|
},
|
|
"IntentMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"IntentMetadata"}
|
|
},
|
|
"IntentName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"IntentUtteranceList":{
|
|
"type":"list",
|
|
"member":{"shape":"Utterance"},
|
|
"max":1500,
|
|
"min":0
|
|
},
|
|
"InternalFailureException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":500},
|
|
"exception":true,
|
|
"fault":true
|
|
},
|
|
"LambdaARN":{
|
|
"type":"string",
|
|
"max":2048,
|
|
"min":20,
|
|
"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-_]+)?"
|
|
},
|
|
"LimitExceededException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"retryAfterSeconds":{
|
|
"shape":"String",
|
|
"location":"header",
|
|
"locationName":"Retry-After"
|
|
},
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":429},
|
|
"exception":true
|
|
},
|
|
"ListOfUtterance":{
|
|
"type":"list",
|
|
"member":{"shape":"UtteranceData"}
|
|
},
|
|
"ListsOfUtterances":{
|
|
"type":"list",
|
|
"member":{"shape":"UtteranceList"}
|
|
},
|
|
"Locale":{
|
|
"type":"string",
|
|
"enum":["en-US"]
|
|
},
|
|
"LocaleList":{
|
|
"type":"list",
|
|
"member":{"shape":"Locale"}
|
|
},
|
|
"MaxResults":{
|
|
"type":"integer",
|
|
"box":true,
|
|
"max":50,
|
|
"min":1
|
|
},
|
|
"Message":{
|
|
"type":"structure",
|
|
"required":[
|
|
"contentType",
|
|
"content"
|
|
],
|
|
"members":{
|
|
"contentType":{"shape":"ContentType"},
|
|
"content":{"shape":"ContentString"}
|
|
}
|
|
},
|
|
"MessageList":{
|
|
"type":"list",
|
|
"member":{"shape":"Message"},
|
|
"max":5,
|
|
"min":1
|
|
},
|
|
"MessageVersion":{
|
|
"type":"string",
|
|
"max":5,
|
|
"min":1
|
|
},
|
|
"Name":{
|
|
"type":"string",
|
|
"max":64,
|
|
"min":1,
|
|
"pattern":"[a-zA-Z_]+"
|
|
},
|
|
"NextToken":{"type":"string"},
|
|
"NotFoundException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":404},
|
|
"exception":true
|
|
},
|
|
"NumericalVersion":{
|
|
"type":"string",
|
|
"max":64,
|
|
"min":1,
|
|
"pattern":"[0-9]+"
|
|
},
|
|
"PreconditionFailedException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"message":{"shape":"String"}
|
|
},
|
|
"error":{"httpStatusCode":412},
|
|
"exception":true
|
|
},
|
|
"Priority":{
|
|
"type":"integer",
|
|
"max":100,
|
|
"min":0
|
|
},
|
|
"ProcessBehavior":{
|
|
"type":"string",
|
|
"enum":[
|
|
"SAVE",
|
|
"BUILD"
|
|
]
|
|
},
|
|
"Prompt":{
|
|
"type":"structure",
|
|
"required":[
|
|
"messages",
|
|
"maxAttempts"
|
|
],
|
|
"members":{
|
|
"messages":{"shape":"MessageList"},
|
|
"maxAttempts":{"shape":"PromptMaxAttempts"},
|
|
"responseCard":{"shape":"ResponseCard"}
|
|
}
|
|
},
|
|
"PromptMaxAttempts":{
|
|
"type":"integer",
|
|
"max":5,
|
|
"min":1
|
|
},
|
|
"PutBotAliasRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"botVersion",
|
|
"botName"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"AliasName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"description":{"shape":"Description"},
|
|
"botVersion":{"shape":"Version"},
|
|
"botName":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"botName"
|
|
},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"PutBotAliasResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"AliasName"},
|
|
"description":{"shape":"Description"},
|
|
"botVersion":{"shape":"Version"},
|
|
"botName":{"shape":"BotName"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"PutBotRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"locale",
|
|
"childDirected"
|
|
],
|
|
"members":{
|
|
"name":{
|
|
"shape":"BotName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"description":{"shape":"Description"},
|
|
"intents":{"shape":"IntentList"},
|
|
"clarificationPrompt":{"shape":"Prompt"},
|
|
"abortStatement":{"shape":"Statement"},
|
|
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
|
|
"voiceId":{"shape":"String"},
|
|
"checksum":{"shape":"String"},
|
|
"processBehavior":{"shape":"ProcessBehavior"},
|
|
"locale":{"shape":"Locale"},
|
|
"childDirected":{"shape":"Boolean"}
|
|
}
|
|
},
|
|
"PutBotResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"BotName"},
|
|
"description":{"shape":"Description"},
|
|
"intents":{"shape":"IntentList"},
|
|
"clarificationPrompt":{"shape":"Prompt"},
|
|
"abortStatement":{"shape":"Statement"},
|
|
"status":{"shape":"Status"},
|
|
"failureReason":{"shape":"String"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"idleSessionTTLInSeconds":{"shape":"SessionTTL"},
|
|
"voiceId":{"shape":"String"},
|
|
"checksum":{"shape":"String"},
|
|
"version":{"shape":"Version"},
|
|
"locale":{"shape":"Locale"},
|
|
"childDirected":{"shape":"Boolean"}
|
|
}
|
|
},
|
|
"PutIntentRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"IntentName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"description":{"shape":"Description"},
|
|
"slots":{"shape":"SlotList"},
|
|
"sampleUtterances":{"shape":"IntentUtteranceList"},
|
|
"confirmationPrompt":{"shape":"Prompt"},
|
|
"rejectionStatement":{"shape":"Statement"},
|
|
"followUpPrompt":{"shape":"FollowUpPrompt"},
|
|
"conclusionStatement":{"shape":"Statement"},
|
|
"dialogCodeHook":{"shape":"CodeHook"},
|
|
"fulfillmentActivity":{"shape":"FulfillmentActivity"},
|
|
"parentIntentSignature":{"shape":"BuiltinIntentSignature"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"PutIntentResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"IntentName"},
|
|
"description":{"shape":"Description"},
|
|
"slots":{"shape":"SlotList"},
|
|
"sampleUtterances":{"shape":"IntentUtteranceList"},
|
|
"confirmationPrompt":{"shape":"Prompt"},
|
|
"rejectionStatement":{"shape":"Statement"},
|
|
"followUpPrompt":{"shape":"FollowUpPrompt"},
|
|
"conclusionStatement":{"shape":"Statement"},
|
|
"dialogCodeHook":{"shape":"CodeHook"},
|
|
"fulfillmentActivity":{"shape":"FulfillmentActivity"},
|
|
"parentIntentSignature":{"shape":"BuiltinIntentSignature"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"}
|
|
}
|
|
},
|
|
"PutSlotTypeRequest":{
|
|
"type":"structure",
|
|
"required":["name"],
|
|
"members":{
|
|
"name":{
|
|
"shape":"SlotTypeName",
|
|
"location":"uri",
|
|
"locationName":"name"
|
|
},
|
|
"description":{"shape":"Description"},
|
|
"enumerationValues":{"shape":"EnumerationValues"},
|
|
"checksum":{"shape":"String"},
|
|
"valueSelectionStrategy":{"shape":"SlotValueSelectionStrategy"}
|
|
}
|
|
},
|
|
"PutSlotTypeResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"SlotTypeName"},
|
|
"description":{"shape":"Description"},
|
|
"enumerationValues":{"shape":"EnumerationValues"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"},
|
|
"checksum":{"shape":"String"},
|
|
"valueSelectionStrategy":{"shape":"SlotValueSelectionStrategy"}
|
|
}
|
|
},
|
|
"ReferenceType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"Intent",
|
|
"Bot",
|
|
"BotAlias",
|
|
"BotChannel"
|
|
]
|
|
},
|
|
"ResourceInUseException":{
|
|
"type":"structure",
|
|
"members":{
|
|
"referenceType":{"shape":"ReferenceType"},
|
|
"exampleReference":{"shape":"ResourceReference"}
|
|
},
|
|
"error":{"httpStatusCode":400},
|
|
"exception":true
|
|
},
|
|
"ResourceReference":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"Name"},
|
|
"version":{"shape":"Version"}
|
|
}
|
|
},
|
|
"ResourceType":{
|
|
"type":"string",
|
|
"enum":["BOT"]
|
|
},
|
|
"ResponseCard":{
|
|
"type":"string",
|
|
"max":50000,
|
|
"min":1
|
|
},
|
|
"SessionTTL":{
|
|
"type":"integer",
|
|
"max":86400,
|
|
"min":60
|
|
},
|
|
"Slot":{
|
|
"type":"structure",
|
|
"required":[
|
|
"name",
|
|
"slotConstraint"
|
|
],
|
|
"members":{
|
|
"name":{"shape":"SlotName"},
|
|
"description":{"shape":"Description"},
|
|
"slotConstraint":{"shape":"SlotConstraint"},
|
|
"slotType":{"shape":"CustomOrBuiltinSlotTypeName"},
|
|
"slotTypeVersion":{"shape":"Version"},
|
|
"valueElicitationPrompt":{"shape":"Prompt"},
|
|
"priority":{"shape":"Priority"},
|
|
"sampleUtterances":{"shape":"SlotUtteranceList"},
|
|
"responseCard":{"shape":"ResponseCard"}
|
|
}
|
|
},
|
|
"SlotConstraint":{
|
|
"type":"string",
|
|
"enum":[
|
|
"Required",
|
|
"Optional"
|
|
]
|
|
},
|
|
"SlotList":{
|
|
"type":"list",
|
|
"member":{"shape":"Slot"},
|
|
"max":100,
|
|
"min":0
|
|
},
|
|
"SlotName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z]+(((_|.)[a-zA-Z]+)*|([a-zA-Z]+(_|.))*|(_|.))"
|
|
},
|
|
"SlotTypeMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"name":{"shape":"SlotTypeName"},
|
|
"description":{"shape":"Description"},
|
|
"lastUpdatedDate":{"shape":"Timestamp"},
|
|
"createdDate":{"shape":"Timestamp"},
|
|
"version":{"shape":"Version"}
|
|
}
|
|
},
|
|
"SlotTypeMetadataList":{
|
|
"type":"list",
|
|
"member":{"shape":"SlotTypeMetadata"}
|
|
},
|
|
"SlotTypeName":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z]+((_[a-zA-Z]+)*|([a-zA-Z]+_)*|_)"
|
|
},
|
|
"SlotUtteranceList":{
|
|
"type":"list",
|
|
"member":{"shape":"Utterance"},
|
|
"max":10,
|
|
"min":0
|
|
},
|
|
"SlotValueSelectionStrategy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"ORIGINAL_VALUE",
|
|
"TOP_RESOLUTION"
|
|
]
|
|
},
|
|
"Statement":{
|
|
"type":"structure",
|
|
"required":["messages"],
|
|
"members":{
|
|
"messages":{"shape":"MessageList"},
|
|
"responseCard":{"shape":"ResponseCard"}
|
|
}
|
|
},
|
|
"Status":{
|
|
"type":"string",
|
|
"enum":[
|
|
"BUILDING",
|
|
"READY",
|
|
"FAILED",
|
|
"NOT_BUILT"
|
|
]
|
|
},
|
|
"StatusType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"Detected",
|
|
"Missed"
|
|
]
|
|
},
|
|
"String":{"type":"string"},
|
|
"SynonymList":{
|
|
"type":"list",
|
|
"member":{"shape":"Value"}
|
|
},
|
|
"Timestamp":{"type":"timestamp"},
|
|
"UserId":{
|
|
"type":"string",
|
|
"max":100,
|
|
"min":2
|
|
},
|
|
"Utterance":{
|
|
"type":"string",
|
|
"max":200,
|
|
"min":1
|
|
},
|
|
"UtteranceData":{
|
|
"type":"structure",
|
|
"members":{
|
|
"utteranceString":{"shape":"UtteranceString"},
|
|
"count":{"shape":"Count"},
|
|
"distinctUsers":{"shape":"Count"},
|
|
"firstUtteredDate":{"shape":"Timestamp"},
|
|
"lastUtteredDate":{"shape":"Timestamp"}
|
|
}
|
|
},
|
|
"UtteranceList":{
|
|
"type":"structure",
|
|
"members":{
|
|
"botVersion":{"shape":"Version"},
|
|
"utterances":{"shape":"ListOfUtterance"}
|
|
}
|
|
},
|
|
"UtteranceString":{
|
|
"type":"string",
|
|
"max":2000,
|
|
"min":1
|
|
},
|
|
"Value":{
|
|
"type":"string",
|
|
"max":140,
|
|
"min":1
|
|
},
|
|
"Version":{
|
|
"type":"string",
|
|
"max":64,
|
|
"min":1,
|
|
"pattern":"\\$LATEST|[0-9]+"
|
|
}
|
|
}
|
|
}
|