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 |
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_arn :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_findingCriteria :: Lens' GetFindingsFilterResponse (Maybe FindingCriteria)
- getFindingsFilterResponse_action :: Lens' GetFindingsFilterResponse (Maybe FindingsFilterAction)
- getFindingsFilterResponse_name :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_id :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_description :: Lens' GetFindingsFilterResponse (Maybe Text)
- getFindingsFilterResponse_tags :: Lens' GetFindingsFilterResponse (Maybe (HashMap Text Text))
- getFindingsFilterResponse_position :: Lens' GetFindingsFilterResponse (Maybe Int)
- 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:
$sel:id:GetFindingsFilter'
, getFindingsFilter_id
- The unique identifier for the Amazon Macie resource or account that the
request applies to.
Request Lenses
getFindingsFilter_id :: Lens' GetFindingsFilter Text Source #
The unique identifier for the Amazon Macie resource or account 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:
$sel:arn:GetFindingsFilterResponse'
, getFindingsFilterResponse_arn
- The Amazon Resource Name (ARN) of the filter.
$sel:findingCriteria:GetFindingsFilterResponse'
, getFindingsFilterResponse_findingCriteria
- The criteria that's used to filter findings.
$sel:action:GetFindingsFilterResponse'
, getFindingsFilterResponse_action
- The action that's performed on findings that meet the filter criteria
(findingCriteria). Possible values are: ARCHIVE, suppress (automatically
archive) the findings; and, NOOP, don't perform any action on the
findings.
$sel:name:GetFindingsFilterResponse'
, getFindingsFilterResponse_name
- The custom name of the filter.
$sel:id:GetFindingsFilter'
, getFindingsFilterResponse_id
- The unique identifier for the filter.
$sel:description:GetFindingsFilterResponse'
, getFindingsFilterResponse_description
- The custom description of the filter.
$sel:tags:GetFindingsFilterResponse'
, getFindingsFilterResponse_tags
- A map of key-value pairs that identifies the tags (keys and values) that
are associated with 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.
$sel:httpStatus:GetFindingsFilterResponse'
, getFindingsFilterResponse_httpStatus
- The response's http status code.
Response Lenses
getFindingsFilterResponse_arn :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the filter.
getFindingsFilterResponse_findingCriteria :: Lens' GetFindingsFilterResponse (Maybe FindingCriteria) Source #
The criteria that's used to filter findings.
getFindingsFilterResponse_action :: Lens' GetFindingsFilterResponse (Maybe FindingsFilterAction) Source #
The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
getFindingsFilterResponse_name :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The custom name of the filter.
getFindingsFilterResponse_id :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The unique identifier for the filter.
getFindingsFilterResponse_description :: Lens' GetFindingsFilterResponse (Maybe Text) Source #
The custom description of the filter.
getFindingsFilterResponse_tags :: Lens' GetFindingsFilterResponse (Maybe (HashMap Text Text)) Source #
A map of key-value pairs that identifies the tags (keys and values) that are associated with 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_httpStatus :: Lens' GetFindingsFilterResponse Int Source #
The response's http status code.