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

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

Overview

Note:

When making an API call, you may pass DateRange data as a hash:

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

A date range for the date filter.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

A date range unit for the date filter.

Returns:

  • (String)


17576
17577
17578
17579
17580
17581
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17576

class DateRange < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

A date range value for the date filter.

Returns:

  • (Integer)


17576
17577
17578
17579
17580
17581
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17576

class DateRange < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end