Skip to main content

mlflow_apps

Creates, updates, deletes, gets or lists a mlflow_apps resource.

Overview

Namemlflow_apps
TypeResource
Idaws.sagemaker.mlflow_apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_default_statusstringIndicates whether this MLflow app is the default for the entire account. (ENABLED, DISABLED)
arnstringThe ARN of the MLflow App. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:mlflow-app/.*</code>)
artifact_store_uristringThe S3 URI of the general purpose bucket used as the MLflow App artifact store. (pattern: <code>(https|s3):​//([^/]+)/?(.*)</code>)
created_byobjectInformation about the user who created or modified a SageMaker resource.
creation_timestring (date-time)The timestamp when the MLflow App was created.
default_domain_id_listarrayList of SageMaker Domain IDs for which this MLflow App is the default.
last_modified_byobjectInformation about the user who created or modified a SageMaker resource.
last_modified_timestring (date-time)The timestamp when the MLflow App was last modified.
maintenance_statusstringCurrent maintenance status of the MLflow App. (MaintenanceInProgress, MaintenanceComplete, MaintenanceFailed)
mlflow_versionstringThe MLflow version used. (pattern: <code>[0-9].[0-9].[0-9]*</code>)
model_registration_modestringWhether automatic registration of new MLflow models to the SageMaker Model Registry is enabled. (AutoModelRegistrationEnabled, AutoModelRegistrationDisabled)
namestringThe name of the MLflow App. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,255}</code>)
role_arnstringThe Amazon Resource Name (ARN) for an IAM role in your account that the MLflow App uses to access the artifact store in Amazon S3. (pattern: <code>arn:aws[a-z-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@-_/]+</code>)
statusstringThe current creation status of the described MLflow App. (Creating, Created, CreateFailed, Updating, Updated, UpdateFailed, Deleting, DeleteFailed, Deleted)
weekly_maintenance_window_startstringThe day and time of the week when weekly maintenance occurs. (pattern: <code>(Mon|Tue|Wed|Thu|Fri|Sat|Sun):([01]\d|2[0-3]):([0-5]\d)</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_mlflow_appselectregionReturns information about an MLflow App.
create_mlflow_appinsertregion, ArtifactStoreUri, RoleArnCreates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store.
update_mlflow_appupdateregionUpdates an MLflow App.
delete_mlflow_appdeleteregionDeletes an MLflow App.
list_mlflow_appsexecregionLists all MLflow Apps

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about an MLflow App.

SELECT
account_default_status,
arn,
artifact_store_uri,
created_by,
creation_time,
default_domain_id_list,
last_modified_by,
last_modified_time,
maintenance_status,
mlflow_version,
model_registration_mode,
name,
role_arn,
status,
weekly_maintenance_window_start
FROM aws.sagemaker.mlflow_apps
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store.

INSERT INTO aws.sagemaker.mlflow_apps (
Name,
ArtifactStoreUri,
RoleArn,
ModelRegistrationMode,
WeeklyMaintenanceWindowStart,
AccountDefaultStatus,
DefaultDomainIdList,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ ArtifactStoreUri }}' /* required */,
'{{ RoleArn }}' /* required */,
'{{ ModelRegistrationMode }}',
'{{ WeeklyMaintenanceWindowStart }}',
'{{ AccountDefaultStatus }}',
'{{ DefaultDomainIdList }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
arn
;

UPDATE examples

Updates an MLflow App.

UPDATE aws.sagemaker.mlflow_apps
SET
Arn = '{{ Arn }}',
Name = '{{ Name }}',
ArtifactStoreUri = '{{ ArtifactStoreUri }}',
ModelRegistrationMode = '{{ ModelRegistrationMode }}',
WeeklyMaintenanceWindowStart = '{{ WeeklyMaintenanceWindowStart }}',
DefaultDomainIdList = '{{ DefaultDomainIdList }}',
AccountDefaultStatus = '{{ AccountDefaultStatus }}'
WHERE
region = '{{ region }}' --required
RETURNING
arn;

DELETE examples

Deletes an MLflow App.

DELETE FROM aws.sagemaker.mlflow_apps
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Lists all MLflow Apps

EXEC aws.sagemaker.mlflow_apps.list_mlflow_apps
@region='{{ region }}' --required
@@json=
'{
"CreatedAfter": "{{ CreatedAfter }}",
"CreatedBefore": "{{ CreatedBefore }}",
"Status": "{{ Status }}",
"MlflowVersion": "{{ MlflowVersion }}",
"DefaultForDomainId": "{{ DefaultForDomainId }}",
"AccountDefaultStatus": "{{ AccountDefaultStatus }}",
"SortBy": "{{ SortBy }}",
"SortOrder": "{{ SortOrder }}",
"NextToken": "{{ NextToken }}",
"MaxResults": {{ MaxResults }}
}'
;