Enum rusoto_lightsail::GetDistributionMetricDataError [−][src]
pub enum GetDistributionMetricDataError { AccessDenied(String), InvalidInput(String), NotFound(String), OperationFailure(String), Service(String), Unauthenticated(String), }
Expand description
Errors returned by GetDistributionMetricData
Variants
AccessDenied(String)
Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.
InvalidInput(String)
Lightsail throws this exception when user input does not conform to the validation rules of an input field.
Domain and distribution APIs are only available in the N. Virginia (us-east-1
) AWS Region. Please set your AWS 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.
Implementations
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<GetDistributionMetricDataError>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GetDistributionMetricDataError
impl Sync for GetDistributionMetricDataError
impl Unpin for GetDistributionMetricDataError
impl UnwindSafe for GetDistributionMetricDataError