Struct aws_sdk_sagemaker::types::DeploymentConfig
source · #[non_exhaustive]pub struct DeploymentConfig {
pub blue_green_update_policy: Option<BlueGreenUpdatePolicy>,
pub rolling_update_policy: Option<RollingUpdatePolicy>,
pub auto_rollback_configuration: Option<AutoRollbackConfig>,
}
Expand description
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
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.blue_green_update_policy: 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.
rolling_update_policy: Option<RollingUpdatePolicy>
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
auto_rollback_configuration: Option<AutoRollbackConfig>
Automatic rollback configuration for handling endpoint deployment failures and recovery.
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 rolling_update_policy(&self) -> Option<&RollingUpdatePolicy>
pub fn rolling_update_policy(&self) -> Option<&RollingUpdatePolicy>
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
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() -> DeploymentConfigBuilder
pub fn builder() -> DeploymentConfigBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentConfig
impl Debug for DeploymentConfig
source§impl PartialEq for DeploymentConfig
impl PartialEq for DeploymentConfig
source§fn eq(&self, other: &DeploymentConfig) -> bool
fn eq(&self, other: &DeploymentConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentConfig
Auto Trait Implementations§
impl Freeze for DeploymentConfig
impl RefUnwindSafe for DeploymentConfig
impl Send for DeploymentConfig
impl Sync for DeploymentConfig
impl Unpin for DeploymentConfig
impl UnwindSafe for DeploymentConfig
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