pub struct DeleteApplicationVersion { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteApplicationVersion
.
Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment.
Implementations§
source§impl DeleteApplicationVersion
impl DeleteApplicationVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteApplicationVersion, AwsResponseRetryClassifier>, SdkError<DeleteApplicationVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteApplicationVersion, AwsResponseRetryClassifier>, SdkError<DeleteApplicationVersionError>>
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<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError>>
pub async fn send(
self
) -> Result<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError>>
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 application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application to which the version belongs.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application to which the version belongs.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The label of the version to delete.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The label of the version to delete.
sourcepub fn delete_source_bundle(self, input: bool) -> Self
pub fn delete_source_bundle(self, input: bool) -> Self
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
sourcepub fn set_delete_source_bundle(self, input: Option<bool>) -> Self
pub fn set_delete_source_bundle(self, input: Option<bool>) -> Self
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
Trait Implementations§
source§impl Clone for DeleteApplicationVersion
impl Clone for DeleteApplicationVersion
source§fn clone(&self) -> DeleteApplicationVersion
fn clone(&self) -> DeleteApplicationVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more