Struct aws_sdk_ecs::operation::delete_task_set::DeleteTaskSetInput
source · #[non_exhaustive]pub struct DeleteTaskSetInput {
pub cluster: Option<String>,
pub service: Option<String>,
pub task_set: Option<String>,
pub force: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster: Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.
service: Option<String>
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
task_set: Option<String>
The task set ID or full Amazon Resource Name (ARN) of the task set to delete.
force: Option<bool>
If true
, you can delete a task set even if it hasn't been scaled down to zero.
Implementations§
source§impl DeleteTaskSetInput
impl DeleteTaskSetInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set found in to delete.
sourcepub fn service(&self) -> Option<&str>
pub fn service(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
source§impl DeleteTaskSetInput
impl DeleteTaskSetInput
sourcepub fn builder() -> DeleteTaskSetInputBuilder
pub fn builder() -> DeleteTaskSetInputBuilder
Creates a new builder-style object to manufacture DeleteTaskSetInput
.
Trait Implementations§
source§impl Clone for DeleteTaskSetInput
impl Clone for DeleteTaskSetInput
source§fn clone(&self) -> DeleteTaskSetInput
fn clone(&self) -> DeleteTaskSetInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeleteTaskSetInput
impl Debug for DeleteTaskSetInput
source§impl PartialEq for DeleteTaskSetInput
impl PartialEq for DeleteTaskSetInput
source§fn eq(&self, other: &DeleteTaskSetInput) -> bool
fn eq(&self, other: &DeleteTaskSetInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteTaskSetInput
Auto Trait Implementations§
impl Freeze for DeleteTaskSetInput
impl RefUnwindSafe for DeleteTaskSetInput
impl Send for DeleteTaskSetInput
impl Sync for DeleteTaskSetInput
impl Unpin for DeleteTaskSetInput
impl UnwindSafe for DeleteTaskSetInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.