import type * as SVC from "@distilled.cloud/aws/emr"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Cluster } from "./Cluster.ts"; /** * Runtime binding for `elasticmapreduce:GetOnClusterAppUIPresignedURL` — mints a presigned URL for a live application UI (Spark UI, YARN ResourceManager, Tez) on the bound cluster. * ### Application UIs * **Example:** Link to the Spark UI * ```typescript * const getAppUrl = yield* AWS.EMR.GetOnClusterAppUIPresignedURL(cluster); * * const { PresignedURL } = yield* getAppUrl({ * OnClusterAppUIType: "ApplicationMaster", * }); * ``` * * @binding */ export interface GetOnClusterAppUIPresignedURL extends Binding.Service< GetOnClusterAppUIPresignedURL, "AWS.EMR.GetOnClusterAppUIPresignedURL", ( cluster: C, ) => Effect.Effect< ( request?: Omit, ) => Effect.Effect< SVC.GetOnClusterAppUIPresignedURLOutput, SVC.GetOnClusterAppUIPresignedURLError > > > {} export const GetOnClusterAppUIPresignedURL = Binding.Service( "AWS.EMR.GetOnClusterAppUIPresignedURL", );