Skip to content

Operation

Source code in docs_src/capo_lightsail/types/operation.py
class Operation(TypedDict, closed=True):
    id: NotRequired["capo_lightsail.types.non_empty_string.NonEmptyString"]
    """<p>The ID of the operation.</p>"""
    resource_name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The resource name.</p>"""
    resource_type: NotRequired["capo_lightsail.types.resource_type.ResourceType"]
    """<p>The resource type. </p>"""
    created_at: NotRequired["capo_lightsail.types.iso_date.IsoDate"]
    """<p>The timestamp when the operation was initialized (<code>1479816991.349</code>).</p>"""
    location: NotRequired["capo_lightsail.types.resource_location.ResourceLocation"]
    """<p>The Amazon Web Services Region and Availability Zone.</p>"""
    is_terminal: NotRequired["capo_lightsail.types.boolean.boolean"]
    """<p>A Boolean value indicating whether the operation is terminal.</p>"""
    operation_details: NotRequired["capo_lightsail.types.string.string"]
    """<p>Details about the operation (<code>Debian-1GB-Ohio-1</code>).</p>"""
    operation_type: NotRequired["capo_lightsail.types.operation_type.OperationType"]
    """<p>The type of operation. </p>"""
    status: NotRequired["capo_lightsail.types.operation_status.OperationStatus"]
    """<p>The status of the operation. </p>"""
    status_changed_at: NotRequired["capo_lightsail.types.iso_date.IsoDate"]
    """<p>The timestamp when the status was changed (<code>1479816991.349</code>).</p>"""
    error_code: NotRequired["capo_lightsail.types.string.string"]
    """<p>The error code.</p>"""
    error_details: NotRequired["capo_lightsail.types.string.string"]
    """<p>The error details.</p>"""

created_at instance-attribute

created_at: NotRequired[IsoDate]

The timestamp when the operation was initialized (1479816991.349).

error_code instance-attribute

error_code: NotRequired[string]

The error code.

error_details instance-attribute

error_details: NotRequired[string]

The error details.

id instance-attribute

id: NotRequired[NonEmptyString]

The ID of the operation.

is_terminal instance-attribute

is_terminal: NotRequired[boolean]

A Boolean value indicating whether the operation is terminal.

location instance-attribute

location: NotRequired[ResourceLocation]

The Amazon Web Services Region and Availability Zone.

operation_details instance-attribute

operation_details: NotRequired[string]

Details about the operation (Debian-1GB-Ohio-1).

operation_type instance-attribute

operation_type: NotRequired[OperationType]

The type of operation.

resource_name instance-attribute

resource_name: NotRequired[ResourceName]

The resource name.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The resource type.

status instance-attribute

status: NotRequired[OperationStatus]

The status of the operation.

status_changed_at instance-attribute

status_changed_at: NotRequired[IsoDate]

The timestamp when the status was changed (1479816991.349).