below code print names only for those who have Name tag
import boto3 AWS_REGION = "us-west-2" AWS_PROFILE = "kiran" session=boto3.session.Session(profile_name=AWS_PROFILE) # client = session.client('ec2',region_name=AWS_REGION) # Get all snapshots snapshots = client.describe_snapshots(OwnerIds=['self'],Filters=[{'Name': 'tag:Name', 'Values': ['*']}]) # To print only the Name of the snapshots for snapshot in snapshots['Snapshots']: for tag in snapshot['Tags']: if tag['Key'] == 'Name': print (snapshot['SnapshotId'],tag['Value']) break