Enum aws_sdk_ssm::error::UpdateDocumentErrorKind [−][src]
#[non_exhaustive]
pub enum UpdateDocumentErrorKind {
DocumentVersionLimitExceeded(DocumentVersionLimitExceeded),
DuplicateDocumentContent(DuplicateDocumentContent),
DuplicateDocumentVersionName(DuplicateDocumentVersionName),
InternalServerError(InternalServerError),
InvalidDocument(InvalidDocument),
InvalidDocumentContent(InvalidDocumentContent),
InvalidDocumentOperation(InvalidDocumentOperation),
InvalidDocumentSchemaVersion(InvalidDocumentSchemaVersion),
InvalidDocumentVersion(InvalidDocumentVersion),
MaxDocumentSizeExceeded(MaxDocumentSizeExceeded),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the UpdateDocument
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DocumentVersionLimitExceeded(DocumentVersionLimitExceeded)
Tuple Fields
The document has too many versions. Delete one or more document versions and try again.
DuplicateDocumentContent(DuplicateDocumentContent)
Tuple Fields
The content of the association document matches another document. Change the content of the document and try again.
DuplicateDocumentVersionName(DuplicateDocumentVersionName)
Tuple Fields
The version name has already been used in this document. Specify a different version name, and then try again.
InternalServerError(InternalServerError)
Tuple Fields
An error occurred on the server side.
InvalidDocument(InvalidDocument)
Tuple Fields
The specified SSM document doesn't exist.
InvalidDocumentContent(InvalidDocumentContent)
Tuple Fields
The content for the document isn't valid.
InvalidDocumentOperation(InvalidDocumentOperation)
Tuple Fields
You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.
InvalidDocumentSchemaVersion(InvalidDocumentSchemaVersion)
Tuple Fields
The version of the document schema isn't supported.
InvalidDocumentVersion(InvalidDocumentVersion)
Tuple Fields
The document version isn't valid or doesn't exist.
MaxDocumentSizeExceeded(MaxDocumentSizeExceeded)
Tuple Fields
The size limit of a document is 64 KB.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateDocumentErrorKind
impl Send for UpdateDocumentErrorKind
impl Sync for UpdateDocumentErrorKind
impl Unpin for UpdateDocumentErrorKind
impl !UnwindSafe for UpdateDocumentErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more