MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / set_client_id

Method set_client_id

crates/chat-cli/src/database/mod.rs:313–315  ·  view source on GitHub ↗

Set the client ID used for telemetry requests.

(&mut self, client_id: Uuid)

Source from the content-addressed store, hash-verified

311
312 /// Set the client ID used for telemetry requests.
313 pub fn set_client_id(&mut self, client_id: Uuid) -> Result<usize, DatabaseError> {
314 self.set_json_entry(Table::State, CLIENT_ID_KEY, client_id.to_string())
315 }
316
317 /// Get the start URL used for IdC login.
318 pub fn get_start_url(&self) -> Result<Option<String>, DatabaseError> {

Callers 1

client_idMethod · 0.45

Calls 2

set_json_entryMethod · 0.80
to_stringMethod · 0.80

Tested by

no test coverage detected