Skip to content

OperationEvent

Source code in docs_src/capo_ssm_sap/types/operation_event.py
class OperationEvent(TypedDict, closed=True):
    description: NotRequired["str"]
    """<p>A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".</p>"""
    resource: NotRequired["capo_ssm_sap.types.resource.Resource"]
    """<p>The resource involved in the operations event.</p> <p>Contains <code>ResourceArn</code> ARN and <code>ResourceType</code>.</p>"""
    status: NotRequired[
        "capo_ssm_sap.types.operation_event_status.OperationEventStatus"
    ]
    """<p>The status of the operation event. The possible statuses are: <code>IN_PROGRESS</code>, <code>COMPLETED</code>, and <code>FAILED</code>.</p>"""
    status_message: NotRequired["str"]
    """<p>The status message relating to a specific operation event.</p>"""
    timestamp: NotRequired["datetime.datetime"]
    """<p>The timestamp of the specified operation event.</p>"""

description instance-attribute

description: NotRequired[str]

A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".

resource instance-attribute

resource: NotRequired[Resource]

The resource involved in the operations event.

Contains ResourceArn ARN and ResourceType.

status instance-attribute

status: NotRequired[OperationEventStatus]

The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.

status_message instance-attribute

status_message: NotRequired[str]

The status message relating to a specific operation event.

timestamp instance-attribute

timestamp: NotRequired[datetime]

The timestamp of the specified operation event.