CodeCommit / Client / exceptions / ApprovalRuleTemplateNameAlreadyExistsException

ApprovalRuleTemplateNameAlreadyExistsException#

class CodeCommit.Client.exceptions.ApprovalRuleTemplateNameAlreadyExistsException#

You cannot create an approval rule template with that name because a template with that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template names must be unique.

Example

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

    You cannot create an approval rule template with that name because a template with that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template names must be unique.

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