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 ThreatIntelSet specified by the ThreatIntelSet ID.
Synopsis
- data UpdateThreatIntelSet = UpdateThreatIntelSet' {}
- newUpdateThreatIntelSet :: Text -> Text -> UpdateThreatIntelSet
- updateThreatIntelSet_location :: Lens' UpdateThreatIntelSet (Maybe Text)
- updateThreatIntelSet_activate :: Lens' UpdateThreatIntelSet (Maybe Bool)
- updateThreatIntelSet_name :: Lens' UpdateThreatIntelSet (Maybe Text)
- updateThreatIntelSet_detectorId :: Lens' UpdateThreatIntelSet Text
- updateThreatIntelSet_threatIntelSetId :: Lens' UpdateThreatIntelSet Text
- data UpdateThreatIntelSetResponse = UpdateThreatIntelSetResponse' {
- httpStatus :: Int
- newUpdateThreatIntelSetResponse :: Int -> UpdateThreatIntelSetResponse
- updateThreatIntelSetResponse_httpStatus :: Lens' UpdateThreatIntelSetResponse Int
Creating a Request
data UpdateThreatIntelSet Source #
See: newUpdateThreatIntelSet
smart constructor.
UpdateThreatIntelSet' | |
|
Instances
newUpdateThreatIntelSet Source #
:: Text | |
-> Text | |
-> UpdateThreatIntelSet |
Create a value of UpdateThreatIntelSet
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:UpdateThreatIntelSet'
, updateThreatIntelSet_location
- The updated URI of the file that contains the ThreateIntelSet.
$sel:activate:UpdateThreatIntelSet'
, updateThreatIntelSet_activate
- The updated Boolean value that specifies whether the ThreateIntelSet is
active or not.
$sel:name:UpdateThreatIntelSet'
, updateThreatIntelSet_name
- The unique ID that specifies the ThreatIntelSet that you want to update.
$sel:detectorId:UpdateThreatIntelSet'
, updateThreatIntelSet_detectorId
- The detectorID that specifies the GuardDuty service whose ThreatIntelSet
you want to update.
$sel:threatIntelSetId:UpdateThreatIntelSet'
, updateThreatIntelSet_threatIntelSetId
- The unique ID that specifies the ThreatIntelSet that you want to update.
Request Lenses
updateThreatIntelSet_location :: Lens' UpdateThreatIntelSet (Maybe Text) Source #
The updated URI of the file that contains the ThreateIntelSet.
updateThreatIntelSet_activate :: Lens' UpdateThreatIntelSet (Maybe Bool) Source #
The updated Boolean value that specifies whether the ThreateIntelSet is active or not.
updateThreatIntelSet_name :: Lens' UpdateThreatIntelSet (Maybe Text) Source #
The unique ID that specifies the ThreatIntelSet that you want to update.
updateThreatIntelSet_detectorId :: Lens' UpdateThreatIntelSet Text Source #
The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.
updateThreatIntelSet_threatIntelSetId :: Lens' UpdateThreatIntelSet Text Source #
The unique ID that specifies the ThreatIntelSet that you want to update.
Destructuring the Response
data UpdateThreatIntelSetResponse Source #
See: newUpdateThreatIntelSetResponse
smart constructor.
UpdateThreatIntelSetResponse' | |
|
Instances
newUpdateThreatIntelSetResponse Source #
Create a value of UpdateThreatIntelSetResponse
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:UpdateThreatIntelSetResponse'
, updateThreatIntelSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateThreatIntelSetResponse_httpStatus :: Lens' UpdateThreatIntelSetResponse Int Source #
The response's http status code.