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)


1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1518

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)


1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1518

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