amazonka-guardduty-1.6.0: Amazon GuardDuty 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.GuardDuty.ListDetectors

Contents

Description

Lists detectorIds of all the existing Amazon GuardDuty detector resources.

This operation returns paginated results.

Synopsis

Creating a Request

listDetectors :: ListDetectors Source #

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

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

  • ldNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListDetectors action. For subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
  • ldMaxResults - You can use this parameter to indicate the maximum number of detectors that you want in the response.

data ListDetectors Source #

See: listDetectors smart constructor.

Instances

Eq ListDetectors Source # 
Data ListDetectors Source # 

Methods

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

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

toConstr :: ListDetectors -> Constr #

dataTypeOf :: ListDetectors -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDetectors Source # 
Show ListDetectors Source # 
Generic ListDetectors Source # 

Associated Types

type Rep ListDetectors :: * -> * #

Hashable ListDetectors Source # 
NFData ListDetectors Source # 

Methods

rnf :: ListDetectors -> () #

AWSPager ListDetectors Source # 
AWSRequest ListDetectors Source # 
ToHeaders ListDetectors Source # 
ToPath ListDetectors Source # 
ToQuery ListDetectors Source # 
type Rep ListDetectors Source # 
type Rep ListDetectors = D1 * (MetaData "ListDetectors" "Network.AWS.GuardDuty.ListDetectors" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListDetectors'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListDetectors Source # 

Request Lenses

ldNextToken :: Lens' ListDetectors (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 ListDetectors action. For subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

ldMaxResults :: Lens' ListDetectors (Maybe Natural) Source #

You can use this parameter to indicate the maximum number of detectors that you want in the response.

Destructuring the Response

listDetectorsResponse Source #

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

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

data ListDetectorsResponse Source #

See: listDetectorsResponse smart constructor.

Instances

Eq ListDetectorsResponse Source # 
Data ListDetectorsResponse Source # 

Methods

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

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

toConstr :: ListDetectorsResponse -> Constr #

dataTypeOf :: ListDetectorsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDetectorsResponse Source # 
Show ListDetectorsResponse Source # 
Generic ListDetectorsResponse Source # 
NFData ListDetectorsResponse Source # 

Methods

rnf :: ListDetectorsResponse -> () #

type Rep ListDetectorsResponse Source # 
type Rep ListDetectorsResponse = D1 * (MetaData "ListDetectorsResponse" "Network.AWS.GuardDuty.ListDetectors" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListDetectorsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDetectorIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsResponseStatus :: Lens' ListDetectorsResponse Int Source #

  • - | The response status code.