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

Contents

Description

Lists all GuardDuty membership invitations that were sent to the current AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listInvitations :: ListInvitations Source #

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

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

  • liNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListInvitations action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
  • liMaxResults - You can use this parameter to indicate the maximum number of invitations you want in the response. The default value is 50. The maximum value is 50.

data ListInvitations Source #

See: listInvitations smart constructor.

Instances

Eq ListInvitations Source # 
Data ListInvitations Source # 

Methods

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

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

toConstr :: ListInvitations -> Constr #

dataTypeOf :: ListInvitations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInvitations Source # 
Show ListInvitations Source # 
Generic ListInvitations Source # 
Hashable ListInvitations Source # 
NFData ListInvitations Source # 

Methods

rnf :: ListInvitations -> () #

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

Request Lenses

liNextToken :: Lens' ListInvitations (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListInvitations action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

liMaxResults :: Lens' ListInvitations (Maybe Natural) Source #

You can use this parameter to indicate the maximum number of invitations you want in the response. The default value is 50. The maximum value is 50.

Destructuring the Response

listInvitationsResponse Source #

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

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

data ListInvitationsResponse Source #

See: listInvitationsResponse smart constructor.

Instances

Eq ListInvitationsResponse Source # 
Data ListInvitationsResponse Source # 

Methods

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

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

toConstr :: ListInvitationsResponse -> Constr #

dataTypeOf :: ListInvitationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInvitationsResponse Source # 
Show ListInvitationsResponse Source # 
Generic ListInvitationsResponse Source # 
NFData ListInvitationsResponse Source # 

Methods

rnf :: ListInvitationsResponse -> () #

type Rep ListInvitationsResponse Source # 
type Rep ListInvitationsResponse = D1 * (MetaData "ListInvitationsResponse" "Network.AWS.GuardDuty.ListInvitations" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListInvitationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lirsInvitations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Invitation]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses