Struct aws_sdk_deadline::operation::get_session::GetSessionOutput
source · #[non_exhaustive]pub struct GetSessionOutput {
pub session_id: String,
pub fleet_id: String,
pub worker_id: String,
pub started_at: DateTime,
pub log: Option<LogConfiguration>,
pub lifecycle_status: SessionLifecycleStatus,
pub ended_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
pub target_lifecycle_status: Option<SessionLifecycleTargetStatus>,
pub host_properties: Option<HostPropertiesResponse>,
pub worker_log: Option<LogConfiguration>,
/* 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.session_id: StringThe session ID.
fleet_id: StringThe fleet ID for the session.
worker_id: StringThe worker ID for the session.
started_at: DateTimeThe date and time the resource started running.
log: Option<LogConfiguration>The session log.
lifecycle_status: SessionLifecycleStatusThe life cycle status of the session.
ended_at: Option<DateTime>The date and time the resource ended running.
updated_at: Option<DateTime>The date and time the resource was updated.
updated_by: Option<String>The user or system that updated this resource.
target_lifecycle_status: Option<SessionLifecycleTargetStatus>The life cycle status with which the session started.
host_properties: Option<HostPropertiesResponse>Provides the Amazon EC2 properties of the host.
worker_log: Option<LogConfiguration>The worker log for the session.
Implementations§
source§impl GetSessionOutput
impl GetSessionOutput
sourcepub fn session_id(&self) -> &str
pub fn session_id(&self) -> &str
The session ID.
sourcepub fn started_at(&self) -> &DateTime
pub fn started_at(&self) -> &DateTime
The date and time the resource started running.
sourcepub fn log(&self) -> Option<&LogConfiguration>
pub fn log(&self) -> Option<&LogConfiguration>
The session log.
sourcepub fn lifecycle_status(&self) -> &SessionLifecycleStatus
pub fn lifecycle_status(&self) -> &SessionLifecycleStatus
The life cycle status of the session.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
sourcepub fn target_lifecycle_status(&self) -> Option<&SessionLifecycleTargetStatus>
pub fn target_lifecycle_status(&self) -> Option<&SessionLifecycleTargetStatus>
The life cycle status with which the session started.
sourcepub fn host_properties(&self) -> Option<&HostPropertiesResponse>
pub fn host_properties(&self) -> Option<&HostPropertiesResponse>
Provides the Amazon EC2 properties of the host.
sourcepub fn worker_log(&self) -> Option<&LogConfiguration>
pub fn worker_log(&self) -> Option<&LogConfiguration>
The worker log for the session.
source§impl GetSessionOutput
impl GetSessionOutput
sourcepub fn builder() -> GetSessionOutputBuilder
pub fn builder() -> GetSessionOutputBuilder
Creates a new builder-style object to manufacture GetSessionOutput.
Trait Implementations§
source§impl Clone for GetSessionOutput
impl Clone for GetSessionOutput
source§fn clone(&self) -> GetSessionOutput
fn clone(&self) -> GetSessionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSessionOutput
impl Debug for GetSessionOutput
source§impl PartialEq for GetSessionOutput
impl PartialEq for GetSessionOutput
source§fn eq(&self, other: &GetSessionOutput) -> bool
fn eq(&self, other: &GetSessionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetSessionOutput
impl RequestId for GetSessionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetSessionOutput
Auto Trait Implementations§
impl Freeze for GetSessionOutput
impl RefUnwindSafe for GetSessionOutput
impl Send for GetSessionOutput
impl Sync for GetSessionOutput
impl Unpin for GetSessionOutput
impl UnwindSafe for GetSessionOutput
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