NAME
Paws::Health::DateTimeRange
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Health::DateTimeRange object:
$service_obj->Method(Att1 => { From => $value, ..., To => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Health::DateTimeRange object:
$result = $service_obj->Method(...);
$result->Att1->From
DESCRIPTION
A range of dates and times that is used by the EventFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html) and EntityFilter (https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html) 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
.
ATTRIBUTES
From => Str
The starting date and time of a time range.
To => Str
The ending date and time of a time range.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Health
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues