GetRecommendationResponse
¶
Source code in docs_src/capo_cost_optimization_hub/types/get_recommendation_response.py
account_id
instance-attribute
¶
account_id: NotRequired[str]
The account to which the recommendation applies.
action_type
instance-attribute
¶
action_type: NotRequired[ActionType]
The type of action you can take by adopting the recommendation.
cost_calculation_lookback_period_in_days
instance-attribute
¶
cost_calculation_lookback_period_in_days: NotRequired[int]
The lookback period used to calculate cost impact for a recommendation.
currency_code
instance-attribute
¶
currency_code: NotRequired[str]
The currency code used for the recommendation.
current_resource_details
instance-attribute
¶
current_resource_details: NotRequired[ResourceDetails]
The details for the resource.
current_resource_type
instance-attribute
¶
current_resource_type: NotRequired[ResourceType]
The type of resource.
estimated_monthly_cost
instance-attribute
¶
estimated_monthly_cost: NotRequired[float]
The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.
estimated_monthly_savings
instance-attribute
¶
estimated_monthly_savings: NotRequired[float]
The estimated monthly savings amount for the recommendation.
estimated_savings_over_cost_calculation_lookback_period
instance-attribute
¶
estimated_savings_over_cost_calculation_lookback_period: NotRequired[float]
The estimated savings amount over the lookback period used to calculate cost impact for a recommendation.
estimated_savings_percentage
instance-attribute
¶
estimated_savings_percentage: NotRequired[float]
The estimated savings percentage relative to the total cost over the cost calculation lookback period.
implementation_effort
instance-attribute
¶
implementation_effort: NotRequired[ImplementationEffort]
The effort required to implement the recommendation.
last_refresh_timestamp
instance-attribute
¶
last_refresh_timestamp: NotRequired[Datetime]
The time when the recommendation was last generated.
recommendation_id
instance-attribute
¶
recommendation_id: NotRequired[str]
The ID for the recommendation.
recommendation_lookback_period_in_days
instance-attribute
¶
recommendation_lookback_period_in_days: NotRequired[int]
The lookback period that's used to generate the recommendation.
recommended_resource_details
instance-attribute
¶
recommended_resource_details: NotRequired[ResourceDetails]
The details about the recommended resource.
recommended_resource_type
instance-attribute
¶
recommended_resource_type: NotRequired[ResourceType]
The resource type of the recommendation.
region
instance-attribute
¶
region: NotRequired[str]
The Amazon Web Services Region of the resource.
resource_arn
instance-attribute
¶
resource_arn: NotRequired[str]
The Amazon Resource Name (ARN) of the resource.
resource_id
instance-attribute
¶
resource_id: NotRequired[str]
The unique identifier for the resource. This is the same as the Amazon Resource Name (ARN), if available.
restart_needed
instance-attribute
¶
restart_needed: NotRequired[bool]
Whether or not implementing the recommendation requires a restart.