Skip to main content

auto_ml_job_v2s

Creates, updates, deletes, gets or lists an auto_ml_job_v2s resource.

Overview

Nameauto_ml_job_v2s
TypeResource
Idaws.sagemaker.auto_ml_job_v2s

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_ml_compute_configobjectThe compute configuration used for the AutoML job V2.
auto_ml_job_arnstringReturns the Amazon Resource Name (ARN) of the AutoML job V2. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:automl-job/.*</code>)
auto_ml_job_artifactsobjectThe artifacts that are generated during an AutoML job.
auto_ml_job_input_data_configarrayReturns an array of channel objects describing the input data and their location.
auto_ml_job_namestringReturns the name of the AutoML job V2. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,31}</code>)
auto_ml_job_objectiveobjectSpecifies a metric to minimize or maximize as the objective of an AutoML job.
auto_ml_job_secondary_statusstringReturns the secondary status of the AutoML job V2. (Starting, MaxCandidatesReached, Failed, Stopped, MaxAutoMLJobRuntimeReached, Stopping, CandidateDefinitionsGenerated, Completed, ExplainabilityError, DeployingModel, ModelDeploymentError, GeneratingModelInsightsReport, ModelInsightsError, AnalyzingData, FeatureEngineering, ModelTuning, GeneratingExplainabilityReport, TrainingModels, PreTraining)
auto_ml_job_statusstringReturns the status of the AutoML job V2. (Completed, InProgress, Failed, Stopped, Stopping)
auto_ml_problem_type_configobjectReturns the configuration settings of the problem type set for the AutoML job V2.
auto_ml_problem_type_config_namestringReturns the name of the problem type configuration set for the AutoML job V2. (ImageClassification, TextClassification, TimeSeriesForecasting, Tabular, TextGeneration)
best_candidateobjectInformation about the candidate produced by an AutoML training job V2, including its status, steps, and other properties.
creation_timestring (date-time)Returns the creation time of the AutoML job V2.
data_split_configobjectReturns the configuration settings of how the data are split into train and validation datasets.
end_timestring (date-time)Returns the end time of the AutoML job V2.
failure_reasonstringReturns the reason for the failure of the AutoML job V2, when applicable.
last_modified_timestring (date-time)Returns the job's last modified time.
model_deploy_configobjectIndicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.
model_deploy_resultobjectProvides information about endpoint for the model deployment.
output_data_configobjectReturns the job's output data config.
partial_failure_reasonsarrayReturns a list of reasons for partial failures within an AutoML job V2.
resolved_attributesobjectReturns the resolved attributes used by the AutoML job V2.
role_arnstringThe ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3. (pattern: <code>arn:aws[a-z-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@-_/]+</code>)
security_configobjectReturns the security configuration for traffic encryption or Amazon VPC settings.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_auto_ml_job_v2selectregionReturns information about an AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob.
create_auto_ml_job_v2insertregion, AutoMLJobName, AutoMLJobInputDataConfig, OutputDataConfig, AutoMLProblemTypeConfig, RoleArnCreates an Autopilot job also referred to as Autopilot experiment or AutoML job V2. An AutoML job in SageMaker AI is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker AI then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AI AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment. For more information about AutoML jobs, see https:​//docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html in the SageMaker AI developer guide. AutoML jobs V2 support various problem types such as regression, binary, and multiclass classification with tabular data, text and image classification, time-series forecasting, and fine-tuning of large language models (LLMs) for text generation. CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility. CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning). Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2. For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig. You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

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 AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob.

SELECT
auto_ml_compute_config,
auto_ml_job_arn,
auto_ml_job_artifacts,
auto_ml_job_input_data_config,
auto_ml_job_name,
auto_ml_job_objective,
auto_ml_job_secondary_status,
auto_ml_job_status,
auto_ml_problem_type_config,
auto_ml_problem_type_config_name,
best_candidate,
creation_time,
data_split_config,
end_time,
failure_reason,
last_modified_time,
model_deploy_config,
model_deploy_result,
output_data_config,
partial_failure_reasons,
resolved_attributes,
role_arn,
security_config
FROM aws.sagemaker.auto_ml_job_v2s
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2. An AutoML job in SageMaker AI is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker AI then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AI AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment. For more information about AutoML jobs, see https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html in the SageMaker AI developer guide. AutoML jobs V2 support various problem types such as regression, binary, and multiclass classification with tabular data, text and image classification, time-series forecasting, and fine-tuning of large language models (LLMs) for text generation. CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility. CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning). Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2. For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig. You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

INSERT INTO aws.sagemaker.auto_ml_job_v2s (
AutoMLJobName,
AutoMLJobInputDataConfig,
OutputDataConfig,
AutoMLProblemTypeConfig,
RoleArn,
Tags,
SecurityConfig,
AutoMLJobObjective,
ModelDeployConfig,
DataSplitConfig,
AutoMLComputeConfig,
region
)
SELECT
'{{ AutoMLJobName }}' /* required */,
'{{ AutoMLJobInputDataConfig }}' /* required */,
'{{ OutputDataConfig }}' /* required */,
'{{ AutoMLProblemTypeConfig }}' /* required */,
'{{ RoleArn }}' /* required */,
'{{ Tags }}',
'{{ SecurityConfig }}',
'{{ AutoMLJobObjective }}',
'{{ ModelDeployConfig }}',
'{{ DataSplitConfig }}',
'{{ AutoMLComputeConfig }}',
'{{ region }}'
RETURNING
auto_ml_job_arn
;