ConfigService / Client / exceptions / MaxNumberOfConfigRulesExceededException

MaxNumberOfConfigRulesExceededException#

class ConfigService.Client.exceptions.MaxNumberOfConfigRulesExceededException#

Failed to add the Config rule because the account already contains the maximum number of 1000 rules. Consider deleting any deactivated rules before you add new rules.

Example

try:
  ...
except client.exceptions.MaxNumberOfConfigRulesExceededException 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) –

    Failed to add the Config rule because the account already contains the maximum number of 1000 rules. Consider deleting any deactivated rules before you add new rules.

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