List Image Referrers
| ecr_list_image_referrers | R Documentation |
Lists the artifacts associated with a specified subject image¶
Description¶
Lists the artifacts associated with a specified subject image.
The IAM principal invoking this operation must have the
ecr:BatchGetImage permission.
Usage¶
ecr_list_image_referrers(registryId, repositoryName, subjectId, filter,
nextToken, maxResults)
Arguments¶
registryId |
The Amazon Web Services account ID associated with the registry that contains the repository in which to list image referrers. If you do not specify a registry, the default registry is assumed. |
repositoryName |
[required] The name of the repository that contains the subject image. |
subjectId |
[required] An object containing the image digest of the subject image for which to retrieve associated artifacts. |
filter |
The filter key and value with which to filter your
|
nextToken |
The 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. |
maxResults |
The maximum number of image referrer results returned by
|
Value¶
A list with the following syntax:
list(
referrers = list(
list(
digest = "string",
mediaType = "string",
artifactType = "string",
size = 123,
annotations = list(
"string"
),
artifactStatus = "ACTIVE"|"ARCHIVED"|"ACTIVATING"
)
),
nextToken = "string"
)
Request syntax¶
svc$list_image_referrers(
registryId = "string",
repositoryName = "string",
subjectId = list(
imageDigest = "string"
),
filter = list(
artifactTypes = list(
"string"
),
artifactStatus = "ACTIVE"|"ARCHIVED"|"ACTIVATING"|"ANY"
),
nextToken = "string",
maxResults = 123
)