Struct aws_sdk_sagemaker::types::ModelClientConfig
source · #[non_exhaustive]pub struct ModelClientConfig {
pub invocations_timeout_in_seconds: Option<i32>,
pub invocations_max_retries: Option<i32>,
}
Expand description
Configures the timeout and maximum number of retries for processing a transform job invocation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.invocations_timeout_in_seconds: Option<i32>
The timeout value in seconds for an invocation request. The default value is 600.
invocations_max_retries: Option<i32>
The maximum number of retries when invocation requests are failing. The default value is 3.
Implementations§
source§impl ModelClientConfig
impl ModelClientConfig
sourcepub fn invocations_timeout_in_seconds(&self) -> Option<i32>
pub fn invocations_timeout_in_seconds(&self) -> Option<i32>
The timeout value in seconds for an invocation request. The default value is 600.
sourcepub fn invocations_max_retries(&self) -> Option<i32>
pub fn invocations_max_retries(&self) -> Option<i32>
The maximum number of retries when invocation requests are failing. The default value is 3.
source§impl ModelClientConfig
impl ModelClientConfig
sourcepub fn builder() -> ModelClientConfigBuilder
pub fn builder() -> ModelClientConfigBuilder
Creates a new builder-style object to manufacture ModelClientConfig
.
Trait Implementations§
source§impl Clone for ModelClientConfig
impl Clone for ModelClientConfig
source§fn clone(&self) -> ModelClientConfig
fn clone(&self) -> ModelClientConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelClientConfig
impl Debug for ModelClientConfig
source§impl PartialEq<ModelClientConfig> for ModelClientConfig
impl PartialEq<ModelClientConfig> for ModelClientConfig
source§fn eq(&self, other: &ModelClientConfig) -> bool
fn eq(&self, other: &ModelClientConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelClientConfig
Auto Trait Implementations§
impl RefUnwindSafe for ModelClientConfig
impl Send for ModelClientConfig
impl Sync for ModelClientConfig
impl Unpin for ModelClientConfig
impl UnwindSafe for ModelClientConfig
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
Mutably borrows from an owned value. Read more