Method: Aws::ECR::Client#delete_repository
- Defined in:
- lib/aws-sdk-ecr/client.rb
#delete_repository(params = {}) ⇒ Types::DeleteRepositoryResponse
Deletes a repository. If the repository isn’t empty, you must either delete the contents of the repository or use the ‘force` option to delete the repository and have Amazon ECR delete all of its contents on your behalf.
1367 1368 1369 1370 |
# File 'lib/aws-sdk-ecr/client.rb', line 1367 def delete_repository(params = {}, = {}) req = build_request(:delete_repository, params) req.send_request() end |