Source
pub async fn alter_credential( &self, credential_name: String, credential_updates_map: HashMap<String, String>, ) -> Result<AlterCredentialResponse, KineticaError>
Alter an existing credential
Alter the properties of an existing credential.
credential_name- Name of the credential to be altered. Must be an existing credential.credential_updates_map- Map containing the properties of the credential to be updated. Error if empty.
Source
pub async fn alter_credential_with_opts( &self, credential_name: String, credential_updates_map: HashMap<String, String>, options: AlterCredentialRequestOptions, ) -> Result<AlterCredentialResponse, KineticaError>
Alter an existing credential
Alter the properties of an existing credential.
credential_name- Name of the credential to be altered. Must be an existing credential.credential_updates_map- Map containing the properties of the credential to be updated. Error if empty.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_credential_raw( &self, request: &AlterCredentialRequest, ) -> Result<AlterCredentialResponse, KineticaError>
Sends a pre-built AlterCredentialRequest to the /alter/credential endpoint.
Source
pub async fn alter_credential_from_url( &self, url: &str, request: &AlterCredentialRequest, ) -> Result<AlterCredentialResponse, KineticaError>
Sends a pre-built AlterCredentialRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.