aws-history
Print the command-line history for AWS CLI commands (the record of history of AWS CLI commands must be enabled).
TLDR
List commands history with command IDs
$ aws history list
Display events related to a specific command given a command ID
$ aws history show [command_id]