Skip to content

PurchaseCapacityBlockExtensionRequest

Source code in docs_src/capo_ec2/types/purchase_capacity_block_extension_request.py
class PurchaseCapacityBlockExtensionRequest(TypedDict, closed=True):
    capacity_block_extension_offering_id: NotRequired[
        "capo_ec2.types.offering_id.OfferingId"
    ]
    """<p>The ID of the Capacity Block extension offering to purchase.</p>"""
    capacity_reservation_id: NotRequired[
        "capo_ec2.types.capacity_reservation_id.CapacityReservationId"
    ]
    """<p>The ID of the Capacity reservation to be extended.</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>"""

capacity_block_extension_offering_id instance-attribute

capacity_block_extension_offering_id: NotRequired[OfferingId]

The ID of the Capacity Block extension offering to purchase.

capacity_reservation_id instance-attribute

capacity_reservation_id: NotRequired[CapacityReservationId]

The ID of the Capacity reservation to be extended.

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.