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