Example
AWS.S3.TS3BucketExistsWaiter.Wait
var
S3
:
IS3Client
; Waiter:
IS3BucketWaiter
;
begin
S3
:= TS3Client.Create; Waiter := TSBucketExistsWaiter.Create(
S3
); Waiter.Wait('a-bucket-name').IsSuccessful
then
begin
// Bucket exists.
end
;
end
;
Copyright © 2019-2021 Appercept Ltd. All rights reserved.