Class: Aws::CloudWatchLogs::Types::DryRunResult

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

Overview

Contains the estimated impact of creating, updating, or deleting an account-level retention policy. The analysis compares the effective retention period of each log group, which accounts for all account-level retention policies that apply to it, before and after the change. Log groups in the Delivery class are not included.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#decreased_retention_log_group_count ⇒ Integer

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

Returns:

  • (Integer)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end

#failed_analysis_count ⇒ Integer

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

Returns:

  • (Integer)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end

#increased_retention_log_group_count ⇒ Integer

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

Returns:

  • (Integer)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end

#top_log_groups_impacted ⇒ Array<Types::LogGroupImpact>

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.

Returns:



3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end

#total_matched_log_groups ⇒ Integer

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.

Returns:

  • (Integer)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end

#unchanged_retention_log_group_count ⇒ Integer

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

Returns:

  • (Integer)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3479

class DryRunResult < Struct.new(
  :total_matched_log_groups,
  :increased_retention_log_group_count,
  :decreased_retention_log_group_count,
  :unchanged_retention_log_group_count,
  :failed_analysis_count,
  :top_log_groups_impacted)
  SENSITIVE = []
  include Aws::Structure
end