libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.AlertTarget

Description

 
Synopsis

Documentation

data AlertTarget Source #

A structure containing the alert target ARN and the role ARN.

See: newAlertTarget smart constructor.

Constructors

AlertTarget' 

Fields

  • alertTargetArn :: Text

    The Amazon Resource Name (ARN) of the notification target to which alerts are sent.

  • roleArn :: Text

    The ARN of the role that grants permission to send alerts to the notification target.

Instances

Instances details
Eq AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

Read AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

Show AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

Generic AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

Associated Types

type Rep AlertTarget :: Type -> Type #

NFData AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

Methods

rnf :: AlertTarget -> () #

Hashable AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

ToJSON AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

FromJSON AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

type Rep AlertTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AlertTarget

type Rep AlertTarget = D1 ('MetaData "AlertTarget" "Amazonka.IoT.Types.AlertTarget" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AlertTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alertTargetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAlertTarget Source #

Create a value of AlertTarget 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:alertTargetArn:AlertTarget', alertTarget_alertTargetArn - The Amazon Resource Name (ARN) of the notification target to which alerts are sent.

$sel:roleArn:AlertTarget', alertTarget_roleArn - The ARN of the role that grants permission to send alerts to the notification target.

alertTarget_alertTargetArn :: Lens' AlertTarget Text Source #

The Amazon Resource Name (ARN) of the notification target to which alerts are sent.

alertTarget_roleArn :: Lens' AlertTarget Text Source #

The ARN of the role that grants permission to send alerts to the notification target.