CloudFormation / Client / exceptions / ResourceScanLimitExceededException

ResourceScanLimitExceededException#

class CloudFormation.Client.exceptions.ResourceScanLimitExceededException#

The limit on resource scans has been exceeded. Reasons include:

  • Exceeded the daily quota for resource scans.

  • A resource scan recently failed. You must wait 10 minutes before starting a new resource scan.

  • The last resource scan failed after exceeding 100,000 resources. When this happens, you must wait 24 hours before starting a new resource scan.

Example

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

{}

Structure

  • (dict) –

    The limit on resource scans has been exceeded. Reasons include:

    • Exceeded the daily quota for resource scans.

    • A resource scan recently failed. You must wait 10 minutes before starting a new resource scan.

    • The last resource scan failed after exceeding 100,000 resources. When this happens, you must wait 24 hours before starting a new resource scan.

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