Skip to content

CancelSpotInstanceRequestsRequest

Source code in docs_src/capo_ec2/types/cancel_spot_instance_requests_request.py
class CancelSpotInstanceRequestsRequest(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>"""
    spot_instance_request_ids: NotRequired[
        "capo_ec2.types.spot_instance_request_id_list.SpotInstanceRequestIdList"
    ]
    """<p>The IDs of the Spot Instance requests.</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.

spot_instance_request_ids instance-attribute

spot_instance_request_ids: NotRequired[SpotInstanceRequestIdList]

The IDs of the Spot Instance requests.