Class: Aws::IoTEventsData::Types::SnoozeAlarmActionRequest

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

Overview

Information needed to snooze the alarm.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_model_nameString

The name of the alarm model.

Returns:

  • (String)


1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/aws-sdk-ioteventsdata/types.rb', line 1174

class SnoozeAlarmActionRequest < Struct.new(
  :request_id,
  :alarm_model_name,
  :key_value,
  :note,
  :snooze_duration)
  SENSITIVE = []
  include Aws::Structure
end

#key_valueString

The value of the key used as a filter to select only the alarms associated with the [key].

[1]: docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key

Returns:

  • (String)


1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/aws-sdk-ioteventsdata/types.rb', line 1174

class SnoozeAlarmActionRequest < Struct.new(
  :request_id,
  :alarm_model_name,
  :key_value,
  :note,
  :snooze_duration)
  SENSITIVE = []
  include Aws::Structure
end

#noteString

The note that you can leave when you snooze the alarm.

Returns:

  • (String)


1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/aws-sdk-ioteventsdata/types.rb', line 1174

class SnoozeAlarmActionRequest < Struct.new(
  :request_id,
  :alarm_model_name,
  :key_value,
  :note,
  :snooze_duration)
  SENSITIVE = []
  include Aws::Structure
end

#request_idString

The request ID. Each ID must be unique within each batch.

Returns:

  • (String)


1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/aws-sdk-ioteventsdata/types.rb', line 1174

class SnoozeAlarmActionRequest < Struct.new(
  :request_id,
  :alarm_model_name,
  :key_value,
  :note,
  :snooze_duration)
  SENSITIVE = []
  include Aws::Structure
end

#snooze_durationInteger

The snooze time in seconds. The alarm automatically changes to the ‘NORMAL` state after this duration.

Returns:

  • (Integer)


1174
1175
1176
1177
1178
1179
1180
1181
1182
# File 'lib/aws-sdk-ioteventsdata/types.rb', line 1174

class SnoozeAlarmActionRequest < Struct.new(
  :request_id,
  :alarm_model_name,
  :key_value,
  :note,
  :snooze_duration)
  SENSITIVE = []
  include Aws::Structure
end