Class: Aws::CostOptimizationHub::Types::Recommendation

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

Overview

Describes a recommendation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account that the recommendation is for.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#action_typeString

The type of tasks that can be carried out by this action.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#currency_codeString

The currency code used for the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#current_resource_summaryString

Describes the current resource.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#current_resource_typeString

The current resource type.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_monthly_costFloat

The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.

Returns:

  • (Float)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_monthly_savingsFloat

The estimated monthly savings amount for the recommendation.

Returns:

  • (Float)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_savings_percentageFloat

The estimated savings percentage relative to the total cost over the cost calculation lookback period.

Returns:

  • (Float)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#implementation_effortString

The effort required to implement the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_refresh_timestampTime

The time when the recommendation was last generated.

Returns:

  • (Time)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_idString

The ID for the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_lookback_period_in_daysInteger

The lookback period that's used to generate the recommendation.

Returns:

  • (Integer)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

Describes the recommended resource.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

The recommended resource type.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region of the resource.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) for the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The resource ID for the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#restart_neededBoolean

Whether or not implementing the recommendation requires a restart.

Returns:

  • (Boolean)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#rollback_possibleBoolean

Whether or not implementing the recommendation can be rolled back.

Returns:

  • (Boolean)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The source of the recommendation.

Returns:

  • (String)


1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags assigned to the recommendation.

Returns:



1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1481

class Recommendation < Struct.new(
  :recommendation_id,
  :account_id,
  :region,
  :resource_id,
  :resource_arn,
  :current_resource_type,
  :recommended_resource_type,
  :estimated_monthly_savings,
  :estimated_savings_percentage,
  :estimated_monthly_cost,
  :currency_code,
  :implementation_effort,
  :restart_needed,
  :action_type,
  :rollback_possible,
  :current_resource_summary,
  :recommended_resource_summary,
  :last_refresh_timestamp,
  :recommendation_lookback_period_in_days,
  :source,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end