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
sourceimpl 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.
sourceimpl DeploymentConfig
impl DeploymentConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeploymentConfig.
Trait Implementations
sourceimpl Clone for DeploymentConfig
impl Clone for DeploymentConfig
sourcefn clone(&self) -> DeploymentConfig
fn clone(&self) -> DeploymentConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DeploymentConfig
impl Debug for DeploymentConfig
sourceimpl PartialEq<DeploymentConfig> for DeploymentConfig
impl PartialEq<DeploymentConfig> for DeploymentConfig
sourcefn eq(&self, other: &DeploymentConfig) -> bool
fn eq(&self, other: &DeploymentConfig) -> bool
impl StructuralPartialEq for DeploymentConfig
Auto Trait Implementations
impl RefUnwindSafe for DeploymentConfig
impl Send for DeploymentConfig
impl Sync for DeploymentConfig
impl Unpin for DeploymentConfig
impl UnwindSafe for DeploymentConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more