Class: Aws::Shield::Types::TimeRange

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

Overview

Note:

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

{
  from_inclusive: Time.now,
  to_exclusive: Time.now,
}

The time range.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_inclusiveTime

The start time, in Unix time in seconds. For more information see timestamp.

Returns:

  • (Time)


1344
1345
1346
1347
1348
1349
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1344

class TimeRange < Struct.new(
  :from_inclusive,
  :to_exclusive)
  SENSITIVE = []
  include Aws::Structure
end

#to_exclusiveTime

The end time, in Unix time in seconds. For more information see timestamp.

Returns:

  • (Time)


1344
1345
1346
1347
1348
1349
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1344

class TimeRange < Struct.new(
  :from_inclusive,
  :to_exclusive)
  SENSITIVE = []
  include Aws::Structure
end