Class: Aws::ComputeOptimizerAutomation::Types::PreviewResult

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

Overview

Contains the results of previewing an automation rule against available recommendations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The Amazon Web Services account ID associated with the resource.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#current_resource_details ⇒ Types::ResourceDetails

Detailed configuration information for a specific Amazon Web Services resource, with type-specific details.



1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#current_resource_summary ⇒ String

A summary of the resource's current configuration.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_monthly_savings ⇒ Types::EstimatedMonthlySavings

Contains information about estimated monthly cost savings.



1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#look_back_period_in_days ⇒ Integer

The number of days of historical data used to analyze the resource.

Returns:

  • (Integer)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

The ID of the recommended action being previewed.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

The type of recommended action being previewed.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

Detailed configuration information for a specific Amazon Web Services resource, with type-specific details.



1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

A summary of the resource's recommended configuration.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#region ⇒ String

The Amazon Web Services Region where the resource is located.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the resource affected by the recommended action.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_id ⇒ String

The ID of the resource affected by the recommended action.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tags ⇒ Array<Types::Tag>

The tags associated with the resource.

Returns:



1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The type of resource being evaluated.

Returns:

  • (String)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#restart_needed ⇒ Boolean

Indicates whether implementing the recommended action requires a resource restart.

Returns:

  • (Boolean)


1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1712

class PreviewResult < Struct.new(
  :recommended_action_id,
  :resource_arn,
  :resource_id,
  :account_id,
  :region,
  :resource_type,
  :look_back_period_in_days,
  :recommended_action_type,
  :current_resource_summary,
  :current_resource_details,
  :recommended_resource_summary,
  :recommended_resource_details,
  :restart_needed,
  :estimated_monthly_savings,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end