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 for ModelClientConfig
 
impl PartialEq 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 Freeze for ModelClientConfig
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
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>
Converts 
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>
Converts 
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 moreCreates a shared type from an unshared type.