| 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.UpdateFilter
Description
Updates the filter specified by the filter name.
Synopsis
- data UpdateFilter = UpdateFilter' {}
- newUpdateFilter :: Text -> Text -> UpdateFilter
- updateFilter_action :: Lens' UpdateFilter (Maybe FilterAction)
- updateFilter_description :: Lens' UpdateFilter (Maybe Text)
- updateFilter_findingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria)
- updateFilter_rank :: Lens' UpdateFilter (Maybe Natural)
- updateFilter_detectorId :: Lens' UpdateFilter Text
- updateFilter_filterName :: Lens' UpdateFilter Text
- data UpdateFilterResponse = UpdateFilterResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateFilterResponse :: Int -> Text -> UpdateFilterResponse
- updateFilterResponse_httpStatus :: Lens' UpdateFilterResponse Int
- updateFilterResponse_name :: Lens' UpdateFilterResponse Text
Creating a Request
data UpdateFilter Source #
See: newUpdateFilter smart constructor.
Constructors
| UpdateFilter' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateFilter |
Create a value of UpdateFilter 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:
UpdateFilter, updateFilter_action - Specifies the action that is to be applied to the findings that match
the filter.
UpdateFilter, updateFilter_description - The description of the filter. Valid special characters include period
(.), underscore (_), dash (-), and whitespace. The new line character is
considered to be an invalid input for description.
$sel:findingCriteria:UpdateFilter', updateFilter_findingCriteria - Represents the criteria to be used in the filter for querying findings.
$sel:rank:UpdateFilter', updateFilter_rank - 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.
UpdateFilter, updateFilter_detectorId - The unique ID of the detector that specifies the GuardDuty service where
you want to update a filter.
$sel:filterName:UpdateFilter', updateFilter_filterName - The name of the filter.
Request Lenses
updateFilter_action :: Lens' UpdateFilter (Maybe FilterAction) Source #
Specifies the action that is to be applied to the findings that match the filter.
updateFilter_description :: Lens' UpdateFilter (Maybe Text) Source #
The description of the filter. Valid special characters include period (.), underscore (_), dash (-), and whitespace. The new line character is considered to be an invalid input for description.
updateFilter_findingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria) Source #
Represents the criteria to be used in the filter for querying findings.
updateFilter_rank :: Lens' UpdateFilter (Maybe Natural) 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.
updateFilter_detectorId :: Lens' UpdateFilter Text Source #
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
updateFilter_filterName :: Lens' UpdateFilter Text Source #
The name of the filter.
Destructuring the Response
data UpdateFilterResponse Source #
See: newUpdateFilterResponse smart constructor.
Constructors
| UpdateFilterResponse' | |
Fields
| |
Instances
newUpdateFilterResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateFilterResponse |
Create a value of UpdateFilterResponse 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:UpdateFilterResponse', updateFilterResponse_httpStatus - The response's http status code.
UpdateFilterResponse, updateFilterResponse_name - The name of the filter.
Response Lenses
updateFilterResponse_httpStatus :: Lens' UpdateFilterResponse Int Source #
The response's http status code.
updateFilterResponse_name :: Lens' UpdateFilterResponse Text Source #
The name of the filter.