TS3Waiter
Class in AWS.S3
Base class for S3 Waiters.
Ancestors
Properties
Attempts
property Attempts: Integer
BeforeAttempt
property BeforeAttempt: TProc<IS3Waiter>
Type: IS3Waiter
BeforeWait
property BeforeWait: TProc<IS3Waiter>
Type: IS3Waiter
Delay
property Delay: Integer
Client
property Client: IS3Client
Type: IS3Client
MaxAttempts
property MaxAttempts: Integer
Constructors
Create
constructor Create(const AClient: IS3Client; const AMaxAttempts: Integer = 20; const ADelay: Integer = 5000; const ABeforeAttempt: TProc<IS3Waiter> = nil; const ABeforeWait: TProc<IS3Waiter> = nil);
IS3Client · IS3Waiter · IS3Waiter
Constructor for TSWaiter.
Parameters
| Name | Description |
|---|---|
AClient | Specifies an S3 client used to perform operations. |
AMaxAttempts | Specifies the maximum number of attempts made while waiting. Defaults to 20. |
ADelay | Specifies the delay between attempts in milliseconds. Defaults to 5000 (5 seconds). |
ABeforeAttempt | A callback called before each attempt. |
ABeforeWait | A callback called before each wait (sleep). |