Skip to content

UpdateCustomMetricRequest

Source code in docs_src/capo_iot/types/update_custom_metric_request.py
class UpdateCustomMetricRequest(TypedDict, closed=True):
    metric_name: "capo_iot.types.metric_name.MetricName"
    """<p> The name of the custom metric. Cannot be updated. </p>"""
    display_name: "capo_iot.types.custom_metric_display_name.CustomMetricDisplayName"
    """<p> Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated. </p>"""

display_name instance-attribute

Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.

metric_name instance-attribute

metric_name: MetricName

The name of the custom metric. Cannot be updated.