Class: Aws::Health::Types::DateTimeRange

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

Overview

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromTime

The starting date and time of a time range.

Returns:

  • (Time)


149
150
151
152
153
154
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 149

class DateTimeRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#toTime

The ending date and time of a time range.

Returns:

  • (Time)


149
150
151
152
153
154
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 149

class DateTimeRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end