Struct aws_sdk_sagemaker::types::AutoRollbackConfig
source · #[non_exhaustive]pub struct AutoRollbackConfig {
pub alarms: Option<Vec<Alarm>>,
}
Expand description
Automatic rollback configuration for handling endpoint deployment failures and recovery.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.alarms: Option<Vec<Alarm>>
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
Implementations§
source§impl AutoRollbackConfig
impl AutoRollbackConfig
sourcepub fn builder() -> AutoRollbackConfigBuilder
pub fn builder() -> AutoRollbackConfigBuilder
Creates a new builder-style object to manufacture AutoRollbackConfig
.
Trait Implementations§
source§impl Clone for AutoRollbackConfig
impl Clone for AutoRollbackConfig
source§fn clone(&self) -> AutoRollbackConfig
fn clone(&self) -> AutoRollbackConfig
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 AutoRollbackConfig
impl Debug for AutoRollbackConfig
source§impl PartialEq<AutoRollbackConfig> for AutoRollbackConfig
impl PartialEq<AutoRollbackConfig> for AutoRollbackConfig
source§fn eq(&self, other: &AutoRollbackConfig) -> bool
fn eq(&self, other: &AutoRollbackConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoRollbackConfig
Auto Trait Implementations§
impl RefUnwindSafe for AutoRollbackConfig
impl Send for AutoRollbackConfig
impl Sync for AutoRollbackConfig
impl Unpin for AutoRollbackConfig
impl UnwindSafe for AutoRollbackConfig
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
Mutably borrows from an owned value. Read more