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

Method get_client_id

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

Get the client ID used for telemetry requests.

(&mut self)

Source from the content-addressed store, hash-verified

271
272 /// Get the client ID used for telemetry requests.
273 pub fn get_client_id(&mut self) -> Result<Option<Uuid>, DatabaseError> {
274 Ok(self
275 .get_json_entry::<String>(Table::State, CLIENT_ID_KEY)?
276 .and_then(|s| Uuid::from_str(&s).ok()))
277 }
278
279 /// Get changelog last version from state table
280 pub fn get_changelog_last_version(&self) -> Result<Option<String>, DatabaseError> {

Callers 1

client_idMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected