Module Values.CreateSpendingLimitRequestSource

Creates a spending limit for a specified quantum device. Spending limits help you control costs by setting maximum amounts that can be spent on quantum computing tasks within a specified time period. Simulators do not support spending limits.

Sourcetype nonrec t = {
  1. clientToken : String64.t;
    (*

    A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.

    *)
  2. deviceArn : DeviceArn.t;
    (*

    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.

    *)
  3. spendingLimit : CreateSpendingLimitRequestSpendingLimitString.t;
    (*

    The maximum amount that can be spent on the specified device, in USD.

    *)
  4. timePeriod : TimePeriod.t option;
    (*

    The time period during which the spending limit is active, including start and end dates.

    *)
  5. tags : TagsMap.t option;
    (*

    The tags to apply to the spending limit. Each tag consists of a key and an optional value.

    *)
}
Sourceval context_ : string
Sourceval make : ?timePeriod:??? -> ?tags:??? -> clientToken:String64.t -> deviceArn:DeviceArn.t -> spendingLimit:CreateSpendingLimitRequestSpendingLimitString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String64.t | `Structure of (string * [> `Timestamp of SyntheticTimestamp_epoch_seconds.t ]) 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