Struct aws_sdk_sagemaker::types::ModelDeployConfig
source · #[non_exhaustive]pub struct ModelDeployConfig {
pub auto_generate_endpoint_name: Option<bool>,
pub endpoint_name: Option<String>,
}
Expand description
Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.
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.auto_generate_endpoint_name: Option<bool>
Set to True
to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False
otherwise. The default value is False
.
If you set AutoGenerateEndpointName
to True
, do not specify the EndpointName
; otherwise a 400 error is thrown.
endpoint_name: Option<String>
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.
Specify the EndpointName
if and only if you set AutoGenerateEndpointName
to False
; otherwise a 400 error is thrown.
Implementations§
source§impl ModelDeployConfig
impl ModelDeployConfig
sourcepub fn auto_generate_endpoint_name(&self) -> Option<bool>
pub fn auto_generate_endpoint_name(&self) -> Option<bool>
Set to True
to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False
otherwise. The default value is False
.
If you set AutoGenerateEndpointName
to True
, do not specify the EndpointName
; otherwise a 400 error is thrown.
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.
Specify the EndpointName
if and only if you set AutoGenerateEndpointName
to False
; otherwise a 400 error is thrown.
source§impl ModelDeployConfig
impl ModelDeployConfig
sourcepub fn builder() -> ModelDeployConfigBuilder
pub fn builder() -> ModelDeployConfigBuilder
Creates a new builder-style object to manufacture ModelDeployConfig
.
Trait Implementations§
source§impl Clone for ModelDeployConfig
impl Clone for ModelDeployConfig
source§fn clone(&self) -> ModelDeployConfig
fn clone(&self) -> ModelDeployConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelDeployConfig
impl Debug for ModelDeployConfig
source§impl PartialEq for ModelDeployConfig
impl PartialEq for ModelDeployConfig
source§fn eq(&self, other: &ModelDeployConfig) -> bool
fn eq(&self, other: &ModelDeployConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelDeployConfig
Auto Trait Implementations§
impl Freeze for ModelDeployConfig
impl RefUnwindSafe for ModelDeployConfig
impl Send for ModelDeployConfig
impl Sync for ModelDeployConfig
impl Unpin for ModelDeployConfig
impl UnwindSafe for ModelDeployConfig
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