amazonka-inspector-1.4.2: 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.UnsubscribeFromEvent

Contents

Description

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

Synopsis

Creating a Request

unsubscribeFromEvent Source #

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

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

data UnsubscribeFromEvent Source #

See: unsubscribeFromEvent smart constructor.

Instances

Eq UnsubscribeFromEvent Source # 
Data UnsubscribeFromEvent Source # 

Methods

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

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

toConstr :: UnsubscribeFromEvent -> Constr #

dataTypeOf :: UnsubscribeFromEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UnsubscribeFromEvent -> () #

AWSRequest UnsubscribeFromEvent Source # 
ToPath UnsubscribeFromEvent Source # 
ToHeaders UnsubscribeFromEvent Source # 
ToQuery UnsubscribeFromEvent Source # 
type Rep UnsubscribeFromEvent Source # 
type Rep UnsubscribeFromEvent = D1 (MetaData "UnsubscribeFromEvent" "Network.AWS.Inspector.UnsubscribeFromEvent" "amazonka-inspector-1.4.2-HqCZszWdIu9GCKPm2jM5fs" False) (C1 (MetaCons "UnsubscribeFromEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ufeResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ufeEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InspectorEvent)) (S1 (MetaSel (Just Symbol "_ufeTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UnsubscribeFromEvent Source # 

Request Lenses

ufeResourceARN :: Lens' UnsubscribeFromEvent Text Source #

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

ufeEvent :: Lens' UnsubscribeFromEvent InspectorEvent Source #

The event for which you want to stop receiving SNS notifications.

ufeTopicARN :: Lens' UnsubscribeFromEvent Text Source #

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

Destructuring the Response

unsubscribeFromEventResponse :: UnsubscribeFromEventResponse Source #

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

data UnsubscribeFromEventResponse Source #

See: unsubscribeFromEventResponse smart constructor.

Instances

Eq UnsubscribeFromEventResponse Source # 
Data UnsubscribeFromEventResponse Source # 

Methods

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

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

toConstr :: UnsubscribeFromEventResponse -> Constr #

dataTypeOf :: UnsubscribeFromEventResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UnsubscribeFromEventResponse Source # 
Show UnsubscribeFromEventResponse Source # 
Generic UnsubscribeFromEventResponse Source # 
NFData UnsubscribeFromEventResponse Source # 
type Rep UnsubscribeFromEventResponse Source # 
type Rep UnsubscribeFromEventResponse = D1 (MetaData "UnsubscribeFromEventResponse" "Network.AWS.Inspector.UnsubscribeFromEvent" "amazonka-inspector-1.4.2-HqCZszWdIu9GCKPm2jM5fs" False) (C1 (MetaCons "UnsubscribeFromEventResponse'" PrefixI False) U1)