Skip to content

ModelMonitorSampling

Source code in docs_src/capo_sagemaker/types/model_monitor_sampling.py
class ModelMonitorSampling(TypedDict, closed=True):
    sampling_percentage: NotRequired[
        "capo_sagemaker.types.model_monitor_sampling_percentage.ModelMonitorSamplingPercentage"
    ]
    """<p>The percentage of traces to sample. Valid values are from 0.01 to 100.</p>"""
    max_records: NotRequired[
        "capo_sagemaker.types.model_monitor_sampling_max_records.ModelMonitorSamplingMaxRecords"
    ]
    """<p>The maximum number of records to sample. Valid values are from 1 to 5000.</p>"""

max_records instance-attribute

max_records: NotRequired[ModelMonitorSamplingMaxRecords]

The maximum number of records to sample. Valid values are from 1 to 5000.

sampling_percentage instance-attribute

sampling_percentage: NotRequired[ModelMonitorSamplingPercentage]

The percentage of traces to sample. Valid values are from 0.01 to 100.