Skip to content

StartCapacityTaskOutput

Source code in docs_src/capo_outposts/types/start_capacity_task_output.py
class StartCapacityTaskOutput(TypedDict, closed=True):
    capacity_task_id: NotRequired["capo_outposts.types.capacity_task_id.CapacityTaskId"]
    """<p>ID of the capacity task that you want to start.</p>"""
    outpost_id: NotRequired["capo_outposts.types.outpost_id.OutpostId"]
    """<p>ID of the Outpost associated with the capacity task.</p>"""
    order_id: NotRequired["capo_outposts.types.order_id.OrderId"]
    """<p>ID of the Amazon Web Services Outposts order of the host associated with the capacity task.</p>"""
    asset_id: NotRequired["capo_outposts.types.asset_id.AssetId"]
    """<p>The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.</p>"""
    requested_instance_pools: NotRequired[
        "capo_outposts.types.requested_instance_pools.RequestedInstancePools"
    ]
    """<p>List of the instance pools requested in the specified capacity task.</p>"""
    instances_to_exclude: NotRequired[
        "capo_outposts.types.instances_to_exclude.InstancesToExclude"
    ]
    """<p>User-specified instances that must not be stopped in order to free up the capacity needed to run the capacity task.</p>"""
    dry_run: "capo_outposts.types.dry_run.DryRun"
    """<p>Results of the dry run showing if the specified capacity task is above or below the available instance capacity.</p>"""
    capacity_task_status: NotRequired[
        "capo_outposts.types.capacity_task_status.CapacityTaskStatus"
    ]
    """<p>Status of the specified capacity task.</p>"""
    failed: NotRequired["capo_outposts.types.capacity_task_failure.CapacityTaskFailure"]
    """<p>Reason that the specified capacity task failed.</p>"""
    creation_date: NotRequired["capo_outposts.types.iso8601_timestamp.ISO8601Timestamp"]
    """<p>Date that the specified capacity task was created.</p>"""
    completion_date: NotRequired[
        "capo_outposts.types.iso8601_timestamp.ISO8601Timestamp"
    ]
    """<p>Date that the specified capacity task ran successfully.</p>"""
    last_modified_date: NotRequired[
        "capo_outposts.types.iso8601_timestamp.ISO8601Timestamp"
    ]
    """<p>Date that the specified capacity task was last modified.</p>"""
    task_action_on_blocking_instances: NotRequired[
        "capo_outposts.types.task_action_on_blocking_instances.TaskActionOnBlockingInstances"
    ]
    """<p>User-specified option in case an instance is blocking the capacity task from running.</p> <ul> <li> <p> <code>WAIT_FOR_EVACUATION</code> - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.</p> </li> <li> <p> <code>FAIL_TASK</code> - The capacity task fails.</p> </li> </ul>"""

asset_id instance-attribute

asset_id: NotRequired[AssetId]

The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.

capacity_task_id instance-attribute

capacity_task_id: NotRequired[CapacityTaskId]

ID of the capacity task that you want to start.

capacity_task_status instance-attribute

capacity_task_status: NotRequired[CapacityTaskStatus]

Status of the specified capacity task.

completion_date instance-attribute

completion_date: NotRequired[ISO8601Timestamp]

Date that the specified capacity task ran successfully.

creation_date instance-attribute

creation_date: NotRequired[ISO8601Timestamp]

Date that the specified capacity task was created.

dry_run instance-attribute

dry_run: DryRun

Results of the dry run showing if the specified capacity task is above or below the available instance capacity.

failed instance-attribute

failed: NotRequired[CapacityTaskFailure]

Reason that the specified capacity task failed.

instances_to_exclude instance-attribute

instances_to_exclude: NotRequired[InstancesToExclude]

User-specified instances that must not be stopped in order to free up the capacity needed to run the capacity task.

last_modified_date instance-attribute

last_modified_date: NotRequired[ISO8601Timestamp]

Date that the specified capacity task was last modified.

order_id instance-attribute

order_id: NotRequired[OrderId]

ID of the Amazon Web Services Outposts order of the host associated with the capacity task.

outpost_id instance-attribute

outpost_id: NotRequired[OutpostId]

ID of the Outpost associated with the capacity task.

requested_instance_pools instance-attribute

requested_instance_pools: NotRequired[RequestedInstancePools]

List of the instance pools requested in the specified capacity task.

task_action_on_blocking_instances instance-attribute

task_action_on_blocking_instances: NotRequired[TaskActionOnBlockingInstances]

User-specified option in case an instance is blocking the capacity task from running.

  • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

  • FAIL_TASK - The capacity task fails.