UpdateAutomationRuleRequest
¶
Source code in docs_src/capo_compute_optimizer_automation/types/update_automation_rule_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.
description
instance-attribute
¶
description: NotRequired[RuleDescription]
The updated description of the automation rule. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.
name
instance-attribute
¶
name: NotRequired[RuleName]
The updated name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.
organization_configuration
instance-attribute
¶
organization_configuration: NotRequired[OrganizationConfiguration]
Updated configuration settings for organization-wide rules, including rule application order and target account IDs.
priority
instance-attribute
¶
priority: NotRequired[str]
The updated priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
recommended_action_types
instance-attribute
¶
recommended_action_types: NotRequired[RecommendedActionTypeList]
Updated list of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
rule_type
instance-attribute
¶
rule_type: NotRequired[RuleType]
The updated type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.
schedule
instance-attribute
¶
schedule: NotRequired[Schedule]
The updated schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
status
instance-attribute
¶
status: NotRequired[RuleStatus]
The updated status of the automation rule. Can be Active or Inactive.