Any attempt to open a file in S3 will result in this error:
{"detail":"ClientArgsCreator.compute_endpoint_resolver_builtin_defaults() missing 2 required positional arguments: 'credentials' and 'account_id_endpoint_mode'"}
I hit this in titiler-cmr recently and the fix was to ensure that we have compatible versions of boto3, botocore, and aiobotocore in the lambda runtime.