Module Values.CreateMonitoringSubscriptionResultSource

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. monitoringSubscription : MonitoringSubscription.t option;
    (*

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

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `MonitoringSubscriptionAlreadyExists of MonitoringSubscriptionAlreadyExists.t
  3. | `NoSuchDistribution of NoSuchDistribution.t
  4. | `UnsupportedOperation of UnsupportedOperation.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?monitoringSubscription:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `MonitoringSubscriptionAlreadyExists of MonitoringSubscriptionAlreadyExists.t | `NoSuchDistribution of NoSuchDistribution.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `MonitoringSubscriptionAlreadyExists of MonitoringSubscriptionAlreadyExists.t | `NoSuchDistribution of NoSuchDistribution.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * MonitoringSubscription.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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