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 |
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
This operation returns paginated results.
- listFindings :: ListFindings
- data ListFindings
- lfAssessmentRunARNs :: Lens' ListFindings [Text]
- lfNextToken :: Lens' ListFindings (Maybe Text)
- lfFilter :: Lens' ListFindings (Maybe FindingFilter)
- lfMaxResults :: Lens' ListFindings (Maybe Int)
- listFindingsResponse :: Int -> ListFindingsResponse
- data ListFindingsResponse
- lfrsNextToken :: Lens' ListFindingsResponse (Maybe Text)
- lfrsResponseStatus :: Lens' ListFindingsResponse Int
- lfrsFindingARNs :: Lens' ListFindingsResponse [Text]
Creating a Request
listFindings :: ListFindings Source #
Creates a value of ListFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfAssessmentRunARNs
- The ARNs of the assessment runs that generate the findings that you want to list.lfNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.lfFilter
- You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.lfMaxResults
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
data ListFindings Source #
See: listFindings
smart constructor.
Request Lenses
lfAssessmentRunARNs :: Lens' ListFindings [Text] Source #
The ARNs of the assessment runs that generate the findings that you want to list.
lfNextToken :: Lens' ListFindings (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
lfFilter :: Lens' ListFindings (Maybe FindingFilter) Source #
You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
lfMaxResults :: Lens' ListFindings (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Destructuring the Response
Creates a value of ListFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrsNextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.lfrsResponseStatus
- -- | The response status code.lfrsFindingARNs
- A list of ARNs that specifies the findings returned by the action.
data ListFindingsResponse Source #
See: listFindingsResponse
smart constructor.
Response Lenses
lfrsNextToken :: Lens' ListFindingsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
lfrsResponseStatus :: Lens' ListFindingsResponse Int Source #
- - | The response status code.
lfrsFindingARNs :: Lens' ListFindingsResponse [Text] Source #
A list of ARNs that specifies the findings returned by the action.