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 a list of resources of the specified type that have been analyzed by the specified analyzer..
This operation returns paginated results.
Synopsis
- data ListAnalyzedResources = ListAnalyzedResources' {}
- newListAnalyzedResources :: Text -> ListAnalyzedResources
- listAnalyzedResources_resourceType :: Lens' ListAnalyzedResources (Maybe ResourceType)
- listAnalyzedResources_nextToken :: Lens' ListAnalyzedResources (Maybe Text)
- listAnalyzedResources_maxResults :: Lens' ListAnalyzedResources (Maybe Int)
- listAnalyzedResources_analyzerArn :: Lens' ListAnalyzedResources Text
- data ListAnalyzedResourcesResponse = ListAnalyzedResourcesResponse' {}
- newListAnalyzedResourcesResponse :: Int -> ListAnalyzedResourcesResponse
- listAnalyzedResourcesResponse_nextToken :: Lens' ListAnalyzedResourcesResponse (Maybe Text)
- listAnalyzedResourcesResponse_httpStatus :: Lens' ListAnalyzedResourcesResponse Int
- listAnalyzedResourcesResponse_analyzedResources :: Lens' ListAnalyzedResourcesResponse [AnalyzedResourceSummary]
Creating a Request
data ListAnalyzedResources Source #
Retrieves a list of resources that have been analyzed.
See: newListAnalyzedResources
smart constructor.
ListAnalyzedResources' | |
|
Instances
newListAnalyzedResources Source #
Create a value of ListAnalyzedResources
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:resourceType:ListAnalyzedResources'
, listAnalyzedResources_resourceType
- The type of resource.
$sel:nextToken:ListAnalyzedResources'
, listAnalyzedResources_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListAnalyzedResources'
, listAnalyzedResources_maxResults
- The maximum number of results to return in the response.
$sel:analyzerArn:ListAnalyzedResources'
, listAnalyzedResources_analyzerArn
- The
ARN of the analyzer
to retrieve a list of analyzed resources from.
Request Lenses
listAnalyzedResources_resourceType :: Lens' ListAnalyzedResources (Maybe ResourceType) Source #
The type of resource.
listAnalyzedResources_nextToken :: Lens' ListAnalyzedResources (Maybe Text) Source #
A token used for pagination of results returned.
listAnalyzedResources_maxResults :: Lens' ListAnalyzedResources (Maybe Int) Source #
The maximum number of results to return in the response.
listAnalyzedResources_analyzerArn :: Lens' ListAnalyzedResources Text Source #
The ARN of the analyzer to retrieve a list of analyzed resources from.
Destructuring the Response
data ListAnalyzedResourcesResponse Source #
The response to the request.
See: newListAnalyzedResourcesResponse
smart constructor.
ListAnalyzedResourcesResponse' | |
|
Instances
newListAnalyzedResourcesResponse Source #
Create a value of ListAnalyzedResourcesResponse
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:ListAnalyzedResources'
, listAnalyzedResourcesResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAnalyzedResourcesResponse'
, listAnalyzedResourcesResponse_httpStatus
- The response's http status code.
$sel:analyzedResources:ListAnalyzedResourcesResponse'
, listAnalyzedResourcesResponse_analyzedResources
- A list of resources that were analyzed.
Response Lenses
listAnalyzedResourcesResponse_nextToken :: Lens' ListAnalyzedResourcesResponse (Maybe Text) Source #
A token used for pagination of results returned.
listAnalyzedResourcesResponse_httpStatus :: Lens' ListAnalyzedResourcesResponse Int Source #
The response's http status code.
listAnalyzedResourcesResponse_analyzedResources :: Lens' ListAnalyzedResourcesResponse [AnalyzedResourceSummary] Source #
A list of resources that were analyzed.