CodeCommit / Client / exceptions / InvalidRepositoryTriggerDestinationArnException

InvalidRepositoryTriggerDestinationArnException#

class CodeCommit.Client.exceptions.InvalidRepositoryTriggerDestinationArnException#

The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

Example

try:
  ...
except client.exceptions.InvalidRepositoryTriggerDestinationArnException 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 Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

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