Module Values.MetricsSource

A container that specifies replication metrics-related settings.

Sourcetype nonrec t = {
  1. status : MetricsStatus.t;
    (*

    Specifies whether replication metrics are enabled.

    *)
  2. eventThreshold : ReplicationTimeValue.t option;
    (*

    A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. This is not supported by Amazon S3 on Outposts buckets.

    *)
}
Sourceval context_ : string
Sourceval make : ?eventThreshold:??? -> status:MetricsStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of Minutes.t ]) list ]) 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