CodeDeploy / Client / exceptions / InvalidTargetInstancesException

InvalidTargetInstancesException#

class CodeDeploy.Client.exceptions.InvalidTargetInstancesException#

The target instance configuration is invalid. Possible causes include:

  • Configuration data for target instances was entered for an in-place deployment.

  • The limit of 10 tags for a tag type was exceeded.

  • The combined length of the tag names exceeded the limit.

  • A specified tag is not currently applied to any instances.

Example

try:
  ...
except client.exceptions.InvalidTargetInstancesException 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 target instance configuration is invalid. Possible causes include:

    • Configuration data for target instances was entered for an in-place deployment.

    • The limit of 10 tags for a tag type was exceeded.

    • The combined length of the tag names exceeded the limit.

    • A specified tag is not currently applied to any instances.

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