Module Values.CreateUsageLimitMessageSource

Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.

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

    The identifier of the cluster that you want to limit usage.

    *)
  2. featureType : UsageLimitFeatureType.t;
    (*

    The Amazon Redshift feature that you want to limit.

    *)
  3. limitType : UsageLimitLimitType.t;
    (*

    The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. If FeatureType is extra-compute-for-automatic-optimization, then LimitType must be time.

    *)
  4. amount : Long.t;
    (*

    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.

    *)
  5. period : UsageLimitPeriod.t option;
    (*

    The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

    *)
  6. breachAction : UsageLimitBreachAction.t option;
    (*

    The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

    *)
  7. tags : TagList.t option;
    (*

    A list of tag instances.

    *)
}
Sourceval context_ : string
Sourceval make : ?period:??? -> ?breachAction:??? -> ?tags:??? -> clusterIdentifier:String_.t -> featureType:UsageLimitFeatureType.t -> limitType:UsageLimitLimitType.t -> amount:Long.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `Long of Long.t | `String of String_.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