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

Contents

Description

Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.

Synopsis

Creating a Request

getInvitationsCount :: GetInvitationsCount Source #

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

data GetInvitationsCount Source #

See: getInvitationsCount smart constructor.

Instances

Eq GetInvitationsCount Source # 
Data GetInvitationsCount Source # 

Methods

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

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

toConstr :: GetInvitationsCount -> Constr #

dataTypeOf :: GetInvitationsCount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInvitationsCount Source # 
Show GetInvitationsCount Source # 
Generic GetInvitationsCount Source # 
Hashable GetInvitationsCount Source # 
NFData GetInvitationsCount Source # 

Methods

rnf :: GetInvitationsCount -> () #

AWSRequest GetInvitationsCount Source # 
ToHeaders GetInvitationsCount Source # 
ToPath GetInvitationsCount Source # 
ToQuery GetInvitationsCount Source # 
type Rep GetInvitationsCount Source # 
type Rep GetInvitationsCount = D1 * (MetaData "GetInvitationsCount" "Network.AWS.GuardDuty.GetInvitationsCount" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "GetInvitationsCount'" PrefixI False) (U1 *))
type Rs GetInvitationsCount Source # 

Destructuring the Response

getInvitationsCountResponse Source #

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

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

data GetInvitationsCountResponse Source #

See: getInvitationsCountResponse smart constructor.

Instances

Eq GetInvitationsCountResponse Source # 
Data GetInvitationsCountResponse Source # 

Methods

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

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

toConstr :: GetInvitationsCountResponse -> Constr #

dataTypeOf :: GetInvitationsCountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInvitationsCountResponse Source # 
Show GetInvitationsCountResponse Source # 
Generic GetInvitationsCountResponse Source # 
NFData GetInvitationsCountResponse Source # 
type Rep GetInvitationsCountResponse Source # 
type Rep GetInvitationsCountResponse = D1 * (MetaData "GetInvitationsCountResponse" "Network.AWS.GuardDuty.GetInvitationsCount" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "GetInvitationsCountResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gicrsInvitationsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_gicrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gicrsInvitationsCount :: Lens' GetInvitationsCountResponse (Maybe Int) Source #

The number of received invitations.