Skip to content

DescribeImageScanFindingsRequest

Source code in docs_src/capo_ecr_public/types/describe_image_scan_findings_request.py
class DescribeImageScanFindingsRequest(TypedDict, closed=True):
    registry_id: NotRequired["capo_ecr_public.types.registry_id.RegistryId"]
    """<p>The Amazon Web Services account ID that's associated with the public registry that contains the repository where the image is. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.</p>"""
    repository_name: "capo_ecr_public.types.repository_name.RepositoryName"
    """<p>The repository that contains the image to describe scan findings for.</p>"""
    repository_type: NotRequired["capo_ecr_public.types.repository_type.RepositoryType"]
    """<p>The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specify <code>PREMIUM</code>. If you don't specify a type, Amazon ECR uses <code>FREE</code>, and the request fails with <code>ValidationException</code>.</p>"""
    image_id: "capo_ecr_public.types.image_identifier.ImageIdentifier"
    """<p>The image ID of the image to describe scan findings for.</p>"""
    next_token: NotRequired["capo_ecr_public.types.next_token.NextToken"]
    """<p>The <code>nextToken</code> value that's returned from a previous paginated <code>DescribeImageScanFindings</code> request where you used <code>maxResults</code> and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. If there are no more results to return, this value is <code>null</code>.</p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>"""
    max_results: NotRequired[
        "capo_ecr_public.types.hundred_max_results.HundredMaxResults"
    ]
    """<p>The maximum number of results that <code>DescribeImageScanFindings</code> returns in paginated output. When you use this parameter, <code>DescribeImageScanFindings</code> returns only <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. To see the remaining results, send another <code>DescribeImageScanFindings</code> request with the returned <code>nextToken</code> value. You can specify a value between 1 and 100. If you don't use this parameter, <code>DescribeImageScanFindings</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>"""

image_id instance-attribute

image_id: ImageIdentifier

The image ID of the image to describe scan findings for.

max_results instance-attribute

max_results: NotRequired[HundredMaxResults]

The maximum number of results that DescribeImageScanFindings returns in paginated output. When you use this parameter, DescribeImageScanFindings returns only maxResults results in a single page along with a nextToken response element. To see the remaining results, send another DescribeImageScanFindings request with the returned nextToken value. You can specify a value between 1 and 100. If you don't use this parameter, DescribeImageScanFindings returns up to 100 results and a nextToken value, if applicable.

next_token instance-attribute

next_token: NotRequired[NextToken]

The nextToken value that's returned from a previous paginated DescribeImageScanFindings request where you used maxResults and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

The Amazon Web Services account ID that's associated with the public registry that contains the repository where the image is. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.

repository_name instance-attribute

repository_name: RepositoryName

The repository that contains the image to describe scan findings for.

repository_type instance-attribute

repository_type: NotRequired[RepositoryType]

The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specify PREMIUM. If you don't specify a type, Amazon ECR uses FREE, and the request fails with ValidationException.