Enum rusoto_workdocs::AddResourcePermissionsError [−][src]
pub enum AddResourcePermissionsError { FailedDependency(String), ServiceUnavailable(String), UnauthorizedOperation(String), UnauthorizedResourceAccess(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AddResourcePermissions
Variants
FailedDependency(String)
The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
One or more of the dependencies is unavailable.
The operation is not permitted.
The caller does not have access to perform the action on the resource.
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 AddResourcePermissionsError
[src]
impl AddResourcePermissionsError
pub fn from_body(body: &str) -> AddResourcePermissionsError
[src]
pub fn from_body(body: &str) -> AddResourcePermissionsError
Trait Implementations
impl Debug for AddResourcePermissionsError
[src]
impl Debug for AddResourcePermissionsError
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 AddResourcePermissionsError
[src]
impl PartialEq for AddResourcePermissionsError
fn eq(&self, other: &AddResourcePermissionsError) -> bool
[src]
fn eq(&self, other: &AddResourcePermissionsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AddResourcePermissionsError) -> bool
[src]
fn ne(&self, other: &AddResourcePermissionsError) -> bool
This method tests for !=
.
impl From<Error> for AddResourcePermissionsError
[src]
impl From<Error> for AddResourcePermissionsError
fn from(err: Error) -> AddResourcePermissionsError
[src]
fn from(err: Error) -> AddResourcePermissionsError
Performs the conversion.
impl From<CredentialsError> for AddResourcePermissionsError
[src]
impl From<CredentialsError> for AddResourcePermissionsError
fn from(err: CredentialsError) -> AddResourcePermissionsError
[src]
fn from(err: CredentialsError) -> AddResourcePermissionsError
Performs the conversion.
impl From<HttpDispatchError> for AddResourcePermissionsError
[src]
impl From<HttpDispatchError> for AddResourcePermissionsError
fn from(err: HttpDispatchError) -> AddResourcePermissionsError
[src]
fn from(err: HttpDispatchError) -> AddResourcePermissionsError
Performs the conversion.
impl From<Error> for AddResourcePermissionsError
[src]
impl From<Error> for AddResourcePermissionsError
fn from(err: Error) -> AddResourcePermissionsError
[src]
fn from(err: Error) -> AddResourcePermissionsError
Performs the conversion.
impl Display for AddResourcePermissionsError
[src]
impl Display for AddResourcePermissionsError
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 AddResourcePermissionsError
[src]
impl Error for AddResourcePermissionsError
Auto Trait Implementations
impl Send for AddResourcePermissionsError
impl Send for AddResourcePermissionsError
impl Sync for AddResourcePermissionsError
impl Sync for AddResourcePermissionsError