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

Contents

Description

Retrieves the IPSet specified by the IPSet ID.

Synopsis

Creating a Request

getIPSet Source #

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

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

  • gisDetectorId - The detectorID that specifies the GuardDuty service whose IPSet you want to retrieve.
  • gisIPSetId - The unique ID that specifies the IPSet that you want to describe.

data GetIPSet Source #

See: getIPSet smart constructor.

Instances

Eq GetIPSet Source # 
Data GetIPSet Source # 

Methods

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

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

toConstr :: GetIPSet -> Constr #

dataTypeOf :: GetIPSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIPSet Source # 
Show GetIPSet Source # 
Generic GetIPSet Source # 

Associated Types

type Rep GetIPSet :: * -> * #

Methods

from :: GetIPSet -> Rep GetIPSet x #

to :: Rep GetIPSet x -> GetIPSet #

Hashable GetIPSet Source # 

Methods

hashWithSalt :: Int -> GetIPSet -> Int #

hash :: GetIPSet -> Int #

NFData GetIPSet Source # 

Methods

rnf :: GetIPSet -> () #

AWSRequest GetIPSet Source # 
ToHeaders GetIPSet Source # 

Methods

toHeaders :: GetIPSet -> [Header] #

ToPath GetIPSet Source # 
ToQuery GetIPSet Source # 
type Rep GetIPSet Source # 
type Rep GetIPSet = D1 * (MetaData "GetIPSet" "Network.AWS.GuardDuty.GetIPSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "GetIPSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gisIPSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetIPSet Source # 

Request Lenses

gisDetectorId :: Lens' GetIPSet Text Source #

The detectorID that specifies the GuardDuty service whose IPSet you want to retrieve.

gisIPSetId :: Lens' GetIPSet Text Source #

The unique ID that specifies the IPSet that you want to describe.

Destructuring the Response

getIPSetResponse Source #

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

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

  • gisrsStatus - The status of ipSet file uploaded.
  • gisrsLocation - The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)
  • gisrsFormat - The format of the file that contains the IPSet.
  • gisrsName - The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
  • gisrsResponseStatus - -- | The response status code.

data GetIPSetResponse Source #

See: getIPSetResponse smart constructor.

Instances

Eq GetIPSetResponse Source # 
Data GetIPSetResponse Source # 

Methods

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

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

toConstr :: GetIPSetResponse -> Constr #

dataTypeOf :: GetIPSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIPSetResponse Source # 
Show GetIPSetResponse Source # 
Generic GetIPSetResponse Source # 
NFData GetIPSetResponse Source # 

Methods

rnf :: GetIPSetResponse -> () #

type Rep GetIPSetResponse Source # 
type Rep GetIPSetResponse = D1 * (MetaData "GetIPSetResponse" "Network.AWS.GuardDuty.GetIPSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "GetIPSetResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe IPSetStatus))) (S1 * (MetaSel (Just Symbol "_gisrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe IPSetFormat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gisrsStatus :: Lens' GetIPSetResponse (Maybe IPSetStatus) Source #

The status of ipSet file uploaded.

gisrsLocation :: Lens' GetIPSetResponse (Maybe Text) Source #

The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)

gisrsFormat :: Lens' GetIPSetResponse (Maybe IPSetFormat) Source #

The format of the file that contains the IPSet.

gisrsName :: Lens' GetIPSetResponse (Maybe Text) Source #

The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.

gisrsResponseStatus :: Lens' GetIPSetResponse Int Source #

  • - | The response status code.