Module Values.CreditDetailsSource

Contains information about credit-based benefit fulfillment, including AWS promotional credits.

Sourcetype nonrec t = {
  1. allocatedAmount : MonetaryValue.t option;
    (*

    The total amount of credits that have been allocated for this benefit.

    *)
  2. issuedAmount : MonetaryValue.t option;
    (*

    The amount of credits that have actually been issued and are available for use.

    *)
  3. codes : CreditCodes.t option;
    (*

    A list of credit codes that have been generated for this benefit allocation.

    *)
}
Sourceval make : ?allocatedAmount:??? -> ?issuedAmount:??? -> ?codes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `Structure of (string * [> `Enum of string | `String of String_.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