1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/examples/S3/PutBucketVersioning.txt
T
Vitaly the Alpaca (bot) 27f1fa91f9 Main build (Jenkins)
2024-11-14 21:42:55 +03:00

23 lines
568 B
Plaintext

URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
TagStructure = New Structure;
MFADelete = False;
Status = True;
// Directory bucket
Name = "opi-dirbucket3";
Result = OPI_S3.PutBucketVersioning(Name, BasicData, Status);
// General purpose bucket
Name = "opi-gpbucket3";
Result = OPI_S3.PutBucketVersioning(Name, BasicData, Status, , False);