pub enum GetDistributionConfigurationError {
CallRateLimitExceeded(String),
Client(String),
Forbidden(String),
InvalidRequest(String),
Service(String),
ServiceUnavailable(String),
}
Expand description
Errors returned by GetDistributionConfiguration
Variants§
CallRateLimitExceeded(String)
You have exceeded the permitted request rate for the specific operation.
Client(String)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
Forbidden(String)
You are not authorized to perform the requested operation.
InvalidRequest(String)
You have made a request for an action that is not supported by the service.
Service(String)
This exception is thrown when the service encounters an unrecoverable exception.
The service is unable to process your request at this time.
Implementations§
Trait Implementations§
Source§impl Error for GetDistributionConfigurationError
impl Error for GetDistributionConfigurationError
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 GetDistributionConfigurationError
impl PartialEq for GetDistributionConfigurationError
Source§fn eq(&self, other: &GetDistributionConfigurationError) -> bool
fn eq(&self, other: &GetDistributionConfigurationError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetDistributionConfigurationError
Auto Trait Implementations§
impl Freeze for GetDistributionConfigurationError
impl RefUnwindSafe for GetDistributionConfigurationError
impl Send for GetDistributionConfigurationError
impl Sync for GetDistributionConfigurationError
impl Unpin for GetDistributionConfigurationError
impl UnwindSafe for GetDistributionConfigurationError
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