Unclutter XML generation.
[zs3.git] / package.lisp
blob56ca9e6a09fac5d491b5b076e9a5fb5c18c81667
1 ;;;;
2 ;;;; Copyright (c) 2008 Zachary Beane, All Rights Reserved
3 ;;;;
4 ;;;; Redistribution and use in source and binary forms, with or without
5 ;;;; modification, are permitted provided that the following conditions
6 ;;;; are met:
7 ;;;;
8 ;;;; * Redistributions of source code must retain the above copyright
9 ;;;; notice, this list of conditions and the following disclaimer.
10 ;;;;
11 ;;;; * Redistributions in binary form must reproduce the above
12 ;;;; copyright notice, this list of conditions and the following
13 ;;;; disclaimer in the documentation and/or other materials
14 ;;;; provided with the distribution.
15 ;;;;
16 ;;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
17 ;;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 ;;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ;;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20 ;;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 ;;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22 ;;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 ;;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 ;;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25 ;;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26 ;;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 ;;;;
28 ;;;; package.lisp
30 (defpackage #:zs3
31 (:use #:cl)
32 ;; In documentation order and grouping:
33 ;; Credentials
34 (:export #:*credentials*
35 #:access-key
36 #:secret-key
37 #:file-credentials)
38 ;; Buckets
39 (:export #:all-buckets
40 #:creation-date
41 #:name
42 #:all-keys
43 #:bucket-exists-p
44 #:create-bucket
45 #:delete-bucket
46 #:bucket-location
47 #:bucket-lifecycle
48 #:lifecycle-rule
49 #:restore-object)
50 ;; Bucket queries
51 (:export #:query-bucket
52 #:continue-bucket-query
53 #:bucket-name
54 #:keys
55 #:common-prefixes
56 #:prefix
57 #:marker
58 #:delimiter
59 #:truncatedp
60 #:last-modified
61 #:etag
62 #:size
63 #:owner
64 #:storage-class)
65 ;; Objects
66 (:export #:get-object
67 #:get-vector
68 #:get-string
69 #:get-file
70 #:put-object
71 #:put-vector
72 #:put-string
73 #:put-file
74 #:put-stream
75 #:copy-object
76 #:delete-object
77 #:delete-objects
78 #:delete-all-objects
79 #:object-metadata
80 #:set-storage-class)
81 ;; Access Control
82 (:export #:get-acl
83 #:put-acl
84 #:grant
85 #:acl-eqv
86 #:*all-users*
87 #:*aws-users*
88 #:*log-delivery*
89 #:acl-email
90 #:acl-person
91 #:me
92 #:make-public
93 #:make-private)
94 ;; Logging
95 (:export #:enable-logging-to
96 #:disable-logging-to
97 #:enable-logging
98 #:disable-logging
99 #:logging-setup)
100 ;; Misc.
101 (:export #:*use-ssl*
102 #:make-post-policy
103 #:head
104 #:authorized-url
105 #:resource-url)
106 ;; Util
107 (:export #:octet-vector
108 #:now+
109 #:now-
110 #:file-etag
111 #:parameters-alist
112 #:clear-redirects)
113 ;; Conditions
114 (:export #:slow-down
115 #:no-such-bucket
116 #:no-such-key
117 #:access-denied
118 #:signature-mismatch
119 #:precondition-failed
120 #:invalid-bucket-name
121 #:bucket-exists
122 #:too-many-buckets
123 #:ambiguous-grant
124 #:bucket-not-empty
125 #:invalid-logging-target
126 #:key-too-long
127 #:request-time-skewed
128 #:operation-aborted
129 #:no-such-lifecycle-configuration)
130 ;; Cloudfront distribution management
131 (:export #:status
132 #:origin-bucket
133 #:domain-name
134 #:cnames
135 #:default-root-object
136 #:logging-bucket
137 #:logging-prefix
138 #:enabledp
139 #:comment
140 ;; Queries & updates
141 #:all-distributions
142 #:create-distribution
143 #:delete-distribution
144 #:refresh
145 #:enable
146 #:disable
147 #:ensure-cname
148 #:remove-cname
149 #:set-comment
150 #:distributions-for-bucket
151 ;; Invalidations
152 #:invalidate-paths
153 ;; Conditions
154 #:distribution-error
155 #:distribution-error-type
156 #:distribution-error-code
157 #:distribution-error-http-status-code
158 #:distribution-error-detail
159 #:distribution-not-disabled
160 #:cname-already-exists
161 #:too-many-distributions)
162 (:shadow #:method)
163 (:shadowing-import-from #:cxml
164 #:with-element
165 #:text
166 #:attribute
167 #:attribute*))