Skip to content

Describe Pull Through Cache Rules

ecr_describe_pull_through_cache_rules R Documentation

Returns the pull through cache rules for a registry

Description

Returns the pull through cache rules for a registry.

Usage

ecr_describe_pull_through_cache_rules(registryId, ecrRepositoryPrefixes,
  nextToken, maxResults)

Arguments

registryId

The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.

ecrRepositoryPrefixes

The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.

nextToken

The nextToken value returned from a previous paginated DescribePullThroughCacheRulesRequest 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.

maxResults

The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest 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 DescribePullThroughCacheRulesRequest request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken value, if applicable.

Value

A list with the following syntax:

list(
  pullThroughCacheRules = list(
    list(
      ecrRepositoryPrefix = "string",
      upstreamRegistryUrl = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      registryId = "string",
      credentialArn = "string",
      upstreamRegistry = "ecr-public"|"quay"|"k8s"|"docker-hub"|"github-container-registry"|"azure-container-registry"|"gitlab-container-registry",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_pull_through_cache_rules(
  registryId = "string",
  ecrRepositoryPrefixes = list(
    "string"
  ),
  nextToken = "string",
  maxResults = 123
)