pub enum ModifyDocumentPermissionError {
DocumentLimitExceeded(String),
DocumentPermissionLimit(String),
InternalServerError(String),
InvalidDocument(String),
InvalidPermissionType(String),
}Expand description
Errors returned by ModifyDocumentPermission
Variants§
DocumentLimitExceeded(String)
You can have at most 500 active Systems Manager documents.
DocumentPermissionLimit(String)
The document cannot be shared with more AWS user accounts. You can share a document with a maximum of 20 accounts. You can publicly share up to five documents. If you need to increase this limit, contact AWS Support.
InternalServerError(String)
An error occurred on the server side.
InvalidDocument(String)
The specified document does not exist.
InvalidPermissionType(String)
The permission type is not supported. Share is the only supported permission type.
Implementations§
Trait Implementations§
Source§impl Error for ModifyDocumentPermissionError
impl Error for ModifyDocumentPermissionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ModifyDocumentPermissionError
impl PartialEq for ModifyDocumentPermissionError
Source§fn eq(&self, other: &ModifyDocumentPermissionError) -> bool
fn eq(&self, other: &ModifyDocumentPermissionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyDocumentPermissionError
Auto Trait Implementations§
impl Freeze for ModifyDocumentPermissionError
impl RefUnwindSafe for ModifyDocumentPermissionError
impl Send for ModifyDocumentPermissionError
impl Sync for ModifyDocumentPermissionError
impl Unpin for ModifyDocumentPermissionError
impl UnwindSafe for ModifyDocumentPermissionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more