[][src]Struct rusoto_connect::CreateUserRequest

pub struct CreateUserRequest {
    pub directory_user_id: Option<String>,
    pub hierarchy_group_id: Option<String>,
    pub identity_info: Option<UserIdentityInfo>,
    pub instance_id: String,
    pub password: Option<String>,
    pub phone_config: UserPhoneConfig,
    pub routing_profile_id: String,
    pub security_profile_ids: Vec<String>,
    pub username: String,
}

Fields

directory_user_id: Option<String>

The unique identifier for the user account in the directory service directory used for identity management. If Amazon Connect is unable to access the existing directory, you can use the DirectoryUserId to authenticate users. If you include the parameter, it is assumed that Amazon Connect cannot access the directory. If the parameter is not included, the UserIdentityInfo is used to authenticate users from your existing directory.

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

hierarchy_group_id: Option<String>

The unique identifier for the hierarchy group to assign to the user created.

identity_info: Option<UserIdentityInfo>

Information about the user, including email address, first name, and last name.

instance_id: String

The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.

password: Option<String>

The password for the user account to create. This is required if you are using Amazon Connect for identity management. If you are using SAML for identity management and include this parameter, an InvalidRequestException is returned.

phone_config: UserPhoneConfig

Specifies the phone settings for the user, including AfterContactWorkTimeLimit, AutoAccept, DeskPhoneNumber, and PhoneType.

routing_profile_id: String

The unique identifier for the routing profile to assign to the user created.

security_profile_ids: Vec<String>

The unique identifier of the security profile to assign to the user created.

username: String

The user name in Amazon Connect for the account to create. If you are using SAML for identity management in your Amazon Connect, the value for Username can include up to 64 characters from [a-zA-Z0-9_-.\@]+.

Trait Implementations

impl Clone for CreateUserRequest[src]

impl Default for CreateUserRequest[src]

impl PartialEq<CreateUserRequest> for CreateUserRequest[src]

impl Debug for CreateUserRequest[src]

impl Serialize for CreateUserRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self