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 |
Returns the details of the filter specified by the filter name.
- getFilter :: Text -> Text -> GetFilter
- data GetFilter
- gDetectorId :: Lens' GetFilter Text
- gFilterName :: Lens' GetFilter Text
- getFilterResponse :: Int -> GetFilterResponse
- data GetFilterResponse
- gfrsFindingCriteria :: Lens' GetFilterResponse (Maybe FindingCriteria)
- gfrsAction :: Lens' GetFilterResponse (Maybe FilterAction)
- gfrsName :: Lens' GetFilterResponse (Maybe Text)
- gfrsDescription :: Lens' GetFilterResponse (Maybe Text)
- gfrsRank :: Lens' GetFilterResponse (Maybe Int)
- gfrsResponseStatus :: Lens' GetFilterResponse Int
Creating a Request
Creates a value of GetFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gDetectorId
- The detector ID that specifies the GuardDuty service where you want to list the details of the specified filter.gFilterName
- The name of the filter whose details you want to get.
See: getFilter
smart constructor.
Request Lenses
gDetectorId :: Lens' GetFilter Text Source #
The detector ID that specifies the GuardDuty service where you want to list the details of the specified filter.
Destructuring the Response
Creates a value of GetFilterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfrsFindingCriteria
- Represents the criteria to be used in the filter for querying findings.gfrsAction
- Specifies the action that is to be applied to the findings that match the filter.gfrsName
- The name of the filter.gfrsDescription
- The description of the filter.gfrsRank
- 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.gfrsResponseStatus
- -- | The response status code.
data GetFilterResponse Source #
See: getFilterResponse
smart constructor.
Response Lenses
gfrsFindingCriteria :: Lens' GetFilterResponse (Maybe FindingCriteria) Source #
Represents the criteria to be used in the filter for querying findings.
gfrsAction :: Lens' GetFilterResponse (Maybe FilterAction) Source #
Specifies the action that is to be applied to the findings that match the filter.
gfrsDescription :: Lens' GetFilterResponse (Maybe Text) Source #
The description of the filter.
gfrsRank :: Lens' GetFilterResponse (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.
gfrsResponseStatus :: Lens' GetFilterResponse Int Source #
- - | The response status code.