amazonka-inspector-1.4.4: 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.ListEventSubscriptions

Contents

Description

Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.

Synopsis

Creating a Request

listEventSubscriptions :: ListEventSubscriptions Source #

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

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

data ListEventSubscriptions Source #

See: listEventSubscriptions smart constructor.

Instances

Eq ListEventSubscriptions Source # 
Data ListEventSubscriptions Source # 

Methods

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

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

toConstr :: ListEventSubscriptions -> Constr #

dataTypeOf :: ListEventSubscriptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEventSubscriptions Source # 
Show ListEventSubscriptions Source # 
Generic ListEventSubscriptions Source # 
Hashable ListEventSubscriptions Source # 
NFData ListEventSubscriptions Source # 

Methods

rnf :: ListEventSubscriptions -> () #

AWSRequest ListEventSubscriptions Source # 
ToPath ListEventSubscriptions Source # 
ToHeaders ListEventSubscriptions Source # 
ToQuery ListEventSubscriptions Source # 
ToJSON ListEventSubscriptions Source # 
type Rep ListEventSubscriptions Source # 
type Rep ListEventSubscriptions = D1 (MetaData "ListEventSubscriptions" "Network.AWS.Inspector.ListEventSubscriptions" "amazonka-inspector-1.4.4-7Stmh4xnz0m852fLWrSkhv" False) (C1 (MetaCons "ListEventSubscriptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lesNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lesResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lesMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ListEventSubscriptions Source # 

Request Lenses

lesNextToken :: Lens' ListEventSubscriptions (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

lesResourceARN :: Lens' ListEventSubscriptions (Maybe Text) Source #

The ARN of the assessment template for which you want to list the existing event subscriptions.

lesMaxResults :: Lens' ListEventSubscriptions (Maybe Int) Source #

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

Destructuring the Response

listEventSubscriptionsResponse Source #

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

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

data ListEventSubscriptionsResponse Source #

See: listEventSubscriptionsResponse smart constructor.

Instances

Eq ListEventSubscriptionsResponse Source # 
Data ListEventSubscriptionsResponse Source # 

Methods

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

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

toConstr :: ListEventSubscriptionsResponse -> Constr #

dataTypeOf :: ListEventSubscriptionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEventSubscriptionsResponse Source # 
Show ListEventSubscriptionsResponse Source # 
Generic ListEventSubscriptionsResponse Source # 
NFData ListEventSubscriptionsResponse Source # 
type Rep ListEventSubscriptionsResponse Source # 
type Rep ListEventSubscriptionsResponse = D1 (MetaData "ListEventSubscriptionsResponse" "Network.AWS.Inspector.ListEventSubscriptions" "amazonka-inspector-1.4.4-7Stmh4xnz0m852fLWrSkhv" False) (C1 (MetaCons "ListEventSubscriptionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lesrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lesrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_lesrsSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Subscription])))))

Response Lenses

lesrsNextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text) Source #

When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

lesrsSubscriptions :: Lens' ListEventSubscriptionsResponse [Subscription] Source #

Details of the returned event subscriptions.