Module Values.CreateMonitoringSubscriptionRequestSource

Enables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost. For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.

Sourcetype nonrec t = {
  1. distributionId : String_.t;
    (*

    The ID of the distribution that you are enabling metrics for.

    *)
  2. monitoringSubscription : MonitoringSubscription.t;
    (*

    A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

    *)
}
Sourceval context_ : string
Sourceval make : distributionId:String_.t -> monitoringSubscription:MonitoringSubscription.t -> unit -> t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * MonitoringSubscription.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Structure of (string * [> `Enum of string ]) list ]) 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