OpsWorks.Client.
update_user_profile
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_user_profile(
IamUserArn='string',
SshUsername='string',
SshPublicKey='string',
AllowSelfManagement=True|False
)
[REQUIRED]
The user IAM ARN. This can also be a federated user's ARN.
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.None
Exceptions
OpsWorks.Client.exceptions.ValidationException
OpsWorks.Client.exceptions.ResourceNotFoundException