1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-07 23:03:08 +02:00
Files
OpenIntegrations/docs/en/examples/S3/GetObjectUploadLink.txt

14 lines
453 B
Plaintext
Raw Normal View History

2025-10-20 19:41:52 +03:00
 URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
2024-12-01 13:49:27 +03:00
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
2025-09-01 14:51:24 +03:00
Name = "pictureU.jpg";
Directory = True; // Formation URL in path-style
2024-12-01 13:49:27 +03:00
Bucket = "newbucket2";
2025-09-01 14:51:24 +03:00
Result = OPI_S3.GetObjectUploadLink(Name, Bucket, BasicData, 7200, , Directory);