Skip to content

DescribeDBClusterEndpoints

Source: src/AWS/Neptune/DescribeDBClusterEndpoints.ts

Runtime binding for the DescribeDBClusterEndpoints operation (IAM action rds:DescribeDBClusterEndpoints).

Lists a Neptune cluster’s endpoints — the writer, reader, and any custom endpoints — so a function can discover the host names to route Gremlin or openCypher traffic to. Provide the implementation with Effect.provide(AWS.Neptune.DescribeDBClusterEndpointsHttp).

const describeDBClusterEndpoints =
yield* AWS.Neptune.DescribeDBClusterEndpoints();
const page = yield* describeDBClusterEndpoints({
DBClusterIdentifier: clusterId,
});
const endpoints = page.DBClusterEndpoints?.map((e) => e.Endpoint);