pub struct DeleteBotVersion { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteBotVersion.
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
Implementations§
source§impl DeleteBotVersion
impl DeleteBotVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteBotVersion, AwsResponseRetryClassifier>, SdkError<DeleteBotVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteBotVersion, AwsResponseRetryClassifier>, SdkError<DeleteBotVersionError>>
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<DeleteBotVersionOutput, SdkError<DeleteBotVersionError>>
pub async fn send(
self
) -> Result<DeleteBotVersionOutput, SdkError<DeleteBotVersionError>>
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 bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot that contains the version.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot that contains the version.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot to delete.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot to delete.
sourcepub fn skip_resource_in_use_check(self, input: bool) -> Self
pub fn skip_resource_in_use_check(self, input: bool) -> Self
By default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.
sourcepub fn set_skip_resource_in_use_check(self, input: Option<bool>) -> Self
pub fn set_skip_resource_in_use_check(self, input: Option<bool>) -> Self
By default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.
Trait Implementations§
source§impl Clone for DeleteBotVersion
impl Clone for DeleteBotVersion
source§fn clone(&self) -> DeleteBotVersion
fn clone(&self) -> DeleteBotVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more