Skip to content

CancelSpotFleetRequestsRequest

Source code in docs_src/capo_ec2/types/cancel_spot_fleet_requests_request.py
class CancelSpotFleetRequestsRequest(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_fleet_request_ids: NotRequired[
        "capo_ec2.types.spot_fleet_request_id_list.SpotFleetRequestIdList"
    ]
    """<p>The IDs of the Spot Fleet requests.</p> <p>Constraint: You can specify up to 100 IDs in a single request.</p>"""
    terminate_instances: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether to terminate the associated instances when the Spot Fleet request is canceled. The default is to terminate the instances.</p> <p>To let the instances continue to run after the Spot Fleet request is canceled, specify <code>no-terminate-instances</code>.</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_fleet_request_ids instance-attribute

spot_fleet_request_ids: NotRequired[SpotFleetRequestIdList]

The IDs of the Spot Fleet requests.

Constraint: You can specify up to 100 IDs in a single request.

terminate_instances instance-attribute

terminate_instances: NotRequired[Boolean]

Indicates whether to terminate the associated instances when the Spot Fleet request is canceled. The default is to terminate the instances.

To let the instances continue to run after the Spot Fleet request is canceled, specify no-terminate-instances.