import type * as ecr from "@distilled.cloud/aws/ecr"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Repository } from "./Repository.ts"; /** * Request for {@link UploadLayerPart} — `repositoryName` is injected from the * bound {@link Repository} (the registry defaults to the caller's account). */ export interface UploadLayerPartRequest extends Omit { } /** * Runtime binding for `ecr:UploadLayerPart`. * * Uploads one chunk of a layer blob to an open upload in the bound repository (non-final parts must be at least 5 MiB). Provide the implementation with * `Effect.provide(AWS.ECR.UploadLayerPartHttp)`. * ### Pushing Images * **Example:** Upload a Single-Part Layer * ```typescript * const uploadPart = yield* AWS.ECR.UploadLayerPart(repository); * * yield* uploadPart({ * uploadId: uploadId!, * partFirstByte: 0, * partLastByte: blob.length - 1, * layerPartBlob: blob, * }); * ``` * * @binding */ export interface UploadLayerPart extends Binding.Service Effect.Effect<(request: UploadLayerPartRequest) => Effect.Effect>> { } export declare const UploadLayerPart: UploadLayerPart; //# sourceMappingURL=UploadLayerPart.d.ts.map