Struct aws_sdk_sagemaker::model::DeploymentConfig
source · #[non_exhaustive]pub struct DeploymentConfig { /* private fields */ }
Expand description
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Implementations§
source§impl DeploymentConfig
impl DeploymentConfig
sourcepub fn blue_green_update_policy(&self) -> Option<&BlueGreenUpdatePolicy>
pub fn blue_green_update_policy(&self) -> Option<&BlueGreenUpdatePolicy>
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
sourcepub fn auto_rollback_configuration(&self) -> Option<&AutoRollbackConfig>
pub fn auto_rollback_configuration(&self) -> Option<&AutoRollbackConfig>
Automatic rollback configuration for handling endpoint deployment failures and recovery.
source§impl DeploymentConfig
impl DeploymentConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeploymentConfig
.
Trait Implementations§
source§impl Clone for DeploymentConfig
impl Clone for DeploymentConfig
source§fn clone(&self) -> DeploymentConfig
fn clone(&self) -> DeploymentConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeploymentConfig
impl Debug for DeploymentConfig
source§impl PartialEq<DeploymentConfig> for DeploymentConfig
impl PartialEq<DeploymentConfig> for DeploymentConfig
source§fn eq(&self, other: &DeploymentConfig) -> bool
fn eq(&self, other: &DeploymentConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.