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

Contents

Description

Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers.

Synopsis

Creating a Request

startMonitoringMembers Source #

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

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

  • sAccountIds - A list of account IDs of the GuardDuty member accounts whose findings you want the master account to monitor.
  • sDetectorId - The unique ID of the detector of the GuardDuty account whom you want to re-enable to monitor members' findings.

data StartMonitoringMembers Source #

StartMonitoringMembers request body.

See: startMonitoringMembers smart constructor.

Instances

Eq StartMonitoringMembers Source # 
Data StartMonitoringMembers Source # 

Methods

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

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

toConstr :: StartMonitoringMembers -> Constr #

dataTypeOf :: StartMonitoringMembers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartMonitoringMembers Source # 
Show StartMonitoringMembers Source # 
Generic StartMonitoringMembers Source # 
Hashable StartMonitoringMembers Source # 
ToJSON StartMonitoringMembers Source # 
NFData StartMonitoringMembers Source # 

Methods

rnf :: StartMonitoringMembers -> () #

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

Request Lenses

sAccountIds :: Lens' StartMonitoringMembers [Text] Source #

A list of account IDs of the GuardDuty member accounts whose findings you want the master account to monitor.

sDetectorId :: Lens' StartMonitoringMembers Text Source #

The unique ID of the detector of the GuardDuty account whom you want to re-enable to monitor members' findings.

Destructuring the Response

startMonitoringMembersResponse Source #

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

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

data StartMonitoringMembersResponse Source #

See: startMonitoringMembersResponse smart constructor.

Instances

Eq StartMonitoringMembersResponse Source # 
Data StartMonitoringMembersResponse Source # 

Methods

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

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

toConstr :: StartMonitoringMembersResponse -> Constr #

dataTypeOf :: StartMonitoringMembersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartMonitoringMembersResponse Source # 
Show StartMonitoringMembersResponse Source # 
Generic StartMonitoringMembersResponse Source # 
NFData StartMonitoringMembersResponse Source # 
type Rep StartMonitoringMembersResponse Source # 
type Rep StartMonitoringMembersResponse = D1 * (MetaData "StartMonitoringMembersResponse" "Network.AWS.GuardDuty.StartMonitoringMembers" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "StartMonitoringMembersResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_srsUnprocessedAccounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [UnprocessedAccount]))) (S1 * (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

srsUnprocessedAccounts :: Lens' StartMonitoringMembersResponse [UnprocessedAccount] Source #

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.