Class: Aws::BCMDashboards::Types::SavingsPlansCoverageQuery

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

Overview

Defines the parameters for querying Savings Plans coverage data, including metrics, grouping options, and time granularity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filterTypes::Expression

Defines complex filtering conditions using logical operators (AND, OR, NOT) and various filter types.

Returns:



743
744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-bcmdashboards/lib/aws-sdk-bcmdashboards/types.rb', line 743

class SavingsPlansCoverageQuery < Struct.new(
  :time_range,
  :metrics,
  :granularity,
  :group_by,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#granularityString

The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.

Returns:

  • (String)


743
744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-bcmdashboards/lib/aws-sdk-bcmdashboards/types.rb', line 743

class SavingsPlansCoverageQuery < Struct.new(
  :time_range,
  :metrics,
  :granularity,
  :group_by,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#group_byArray<Types::GroupDefinition>

Specifies how to group the Savings Plans coverage data, such as by service or instance family.

Returns:



743
744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-bcmdashboards/lib/aws-sdk-bcmdashboards/types.rb', line 743

class SavingsPlansCoverageQuery < Struct.new(
  :time_range,
  :metrics,
  :granularity,
  :group_by,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#metricsArray<String>

The coverage metrics to include in the results.

Valid value for SavingsPlansCoverageQuery metrics is SpendCoveredBySavingsPlans.

Returns:

  • (Array<String>)


743
744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-bcmdashboards/lib/aws-sdk-bcmdashboards/types.rb', line 743

class SavingsPlansCoverageQuery < Struct.new(
  :time_range,
  :metrics,
  :granularity,
  :group_by,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#time_rangeTypes::DateTimeRange

Defines a time period with explicit start and end times for data queries.



743
744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-bcmdashboards/lib/aws-sdk-bcmdashboards/types.rb', line 743

class SavingsPlansCoverageQuery < Struct.new(
  :time_range,
  :metrics,
  :granularity,
  :group_by,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end