awslabs / aws-shell

An integrated shell for working with the AWS CLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] improved timestamp shortcuts

rfagen opened this issue · comments

Currently (just upgraded to 0.2.2) time parameters can only be set as epoch-time-milliseconds. The AWS cli supports ISO 8601 timestamps, as well as epoch time.

Could using "2021-03-11T19:00:00Z" be added?

Also, it would be really clever if there was also a shortcut following the pattern of "now()" or "now(-1d)" or "now(-1h)" when specifying times for fetching logs and such.

Oh. I'm on aws-cli/1.16.51 -- maybe that's a CLI v2 feature?

Oops! RTFM: Available in the AWS CLI version 2 only

But maybe the notion of translating "now()" is still a valid feature request? Otherwise, feel free to close.

Thanks!