Module Values_2.ReservedInstancesOfferingSource

Describes a Reserved Instance offering.

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

    The currency of the Reserved Instance offering you are purchasing. 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. marketplace : Values_0.Boolean.t option;
    (*

    Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

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

    If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

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

    The Reserved Instance offering type.

    *)
  6. pricingDetails : Values_1.PricingDetailsList.t option;
    (*

    The pricing details of the Reserved Instance offering.

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

    The recurring charge tag assigned to the resource.

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

    Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

    *)
  9. availabilityZoneId : Values_0.AvailabilityZoneId.t option;
    (*

    The ID of the Availability Zone.

    *)
  10. reservedInstancesOfferingId : Values_0.String_.t option;
    (*

    The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

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

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

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

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

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

    The duration of the Reserved Instance, in seconds.

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

    The usage price of the Reserved Instance, per hour.

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

    The purchase price of the Reserved Instance.

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

    The Reserved Instance product platform description.

    *)
}
Sourceval make : ?currencyCode:??? -> ?instanceTenancy:??? -> ?marketplace:??? -> ?offeringClass:??? -> ?offeringType:??? -> ?pricingDetails:??? -> ?recurringCharges:??? -> ?scope:??? -> ?availabilityZoneId:??? -> ?reservedInstancesOfferingId:??? -> ?instanceType:??? -> ?availabilityZone:??? -> ?duration:??? -> ?usagePrice:??? -> ?fixedPrice:??? -> ?productDescription:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Float of Values_0.Float_.t | `List of [> `Structure of (string * [> `Double of Values_0.Double.t | `Enum of string | `Integer of Values_0.Integer.t ]) list ] list | `Long of Values_0.Long.t | `String of Values_0.AvailabilityZoneId.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