Module Smaws_Client_IAM.UpdateUser

Updates the name and/or the path of the specified IAM user.

You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM user and Renaming an IAM group in the IAM User Guide.

To change a user name, the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and policies.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityTemporarilyUnmodifiableException of Types.entity_temporarily_unmodifiable_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceFailureException of Types.service_failure_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_user_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsQuery.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityTemporarilyUnmodifiableException of Types.entity_temporarily_unmodifiable_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceFailureException of Types.service_failure_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_user_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityTemporarilyUnmodifiableException of Types.entity_temporarily_unmodifiable_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceFailureException of Types.service_failure_exception ] * Smaws_Lib.Response.metadata) Stdlib.result