Change your command from:
aws logs --debug get-log-events --log-group-name testloginstance --log-stream-name log-group:testloginstance
To:
aws logs get-log-events --log-group-name testloginstance --log-stream-name testloginstance
Hope this helped!!
To know more about Google Cloud, It is recommended to go for Google Cloud Certification training today.
Thank you!