Amazon SageMaker Unified Studio is in preview release and is subject to change.
Domain
Domain
can be initialized using the following command.
from sagemaker_ui_helper import Domain dom = Domain()
If you are not using the Amazon SageMaker UI Helper within Amazon SageMaker Unified Studio Jupyter Lab, you will need to provide the ID of the domain you want to use.
dom = Domain(id="123456")
Domain Properties
A Domain
object has several string properties that can provide information about the domain that you are using.
dom.id dom.root_domain_unit_id dom.name dom.domain_execution_role dom.status dom.portal_url