libZSservicesZSamazonka-fmsZSamazonka-fms
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.FMS.PutNotificationChannel

Description

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.

To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager role AWSServiceRoleForFMS to publish SNS logs. For more information, see Firewall Manager required permissions for API actions in the Firewall Manager Developer Guide.

Synopsis

Creating a Request

data PutNotificationChannel Source #

See: newPutNotificationChannel smart constructor.

Constructors

PutNotificationChannel' 

Fields

  • snsTopicArn :: Text

    The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.

  • snsRoleName :: Text

    The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.

Instances

Instances details
Eq PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Read PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Show PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Generic PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Associated Types

type Rep PutNotificationChannel :: Type -> Type #

NFData PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Methods

rnf :: PutNotificationChannel -> () #

Hashable PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

ToJSON PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

AWSRequest PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Associated Types

type AWSResponse PutNotificationChannel #

ToHeaders PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

ToPath PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

ToQuery PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

type Rep PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

type Rep PutNotificationChannel = D1 ('MetaData "PutNotificationChannel" "Amazonka.FMS.PutNotificationChannel" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "PutNotificationChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snsRoleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutNotificationChannel Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

newPutNotificationChannel Source #

Create a value of PutNotificationChannel 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:snsTopicArn:PutNotificationChannel', putNotificationChannel_snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.

$sel:snsRoleName:PutNotificationChannel', putNotificationChannel_snsRoleName - The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.

Request Lenses

putNotificationChannel_snsTopicArn :: Lens' PutNotificationChannel Text Source #

The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.

putNotificationChannel_snsRoleName :: Lens' PutNotificationChannel Text Source #

The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.

Destructuring the Response

data PutNotificationChannelResponse Source #

See: newPutNotificationChannelResponse smart constructor.

Instances

Instances details
Eq PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Read PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Show PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Generic PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

Associated Types

type Rep PutNotificationChannelResponse :: Type -> Type #

NFData PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

type Rep PutNotificationChannelResponse Source # 
Instance details

Defined in Amazonka.FMS.PutNotificationChannel

type Rep PutNotificationChannelResponse = D1 ('MetaData "PutNotificationChannelResponse" "Amazonka.FMS.PutNotificationChannel" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "PutNotificationChannelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutNotificationChannelResponse :: PutNotificationChannelResponse Source #

Create a value of PutNotificationChannelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.