Class: Aws::CostOptimizationHub::Types::TimePeriod

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

Overview

Specifies a date range for retrieving efficiency metrics. The start date is inclusive and the end date is exclusive.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endString

The end of the time period (exclusive). Specify the date in ISO 8601 format, such as 2024-12-31.

Returns:

  • (String)


2551
2552
2553
2554
2555
2556
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 2551

class TimePeriod < Struct.new(
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end

#startString

The beginning of the time period (inclusive). Specify the date in ISO 8601 format, such as 2024-01-01.

Returns:

  • (String)


2551
2552
2553
2554
2555
2556
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 2551

class TimePeriod < Struct.new(
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end