(&self)
| 42 | |
| 43 | impl RemoteConfig { |
| 44 | fn retry_policy(&self) -> RetryConfig { |
| 45 | let attempts = self.retry_attempts.unwrap_or(1); |
| 46 | RetryConfig::standard().with_max_attempts(attempts) |
| 47 | } |
| 48 | |
| 49 | pub async fn sdk_config(&self, retry: Option<RetryConfig>) -> SdkConfig { |
| 50 | let explicit_region = self.region.clone().map(Region::new); |