aws ec2 describe-volumes
Describes the specified EBS volumes or all of your EBS volumes. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersThe filters.--include-managed-resourcesIndicates whether to include managed resources in the output.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.--volume-idsThe volume IDs.