Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_upload_url

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