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,
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/async_sage_maker.py
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 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 | |