Skip to content

DescribeManagedEndpoint

Source: src/AWS/EMRContainers/DescribeManagedEndpoint.ts

Runtime binding for emr-containers:DescribeManagedEndpoint.

Reads a managed endpoint (the EMR Studio gateway) on the bound VirtualCluster — its state, server URL, and security group. The virtual cluster ID is injected from the binding; pass the endpoint id. Provide the implementation with Effect.provide(AWS.EMRContainers.DescribeManagedEndpointHttp).

// init
const describeManagedEndpoint =
yield* AWS.EMRContainers.DescribeManagedEndpoint(virtualCluster);
// runtime
const { endpoint } = yield* describeManagedEndpoint({ id: endpointId });
yield* Effect.log(`endpoint state: ${endpoint?.state}`);