Class: Aws::ComputeOptimizerAutomation::Types::UpdateAutomationRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#criteriaTypes::Criteria

A set of conditions that specify which recommended action qualify for implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time. You can specify up to 20 conditions per filter criteria and 20 values per condition.

Returns:



2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

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.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The updated name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#organization_configurationTypes::OrganizationConfiguration

Updated configuration settings for organization-wide rules, including rule application order and target account IDs.



2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#priorityString

The updated priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

Updated list of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.

Returns:

  • (Array<String>)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#rule_arnString

The ARN of the rule to update.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#rule_revisionInteger

The revision number of the rule to update.

Returns:

  • (Integer)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#rule_typeString

The updated type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#scheduleTypes::Schedule

The updated schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.

Returns:



2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The updated status of the automation rule. Can be Active or Inactive.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 2397

class UpdateAutomationRuleRequest < Struct.new(
  :rule_arn,
  :rule_revision,
  :name,
  :description,
  :rule_type,
  :organization_configuration,
  :priority,
  :recommended_action_types,
  :criteria,
  :schedule,
  :status,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end