Skip to content

DescribeFleetError

Source code in docs_src/capo_ec2/types/describe_fleet_error.py
class DescribeFleetError(TypedDict, closed=True):
    launch_template_and_overrides: NotRequired[
        "capo_ec2.types.launch_template_and_overrides_response.LaunchTemplateAndOverridesResponse"
    ]
    """<p>The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.</p>"""
    lifecycle: NotRequired["capo_ec2.types.instance_lifecycle.InstanceLifecycle"]
    """<p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance. If you are using <code>ReservedCapacityOptions</code> with <code>on-demand-capacity-reservation</code> in the <code>ReservationTypes</code> list, the value can also be <code>on-demand-capacity-reservation</code>.</p>"""
    error_code: NotRequired["capo_ec2.types.string.String"]
    """<p>The error code that indicates why the instance could not be launched. For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>"""
    error_message: NotRequired["capo_ec2.types.string.String"]
    """<p>The error message that describes why the instance could not be launched. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>"""

error_code instance-attribute

error_code: NotRequired[String]

The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.

error_message instance-attribute

error_message: NotRequired[String]

The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.

launch_template_and_overrides instance-attribute

launch_template_and_overrides: NotRequired[LaunchTemplateAndOverridesResponse]

The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

lifecycle instance-attribute

lifecycle: NotRequired[InstanceLifecycle]

Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance. If you are using ReservedCapacityOptions with on-demand-capacity-reservation in the ReservationTypes list, the value can also be on-demand-capacity-reservation.