Hi@akhtar,
Before you can delete a distribution, you must disable it. To disable a distribution, use the update-distribution command. After you disable, you can delete the distribution by using the below command.
$ aws cloudfront delete-distribution --id EDFDVBD6EXAMPLE --if-match E2QWRUHEXAMPLE