Struct aws_sdk_sagemaker::model::WarmPoolStatus
source · #[non_exhaustive]pub struct WarmPoolStatus { /* private fields */ }
Expand description
Status and billing information about 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() -> Builder
pub fn builder() -> Builder
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<WarmPoolStatus> for WarmPoolStatus
impl PartialEq<WarmPoolStatus> 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 ==
.