Skip to content

MoveCapacityReservationInstancesRequest

Source code in docs_src/capo_ec2/types/move_capacity_reservation_instances_request.py
class MoveCapacityReservationInstancesRequest(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>"""
    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">Ensure Idempotency</a>.</p>"""
    source_capacity_reservation_id: NotRequired[
        "capo_ec2.types.capacity_reservation_id.CapacityReservationId"
    ]
    """<p> The ID of the Capacity Reservation from which you want to move capacity. </p>"""
    destination_capacity_reservation_id: NotRequired[
        "capo_ec2.types.capacity_reservation_id.CapacityReservationId"
    ]
    """<p> The ID of the Capacity Reservation that you want to move capacity into. </p>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of instances that you want to move from the source Capacity 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 Ensure Idempotency.

destination_capacity_reservation_id instance-attribute

destination_capacity_reservation_id: NotRequired[CapacityReservationId]

The ID of the Capacity Reservation that you want to move capacity into.

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 instances that you want to move from the source Capacity Reservation.

source_capacity_reservation_id instance-attribute

source_capacity_reservation_id: NotRequired[CapacityReservationId]

The ID of the Capacity Reservation from which you want to move capacity.