Getting VPC route info in lambda

I’m trying to get the route information from all the VPCs but figuring out how to get at the information I need is really slowing me down.

What’s the difference between EC2.Client.describe_route_tables and vpc.get_all_route_tables?

When I do:
tables = ec2.describe_route_tables()
The function call is actually suggested by the intellisense when I start typing but when I run it I get the error:
“errorMessage”: “‘ec2.ServiceResource’ object has no attribute ‘describe_route_tables’”