Update for botocore 1.28 private API change
Backporting #1083 update for a botocore 1.28 private API change which caused the following exception:
TypeError: _convert_to_request_dict() missing 1 required positional argument: 'endpoint_url'
Full Changelog: 5.2.1...5.2.2