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 |
Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets.
Synopsis
- createThreatIntelSet :: Text -> CreateThreatIntelSet
- data CreateThreatIntelSet
- ctisLocation :: Lens' CreateThreatIntelSet (Maybe Text)
- ctisFormat :: Lens' CreateThreatIntelSet (Maybe ThreatIntelSetFormat)
- ctisActivate :: Lens' CreateThreatIntelSet (Maybe Bool)
- ctisName :: Lens' CreateThreatIntelSet (Maybe Text)
- ctisDetectorId :: Lens' CreateThreatIntelSet Text
- createThreatIntelSetResponse :: Int -> CreateThreatIntelSetResponse
- data CreateThreatIntelSetResponse
- ctisrsThreatIntelSetId :: Lens' CreateThreatIntelSetResponse (Maybe Text)
- ctisrsResponseStatus :: Lens' CreateThreatIntelSetResponse Int
Creating a Request
Creates a value of CreateThreatIntelSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctisLocation
- The URI of the file that contains the ThreatIntelSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key).ctisFormat
- The format of the file that contains the ThreatIntelSet.ctisActivate
- A boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.ctisName
- A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.ctisDetectorId
- The unique ID of the detector that you want to update.
data CreateThreatIntelSet Source #
CreateThreatIntelSet request body.
See: createThreatIntelSet
smart constructor.
Instances
Request Lenses
ctisLocation :: Lens' CreateThreatIntelSet (Maybe Text) Source #
The URI of the file that contains the ThreatIntelSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key).
ctisFormat :: Lens' CreateThreatIntelSet (Maybe ThreatIntelSetFormat) Source #
The format of the file that contains the ThreatIntelSet.
ctisActivate :: Lens' CreateThreatIntelSet (Maybe Bool) Source #
A boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
ctisName :: Lens' CreateThreatIntelSet (Maybe Text) Source #
A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.
ctisDetectorId :: Lens' CreateThreatIntelSet Text Source #
The unique ID of the detector that you want to update.
Destructuring the Response
createThreatIntelSetResponse Source #
Creates a value of CreateThreatIntelSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctisrsThreatIntelSetId
- Undocumented member.ctisrsResponseStatus
- -- | The response status code.
data CreateThreatIntelSetResponse Source #
See: createThreatIntelSetResponse
smart constructor.
Instances
Response Lenses
ctisrsThreatIntelSetId :: Lens' CreateThreatIntelSetResponse (Maybe Text) Source #
Undocumented member.
ctisrsResponseStatus :: Lens' CreateThreatIntelSetResponse Int Source #
- - | The response status code.