#[non_exhaustive]
pub struct DescribePredictorOutput {
Show 24 fields pub predictor_arn: Option<String>, pub predictor_name: Option<String>, pub algorithm_arn: Option<String>, pub auto_ml_algorithm_arns: Option<Vec<String>>, pub forecast_horizon: Option<i32>, pub forecast_types: Option<Vec<String>>, pub perform_auto_ml: Option<bool>, pub auto_ml_override_strategy: Option<AutoMlOverrideStrategy>, pub perform_hpo: Option<bool>, pub training_parameters: Option<HashMap<String, String>>, pub evaluation_parameters: Option<EvaluationParameters>, pub hpo_config: Option<HyperParameterTuningJobConfig>, pub input_data_config: Option<InputDataConfig>, pub featurization_config: Option<FeaturizationConfig>, pub encryption_config: Option<EncryptionConfig>, pub predictor_execution_details: Option<PredictorExecutionDetails>, pub estimated_time_remaining_in_minutes: Option<i64>, pub is_auto_predictor: Option<bool>, pub dataset_import_job_arns: Option<Vec<String>>, pub status: Option<String>, pub message: Option<String>, pub creation_time: Option<DateTime>, pub last_modification_time: Option<DateTime>, pub optimization_metric: Option<OptimizationMetric>, /* private fields */
}

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§predictor_arn: Option<String>

The ARN of the predictor.

§predictor_name: Option<String>

The name of the predictor.

§algorithm_arn: Option<String>

The Amazon Resource Name (ARN) of the algorithm used for model training.

§auto_ml_algorithm_arns: Option<Vec<String>>

When PerformAutoML is specified, the ARN of the chosen algorithm.

§forecast_horizon: Option<i32>

The number of time-steps of the forecast. The forecast horizon is also called the prediction length.

§forecast_types: Option<Vec<String>>

The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"]

§perform_auto_ml: Option<bool>

Whether the predictor is set to perform AutoML.

§auto_ml_override_strategy: Option<AutoMlOverrideStrategy>

The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.

The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy.

This parameter is only valid for predictors trained using AutoML.

§perform_hpo: Option<bool>

Whether the predictor is set to perform hyperparameter optimization (HPO).

§training_parameters: Option<HashMap<String, String>>

The default training parameters or overrides selected during model training. When running AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

§evaluation_parameters: Option<EvaluationParameters>

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.

§hpo_config: Option<HyperParameterTuningJobConfig>

The hyperparameter override values for the algorithm.

§input_data_config: Option<InputDataConfig>

Describes the dataset group that contains the data to use to train the predictor.

§featurization_config: Option<FeaturizationConfig>

The featurization configuration.

§encryption_config: Option<EncryptionConfig>

An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.

§predictor_execution_details: Option<PredictorExecutionDetails>

Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.

§estimated_time_remaining_in_minutes: Option<i64>

The estimated time remaining in minutes for the predictor training job to complete.

§is_auto_predictor: Option<bool>

Whether the predictor was created with CreateAutoPredictor.

§dataset_import_job_arns: Option<Vec<String>>

An array of the ARNs of the dataset import jobs used to import training data for the predictor.

§status: Option<String>

The status of the predictor. States include:

  • ACTIVE

  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

  • CREATE_STOPPING, CREATE_STOPPED

The Status of the predictor must be ACTIVE before you can use the predictor to create a forecast.

§message: Option<String>

If an error occurred, an informational message about the error.

§creation_time: Option<DateTime>

When the model training task was created.

§last_modification_time: Option<DateTime>

The last time the resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.

  • CREATE_IN_PROGRESS - The current timestamp.

  • CREATE_STOPPING - The current timestamp.

  • CREATE_STOPPED - When the job stopped.

  • ACTIVE or CREATE_FAILED - When the job finished or failed.

§optimization_metric: Option<OptimizationMetric>

The accuracy metric used to optimize the predictor.

Implementations§

source§

impl DescribePredictorOutput

source

pub fn predictor_arn(&self) -> Option<&str>

The ARN of the predictor.

source

pub fn predictor_name(&self) -> Option<&str>

The name of the predictor.

source

pub fn algorithm_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the algorithm used for model training.

source

pub fn auto_ml_algorithm_arns(&self) -> &[String]

When PerformAutoML is specified, the ARN of the chosen algorithm.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_ml_algorithm_arns.is_none().

source

pub fn forecast_horizon(&self) -> Option<i32>

The number of time-steps of the forecast. The forecast horizon is also called the prediction length.

source

pub fn forecast_types(&self) -> &[String]

The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"]

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .forecast_types.is_none().

source

pub fn perform_auto_ml(&self) -> Option<bool>

Whether the predictor is set to perform AutoML.

source

pub fn auto_ml_override_strategy(&self) -> Option<&AutoMlOverrideStrategy>

The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.

The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy.

This parameter is only valid for predictors trained using AutoML.

source

pub fn perform_hpo(&self) -> Option<bool>

Whether the predictor is set to perform hyperparameter optimization (HPO).

source

pub fn training_parameters(&self) -> Option<&HashMap<String, String>>

The default training parameters or overrides selected during model training. When running AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

source

pub fn evaluation_parameters(&self) -> Option<&EvaluationParameters>

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.

source

pub fn hpo_config(&self) -> Option<&HyperParameterTuningJobConfig>

The hyperparameter override values for the algorithm.

source

pub fn input_data_config(&self) -> Option<&InputDataConfig>

Describes the dataset group that contains the data to use to train the predictor.

source

pub fn featurization_config(&self) -> Option<&FeaturizationConfig>

The featurization configuration.

source

pub fn encryption_config(&self) -> Option<&EncryptionConfig>

An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.

source

pub fn predictor_execution_details(&self) -> Option<&PredictorExecutionDetails>

Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.

source

pub fn estimated_time_remaining_in_minutes(&self) -> Option<i64>

The estimated time remaining in minutes for the predictor training job to complete.

source

pub fn is_auto_predictor(&self) -> Option<bool>

Whether the predictor was created with CreateAutoPredictor.

source

pub fn dataset_import_job_arns(&self) -> &[String]

An array of the ARNs of the dataset import jobs used to import training data for the predictor.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dataset_import_job_arns.is_none().

source

pub fn status(&self) -> Option<&str>

The status of the predictor. States include:

  • ACTIVE

  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

  • CREATE_STOPPING, CREATE_STOPPED

The Status of the predictor must be ACTIVE before you can use the predictor to create a forecast.

source

pub fn message(&self) -> Option<&str>

If an error occurred, an informational message about the error.

source

pub fn creation_time(&self) -> Option<&DateTime>

When the model training task was created.

source

pub fn last_modification_time(&self) -> Option<&DateTime>

The last time the resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.

  • CREATE_IN_PROGRESS - The current timestamp.

  • CREATE_STOPPING - The current timestamp.

  • CREATE_STOPPED - When the job stopped.

  • ACTIVE or CREATE_FAILED - When the job finished or failed.

source

pub fn optimization_metric(&self) -> Option<&OptimizationMetric>

The accuracy metric used to optimize the predictor.

source§

impl DescribePredictorOutput

source

pub fn builder() -> DescribePredictorOutputBuilder

Creates a new builder-style object to manufacture DescribePredictorOutput.

Trait Implementations§

source§

impl Clone for DescribePredictorOutput

source§

fn clone(&self) -> DescribePredictorOutput

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 DescribePredictorOutput

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for DescribePredictorOutput

source§

fn eq(&self, other: &DescribePredictorOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for DescribePredictorOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for DescribePredictorOutput

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where 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 T
where 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 T
where 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