Handbook
Glossary
delete-bucket ( bucket -- )
Amazon S3
Prev:
create-bucket ( bucket -- )
Next:
keys ( bucket -- seq )
Vocabulary
s3
Inputs
bucket
a
string
Outputs
None
Word description
Deletes the bucket with the given name.
Examples
USING: s3 ; "testbucket" delete-bucket
Definition
USING:
http.client
kernel
s3.private
;
IN:
s3
:
delete-bucket
( bucket -- )
"/"
H{
}
clone
"DELETE"
<s3-request>
dup
s3-url
<delete-request>
sign-http-request
http-request
2drop
;