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

Contents

Description

Declines invitations sent to the current member account by AWS account specified by their account IDs.

Synopsis

Creating a Request

declineInvitations :: DeclineInvitations Source #

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

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

  • dAccountIds - A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from.

data DeclineInvitations Source #

DeclineInvitations request body.

See: declineInvitations smart constructor.

Instances

Eq DeclineInvitations Source # 
Data DeclineInvitations Source # 

Methods

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

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

toConstr :: DeclineInvitations -> Constr #

dataTypeOf :: DeclineInvitations -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeclineInvitations -> () #

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

Request Lenses

dAccountIds :: Lens' DeclineInvitations [Text] Source #

A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from.

Destructuring the Response

declineInvitationsResponse Source #

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

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

data DeclineInvitationsResponse Source #

See: declineInvitationsResponse smart constructor.

Instances

Eq DeclineInvitationsResponse Source # 
Data DeclineInvitationsResponse Source # 

Methods

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

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

toConstr :: DeclineInvitationsResponse -> Constr #

dataTypeOf :: DeclineInvitationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

disrsUnprocessedAccounts :: Lens' DeclineInvitationsResponse [UnprocessedAccount] Source #

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