create_mlflow_tracking_server
async
¶
create_mlflow_tracking_server(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
tracking_server_name: Optional[TrackingServerName] = None,
artifact_store_uri: Optional[S3Uri] = None,
tracking_server_size: Optional[TrackingServerSize] = None,
mlflow_version: Optional[MlflowVersion] = None,
role_arn: Optional[RoleArn] = None,
automatic_model_registration: Optional[Boolean] = None,
weekly_maintenance_window_start: Optional[WeeklyMaintenanceWindowStart] = None,
tags: Optional[TagList] = None,
s3_bucket_owner_account_id: Optional[AccountId] = None,
s3_bucket_owner_verification: Optional[Boolean] = None,
) -> CreateMlflowTrackingServerResponse
Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store. For more information, see Create an MLflow Tracking Server.
Parameters:
-
tracking_server_name(Optional[TrackingServerName], default:None) –A unique string identifying the tracking server name. This string is part of the tracking server ARN.
-
artifact_store_uri(Optional[S3Uri], default:None) –The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store.
-
tracking_server_size(Optional[TrackingServerSize], default:None) –The size of the tracking server you want to create. You can choose between
"Small","Medium", and"Large". The default MLflow Tracking Server configuration size is"Small". You can choose a size depending on the projected use of the tracking server such as the volume of data logged, number of users, and frequency of use.We recommend using a small tracking server for teams of up to 25 users, a medium tracking server for teams of up to 50 users, and a large tracking server for teams of up to 100 users.
-
mlflow_version(Optional[MlflowVersion], default:None) –The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see How it works.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) for an IAM role in your account that the MLflow Tracking Server uses to access the artifact store in Amazon S3. The role should have
AmazonS3FullAccesspermissions. For more information on IAM permissions for tracking server creation, see Set up IAM permissions for MLflow. -
automatic_model_registration(Optional[Boolean], default:None) –Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry. To enable automatic model registration, set this value to
True. To disable automatic model registration, set this value toFalse. If not specified,AutomaticModelRegistrationdefaults toFalse. -
weekly_maintenance_window_start(Optional[WeeklyMaintenanceWindowStart], default:None) –The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30.
-
tags(Optional[TagList], default:None) –Tags consisting of key-value pairs used to manage metadata for the tracking server.
-
s3_bucket_owner_account_id(Optional[AccountId], default:None) –Expected Amazon Web Services account ID that owns the Amazon S3 bucket for artifact storage. Defaults to caller's account ID if not provided.
-
s3_bucket_owner_verification(Optional[Boolean], default:None) –Enable Amazon S3 Ownership checks when interacting with Amazon S3 buckets from a SageMaker Managed MLflow Tracking Server. Defaults to
Trueif not provided.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 | |