| 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.UpdateFilter
Description
Updates the filter specified by the filter name.
Synopsis
- updateFilter :: Text -> Text -> UpdateFilter
- data UpdateFilter
- ufFindingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria)
- ufAction :: Lens' UpdateFilter (Maybe FilterAction)
- ufDescription :: Lens' UpdateFilter (Maybe Text)
- ufRank :: Lens' UpdateFilter (Maybe Int)
- ufDetectorId :: Lens' UpdateFilter Text
- ufFilterName :: Lens' UpdateFilter Text
- updateFilterResponse :: Int -> UpdateFilterResponse
- data UpdateFilterResponse
- ufrsName :: Lens' UpdateFilterResponse (Maybe Text)
- ufrsResponseStatus :: Lens' UpdateFilterResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateFilter |
Creates a value of UpdateFilter with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufFindingCriteria- Represents the criteria to be used in the filter for querying findings.ufAction- Specifies the action that is to be applied to the findings that match the filter.ufDescription- The description of the filter.ufRank- Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.ufDetectorId- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.ufFilterName- The name of the filter.
data UpdateFilter Source #
UpdateFilterRequest request body.
See: updateFilter smart constructor.
Instances
Request Lenses
ufFindingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria) Source #
Represents the criteria to be used in the filter for querying findings.
ufAction :: Lens' UpdateFilter (Maybe FilterAction) Source #
Specifies the action that is to be applied to the findings that match the filter.
ufDescription :: Lens' UpdateFilter (Maybe Text) Source #
The description of the filter.
ufRank :: Lens' UpdateFilter (Maybe Int) Source #
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
ufDetectorId :: Lens' UpdateFilter Text Source #
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
ufFilterName :: Lens' UpdateFilter Text Source #
The name of the filter.
Destructuring the Response
Arguments
| :: Int | |
| -> UpdateFilterResponse |
Creates a value of UpdateFilterResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufrsName- The name of the filter.ufrsResponseStatus- -- | The response status code.
data UpdateFilterResponse Source #
See: updateFilterResponse smart constructor.
Instances
Response Lenses
ufrsResponseStatus :: Lens' UpdateFilterResponse Int Source #
- - | The response status code.