BatchCheckLayerAvailability
Source:
src/AWS/ECRPublic/BatchCheckLayerAvailability.ts
Runtime binding for ecr-public:BatchCheckLayerAvailability.
Checks whether image layers already exist in the bound
PublicRepository so a push can skip re-uploading them. Provide
the implementation with
Effect.provide(AWS.ECRPublic.BatchCheckLayerAvailabilityHttp).
Pushing Images
Section titled “Pushing Images”// initconst checkLayers = yield* AWS.ECRPublic.BatchCheckLayerAvailability(repository);
// runtimeconst result = yield* checkLayers({ layerDigests: ["sha256:abc..."] });const missing = (result.failures ?? []).map((f) => f.layerDigest);