Enum rusoto_sns::OptInPhoneNumberError
[−]
[src]
pub enum OptInPhoneNumberError { AuthorizationError(String), InternalError(String), InvalidParameter(String), Throttled(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by OptInPhoneNumber
Variants
AuthorizationError(String)
Indicates that the user has been denied access to the requested resource.
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Indicates that a request parameter does not comply with the associated constraints.
Throttled(String)
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.
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 OptInPhoneNumberError
[src]
pub fn from_body(body: &str) -> OptInPhoneNumberError
[src]
Trait Implementations
impl Debug for OptInPhoneNumberError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for OptInPhoneNumberError
[src]
fn eq(&self, __arg_0: &OptInPhoneNumberError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OptInPhoneNumberError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for OptInPhoneNumberError
[src]
fn from(err: XmlParseError) -> OptInPhoneNumberError
[src]
Performs the conversion.
impl From<CredentialsError> for OptInPhoneNumberError
[src]
fn from(err: CredentialsError) -> OptInPhoneNumberError
[src]
Performs the conversion.
impl From<HttpDispatchError> for OptInPhoneNumberError
[src]
fn from(err: HttpDispatchError) -> OptInPhoneNumberError
[src]
Performs the conversion.
impl From<Error> for OptInPhoneNumberError
[src]
fn from(err: Error) -> OptInPhoneNumberError
[src]
Performs the conversion.
impl Display for OptInPhoneNumberError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more