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

Contents

Description

Provides the details for the GuardDuty master account to the current GuardDuty member account.

Synopsis

Creating a Request

getMasterAccount Source #

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

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

  • gmaDetectorId - The unique ID of the detector of the GuardDuty member account.

data GetMasterAccount Source #

See: getMasterAccount smart constructor.

Instances
Eq GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Data GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Methods

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

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

toConstr :: GetMasterAccount -> Constr #

dataTypeOf :: GetMasterAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Show GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Generic GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Associated Types

type Rep GetMasterAccount :: Type -> Type #

Hashable GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

AWSRequest GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Associated Types

type Rs GetMasterAccount :: Type #

ToHeaders GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

ToPath GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

ToQuery GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

NFData GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Methods

rnf :: GetMasterAccount -> () #

type Rep GetMasterAccount Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

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

Defined in Network.AWS.GuardDuty.GetMasterAccount

Request Lenses

gmaDetectorId :: Lens' GetMasterAccount Text Source #

The unique ID of the detector of the GuardDuty member account.

Destructuring the Response

getMasterAccountResponse Source #

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

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

data GetMasterAccountResponse Source #

See: getMasterAccountResponse smart constructor.

Instances
Eq GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Data GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Methods

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

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

toConstr :: GetMasterAccountResponse -> Constr #

dataTypeOf :: GetMasterAccountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Show GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Generic GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

Associated Types

type Rep GetMasterAccountResponse :: Type -> Type #

NFData GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

type Rep GetMasterAccountResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetMasterAccount

type Rep GetMasterAccountResponse = D1 (MetaData "GetMasterAccountResponse" "Network.AWS.GuardDuty.GetMasterAccount" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "GetMasterAccountResponse'" PrefixI True) (S1 (MetaSel (Just "_gmarsMaster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Master)) :*: S1 (MetaSel (Just "_gmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses