Get Lifecycle Policy Preview
ecr_get_lifecycle_policy_preview | R Documentation |
Retrieves the results of the lifecycle policy preview request for the specified repository¶
Description¶
Retrieves the results of the lifecycle policy preview request for the specified repository.
Usage¶
ecr_get_lifecycle_policy_preview(registryId, repositoryName, imageIds,
nextToken, maxResults, filter)
Arguments¶
registryId |
The Amazon Web Services 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 |
maxResults |
The maximum number of repository results returned by
|
filter |
An optional parameter that filters results based on image tag status and all tags, if tagged. |
Value¶
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
lifecyclePolicyText = "string",
status = "IN_PROGRESS"|"COMPLETE"|"EXPIRED"|"FAILED",
nextToken = "string",
previewResults = list(
list(
imageTags = list(
"string"
),
imageDigest = "string",
imagePushedAt = as.POSIXct(
"2015-01-01"
),
action = list(
type = "EXPIRE"
),
appliedRulePriority = 123
)
),
summary = list(
expiringImageTotalCount = 123
)
)
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"
)
)