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

Contents

Description

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

Synopsis

Creating a Request

deleteInvitations :: DeleteInvitations Source #

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

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

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

data DeleteInvitations Source #

DeleteInvitations request body.

See: deleteInvitations smart constructor.

Instances

Eq DeleteInvitations Source # 
Data DeleteInvitations Source # 

Methods

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

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

toConstr :: DeleteInvitations -> Constr #

dataTypeOf :: DeleteInvitations -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteInvitations -> () #

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

Request Lenses

diAccountIds :: Lens' DeleteInvitations [Text] Source #

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

Destructuring the Response

deleteInvitationsResponse Source #

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

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

data DeleteInvitationsResponse Source #

See: deleteInvitationsResponse smart constructor.

Instances

Eq DeleteInvitationsResponse Source # 
Data DeleteInvitationsResponse Source # 

Methods

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

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

toConstr :: DeleteInvitationsResponse -> Constr #

dataTypeOf :: DeleteInvitationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

dirsUnprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount] Source #

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