Copyright | (c) 2013-2021 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 |
Updates the IPSet specified by the IPSet ID.
Synopsis
- data UpdateIPSet = UpdateIPSet' {}
- newUpdateIPSet :: Text -> Text -> UpdateIPSet
- updateIPSet_location :: Lens' UpdateIPSet (Maybe Text)
- updateIPSet_activate :: Lens' UpdateIPSet (Maybe Bool)
- 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.
UpdateIPSet' | |
|
Instances
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:location:UpdateIPSet'
, updateIPSet_location
- The updated URI of the file that contains the IPSet. For example:
https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
$sel:activate:UpdateIPSet'
, updateIPSet_activate
- The updated Boolean value that specifies whether the IPSet is active or
not.
$sel:name:UpdateIPSet'
, updateIPSet_name
- The unique ID that specifies the IPSet that you want to update.
$sel:detectorId: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_location :: Lens' UpdateIPSet (Maybe Text) Source #
The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
updateIPSet_activate :: Lens' UpdateIPSet (Maybe Bool) Source #
The updated Boolean value that specifies whether the IPSet is active or not.
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.
UpdateIPSetResponse' | |
|
Instances
newUpdateIPSetResponse Source #
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.