def METHOD_NAME(ec2_client, ami_name):
    filters = [
        {
            'Name': 'name',
            'Values': [ami_name],
        },
    ]
    response = ec2_client.describe_images(Filters=filters)
    ami_objs = []
    if 'ResponseMetadata' in response and response['ResponseMetadata']['HTTPStatusCode'] == 200:
        for res_img in response.get('Images', []):
            ami_obj = {
                'ami_id': res_img['ImageId'],
                'ami_name': res_img['Name'],
                'creation_date': res_img['CreationDate'],
                'description': res_img['Description'],
                'state': res_img['State'],
            }
            if 'Tags' in res_img:
                for tag in res_img['Tags']:
                    ami_obj[tag['Key']] = tag['Value']
                ami_objs.append(ami_obj)
    return ami_objs