Skip to content

PurchaseCapacityBlockRequest

Source code in docs_src/capo_ec2/types/purchase_capacity_block_request.py
class PurchaseCapacityBlockRequest(TypedDict, closed=True):
    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>"""
    tag_specifications: NotRequired[
        "capo_ec2.types.tag_specification_list.TagSpecificationList"
    ]
    """<p>The tags to apply to the Capacity Block during launch.</p>"""
    capacity_block_offering_id: NotRequired["capo_ec2.types.offering_id.OfferingId"]
    """<p>The ID of the Capacity Block offering.</p>"""
    instance_platform: NotRequired[
        "capo_ec2.types.capacity_reservation_instance_platform.CapacityReservationInstancePlatform"
    ]
    """<p>The type of operating system for which to reserve capacity.</p>"""

capacity_block_offering_id instance-attribute

capacity_block_offering_id: NotRequired[OfferingId]

The ID of the Capacity Block offering.

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_platform instance-attribute

instance_platform: NotRequired[CapacityReservationInstancePlatform]

The type of operating system for which to reserve capacity.

tag_specifications instance-attribute

tag_specifications: NotRequired[TagSpecificationList]

The tags to apply to the Capacity Block during launch.