openapi: 3.2.0 info: title: Amazon Lex Model Building V2 Createuploadurl API description: Amazon Lex V2 Model Building operations let you build and manage conversational bots — bots, aliases, locales, intents, slots, slot types, custom vocabularies, imports/exports, test sets and analytics. Derived mechanically from the AWS-published Smithy 2.0 service model (aws/api-models-aws, models/lex-models-v2/service/2020-08-07). Requests are signed with AWS Signature Version 4 using service name lex. version: '2020-08-07' contact: name: AWS Support url: https://aws.amazon.com/premiumsupport/ license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html x-generated-from: AWS Smithy 2.0 service model (https://github.com/aws/api-models-aws) — mechanical transform, no hand-authored operations servers: - url: https://models-v2-lex.us-east-1.amazonaws.com description: Amazon Lex V2 Model Building endpoint (us-east-1; one regional endpoint per AWS Region — see https://docs.aws.amazon.com/general/latest/gr/lex.html) security: - sigv4: [] tags: - name: createuploadurl paths: /createuploadurl: post: operationId: CreateUploadUrl summary: Gets a pre-signed S3 write URL that you use to upload the zip archive when… description: Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale. tags: - createuploadurl responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateUploadUrlResponse' '400': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '404': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '409': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' '429': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' '500': description: InternalServerException content: application/json: schema: $ref: '#/components/schemas/InternalServerException' components: schemas: InternalServerException: type: object description: The service encountered an unexpected condition. Try your request again. properties: message: type: string ResourceNotFoundException: type: object description: You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again. properties: message: type: string ConflictException: type: object description: The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again. properties: message: type: string ThrottlingException: type: object description: Your request rate is too high. Reduce the frequency of requests. properties: retryAfterSeconds: type: integer description: The number of seconds after which the user can invoke the API again. message: type: string CreateUploadUrlResponse: type: object properties: importId: type: string minLength: 10 maxLength: 10 pattern: ^[0-9a-zA-Z]+$ description: An identifier for a unique import job. Use it when you call the StartImport operation. uploadUrl: type: string minLength: 1 maxLength: 1024 description: A pre-signed S3 write URL. Upload the zip archive file that contains the definition of your bot or bot locale. ValidationException: type: object description: One of the input parameters in your request isn't valid. Check the parameters and try your request again. properties: message: type: string securitySchemes: sigv4: type: apiKey name: Authorization in: header x-amazon-apigateway-authtype: awsSigv4 description: AWS Signature Version 4. Sign requests with SigV4 using service name `lex` and the calling region.