aws/api: Add API update script.
authorRicardo Wurmus <rekado@elephly.net>
Tue, 7 Jul 2020 20:47:40 +0000 (22:47 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Tue, 7 Jul 2020 20:47:40 +0000 (22:47 +0200)
* aws/api/update.sh: New file.

aws/api/update.sh [new file with mode: 0755]

diff --git a/aws/api/update.sh b/aws/api/update.sh
new file mode 100755 (executable)
index 0000000..de4e4b3
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+version=v2.680.0
+
+for f in $(ls -1 *.json); do
+    wget -qO $f https://github.com/aws/aws-sdk-js/raw/$version/apis/$f
+done