Liking cljdoc? Tell your friends :D

amazonica.core

Amazon AWS functions.

Amazon AWS functions.

accessors

(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*

(amazon-client* clazz credentials configuration)
source

best-constructor

(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-client

(candidate-client clazz args)
source

coerce-value

(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

defclientconfig

(defclientconfig config)

Specify the default Client configuration to use on subsequent requests.

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

defcredential

(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*

(encryption-client* encryption credentials configuration)
source

ex->map

(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-credentials

(get-credentials credentials)
source

get-fields

(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

IMarshallprotocol

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.
marshall
(marshall obj)
sourceraw docstring

intern-function

(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->cred

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

kw->str

(kw->str k)
source

parse-args

(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-methods

(possible-methods methods args)
source

register-coercions

(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-client

(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!

(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-fields

(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!

(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->string

(stack->string ex)

Converts a Java stacktrace to String representation.

Converts a Java stacktrace to String representation.
sourceraw docstring

to-date

(to-date date)
source

to-enum

(to-enum type value)

Case-insensitive resolution of Enum types by String.

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

to-file

(to-file file)
source

to-java-coll

(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*

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

with-client-configmacro

(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-credentialmacro

(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