libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSiteWise.Types.Alarms

Description

 
Synopsis

Documentation

data Alarms Source #

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.

Constructors

Alarms' 

Fields

Instances

Instances details
Eq Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Methods

(==) :: Alarms -> Alarms -> Bool #

(/=) :: Alarms -> Alarms -> Bool #

Read Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Show Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Generic Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Associated Types

type Rep Alarms :: Type -> Type #

Methods

from :: Alarms -> Rep Alarms x #

to :: Rep Alarms x -> Alarms #

NFData Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Methods

rnf :: Alarms -> () #

Hashable Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

Methods

hashWithSalt :: Int -> Alarms -> Int #

hash :: Alarms -> Int #

ToJSON Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

FromJSON Alarms Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Alarms

type Rep Alarms Source # 
Instance details

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)))

newAlarms Source #

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.

alarms_alarmRoleArn :: Lens' Alarms Text Source #

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.