Struct aws_sdk_appstream::types::ComputeCapacityStatus
source · #[non_exhaustive]pub struct ComputeCapacityStatus {
pub desired: Option<i32>,
pub running: Option<i32>,
pub in_use: Option<i32>,
pub available: Option<i32>,
pub desired_user_sessions: Option<i32>,
pub available_user_sessions: Option<i32>,
pub active_user_sessions: Option<i32>,
pub actual_user_sessions: Option<i32>,
}
Expand description
Describes the capacity status for a fleet.
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.desired: Option<i32>
The desired number of streaming instances.
running: Option<i32>
The total number of simultaneous streaming instances that are running.
in_use: Option<i32>
The number of instances in use for streaming.
available: Option<i32>
The number of currently available instances that can be used to stream sessions.
desired_user_sessions: Option<i32>
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
available_user_sessions: Option<i32>
The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
active_user_sessions: Option<i32>
The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
actual_user_sessions: Option<i32>
The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
Implementations§
source§impl ComputeCapacityStatus
impl ComputeCapacityStatus
sourcepub fn running(&self) -> Option<i32>
pub fn running(&self) -> Option<i32>
The total number of simultaneous streaming instances that are running.
sourcepub fn available(&self) -> Option<i32>
pub fn available(&self) -> Option<i32>
The number of currently available instances that can be used to stream sessions.
sourcepub fn desired_user_sessions(&self) -> Option<i32>
pub fn desired_user_sessions(&self) -> Option<i32>
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.
DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity
This only applies to multi-session fleets.
sourcepub fn available_user_sessions(&self) -> Option<i32>
pub fn available_user_sessions(&self) -> Option<i32>
The number of idle session slots currently available for user sessions.
AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions
This only applies to multi-session fleets.
sourcepub fn active_user_sessions(&self) -> Option<i32>
pub fn active_user_sessions(&self) -> Option<i32>
The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
sourcepub fn actual_user_sessions(&self) -> Option<i32>
pub fn actual_user_sessions(&self) -> Option<i32>
The total number of session slots that are available for streaming or are currently streaming.
ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions
This only applies to multi-session fleets.
source§impl ComputeCapacityStatus
impl ComputeCapacityStatus
sourcepub fn builder() -> ComputeCapacityStatusBuilder
pub fn builder() -> ComputeCapacityStatusBuilder
Creates a new builder-style object to manufacture ComputeCapacityStatus
.
Trait Implementations§
source§impl Clone for ComputeCapacityStatus
impl Clone for ComputeCapacityStatus
source§fn clone(&self) -> ComputeCapacityStatus
fn clone(&self) -> ComputeCapacityStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComputeCapacityStatus
impl Debug for ComputeCapacityStatus
source§impl PartialEq for ComputeCapacityStatus
impl PartialEq for ComputeCapacityStatus
source§fn eq(&self, other: &ComputeCapacityStatus) -> bool
fn eq(&self, other: &ComputeCapacityStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComputeCapacityStatus
Auto Trait Implementations§
impl Freeze for ComputeCapacityStatus
impl RefUnwindSafe for ComputeCapacityStatus
impl Send for ComputeCapacityStatus
impl Sync for ComputeCapacityStatus
impl Unpin for ComputeCapacityStatus
impl UnwindSafe for ComputeCapacityStatus
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