create_mlflow_app
async
¶
create_mlflow_app(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
name: Optional[MlflowAppName] = None,
artifact_store_uri: Optional[S3Uri] = None,
role_arn: Optional[RoleArn] = None,
kms_key_id: Optional[KmsKeyId] = None,
model_registration_mode: Optional[ModelRegistrationMode] = None,
weekly_maintenance_window_start: Optional[WeeklyMaintenanceWindowStart] = None,
account_default_status: Optional[AccountDefaultStatus] = None,
default_domain_id_list: Optional[DefaultDomainIdList] = None,
tags: Optional[TagList] = None,
) -> CreateMlflowAppResponse
Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store.
Parameters:
-
name(Optional[MlflowAppName], default:None) –A string identifying the MLflow app name. This string is not 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 App artifact store.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) for an IAM role in your account that the MLflow App uses to access the artifact store in Amazon S3. The role should have the
AmazonS3FullAccesspermission. -
kms_key_id(Optional[KmsKeyId], default:None) –The ID of the Amazon Web Services KMS key used to encrypt the data at rest associated with the MLflow App. If you don't specify a value, the MLflow App is not encrypted with a customer-managed key.
-
model_registration_mode(Optional[ModelRegistrationMode], 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
AutoModelRegistrationEnabled. To disable automatic model registration, set this value toAutoModelRegistrationDisabled. If not specified,AutomaticModelRegistrationdefaults toAutoModelRegistrationDisabled. -
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.
-
account_default_status(Optional[AccountDefaultStatus], default:None) –Indicates whether this MLflow app is the default for the entire account.
-
default_domain_id_list(Optional[DefaultDomainIdList], default:None) –List of SageMaker domain IDs for which this MLflow App is used as the default.
-
tags(Optional[TagList], default:None) –Tags consisting of key-value pairs used to manage metadata for the MLflow App.
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
5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 | |