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 ==
.