Class: Aws::IoTEventsData::Types::TimerDefinition

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

Overview

Note:

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

{
  name: "TimerName", # required
  seconds: 1, # required
}

The new setting of a timer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the timer.

Returns:

  • (String)


522
523
524
525
526
527
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 522

class TimerDefinition < Struct.new(
  :name,
  :seconds)
  SENSITIVE = []
  include Aws::Structure
end

#secondsInteger

The new setting of the timer (the number of seconds before the timer elapses).

Returns:

  • (Integer)


522
523
524
525
526
527
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 522

class TimerDefinition < Struct.new(
  :name,
  :seconds)
  SENSITIVE = []
  include Aws::Structure
end