def _sign(self, message):
    signed_hash = hmac.new(key=self._secret_id, msg=message, digestmod=hashlib.sha256)
    return base64.b64encode(signed_hash.digest()).decode()
Sign an AWS request
dataset/ETHPy150Open Cue/greplin-tornado-ses/src/greplin/tornado/ses.py/AmazonSes._sign