Struct aws_sdk_sagemaker::model::ModelDeployConfig [−][src]
#[non_exhaustive]pub struct ModelDeployConfig {
pub auto_generate_endpoint_name: 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: 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
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.
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.
Creates a new builder-style object to manufacture ModelDeployConfig
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 RefUnwindSafe for ModelDeployConfig
impl Send for ModelDeployConfig
impl Sync for ModelDeployConfig
impl Unpin for ModelDeployConfig
impl UnwindSafe for ModelDeployConfig
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