Struct aws_sdk_elasticache::types::User
source · #[non_exhaustive]pub struct User {
pub user_id: Option<String>,
pub user_name: Option<String>,
pub status: Option<String>,
pub engine: Option<String>,
pub minimum_engine_version: Option<String>,
pub access_string: Option<String>,
pub user_group_ids: Option<Vec<String>>,
pub authentication: Option<Authentication>,
pub arn: Option<String>,
}
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.user_id: Option<String>
The ID of the user.
user_name: Option<String>
The username of the user.
status: Option<String>
Indicates the user status. Can be "active", "modifying" or "deleting".
engine: Option<String>
The current supported value is Redis.
minimum_engine_version: Option<String>
The minimum engine version required, which is Redis 6.0
access_string: Option<String>
Access permissions string used for this user.
user_group_ids: Option<Vec<String>>
Returns a list of the user group IDs the user belongs to.
authentication: Option<Authentication>
Denotes whether the user requires a password to authenticate.
arn: Option<String>
The Amazon Resource Name (ARN) of the user.
Implementations§
source§impl User
impl User
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Indicates the user status. Can be "active", "modifying" or "deleting".
sourcepub fn minimum_engine_version(&self) -> Option<&str>
pub fn minimum_engine_version(&self) -> Option<&str>
The minimum engine version required, which is Redis 6.0
sourcepub fn access_string(&self) -> Option<&str>
pub fn access_string(&self) -> Option<&str>
Access permissions string used for this user.
sourcepub fn user_group_ids(&self) -> &[String]
pub fn user_group_ids(&self) -> &[String]
Returns a list of the user group IDs the user belongs to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_group_ids.is_none()
.
sourcepub fn authentication(&self) -> Option<&Authentication>
pub fn authentication(&self) -> Option<&Authentication>
Denotes whether the user requires a password to authenticate.