AWS, I love your services and APIs but your API/SDK/CLI docs are killin' me!

I can’t be the only one feeling this.

I love AWS APIs. I love the services. But the API/SDK/CLI docs are soooo painful to navigate.

I’ve written my own doc search helper for CLI/API that helps me get around. I’m going to have to write something else to help with the boto3 AWS python SDK. I think it’s even more painful than the CLI docs.

A common problem with the docs is that you have this big table of contents on the left so you click on a topic, and it bring up a page and possibly to an anchor, but the page is huuuuuuge and there’s often no hyperlinks to get around easily, so you have to search.

Here’s an example:

IAM — Boto3 Docs 1.23.1 documentation (amazonaws.com). When you click on that link you go to the IAM service Policy resource about 4/5 down a web page that goes on for miles. The table of contents isn’t synced. And the only way to navigate is to search or Ctrl-Home and there’s a slightly more focused TOC than the left frame. There’s other “mini-TOCs” scattered throughout the page.

So instead of just complaining with no solution, here’s what I think would help on most of the documentation:

  1. Have the TOC on the left frame be hierarchical and context sensitive. So you can expand/collapse sections with a useful search that stays visible when you scroll.
  2. Break up the content on the right frame into much smaller pages
  3. Have more hyperlinks in the content

Microsoft actually does an excellent job. Here’s an example: SmtpClient Class (System.Net.Mail) | Microsoft Docs

I spend all day doing AWS, and I love it, so this isn’t just spewing hate. This is simply a daily pain point for me and I can imagine it is for many others as well.

EDIT: To clarify, the docs are complete and well written. Just really painful to navigate.

I know the docs are open source and I can help fix it, but AWS isn’t a charity and I spend my entire days working on stuff that ultimately AWS gets paid for. I think they have the resources to handle this. I’m not a big complainer, but this is a really valid source of pain for me each day. I would literally be twice as productive if the docs were easier to navigate. I know software and systems development. I don’t know the syntax to every API and the attributes of every model. The reality this is the world we live in. Things change so quickly. Kudos to AWS for keeping the documentation up to date. It’s to their benefit. It would also be to their benefit to update their documentation frameworks on the development side. This isn’t an open source or academic project. It’s the largest for-profit cloud provider in the world.


Related discussions:

While we’re at it, can we have a unified return on how resource tags are listed?!

You should see the documentation for some of the other cloud services… they are even worse lol

You can try to make it the way you want. There’s a Github for that

https://github.com/awsdocs

My favorite is the documentation for download_file:

Similar behavior as S3Transfer’s download_file() method, except that parameters are capitalized. Detailed examples can be found at S3Transfer’s Usage.

No links where you expect them. It’s technically correct, and painfully useless at the same time.

Or, load:

load(*args, **kwargs)

Calls s3.Client.list_buckets() to update the attributes of the Bucket resource.

Again, no links. That might win.

Sometimes the reverse is true. The documentation all stems from the same source, so something like aws s3 cp’s help will have:

For more information on Amazon S3 access control, see Access Control

Which is somewhat useful on the website since there’s a link where you expect it, but pointless if you’re using the command line help.

Amazon needs to seriously step up their UI game in general

AWS follows the Corporate Agile philosophy of minimum viable product.

I think that’s been done, the problem being the legacy services (which are also the oldest and most used) have to continue supporting their original way for backwards compatibility.

Otherwise I think you can use AWS Resource Groups to tag and search all resources with a given tag.

Everything is relative. Having worked with tons of different sdks, platforms, and more general systems I’m mostly impressed with the docs. Issues are abound, usually in the dark corners, and while that sucks aws will generally update them if you tell them.

my pet peeve with cli docs:

  1. Google defaults to v1 instead of v2

  2. The synopsis doesn’t include “aws ”. Sometimes a command is found in more than one service

Maintaining documentation for apis is hard, it must be insanely difficult over all the services they provide. Point me at a platform with perfect api documentation at that volume.

Don’t you mean azure

Not replying to your issue specifically but:

To anyone that has any problems with any docs page: look at that page for a “Feedback” button, particularly the docs that are hosted off the main AWS site. If it has a feedback button, USE IT.

The docs teams at Amazon are some of the most responsive teams I’ve seen at the entire company. Minor issues I’ve reported have been corrected same day. Major issues I’ve seen updated within the week or month.

Also the feedback form has the option of you leaving a contact email— do it. If they have any questions with your issue, they will reach out to you and get clarification.

Hit or miss, but I always make it work.

MVP baby!

/me laughs in yargs

Just use the api docs and read the cli codebase

Good point. I will do that. AWS is typically responsive to a lot. I figured there’s some AWS folks listening here too.

I should have clarified-- a lot of their docs are awesome. And the ones In complaining about isn’t because they are slapped together,. It’s simply the ability to navigate in practical day-to-day usage.

Their API/CLI/SDK docs are complete-- just extremely painful to navigate. I’m guessing the formatting is automated somehow. It’s more of a structure issue rather than a content issue.