amazonka-inspector-1.6.1: Amazon Inspector 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.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:

  • ufeResourceARN - The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
  • ufeEvent - The event for which you want to stop receiving SNS notifications.
  • ufeTopicARN - The ARN of the SNS topic to which SNS notifications are sent.

data UnsubscribeFromEvent Source #

See: unsubscribeFromEvent smart constructor.

Instances
Eq UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Data UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

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 # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Show UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Generic UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Associated Types

type Rep UnsubscribeFromEvent :: Type -> Type #

Hashable UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

ToJSON UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

AWSRequest UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Associated Types

type Rs UnsubscribeFromEvent :: Type #

ToHeaders UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

ToPath UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

ToQuery UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

NFData UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Methods

rnf :: UnsubscribeFromEvent -> () #

type Rep UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEvent = D1 (MetaData "UnsubscribeFromEvent" "Network.AWS.Inspector.UnsubscribeFromEvent" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "UnsubscribeFromEvent'" PrefixI True) (S1 (MetaSel (Just "_ufeResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ufeEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InspectorEvent) :*: S1 (MetaSel (Just "_ufeTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UnsubscribeFromEvent Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

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 # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Data UnsubscribeFromEventResponse Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

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 # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Show UnsubscribeFromEventResponse Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Generic UnsubscribeFromEventResponse Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

Associated Types

type Rep UnsubscribeFromEventResponse :: Type -> Type #

NFData UnsubscribeFromEventResponse Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEventResponse Source # 
Instance details

Defined in Network.AWS.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEventResponse = D1 (MetaData "UnsubscribeFromEventResponse" "Network.AWS.Inspector.UnsubscribeFromEvent" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "UnsubscribeFromEventResponse'" PrefixI False) (U1 :: Type -> Type))