pub enum ExportEC2InstanceRecommendationsError {
AccessDenied(String),
InternalServer(String),
InvalidParameterValue(String),
LimitExceeded(String),
MissingAuthenticationToken(String),
OptInRequired(String),
ServiceUnavailable(String),
Throttling(String),
}
Expand description
Errors returned by ExportEC2InstanceRecommendations
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.
LimitExceeded(String)
The request exceeds a limit of the service.
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.
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 ExportEC2InstanceRecommendationsError
impl Error for ExportEC2InstanceRecommendationsError
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 ExportEC2InstanceRecommendationsError
impl PartialEq for ExportEC2InstanceRecommendationsError
Source§fn eq(&self, other: &ExportEC2InstanceRecommendationsError) -> bool
fn eq(&self, other: &ExportEC2InstanceRecommendationsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExportEC2InstanceRecommendationsError
Auto Trait Implementations§
impl Freeze for ExportEC2InstanceRecommendationsError
impl RefUnwindSafe for ExportEC2InstanceRecommendationsError
impl Send for ExportEC2InstanceRecommendationsError
impl Sync for ExportEC2InstanceRecommendationsError
impl Unpin for ExportEC2InstanceRecommendationsError
impl UnwindSafe for ExportEC2InstanceRecommendationsError
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