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 |
Retrieves the criteria and other settings for a findings filter.
Synopsis
- data GetFindingsFilter = GetFindingsFilter' {}
- newGetFindingsFilter :: Text -> GetFindingsFilter
- getFindingsFilter_id :: Lens' GetFindingsFilter Text
- data GetFindingsFilterResponse = GetFindingsFilterResponse' {}
- newGetFindingsFilterResponse :: Int -> GetFindingsFilterResponse
- getFindingsFilterResponse_action :: Lens' GetFindingsFilterResponse (Maybe FindingsFilterAction)
- getFindingsFilterResponse_arn :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_description :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_findingCriteria :: Lens' GetFindingsFilterResponse (Maybe FindingCriteria)
- getFindingsFilterResponse_id :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_name :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_position :: Lens' GetFindingsFilterResponse (Maybe Int)
- getFindingsFilterResponse_tags :: Lens' GetFindingsFilterResponse (Maybe (HashMap Text Text))
- getFindingsFilterResponse_httpStatus :: Lens' GetFindingsFilterResponse Int
Creating a Request
data GetFindingsFilter Source #
See: newGetFindingsFilter
smart constructor.
Instances
Create a value of GetFindingsFilter
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:
GetFindingsFilter
, getFindingsFilter_id
- The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
getFindingsFilter_id :: Lens' GetFindingsFilter Text Source #
The unique identifier for the Amazon Macie resource that the request applies to.
Destructuring the Response
data GetFindingsFilterResponse Source #
See: newGetFindingsFilterResponse
smart constructor.
GetFindingsFilterResponse' | |
|
Instances
newGetFindingsFilterResponse Source #
Create a value of GetFindingsFilterResponse
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:
GetFindingsFilterResponse
, getFindingsFilterResponse_action
- The action that's performed on findings that match the filter criteria
(findingCriteria). Possible values are: ARCHIVE, suppress (automatically
archive) the findings; and, NOOP, don't perform any action on the
findings.
GetFindingsFilterResponse
, getFindingsFilterResponse_arn
- The Amazon Resource Name (ARN) of the filter.
GetFindingsFilterResponse
, getFindingsFilterResponse_description
- The custom description of the filter.
$sel:findingCriteria:GetFindingsFilterResponse'
, getFindingsFilterResponse_findingCriteria
- The criteria that's used to filter findings.
GetFindingsFilter
, getFindingsFilterResponse_id
- The unique identifier for the filter.
GetFindingsFilterResponse
, getFindingsFilterResponse_name
- The custom name of the filter.
$sel:position:GetFindingsFilterResponse'
, getFindingsFilterResponse_position
- The position of the filter in the list of saved filters on the Amazon
Macie console. This value also determines the order in which the filter
is applied to findings, relative to other filters that are also applied
to the findings.
GetFindingsFilterResponse
, getFindingsFilterResponse_tags
- A map of key-value pairs that specifies which tags (keys and values) are
associated with the filter.
$sel:httpStatus:GetFindingsFilterResponse'
, getFindingsFilterResponse_httpStatus
- The response's http status code.
Response Lenses
getFindingsFilterResponse_action :: Lens' GetFindingsFilterResponse (Maybe FindingsFilterAction) Source #
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
getFindingsFilterResponse_arn :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the filter.
getFindingsFilterResponse_description :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The custom description of the filter.
getFindingsFilterResponse_findingCriteria :: Lens' GetFindingsFilterResponse (Maybe FindingCriteria) Source #
The criteria that's used to filter findings.
getFindingsFilterResponse_id :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The unique identifier for the filter.
getFindingsFilterResponse_name :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The custom name of the filter.
getFindingsFilterResponse_position :: Lens' GetFindingsFilterResponse (Maybe Int) Source #
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
getFindingsFilterResponse_tags :: Lens' GetFindingsFilterResponse (Maybe (HashMap Text Text)) Source #
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
getFindingsFilterResponse_httpStatus :: Lens' GetFindingsFilterResponse Int Source #
The response's http status code.