Values_1.DescribeCustomMetricResponseSourceGets information about a Device Defender detect custom metric. Requires permission to access the DescribeCustomMetric action.
type nonrec t = {metricName : Values_0.MetricName.t option;The name of the custom metric.
*)metricArn : Values_0.CustomMetricArn.t option;The Amazon Resource Number (ARN) of the custom metric.
*)metricType : Values_0.CustomMetricType.t option;The type of the custom metric. The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.
*)displayName : Values_0.CustomMetricDisplayName.t option;Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
*)creationDate : Values_0.Timestamp.t option;The creation date of the custom metric in milliseconds since epoch.
*)lastModifiedDate : Values_0.Timestamp.t option;The time the custom metric was last modified in milliseconds since epoch.
*)}type nonrec error = [ | `InternalFailureException of Values_0.InternalFailureException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ResourceNotFoundException of Values_0.ResourceNotFoundException.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
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.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
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of Values_0.MetricName.t
| `Timestamp of Values_0.Timestamp.t ])
list ]