flytekitplugins.awssagemaker_inference.delete_sagemaker_deployment

flytekitplugins.awssagemaker_inference.delete_sagemaker_deployment(name, region=None, region_at_runtime=False)[source]

Deletes SageMaker model, endpoint config and endpoint.

Parameters:
  • name (str) – The prefix to be added to the task names.

  • region (str | None) – The region to use for SageMaker API calls.

  • region_at_runtime (bool) – Set this to True if you want to provide the region at runtime.

Return type:

ImperativeWorkflow