Skip to content

MetricDataError

Source code in docs_src/capo_sesv2/types/metric_data_error.py
class MetricDataError(TypedDict, closed=True):
    id: NotRequired["capo_sesv2.types.query_identifier.QueryIdentifier"]
    """<p>The query identifier.</p>"""
    code: NotRequired["capo_sesv2.types.query_error_code.QueryErrorCode"]
    """<p>The query error code. Can be one of:</p> <ul> <li> <p> <code>INTERNAL_FAILURE</code> – Amazon SES has failed to process one of the queries.</p> </li> <li> <p> <code>ACCESS_DENIED</code> – You have insufficient access to retrieve metrics based on the given query.</p> </li> </ul>"""
    message: NotRequired["capo_sesv2.types.query_error_message.QueryErrorMessage"]
    """<p>The error message associated with the current query error.</p>"""

code instance-attribute

code: NotRequired[QueryErrorCode]

The query error code. Can be one of:

  • INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.

  • ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

id instance-attribute

id: NotRequired[QueryIdentifier]

The query identifier.

message instance-attribute

message: NotRequired[QueryErrorMessage]

The error message associated with the current query error.