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:GetClusterSessionCredentials` — mints temporary HTTP basic credentials for the bound cluster's endpoints (runtime-role / fine-grained access control clusters). The returned `Password` is `Redacted` — unwrap with `Redacted.value`. * ### Connecting to the Cluster * **Example:** Mint Session Credentials * ```typescript * const getCredentials = yield* AWS.EMR.GetClusterSessionCredentials(cluster); * * const { Credentials, ExpiresAt } = yield* getCredentials({ * ExecutionRoleArn: runtimeRoleArn, * }); * const password = Redacted.value( * Credentials!.UsernamePassword.Password! as Redacted.Redacted, * ); * ``` * * @binding */ export interface GetClusterSessionCredentials extends Binding.Service(cluster: C) => Effect.Effect<(request?: Omit) => Effect.Effect>> { } export declare const GetClusterSessionCredentials: GetClusterSessionCredentials; //# sourceMappingURL=GetClusterSessionCredentials.d.ts.map