CodeCommit / Client / exceptions / InvalidApprovalRuleTemplateDescriptionException

InvalidApprovalRuleTemplateDescriptionException#

class CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateDescriptionException#

The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide.

Example

try:
  ...
except client.exceptions.InvalidApprovalRuleTemplateDescriptionException 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 description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide.

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