Skip to content

DescribeEndpoint

Source: src/AWS/SageMaker/DescribeEndpoint.ts

Runtime binding for sagemaker:DescribeEndpoint — read a live endpoint’s status, variants, and deployment state from a function runtime.

Bind this operation to an Endpoint inside a function runtime to get a callable that automatically injects the endpoint name. Use it to check EndpointStatus (e.g. gate invocations while an update is rolling) or to observe per-variant weights and instance counts.

// init
const describeEndpoint = yield* AWS.SageMaker.DescribeEndpoint(endpoint);
// runtime
const { EndpointStatus, ProductionVariants } = yield* describeEndpoint();