amazonka-guardduty-1.6.1: 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 # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Data ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

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

Defined in Network.AWS.GuardDuty.ListDetectors

Show ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Generic ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Associated Types

type Rep ListDetectors :: Type -> Type #

Hashable ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

AWSPager ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

AWSRequest ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Associated Types

type Rs ListDetectors :: Type #

ToHeaders ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

ToPath ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

ToQuery ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

NFData ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Methods

rnf :: ListDetectors -> () #

type Rep ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

type Rep ListDetectors = D1 (MetaData "ListDetectors" "Network.AWS.GuardDuty.ListDetectors" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "ListDetectors'" PrefixI True) (S1 (MetaSel (Just "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListDetectors Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

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

Defined in Network.AWS.GuardDuty.ListDetectors

Data ListDetectorsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

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

Defined in Network.AWS.GuardDuty.ListDetectors

Show ListDetectorsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Generic ListDetectorsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Associated Types

type Rep ListDetectorsResponse :: Type -> Type #

NFData ListDetectorsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

Methods

rnf :: ListDetectorsResponse -> () #

type Rep ListDetectorsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListDetectors

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

Response Lenses

ldrsResponseStatus :: Lens' ListDetectorsResponse Int Source #

  • - | The response status code.