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)


305
306
307
308
309
310
# File 'gems/aws-sdk-sustainability/lib/aws-sdk-sustainability/types.rb', line 305

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)


305
306
307
308
309
310
# File 'gems/aws-sdk-sustainability/lib/aws-sdk-sustainability/types.rb', line 305

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