AWSS3DeleteBucket |
Type | command |
Dictionary | library.aws |
Library | Amazon Web Services |
Syntax | AWSS3DeleteBucket <pBucket>,<pCallback>
|
Associations | com.livecode.library.aws |
Summary | Delete a bucket.
|
Parameters | Name | Type | Description |
---|
pBucket | | The name of a bucket
|
pCallback | | A command name to be sent on completion with the server reponse.
|
|
Example | AWSS3DeleteBucket "mybucket", "deleteBucketCallback"
put it into tRequestID
on deleteBucketCallback pRequestID, pResult, pError
if pError is empty then
answer "Bucket deleted"
end if
end deleteBucketCallback
|
Values | Name | Type | Description |
---|
It | | A request ID able to be used with tsNetGetStatus while the request
is active.
|
The result | | An error message if the request failed.
|
|
Related | Function: tsNetGetStatus, tsNetRetrHeaders
Library: tsNet
|
Description | The caller of this command will be sent the callback message on
completion with two parameters:
- the request ID
- the response from the server which should be empty.
- an error message if one occurred
For futher details about this API see the AWS S3 REST API Documentation
Note: The message is sent before the tsNet connection is closed so it is possible to access
the recieved headers using the tsNetRetrHeaders function
|
Tags | networking,networking |