Textract / Client / create_blueprint_version

create_blueprint_version

Textract.Client.create_blueprint_version(**kwargs)

Creates a new, immutable version of an existing blueprint so that projects can pin to a specific version.

See also: AWS API Documentation

Request Syntax

response = client.create_blueprint_version(
    BlueprintArn='string',
    ClientRequestToken='string'
)
Parameters:
  • BlueprintArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the blueprint to create a new version of.

  • ClientRequestToken (string) –

    A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you use the same token for a request that matches a previous request, the service ignores the request, but does not return an error.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'BlueprintArn': 'string',
    'BlueprintVersion': 'string'
}

Response Structure

  • (dict) –

    • BlueprintArn (string) –

      The Amazon Resource Name (ARN) of the blueprint.

    • BlueprintVersion (string) –

      The version of the blueprint that was created.

Exceptions

  • Textract.Client.exceptions.ResourceNotFoundException

  • Textract.Client.exceptions.InvalidParameterException

  • Textract.Client.exceptions.ValidationException

  • Textract.Client.exceptions.ConflictException

  • Textract.Client.exceptions.AccessDeniedException

  • Textract.Client.exceptions.LimitExceededException

  • Textract.Client.exceptions.ProvisionedThroughputExceededException

  • Textract.Client.exceptions.InternalServerError