Enum rusoto_iot::RegisterCertificateError
[−]
[src]
pub enum RegisterCertificateError { CertificateConflict(String), CertificateState(String), CertificateValidation(String), InternalFailure(String), InvalidRequest(String), ResourceAlreadyExists(String), ServiceUnavailable(String), Throttling(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by RegisterCertificate
Variants
CertificateConflict(String)
Unable to verify the CA certificate used to sign the device certificate you are attempting to register. This is happens when you have registered more than one CA certificate that has the same subject field and public key.
CertificateState(String)
The certificate operation is not allowed.
CertificateValidation(String)
The certificate is invalid.
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceAlreadyExists(String)
The resource already exists.
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 RegisterCertificateError
[src]
pub fn from_body(body: &str) -> RegisterCertificateError
[src]
Trait Implementations
impl Debug for RegisterCertificateError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for RegisterCertificateError
[src]
fn eq(&self, __arg_0: &RegisterCertificateError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RegisterCertificateError) -> bool
[src]
This method tests for !=
.
impl From<Error> for RegisterCertificateError
[src]
fn from(err: Error) -> RegisterCertificateError
[src]
Performs the conversion.
impl From<CredentialsError> for RegisterCertificateError
[src]
fn from(err: CredentialsError) -> RegisterCertificateError
[src]
Performs the conversion.
impl From<HttpDispatchError> for RegisterCertificateError
[src]
fn from(err: HttpDispatchError) -> RegisterCertificateError
[src]
Performs the conversion.
impl From<Error> for RegisterCertificateError
[src]
fn from(err: Error) -> RegisterCertificateError
[src]
Performs the conversion.
impl Display for RegisterCertificateError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more