paws.compute (version 0.1.0)

ecr_delete_repository: Deletes an existing image repository

Description

Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.

Usage

ecr_delete_repository(registryId, repositoryName, force)

Arguments

registryId

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

repositoryName

[required] The name of the repository to delete.

force

If a repository contains images, forces the deletion.

Request syntax

svc$delete_repository(
  registryId = "string",
  repositoryName = "string",
  force = TRUE|FALSE
)

Examples

Run this code
# NOT RUN {
# This example force deletes a repository named ubuntu in the default
# registry for an account. The force parameter is required if the
# repository contains images.
# }
# NOT RUN {
svc$delete_repository(
  force = TRUE,
  repositoryName = "ubuntu"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace