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 |
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_maxResults :: Lens' SearchAnalyses (Maybe Natural)
- searchAnalyses_nextToken :: Lens' SearchAnalyses (Maybe Text)
- searchAnalyses_awsAccountId :: Lens' SearchAnalyses Text
- searchAnalyses_filters :: Lens' SearchAnalyses (NonEmpty AnalysisSearchFilter)
- data SearchAnalysesResponse = SearchAnalysesResponse' {}
- newSearchAnalysesResponse :: Int -> SearchAnalysesResponse
- searchAnalysesResponse_analysisSummaryList :: Lens' SearchAnalysesResponse (Maybe [AnalysisSummary])
- searchAnalysesResponse_nextToken :: Lens' SearchAnalysesResponse (Maybe Text)
- searchAnalysesResponse_requestId :: Lens' SearchAnalysesResponse (Maybe Text)
- 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:maxResults:SearchAnalyses'
, searchAnalyses_maxResults
- The maximum number of results to return.
SearchAnalyses
, searchAnalyses_nextToken
- A pagination token that can be used in a subsequent request.
SearchAnalyses
, searchAnalyses_awsAccountId
- The ID of the Amazon Web Services account that contains the analyses
that you're searching for.
SearchAnalyses
, searchAnalyses_filters
- The structure for the search filters that you want to apply to your
search.
Request Lenses
searchAnalyses_maxResults :: Lens' SearchAnalyses (Maybe Natural) Source #
The maximum number of results to return.
searchAnalyses_nextToken :: Lens' SearchAnalyses (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
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:analysisSummaryList:SearchAnalysesResponse'
, searchAnalysesResponse_analysisSummaryList
- Metadata describing the analyses that you searched for.
SearchAnalyses
, searchAnalysesResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:requestId:SearchAnalysesResponse'
, searchAnalysesResponse_requestId
- The Amazon Web Services request ID for this operation.
SearchAnalysesResponse
, searchAnalysesResponse_status
- The HTTP status of the request.
Response Lenses
searchAnalysesResponse_analysisSummaryList :: Lens' SearchAnalysesResponse (Maybe [AnalysisSummary]) Source #
Metadata describing the analyses that you searched for.
searchAnalysesResponse_nextToken :: Lens' SearchAnalysesResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchAnalysesResponse_requestId :: Lens' SearchAnalysesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchAnalysesResponse_status :: Lens' SearchAnalysesResponse Int Source #
The HTTP status of the request.