示例#1
0
    def date(self):
        """
        datetime.datetime: Date and time to use during the signing process.

        If None is provided, then `datetime.datetime.now(datetime.timezone.utc)`
        at time of object construction is used.

        It is good practice to use a new config for each signature, or the date might get too old.
        """
        return _awscrt.signing_config_get_date(self._binding)
示例#2
0
 def date(self):
     """
     datetime.datetime to use during the signing process.
     If None is provided to constructor then datetime.datetime.now(datetime.timezone.utc) is used.
     """
     return _awscrt.signing_config_get_date(self._binding)