DescribeHostReservationOfferingsRequest

public struct DescribeHostReservationOfferingsRequest : AWSShape
extension EC2.DescribeHostReservationOfferingsRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The filters. instance-family - The instance family of the offering (for example, m4). payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

    Declaration

    Swift

    public let filter: [Filter]?
  • 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.

    Declaration

    Swift

    public let maxDuration: Int?
  • 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.

    Declaration

    Swift

    public let maxResults: Int?
  • 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.

    Declaration

    Swift

    public let minDuration: Int?
  • The token to use to retrieve the next page of results.

    Declaration

    Swift

    public let nextToken: String?
  • The ID of the reservation offering.

    Declaration

    Swift

    public let offeringId: String?
  • Undocumented

    Declaration

    Swift

    public init(filter: [Filter]? = nil, maxDuration: Int? = nil, maxResults: Int? = nil, minDuration: Int? = nil, nextToken: String? = nil, offeringId: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws
  • Undocumented

    Declaration

    Swift

    public func usingPaginationToken(_ token: String) -> EC2.DescribeHostReservationOfferingsRequest