amazonka-inspector-1.4.3: Amazon Inspector SDK.

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

Network.AWS.Inspector.SubscribeToEvent

Contents

Description

Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.

Synopsis

Creating a Request

subscribeToEvent Source #

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

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

data SubscribeToEvent Source #

See: subscribeToEvent smart constructor.

Instances

Eq SubscribeToEvent Source # 
Data SubscribeToEvent Source # 

Methods

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

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

toConstr :: SubscribeToEvent -> Constr #

dataTypeOf :: SubscribeToEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SubscribeToEvent Source # 
Show SubscribeToEvent Source # 
Generic SubscribeToEvent Source # 
ToJSON SubscribeToEvent Source # 
Hashable SubscribeToEvent Source # 
NFData SubscribeToEvent Source # 

Methods

rnf :: SubscribeToEvent -> () #

AWSRequest SubscribeToEvent Source # 
ToPath SubscribeToEvent Source # 
ToHeaders SubscribeToEvent Source # 
ToQuery SubscribeToEvent Source # 
type Rep SubscribeToEvent Source # 
type Rep SubscribeToEvent = D1 (MetaData "SubscribeToEvent" "Network.AWS.Inspector.SubscribeToEvent" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "SubscribeToEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_steResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_steEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InspectorEvent)) (S1 (MetaSel (Just Symbol "_steTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs SubscribeToEvent Source # 

Request Lenses

steResourceARN :: Lens' SubscribeToEvent Text Source #

The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

steEvent :: Lens' SubscribeToEvent InspectorEvent Source #

The event for which you want to receive SNS notifications.

steTopicARN :: Lens' SubscribeToEvent Text Source #

The ARN of the SNS topic to which the SNS notifications are sent.

Destructuring the Response

subscribeToEventResponse :: SubscribeToEventResponse Source #

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

data SubscribeToEventResponse Source #

See: subscribeToEventResponse smart constructor.

Instances

Eq SubscribeToEventResponse Source # 
Data SubscribeToEventResponse Source # 

Methods

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

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

toConstr :: SubscribeToEventResponse -> Constr #

dataTypeOf :: SubscribeToEventResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SubscribeToEventResponse Source # 
Show SubscribeToEventResponse Source # 
Generic SubscribeToEventResponse Source # 
NFData SubscribeToEventResponse Source # 
type Rep SubscribeToEventResponse Source # 
type Rep SubscribeToEventResponse = D1 (MetaData "SubscribeToEventResponse" "Network.AWS.Inspector.SubscribeToEvent" "amazonka-inspector-1.4.3-AoGuICBaM0g4MKaNwH6mLK" False) (C1 (MetaCons "SubscribeToEventResponse'" PrefixI False) U1)