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 |
Searches for analyses that belong to the user specified in the filter.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
This operation returns paginated results.
Synopsis
- data SearchAnalyses = SearchAnalyses' {}
- newSearchAnalyses :: Text -> NonEmpty AnalysisSearchFilter -> SearchAnalyses
- searchAnalyses_nextToken :: Lens' SearchAnalyses (Maybe Text)
- searchAnalyses_maxResults :: Lens' SearchAnalyses (Maybe Natural)
- searchAnalyses_awsAccountId :: Lens' SearchAnalyses Text
- searchAnalyses_filters :: Lens' SearchAnalyses (NonEmpty AnalysisSearchFilter)
- data SearchAnalysesResponse = SearchAnalysesResponse' {}
- newSearchAnalysesResponse :: Int -> SearchAnalysesResponse
- searchAnalysesResponse_requestId :: Lens' SearchAnalysesResponse (Maybe Text)
- searchAnalysesResponse_nextToken :: Lens' SearchAnalysesResponse (Maybe Text)
- searchAnalysesResponse_analysisSummaryList :: Lens' SearchAnalysesResponse (Maybe [AnalysisSummary])
- searchAnalysesResponse_status :: Lens' SearchAnalysesResponse Int
Creating a Request
data SearchAnalyses Source #
See: newSearchAnalyses
smart constructor.
SearchAnalyses' | |
|
Instances
Create a value of SearchAnalyses
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:nextToken:SearchAnalyses'
, searchAnalyses_nextToken
- A pagination token that can be used in a subsequent request.
$sel:maxResults:SearchAnalyses'
, searchAnalyses_maxResults
- The maximum number of results to return.
$sel:awsAccountId:SearchAnalyses'
, searchAnalyses_awsAccountId
- The ID of the Amazon Web Services account that contains the analyses
that you're searching for.
$sel:filters:SearchAnalyses'
, searchAnalyses_filters
- The structure for the search filters that you want to apply to your
search.
Request Lenses
searchAnalyses_nextToken :: Lens' SearchAnalyses (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchAnalyses_maxResults :: Lens' SearchAnalyses (Maybe Natural) Source #
The maximum number of results to return.
searchAnalyses_awsAccountId :: Lens' SearchAnalyses Text Source #
The ID of the Amazon Web Services account that contains the analyses that you're searching for.
searchAnalyses_filters :: Lens' SearchAnalyses (NonEmpty AnalysisSearchFilter) Source #
The structure for the search filters that you want to apply to your search.
Destructuring the Response
data SearchAnalysesResponse Source #
See: newSearchAnalysesResponse
smart constructor.
SearchAnalysesResponse' | |
|
Instances
newSearchAnalysesResponse Source #
Create a value of SearchAnalysesResponse
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:requestId:SearchAnalysesResponse'
, searchAnalysesResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:SearchAnalyses'
, searchAnalysesResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:analysisSummaryList:SearchAnalysesResponse'
, searchAnalysesResponse_analysisSummaryList
- Metadata describing the analyses that you searched for.
$sel:status:SearchAnalysesResponse'
, searchAnalysesResponse_status
- The HTTP status of the request.
Response Lenses
searchAnalysesResponse_requestId :: Lens' SearchAnalysesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchAnalysesResponse_nextToken :: Lens' SearchAnalysesResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchAnalysesResponse_analysisSummaryList :: Lens' SearchAnalysesResponse (Maybe [AnalysisSummary]) Source #
Metadata describing the analyses that you searched for.
searchAnalysesResponse_status :: Lens' SearchAnalysesResponse Int Source #
The HTTP status of the request.