HostReservation¶
Structure Class¶
HostReservation
dataclass
¶
Bases: _SerdeShape
Details about the Dedicated Host Reservation and associated Dedicated Hosts.
Attributes¶
count
class-attribute
instance-attribute
¶
count: int | None = ...
The number of Dedicated Hosts the reservation is associated with.
currency_code
class-attribute
instance-attribute
¶
currency_code: str | None = ...
The currency in which the upfrontPrice and hourlyPrice amounts are
specified. At this time, the only supported currency is USD.
duration
class-attribute
instance-attribute
¶
duration: int | None = ...
The length of the reservation's term, specified in seconds. Can be
31536000 (1 year) | 94608000 (3 years).
end
class-attribute
instance-attribute
¶
end: datetime | None = ...
The date and time that the reservation ends.
host_id_set
class-attribute
instance-attribute
¶
The IDs of the Dedicated Hosts associated with the reservation.
host_reservation_id
class-attribute
instance-attribute
¶
host_reservation_id: str | None = ...
The ID of the reservation that specifies the associated Dedicated Hosts.
hourly_price
class-attribute
instance-attribute
¶
hourly_price: str | None = ...
The hourly price of the reservation.
instance_family
class-attribute
instance-attribute
¶
instance_family: str | None = ...
The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.
offering_id
class-attribute
instance-attribute
¶
offering_id: str | None = ...
The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.
payment_option
class-attribute
instance-attribute
¶
payment_option: str | None = ...
The payment option selected for this reservation.
start
class-attribute
instance-attribute
¶
start: datetime | None = ...
The date and time that the reservation started.
tags
class-attribute
instance-attribute
¶
Any tags assigned to the Dedicated Host Reservation.