Class: Aws::Health::Types::DateTimeRange
- Inherits:
-
Struct
- Object
- Struct
- Aws::Health::Types::DateTimeRange
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-health/types.rb
Overview
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
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#from ⇒ Time
The starting date and time of a time range.
-
#to ⇒ Time
The ending date and time of a time range.
Instance Attribute Details
#from ⇒ Time
The starting date and time of a time range.
154 155 156 157 158 159 |
# File 'lib/aws-sdk-health/types.rb', line 154 class DateTimeRange < Struct.new( :from, :to) SENSITIVE = [] include Aws::Structure end |
#to ⇒ Time
The ending date and time of a time range.
154 155 156 157 158 159 |
# File 'lib/aws-sdk-health/types.rb', line 154 class DateTimeRange < Struct.new( :from, :to) SENSITIVE = [] include Aws::Structure end |