Liking cljdoc? Tell your friends :D

amazonica.core

Amazon AWS functions.

Amazon AWS functions.
raw docstring

accessorsclj

(accessors clazz getters?)

Returns a vector of getters or setters for the class.

Returns a vector of getters or setters for the class.
sourceraw docstring

amazon-client*clj

(amazon-client* clazz credentials configuration)
source

best-constructorclj

(best-constructor clazz)

Prefer no-arg ctor if one exists, else the first found.

Prefer no-arg ctor if one exists, else the first found.
sourceraw docstring

candidate-clientclj

(candidate-client clazz args)
source

coerce-valueclj

(coerce-value value type)

Coerces the supplied stringvalue to the required type as defined by the AWS method signature. String or keyword conversion to Enum types (e.g. via valueOf()) is supported.

Coerces the supplied stringvalue to the required type as
defined by the AWS method signature. String or keyword
conversion to Enum types (e.g. via valueOf()) is supported.
sourceraw docstring

defclientconfigclj

(defclientconfig config)

Specify the default Client configuration to use on subsequent requests.

Specify the default Client configuration to use on
subsequent requests.
sourceraw docstring

defcredentialclj

(defcredential cred)
(defcredential access-key secret-key & [endpoint])

Specify the AWS access key, secret key and optional endpoint to use on subsequent requests.

Specify the AWS access key, secret key and optional
endpoint to use on subsequent requests.
sourceraw docstring

encryption-client*clj

(encryption-client* encryption credentials configuration)
source

ex->mapclj

(ex->map e)

Converts a com.amazonaws.AmazonServiceException to a Clojure map with keys: :error-code :error-type :status-code :request-id :service-name :message :stack-trace

Converts a com.amazonaws.AmazonServiceException to a
Clojure map with keys:
:error-code
:error-type
:status-code
:request-id
:service-name
:message
:stack-trace
sourceraw docstring

get-credentialsclj

(get-credentials credentials)
source

get-fieldsclj

(get-fields obj)

Returns a map of all non-null values returned by invoking all public getters on the specified object.

Returns a map of all non-null values returned by
invoking all public getters on the specified object.
sourceraw docstring

IMarshallcljprotocol

Defines the contract for converting Java types to Clojure data. All return values from AWS service calls are marshalled. As such, the AWS service-specific namespaces will frequently need to implement this protocol in order to provide convenient data representations. See also the register-coercions function for coercing Clojure data to Java types.

Defines the contract for converting Java types to Clojure
data. All return values from AWS service calls are
marshalled. As such, the AWS service-specific namespaces
will frequently need to implement this protocol in order
to provide convenient data representations. See also the
register-coercions function for coercing Clojure data to
Java types.

marshallclj

(marshall obj)
sourceraw docstring

intern-functionclj

(intern-function client ns fname methods)

Interns into ns, the symbol mapped to a Clojure function derived from the java.lang.reflect.Method(s). Overloaded methods will yield a variadic Clojure function.

Interns into ns, the symbol mapped to a Clojure function
derived from the java.lang.reflect.Method(s). Overloaded
methods will yield a variadic Clojure function.
sourceraw docstring

keys->credclj

(keys->cred access-key secret-key & [endpoint])
source

kw->strclj

(kw->str k)
source

parse-argsclj

(parse-args cred args)

Legacy support means credentials may or may not be passed as the first argument.

Legacy support means credentials may or may not be passed
as the first argument.
sourceraw docstring

possible-methodsclj

(possible-methods methods args)
source

register-coercionsclj

(register-coercions & {:as coercion})

Accepts key/value pairs of class/function, which defines how data will be converted to the appropriate type required by the AWS Amazon*Client Java method.

Accepts key/value pairs of class/function, which defines
how data will be converted to the appropriate type
required by the AWS Amazon*Client Java method.
sourceraw docstring

set-clientclj

(set-client client ns)

Intern into the specified namespace all public methods from the Amazon*Client class as Clojure functions.

Intern into the specified namespace all public methods
from the Amazon*Client class as Clojure functions.
sourceraw docstring

set-date-format!clj

(set-date-format! df)

Sets the java.text.SimpleDateFormat pattern to use for transparent coercion of Strings passed as arguments where java.util.Dates are required by the AWS api.

Sets the java.text.SimpleDateFormat pattern to use
for transparent coercion of Strings passed as
arguments where java.util.Dates are required by the
AWS api.
sourceraw docstring

set-fieldsclj

(set-fields pojo args)

Returns the populated AWS *Request bean with 'args' as the values. args is a map with keywords as keys and any type values. Complex values will be recursively resolved to the corresponding method calls on the object graph.

Returns the populated AWS *Request bean with 'args' as
the values. args is a map with keywords as keys and any
type values. Complex values will be recursively resolved
to the corresponding method calls on the object graph.
sourceraw docstring

set-root-unwrapping!clj

(set-root-unwrapping! b)

Enables JSON-like root unwrapping of singly keyed top level maps. {:root {:key 'foo' :name 'bar'}} would become {:key 'foo' :name 'bar'}

Enables JSON-like root unwrapping of singly keyed
top level maps.
  {:root {:key 'foo' :name 'bar'}}
would become
  {:key 'foo' :name 'bar'}
sourceraw docstring

stack->stringclj

(stack->string ex)

Converts a Java stacktrace to String representation.

Converts a Java stacktrace to String representation.
sourceraw docstring

to-dateclj

(to-date date)
source

to-enumclj

(to-enum type value)

Case-insensitive resolution of Enum types by String.

Case-insensitive resolution of Enum types by String.
sourceraw docstring

to-fileclj

(to-file file)
source

to-java-collclj

(to-java-coll col)

Need this only because S3 methods actually try to mutate (e.g. sort) collections passed to them.

Need this only because S3 methods actually try to
mutate (e.g. sort) collections passed to them.
sourceraw docstring

transfer-manager*clj

(transfer-manager* credential client-config crypto)
source

with-client-configcljmacro

(with-client-config config & body)

Per invocation binding of client-config for ad-hoc service calls using alternate client configuration.

Per invocation binding of client-config for ad-hoc
service calls using alternate client configuration.
sourceraw docstring

with-credentialcljmacro

(with-credential cred & body)

Per invocation binding of credentials for ad-hoc service calls using alternate user/password combos (and endpoints).

Per invocation binding of credentials for ad-hoc
service calls using alternate user/password combos
(and endpoints).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close