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 IPSet specified by the IPSet ID.
Synopsis
- updateIPSet :: Text -> Text -> UpdateIPSet
- data UpdateIPSet
- uisLocation :: Lens' UpdateIPSet (Maybe Text)
- uisActivate :: Lens' UpdateIPSet (Maybe Bool)
- uisName :: Lens' UpdateIPSet (Maybe Text)
- uisDetectorId :: Lens' UpdateIPSet Text
- uisIPSetId :: Lens' UpdateIPSet Text
- updateIPSetResponse :: Int -> UpdateIPSetResponse
- data UpdateIPSetResponse
- uisrsResponseStatus :: Lens' UpdateIPSetResponse Int
Creating a Request
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
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
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:
uisrsResponseStatus
- -- | The response status code.
data UpdateIPSetResponse Source #
See: updateIPSetResponse
smart constructor.
Instances
Response Lenses
uisrsResponseStatus :: Lens' UpdateIPSetResponse Int Source #
- - | The response status code.