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

Contents

Description

Updates the ThreatIntelSet specified by ThreatIntelSet ID.

Synopsis

Creating a Request

updateThreatIntelSet Source #

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

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

  • utisLocation - The updated URI of the file that contains the ThreateIntelSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)
  • utisActivate - The updated boolean value that specifies whether the ThreateIntelSet is active or not.
  • utisName - The unique ID that specifies the ThreatIntelSet that you want to update.
  • utisThreatIntelSetId - The unique ID that specifies the ThreatIntelSet that you want to update.
  • utisDetectorId - The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

data UpdateThreatIntelSet Source #

UpdateThreatIntelSet request body.

See: updateThreatIntelSet smart constructor.

Instances

Eq UpdateThreatIntelSet Source # 
Data UpdateThreatIntelSet Source # 

Methods

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

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

toConstr :: UpdateThreatIntelSet -> Constr #

dataTypeOf :: UpdateThreatIntelSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateThreatIntelSet Source # 
Show UpdateThreatIntelSet Source # 
Generic UpdateThreatIntelSet Source # 
Hashable UpdateThreatIntelSet Source # 
ToJSON UpdateThreatIntelSet Source # 
NFData UpdateThreatIntelSet Source # 

Methods

rnf :: UpdateThreatIntelSet -> () #

AWSRequest UpdateThreatIntelSet Source # 
ToHeaders UpdateThreatIntelSet Source # 
ToPath UpdateThreatIntelSet Source # 
ToQuery UpdateThreatIntelSet Source # 
type Rep UpdateThreatIntelSet Source # 
type Rep UpdateThreatIntelSet = D1 * (MetaData "UpdateThreatIntelSet" "Network.AWS.GuardDuty.UpdateThreatIntelSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "UpdateThreatIntelSet'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_utisLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_utisActivate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utisName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utisThreatIntelSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_utisDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateThreatIntelSet Source # 

Request Lenses

utisLocation :: Lens' UpdateThreatIntelSet (Maybe Text) Source #

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

utisActivate :: Lens' UpdateThreatIntelSet (Maybe Bool) Source #

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

utisName :: Lens' UpdateThreatIntelSet (Maybe Text) Source #

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

utisThreatIntelSetId :: Lens' UpdateThreatIntelSet Text Source #

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

utisDetectorId :: Lens' UpdateThreatIntelSet Text Source #

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

Destructuring the Response

updateThreatIntelSetResponse Source #

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

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

data UpdateThreatIntelSetResponse Source #

See: updateThreatIntelSetResponse smart constructor.

Instances

Eq UpdateThreatIntelSetResponse Source # 
Data UpdateThreatIntelSetResponse Source # 

Methods

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

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

toConstr :: UpdateThreatIntelSetResponse -> Constr #

dataTypeOf :: UpdateThreatIntelSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateThreatIntelSetResponse Source # 
Show UpdateThreatIntelSetResponse Source # 
Generic UpdateThreatIntelSetResponse Source # 
NFData UpdateThreatIntelSetResponse Source # 
type Rep UpdateThreatIntelSetResponse Source # 
type Rep UpdateThreatIntelSetResponse = D1 * (MetaData "UpdateThreatIntelSetResponse" "Network.AWS.GuardDuty.UpdateThreatIntelSet" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "UpdateThreatIntelSetResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_utisrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses