Enum rusoto_iot::AttachThingPrincipalError [−][src]
pub enum AttachThingPrincipalError { InternalFailure(String), InvalidRequest(String), ResourceNotFound(String), ServiceUnavailable(String), Throttling(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AttachThingPrincipal
Variants
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceNotFound(String)
The specified resource does not exist.
The service is temporarily unavailable.
Throttling(String)
The rate exceeds the limit.
You are not authorized to perform this operation.
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 AttachThingPrincipalError
[src]
impl AttachThingPrincipalError
pub fn from_body(body: &str) -> AttachThingPrincipalError
[src]
pub fn from_body(body: &str) -> AttachThingPrincipalError
Trait Implementations
impl Debug for AttachThingPrincipalError
[src]
impl Debug for AttachThingPrincipalError
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 AttachThingPrincipalError
[src]
impl PartialEq for AttachThingPrincipalError
fn eq(&self, other: &AttachThingPrincipalError) -> bool
[src]
fn eq(&self, other: &AttachThingPrincipalError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AttachThingPrincipalError) -> bool
[src]
fn ne(&self, other: &AttachThingPrincipalError) -> bool
This method tests for !=
.
impl From<Error> for AttachThingPrincipalError
[src]
impl From<Error> for AttachThingPrincipalError
fn from(err: Error) -> AttachThingPrincipalError
[src]
fn from(err: Error) -> AttachThingPrincipalError
Performs the conversion.
impl From<CredentialsError> for AttachThingPrincipalError
[src]
impl From<CredentialsError> for AttachThingPrincipalError
fn from(err: CredentialsError) -> AttachThingPrincipalError
[src]
fn from(err: CredentialsError) -> AttachThingPrincipalError
Performs the conversion.
impl From<HttpDispatchError> for AttachThingPrincipalError
[src]
impl From<HttpDispatchError> for AttachThingPrincipalError
fn from(err: HttpDispatchError) -> AttachThingPrincipalError
[src]
fn from(err: HttpDispatchError) -> AttachThingPrincipalError
Performs the conversion.
impl From<Error> for AttachThingPrincipalError
[src]
impl From<Error> for AttachThingPrincipalError
fn from(err: Error) -> AttachThingPrincipalError
[src]
fn from(err: Error) -> AttachThingPrincipalError
Performs the conversion.
impl Display for AttachThingPrincipalError
[src]
impl Display for AttachThingPrincipalError
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 AttachThingPrincipalError
[src]
impl Error for AttachThingPrincipalError
Auto Trait Implementations
impl Send for AttachThingPrincipalError
impl Send for AttachThingPrincipalError
impl Sync for AttachThingPrincipalError
impl Sync for AttachThingPrincipalError