Alfred Search AWS SDK for JavaScript

1 min read aws, sdk

Written in 2022. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/alfred-search-aws-sdk-for-javascript.



Install

git clone https://github.com/pfeilbr/alfred-search-aws-sdk-for-javascript.git`
cd alfred-search-aws-sdk-for-javascript
npm install

# follow [alfy#usage instructions](https://github.com/sindresorhus/alfy#usage)
# enable "Alfred filters results" checkbox

# symlink workflow directory to here
# example
cd /path/to/Alfred.alfredpreferences/workflows
ln -s /path/to/alfred-search-aws-sdk-for-javascript user.workflow.3AFB139F-7BE0-4430-9EE4-36FCD4B2376D

Screenshots of Config in Alfred Workflow View


Usage

In Alfred, type awssdk, Enter, and your query.

Select an item and press Enter to go to the AWS SDK documentation page.
Press Shift to view the documentaion in Quick Look.


To update to latest aws-sdk

# update to latest or specified version `aws-sdk`
npm install aws-sdk

# update `data.json` from local `aws-sdk` npm package
# it reads service metadata .json files from `./node_modules/aws-sdk/apis`
npm run generate-data

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.