Module Values.CreateUsageLimitRequestSource

Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.

Sourcetype nonrec t = {
  1. amount : Long.t;
    (*

    The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

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

    The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.

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

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

    *)
  4. resourceArn : String_.t;
    (*

    The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

    *)
  5. usageType : UsageLimitUsageType.t;
    (*

    The type of Amazon Redshift Serverless usage to create a usage limit for.

    *)
}
Sourceval context_ : string
Sourceval make : ?breachAction:??? -> ?period:??? -> amount:Long.t -> resourceArn:String_.t -> usageType:UsageLimitUsageType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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