createCustomMetric
inline suspend fun IotClient.createCustomMetric(crossinline block: CreateCustomMetricRequest.Builder.() -> Unit): CreateCustomMetricResponse
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.