1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-03 22:39:12 +02:00
Files
OpenIntegrations/docs/en/examples/S3/GetBucketVersioning.txt

17 lines
499 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
2024-11-14 21:42:55 +03:00
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
// Directory bucket
2024-11-15 13:24:46 +03:00
Name = "opi-dirbucket3";
2024-11-18 10:27:37 +03:00
Result = OPI_S3.GetBucketVersioning(Name, BasicData, True);
2024-11-14 21:42:55 +03:00
// General purpose bucket
2024-11-15 13:24:46 +03:00
Name = "opi-gpbucket3";
2024-11-18 10:27:37 +03:00
Result = OPI_S3.GetBucketVersioning(Name, BasicData);