| 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 |
Amazonka.ECR.DescribeImageScanFindings
Description
Returns the scan findings for the specified image.
This operation returns paginated results.
Synopsis
- data DescribeImageScanFindings = DescribeImageScanFindings' {}
- newDescribeImageScanFindings :: Text -> ImageIdentifier -> DescribeImageScanFindings
- describeImageScanFindings_maxResults :: Lens' DescribeImageScanFindings (Maybe Natural)
- describeImageScanFindings_nextToken :: Lens' DescribeImageScanFindings (Maybe Text)
- describeImageScanFindings_registryId :: Lens' DescribeImageScanFindings (Maybe Text)
- describeImageScanFindings_repositoryName :: Lens' DescribeImageScanFindings Text
- describeImageScanFindings_imageId :: Lens' DescribeImageScanFindings ImageIdentifier
- data DescribeImageScanFindingsResponse = DescribeImageScanFindingsResponse' {}
- newDescribeImageScanFindingsResponse :: Int -> DescribeImageScanFindingsResponse
- describeImageScanFindingsResponse_imageId :: Lens' DescribeImageScanFindingsResponse (Maybe ImageIdentifier)
- describeImageScanFindingsResponse_imageScanFindings :: Lens' DescribeImageScanFindingsResponse (Maybe ImageScanFindings)
- describeImageScanFindingsResponse_imageScanStatus :: Lens' DescribeImageScanFindingsResponse (Maybe ImageScanStatus)
- describeImageScanFindingsResponse_nextToken :: Lens' DescribeImageScanFindingsResponse (Maybe Text)
- describeImageScanFindingsResponse_registryId :: Lens' DescribeImageScanFindingsResponse (Maybe Text)
- describeImageScanFindingsResponse_repositoryName :: Lens' DescribeImageScanFindingsResponse (Maybe Text)
- describeImageScanFindingsResponse_httpStatus :: Lens' DescribeImageScanFindingsResponse Int
Creating a Request
data DescribeImageScanFindings Source #
See: newDescribeImageScanFindings smart constructor.
Constructors
| DescribeImageScanFindings' | |
Fields
| |
Instances
newDescribeImageScanFindings Source #
Arguments
| :: Text | |
| -> ImageIdentifier | |
| -> DescribeImageScanFindings |
Create a value of DescribeImageScanFindings 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:DescribeImageScanFindings', describeImageScanFindings_maxResults - The maximum number of image scan results returned by
DescribeImageScanFindings in paginated output. When this parameter is
used, DescribeImageScanFindings only returns maxResults results in a
single page along with a nextToken response element. The remaining
results of the initial request can be seen by sending another
DescribeImageScanFindings request with the returned nextToken value.
This value can be between 1 and 1000. If this parameter is not used,
then DescribeImageScanFindings returns up to 100 results and a
nextToken value, if applicable.
DescribeImageScanFindings, describeImageScanFindings_nextToken - The nextToken value returned from a previous paginated
DescribeImageScanFindings request where maxResults was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken value.
This value is null when there are no more results to return.
DescribeImageScanFindings, describeImageScanFindings_registryId - The Amazon Web Services account ID associated with the registry that
contains the repository in which to describe the image scan findings
for. If you do not specify a registry, the default registry is assumed.
DescribeImageScanFindings, describeImageScanFindings_repositoryName - The repository for the image for which to describe the scan findings.
DescribeImageScanFindings, describeImageScanFindings_imageId - Undocumented member.
Request Lenses
describeImageScanFindings_maxResults :: Lens' DescribeImageScanFindings (Maybe Natural) Source #
The maximum number of image scan results returned by
DescribeImageScanFindings in paginated output. When this parameter is
used, DescribeImageScanFindings only returns maxResults results in a
single page along with a nextToken response element. The remaining
results of the initial request can be seen by sending another
DescribeImageScanFindings request with the returned nextToken value.
This value can be between 1 and 1000. If this parameter is not used,
then DescribeImageScanFindings returns up to 100 results and a
nextToken value, if applicable.
describeImageScanFindings_nextToken :: Lens' DescribeImageScanFindings (Maybe Text) Source #
The nextToken value returned from a previous paginated
DescribeImageScanFindings request where maxResults was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken value.
This value is null when there are no more results to return.
describeImageScanFindings_registryId :: Lens' DescribeImageScanFindings (Maybe Text) Source #
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
describeImageScanFindings_repositoryName :: Lens' DescribeImageScanFindings Text Source #
The repository for the image for which to describe the scan findings.
describeImageScanFindings_imageId :: Lens' DescribeImageScanFindings ImageIdentifier Source #
Undocumented member.
Destructuring the Response
data DescribeImageScanFindingsResponse Source #
See: newDescribeImageScanFindingsResponse smart constructor.
Constructors
| DescribeImageScanFindingsResponse' | |
Fields
| |
Instances
newDescribeImageScanFindingsResponse Source #
Arguments
| :: Int | |
| -> DescribeImageScanFindingsResponse |
Create a value of DescribeImageScanFindingsResponse 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:
DescribeImageScanFindings, describeImageScanFindingsResponse_imageId - Undocumented member.
$sel:imageScanFindings:DescribeImageScanFindingsResponse', describeImageScanFindingsResponse_imageScanFindings - The information contained in the image scan findings.
DescribeImageScanFindingsResponse, describeImageScanFindingsResponse_imageScanStatus - The current state of the scan.
DescribeImageScanFindings, describeImageScanFindingsResponse_nextToken - The nextToken value to include in a future DescribeImageScanFindings
request. When the results of a DescribeImageScanFindings request
exceed maxResults, this value can be used to retrieve the next page of
results. This value is null when there are no more results to return.
DescribeImageScanFindings, describeImageScanFindingsResponse_registryId - The registry ID associated with the request.
DescribeImageScanFindings, describeImageScanFindingsResponse_repositoryName - The repository name associated with the request.
$sel:httpStatus:DescribeImageScanFindingsResponse', describeImageScanFindingsResponse_httpStatus - The response's http status code.
Response Lenses
describeImageScanFindingsResponse_imageId :: Lens' DescribeImageScanFindingsResponse (Maybe ImageIdentifier) Source #
Undocumented member.
describeImageScanFindingsResponse_imageScanFindings :: Lens' DescribeImageScanFindingsResponse (Maybe ImageScanFindings) Source #
The information contained in the image scan findings.
describeImageScanFindingsResponse_imageScanStatus :: Lens' DescribeImageScanFindingsResponse (Maybe ImageScanStatus) Source #
The current state of the scan.
describeImageScanFindingsResponse_nextToken :: Lens' DescribeImageScanFindingsResponse (Maybe Text) Source #
The nextToken value to include in a future DescribeImageScanFindings
request. When the results of a DescribeImageScanFindings request
exceed maxResults, this value can be used to retrieve the next page of
results. This value is null when there are no more results to return.
describeImageScanFindingsResponse_registryId :: Lens' DescribeImageScanFindingsResponse (Maybe Text) Source #
The registry ID associated with the request.
describeImageScanFindingsResponse_repositoryName :: Lens' DescribeImageScanFindingsResponse (Maybe Text) Source #
The repository name associated with the request.
describeImageScanFindingsResponse_httpStatus :: Lens' DescribeImageScanFindingsResponse Int Source #
The response's http status code.