sagemaker.core.interactive_apps.detail_profiler_app#
Methods for starting up and accessing DetailProfiler apps
This module contains methods for starting up and accessing DetailProfiler apps hosted on SageMaker
Classes
|
Class for creating/accessing a DetailProfiler app hosted on SageMaker. |
- class sagemaker.core.interactive_apps.detail_profiler_app.DetailProfilerApp(region: str | None = None)[source]#
Bases:
objectClass for creating/accessing a DetailProfiler app hosted on SageMaker.
- get_app_url(training_job_name: str | None = None)[source]#
Get an unsigned URL for DetailProfiler app hosted on SageMaker.
For users that are already in SM Studio notebook instance, the method tries to get domain id and user profile from the Studio environment. If succeeded, the generated URL will direct to SM DetailProfiler app. Otherwise it will direct to DetailProfiler landing page on SageMaker console. For non Studio users, the URL will direct to the DetailProfiler landing page on SageMaker console.
- Parameters:
training_job_name (str) – Optional. The name of the training job to pre-load in DetailProfiler. If not provided, no job will be automatically loaded when the URL is opened.
- Returns:
An unsigned URL for DetailProfiler hosted on SageMaker.
- Return type:
str