pub enum UpdateSubscriptionError {
InternalError(String),
InvalidParameter(String),
LockedSubscription(String),
OptimisticLock(String),
ResourceNotFound(String),
}Expand description
Errors returned by UpdateSubscription
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
InvalidParameter(String)
Exception that indicates that the parameters passed to the API are invalid.
LockedSubscription(String)
You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the AutoRenew parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change AutoRenew prior to that period.
OptimisticLock(String)
Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
Implementations§
Source§impl UpdateSubscriptionError
impl UpdateSubscriptionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateSubscriptionError>
Trait Implementations§
Source§impl Debug for UpdateSubscriptionError
impl Debug for UpdateSubscriptionError
Source§impl Display for UpdateSubscriptionError
impl Display for UpdateSubscriptionError
Source§impl Error for UpdateSubscriptionError
impl Error for UpdateSubscriptionError
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 UpdateSubscriptionError
impl PartialEq for UpdateSubscriptionError
impl StructuralPartialEq for UpdateSubscriptionError
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionError
impl RefUnwindSafe for UpdateSubscriptionError
impl Send for UpdateSubscriptionError
impl Sync for UpdateSubscriptionError
impl Unpin for UpdateSubscriptionError
impl UnwindSafe for UpdateSubscriptionError
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