pub enum UpdateLicenseSpecificationsForResourceError {
AccessDenied(String),
Authorization(String),
InvalidParameterValue(String),
InvalidResourceState(String),
LicenseUsage(String),
RateLimitExceeded(String),
ServerInternal(String),
}Expand description
Errors returned by UpdateLicenseSpecificationsForResource
Variants§
AccessDenied(String)
Access to resource denied.
Authorization(String)
The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.
InvalidParameterValue(String)
One or more parameter values are not valid.
InvalidResourceState(String)
License Manager cannot allocate a license to a resource because of its state.
For example, you cannot allocate a license to an instance in the process of shutting down.
LicenseUsage(String)
You do not have enough licenses available to support a new resource launch.
RateLimitExceeded(String)
Too many requests have been submitted. Try again after a brief wait.
ServerInternal(String)
The server experienced an internal error. Try again.
Implementations§
Trait Implementations§
Source§impl Error for UpdateLicenseSpecificationsForResourceError
impl Error for UpdateLicenseSpecificationsForResourceError
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 UpdateLicenseSpecificationsForResourceError
impl PartialEq for UpdateLicenseSpecificationsForResourceError
Source§fn eq(&self, other: &UpdateLicenseSpecificationsForResourceError) -> bool
fn eq(&self, other: &UpdateLicenseSpecificationsForResourceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateLicenseSpecificationsForResourceError
Auto Trait Implementations§
impl Freeze for UpdateLicenseSpecificationsForResourceError
impl RefUnwindSafe for UpdateLicenseSpecificationsForResourceError
impl Send for UpdateLicenseSpecificationsForResourceError
impl Sync for UpdateLicenseSpecificationsForResourceError
impl Unpin for UpdateLicenseSpecificationsForResourceError
impl UnwindSafe for UpdateLicenseSpecificationsForResourceError
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