@property<EOL><INDENT>def request_timestamp(self):<DEDENT>
amz_date = self.query_parameters.get(_x_amz_date)<EOL>if amz_date is not None:<EOL><INDENT>amz_date = amz_date[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>amz_date = self.headers.get(_x_amz_date)<EOL>if amz_date is None:<EOL><INDENT>date = self.headers.get(_date)<EOL>if date is None:<EOL><INDENT>raise AttributeError("<STR_LIT>")<EOL><DEDENT>if _iso8601_timestamp_regex.match(date):<EOL><INDENT>amz_date = date <EOL><DEDENT>else:<EOL><INDENT>amz_date = (datetime.strptime(date, _http_date_format)<EOL>.strftime("<STR_LIT>"))<EOL><DEDENT><DEDENT><DEDENT>if not _iso8601_timestamp_regex.match(amz_date):<EOL><INDENT>raise AttributeError("<STR_LIT>"<EOL>"<STR_LIT>" % amz_date)<EOL><DEDENT>return amz_date<EOL>
The timestamp of the request in ISO8601 YYYYMMDD'T'HHMMSS'Z' format.

If this is not available in the query parameters or headers, or the
value is not a valid format for AWS SigV4, an AttributeError exception
is raised.