pub struct DeleteLanguageModel { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteLanguageModel.
Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName. Language model names are case sensitive.
Implementations
sourceimpl DeleteLanguageModel
impl DeleteLanguageModel
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteLanguageModel, AwsResponseRetryClassifier>, SdkError<DeleteLanguageModelError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteLanguageModel, AwsResponseRetryClassifier>, SdkError<DeleteLanguageModelError>>
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<DeleteLanguageModelOutput, SdkError<DeleteLanguageModelError>>
pub async fn send(
self
) -> Result<DeleteLanguageModelOutput, SdkError<DeleteLanguageModelError>>
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 model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the custom language model you want to delete. Model names are case sensitive.
sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the custom language model you want to delete. Model names are case sensitive.
Trait Implementations
sourceimpl Clone for DeleteLanguageModel
impl Clone for DeleteLanguageModel
sourcefn clone(&self) -> DeleteLanguageModel
fn clone(&self) -> DeleteLanguageModel
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more