Struct rusoto_forecast::CreateForecastRequest
source · [−]pub struct CreateForecastRequest {
pub forecast_name: String,
pub forecast_types: Option<Vec<String>>,
pub predictor_arn: String,
pub tags: Option<Vec<Tag>>,
}
Fields
forecast_name: String
A name for the forecast.
forecast_types: Option<Vec<String>>
The quantiles at which probabilistic forecasts are generated. You can currently specify up to 5 quantiles per forecast. Accepted values include 0.01 to 0.99
(increments of .01 only) and mean
. The mean forecast is different from the median (0.50) when the distribution is not symmetric (for example, Beta and Negative Binomial). The default value is ["0.1", "0.5", "0.9"]
.
predictor_arn: String
The Amazon Resource Name (ARN) of the predictor to use to generate the forecast.
The optional metadata that you apply to the forecast to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasaws
as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofaws
do not count against your tags per resource limit.
Trait Implementations
sourceimpl Clone for CreateForecastRequest
impl Clone for CreateForecastRequest
sourcefn clone(&self) -> CreateForecastRequest
fn clone(&self) -> CreateForecastRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateForecastRequest
impl Debug for CreateForecastRequest
sourceimpl Default for CreateForecastRequest
impl Default for CreateForecastRequest
sourcefn default() -> CreateForecastRequest
fn default() -> CreateForecastRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateForecastRequest> for CreateForecastRequest
impl PartialEq<CreateForecastRequest> for CreateForecastRequest
sourcefn eq(&self, other: &CreateForecastRequest) -> bool
fn eq(&self, other: &CreateForecastRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateForecastRequest) -> bool
fn ne(&self, other: &CreateForecastRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateForecastRequest
impl Serialize for CreateForecastRequest
impl StructuralPartialEq for CreateForecastRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateForecastRequest
impl Send for CreateForecastRequest
impl Sync for CreateForecastRequest
impl Unpin for CreateForecastRequest
impl UnwindSafe for CreateForecastRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more