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.

Instance Attribute Summary collapse

Instance Attribute Details

#from_inclusiveTime

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

Returns:

  • (Time)


1207
1208
1209
1210
1211
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1207

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

#to_exclusiveTime

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

Returns:

  • (Time)


1207
1208
1209
1210
1211
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1207

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