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.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 # 
Data GetMasterAccount Source # 

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 # 
Show GetMasterAccount Source # 
Generic GetMasterAccount Source # 
Hashable GetMasterAccount Source # 
NFData GetMasterAccount Source # 

Methods

rnf :: GetMasterAccount -> () #

AWSRequest GetMasterAccount Source # 
ToHeaders GetMasterAccount Source # 
ToPath GetMasterAccount Source # 
ToQuery GetMasterAccount Source # 
type Rep GetMasterAccount Source # 
type Rep GetMasterAccount = D1 * (MetaData "GetMasterAccount" "Network.AWS.GuardDuty.GetMasterAccount" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "GetMasterAccount'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gmaDetectorId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetMasterAccount Source # 

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 # 
Data GetMasterAccountResponse Source # 

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 # 
Show GetMasterAccountResponse Source # 
Generic GetMasterAccountResponse Source # 
NFData GetMasterAccountResponse Source # 
type Rep GetMasterAccountResponse Source # 
type Rep GetMasterAccountResponse = D1 * (MetaData "GetMasterAccountResponse" "Network.AWS.GuardDuty.GetMasterAccount" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "GetMasterAccountResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmarsMaster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Master))) (S1 * (MetaSel (Just Symbol "_gmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses