Skip to content

Delete Lifecycle Policy

ecr_delete_lifecycle_policy R Documentation

Deletes the lifecycle policy associated with the specified repository

Description

Deletes the lifecycle policy associated with the specified repository.

Usage

ecr_delete_lifecycle_policy(registryId, repositoryName)

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.

Value

A list with the following syntax:

list(
  registryId = "string",
  repositoryName = "string",
  lifecyclePolicyText = "string",
  lastEvaluatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$delete_lifecycle_policy(
  registryId = "string",
  repositoryName = "string"
)