#[non_exhaustive]pub struct UpdateUserProfileInput {
pub iam_user_arn: Option<String>,
pub ssh_username: Option<String>,
pub ssh_public_key: Option<String>,
pub allow_self_management: Option<bool>,
}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.iam_user_arn: Option<String>The user IAM ARN. This can also be a federated user's ARN.
ssh_username: Option<String>The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
ssh_public_key: Option<String>The user's new SSH public key.
allow_self_management: Option<bool>Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
Implementations§
source§impl UpdateUserProfileInput
impl UpdateUserProfileInput
sourcepub fn iam_user_arn(&self) -> Option<&str>
pub fn iam_user_arn(&self) -> Option<&str>
The user IAM ARN. This can also be a federated user's ARN.
sourcepub fn ssh_username(&self) -> Option<&str>
pub fn ssh_username(&self) -> Option<&str>
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
sourcepub fn ssh_public_key(&self) -> Option<&str>
pub fn ssh_public_key(&self) -> Option<&str>
The user's new SSH public key.
sourcepub fn allow_self_management(&self) -> Option<bool>
pub fn allow_self_management(&self) -> Option<bool>
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
source§impl UpdateUserProfileInput
impl UpdateUserProfileInput
sourcepub fn builder() -> UpdateUserProfileInputBuilder
pub fn builder() -> UpdateUserProfileInputBuilder
Creates a new builder-style object to manufacture UpdateUserProfileInput.
Trait Implementations§
source§impl Clone for UpdateUserProfileInput
impl Clone for UpdateUserProfileInput
source§fn clone(&self) -> UpdateUserProfileInput
fn clone(&self) -> UpdateUserProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateUserProfileInput
impl Debug for UpdateUserProfileInput
source§impl PartialEq<UpdateUserProfileInput> for UpdateUserProfileInput
impl PartialEq<UpdateUserProfileInput> for UpdateUserProfileInput
source§fn eq(&self, other: &UpdateUserProfileInput) -> bool
fn eq(&self, other: &UpdateUserProfileInput) -> bool
self and other values to be equal, and is used
by ==.