pub struct DeleteBatchPrediction { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteBatchPrediction
.
Assigns the DELETED status to a BatchPrediction
, rendering it unusable.
After using the DeleteBatchPrediction
operation, you can use the GetBatchPrediction
operation to verify that the status of the BatchPrediction
changed to DELETED.
Caution: The result of the DeleteBatchPrediction
operation is irreversible.
Implementations§
source§impl DeleteBatchPrediction
impl DeleteBatchPrediction
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteBatchPrediction, AwsResponseRetryClassifier>, SdkError<DeleteBatchPredictionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteBatchPrediction, AwsResponseRetryClassifier>, SdkError<DeleteBatchPredictionError>>
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<DeleteBatchPredictionOutput, SdkError<DeleteBatchPredictionError>>
pub async fn send(
self
) -> Result<DeleteBatchPredictionOutput, SdkError<DeleteBatchPredictionError>>
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 batch_prediction_id(self, input: impl Into<String>) -> Self
pub fn batch_prediction_id(self, input: impl Into<String>) -> Self
A user-supplied ID that uniquely identifies the BatchPrediction
.
sourcepub fn set_batch_prediction_id(self, input: Option<String>) -> Self
pub fn set_batch_prediction_id(self, input: Option<String>) -> Self
A user-supplied ID that uniquely identifies the BatchPrediction
.
Trait Implementations§
source§impl Clone for DeleteBatchPrediction
impl Clone for DeleteBatchPrediction
source§fn clone(&self) -> DeleteBatchPrediction
fn clone(&self) -> DeleteBatchPrediction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more