Module Values.CreditCodeSource

Represents an AWS credit code that can be applied to an AWS account for billing purposes.

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

    The AWS account ID that the credit code is associated with or can be applied to.

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

    The monetary value of the credit code.

    *)
  3. awsCreditCode : String_.t option;
    (*

    The actual credit code string that can be redeemed in the AWS billing console.

    *)
  4. status : BenefitAllocationStatus.t option;
    (*

    The current status of the credit code (e.g., active, redeemed, expired).

    *)
  5. issuedAt : Timestamp.t option;
    (*

    The timestamp when the credit code was issued.

    *)
  6. expiresAt : Timestamp.t option;
    (*

    The timestamp when the credit code expires and can no longer be redeemed.

    *)
}
Sourceval make : ?awsAccountId:??? -> ?value:??? -> ?awsCreditCode:??? -> ?status:??? -> ?issuedAt:??? -> ?expiresAt:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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