pub async fn request_checksum_calculation_provider(
provider_config: &ProviderConfig,
) -> Option<RequestChecksumCalculation>
Expand description
Load the value for request_checksum_calculation
This checks the following sources:
- The environment variable
AWS_REQUEST_CHECKSUM_CALCULATION=WHEN_SUPPORTED/WHEN_REQUIRED
- The profile key
request_checksum_calculation=WHEN_SUPPORTED/WHEN_REQUIRED
If invalid values are found, the provider will return None
and an error will be logged.