CloudWatch / Client / exceptions / DashboardInvalidInputError

DashboardInvalidInputError#

class CloudWatch.Client.exceptions.DashboardInvalidInputError#

Some part of the dashboard data is invalid.

Example

try:
  ...
except client.exceptions.DashboardInvalidInputError 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

{
    'message': 'string',
    'dashboardValidationMessages': [
        {
            'DataPath': 'string',
            'Message': 'string'
        },
    ],
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Some part of the dashboard data is invalid.

    • message (string) –

    • dashboardValidationMessages (list) –

      • (dict) –

        An error or warning for the operation.

        • DataPath (string) –

          The data path related to the message.

        • Message (string) –

          A message describing the error or warning.

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