-
Notifications
You must be signed in to change notification settings - Fork 38
/
README.txt
73 lines (54 loc) · 1.71 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Erlaws provides Erlang interfaces to various Amazon WebService offerings.
This code is no longer maintained, so feel free to fork it.
-- original documentation from Google Code wiki --
= Description =
Erlaws is a collection of client implementations of Amazon's WebServices offerings. Currently there are clients for S3, SQS and SDB.
= Build =
Check out the latest code from svn and issue {{{erl -make}}} to build the sources.
= Usage =
All erlaws modules (erlaws_s3, _sdb, _sqs) are now parameterized modules. You can create a new instance of a modules using (example for erlaws_sdb):
SDB = erlaws_sdb:new(AWS_KEY, AWS_SEC_KEY, (true|false)).
The last parameter determines whether the connection should made using plain HTTP (false) or HTTPS (true).
In order to be able to use erlaws the "inets" and "crypto" application must be started.
= Documentation =
All available functions are documented in the .erl files for the service clients.
Here a short overview:
== erlaws_s3 ==
* list_buckets/0
* create_bucket/1
* create_bucket/2 (for EU buckets)
* delete_bucket/1
* list_contents/1
* list_contents/2
* put_object/5
* get_object/2
* info_object/2
* delete_object/2
== erlaws_sqs ==
* list_queues/0
* list_queues/1
* get_queue/1
* create_queue/1
* create_queue/2
* get_queue_attr/1
* set_queue_attr/3
* delete_queue/1
* send_message/2
* receive_message/1
* receive_message/2
* receive_message/3
* delete_message/2
== erlaws_sdb ==
* create_domain/1
* delete_domain/1
* list_domains/0
* list_domains/1
* put_attributes/3
* delete_item/2
* delete_attributes/3
* get_attributes/2
* get_attributes/3
* list_items/1
* list_items/2
* query_items/2
* query_items/3