s3getversioninfo()
Returns version information as a query for a specific object or bucket.
Requires Extension: S3 Resource Extension
s3getversioninfo( bucketName=string, objectName=string, accessKeyId=string, secretAccessKey=string, host=string, timeout=number );
Returns: Query
| Argument | Description | Default |
|---|---|---|
|
bucketName
string,
required
|
edit
Name of the bucket to get info for. Alias: bucket |
|
|
objectName
string,
optional
|
edit
Name of the object (path) within the bucket to get info for. If not defined, info of the bucket is returned. Alias: object, path |
|
|
accessKeyId
string,
optional
|
edit
S3 accessKeyId. If not defined, checks the system property/environment variable for [lucee.s3.accesskeyid]. Alias: accessKey, awsAccessKeyId, awsAccessKey |
|
|
secretAccessKey
string,
optional
|
edit
S3 secretAccessKey. If not defined, checks the system property/environment variable for [lucee.s3.secretaccesskey]. Alias: secretKey, awsSecretKey, awsSecretAccessKey |
|
|
host
string,
optional
|
edit
The provider to connect to. If not set, Amazon AWS is used. Alias: provider, server |
|
|
timeout
number,
optional
|
edit
Timeout for this execution (in milliseconds). |
10000 |
Examples
There are currently no examples for this function 37,672ms WARN No examples for function S3GetVersionInfoSee also
- S3
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)