pub enum UpdateResourceError {
DirectoryUnavailable(String),
EmailAddressInUse(String),
EntityNotFound(String),
EntityState(String),
InvalidConfiguration(String),
MailDomainNotFound(String),
MailDomainState(String),
NameAvailability(String),
OrganizationNotFound(String),
OrganizationState(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
}
Errors returned by UpdateResource
The directory that you are trying to perform operations on isn't available.
The email address that you're trying to assign is already created for a different user, group, or resource.
The identifier supplied for the entity is valid, but it does not exist in your organization.
You are performing an operation on an entity that isn't in the expected state, such as trying to update a deleted user.
The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do it on its behalf.
MailDomainNotFound(String)
For an email or alias to be created in Amazon WorkMail, the included domain must be defined in the organization.
MailDomainState(String)
After a domain has been added to the organization, it must be verified. The domain is not yet verified.
The entity (user, group, or user) name isn't unique in Amazon WorkMail.
An operation received a valid organization identifier that either doesn't belong or exist in the system.
The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its entities.
An error occurred dispatching the HTTP request
An error was encountered with AWS credentials.
A validation error occurred. Details from AWS are provided.
An error occurred parsing the response payload.
An unknown error occurred. The raw HTTP response is provided.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Deprecating in 1.33.0
: replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
The lower-level source of this error, if any. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static