Struct aws_sdk_opsworks::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder
source · pub struct UpdateUserProfileFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateUserProfile.
Updates a specified user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Implementations§
source§impl UpdateUserProfileFluentBuilder
impl UpdateUserProfileFluentBuilder
sourcepub fn as_input(&self) -> &UpdateUserProfileInputBuilder
pub fn as_input(&self) -> &UpdateUserProfileInputBuilder
Access the UpdateUserProfile as a reference.
sourcepub async fn send(
self
) -> Result<UpdateUserProfileOutput, SdkError<UpdateUserProfileError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateUserProfileOutput, SdkError<UpdateUserProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateUserProfileOutput, UpdateUserProfileError>, SdkError<UpdateUserProfileError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateUserProfileOutput, UpdateUserProfileError>, SdkError<UpdateUserProfileError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn iam_user_arn(self, input: impl Into<String>) -> Self
pub fn iam_user_arn(self, input: impl Into<String>) -> Self
The user IAM ARN. This can also be a federated user's ARN.
sourcepub fn set_iam_user_arn(self, input: Option<String>) -> Self
pub fn set_iam_user_arn(self, input: Option<String>) -> Self
The user IAM ARN. This can also be a federated user's ARN.
sourcepub fn get_iam_user_arn(&self) -> &Option<String>
pub fn get_iam_user_arn(&self) -> &Option<String>
The user IAM ARN. This can also be a federated user's ARN.
sourcepub fn ssh_username(self, input: impl Into<String>) -> Self
pub fn ssh_username(self, input: impl Into<String>) -> Self
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 set_ssh_username(self, input: Option<String>) -> Self
pub fn set_ssh_username(self, input: Option<String>) -> Self
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 get_ssh_username(&self) -> &Option<String>
pub fn get_ssh_username(&self) -> &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.
sourcepub fn ssh_public_key(self, input: impl Into<String>) -> Self
pub fn ssh_public_key(self, input: impl Into<String>) -> Self
The user's new SSH public key.
sourcepub fn set_ssh_public_key(self, input: Option<String>) -> Self
pub fn set_ssh_public_key(self, input: Option<String>) -> Self
The user's new SSH public key.
sourcepub fn get_ssh_public_key(&self) -> &Option<String>
pub fn get_ssh_public_key(&self) -> &Option<String>
The user's new SSH public key.
sourcepub fn allow_self_management(self, input: bool) -> Self
pub fn allow_self_management(self, input: bool) -> Self
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
sourcepub fn set_allow_self_management(self, input: Option<bool>) -> Self
pub fn set_allow_self_management(self, input: Option<bool>) -> Self
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
sourcepub fn get_allow_self_management(&self) -> &Option<bool>
pub fn get_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.
Trait Implementations§
source§impl Clone for UpdateUserProfileFluentBuilder
impl Clone for UpdateUserProfileFluentBuilder
source§fn clone(&self) -> UpdateUserProfileFluentBuilder
fn clone(&self) -> UpdateUserProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more