AWSS3GetService |
Type | command |
Dictionary | library.aws |
Library | Amazon Web Services |
Syntax | AWSS3GetService <pCallback>
|
Associations | com.livecode.library.aws |
Summary | Get the S3 service description.
|
Parameters | Name | Type | Description |
---|
pCallback | | A command name to be sent on completion with the server reponse.
|
|
Example | AWSS3GetService "getServiceCallback"
put it into tRequestID
on getServiceCallback pRequestID, pResult, pError
if pError is empty then
local tBucketNames
repeat with tIndex = 1 to the number of elements of pResult["Buckets"]["Bucket"]
put pResult["Buckets"]["Bucket"][tIndex]["Name"] & return after tBucketNames
end repeat
end if
end getServiceCallback
|
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 parsed into an array.
- an error message if one occurred
The array contains service owner details and details of the s3
buckets available.
For futher details about this API see the AWS S3 REST API Documentation
|
Tags | networking,networking |