Skip to content

CreateUserRequest

Source code in docs_src/capo_connect/types/create_user_request.py
class CreateUserRequest(TypedDict, closed=True):
    username: "capo_connect.types.agent_username.AgentUsername"
    r"""<p>The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.</p> <p>Username can include @ only if used in an email format. For example:</p> <ul> <li> <p>Correct: testuser</p> </li> <li> <p>Correct: [email protected]</p> </li> <li> <p>Incorrect: testuser@example</p> </li> </ul>"""
    password: NotRequired["capo_connect.types.password.Password"]
    """<p>The password for the user account. A password is required if you are using Connect Customer for identity management. Otherwise, it is an error to include a password.</p>"""
    identity_info: NotRequired["capo_connect.types.user_identity_info.UserIdentityInfo"]
    """<p>The information about the identity of the user.</p>"""
    phone_config: NotRequired["capo_connect.types.user_phone_config.UserPhoneConfig"]
    """<p>The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such as <code>AutoAcceptConfigs</code>, <code>AfterContactWorkConfigs</code>, <code>PhoneNumberConfigs</code>, <code>PersistentConnectionConfigs</code>, and <code>VoiceEnhancementConfigs</code>.</p>"""
    directory_user_id: NotRequired[
        "capo_connect.types.directory_user_id.DirectoryUserId"
    ]
    """<p>The identifier of the user account in the directory used for identity management. If Connect Customer cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Connect Customer cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.</p> <p>This parameter is required if you are using an existing directory for identity management in Connect Customer when Connect Customer cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.</p>"""
    security_profile_ids: "capo_connect.types.security_profile_ids.SecurityProfileIds"
    """<p>The identifier of the security profile for the user.</p>"""
    routing_profile_id: "capo_connect.types.routing_profile_id.RoutingProfileId"
    """<p>The identifier of the routing profile for the user.</p>"""
    hierarchy_group_id: NotRequired[
        "capo_connect.types.hierarchy_group_id.HierarchyGroupId"
    ]
    """<p>The identifier of the hierarchy group for the user.</p>"""
    instance_id: "capo_connect.types.instance_id.InstanceId"
    """<p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>"""
    auto_accept_configs: NotRequired[
        "capo_connect.types.auto_accept_configs.AutoAcceptConfigs"
    ]
    """<p>The list of auto-accept configuration settings for each channel.</p>"""
    after_contact_work_configs: NotRequired[
        "capo_connect.types.after_contact_work_configs.AfterContactWorkConfigs"
    ]
    """<p>The list of after contact work (ACW) timeout configuration settings for each channel.</p>"""
    phone_number_configs: NotRequired[
        "capo_connect.types.phone_number_configs.PhoneNumberConfigs"
    ]
    """<p>The list of phone number configuration settings for each channel.</p>"""
    persistent_connection_configs: NotRequired[
        "capo_connect.types.persistent_connection_configs.PersistentConnectionConfigs"
    ]
    """<p>The list of persistent connection configuration settings for each channel.</p>"""
    voice_enhancement_configs: NotRequired[
        "capo_connect.types.voice_enhancement_configs.VoiceEnhancementConfigs"
    ]
    """<p>The list of voice enhancement configuration settings for each channel.</p>"""
    tags: NotRequired["capo_connect.types.tag_map.TagMap"]
    """<p>The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.</p>"""

after_contact_work_configs instance-attribute

after_contact_work_configs: NotRequired[AfterContactWorkConfigs]

The list of after contact work (ACW) timeout configuration settings for each channel.

auto_accept_configs instance-attribute

auto_accept_configs: NotRequired[AutoAcceptConfigs]

The list of auto-accept configuration settings for each channel.

directory_user_id instance-attribute

directory_user_id: NotRequired[DirectoryUserId]

The identifier of the user account in the directory used for identity management. If Connect Customer cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Connect Customer cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.

This parameter is required if you are using an existing directory for identity management in Connect Customer when Connect Customer cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.

hierarchy_group_id instance-attribute

hierarchy_group_id: NotRequired[HierarchyGroupId]

The identifier of the hierarchy group for the user.

identity_info instance-attribute

identity_info: NotRequired[UserIdentityInfo]

The information about the identity of the user.

instance_id instance-attribute

instance_id: InstanceId

The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

password instance-attribute

password: NotRequired[Password]

The password for the user account. A password is required if you are using Connect Customer for identity management. Otherwise, it is an error to include a password.

persistent_connection_configs instance-attribute

persistent_connection_configs: NotRequired[PersistentConnectionConfigs]

The list of persistent connection configuration settings for each channel.

phone_config instance-attribute

phone_config: NotRequired[UserPhoneConfig]

The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such as AutoAcceptConfigs, AfterContactWorkConfigs, PhoneNumberConfigs, PersistentConnectionConfigs, and VoiceEnhancementConfigs.

phone_number_configs instance-attribute

phone_number_configs: NotRequired[PhoneNumberConfigs]

The list of phone number configuration settings for each channel.

routing_profile_id instance-attribute

routing_profile_id: RoutingProfileId

The identifier of the routing profile for the user.

security_profile_ids instance-attribute

security_profile_ids: SecurityProfileIds

The identifier of the security profile for the user.

tags instance-attribute

tags: NotRequired[TagMap]

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

username instance-attribute

username: AgentUsername

The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.

Username can include @ only if used in an email format. For example:

voice_enhancement_configs instance-attribute

voice_enhancement_configs: NotRequired[VoiceEnhancementConfigs]

The list of voice enhancement configuration settings for each channel.