pub enum UpdateSecretVersionStageError {
InternalServiceError(String),
InvalidParameter(String),
InvalidRequest(String),
LimitExceeded(String),
ResourceNotFound(String),
}
Expand description
Errors returned by UpdateSecretVersionStage
Variants§
InternalServiceError(String)
An error occurred on the server side.
InvalidParameter(String)
You provided an invalid value for a parameter.
InvalidRequest(String)
You provided a parameter value that is not valid for the current state of the resource.
Possible causes:
-
You tried to perform the operation on a secret that's currently marked deleted.
-
You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and you didn't include such an ARN as a parameter in this call.
LimitExceeded(String)
The request failed because it would exceed one of the Secrets Manager internal limits.
ResourceNotFound(String)
We can't find the resource that you asked for.
Implementations§
Trait Implementations§
Source§impl Error for UpdateSecretVersionStageError
impl Error for UpdateSecretVersionStageError
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 UpdateSecretVersionStageError
impl PartialEq for UpdateSecretVersionStageError
Source§fn eq(&self, other: &UpdateSecretVersionStageError) -> bool
fn eq(&self, other: &UpdateSecretVersionStageError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateSecretVersionStageError
Auto Trait Implementations§
impl Freeze for UpdateSecretVersionStageError
impl RefUnwindSafe for UpdateSecretVersionStageError
impl Send for UpdateSecretVersionStageError
impl Sync for UpdateSecretVersionStageError
impl Unpin for UpdateSecretVersionStageError
impl UnwindSafe for UpdateSecretVersionStageError
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