Skip to content

PreviewResult

Source code in docs_src/capo_compute_optimizer_automation/types/preview_result.py
class PreviewResult(TypedDict, closed=True):
    recommended_action_id: NotRequired[
        "capo_compute_optimizer_automation.types.recommended_action_id.RecommendedActionId"
    ]
    """<p>The ID of the recommended action being previewed.</p>"""
    resource_arn: NotRequired[
        "capo_compute_optimizer_automation.types.resource_arn.ResourceArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the resource affected by the recommended action.</p>"""
    resource_id: NotRequired[
        "capo_compute_optimizer_automation.types.resource_id.ResourceId"
    ]
    """<p>The ID of the resource affected by the recommended action.</p>"""
    account_id: NotRequired[
        "capo_compute_optimizer_automation.types.account_id.AccountId"
    ]
    """<p>The Amazon Web Services account ID associated with the resource.</p>"""
    region: NotRequired["str"]
    """<p>The Amazon Web Services Region where the resource is located.</p>"""
    resource_type: NotRequired[
        "capo_compute_optimizer_automation.types.resource_type.ResourceType"
    ]
    """<p>The type of resource being evaluated.</p>"""
    look_back_period_in_days: NotRequired["int"]
    """<p>The number of days of historical data used to analyze the resource.</p>"""
    recommended_action_type: NotRequired[
        "capo_compute_optimizer_automation.types.recommended_action_type.RecommendedActionType"
    ]
    """<p>The type of recommended action being previewed.</p>"""
    current_resource_summary: NotRequired["str"]
    """<p>A summary of the resource's current configuration.</p>"""
    current_resource_details: NotRequired[
        "capo_compute_optimizer_automation.types.resource_details.ResourceDetails"
    ]
    recommended_resource_summary: NotRequired["str"]
    """<p>A summary of the resource's recommended configuration.</p>"""
    recommended_resource_details: NotRequired[
        "capo_compute_optimizer_automation.types.resource_details.ResourceDetails"
    ]
    restart_needed: NotRequired["bool"]
    """<p>Indicates whether implementing the recommended action requires a resource restart.</p>"""
    estimated_monthly_savings: NotRequired[
        "capo_compute_optimizer_automation.types.estimated_monthly_savings.EstimatedMonthlySavings"
    ]
    resource_tags: NotRequired[
        "capo_compute_optimizer_automation.types.tag_list.TagList"
    ]
    """<p>The tags associated with the resource.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID associated with the resource.

current_resource_details instance-attribute

current_resource_details: NotRequired[ResourceDetails]

current_resource_summary instance-attribute

current_resource_summary: NotRequired[str]

A summary of the resource's current configuration.

estimated_monthly_savings instance-attribute

estimated_monthly_savings: NotRequired[EstimatedMonthlySavings]

look_back_period_in_days instance-attribute

look_back_period_in_days: NotRequired[int]

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

recommended_action_id instance-attribute

recommended_action_id: NotRequired[RecommendedActionId]

The ID of the recommended action being previewed.

recommended_action_type instance-attribute

recommended_action_type: NotRequired[RecommendedActionType]

The type of recommended action being previewed.

recommended_resource_details instance-attribute

recommended_resource_details: NotRequired[ResourceDetails]

recommended_resource_summary instance-attribute

recommended_resource_summary: NotRequired[str]

A summary of the resource's recommended configuration.

region instance-attribute

region: NotRequired[str]

The Amazon Web Services Region where the resource is located.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

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

resource_id instance-attribute

resource_id: NotRequired[ResourceId]

The ID of the resource affected by the recommended action.

resource_tags instance-attribute

resource_tags: NotRequired[TagList]

The tags associated with the resource.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The type of resource being evaluated.

restart_needed instance-attribute

restart_needed: NotRequired[bool]

Indicates whether implementing the recommended action requires a resource restart.