libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics
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.LookoutMetrics.Types.SNSConfiguration

Description

 
Synopsis

Documentation

data SNSConfiguration Source #

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.

See: newSNSConfiguration smart constructor.

Constructors

SNSConfiguration' 

Fields

  • roleArn :: Text

    The ARN of the IAM role that has access to the target SNS topic.

  • snsTopicArn :: Text

    The ARN of the target SNS topic.

Instances

Instances details
Eq SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

Read SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

Show SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

Generic SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

Associated Types

type Rep SNSConfiguration :: Type -> Type #

NFData SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

Methods

rnf :: SNSConfiguration -> () #

Hashable SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

ToJSON SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

FromJSON SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

type Rep SNSConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.SNSConfiguration

type Rep SNSConfiguration = D1 ('MetaData "SNSConfiguration" "Amazonka.LookoutMetrics.Types.SNSConfiguration" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "SNSConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSNSConfiguration Source #

Create a value of SNSConfiguration 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:roleArn:SNSConfiguration', sNSConfiguration_roleArn - The ARN of the IAM role that has access to the target SNS topic.

$sel:snsTopicArn:SNSConfiguration', sNSConfiguration_snsTopicArn - The ARN of the target SNS topic.

sNSConfiguration_roleArn :: Lens' SNSConfiguration Text Source #

The ARN of the IAM role that has access to the target SNS topic.

sNSConfiguration_snsTopicArn :: Lens' SNSConfiguration Text Source #

The ARN of the target SNS topic.