pub enum CreateResourceError {
DirectoryServiceAuthenticationFailed(String),
DirectoryUnavailable(String),
InvalidParameter(String),
NameAvailability(String),
OrganizationNotFound(String),
OrganizationState(String),
ReservedName(String),
}
Expand description
Errors returned by CreateResource
Variants§
DirectoryServiceAuthenticationFailed(String)
The directory service doesn't recognize the credentials supplied by WorkMail.
The directory on which you are trying to perform operations isn't available.
InvalidParameter(String)
One or more of the input parameters don't match the service's restrictions.
NameAvailability(String)
The user, group, or resource name isn't unique in Amazon WorkMail.
OrganizationNotFound(String)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationState(String)
The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its members.
ReservedName(String)
This user, group, or resource name is not allowed in Amazon WorkMail.
Implementations§
Source§impl CreateResourceError
impl CreateResourceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateResourceError>
Trait Implementations§
Source§impl Debug for CreateResourceError
impl Debug for CreateResourceError
Source§impl Display for CreateResourceError
impl Display for CreateResourceError
Source§impl Error for CreateResourceError
impl Error for CreateResourceError
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 CreateResourceError
impl PartialEq for CreateResourceError
impl StructuralPartialEq for CreateResourceError
Auto Trait Implementations§
impl Freeze for CreateResourceError
impl RefUnwindSafe for CreateResourceError
impl Send for CreateResourceError
impl Sync for CreateResourceError
impl Unpin for CreateResourceError
impl UnwindSafe for CreateResourceError
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