#[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>,
/* private fields */
}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: boolDetermines 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§
source§impl 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.
source§impl ExecuteCommandOutput
impl ExecuteCommandOutput
sourcepub fn builder() -> ExecuteCommandOutputBuilder
pub fn builder() -> ExecuteCommandOutputBuilder
Creates a new builder-style object to manufacture ExecuteCommandOutput.
Trait Implementations§
source§impl Clone for ExecuteCommandOutput
impl Clone for ExecuteCommandOutput
source§fn clone(&self) -> ExecuteCommandOutput
fn clone(&self) -> ExecuteCommandOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecuteCommandOutput
impl Debug for ExecuteCommandOutput
source§impl PartialEq for ExecuteCommandOutput
impl PartialEq for ExecuteCommandOutput
source§impl RequestId for ExecuteCommandOutput
impl RequestId for ExecuteCommandOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ExecuteCommandOutput
Auto Trait Implementations§
impl Freeze for ExecuteCommandOutput
impl RefUnwindSafe for ExecuteCommandOutput
impl Send for ExecuteCommandOutput
impl Sync for ExecuteCommandOutput
impl Unpin for ExecuteCommandOutput
impl UnwindSafe for ExecuteCommandOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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