| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.UpdateIPSet
Description
Updates the IPSet specified by the IPSet ID.
Synopsis
- data UpdateIPSet = UpdateIPSet' {}
- newUpdateIPSet :: Text -> Text -> UpdateIPSet
- updateIPSet_activate :: Lens' UpdateIPSet (Maybe Bool)
- updateIPSet_location :: Lens' UpdateIPSet (Maybe Text)
- updateIPSet_name :: Lens' UpdateIPSet (Maybe Text)
- updateIPSet_detectorId :: Lens' UpdateIPSet Text
- updateIPSet_ipSetId :: Lens' UpdateIPSet Text
- data UpdateIPSetResponse = UpdateIPSetResponse' {
- httpStatus :: Int
- newUpdateIPSetResponse :: Int -> UpdateIPSetResponse
- updateIPSetResponse_httpStatus :: Lens' UpdateIPSetResponse Int
Creating a Request
data UpdateIPSet Source #
See: newUpdateIPSet smart constructor.
Constructors
| UpdateIPSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateIPSet |
Create a value of UpdateIPSet with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activate:UpdateIPSet', updateIPSet_activate - The updated Boolean value that specifies whether the IPSet is active or
not.
$sel:location:UpdateIPSet', updateIPSet_location - The updated URI of the file that contains the IPSet.
UpdateIPSet, updateIPSet_name - The unique ID that specifies the IPSet that you want to update.
UpdateIPSet, updateIPSet_detectorId - The detectorID that specifies the GuardDuty service whose IPSet you want
to update.
$sel:ipSetId:UpdateIPSet', updateIPSet_ipSetId - The unique ID that specifies the IPSet that you want to update.
Request Lenses
updateIPSet_activate :: Lens' UpdateIPSet (Maybe Bool) Source #
The updated Boolean value that specifies whether the IPSet is active or not.
updateIPSet_location :: Lens' UpdateIPSet (Maybe Text) Source #
The updated URI of the file that contains the IPSet.
updateIPSet_name :: Lens' UpdateIPSet (Maybe Text) Source #
The unique ID that specifies the IPSet that you want to update.
updateIPSet_detectorId :: Lens' UpdateIPSet Text Source #
The detectorID that specifies the GuardDuty service whose IPSet you want to update.
updateIPSet_ipSetId :: Lens' UpdateIPSet Text Source #
The unique ID that specifies the IPSet that you want to update.
Destructuring the Response
data UpdateIPSetResponse Source #
See: newUpdateIPSetResponse smart constructor.
Constructors
| UpdateIPSetResponse' | |
Fields
| |
Instances
newUpdateIPSetResponse Source #
Arguments
| :: Int | |
| -> UpdateIPSetResponse |
Create a value of UpdateIPSetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateIPSetResponse', updateIPSetResponse_httpStatus - The response's http status code.
Response Lenses
updateIPSetResponse_httpStatus :: Lens' UpdateIPSetResponse Int Source #
The response's http status code.