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
5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 | |