LexModelsV2.Client.
create_upload_url
()¶Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
See also: AWS API Documentation
Request Syntax
response = client.create_upload_url()
{
'importId': 'string',
'uploadUrl': 'string'
}
Response Structure
An identifier for a unique import job. Use it when you call the StartImport operation.
A pre-signed S3 write URL. Upload the zip archive file that contains the definition of your bot or bot locale.
Exceptions
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ValidationException
LexModelsV2.Client.exceptions.ResourceNotFoundException
LexModelsV2.Client.exceptions.ConflictException
LexModelsV2.Client.exceptions.InternalServerException