Skip to content

GetAutomationRuleResponse

Source code in docs_src/capo_compute_optimizer_automation/types/get_automation_rule_response.py
class GetAutomationRuleResponse(TypedDict, closed=True):
    rule_arn: NotRequired["capo_compute_optimizer_automation.types.rule_arn.RuleArn"]
    """<p>The Amazon Resource Name (ARN) of the automation rule.</p>"""
    rule_id: NotRequired["capo_compute_optimizer_automation.types.rule_id.RuleId"]
    """<p>The unique identifier of the automation rule.</p>"""
    name: NotRequired["capo_compute_optimizer_automation.types.rule_name.RuleName"]
    """<p>The name of the automation rule.</p>"""
    description: NotRequired["str"]
    """<p>A description of the automation rule.</p>"""
    rule_type: NotRequired["capo_compute_optimizer_automation.types.rule_type.RuleType"]
    """<p>The type of automation rule.</p>"""
    rule_revision: NotRequired["int"]
    """<p>The revision number of the automation rule.</p>"""
    account_id: NotRequired[
        "capo_compute_optimizer_automation.types.account_id.AccountId"
    ]
    """<p>The 12-digit Amazon Web Services account ID that owns this automation rule.</p>"""
    organization_configuration: NotRequired[
        "capo_compute_optimizer_automation.types.organization_configuration.OrganizationConfiguration"
    ]
    priority: NotRequired["str"]
    """<p>A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule.</p>"""
    recommended_action_types: NotRequired[
        "capo_compute_optimizer_automation.types.recommended_action_type_list.RecommendedActionTypeList"
    ]
    """<p>List of recommended action types that this rule can execute.</p>"""
    criteria: NotRequired["capo_compute_optimizer_automation.types.criteria.Criteria"]
    schedule: NotRequired["capo_compute_optimizer_automation.types.schedule.Schedule"]
    status: NotRequired[
        "capo_compute_optimizer_automation.types.rule_status.RuleStatus"
    ]
    """<p>The current status of the automation rule (Active or Inactive).</p>"""
    tags: NotRequired["capo_compute_optimizer_automation.types.tag_list.TagList"]
    """<p>The tags associated with the automation rule.</p>"""
    created_timestamp: NotRequired["datetime.datetime"]
    """<p>The timestamp when the automation rule was created.</p>"""
    last_updated_timestamp: NotRequired["datetime.datetime"]
    """<p>The timestamp when the automation rule was last updated.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The 12-digit Amazon Web Services account ID that owns this automation rule.

created_timestamp instance-attribute

created_timestamp: NotRequired[datetime]

The timestamp when the automation rule was created.

criteria instance-attribute

criteria: NotRequired[Criteria]

description instance-attribute

description: NotRequired[str]

A description of the automation rule.

last_updated_timestamp instance-attribute

last_updated_timestamp: NotRequired[datetime]

The timestamp when the automation rule was last updated.

name instance-attribute

name: NotRequired[RuleName]

The name of the automation rule.

organization_configuration instance-attribute

organization_configuration: NotRequired[OrganizationConfiguration]

priority instance-attribute

priority: NotRequired[str]

A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule.

recommended_action_types instance-attribute

recommended_action_types: NotRequired[RecommendedActionTypeList]

List of recommended action types that this rule can execute.

rule_arn instance-attribute

rule_arn: NotRequired[RuleArn]

The Amazon Resource Name (ARN) of the automation rule.

rule_id instance-attribute

rule_id: NotRequired[RuleId]

The unique identifier of the automation rule.

rule_revision instance-attribute

rule_revision: NotRequired[int]

The revision number of the automation rule.

rule_type instance-attribute

rule_type: NotRequired[RuleType]

The type of automation rule.

schedule instance-attribute

schedule: NotRequired[Schedule]

status instance-attribute

status: NotRequired[RuleStatus]

The current status of the automation rule (Active or Inactive).

tags instance-attribute

tags: NotRequired[TagList]

The tags associated with the automation rule.