Module Values_2.ReservedInstancesSource

Describes a Reserved Instance.

Sourcetype nonrec t = {
  1. currencyCode : Values_0.CurrencyCodeValues.t option;
    (*

    The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

    *)
  2. instanceTenancy : Values_0.Tenancy.t option;
    (*

    The tenancy of the instance.

    *)
  3. offeringClass : Values_1.OfferingClassType.t option;
    (*

    The offering class of the Reserved Instance.

    *)
  4. offeringType : Values_1.OfferingTypeValues.t option;
    (*

    The Reserved Instance offering type.

    *)
  5. recurringCharges : Values_1.RecurringChargesList.t option;
    (*

    The recurring charge tag assigned to the resource.

    *)
  6. scope : Values_0.Scope.t option;
    (*

    The scope of the Reserved Instance.

    *)
  7. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the resource.

    *)
  8. availabilityZoneId : Values_0.String_.t option;
    (*

    The ID of the Availability Zone.

    *)
  9. reservedInstancesId : Values_0.String_.t option;
    (*

    The ID of the Reserved Instance.

    *)
  10. instanceType : Values_0.InstanceType.t option;
    (*

    The instance type on which the Reserved Instance can be used.

    *)
  11. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone in which the Reserved Instance can be used.

    *)
  12. start : Values_0.DateTime.t option;
    (*

    The date and time the Reserved Instance started.

    *)
  13. end_ : Values_0.DateTime.t option;
    (*

    The time when the Reserved Instance expires.

    *)
  14. duration : Values_0.Long.t option;
    (*

    The duration of the Reserved Instance, in seconds.

    *)
  15. usagePrice : Values_0.Float_.t option;
    (*

    The usage price of the Reserved Instance, per hour.

    *)
  16. fixedPrice : Values_0.Float_.t option;
    (*

    The purchase price of the Reserved Instance.

    *)
  17. instanceCount : Values_0.Integer.t option;
    (*

    The number of reservations purchased.

    *)
  18. productDescription : Values_1.RIProductDescription.t option;
    (*

    The Reserved Instance product platform description.

    *)
  19. state : Values_1.ReservedInstanceState.t option;
    (*

    The state of the Reserved Instance purchase.

    *)
}
Sourceval make : ?currencyCode:??? -> ?instanceTenancy:??? -> ?offeringClass:??? -> ?offeringType:??? -> ?recurringCharges:??? -> ?scope:??? -> ?tags:??? -> ?availabilityZoneId:??? -> ?reservedInstancesId:??? -> ?instanceType:??? -> ?availabilityZone:??? -> ?start:??? -> ?end_:??? -> ?duration:??? -> ?usagePrice:??? -> ?fixedPrice:??? -> ?instanceCount:??? -> ?productDescription:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Values_0.Float_.t | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Double of Values_0.Double.t | `Enum of string | `String of string ]) list ] list | `Long of Values_0.Long.t | `String of Values_0.String_.t | `Timestamp of Values_0.DateTime.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