Module Values_1.DescribeCustomMetricResponseSource

Gets information about a Device Defender detect custom metric. Requires permission to access the DescribeCustomMetric action.

Sourcetype nonrec t = {
  1. metricName : Values_0.MetricName.t option;
    (*

    The name of the custom metric.

    *)
  2. metricArn : Values_0.CustomMetricArn.t option;
    (*

    The Amazon Resource Number (ARN) of the custom metric.

    *)
  3. 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.

    *)
  4. 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.

    *)
  5. creationDate : Values_0.Timestamp.t option;
    (*

    The creation date of the custom metric in milliseconds since epoch.

    *)
  6. lastModifiedDate : Values_0.Timestamp.t option;
    (*

    The time the custom metric was last modified in milliseconds since epoch.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?metricName:??? -> ?metricArn:??? -> ?metricType:??? -> ?displayName:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.MetricName.t | `Timestamp of Values_0.Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t