Struct aws_sdk_forecast::client::fluent_builders::CreateMonitor
source · [−]pub struct CreateMonitor { /* private fields */ }Expand description
Fluent builder constructing a request to CreateMonitor.
Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
Implementations
sourceimpl CreateMonitor
impl CreateMonitor
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateMonitor, AwsResponseRetryClassifier>, SdkError<CreateMonitorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateMonitor, AwsResponseRetryClassifier>, SdkError<CreateMonitorError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateMonitorOutput, SdkError<CreateMonitorError>>
pub async fn send(
self
) -> Result<CreateMonitorOutput, SdkError<CreateMonitorError>>
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.
sourcepub fn monitor_name(self, input: impl Into<String>) -> Self
pub fn monitor_name(self, input: impl Into<String>) -> Self
The name of the monitor resource.
sourcepub fn set_monitor_name(self, input: Option<String>) -> Self
pub fn set_monitor_name(self, input: Option<String>) -> Self
The name of the monitor resource.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the predictor to monitor.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the predictor to monitor.
A list of tags to apply to the monitor resource.
Trait Implementations
sourceimpl Clone for CreateMonitor
impl Clone for CreateMonitor
sourcefn clone(&self) -> CreateMonitor
fn clone(&self) -> CreateMonitor
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more