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