pub enum GetEC2InstanceRecommendationsError {
AccessDenied(String),
InternalServer(String),
InvalidParameterValue(String),
MissingAuthenticationToken(String),
OptInRequired(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}
Expand description
Errors returned by GetEC2InstanceRecommendations
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
InternalServer(String)
An internal error has occurred. Try your call again.
InvalidParameterValue(String)
An invalid or out-of-range value was supplied for the input parameter.
MissingAuthenticationToken(String)
The request must contain either a valid (registered) AWS access key ID or X.509 certificate.
OptInRequired(String)
The account is not opted in to AWS Compute Optimizer.
ResourceNotFound(String)
A resource that is required for the action doesn't exist.
The request has failed due to a temporary failure of the server.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Trait Implementations§
Source§impl Error for GetEC2InstanceRecommendationsError
impl Error for GetEC2InstanceRecommendationsError
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 GetEC2InstanceRecommendationsError
impl PartialEq for GetEC2InstanceRecommendationsError
Source§fn eq(&self, other: &GetEC2InstanceRecommendationsError) -> bool
fn eq(&self, other: &GetEC2InstanceRecommendationsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetEC2InstanceRecommendationsError
Auto Trait Implementations§
impl Freeze for GetEC2InstanceRecommendationsError
impl RefUnwindSafe for GetEC2InstanceRecommendationsError
impl Send for GetEC2InstanceRecommendationsError
impl Sync for GetEC2InstanceRecommendationsError
impl Unpin for GetEC2InstanceRecommendationsError
impl UnwindSafe for GetEC2InstanceRecommendationsError
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