Module Values_6.DescribeHostReservationOfferingsRequestSource

Describes the Dedicated Host reservations that are available to purchase. The results describe all of the Dedicated Host reservation offerings, including offerings that might not match the instance family and Region of your Dedicated Hosts. When purchasing an offering, ensure that the instance family and Region of the offering matches that of the Dedicated Hosts with which it is to be associated. For more information about supported instance types, see Dedicated Hosts in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. filter : Values_3.FilterList.t option;
    (*

    The filters. instance-family - The instance family of the offering (for example, m4). payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

    *)
  2. maxDuration : Values_0.Integer.t option;
    (*

    This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.

    *)
  3. maxResults : Values_3.DescribeHostReservationsMaxResults.t option;
    (*

    The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

    *)
  4. minDuration : Values_0.Integer.t option;
    (*

    This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.

    *)
  5. nextToken : Values_0.String_.t option;
    (*

    The token to use to retrieve the next page of results.

    *)
  6. offeringId : Values_1.OfferingId.t option;
    (*

    The ID of the reservation offering.

    *)
}
Sourceval make : ?filter:??? -> ?maxDuration:??? -> ?maxResults:??? -> ?minDuration:??? -> ?nextToken:??? -> ?offeringId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of Values_0.String_.t ]) list ] list | `String of Values_0.String_.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