describe_entity
async
¶
describe_entity(
organization_id: OrganizationId,
email: EmailAddress,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = None,
) -> DescribeEntityResponse
Returns basic details about an entity in WorkMail.
Parameters:
-
organization_id(OrganizationId) –The identifier for the organization under which the entity exists.
-
email(EmailAddress) –The email under which the entity exists.
Raises:
-
EntityNotFoundException–The identifier supplied for the user, group, or resource does not exist in your organization.
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
UnknownServiceError–The service returned an error code this client does not model.