create_mlflow_app
¶
create_mlflow_app(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
name: Optional[MlflowAppName] = None,
artifact_store_uri: Optional[S3Uri] = None,
role_arn: Optional[RoleArn] = None,
kms_key_id: Optional[KmsKeyId] = None,
access_control_configuration: Optional[AccessControlConfiguration] = 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.
-
access_control_configuration(Optional[AccessControlConfiguration], default:None) –Specifies the fine-grained access control (FGAC) configuration for the MLflow App, including whether FGAC is enabled and the Platform Admin. To enable FGAC when you create the app, set
StatustoENABLEDand specify anAdminPrincipalArn. If you don't specify this parameter, the app doesn't use FGAC. -
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/sage_maker.py
5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 | |