(
&self,
source: QProfileSwitchIntent,
amazonq_profile_region: String,
result: TelemetryResult,
sso_region: Option<String>,
)
| 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( |
no test coverage detected