import type * as greengrassv2 from "@distilled.cloud/aws/greengrassv2"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { ComponentVersion } from "./ComponentVersion.ts"; /** * Runtime binding for `greengrass:GetComponentVersionArtifact`. * * Mints a pre-signed download URL for one of the bound * {@link ComponentVersion}'s artifacts (the same API core devices use to * fetch artifacts during installation). The component version ARN is * injected from the binding; the caller names the artifact. Provide the * implementation with * `Effect.provide(AWS.GreengrassV2.GetComponentVersionArtifactHttp)`. * ### Reading Components * **Example:** Mint An Artifact Download URL * ```typescript * // init — bind the operation to the component version * const getArtifact = yield* AWS.GreengrassV2.GetComponentVersionArtifact(component); * * // runtime * const { preSignedUrl } = yield* getArtifact({ artifactName: "installer.zip" }); * ``` * * @binding */ export interface GetComponentVersionArtifact extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const GetComponentVersionArtifact: GetComponentVersionArtifact; //# sourceMappingURL=GetComponentVersionArtifact.d.ts.map