Skip to content

BatchPutMetricsError

Source code in docs_src/capo_sagemaker_metrics/types/batch_put_metrics_error.py
class BatchPutMetricsError(TypedDict, closed=True):
    code: NotRequired[
        "capo_sagemaker_metrics.types.put_metrics_error_code.PutMetricsErrorCode"
    ]
    """<p>The error code of an error that occured when attempting to put metrics.</p> <ul> <li> <p> <code>METRIC_LIMIT_EXCEEDED</code>: The maximum amount of metrics per resource is exceeded.</p> </li> <li> <p> <code>INTERNAL_ERROR</code>: An internal error occured.</p> </li> <li> <p> <code>VALIDATION_ERROR</code>: The metric data failed validation.</p> </li> <li> <p> <code>CONFLICT_ERROR</code>: Multiple requests attempted to modify the same data simultaneously.</p> </li> </ul>"""
    metric_index: NotRequired["capo_sagemaker_metrics.types.integer.Integer"]
    """<p>An index that corresponds to the metric in the request.</p>"""

code instance-attribute

code: NotRequired[PutMetricsErrorCode]

The error code of an error that occured when attempting to put metrics.

  • METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.

  • INTERNAL_ERROR: An internal error occured.

  • VALIDATION_ERROR: The metric data failed validation.

  • CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.

metric_index instance-attribute

metric_index: NotRequired[Integer]

An index that corresponds to the metric in the request.