Struct aws_sdk_elasticbeanstalk::operation::delete_application_version::builders::DeleteApplicationVersionFluentBuilder
source · pub struct DeleteApplicationVersionFluentBuilder { /* 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 DeleteApplicationVersionFluentBuilder
impl DeleteApplicationVersionFluentBuilder
sourcepub fn as_input(&self) -> &DeleteApplicationVersionInputBuilder
pub fn as_input(&self) -> &DeleteApplicationVersionInputBuilder
Access the DeleteApplicationVersion as a reference.
sourcepub async fn send(
self
) -> Result<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<DeleteApplicationVersionOutput, DeleteApplicationVersionError>, SdkError<DeleteApplicationVersionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteApplicationVersionOutput, DeleteApplicationVersionError>, SdkError<DeleteApplicationVersionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
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 get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
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.
sourcepub fn get_delete_source_bundle(&self) -> &Option<bool>
pub fn get_delete_source_bundle(&self) -> &Option<bool>
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 DeleteApplicationVersionFluentBuilder
impl Clone for DeleteApplicationVersionFluentBuilder
source§fn clone(&self) -> DeleteApplicationVersionFluentBuilder
fn clone(&self) -> DeleteApplicationVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more