Struct aws_sdk_connect::types::User
source · #[non_exhaustive]pub struct User {
pub id: Option<String>,
pub arn: Option<String>,
pub username: Option<String>,
pub identity_info: Option<UserIdentityInfo>,
pub phone_config: Option<UserPhoneConfig>,
pub directory_user_id: Option<String>,
pub security_profile_ids: Option<Vec<String>>,
pub routing_profile_id: Option<String>,
pub hierarchy_group_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
}
Expand description
Contains information about a user account for an Amazon Connect instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the user account.
arn: Option<String>
The Amazon Resource Name (ARN) of the user account.
username: Option<String>
The user name assigned to the user account.
identity_info: Option<UserIdentityInfo>
Information about the user identity.
phone_config: Option<UserPhoneConfig>
Information about the phone configuration for the user.
directory_user_id: Option<String>
The identifier of the user account in the directory used for identity management.
security_profile_ids: Option<Vec<String>>
The identifiers of the security profiles for the user.
routing_profile_id: Option<String>
The identifier of the routing profile for the user.
hierarchy_group_id: Option<String>
The identifier of the hierarchy group for the user.
The tags.
last_modified_time: Option<DateTime>
The timestamp when this resource was last modified.
last_modified_region: Option<String>
The Amazon Web Services Region where this resource was last modified.
Implementations§
source§impl User
impl User
sourcepub fn identity_info(&self) -> Option<&UserIdentityInfo>
pub fn identity_info(&self) -> Option<&UserIdentityInfo>
Information about the user identity.
sourcepub fn phone_config(&self) -> Option<&UserPhoneConfig>
pub fn phone_config(&self) -> Option<&UserPhoneConfig>
Information about the phone configuration for the user.
sourcepub fn directory_user_id(&self) -> Option<&str>
pub fn directory_user_id(&self) -> Option<&str>
The identifier of the user account in the directory used for identity management.
sourcepub fn security_profile_ids(&self) -> &[String]
pub fn security_profile_ids(&self) -> &[String]
The identifiers of the security profiles for the user.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_profile_ids.is_none()
.
sourcepub fn routing_profile_id(&self) -> Option<&str>
pub fn routing_profile_id(&self) -> Option<&str>
The identifier of the routing profile for the user.
sourcepub fn hierarchy_group_id(&self) -> Option<&str>
pub fn hierarchy_group_id(&self) -> Option<&str>
The identifier of the hierarchy group for the user.
The tags.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
The Amazon Web Services Region where this resource was last modified.