Skip to content

MetricQuery

Source code in docs_src/capo_sagemaker_metrics/types/metric_query.py
class MetricQuery(TypedDict, closed=True):
    metric_name: NotRequired["capo_sagemaker_metrics.types.metric_name.MetricName"]
    """<p>The name of the metric to retrieve.</p>"""
    resource_arn: NotRequired[
        "capo_sagemaker_metrics.types.sage_maker_resource_arn.SageMakerResourceArn"
    ]
    """<p>The ARN of the SageMaker resource to retrieve metrics for.</p>"""
    metric_stat: NotRequired[
        "capo_sagemaker_metrics.types.metric_statistic.MetricStatistic"
    ]
    """<p>The metrics stat type of metrics to retrieve.</p>"""
    period: NotRequired["capo_sagemaker_metrics.types.period.Period"]
    """<p>The time period of metrics to retrieve.</p>"""
    x_axis_type: NotRequired["capo_sagemaker_metrics.types.x_axis_type.XAxisType"]
    """<p>The x-axis type of metrics to retrieve.</p>"""
    start: NotRequired["capo_sagemaker_metrics.types.long.Long"]
    """<p>The start time of metrics to retrieve.</p>"""
    end: NotRequired["capo_sagemaker_metrics.types.long.Long"]
    """<p>The end time of metrics to retrieve.</p>"""

end instance-attribute

end: NotRequired[Long]

The end time of metrics to retrieve.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the metric to retrieve.

metric_stat instance-attribute

metric_stat: NotRequired[MetricStatistic]

The metrics stat type of metrics to retrieve.

period instance-attribute

period: NotRequired[Period]

The time period of metrics to retrieve.

resource_arn instance-attribute

resource_arn: NotRequired[SageMakerResourceArn]

The ARN of the SageMaker resource to retrieve metrics for.

start instance-attribute

start: NotRequired[Long]

The start time of metrics to retrieve.

x_axis_type instance-attribute

x_axis_type: NotRequired[XAxisType]

The x-axis type of metrics to retrieve.