Skip to content

CreateCustomMetricResponse

Source code in docs_src/capo_iot/types/create_custom_metric_response.py
class CreateCustomMetricResponse(TypedDict, closed=True):
    metric_name: NotRequired["capo_iot.types.metric_name.MetricName"]
    """<p> The name of the custom metric to be used in the metric report. </p>"""
    metric_arn: NotRequired["capo_iot.types.custom_metric_arn.CustomMetricArn"]
    """<p> The Amazon Resource Number (ARN) of the custom metric. For example, <code>arn:<i>aws-partition</i>:iot:<i>region</i>:<i>accountId</i>:custommetric/<i>metricName</i> </code> </p>"""

metric_arn instance-attribute

metric_arn: NotRequired[CustomMetricArn]

The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the custom metric to be used in the metric report.