class Aws::Health::Types::DateTimeRange
A range of dates and times that is used by the [EventFilter] and
- EntityFilter][2
-
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`.
[1]: docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html [2]: docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html
@note When making an API call, you may pass DateTimeRange
data as a hash: { from: Time.now, to: Time.now, }
@!attribute [rw] from
The starting date and time of a time range. @return [Time]
@!attribute [rw] to
The ending date and time of a time range. @return [Time]
@see docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DateTimeRange AWS API Documentation
Constants
- SENSITIVE