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

Method send_profile_state

crates/chat-cli/src/telemetry/mod.rs:447–460  ·  view source on GitHub ↗
(
        &self,
        source: QProfileSwitchIntent,
        amazonq_profile_region: String,
        result: TelemetryResult,
        sso_region: Option<String>,
    )

Source from the content-addressed store, hash-verified

445 }
446
447 pub fn send_profile_state(
448 &self,
449 source: QProfileSwitchIntent,
450 amazonq_profile_region: String,
451 result: TelemetryResult,
452 sso_region: Option<String>,
453 ) -> Result<(), TelemetryError> {
454 Ok(self.tx.send(Event::new(EventType::ProfileState {
455 source,
456 amazonq_profile_region,
457 result,
458 sso_region,
459 }))?)
460 }
461
462 #[allow(clippy::too_many_arguments)]
463 pub async fn send_response_error(

Callers 1

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected