#[non_exhaustive]pub struct DeleteApplicationVersionInput {
pub application_name: Option<String>,
pub version_label: Option<String>,
pub delete_source_bundle: Option<bool>,
}
Expand description
Request to delete an application version.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.application_name: Option<String>
The name of the application to which the version belongs.
version_label: Option<String>
The label of the version to delete.
delete_source_bundle: 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.
Implementations
sourceimpl DeleteApplicationVersionInput
impl DeleteApplicationVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteApplicationVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteApplicationVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteApplicationVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteApplicationVersionInput
sourceimpl DeleteApplicationVersionInput
impl DeleteApplicationVersionInput
sourcepub fn application_name(&self) -> Option<&str>
pub fn application_name(&self) -> Option<&str>
The name of the application to which the version belongs.
sourcepub fn version_label(&self) -> Option<&str>
pub fn version_label(&self) -> Option<&str>
The label of the version to delete.
sourcepub fn delete_source_bundle(&self) -> Option<bool>
pub fn 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
sourceimpl Clone for DeleteApplicationVersionInput
impl Clone for DeleteApplicationVersionInput
sourcefn clone(&self) -> DeleteApplicationVersionInput
fn clone(&self) -> DeleteApplicationVersionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeleteApplicationVersionInput
impl Debug for DeleteApplicationVersionInput
sourceimpl PartialEq<DeleteApplicationVersionInput> for DeleteApplicationVersionInput
impl PartialEq<DeleteApplicationVersionInput> for DeleteApplicationVersionInput
sourcefn eq(&self, other: &DeleteApplicationVersionInput) -> bool
fn eq(&self, other: &DeleteApplicationVersionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteApplicationVersionInput) -> bool
fn ne(&self, other: &DeleteApplicationVersionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteApplicationVersionInput
Auto Trait Implementations
impl RefUnwindSafe for DeleteApplicationVersionInput
impl Send for DeleteApplicationVersionInput
impl Sync for DeleteApplicationVersionInput
impl Unpin for DeleteApplicationVersionInput
impl UnwindSafe for DeleteApplicationVersionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more