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)


15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 15334

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

#valueInteger

A date range value for the date filter.

Returns:

  • (Integer)


15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 15334

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