getAWSClientProxyConfig function

Future<Map<String, dynamic>> getAWSClientProxyConfig()

Get AWS SDK client configuration with proxy support.

Returns a map of configuration that can be applied to AWS service clients. In the Dart port, this returns proxy-related configuration.

Implementation

Future<Map<String, dynamic>> getAWSClientProxyConfig() async {
  final proxyUrl = getProxyUrl();
  if (proxyUrl == null) return {};

  return {'proxyUrl': proxyUrl, 'useProxy': true};
}