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

Contents

Description

Lists the IPSets of the GuardDuty service specified by the detector ID.

This operation returns paginated results.

Synopsis

Creating a Request

listIPSets Source #

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

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

  • lisNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListIPSet action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
  • lisMaxResults - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 7. The maximum value is 7.
  • lisDetectorId - The unique ID of the detector that you want to retrieve.

data ListIPSets Source #

See: listIPSets smart constructor.

Instances
Eq ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Data ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Methods

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

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

toConstr :: ListIPSets -> Constr #

dataTypeOf :: ListIPSets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Show ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Generic ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSets :: Type -> Type #

Hashable ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

AWSPager ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

AWSRequest ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Associated Types

type Rs ListIPSets :: Type #

ToHeaders ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Methods

toHeaders :: ListIPSets -> [Header] #

ToPath ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

ToQuery ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

NFData ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Methods

rnf :: ListIPSets -> () #

type Rep ListIPSets Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

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

Defined in Network.AWS.GuardDuty.ListIPSets

Request Lenses

lisNextToken :: Lens' ListIPSets (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 ListIPSet action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

lisMaxResults :: Lens' ListIPSets (Maybe Natural) Source #

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

lisDetectorId :: Lens' ListIPSets Text Source #

The unique ID of the detector that you want to retrieve.

Destructuring the Response

listIPSetsResponse Source #

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

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

data ListIPSetsResponse Source #

See: listIPSetsResponse smart constructor.

Instances
Eq ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Data ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Methods

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

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

toConstr :: ListIPSetsResponse -> Constr #

dataTypeOf :: ListIPSetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Show ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Generic ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Associated Types

type Rep ListIPSetsResponse :: Type -> Type #

NFData ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

Methods

rnf :: ListIPSetsResponse -> () #

type Rep ListIPSetsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.ListIPSets

type Rep ListIPSetsResponse = D1 (MetaData "ListIPSetsResponse" "Network.AWS.GuardDuty.ListIPSets" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "ListIPSetsResponse'" PrefixI True) (S1 (MetaSel (Just "_lisrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lisrsIPSetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_lisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lisrsResponseStatus :: Lens' ListIPSetsResponse Int Source #

  • - | The response status code.