Specifying region_name and signature_version using a Config Object in the client is what worked for me. If you wanna know more about Config https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
s3_client: Session = boto3.client(
"s3",`enter code here`
config=Config(
signature_version="s3v4",
region_name="us-west-2"
),
)