Struct rusoto_ecs::StopTaskRequest [] [src]

pub struct StopTaskRequest {
    pub cluster: Option<String>,
    pub reason: Option<String>,
    pub task: String,
}

Fields

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.

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 will appear in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message.

The task ID or full Amazon Resource Name (ARN) entry of the task to stop.

Trait Implementations

impl Default for StopTaskRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for StopTaskRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for StopTaskRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more