Skip to content

BatchDeleteImage

Source: src/AWS/ECRPublic/BatchDeleteImage.ts

Runtime binding for ecr-public:BatchDeleteImage.

Deletes images (by tag or digest) from the bound PublicRepository. Per-image failures (e.g. ImageNotFound) are reported in the response’s failures list, not as errors. Provide the implementation with Effect.provide(AWS.ECRPublic.BatchDeleteImageHttp).

// init
const batchDeleteImage = yield* AWS.ECRPublic.BatchDeleteImage(repository);
// runtime
const result = yield* batchDeleteImage({
imageIds: [{ imageTag: "stale" }],
});