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