Textract / Client / delete_adapter_version

delete_adapter_version#

Textract.Client.delete_adapter_version(**kwargs)#

Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.

See also: AWS API Documentation

Request Syntax

response = client.delete_adapter_version(
    AdapterId='string',
    AdapterVersion='string'
)
Parameters:
  • AdapterId (string) –

    [REQUIRED]

    A string containing a unique ID for the adapter version that will be deleted.

  • AdapterVersion (string) –

    [REQUIRED]

    Specifies the adapter version to be deleted.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Textract.Client.exceptions.InvalidParameterException

  • Textract.Client.exceptions.AccessDeniedException

  • Textract.Client.exceptions.ConflictException

  • Textract.Client.exceptions.ProvisionedThroughputExceededException

  • Textract.Client.exceptions.InternalServerError

  • Textract.Client.exceptions.ThrottlingException

  • Textract.Client.exceptions.ValidationException

  • Textract.Client.exceptions.ResourceNotFoundException