Struct aws_sdk_ecs::input::ExecuteCommandInput [−][src]
#[non_exhaustive]pub struct ExecuteCommandInput {
pub cluster: Option<String>,
pub container: Option<String>,
pub command: Option<String>,
pub interactive: bool,
pub task: Option<String>,
}
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.cluster: Option<String>
The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
container: Option<String>
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
command: Option<String>
The command to run on the container.
interactive: bool
Use this flag to run your command in interactive mode.
task: Option<String>
The Amazon Resource Name (ARN) or ID of the task the container is part of.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteCommand, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteCommand, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ExecuteCommand
>
Creates a new builder-style object to manufacture ExecuteCommandInput
The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
Use this flag to run your command in interactive mode.
Trait Implementations
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 ExecuteCommandInput
impl Send for ExecuteCommandInput
impl Sync for ExecuteCommandInput
impl Unpin for ExecuteCommandInput
impl UnwindSafe for ExecuteCommandInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more