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]
impl GetDocumentError
pub fn from_body(body: &str) -> GetDocumentError
[src]
pub fn from_body(body: &str) -> GetDocumentError
Trait Implementations
impl Debug for GetDocumentError
[src]
impl Debug for GetDocumentError
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 GetDocumentError
[src]
impl PartialEq for GetDocumentError
fn eq(&self, other: &GetDocumentError) -> bool
[src]
fn eq(&self, other: &GetDocumentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetDocumentError) -> bool
[src]
fn ne(&self, other: &GetDocumentError) -> bool
This method tests for !=
.
impl From<Error> for GetDocumentError
[src]
impl From<Error> for GetDocumentError
fn from(err: Error) -> GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
Performs the conversion.
impl From<CredentialsError> for GetDocumentError
[src]
impl From<CredentialsError> for GetDocumentError
fn from(err: CredentialsError) -> GetDocumentError
[src]
fn from(err: CredentialsError) -> GetDocumentError
Performs the conversion.
impl From<HttpDispatchError> for GetDocumentError
[src]
impl From<HttpDispatchError> for GetDocumentError
fn from(err: HttpDispatchError) -> GetDocumentError
[src]
fn from(err: HttpDispatchError) -> GetDocumentError
Performs the conversion.
impl From<Error> for GetDocumentError
[src]
impl From<Error> for GetDocumentError
fn from(err: Error) -> GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
Performs the conversion.
impl Display for GetDocumentError
[src]
impl Display for GetDocumentError
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 GetDocumentError
[src]
impl Error for GetDocumentError
Auto Trait Implementations
impl Send for GetDocumentError
impl Send for GetDocumentError
impl Sync for GetDocumentError
impl Sync for GetDocumentError