vector::aws

Function sign_request

source
pub async fn sign_request(
    service_name: &str,
    request: &mut Request<Bytes>,
    credentials_provider: &SharedCredentialsProvider,
    region: Option<&Region>,
    payload_checksum_sha256: bool,
) -> Result<()>
Expand description

Sign the request prior to sending to AWS. The signature is added to the provided request.