Module Values.UsageLimitSource

The usage limit object.

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

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

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

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

    *)
  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 option;
    (*

    The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

    *)
  5. usageLimitArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the resource associated with the usage limit.

    *)
  6. usageLimitId : String_.t option;
    (*

    The identifier of the usage limit.

    *)
  7. usageType : UsageLimitUsageType.t option;
    (*

    The Amazon Redshift Serverless feature to limit.

    *)
}
Sourceval make : ?amount:??? -> ?breachAction:??? -> ?period:??? -> ?resourceArn:??? -> ?usageLimitArn:??? -> ?usageLimitId:??? -> ?usageType:??? -> 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