Skip to content

AutomationEvent

Source code in docs_src/capo_compute_optimizer_automation/types/automation_event.py
class AutomationEvent(TypedDict, closed=True):
    event_id: NotRequired["capo_compute_optimizer_automation.types.event_id.EventId"]
    """<p> The unique identifier for the automation event. </p>"""
    event_description: NotRequired["str"]
    """<p> A description of the automation event. </p>"""
    event_type: NotRequired[
        "capo_compute_optimizer_automation.types.event_type.EventType"
    ]
    """<p> The type of automation event. </p>"""
    event_status: NotRequired[
        "capo_compute_optimizer_automation.types.event_status.EventStatus"
    ]
    """<p> The current status of the automation event. </p>"""
    event_status_reason: NotRequired["str"]
    """<p> The reason for the current event status. </p>"""
    resource_arn: NotRequired[
        "capo_compute_optimizer_automation.types.resource_arn.ResourceArn"
    ]
    """<p> The Amazon Resource Name (ARN) of the resource affected by the automation event. </p>"""
    resource_id: NotRequired[
        "capo_compute_optimizer_automation.types.resource_id.ResourceId"
    ]
    """<p> The ID of the resource affected by the automation event. </p>"""
    recommended_action_id: NotRequired[
        "capo_compute_optimizer_automation.types.recommended_action_id.RecommendedActionId"
    ]
    """<p> The ID of the recommended action associated with this automation event. </p>"""
    account_id: NotRequired[
        "capo_compute_optimizer_automation.types.account_id.AccountId"
    ]
    """<p> The Amazon Web Services account ID associated with the automation event. </p>"""
    region: NotRequired["str"]
    """<p> The Amazon Web Services Region where the automation event occurred. </p>"""
    rule_id: NotRequired["capo_compute_optimizer_automation.types.rule_id.RuleId"]
    """<p> The ID of the automation rule that triggered this event. </p>"""
    resource_type: NotRequired[
        "capo_compute_optimizer_automation.types.resource_type.ResourceType"
    ]
    """<p> The type of resource affected by the automation event. </p>"""
    created_timestamp: NotRequired["datetime.datetime"]
    """<p>The timestamp when the automation event was created.</p>"""
    completed_timestamp: NotRequired["datetime.datetime"]
    """<p> The timestamp when the automation event completed. </p>"""
    estimated_monthly_savings: NotRequired[
        "capo_compute_optimizer_automation.types.estimated_monthly_savings.EstimatedMonthlySavings"
    ]
    """<p> The estimated monthly cost savings associated with this automation event. </p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID associated with the automation event.

completed_timestamp instance-attribute

completed_timestamp: NotRequired[datetime]

The timestamp when the automation event completed.

created_timestamp instance-attribute

created_timestamp: NotRequired[datetime]

The timestamp when the automation event was created.

estimated_monthly_savings instance-attribute

estimated_monthly_savings: NotRequired[EstimatedMonthlySavings]

The estimated monthly cost savings associated with this automation event.

event_description instance-attribute

event_description: NotRequired[str]

A description of the automation event.

event_id instance-attribute

event_id: NotRequired[EventId]

The unique identifier for the automation event.

event_status instance-attribute

event_status: NotRequired[EventStatus]

The current status of the automation event.

event_status_reason instance-attribute

event_status_reason: NotRequired[str]

The reason for the current event status.

event_type instance-attribute

event_type: NotRequired[EventType]

The type of automation event.

recommended_action_id instance-attribute

recommended_action_id: NotRequired[RecommendedActionId]

The ID of the recommended action associated with this automation event.

region instance-attribute

region: NotRequired[str]

The Amazon Web Services Region where the automation event occurred.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the resource affected by the automation event.

resource_id instance-attribute

resource_id: NotRequired[ResourceId]

The ID of the resource affected by the automation event.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The type of resource affected by the automation event.

rule_id instance-attribute

rule_id: NotRequired[RuleId]

The ID of the automation rule that triggered this event.