#[non_exhaustive]pub struct EndpointOutputConfiguration {
pub endpoint_name: Option<String>,
pub variant_name: Option<String>,
pub instance_type: Option<ProductionVariantInstanceType>,
pub initial_instance_count: Option<i32>,
pub serverless_config: Option<ProductionVariantServerlessConfig>,
}
Expand description
The endpoint configuration made by Inference Recommender during a recommendation job.
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.endpoint_name: Option<String>
The name of the endpoint made during a recommendation job.
variant_name: Option<String>
The name of the production variant (deployed model) made during a recommendation job.
instance_type: Option<ProductionVariantInstanceType>
The instance type recommended by Amazon SageMaker Inference Recommender.
initial_instance_count: Option<i32>
The number of instances recommended to launch initially.
serverless_config: Option<ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
Implementations§
source§impl EndpointOutputConfiguration
impl EndpointOutputConfiguration
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The name of the endpoint made during a recommendation job.
sourcepub fn variant_name(&self) -> Option<&str>
pub fn variant_name(&self) -> Option<&str>
The name of the production variant (deployed model) made during a recommendation job.
sourcepub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
pub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
The instance type recommended by Amazon SageMaker Inference Recommender.
sourcepub fn initial_instance_count(&self) -> Option<i32>
pub fn initial_instance_count(&self) -> Option<i32>
The number of instances recommended to launch initially.
sourcepub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
pub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
source§impl EndpointOutputConfiguration
impl EndpointOutputConfiguration
sourcepub fn builder() -> EndpointOutputConfigurationBuilder
pub fn builder() -> EndpointOutputConfigurationBuilder
Creates a new builder-style object to manufacture EndpointOutputConfiguration
.
Trait Implementations§
source§impl Clone for EndpointOutputConfiguration
impl Clone for EndpointOutputConfiguration
source§fn clone(&self) -> EndpointOutputConfiguration
fn clone(&self) -> EndpointOutputConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointOutputConfiguration
impl Debug for EndpointOutputConfiguration
source§impl PartialEq for EndpointOutputConfiguration
impl PartialEq for EndpointOutputConfiguration
source§fn eq(&self, other: &EndpointOutputConfiguration) -> bool
fn eq(&self, other: &EndpointOutputConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointOutputConfiguration
Auto Trait Implementations§
impl Freeze for EndpointOutputConfiguration
impl RefUnwindSafe for EndpointOutputConfiguration
impl Send for EndpointOutputConfiguration
impl Sync for EndpointOutputConfiguration
impl Unpin for EndpointOutputConfiguration
impl UnwindSafe for EndpointOutputConfiguration
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