Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
See: newAlarms
smart constructor.
Alarms' | |
|
Instances
Eq Alarms Source # | |
Read Alarms Source # | |
Show Alarms Source # | |
Generic Alarms Source # | |
NFData Alarms Source # | |
Defined in Amazonka.IoTSiteWise.Types.Alarms | |
Hashable Alarms Source # | |
Defined in Amazonka.IoTSiteWise.Types.Alarms | |
ToJSON Alarms Source # | |
Defined in Amazonka.IoTSiteWise.Types.Alarms | |
FromJSON Alarms Source # | |
type Rep Alarms Source # | |
Defined in Amazonka.IoTSiteWise.Types.Alarms type Rep Alarms = D1 ('MetaData "Alarms" "Amazonka.IoTSiteWise.Types.Alarms" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "Alarms'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationLambdaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Alarms
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:notificationLambdaArn:Alarms'
, alarms_notificationLambdaArn
- The
ARN
of the Lambda function that manages alarm notifications. For more
information, see
Managing alarm notifications
in the IoT Events Developer Guide.
$sel:alarmRoleArn:Alarms'
, alarms_alarmRoleArn
- The
ARN
of the IAM role that allows the alarm to perform actions and access
Amazon Web Services resources and services, such as IoT Events.
alarms_notificationLambdaArn :: Lens' Alarms (Maybe Text) Source #
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.