| 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 |
Network.AWS.GuardDuty.CreateIPSet
Description
Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS infrastructure and applications.
Synopsis
- createIPSet :: Text -> CreateIPSet
- data CreateIPSet
- cisLocation :: Lens' CreateIPSet (Maybe Text)
- cisFormat :: Lens' CreateIPSet (Maybe IPSetFormat)
- cisActivate :: Lens' CreateIPSet (Maybe Bool)
- cisName :: Lens' CreateIPSet (Maybe Text)
- cisDetectorId :: Lens' CreateIPSet Text
- createIPSetResponse :: Int -> CreateIPSetResponse
- data CreateIPSetResponse
- cisrsIPSetId :: Lens' CreateIPSetResponse (Maybe Text)
- cisrsResponseStatus :: Lens' CreateIPSetResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateIPSet |
Creates a value of CreateIPSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cisLocation- The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)cisFormat- The format of the file that contains the IPSet.cisActivate- A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.cisName- The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.cisDetectorId- The unique ID of the detector that you want to update.
data CreateIPSet Source #
CreateIPSet request body.
See: createIPSet smart constructor.
Instances
Request Lenses
cisLocation :: Lens' CreateIPSet (Maybe Text) Source #
The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)
cisFormat :: Lens' CreateIPSet (Maybe IPSetFormat) Source #
The format of the file that contains the IPSet.
cisActivate :: Lens' CreateIPSet (Maybe Bool) Source #
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
cisName :: Lens' CreateIPSet (Maybe Text) Source #
The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
cisDetectorId :: Lens' CreateIPSet Text Source #
The unique ID of the detector that you want to update.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateIPSetResponse |
Creates a value of CreateIPSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cisrsIPSetId- Undocumented member.cisrsResponseStatus- -- | The response status code.
data CreateIPSetResponse Source #
See: createIPSetResponse smart constructor.
Instances
Response Lenses
cisrsIPSetId :: Lens' CreateIPSetResponse (Maybe Text) Source #
Undocumented member.
cisrsResponseStatus :: Lens' CreateIPSetResponse Int Source #
- - | The response status code.