You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
11
docs/en/examples/S3/CheckBucketAvailability.txt
Normal file
11
docs/en/examples/S3/CheckBucketAvailability.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
Name = "opi-dirbucket1";
|
||||
|
||||
Result = OPI_S3.CheckBucketAvailability(Name, BasicData, True);
|
||||
|
||||
Result = OPI_S3.CheckBucketAvailability(Name, BasicData, True, "1234");
|
||||
@@ -5,6 +5,14 @@
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "opi-newbucket2";
|
||||
// Directory bucket
|
||||
|
||||
Name = "opi-dirbucket1";
|
||||
|
||||
Result = OPI_S3.CreateBucket(Name, BasicData);
|
||||
|
||||
// General purpose bucket
|
||||
|
||||
Name = "opi-gpbucket1";
|
||||
|
||||
Result = OPI_S3.CreateBucket(Name, BasicData, False);
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "opi-newbucket2";
|
||||
// Directory bucket
|
||||
|
||||
Name = "opi-dirbucket1";
|
||||
|
||||
Result = OPI_S3.DeleteBucket(Name, BasicData);
|
||||
|
||||
// General purpose bucket
|
||||
|
||||
Name = "opi-gpbucket1";
|
||||
|
||||
Result = OPI_S3.DeleteBucket(Name, BasicData, False);
|
||||
|
||||
Reference in New Issue
Block a user