Enum rusoto_lightsail::GetInstanceMetricDataError
[−]
[src]
pub enum GetInstanceMetricDataError { AccessDenied(String), AccountSetupInProgress(String), InvalidInput(String), NotFound(String), OperationFailure(String), Service(String), Unauthenticated(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetInstanceMetricData
Variants
AccessDenied(String)
Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.
AccountSetupInProgress(String)
Lightsail throws this exception when an account is still in the setup in progress state.
InvalidInput(String)
Lightsail throws this exception when user input does not conform to the validation rules of an input field.
Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFound(String)
Lightsail throws this exception when it cannot find a resource.
OperationFailure(String)
Lightsail throws this exception when an operation fails to execute.
Service(String)
A general service exception.
Unauthenticated(String)
Lightsail throws this exception when the user has not been authenticated.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl GetInstanceMetricDataError
[src]
fn from_body(body: &str) -> GetInstanceMetricDataError
Trait Implementations
impl Debug for GetInstanceMetricDataError
[src]
impl PartialEq for GetInstanceMetricDataError
[src]
fn eq(&self, __arg_0: &GetInstanceMetricDataError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetInstanceMetricDataError) -> bool
This method tests for !=
.
impl From<Error> for GetInstanceMetricDataError
[src]
fn from(err: Error) -> GetInstanceMetricDataError
Performs the conversion.
impl From<CredentialsError> for GetInstanceMetricDataError
[src]
fn from(err: CredentialsError) -> GetInstanceMetricDataError
Performs the conversion.
impl From<HttpDispatchError> for GetInstanceMetricDataError
[src]
fn from(err: HttpDispatchError) -> GetInstanceMetricDataError
Performs the conversion.