Module Values.SavingsPlanSource

Information about a Savings Plan.

Sourcetype nonrec t = {
  1. offeringId : SavingsPlanOfferingId.t option;
    (*

    The ID of the offering.

    *)
  2. savingsPlanId : SavingsPlanId.t option;
    (*

    The ID of the Savings Plan.

    *)
  3. savingsPlanArn : SavingsPlanArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Savings Plan.

    *)
  4. description : String_.t option;
    (*

    The description.

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

    The start time.

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

    The end time.

    *)
  7. state : SavingsPlanState.t option;
    (*

    The current state.

    *)
  8. region : Region.t option;
    (*

    The Amazon Web Services Region.

    *)
  9. ec2InstanceFamily : EC2InstanceFamily.t option;
    (*

    The EC2 instance family.

    *)
  10. savingsPlanType : SavingsPlanType.t option;
    (*

    The plan type.

    *)
  11. paymentOption : SavingsPlanPaymentOption.t option;
    (*

    The payment option.

    *)
  12. productTypes : SavingsPlanProductTypeList.t option;
    (*

    The product types.

    *)
  13. currency : CurrencyCode.t option;
    (*

    The currency.

    *)
  14. commitment : Amount.t option;
    (*

    The hourly commitment amount in the specified currency.

    *)
  15. upfrontPaymentAmount : Amount.t option;
    (*

    The up-front payment amount.

    *)
  16. recurringPaymentAmount : Amount.t option;
    (*

    The recurring payment amount.

    *)
  17. termDurationInSeconds : TermDurationInSeconds.t option;
    (*

    The duration of the term, in seconds.

    *)
  18. tags : TagMap.t option;
    (*

    One or more tags.

    *)
  19. returnableUntil : String_.t option;
    (*

    The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plans start time.

    *)
}
Sourceval make : ?offeringId:??? -> ?savingsPlanId:??? -> ?savingsPlanArn:??? -> ?description:??? -> ?start:??? -> ?end_:??? -> ?state:??? -> ?region:??? -> ?ec2InstanceFamily:??? -> ?savingsPlanType:??? -> ?paymentOption:??? -> ?productTypes:??? -> ?currency:??? -> ?commitment:??? -> ?upfrontPaymentAmount:??? -> ?recurringPaymentAmount:??? -> ?termDurationInSeconds:??? -> ?tags:??? -> ?returnableUntil:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `Long of TermDurationInSeconds.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of SavingsPlanOfferingId.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