Source
pub async fn alter_role( &self, name: String, action: String, value: String, ) -> Result<AlterRoleResponse, KineticaError>
Alter a Role
Alters a Role.
name- Name of the role to be altered. Must be an existing role.action- Modification operation to be applied to the role.value- The value of the modification, depending onaction.
Source
pub async fn alter_role_with_opts( &self, name: String, action: String, value: String, options: AlterRoleRequestOptions, ) -> Result<AlterRoleResponse, KineticaError>
Alter a Role
Alters a Role.
name- Name of the role to be altered. Must be an existing role.action- Modification operation to be applied to the role.value- The value of the modification, depending onaction.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_role_raw( &self, request: &AlterRoleRequest, ) -> Result<AlterRoleResponse, KineticaError>
Sends a pre-built AlterRoleRequest to the /alter/role endpoint.
Source
pub async fn alter_role_from_url( &self, url: &str, request: &AlterRoleRequest, ) -> Result<AlterRoleResponse, KineticaError>
Sends a pre-built AlterRoleRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.