Handbook
Glossary
delete-object ( bucket key -- )
Amazon S3
Prev:
put-object ( data mime-type bucket key headers -- )
Vocabulary
s3
Inputs
bucket
a
string
key
a
string
Outputs
None
Word description
Deletes the object in the bucket with the given key.
Examples
USING: s3 ; "testbucket" "mykey" delete-object
Definition
USING:
http.client
kernel
s3.private
sequences
;
IN:
s3
:
delete-object
( bucket key -- )
"/"
prepend
H{
}
clone
"DELETE"
<s3-request>
dup
s3-url
<delete-request>
sign-http-request
http-request
2drop
;