Skip to content

DescribeUserResponse

Source code in docs_src/capo_workmail/types/describe_user_response.py
class DescribeUserResponse(TypedDict, closed=True):
    user_id: NotRequired["capo_workmail.types.work_mail_identifier.WorkMailIdentifier"]
    """<p>The identifier for the described user.</p>"""
    name: NotRequired["capo_workmail.types.user_name.UserName"]
    """<p>The name for the user.</p>"""
    email: NotRequired["capo_workmail.types.email_address.EmailAddress"]
    """<p>The email of the user.</p>"""
    display_name: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>The display name of the user.</p>"""
    state: NotRequired["capo_workmail.types.entity_state.EntityState"]
    """<p>The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).</p>"""
    user_role: NotRequired["capo_workmail.types.user_role.UserRole"]
    """<p>In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.</p>"""
    enabled_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.</p>"""
    disabled_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.</p>"""
    mailbox_provisioned_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date when the mailbox was created for the user.</p>"""
    mailbox_deprovisioned_date: NotRequired["capo_workmail.types.timestamp.Timestamp"]
    """<p>The date when the mailbox was removed for the user.</p>"""
    first_name: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>First name of the user.</p>"""
    last_name: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Last name of the user.</p>"""
    hidden_from_global_address_list: "capo_workmail.types.boolean.Boolean"
    """<p>If enabled, the user is hidden from the global address list.</p>"""
    initials: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Initials of the user.</p>"""
    telephone: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>User's contact number.</p>"""
    street: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Street where the user is located.</p>"""
    job_title: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Job title of the user.</p>"""
    city: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>City where the user is located.</p>"""
    company: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Company of the user.</p>"""
    zip_code: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Zip code of the user.</p>"""
    department: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Department of the user.</p>"""
    country: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Country where the user is located.</p>"""
    office: NotRequired["capo_workmail.types.user_attribute.UserAttribute"]
    """<p>Office where the user is located.</p>"""
    identity_provider_user_id: NotRequired[
        "capo_workmail.types.identity_provider_user_id.IdentityProviderUserId"
    ]
    """<p>User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.</p>"""
    identity_provider_identity_store_id: NotRequired[
        "capo_workmail.types.identity_provider_identity_store_id.IdentityProviderIdentityStoreId"
    ]
    """<p> Identity Store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail. </p>"""

city instance-attribute

city: NotRequired[UserAttribute]

City where the user is located.

company instance-attribute

company: NotRequired[UserAttribute]

Company of the user.

country instance-attribute

country: NotRequired[UserAttribute]

Country where the user is located.

department instance-attribute

department: NotRequired[UserAttribute]

Department of the user.

disabled_date instance-attribute

disabled_date: NotRequired[Timestamp]

The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.

display_name instance-attribute

display_name: NotRequired[UserAttribute]

The display name of the user.

email instance-attribute

email: NotRequired[EmailAddress]

The email of the user.

enabled_date instance-attribute

enabled_date: NotRequired[Timestamp]

The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.

first_name instance-attribute

first_name: NotRequired[UserAttribute]

First name of the user.

hidden_from_global_address_list instance-attribute

hidden_from_global_address_list: Boolean

If enabled, the user is hidden from the global address list.

identity_provider_identity_store_id instance-attribute

identity_provider_identity_store_id: NotRequired[IdentityProviderIdentityStoreId]

Identity Store ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

identity_provider_user_id instance-attribute

identity_provider_user_id: NotRequired[IdentityProviderUserId]

User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

initials instance-attribute

initials: NotRequired[UserAttribute]

Initials of the user.

job_title instance-attribute

job_title: NotRequired[UserAttribute]

Job title of the user.

last_name instance-attribute

last_name: NotRequired[UserAttribute]

Last name of the user.

mailbox_deprovisioned_date instance-attribute

mailbox_deprovisioned_date: NotRequired[Timestamp]

The date when the mailbox was removed for the user.

mailbox_provisioned_date instance-attribute

mailbox_provisioned_date: NotRequired[Timestamp]

The date when the mailbox was created for the user.

name instance-attribute

name: NotRequired[UserName]

The name for the user.

office instance-attribute

office: NotRequired[UserAttribute]

Office where the user is located.

state instance-attribute

state: NotRequired[EntityState]

The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

street instance-attribute

street: NotRequired[UserAttribute]

Street where the user is located.

telephone instance-attribute

telephone: NotRequired[UserAttribute]

User's contact number.

user_id instance-attribute

user_id: NotRequired[WorkMailIdentifier]

The identifier for the described user.

user_role instance-attribute

user_role: NotRequired[UserRole]

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.

zip_code instance-attribute

zip_code: NotRequired[UserAttribute]

Zip code of the user.