Struct aws_sdk_forecast::input::CreateAutoPredictorInput
source · [−]#[non_exhaustive]pub struct CreateAutoPredictorInput { /* private fields */ }Implementations
sourceimpl CreateAutoPredictorInput
impl CreateAutoPredictorInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAutoPredictor, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAutoPredictor, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateAutoPredictor>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateAutoPredictorInput.
sourceimpl CreateAutoPredictorInput
impl CreateAutoPredictorInput
sourcepub fn predictor_name(&self) -> Option<&str>
pub fn predictor_name(&self) -> Option<&str>
A unique name for the predictor
sourcepub fn forecast_horizon(&self) -> Option<i32>
pub fn forecast_horizon(&self) -> Option<i32>
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the TARGET_TIME_SERIES dataset length. If you are retraining an existing AutoPredictor, then the maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length.
If you are upgrading to an AutoPredictor or retraining an existing AutoPredictor, you cannot update the forecast horizon parameter. You can meet this requirement by providing longer time-series in the dataset.
sourcepub fn forecast_types(&self) -> Option<&[String]>
pub fn forecast_types(&self) -> Option<&[String]>
The forecast types used to train a predictor. You can specify up to five forecast types. Forecast types can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify the mean forecast with mean.
sourcepub fn forecast_dimensions(&self) -> Option<&[String]>
pub fn forecast_dimensions(&self) -> Option<&[String]>
An array of dimension (field) names that specify how to group the generated forecast.
For example, if you are generating forecasts for item sales across all your stores, and your dataset contains a store_id field, you would specify store_id as a dimension to group sales forecasts for each store.
sourcepub fn forecast_frequency(&self) -> Option<&str>
pub fn forecast_frequency(&self) -> Option<&str>
The frequency of predictions in a forecast.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "Y" indicates every year and "5min" indicates every five minutes.
The frequency must be greater than or equal to the TARGET_TIME_SERIES dataset frequency.
When a RELATED_TIME_SERIES dataset is provided, the frequency must be equal to the RELATED_TIME_SERIES dataset frequency.
sourcepub fn data_config(&self) -> Option<&DataConfig>
pub fn data_config(&self) -> Option<&DataConfig>
The data configuration for your dataset group and any additional datasets.
sourcepub fn encryption_config(&self) -> Option<&EncryptionConfig>
pub fn encryption_config(&self) -> Option<&EncryptionConfig>
An AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.
sourcepub fn reference_predictor_arn(&self) -> Option<&str>
pub fn reference_predictor_arn(&self) -> Option<&str>
The ARN of the predictor to retrain or upgrade. This parameter is only used when retraining or upgrading a predictor. When creating a new predictor, do not specify a value for this parameter.
When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn and PredictorName. The value for PredictorName must be a unique predictor name.
sourcepub fn optimization_metric(&self) -> Option<&OptimizationMetric>
pub fn optimization_metric(&self) -> Option<&OptimizationMetric>
The accuracy metric used to optimize the predictor.
sourcepub fn explain_predictor(&self) -> Option<bool>
pub fn explain_predictor(&self) -> Option<bool>
Create an Explainability resource for the predictor.
Optional metadata to help you categorize and organize your predictors. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive.
The following restrictions apply to tags:
-
For each resource, each tag key must be unique and each tag key must have one value.
-
Maximum number of tags per resource: 50.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply.
-
Key prefixes cannot include any upper or lowercase combination of
aws:orAWS:. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
sourcepub fn monitor_config(&self) -> Option<&MonitorConfig>
pub fn monitor_config(&self) -> Option<&MonitorConfig>
The configuration details for predictor monitoring. Provide a name for the monitor resource to enable predictor monitoring.
Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
sourcepub fn time_alignment_boundary(&self) -> Option<&TimeAlignmentBoundary>
pub fn time_alignment_boundary(&self) -> Option<&TimeAlignmentBoundary>
The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair. For more information on specifying a time boundary, see Specifying a Time Boundary. If you don't provide a time boundary, Forecast uses a set of Default Time Boundaries.
Trait Implementations
sourceimpl Clone for CreateAutoPredictorInput
impl Clone for CreateAutoPredictorInput
sourcefn clone(&self) -> CreateAutoPredictorInput
fn clone(&self) -> CreateAutoPredictorInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more