aws_sdk_sagemaker/client/create_mlflow_app.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateMlflowApp`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_name):<br>required: **true**<br><p>A string identifying the MLflow app name. This string is not part of the tracking server ARN.</p><br>
7 /// - [`artifact_store_uri(impl Into<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::artifact_store_uri) / [`set_artifact_store_uri(Option<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_artifact_store_uri):<br>required: **true**<br><p>The S3 URI for a general purpose bucket to use as the MLflow App artifact store.</p><br>
8 /// - [`role_arn(impl Into<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_role_arn):<br>required: **true**<br><p>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 <code>AmazonS3FullAccess</code> permission.</p><br>
9 /// - [`model_registration_mode(ModelRegistrationMode)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::model_registration_mode) / [`set_model_registration_mode(Option<ModelRegistrationMode>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_model_registration_mode):<br>required: **false**<br><p>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 <code>AutoModelRegistrationEnabled</code>. To disable automatic model registration, set this value to <code>AutoModelRegistrationDisabled</code>. If not specified, <code>AutomaticModelRegistration</code> defaults to <code>AutoModelRegistrationDisabled</code>.</p><br>
10 /// - [`weekly_maintenance_window_start(impl Into<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::weekly_maintenance_window_start) / [`set_weekly_maintenance_window_start(Option<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_weekly_maintenance_window_start):<br>required: **false**<br><p>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.</p><br>
11 /// - [`account_default_status(AccountDefaultStatus)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::account_default_status) / [`set_account_default_status(Option<AccountDefaultStatus>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_account_default_status):<br>required: **false**<br><p>Indicates whether this MLflow app is the default for the entire account.</p><br>
12 /// - [`default_domain_id_list(impl Into<String>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::default_domain_id_list) / [`set_default_domain_id_list(Option<Vec::<String>>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_default_domain_id_list):<br>required: **false**<br><p>List of SageMaker domain IDs for which this MLflow App is used as the default.</p><br>
13 /// - [`tags(Tag)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::set_tags):<br>required: **false**<br><p>Tags consisting of key-value pairs used to manage metadata for the MLflow App.</p><br>
14 /// - On success, responds with [`CreateMlflowAppOutput`](crate::operation::create_mlflow_app::CreateMlflowAppOutput) with field(s):
15 /// - [`arn(Option<String>)`](crate::operation::create_mlflow_app::CreateMlflowAppOutput::arn): <p>The ARN of the MLflow App.</p>
16 /// - On failure, responds with [`SdkError<CreateMlflowAppError>`](crate::operation::create_mlflow_app::CreateMlflowAppError)
17 pub fn create_mlflow_app(&self) -> crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder {
18 crate::operation::create_mlflow_app::builders::CreateMlflowAppFluentBuilder::new(self.handle.clone())
19 }
20}