1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/examples/S3/GetObjectDownloadLink.txt
Vitaly the Alpaca (bot) 47fa4e92bb Main build (Jenkins)
2025-06-27 11:47:43 +03:00

12 lines
392 B
Plaintext
Vendored

URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Name = "picture.jpg";
Bucket = "opi-gpbucket3";
Result = OPI_S3.GetObjectDownloadLink(Name, Bucket, BasicData, 7200);