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

Contents

Description

Updates the IPSet specified by the IPSet ID.

Synopsis

Creating a Request

updateIPSet Source #

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

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

  • uisLocation - The updated URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key).
  • uisActivate - The updated boolean value that specifies whether the IPSet is active or not.
  • uisName - The unique ID that specifies the IPSet that you want to update.
  • uisDetectorId - The detectorID that specifies the GuardDuty service whose IPSet you want to update.
  • uisIPSetId - The unique ID that specifies the IPSet that you want to update.

data UpdateIPSet Source #

UpdateIPSet request body.

See: updateIPSet smart constructor.

Instances

Eq UpdateIPSet Source # 
Data UpdateIPSet Source # 

Methods

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

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

toConstr :: UpdateIPSet -> Constr #

dataTypeOf :: UpdateIPSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateIPSet Source # 
Show UpdateIPSet Source # 
Generic UpdateIPSet Source # 

Associated Types

type Rep UpdateIPSet :: * -> * #

Hashable UpdateIPSet Source # 
ToJSON UpdateIPSet Source # 
NFData UpdateIPSet Source # 

Methods

rnf :: UpdateIPSet -> () #

AWSRequest UpdateIPSet Source # 
ToHeaders UpdateIPSet Source # 

Methods

toHeaders :: UpdateIPSet -> [Header] #

ToPath UpdateIPSet Source # 
ToQuery UpdateIPSet Source # 
type Rep UpdateIPSet Source # 
type Rep UpdateIPSet = D1 * (MetaData "UpdateIPSet" "Network.AWS.GuardDuty.UpdateIPSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "UpdateIPSet'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uisLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uisActivate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uisName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uisDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_uisIPSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateIPSet Source # 

Request Lenses

uisLocation :: Lens' UpdateIPSet (Maybe Text) Source #

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

uisActivate :: Lens' UpdateIPSet (Maybe Bool) Source #

The updated boolean value that specifies whether the IPSet is active or not.

uisName :: Lens' UpdateIPSet (Maybe Text) Source #

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

uisDetectorId :: Lens' UpdateIPSet Text Source #

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

uisIPSetId :: Lens' UpdateIPSet Text Source #

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

Destructuring the Response

updateIPSetResponse Source #

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

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

data UpdateIPSetResponse Source #

See: updateIPSetResponse smart constructor.

Instances

Eq UpdateIPSetResponse Source # 
Data UpdateIPSetResponse Source # 

Methods

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

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

toConstr :: UpdateIPSetResponse -> Constr #

dataTypeOf :: UpdateIPSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateIPSetResponse Source # 
Show UpdateIPSetResponse Source # 
Generic UpdateIPSetResponse Source # 
NFData UpdateIPSetResponse Source # 

Methods

rnf :: UpdateIPSetResponse -> () #

type Rep UpdateIPSetResponse Source # 
type Rep UpdateIPSetResponse = D1 * (MetaData "UpdateIPSetResponse" "Network.AWS.GuardDuty.UpdateIPSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "UpdateIPSetResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uisrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

uisrsResponseStatus :: Lens' UpdateIPSetResponse Int Source #

  • - | The response status code.