diff --git a/src/main/clojure/cemerick/bandalore.clj b/src/main/clojure/cemerick/bandalore.clj index a58940c..23272db 100644 --- a/src/main/clojure/cemerick/bandalore.clj +++ b/src/main/clojure/cemerick/bandalore.clj @@ -19,6 +19,11 @@ (defn create-client "Creates a synchronous AmazonSQSClient using the provided account id, secret key, and optional com.amazonaws.ClientConfiguration." + ([] + (create-client (com.amazonaws.ClientConfiguration.))) + ([client-config] + (AmazonSQSClient. + (.withUserAgent client-config "Bandalore - SQS for Clojure"))) ([id secret-key] (create-client id secret-key (com.amazonaws.ClientConfiguration.))) ([id secret-key client-config] @@ -200,4 +205,4 @@ ;; void removePermission(RemovePermissionRequest removePermissionRequest) ; The RemovePermission action revokes any permissions in the queue policy that matches the specified Label parameter. ;; void addPermission(AddPermissionRequest addPermissionRequest) - ;;The AddPermission action adds a permission to a queue for a specific principal. \ No newline at end of file + ;;The AddPermission action adds a permission to a queue for a specific principal.