TimeSeriesEndpoint¶
- class autogluon.cloud.TimeSeriesEndpoint(endpoint_name: str, session: Session | None = None)[source]¶
High-level handle for an AutoGluon-Cloud time series inference endpoint.
Wraps a SageMaker endpoint with the AutoGluon-Cloud serializer/deserializer pair, providing a clean
predict()interface. Use this to attach to an existing endpoint by name. To create a new endpoint, callautogluon.cloud.TimeSeriesFoundationModel.deploy(), which returns aTimeSeriesEndpointalready pointing at the new endpoint.- Parameters:
endpoint_name – Name of an existing SageMaker endpoint deployed via AutoGluon-Cloud (e.g. through
autogluon.cloud.TimeSeriesFoundationModel.deploy()). The endpoint must understand the AutoGluon-Cloud request payload format.session –
boto3.Sessionused to invoke and delete the endpoint. IfNone, the default ambient session is used.
Methods
Delete the endpoint and its backing model + endpoint config.
Run real-time prediction on the deployed endpoint.
Attributes
endpoint_name