Struct rusoto_ecs::StopTaskRequest [−][src]
pub struct StopTaskRequest { pub cluster: Option<String>, pub reason: Option<String>, pub task: String, }
Fields
cluster: Option<String>
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.
reason: Option<String>
An optional message specified when a task is stopped. For example, if you are 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.
task: String
The task ID or full Amazon Resource Name (ARN) of the task to stop.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StopTaskRequest
impl Send for StopTaskRequest
impl Sync for StopTaskRequest
impl Unpin for StopTaskRequest
impl UnwindSafe for StopTaskRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self