DataExchange / Client / exceptions / ServiceLimitExceededException

ServiceLimitExceededException#

class DataExchange.Client.exceptions.ServiceLimitExceededException#

The request has exceeded the quotas imposed by the service.

Example

try:
  ...
except client.exceptions.ServiceLimitExceededException 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

{
    'LimitName': 'Products per account'|'Data sets per account'|'Data sets per product'|'Revisions per data set'|'Assets per revision'|'Assets per import job from Amazon S3'|'Asset per export job from Amazon S3'|'Asset size in GB'|'Concurrent in progress jobs to export assets to Amazon S3'|'Concurrent in progress jobs to export assets to a signed URL'|'Concurrent in progress jobs to import assets from Amazon S3'|'Concurrent in progress jobs to import assets from a signed URL'|'Concurrent in progress jobs to export revisions to Amazon S3'|'Event actions per account'|'Auto export event actions per data set'|'Amazon Redshift datashare assets per import job from Redshift'|'Concurrent in progress jobs to import assets from Amazon Redshift datashares'|'Revisions per Amazon Redshift datashare data set'|'Amazon Redshift datashare assets per revision'|'Concurrent in progress jobs to import assets from an API Gateway API'|'Amazon API Gateway API assets per revision'|'Revisions per Amazon API Gateway API data set'|'Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy'|'AWS Lake Formation data permission assets per revision'|'Revisions per AWS Lake Formation data permission data set'|'Revisions per Amazon S3 data access data set'|'Amazon S3 data access assets per revision'|'Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets'|'Active and pending data grants'|'Pending data grants per consumer',
    'LimitValue': 123.0,
    'Message': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request has exceeded the quotas imposed by the service.

    • LimitName (string) –

      The name of the limit that was reached.

    • LimitValue (float) –

      The value of the exceeded limit.

    • Message (string) –

      The request has exceeded the quotas imposed by the service.

    • 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.