Skip to content

DryRunResult

Source code in docs_src/capo_cloudwatch_logs/types/dry_run_result.py
class DryRunResult(TypedDict, closed=True):
    total_matched_log_groups: "capo_cloudwatch_logs.types.dry_run_count.DryRunCount"
    """<p>The number of log groups in the scope of the policy that were analyzed. This value is the sum of <code>increasedRetentionLogGroupCount</code>, <code>decreasedRetentionLogGroupCount</code>, and <code>unchangedRetentionLogGroupCount</code>, and does not include log groups that could not be analyzed.</p>"""
    increased_retention_log_group_count: (
        "capo_cloudwatch_logs.types.dry_run_count.DryRunCount"
    )
    """<p>The number of log groups whose effective retention period would become longer.</p>"""
    decreased_retention_log_group_count: (
        "capo_cloudwatch_logs.types.dry_run_count.DryRunCount"
    )
    """<p>The number of log groups whose effective retention period would become shorter.</p>"""
    unchanged_retention_log_group_count: (
        "capo_cloudwatch_logs.types.dry_run_count.DryRunCount"
    )
    """<p>The number of log groups whose effective retention period would not change.</p>"""
    failed_analysis_count: "capo_cloudwatch_logs.types.dry_run_count.DryRunCount"
    """<p>The number of log groups in the scope of the policy that could not be analyzed. These log groups are not included in <code>totalMatchedLogGroups</code>.</p>"""
    top_log_groups_impacted: NotRequired[
        "capo_cloudwatch_logs.types.log_group_impacts.LogGroupImpacts"
    ]
    """<p>Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.</p>"""

decreased_retention_log_group_count instance-attribute

decreased_retention_log_group_count: DryRunCount

The number of log groups whose effective retention period would become shorter.

failed_analysis_count instance-attribute

failed_analysis_count: DryRunCount

The number of log groups in the scope of the policy that could not be analyzed. These log groups are not included in totalMatchedLogGroups.

increased_retention_log_group_count instance-attribute

increased_retention_log_group_count: DryRunCount

The number of log groups whose effective retention period would become longer.

top_log_groups_impacted instance-attribute

top_log_groups_impacted: NotRequired[LogGroupImpacts]

Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.

total_matched_log_groups instance-attribute

total_matched_log_groups: DryRunCount

The number of log groups in the scope of the policy that were analyzed. This value is the sum of increasedRetentionLogGroupCount, decreasedRetentionLogGroupCount, and unchangedRetentionLogGroupCount, and does not include log groups that could not be analyzed.

unchanged_retention_log_group_count instance-attribute

unchanged_retention_log_group_count: DryRunCount

The number of log groups whose effective retention period would not change.