Struct rusoto_connect::CreateUserRequest
source · [−]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 tags: Option<HashMap<String, String>>,
pub username: String,
}
Fields
directory_user_id: Option<String>
The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect 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 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 error is returned.
hierarchy_group_id: Option<String>
The identifier of the hierarchy group for the user.
identity_info: Option<UserIdentityInfo>
The information about the identity of the user.
instance_id: String
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
password: Option<String>
The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
phone_config: UserPhoneConfig
The phone settings for the user.
routing_profile_id: String
The identifier of the routing profile for the user.
security_profile_ids: Vec<String>
The identifier of the security profile for the user.
One or more tags.
username: String
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_-.\@]+.
Trait Implementations
sourceimpl Clone for CreateUserRequest
impl Clone for CreateUserRequest
sourcefn clone(&self) -> CreateUserRequest
fn clone(&self) -> CreateUserRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateUserRequest
impl Debug for CreateUserRequest
sourceimpl Default for CreateUserRequest
impl Default for CreateUserRequest
sourcefn default() -> CreateUserRequest
fn default() -> CreateUserRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateUserRequest> for CreateUserRequest
impl PartialEq<CreateUserRequest> for CreateUserRequest
sourcefn eq(&self, other: &CreateUserRequest) -> bool
fn eq(&self, other: &CreateUserRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateUserRequest) -> bool
fn ne(&self, other: &CreateUserRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateUserRequest
impl Serialize for CreateUserRequest
impl StructuralPartialEq for CreateUserRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateUserRequest
impl Send for CreateUserRequest
impl Sync for CreateUserRequest
impl Unpin for CreateUserRequest
impl UnwindSafe for CreateUserRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more