chickadee » amazon-s3 » put-object!

put-object! bucket key object-thunk object-length object-typeprocedure

This is the basic/raw way of putting an object on S3. It is recommended to use either put-string! or put-sexp!, if you can. Takes a bucket, a key (string) for identifying the object, a thunk that returns the object, the length of the object, and the object type.

If the key already specifies an object on S3, the object will be replaced.

As an example, put-string! is implemented like this: (put-object! bucket key (lambda () string) (string-length string) "text/plain").

The return is unspecified.