#[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: 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§
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<ExecuteCommandOutput> for ExecuteCommandOutput
impl PartialEq<ExecuteCommandOutput> for ExecuteCommandOutput
source§fn eq(&self, other: &ExecuteCommandOutput) -> bool
fn eq(&self, other: &ExecuteCommandOutput) -> bool
self
and other
values to be equal, and is used
by ==
.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.