#[non_exhaustive]
pub enum PutLifecycleHookErrorKind {
LimitExceededFault(LimitExceededFault),
ResourceContentionFault(ResourceContentionFault),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the PutLifecycleHook operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LimitExceededFault(LimitExceededFault)
You have already reached a limit for your Amazon EC2 Auto Scaling resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API Reference.
ResourceContentionFault(ResourceContentionFault)
You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source for more details about the underlying cause.