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.AuditNotificationTarget

Description

 
Synopsis

Documentation

data AuditNotificationTarget Source #

Information about the targets to which audit notifications are sent.

See: newAuditNotificationTarget smart constructor.

Constructors

AuditNotificationTarget' 

Fields

  • targetArn :: Maybe Text

    The ARN of the target (SNS topic) to which audit notifications are sent.

  • enabled :: Maybe Bool

    True if notifications to the target are enabled.

  • roleArn :: Maybe Text

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

Instances

Instances details
Eq AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

Read AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

Show AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

Generic AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

Associated Types

type Rep AuditNotificationTarget :: Type -> Type #

NFData AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

Methods

rnf :: AuditNotificationTarget -> () #

Hashable AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

ToJSON AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

FromJSON AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

type Rep AuditNotificationTarget Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditNotificationTarget

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

newAuditNotificationTarget :: AuditNotificationTarget Source #

Create a value of AuditNotificationTarget 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:targetArn:AuditNotificationTarget', auditNotificationTarget_targetArn - The ARN of the target (SNS topic) to which audit notifications are sent.

$sel:enabled:AuditNotificationTarget', auditNotificationTarget_enabled - True if notifications to the target are enabled.

$sel:roleArn:AuditNotificationTarget', auditNotificationTarget_roleArn - The ARN of the role that grants permission to send notifications to the target.

auditNotificationTarget_targetArn :: Lens' AuditNotificationTarget (Maybe Text) Source #

The ARN of the target (SNS topic) to which audit notifications are sent.

auditNotificationTarget_enabled :: Lens' AuditNotificationTarget (Maybe Bool) Source #

True if notifications to the target are enabled.

auditNotificationTarget_roleArn :: Lens' AuditNotificationTarget (Maybe Text) Source #

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