MCPcopy Create free account
hub / github.com/aws/aws-cli / _compliance_timestamp_parser

Function _compliance_timestamp_parser

tests/unit/botocore/test_protocols.py:368–373  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

366
367
368def _compliance_timestamp_parser(value):
369 datetime = parse_timestamp(value)
370 # Convert from our time zone to UTC
371 datetime = datetime.astimezone(tzutc())
372 # Convert to epoch.
373 return datetime.timestamp()
374
375
376def _output_failure_message(

Callers

nothing calls this directly

Calls 1

parse_timestampFunction · 0.90

Tested by

no test coverage detected