Struct aws_sdk_ecs::operation::stop_task::StopTaskInput
source · #[non_exhaustive]pub struct StopTaskInput { /* private fields */ }Implementations§
source§impl StopTaskInput
impl StopTaskInput
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 task to stop. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
An optional message specified when a task is stopped. For example, if you're using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message.
source§impl StopTaskInput
impl StopTaskInput
sourcepub fn builder() -> StopTaskInputBuilder
pub fn builder() -> StopTaskInputBuilder
Creates a new builder-style object to manufacture StopTaskInput.
source§impl StopTaskInput
impl StopTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<StopTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopTask>
Trait Implementations§
source§impl Clone for StopTaskInput
impl Clone for StopTaskInput
source§fn clone(&self) -> StopTaskInput
fn clone(&self) -> StopTaskInput
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 StopTaskInput
impl Debug for StopTaskInput
source§impl PartialEq<StopTaskInput> for StopTaskInput
impl PartialEq<StopTaskInput> for StopTaskInput
source§fn eq(&self, other: &StopTaskInput) -> bool
fn eq(&self, other: &StopTaskInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StopTaskInput
Auto Trait Implementations§
impl RefUnwindSafe for StopTaskInput
impl Send for StopTaskInput
impl Sync for StopTaskInput
impl Unpin for StopTaskInput
impl UnwindSafe for StopTaskInput
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