Skip to content

PurchaseHostReservationResult

Source code in docs_src/capo_ec2/types/purchase_host_reservation_result.py
class PurchaseHostReservationResult(TypedDict, closed=True):
    client_token: NotRequired["capo_ec2.types.string.String"]
    """<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>"""
    currency_code: NotRequired["capo_ec2.types.currency_code_values.CurrencyCodeValues"]
    """<p>The currency in which the <code>totalUpfrontPrice</code> and <code>totalHourlyPrice</code> amounts are specified. At this time, the only supported currency is <code>USD</code>.</p>"""
    purchase: NotRequired["capo_ec2.types.purchase_set.PurchaseSet"]
    """<p>Describes the details of the purchase.</p>"""
    total_hourly_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The total hourly price of the reservation calculated per hour.</p>"""
    total_upfront_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The total amount charged to your account when you purchase the reservation.</p>"""

client_token instance-attribute

client_token: NotRequired[String]

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

currency_code instance-attribute

currency_code: NotRequired[CurrencyCodeValues]

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

purchase instance-attribute

purchase: NotRequired[PurchaseSet]

Describes the details of the purchase.

total_hourly_price instance-attribute

total_hourly_price: NotRequired[String]

The total hourly price of the reservation calculated per hour.

total_upfront_price instance-attribute

total_upfront_price: NotRequired[String]

The total amount charged to your account when you purchase the reservation.