Skip to content

CreateAlarmModelRequest

Source code in docs_src/capo_iot_events/types/create_alarm_model_request.py
class CreateAlarmModelRequest(TypedDict, closed=True):
    alarm_model_name: "capo_iot_events.types.alarm_model_name.AlarmModelName"
    """<p>A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.</p>"""
    alarm_model_description: NotRequired[
        "capo_iot_events.types.alarm_model_description.AlarmModelDescription"
    ]
    """<p>A description that tells you what the alarm model detects.</p>"""
    role_arn: "capo_iot_events.types.amazon_resource_name.AmazonResourceName"
    """<p>The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"""
    tags: NotRequired["capo_iot_events.types.tags.Tags"]
    """<p>A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see <a href="https://docs.aws.amazon.com/iotevents/latest/developerguide/tagging-iotevents.html">Tagging your AWS IoT Events resources</a> in the <i>AWS IoT Events Developer Guide</i>.</p> <p>You can create up to 50 tags for one alarm model.</p>"""
    key: NotRequired["capo_iot_events.types.attribute_json_path.AttributeJsonPath"]
    """<p>An input attribute used as a key to create an alarm. AWS IoT Events routes <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html">inputs</a> associated with this key to the alarm.</p>"""
    severity: NotRequired["capo_iot_events.types.severity.Severity"]
    """<p>A non-negative integer that reflects the severity level of the alarm.</p>"""
    alarm_rule: "capo_iot_events.types.alarm_rule.AlarmRule"
    """<p>Defines when your alarm is invoked.</p>"""
    alarm_notification: NotRequired[
        "capo_iot_events.types.alarm_notification.AlarmNotification"
    ]
    """<p>Contains information about one or more notification actions.</p>"""
    alarm_event_actions: NotRequired[
        "capo_iot_events.types.alarm_event_actions.AlarmEventActions"
    ]
    """<p>Contains information about one or more alarm actions.</p>"""
    alarm_capabilities: NotRequired[
        "capo_iot_events.types.alarm_capabilities.AlarmCapabilities"
    ]
    """<p>Contains the configuration information of alarm state changes.</p>"""

alarm_capabilities instance-attribute

alarm_capabilities: NotRequired[AlarmCapabilities]

Contains the configuration information of alarm state changes.

alarm_event_actions instance-attribute

alarm_event_actions: NotRequired[AlarmEventActions]

Contains information about one or more alarm actions.

alarm_model_description instance-attribute

alarm_model_description: NotRequired[AlarmModelDescription]

A description that tells you what the alarm model detects.

alarm_model_name instance-attribute

alarm_model_name: AlarmModelName

A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.

alarm_notification instance-attribute

alarm_notification: NotRequired[AlarmNotification]

Contains information about one or more notification actions.

alarm_rule instance-attribute

alarm_rule: AlarmRule

Defines when your alarm is invoked.

key instance-attribute

key: NotRequired[AttributeJsonPath]

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

role_arn instance-attribute

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.

severity instance-attribute

severity: NotRequired[Severity]

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

tags instance-attribute

tags: NotRequired[Tags]

A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see Tagging your AWS IoT Events resources in the AWS IoT Events Developer Guide.

You can create up to 50 tags for one alarm model.