Struct aws_sdk_sagemaker::types::WarmPoolStatus
source · #[non_exhaustive]pub struct WarmPoolStatus {
pub status: Option<WarmPoolResourceStatus>,
pub resource_retained_billable_time_in_seconds: Option<i32>,
pub reused_by_job: Option<String>,
}
Expand description
Status and billing information about the warm pool.
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.status: Option<WarmPoolResourceStatus>
The status of the warm pool.
-
InUse
: The warm pool is in use for the training job. -
Available
: The warm pool is available to reuse for a matching training job. -
Reused
: The warm pool moved to a matching training job for reuse. -
Terminated
: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specifiedKeepAlivePeriodInSeconds
.
resource_retained_billable_time_in_seconds: Option<i32>
The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time.
Multiply ResourceRetainedBillableTimeInSeconds
by the number of instances (InstanceCount
) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount
.
reused_by_job: Option<String>
The name of the matching training job that reused the warm pool.
Implementations§
source§impl WarmPoolStatus
impl WarmPoolStatus
sourcepub fn status(&self) -> Option<&WarmPoolResourceStatus>
pub fn status(&self) -> Option<&WarmPoolResourceStatus>
The status of the warm pool.
-
InUse
: The warm pool is in use for the training job. -
Available
: The warm pool is available to reuse for a matching training job. -
Reused
: The warm pool moved to a matching training job for reuse. -
Terminated
: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specifiedKeepAlivePeriodInSeconds
.
sourcepub fn resource_retained_billable_time_in_seconds(&self) -> Option<i32>
pub fn resource_retained_billable_time_in_seconds(&self) -> Option<i32>
The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time.
Multiply ResourceRetainedBillableTimeInSeconds
by the number of instances (InstanceCount
) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount
.
sourcepub fn reused_by_job(&self) -> Option<&str>
pub fn reused_by_job(&self) -> Option<&str>
The name of the matching training job that reused the warm pool.
source§impl WarmPoolStatus
impl WarmPoolStatus
sourcepub fn builder() -> WarmPoolStatusBuilder
pub fn builder() -> WarmPoolStatusBuilder
Creates a new builder-style object to manufacture WarmPoolStatus
.
Trait Implementations§
source§impl Clone for WarmPoolStatus
impl Clone for WarmPoolStatus
source§fn clone(&self) -> WarmPoolStatus
fn clone(&self) -> WarmPoolStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WarmPoolStatus
impl Debug for WarmPoolStatus
source§impl PartialEq for WarmPoolStatus
impl PartialEq for WarmPoolStatus
source§fn eq(&self, other: &WarmPoolStatus) -> bool
fn eq(&self, other: &WarmPoolStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WarmPoolStatus
Auto Trait Implementations§
impl Freeze for WarmPoolStatus
impl RefUnwindSafe for WarmPoolStatus
impl Send for WarmPoolStatus
impl Sync for WarmPoolStatus
impl Unpin for WarmPoolStatus
impl UnwindSafe for WarmPoolStatus
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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