amazonka-guardduty-1.6.1: 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 # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Data ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

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 # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Show ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Generic ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitations :: Type -> Type #

Hashable ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

AWSPager ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

AWSRequest ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Associated Types

type Rs ListInvitations :: Type #

ToHeaders ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

ToPath ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

ToQuery ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

NFData ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Methods

rnf :: ListInvitations -> () #

type Rep ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

type Rep ListInvitations = D1 (MetaData "ListInvitations" "Network.AWS.GuardDuty.ListInvitations" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "ListInvitations'" PrefixI True) (S1 (MetaSel (Just "_liNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListInvitations Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

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 # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Data ListInvitationsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

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 # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Show ListInvitationsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Generic ListInvitationsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

NFData ListInvitationsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

Methods

rnf :: ListInvitationsResponse -> () #

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListInvitations

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

Response Lenses