Learn R Programming

paws.compute (version 0.1.0)

ecr_get_lifecycle_policy_preview: Retrieves the results of the specified lifecycle policy preview request

Description

Retrieves the results of the specified lifecycle policy preview request.

Usage

ecr_get_lifecycle_policy_preview(registryId, repositoryName, imageIds,
  nextToken, maxResults, filter)

Arguments

registryId

The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

repositoryName

[required] The name of the repository.

imageIds

The list of imageIDs to be included.

nextToken

The nextToken value returned from a previous paginated<U+00E2><U+20AC><U+00A8> GetLifecyclePolicyPreviewRequest request where maxResults was used and the<U+00E2><U+20AC><U+00A8> results exceeded the value of that parameter. Pagination continues from the end of the<U+00E2><U+20AC><U+00A8> previous results that returned the nextToken value. This value is<U+00E2><U+20AC><U+00A8> null when there are no more results to return. This option cannot be used when you specify images with imageIds.

maxResults

The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in<U+00E2><U+20AC><U+00A8> paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns<U+00E2><U+20AC><U+00A8> maxResults results in a single page along with a nextToken<U+00E2><U+20AC><U+00A8> response element. The remaining results of the initial request can be seen by sending<U+00E2><U+20AC><U+00A8> another GetLifecyclePolicyPreviewRequest request with the returned nextToken<U+00E2><U+20AC><U+00A8> value. This value can be between 1 and 1000. If this<U+00E2><U+20AC><U+00A8> parameter is not used, then GetLifecyclePolicyPreviewRequest returns up to<U+00E2><U+20AC><U+00A8> 100 results and a nextToken value, if<U+00E2><U+20AC><U+00A8> applicable. This option cannot be used when you specify images with imageIds.

filter

An optional parameter that filters results based on image tag status and all tags, if tagged.

Request syntax

svc$get_lifecycle_policy_preview(
  registryId = "string",
  repositoryName = "string",
  imageIds = list(
    list(
      imageDigest = "string",
      imageTag = "string"
    )
  ),
  nextToken = "string",
  maxResults = 123,
  filter = list(
    tagStatus = "TAGGED"|"UNTAGGED"|"ANY"
  )
)