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

Name of the bucket to get info for.

Alias: bucket

objectName
string, optional

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

S3 accessKeyId. If not defined, checks the system property/environment variable for [lucee.s3.accesskeyid].

Alias: accessKey, awsAccessKeyId, awsAccessKey

secretAccessKey
string, optional

S3 secretAccessKey. If not defined, checks the system property/environment variable for [lucee.s3.secretaccesskey].

Alias: secretKey, awsSecretKey, awsSecretAccessKey

host
string, optional

The provider to connect to. If not set, Amazon AWS is used.

Alias: provider, server

timeout
number, optional

Timeout for this execution (in milliseconds).

10000

Examples

There are currently no examples for this function 17,810ms WARN No examples for function s3getversioninfo

See also