Module Values.ReservationSource

Reserved resources available to use

Sourcetype nonrec t = {
  1. arn : string option;
    (*

    Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'

    *)
  2. count : int option;
    (*

    Number of reserved resources

    *)
  3. currencyCode : string option;
    (*

    Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'

    *)
  4. duration : int option;
    (*

    Lease duration, e.g. '12'

    *)
  5. durationUnits : OfferingDurationUnits.t option;
    (*

    Units for duration, e.g. 'MONTHS'

    *)
  6. end_ : string option;
    (*

    Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'

    *)
  7. fixedPrice : float option;
    (*

    One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering

    *)
  8. name : string option;
    (*

    User specified reservation name

    *)
  9. offeringDescription : string option;
    (*

    Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'

    *)
  10. offeringId : string option;
    (*

    Unique offering ID, e.g. '87654321'

    *)
  11. offeringType : OfferingType.t option;
    (*

    Offering type, e.g. 'NO_UPFRONT'

    *)
  12. region : string option;
    (*

    AWS region, e.g. 'us-west-2'

    *)
  13. renewalSettings : RenewalSettings.t option;
    (*

    Renewal settings for the reservation

    *)
  14. reservationId : string option;
    (*

    Unique reservation ID, e.g. '1234567'

    *)
  15. resourceSpecification : ReservationResourceSpecification.t option;
    (*

    Resource configuration details

    *)
  16. start : string option;
    (*

    Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'

    *)
  17. state : ReservationState.t option;
    (*

    Current state of reservation, e.g. 'ACTIVE'

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

    A collection of key-value pairs

    *)
  19. usagePrice : float option;
    (*

    Recurring usage charge for each reserved resource, e.g. '157.0'

    *)
}
Sourceval make : ?arn:??? -> ?count:??? -> ?currencyCode:??? -> ?duration:??? -> ?durationUnits:??? -> ?end_:??? -> ?fixedPrice:??? -> ?name:??? -> ?offeringDescription:??? -> ?offeringId:??? -> ?offeringType:??? -> ?region:??? -> ?renewalSettings:??? -> ?reservationId:??? -> ?resourceSpecification:??? -> ?start:??? -> ?state:??? -> ?tags:??? -> ?usagePrice:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Enum of string | `Integer of int ]) 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