JohannesEbke / aws_list_all

List all your AWS resources, all regions, all services.
MIT License
414 stars 97 forks source link

Not an issue, but a question #29

Closed starty1314 closed 4 years ago

starty1314 commented 5 years ago

Hi Johannes,

Sorry to bother you, but I am curious how you generated the list of service and regions. I found the the links below in google, but It's a bit of challenging to scrape the data from them.

Do you have any secret souce?

starty1314 commented 5 years ago

https://docs.aws.amazon.com/general/latest/gr/rande.html#endpoint-tables

https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/

JohannesEbke commented 4 years ago

Hi @starty1314 , I'm using the meta-information from boto3, the official python SDK from AWS. That one includes a machine-readable description, e.g. at: boto3.client('s3').meta.service_model.operation_names, see at https://github.com/JohannesEbke/aws_list_all/blob/master/aws_list_all/introspection.py#L286 Then it's just a ton of heuristics and blacklists.