pub enum PutLifecycleEventHookExecutionStatusError {
DeploymentDoesNotExist(String),
DeploymentIdRequired(String),
InvalidDeploymentId(String),
InvalidLifecycleEventHookExecutionId(String),
InvalidLifecycleEventHookExecutionStatus(String),
LifecycleEventAlreadyCompleted(String),
UnsupportedActionForDeploymentType(String),
}
Expand description
Errors returned by PutLifecycleEventHookExecutionStatus
Variants§
DeploymentDoesNotExist(String)
The deployment with the IAM user or AWS account does not exist.
DeploymentIdRequired(String)
At least one deployment ID must be specified.
InvalidDeploymentId(String)
At least one of the deployment IDs was specified in an invalid format.
InvalidLifecycleEventHookExecutionId(String)
A lifecycle event hook is invalid. Review the hooks
section in your AppSpec file to ensure the lifecycle events and hooks
functions are valid.
InvalidLifecycleEventHookExecutionStatus(String)
The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return Succeeded
or Failed
.
LifecycleEventAlreadyCompleted(String)
An attempt to return the status of an already completed lifecycle event occurred.
UnsupportedActionForDeploymentType(String)
A call was submitted that is not supported for the specified deployment type.
Implementations§
Trait Implementations§
Source§impl Error for PutLifecycleEventHookExecutionStatusError
impl Error for PutLifecycleEventHookExecutionStatusError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for PutLifecycleEventHookExecutionStatusError
impl PartialEq for PutLifecycleEventHookExecutionStatusError
Source§fn eq(&self, other: &PutLifecycleEventHookExecutionStatusError) -> bool
fn eq(&self, other: &PutLifecycleEventHookExecutionStatusError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutLifecycleEventHookExecutionStatusError
Auto Trait Implementations§
impl Freeze for PutLifecycleEventHookExecutionStatusError
impl RefUnwindSafe for PutLifecycleEventHookExecutionStatusError
impl Send for PutLifecycleEventHookExecutionStatusError
impl Sync for PutLifecycleEventHookExecutionStatusError
impl Unpin for PutLifecycleEventHookExecutionStatusError
impl UnwindSafe for PutLifecycleEventHookExecutionStatusError
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