from typing import Any from boto.plugin import Plugin class NotReadyToAuthenticate(Exception): ... class AuthHandler(Plugin): capability = ... # type: Any def __init__(self, host, config, provider) -> None: ... def add_auth(self, http_request): ...