Struct aws_sdk_ecs::operation::execute_command::ExecuteCommandInput
source · #[non_exhaustive]pub struct ExecuteCommandInput {
pub cluster: Option<String>,
pub container: Option<String>,
pub command: Option<String>,
pub interactive: Option<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: Option<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§
source§impl ExecuteCommandInput
impl ExecuteCommandInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
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.
sourcepub fn container(&self) -> Option<&str>
pub fn container(&self) -> Option<&str>
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
sourcepub fn interactive(&self) -> Option<bool>
pub fn interactive(&self) -> Option<bool>
Use this flag to run your command in interactive mode.
source§impl ExecuteCommandInput
impl ExecuteCommandInput
sourcepub fn builder() -> ExecuteCommandInputBuilder
pub fn builder() -> ExecuteCommandInputBuilder
Creates a new builder-style object to manufacture ExecuteCommandInput
.
Trait Implementations§
source§impl Clone for ExecuteCommandInput
impl Clone for ExecuteCommandInput
source§fn clone(&self) -> ExecuteCommandInput
fn clone(&self) -> ExecuteCommandInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteCommandInput
impl Debug for ExecuteCommandInput
source§impl PartialEq for ExecuteCommandInput
impl PartialEq for ExecuteCommandInput
source§fn eq(&self, other: &ExecuteCommandInput) -> bool
fn eq(&self, other: &ExecuteCommandInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecuteCommandInput
Auto Trait Implementations§
impl Freeze for ExecuteCommandInput
impl RefUnwindSafe for ExecuteCommandInput
impl Send for ExecuteCommandInput
impl Sync for ExecuteCommandInput
impl Unpin for ExecuteCommandInput
impl UnwindSafe for ExecuteCommandInput
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
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>
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>
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 more