Module Values_1.DescribeFleetMetricResponseSource

Gets information about the specified fleet metric. Requires permission to access the DescribeFleetMetric action.

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

    The name of the fleet metric to describe.

    *)
  2. queryString : Values_0.QueryString.t option;
    (*

    The search query string.

    *)
  3. aggregationType : Values_0.AggregationType.t option;
    (*

    The type of the aggregation query.

    *)
  4. period : Values_0.FleetMetricPeriod.t option;
    (*

    The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

    *)
  5. aggregationField : Values_0.AggregationField.t option;
    (*

    The field to aggregate.

    *)
  6. description : Values_0.FleetMetricDescription.t option;
    (*

    The fleet metric description.

    *)
  7. queryVersion : Values_0.QueryVersion.t option;
    (*

    The query version.

    *)
  8. indexName : Values_0.IndexName.t option;
    (*

    The name of the index to search.

    *)
  9. creationDate : Values_0.CreationDate.t option;
    (*

    The date when the fleet metric is created.

    *)
  10. lastModifiedDate : Values_0.LastModifiedDate.t option;
    (*

    The date when the fleet metric is last modified.

    *)
  11. unit : Values_0.FleetMetricUnit.t option;
    (*

    Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.

    *)
  12. version : Values_0.Version.t option;
    (*

    The version of the fleet metric.

    *)
  13. metricArn : Values_0.FleetMetricArn.t option;
    (*

    The ARN of the fleet metric to describe.

    *)
}
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. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `UnauthorizedException of Values_0.UnauthorizedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?metricName:??? -> ?queryString:??? -> ?aggregationType:??? -> ?period:??? -> ?aggregationField:??? -> ?description:??? -> ?queryVersion:??? -> ?indexName:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?unit:??? -> ?version:??? -> ?metricArn:??? -> 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 | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.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 | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.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 | `Integer of Values_0.FleetMetricPeriod.t | `Long of Values_0.Version.t | `String of Values_0.FleetMetricName.t | `Structure of (string * [> `Enum of string | `List of [> `String of string ] list ]) list | `Timestamp of Values_0.CreationDate.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