Values_0.UpdateCustomMetricResponseSourceUpdates a Device Defender detect custom metric. Requires permission to access the UpdateCustomMetric action.
type nonrec t = {metricName : MetricName.t option;The name of the custom metric.
*)metricArn : CustomMetricArn.t option;The Amazon Resource Number (ARN) of the custom metric.
*)metricType : 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 : CustomMetricDisplayName.t option;A friendly name in the console for the custom metric
*)creationDate : Timestamp.t option;The creation date of the custom metric in milliseconds since epoch.
*)lastModifiedDate : Timestamp.t option;The time the custom metric was last modified in milliseconds since epoch.
*)}type nonrec error = [ | `InternalFailureException of InternalFailureException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of MetricName.t
| `Timestamp of Timestamp.t ])
list ]