| 1 | import type * as SVC from "@distilled.cloud/aws/emr"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `elasticmapreduce:DescribeReleaseLabel` — reads one EMR release label — the applications (with versions) it ships and the OS releases it supports. |
| 7 | * ### Release Catalog |
| 8 | * **Example:** Inspect a Release's Applications |
| 9 | * ```typescript |
| 10 | * const describeReleaseLabel = yield* AWS.EMR.DescribeReleaseLabel(); |
| 11 | * |
| 12 | * const { Applications } = yield* describeReleaseLabel({ |
| 13 | * ReleaseLabel: "emr-7.5.0", |
| 14 | * }); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface DescribeReleaseLabel extends Binding.Service< |
| 20 | DescribeReleaseLabel, |
| 21 | "AWS.EMR.DescribeReleaseLabel", |
| 22 | () => Effect.Effect< |
| 23 | ( |
| 24 | request?: SVC.DescribeReleaseLabelInput, |
| 25 | ) => Effect.Effect< |
| 26 | SVC.DescribeReleaseLabelOutput, |
| 27 | SVC.DescribeReleaseLabelError |
| 28 | > |
| 29 | > |
| 30 | > {} |
| 31 | export const DescribeReleaseLabel = Binding.Service<DescribeReleaseLabel>( |
| 32 | "AWS.EMR.DescribeReleaseLabel", |
| 33 | ); |