Unable to view any Analysis related CLI command

aws quicksight create-analysis --aws-account-id 331661916081 --analysis-id xyz --name DEVtoProdMigrationTest --source-entity file://Create_Analysis.json
usage: aws [options] [ …] [parameters]
To see help text, you can run:

aws help
aws help
aws help
aws: error: argument operation: Invalid choice, valid choices are:

Hi @BhavyaBangera
use the ListAnalyses to get a list of those analysis in your QuickSight account : QuickSight API Operations to Control Assets - Amazon QuickSight

Kind regards,
Koushik

@Koushik_Muthanna The above issue is fixed as it was using the older CLI version.