Enum rusoto_shield::DeleteSubscriptionError [−][src]
pub enum DeleteSubscriptionError { InternalError(String), LockedSubscription(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteSubscription
Variants
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
LockedSubscription(String)
Exception that indicates that the subscription you are trying to delete has not yet completed the 1-year commitment. You cannot delete this subscription.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
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 DeleteSubscriptionError
[src]
impl DeleteSubscriptionError
pub fn from_body(body: &str) -> DeleteSubscriptionError
[src]
pub fn from_body(body: &str) -> DeleteSubscriptionError
Trait Implementations
impl Debug for DeleteSubscriptionError
[src]
impl Debug for DeleteSubscriptionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DeleteSubscriptionError
[src]
impl PartialEq for DeleteSubscriptionError
fn eq(&self, other: &DeleteSubscriptionError) -> bool
[src]
fn eq(&self, other: &DeleteSubscriptionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeleteSubscriptionError) -> bool
[src]
fn ne(&self, other: &DeleteSubscriptionError) -> bool
This method tests for !=
.
impl From<Error> for DeleteSubscriptionError
[src]
impl From<Error> for DeleteSubscriptionError
fn from(err: Error) -> DeleteSubscriptionError
[src]
fn from(err: Error) -> DeleteSubscriptionError
Performs the conversion.
impl From<CredentialsError> for DeleteSubscriptionError
[src]
impl From<CredentialsError> for DeleteSubscriptionError
fn from(err: CredentialsError) -> DeleteSubscriptionError
[src]
fn from(err: CredentialsError) -> DeleteSubscriptionError
Performs the conversion.
impl From<HttpDispatchError> for DeleteSubscriptionError
[src]
impl From<HttpDispatchError> for DeleteSubscriptionError
fn from(err: HttpDispatchError) -> DeleteSubscriptionError
[src]
fn from(err: HttpDispatchError) -> DeleteSubscriptionError
Performs the conversion.
impl From<Error> for DeleteSubscriptionError
[src]
impl From<Error> for DeleteSubscriptionError
fn from(err: Error) -> DeleteSubscriptionError
[src]
fn from(err: Error) -> DeleteSubscriptionError
Performs the conversion.
impl Display for DeleteSubscriptionError
[src]
impl Display for DeleteSubscriptionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DeleteSubscriptionError
[src]
impl Error for DeleteSubscriptionError
Auto Trait Implementations
impl Send for DeleteSubscriptionError
impl Send for DeleteSubscriptionError
impl Sync for DeleteSubscriptionError
impl Sync for DeleteSubscriptionError