Enum rusoto_ssm::DeleteDocumentError [−][src]
pub enum DeleteDocumentError { AssociatedInstances(String), InternalServerError(String), InvalidDocument(String), InvalidDocumentOperation(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteDocument
Variants
AssociatedInstances(String)
You must disassociate a document from all instances before you can delete it.
InternalServerError(String)
An error occurred on the server side.
InvalidDocument(String)
The specified document does not exist.
InvalidDocumentOperation(String)
You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.
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 DeleteDocumentError
[src]
impl DeleteDocumentError
pub fn from_body(body: &str) -> DeleteDocumentError
[src]
pub fn from_body(body: &str) -> DeleteDocumentError
Trait Implementations
impl Debug for DeleteDocumentError
[src]
impl Debug for DeleteDocumentError
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 DeleteDocumentError
[src]
impl PartialEq for DeleteDocumentError
fn eq(&self, other: &DeleteDocumentError) -> bool
[src]
fn eq(&self, other: &DeleteDocumentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeleteDocumentError) -> bool
[src]
fn ne(&self, other: &DeleteDocumentError) -> bool
This method tests for !=
.
impl From<Error> for DeleteDocumentError
[src]
impl From<Error> for DeleteDocumentError
fn from(err: Error) -> DeleteDocumentError
[src]
fn from(err: Error) -> DeleteDocumentError
Performs the conversion.
impl From<CredentialsError> for DeleteDocumentError
[src]
impl From<CredentialsError> for DeleteDocumentError
fn from(err: CredentialsError) -> DeleteDocumentError
[src]
fn from(err: CredentialsError) -> DeleteDocumentError
Performs the conversion.
impl From<HttpDispatchError> for DeleteDocumentError
[src]
impl From<HttpDispatchError> for DeleteDocumentError
fn from(err: HttpDispatchError) -> DeleteDocumentError
[src]
fn from(err: HttpDispatchError) -> DeleteDocumentError
Performs the conversion.
impl From<Error> for DeleteDocumentError
[src]
impl From<Error> for DeleteDocumentError
fn from(err: Error) -> DeleteDocumentError
[src]
fn from(err: Error) -> DeleteDocumentError
Performs the conversion.
impl Display for DeleteDocumentError
[src]
impl Display for DeleteDocumentError
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 DeleteDocumentError
[src]
impl Error for DeleteDocumentError
Auto Trait Implementations
impl Send for DeleteDocumentError
impl Send for DeleteDocumentError
impl Sync for DeleteDocumentError
impl Sync for DeleteDocumentError