amazonka-fms-1.6.1: Amazon Firewall Management Service SDK.

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

Network.AWS.FMS.PutNotificationChannel

Contents

Description

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

Synopsis

Creating a Request

putNotificationChannel Source #

Creates a value of PutNotificationChannel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pncSNSTopicARN - The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager.
  • pncSNSRoleName - The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.

data PutNotificationChannel Source #

See: putNotificationChannel smart constructor.

Instances
Eq PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Data PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutNotificationChannel -> c PutNotificationChannel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutNotificationChannel #

toConstr :: PutNotificationChannel -> Constr #

dataTypeOf :: PutNotificationChannel -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutNotificationChannel) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutNotificationChannel) #

gmapT :: (forall b. Data b => b -> b) -> PutNotificationChannel -> PutNotificationChannel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationChannel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationChannel -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutNotificationChannel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutNotificationChannel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutNotificationChannel -> m PutNotificationChannel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationChannel -> m PutNotificationChannel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationChannel -> m PutNotificationChannel #

Read PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Show PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Generic PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Associated Types

type Rep PutNotificationChannel :: Type -> Type #

Hashable PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

ToJSON PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

AWSRequest PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Associated Types

type Rs PutNotificationChannel :: Type #

ToHeaders PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

ToPath PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

ToQuery PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

NFData PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Methods

rnf :: PutNotificationChannel -> () #

type Rep PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

type Rep PutNotificationChannel = D1 (MetaData "PutNotificationChannel" "Network.AWS.FMS.PutNotificationChannel" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "PutNotificationChannel'" PrefixI True) (S1 (MetaSel (Just "_pncSNSTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncSNSRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs PutNotificationChannel Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Request Lenses

pncSNSTopicARN :: Lens' PutNotificationChannel Text Source #

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

pncSNSRoleName :: Lens' PutNotificationChannel Text Source #

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

Destructuring the Response

putNotificationChannelResponse :: PutNotificationChannelResponse Source #

Creates a value of PutNotificationChannelResponse with the minimum fields required to make a request.

data PutNotificationChannelResponse Source #

See: putNotificationChannelResponse smart constructor.

Instances
Eq PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Data PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutNotificationChannelResponse -> c PutNotificationChannelResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutNotificationChannelResponse #

toConstr :: PutNotificationChannelResponse -> Constr #

dataTypeOf :: PutNotificationChannelResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutNotificationChannelResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutNotificationChannelResponse) #

gmapT :: (forall b. Data b => b -> b) -> PutNotificationChannelResponse -> PutNotificationChannelResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationChannelResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutNotificationChannelResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutNotificationChannelResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutNotificationChannelResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutNotificationChannelResponse -> m PutNotificationChannelResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationChannelResponse -> m PutNotificationChannelResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutNotificationChannelResponse -> m PutNotificationChannelResponse #

Read PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Show PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Generic PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

Associated Types

type Rep PutNotificationChannelResponse :: Type -> Type #

NFData PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

type Rep PutNotificationChannelResponse Source # 
Instance details

Defined in Network.AWS.FMS.PutNotificationChannel

type Rep PutNotificationChannelResponse = D1 (MetaData "PutNotificationChannelResponse" "Network.AWS.FMS.PutNotificationChannel" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "PutNotificationChannelResponse'" PrefixI False) (U1 :: Type -> Type))