Enum rusoto_ssm::GetDocumentError
[−]
[src]
pub enum GetDocumentError { InternalServerError(String), InvalidDocument(String), InvalidDocumentVersion(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetDocument
Variants
InternalServerError(String)
An error occurred on the server side.
InvalidDocument(String)
The specified document does not exist.
InvalidDocumentVersion(String)
The document version is not valid or does not exist.
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 GetDocumentError
[src]
fn from_body(body: &str) -> GetDocumentError
[src]
Trait Implementations
impl Debug for GetDocumentError
[src]
impl PartialEq for GetDocumentError
[src]
fn eq(&self, __arg_0: &GetDocumentError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetDocumentError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
[src]
Performs the conversion.
impl From<CredentialsError> for GetDocumentError
[src]
fn from(err: CredentialsError) -> GetDocumentError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetDocumentError
[src]
fn from(err: HttpDispatchError) -> GetDocumentError
[src]
Performs the conversion.
impl From<Error> for GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
[src]
Performs the conversion.
impl Display for GetDocumentError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more