Textract / Client / exceptions / HumanLoopQuotaExceededException

HumanLoopQuotaExceededException#

class Textract.Client.exceptions.HumanLoopQuotaExceededException#

Indicates you have exceeded the maximum number of active human in the loop workflows available

Example

try:
  ...
except client.exceptions.HumanLoopQuotaExceededException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'ResourceType': 'string',
    'QuotaCode': 'string',
    'ServiceCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Indicates you have exceeded the maximum number of active human in the loop workflows available

    • ResourceType (string) –

      The resource type.

    • QuotaCode (string) –

      The quota code.

    • ServiceCode (string) –

      The service code.

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.