Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates the ThreatIntelSet specified by ThreatIntelSet ID.
- updateThreatIntelSet :: Text -> Text -> UpdateThreatIntelSet
- data UpdateThreatIntelSet
- utisLocation :: Lens' UpdateThreatIntelSet (Maybe Text)
- utisActivate :: Lens' UpdateThreatIntelSet (Maybe Bool)
- utisName :: Lens' UpdateThreatIntelSet (Maybe Text)
- utisThreatIntelSetId :: Lens' UpdateThreatIntelSet Text
- utisDetectorId :: Lens' UpdateThreatIntelSet Text
- updateThreatIntelSetResponse :: Int -> UpdateThreatIntelSetResponse
- data UpdateThreatIntelSetResponse
- utisrsResponseStatus :: Lens' UpdateThreatIntelSetResponse Int
Creating a Request
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.
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:
utisrsResponseStatus
- -- | The response status code.
data UpdateThreatIntelSetResponse Source #
See: updateThreatIntelSetResponse
smart constructor.
Response Lenses
utisrsResponseStatus :: Lens' UpdateThreatIntelSetResponse Int Source #
- - | The response status code.