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

Defined in Network.AWS.GuardDuty.UpdateIPSet

Data UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

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

Defined in Network.AWS.GuardDuty.UpdateIPSet

Show UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Generic UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Associated Types

type Rep UpdateIPSet :: Type -> Type #

Hashable UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

ToJSON UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

AWSRequest UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Associated Types

type Rs UpdateIPSet :: Type #

ToHeaders UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Methods

toHeaders :: UpdateIPSet -> [Header] #

ToPath UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

ToQuery UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

NFData UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Methods

rnf :: UpdateIPSet -> () #

type Rep UpdateIPSet Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

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

Defined in Network.AWS.GuardDuty.UpdateIPSet

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

Defined in Network.AWS.GuardDuty.UpdateIPSet

Data UpdateIPSetResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

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

Defined in Network.AWS.GuardDuty.UpdateIPSet

Show UpdateIPSetResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Generic UpdateIPSetResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Associated Types

type Rep UpdateIPSetResponse :: Type -> Type #

NFData UpdateIPSetResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

Methods

rnf :: UpdateIPSetResponse -> () #

type Rep UpdateIPSetResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.UpdateIPSet

type Rep UpdateIPSetResponse = D1 (MetaData "UpdateIPSetResponse" "Network.AWS.GuardDuty.UpdateIPSet" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" True) (C1 (MetaCons "UpdateIPSetResponse'" PrefixI True) (S1 (MetaSel (Just "_uisrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

uisrsResponseStatus :: Lens' UpdateIPSetResponse Int Source #

  • - | The response status code.