JDBC Driver for Amazon S3

Build 24.0.9060

GeneratePresignedURL

Generates a presigned URL for sharing an object.

Input

Name Type Required Description
AWSAccessKey String False The AWS account access key. It is optional if it is already provided in the connection string.
AWSSecretKey String False The AWS account secret key. It is optional if it is already provided in the connection string.
AWSSessionToken String False The AWS session token. If empty, it will be read from the connection.
AWSRegion String False The region where the bucket resides. It is optional if it is already provided in the connection string.
AWSMethod String False The HTTP method to presign. Defaults to 'GET' if left empty.
Expires Long True Provides the time period, in seconds, for which the generated presigned URL is valid.
Bucket String True The bucket name.
Object String True The object key.

Result Set Columns

Name Type Description
URL String The presigned URL.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060