Values_1.CreateCustomMetricResponseSourceUse this API to define a Custom Metric published by your devices to Device Defender. Requires permission to access the CreateCustomMetric action.
type nonrec t = {metricName : Values_0.MetricName.t option;The name of the custom metric to be used in the metric report.
*)metricArn : Values_0.CustomMetricArn.t option;The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName
*)}type nonrec error = [ | `InternalFailureException of Values_0.InternalFailureException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `LimitExceededException of Values_0.LimitExceededException.t| `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t| `ThrottlingException of Values_0.ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalFailureException of Values_0.InternalFailureException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `LimitExceededException of Values_0.LimitExceededException.t
| `ResourceAlreadyExistsException of
Values_0.ResourceAlreadyExistsException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalFailureException of Values_0.InternalFailureException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `LimitExceededException of Values_0.LimitExceededException.t
| `ResourceAlreadyExistsException of
Values_0.ResourceAlreadyExistsException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]