Class: Aws::Sustainability::Types::TimePeriod

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

Overview

Represents a duration of time defined by start and end timestamps.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endTime

The end (exclusive) of the time period. ISO-8601 formatted timestamp, for example: YYYY-MM-DDThh:mm:ss.sssZ

Returns:

  • (Time)


483
484
485
486
487
488
# File 'gems/aws-sdk-sustainability/lib/aws-sdk-sustainability/types.rb', line 483

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

#startTime

The start (inclusive) of the time period. ISO-8601 formatted timestamp, for example: YYYY-MM-DDThh:mm:ss.sssZ

Returns:

  • (Time)


483
484
485
486
487
488
# File 'gems/aws-sdk-sustainability/lib/aws-sdk-sustainability/types.rb', line 483

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