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

Contents

Description

Accepts the invitation to be monitored by a master GuardDuty account.

Synopsis

Creating a Request

acceptInvitation Source #

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

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

  • aiMasterId - The account ID of the master GuardDuty account whose invitation you're accepting.
  • aiInvitationId - This value is used to validate the master account to the member account.
  • aiDetectorId - The unique ID of the detector of the GuardDuty member account.

data AcceptInvitation Source #

AcceptInvitation request body.

See: acceptInvitation smart constructor.

Instances

Eq AcceptInvitation Source # 
Data AcceptInvitation Source # 

Methods

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

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

toConstr :: AcceptInvitation -> Constr #

dataTypeOf :: AcceptInvitation -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AcceptInvitation -> () #

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

Request Lenses

aiMasterId :: Lens' AcceptInvitation (Maybe Text) Source #

The account ID of the master GuardDuty account whose invitation you're accepting.

aiInvitationId :: Lens' AcceptInvitation (Maybe Text) Source #

This value is used to validate the master account to the member account.

aiDetectorId :: Lens' AcceptInvitation Text Source #

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

Destructuring the Response

acceptInvitationResponse Source #

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

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

data AcceptInvitationResponse Source #

See: acceptInvitationResponse smart constructor.

Instances

Eq AcceptInvitationResponse Source # 
Data AcceptInvitationResponse Source # 

Methods

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

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

toConstr :: AcceptInvitationResponse -> Constr #

dataTypeOf :: AcceptInvitationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AcceptInvitationResponse Source # 
Show AcceptInvitationResponse Source # 
Generic AcceptInvitationResponse Source # 
NFData AcceptInvitationResponse Source # 
type Rep AcceptInvitationResponse Source # 
type Rep AcceptInvitationResponse = D1 * (MetaData "AcceptInvitationResponse" "Network.AWS.GuardDuty.AcceptInvitation" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "AcceptInvitationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_airsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses