Skip to content

RunScheduledInstancesRequest

Source code in docs_src/capo_ec2/types/run_scheduled_instances_request.py
class RunScheduledInstancesRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_ec2.types.string.String"]
    """<p>Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</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>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of instances.</p> <p>Default: 1</p>"""
    launch_specification: NotRequired[
        "capo_ec2.types.scheduled_instances_launch_specification.ScheduledInstancesLaunchSpecification"
    ]
    """<p>The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.</p>"""
    scheduled_instance_id: NotRequired[
        "capo_ec2.types.scheduled_instance_id.ScheduledInstanceId"
    ]
    """<p>The Scheduled Instance ID.</p>"""

client_token instance-attribute

client_token: NotRequired[String]

Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

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.

Default: 1

launch_specification instance-attribute

launch_specification: NotRequired[ScheduledInstancesLaunchSpecification]

The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.

scheduled_instance_id instance-attribute

scheduled_instance_id: NotRequired[ScheduledInstanceId]

The Scheduled Instance ID.