#[non_exhaustive]pub struct InferenceComponentStartupParameters {
pub model_data_download_timeout_in_seconds: Option<i32>,
pub container_startup_health_check_timeout_in_seconds: Option<i32>,
}
Expand description
Settings that take effect while the model container starts up.
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.model_data_download_timeout_in_seconds: Option<i32>
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
container_startup_health_check_timeout_in_seconds: Option<i32>
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.
Implementations§
source§impl InferenceComponentStartupParameters
impl InferenceComponentStartupParameters
sourcepub fn model_data_download_timeout_in_seconds(&self) -> Option<i32>
pub fn model_data_download_timeout_in_seconds(&self) -> Option<i32>
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
sourcepub fn container_startup_health_check_timeout_in_seconds(&self) -> Option<i32>
pub fn container_startup_health_check_timeout_in_seconds(&self) -> Option<i32>
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.
source§impl InferenceComponentStartupParameters
impl InferenceComponentStartupParameters
sourcepub fn builder() -> InferenceComponentStartupParametersBuilder
pub fn builder() -> InferenceComponentStartupParametersBuilder
Creates a new builder-style object to manufacture InferenceComponentStartupParameters
.
Trait Implementations§
source§impl Clone for InferenceComponentStartupParameters
impl Clone for InferenceComponentStartupParameters
source§fn clone(&self) -> InferenceComponentStartupParameters
fn clone(&self) -> InferenceComponentStartupParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InferenceComponentStartupParameters
impl PartialEq for InferenceComponentStartupParameters
source§fn eq(&self, other: &InferenceComponentStartupParameters) -> bool
fn eq(&self, other: &InferenceComponentStartupParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceComponentStartupParameters
Auto Trait Implementations§
impl Freeze for InferenceComponentStartupParameters
impl RefUnwindSafe for InferenceComponentStartupParameters
impl Send for InferenceComponentStartupParameters
impl Sync for InferenceComponentStartupParameters
impl Unpin for InferenceComponentStartupParameters
impl UnwindSafe for InferenceComponentStartupParameters
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