#[non_exhaustive]pub struct ProductionVariantServerlessConfig {
pub memory_size_in_mb: Option<i32>,
pub max_concurrency: Option<i32>,
}
Expand description
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
Specifies the serverless configuration for an endpoint variant.
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.memory_size_in_mb: Option<i32>
The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
max_concurrency: Option<i32>
The maximum number of concurrent invocations your serverless endpoint can process.
Implementations
The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
The maximum number of concurrent invocations your serverless endpoint can process.
Creates a new builder-style object to manufacture ProductionVariantServerlessConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ProductionVariantServerlessConfig
impl Sync for ProductionVariantServerlessConfig
impl Unpin for ProductionVariantServerlessConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more