[][src]Enum rusoto_ssm::UpdateDocumentError

pub enum UpdateDocumentError {
    DocumentVersionLimitExceeded(String),
    DuplicateDocumentContent(String),
    DuplicateDocumentVersionName(String),
    InternalServerError(String),
    InvalidDocument(String),
    InvalidDocumentContent(String),
    InvalidDocumentOperation(String),
    InvalidDocumentSchemaVersion(String),
    InvalidDocumentVersion(String),
    MaxDocumentSizeExceeded(String),
}

Errors returned by UpdateDocument

Variants

DocumentVersionLimitExceeded(String)

The document has too many versions. Delete one or more document versions and try again.

DuplicateDocumentContent(String)

The content of the association document matches another document. Change the content of the document and try again.

DuplicateDocumentVersionName(String)

The version name has already been used in this document. Specify a different version name, and then try again.

InternalServerError(String)

An error occurred on the server side.

InvalidDocument(String)

The specified document does not exist.

InvalidDocumentContent(String)

The content for the document is not valid.

InvalidDocumentOperation(String)

You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.

InvalidDocumentSchemaVersion(String)

The version of the document schema is not supported.

InvalidDocumentVersion(String)

The document version is not valid or does not exist.

MaxDocumentSizeExceeded(String)

The size limit of a document is 64 KB.

Methods

impl UpdateDocumentError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<UpdateDocumentError>
[src]

Trait Implementations

impl PartialEq<UpdateDocumentError> for UpdateDocumentError[src]

impl Debug for UpdateDocumentError[src]

impl Display for UpdateDocumentError[src]

impl Error for UpdateDocumentError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for UpdateDocumentError

impl Sync for UpdateDocumentError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self