LexModelsV2 / Client / create_upload_url
create_upload_url#
- 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() - Return type:
- dict 
- Returns:
- Response Syntax- { 'importId': 'string', 'uploadUrl': 'string' } - Response Structure- (dict) – - importId (string) – - An identifier for a unique import job. Use it when you call the StartImport operation. 
- uploadUrl (string) – - 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