Struct aws_sdk_ecs::output::ExecuteCommandOutput
source · [−]#[non_exhaustive]pub struct ExecuteCommandOutput {
pub cluster_arn: Option<String>,
pub container_arn: Option<String>,
pub container_name: Option<String>,
pub interactive: bool,
pub session: Option<Session>,
pub task_arn: 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_arn: Option<String>
The Amazon Resource Name (ARN) of the cluster.
container_arn: Option<String>
The Amazon Resource Name (ARN) of the container.
container_name: Option<String>
The name of the container.
interactive: bool
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true
for this value.
session: Option<Session>
The details of the SSM session that was created for this instance of execute-command.
task_arn: Option<String>
The Amazon Resource Name (ARN) of the task.
Implementations
sourceimpl ExecuteCommandOutput
impl ExecuteCommandOutput
sourcepub fn cluster_arn(&self) -> Option<&str>
pub fn cluster_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn container_arn(&self) -> Option<&str>
pub fn container_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the container.
sourcepub fn container_name(&self) -> Option<&str>
pub fn container_name(&self) -> Option<&str>
The name of the container.
sourcepub fn interactive(&self) -> bool
pub fn interactive(&self) -> bool
Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true
for this value.
sourceimpl ExecuteCommandOutput
impl ExecuteCommandOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteCommandOutput
Trait Implementations
sourceimpl Clone for ExecuteCommandOutput
impl Clone for ExecuteCommandOutput
sourcefn clone(&self) -> ExecuteCommandOutput
fn clone(&self) -> ExecuteCommandOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecuteCommandOutput
impl Debug for ExecuteCommandOutput
sourceimpl PartialEq<ExecuteCommandOutput> for ExecuteCommandOutput
impl PartialEq<ExecuteCommandOutput> for ExecuteCommandOutput
sourcefn eq(&self, other: &ExecuteCommandOutput) -> bool
fn eq(&self, other: &ExecuteCommandOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExecuteCommandOutput) -> bool
fn ne(&self, other: &ExecuteCommandOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExecuteCommandOutput
Auto Trait Implementations
impl RefUnwindSafe for ExecuteCommandOutput
impl Send for ExecuteCommandOutput
impl Sync for ExecuteCommandOutput
impl Unpin for ExecuteCommandOutput
impl UnwindSafe for ExecuteCommandOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more