Class: Aws::IoTEvents::Types::DescribeAlarmModelResponse

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_capabilitiesTypes::AlarmCapabilities

Contains the configuration information of alarm state changes.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_event_actionsTypes::AlarmEventActions

Contains information about one or more alarm actions.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_model_arnString

The ARN of the alarm model. For more information, see [Amazon Resource Names (ARNs)] in the *AWS General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_model_descriptionString

The description of the alarm model.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_model_nameString

The name of the alarm model.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_model_versionString

The version of the alarm model.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_notificationTypes::AlarmNotification

Contains information about one or more notification actions.



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#alarm_ruleTypes::AlarmRule

Defines when your alarm is invoked.

Returns:



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The time the alarm model was created, in the Unix epoch format.

Returns:

  • (Time)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

An input attribute used as a key to create an alarm. AWS IoT Events routes [inputs] associated with this key to the alarm.

[1]: docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#last_update_timeTime

The time the alarm model was last updated, in the Unix epoch format.

Returns:

  • (Time)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see [Amazon Resource Names (ARNs)] in the *AWS General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#severityInteger

A non-negative integer that reflects the severity level of the alarm.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the alarm model. The status can be one of the following values:

  • ‘ACTIVE` - The alarm model is active and it’s ready to evaluate data.

  • ‘ACTIVATING` - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.

  • ‘INACTIVE` - The alarm model is inactive, so it isn’t ready to evaluate data. Check your alarm model information and update the alarm model.

  • ‘FAILED` - You couldn’t create or update the alarm model. Check your alarm model information and try again.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

Contains information about the status of the alarm model.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/aws-sdk-iotevents/types.rb', line 1136

class DescribeAlarmModelResponse < Struct.new(
  :creation_time,
  :alarm_model_arn,
  :alarm_model_version,
  :last_update_time,
  :status,
  :status_message,
  :alarm_model_name,
  :alarm_model_description,
  :role_arn,
  :key,
  :severity,
  :alarm_rule,
  :alarm_notification,
  :alarm_event_actions,
  :alarm_capabilities)
  SENSITIVE = []
  include Aws::Structure
end