amazonka-fms-1.6.0: 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 # 
Data PutNotificationChannel Source # 

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 # 
Show PutNotificationChannel Source # 
Generic PutNotificationChannel Source # 
Hashable PutNotificationChannel Source # 
ToJSON PutNotificationChannel Source # 
NFData PutNotificationChannel Source # 

Methods

rnf :: PutNotificationChannel -> () #

AWSRequest PutNotificationChannel Source # 
ToHeaders PutNotificationChannel Source # 
ToPath PutNotificationChannel Source # 
ToQuery PutNotificationChannel Source # 
type Rep PutNotificationChannel Source # 
type Rep PutNotificationChannel = D1 * (MetaData "PutNotificationChannel" "Network.AWS.FMS.PutNotificationChannel" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "PutNotificationChannel'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pncSNSTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pncSNSRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs PutNotificationChannel Source # 

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 # 
Data PutNotificationChannelResponse Source # 

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 # 
Show PutNotificationChannelResponse Source # 
Generic PutNotificationChannelResponse Source # 
NFData PutNotificationChannelResponse Source # 
type Rep PutNotificationChannelResponse Source # 
type Rep PutNotificationChannelResponse = D1 * (MetaData "PutNotificationChannelResponse" "Network.AWS.FMS.PutNotificationChannel" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "PutNotificationChannelResponse'" PrefixI False) (U1 *))