You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::DateRange

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DateRange as input to an Aws::Client method, you can use a vanilla Hash:

{
  value: 1,
  unit: "DAYS", # accepts DAYS
}

A date range for the date filter.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

A date range unit for the date filter.

Possible values:

  • DAYS

Returns:

  • (String)

    A date range unit for the date filter.

#valueInteger

A date range value for the date filter.

Returns:

  • (Integer)

    A date range value for the date filter.