I know that AMI can be created from EBS snapshot on EC2 console.
I want to operate this AMI creation not on the AWS console but with the AWS CLI command.
The aws ec2 copy-image command does not have any EBS Snapshot option to specify. Is there any way to do this with CLI or calling APIs?