pub struct CreateAutoMLJobV2FluentBuilder { /* private fields */ }
Expand description

Fluent builder constructing a request to CreateAutoMLJobV2.

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

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, and non-tabular problem types such as image or text classification.

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.

Implementations§

source§

impl CreateAutoMLJobV2FluentBuilder

source

pub fn as_input(&self) -> &CreateAutoMlJobV2InputBuilder

Access the CreateAutoMLJobV2 as a reference.

source

pub async fn send( self ) -> Result<CreateAutoMlJobV2Output, SdkError<CreateAutoMLJobV2Error, HttpResponse>>

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

source

pub async fn customize( self ) -> Result<CustomizableOperation<CreateAutoMlJobV2Output, CreateAutoMLJobV2Error, Self>, SdkError<CreateAutoMLJobV2Error>>

Consumes this builder, creating a customizable operation that can be modified before being sent.

source

pub fn auto_ml_job_name(self, input: impl Into<String>) -> Self

Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

source

pub fn set_auto_ml_job_name(self, input: Option<String>) -> Self

Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

source

pub fn get_auto_ml_job_name(&self) -> &Option<String>

Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

source

pub fn auto_ml_job_input_data_config(self, input: AutoMlJobChannel) -> Self

Appends an item to AutoMLJobInputDataConfig.

To override the contents of this collection use set_auto_ml_job_input_data_config.

An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

  • For tabular problem types: S3Prefix, ManifestFile.

  • For image classification: S3Prefix, ManifestFile, AugmentedManifestFile.

  • For text classification: S3Prefix.

  • For time-series forecasting: S3Prefix.

source

pub fn set_auto_ml_job_input_data_config( self, input: Option<Vec<AutoMlJobChannel>> ) -> Self

An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

  • For tabular problem types: S3Prefix, ManifestFile.

  • For image classification: S3Prefix, ManifestFile, AugmentedManifestFile.

  • For text classification: S3Prefix.

  • For time-series forecasting: S3Prefix.

source

pub fn get_auto_ml_job_input_data_config( &self ) -> &Option<Vec<AutoMlJobChannel>>

An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

  • For tabular problem types: S3Prefix, ManifestFile.

  • For image classification: S3Prefix, ManifestFile, AugmentedManifestFile.

  • For text classification: S3Prefix.

  • For time-series forecasting: S3Prefix.

source

pub fn output_data_config(self, input: AutoMlOutputDataConfig) -> Self

Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job.

source

pub fn set_output_data_config( self, input: Option<AutoMlOutputDataConfig> ) -> Self

Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job.

source

pub fn get_output_data_config(&self) -> &Option<AutoMlOutputDataConfig>

Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job.

source

pub fn auto_ml_problem_type_config(self, input: AutoMlProblemTypeConfig) -> Self

Defines the configuration settings of one of the supported problem types.

source

pub fn set_auto_ml_problem_type_config( self, input: Option<AutoMlProblemTypeConfig> ) -> Self

Defines the configuration settings of one of the supported problem types.

source

pub fn get_auto_ml_problem_type_config( &self ) -> &Option<AutoMlProblemTypeConfig>

Defines the configuration settings of one of the supported problem types.

source

pub fn role_arn(self, input: impl Into<String>) -> Self

The ARN of the role that is used to access the data.

source

pub fn set_role_arn(self, input: Option<String>) -> Self

The ARN of the role that is used to access the data.

source

pub fn get_role_arn(&self) -> &Option<String>

The ARN of the role that is used to access the data.

source

pub fn tags(self, input: Tag) -> Self

Appends an item to Tags.

To override the contents of this collection use set_tags.

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.

source

pub fn security_config(self, input: AutoMlSecurityConfig) -> Self

The security configuration for traffic encryption or Amazon VPC settings.

source

pub fn set_security_config(self, input: Option<AutoMlSecurityConfig>) -> Self

The security configuration for traffic encryption or Amazon VPC settings.

source

pub fn get_security_config(&self) -> &Option<AutoMlSecurityConfig>

The security configuration for traffic encryption or Amazon VPC settings.

source

pub fn auto_ml_job_objective(self, input: AutoMlJobObjective) -> Self

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

For tabular problem types, you must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

source

pub fn set_auto_ml_job_objective( self, input: Option<AutoMlJobObjective> ) -> Self

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

For tabular problem types, you must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

source

pub fn get_auto_ml_job_objective(&self) -> &Option<AutoMlJobObjective>

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

For tabular problem types, you must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

source

pub fn model_deploy_config(self, input: ModelDeployConfig) -> Self

Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

source

pub fn set_model_deploy_config(self, input: Option<ModelDeployConfig>) -> Self

Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

source

pub fn get_model_deploy_config(&self) -> &Option<ModelDeployConfig>

Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

source

pub fn data_split_config(self, input: AutoMlDataSplitConfig) -> Self

This structure specifies how to split the data into train and validation datasets.

The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob, the validation dataset must be less than 2 GB in size.

This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.

source

pub fn set_data_split_config(self, input: Option<AutoMlDataSplitConfig>) -> Self

This structure specifies how to split the data into train and validation datasets.

The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob, the validation dataset must be less than 2 GB in size.

This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.

source

pub fn get_data_split_config(&self) -> &Option<AutoMlDataSplitConfig>

This structure specifies how to split the data into train and validation datasets.

The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob, the validation dataset must be less than 2 GB in size.

This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.

Trait Implementations§

source§

impl Clone for CreateAutoMLJobV2FluentBuilder

source§

fn clone(&self) -> CreateAutoMLJobV2FluentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateAutoMLJobV2FluentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more