Skip to content

PurchaseReservedInstancesOfferingRequest

Source code in docs_src/capo_ec2/types/purchase_reserved_instances_offering_request.py
class PurchaseReservedInstancesOfferingRequest(TypedDict, closed=True):
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of Reserved Instances to purchase.</p>"""
    reserved_instances_offering_id: NotRequired[
        "capo_ec2.types.reserved_instances_offering_id.ReservedInstancesOfferingId"
    ]
    """<p>The ID of the Reserved Instance offering to purchase.</p>"""
    purchase_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time at which to purchase the Reserved Instance, in UTC format (for example, <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    limit_price: NotRequired[
        "capo_ec2.types.reserved_instance_limit_price.ReservedInstanceLimitPrice"
    ]
    """<p>Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.</p>"""

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

instance_count instance-attribute

instance_count: NotRequired[Integer]

The number of Reserved Instances to purchase.

limit_price instance-attribute

limit_price: NotRequired[ReservedInstanceLimitPrice]

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

purchase_time instance-attribute

purchase_time: NotRequired[DateTime]

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

reserved_instances_offering_id instance-attribute

reserved_instances_offering_id: NotRequired[ReservedInstancesOfferingId]

The ID of the Reserved Instance offering to purchase.