Enum rusoto_iot::CreatePolicyVersionError
[−]
[src]
pub enum CreatePolicyVersionError { InternalFailure(String), InvalidRequest(String), MalformedPolicy(String), ResourceNotFound(String), ServiceUnavailable(String), Throttling(String), Unauthorized(String), VersionsLimitExceeded(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreatePolicyVersion
Variants
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
MalformedPolicy(String)
The policy documentation 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.
VersionsLimitExceeded(String)
The number of policy versions exceeds the limit.
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 CreatePolicyVersionError
[src]
pub fn from_body(body: &str) -> CreatePolicyVersionError
[src]
Trait Implementations
impl Debug for CreatePolicyVersionError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreatePolicyVersionError
[src]
fn eq(&self, __arg_0: &CreatePolicyVersionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreatePolicyVersionError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreatePolicyVersionError
[src]
fn from(err: Error) -> CreatePolicyVersionError
[src]
Performs the conversion.
impl From<CredentialsError> for CreatePolicyVersionError
[src]
fn from(err: CredentialsError) -> CreatePolicyVersionError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreatePolicyVersionError
[src]
fn from(err: HttpDispatchError) -> CreatePolicyVersionError
[src]
Performs the conversion.
impl From<Error> for CreatePolicyVersionError
[src]
fn from(err: Error) -> CreatePolicyVersionError
[src]
Performs the conversion.
impl Display for CreatePolicyVersionError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more