Skip to content

Commit

Permalink
[aws-api] improve docstrings
Browse files Browse the repository at this point in the history
Port 7d07cb796eaa06a229290be92e92d18ee3448830 from aws-api
  • Loading branch information
grzm committed Nov 12, 2023
1 parent 528474f commit 849d133
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/com/grzm/awyeah/client/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
(http/resolve-http-client nil))

(defn invoke
"Package and send a request to AWS and return the result.
"Packages and sends a request to AWS and returns the result.
Supported keys in op-map:
Expand All @@ -121,15 +121,14 @@
:backoff - optional, defaults to :backoff on the client.
See client.
After invoking (com.grzm.awyeah.client.api/validate-requests true), validates
:request in op-map.
Will validate :request after calling (validate-requests client true).
Alpha. Subject to change."
[client op-map]
(client.protocol/-invoke client op-map))

(defn invoke-async
"Package and send a request to AWS and return a channel which
"Packages and sends a request to AWS and returns a channel which
will contain the result.
Supported keys in op-map:
Expand All @@ -142,8 +141,7 @@
:backoff - optional, defaults to :backoff on the client.
See client.
After invoking (com.grzm.awyeah.client.api/validate-requests true), validates
:request in op-map.
Will validate :request after calling (validate-requests client true).
Alpha. Subject to change."
[client op-map]
Expand Down

0 comments on commit 849d133

Please sign in to comment.