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.GetDetector

Contents

Description

Retrieves an Amazon GuardDuty detector specified by the detectorId.

Synopsis

Creating a Request

getDetector Source #

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

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

  • gdDetectorId - The unique ID of the detector that you want to retrieve.

data GetDetector Source #

See: getDetector smart constructor.

Instances
Eq GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Data GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Methods

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

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

toConstr :: GetDetector -> Constr #

dataTypeOf :: GetDetector -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Show GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Generic GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Associated Types

type Rep GetDetector :: Type -> Type #

Hashable GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

AWSRequest GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Associated Types

type Rs GetDetector :: Type #

ToHeaders GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Methods

toHeaders :: GetDetector -> [Header] #

ToPath GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

ToQuery GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

NFData GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Methods

rnf :: GetDetector -> () #

type Rep GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

type Rep GetDetector = D1 (MetaData "GetDetector" "Network.AWS.GuardDuty.GetDetector" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" True) (C1 (MetaCons "GetDetector'" PrefixI True) (S1 (MetaSel (Just "_gdDetectorId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetDetector Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Request Lenses

gdDetectorId :: Lens' GetDetector Text Source #

The unique ID of the detector that you want to retrieve.

Destructuring the Response

getDetectorResponse Source #

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

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

data GetDetectorResponse Source #

See: getDetectorResponse smart constructor.

Instances
Eq GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Data GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Methods

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

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

toConstr :: GetDetectorResponse -> Constr #

dataTypeOf :: GetDetectorResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Show GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Generic GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Associated Types

type Rep GetDetectorResponse :: Type -> Type #

NFData GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

Methods

rnf :: GetDetectorResponse -> () #

type Rep GetDetectorResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetDetector

type Rep GetDetectorResponse = D1 (MetaData "GetDetectorResponse" "Network.AWS.GuardDuty.GetDetector" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "GetDetectorResponse'" PrefixI True) ((S1 (MetaSel (Just "_gdrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DetectorStatus)) :*: S1 (MetaSel (Just "_gdrsCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gdrsUpdatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gdrsServiceRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gdrsResponseStatus :: Lens' GetDetectorResponse Int Source #

  • - | The response status code.