MaximumRequestRetries Parameter (Connect-AmazonDynamoDB Cmdlet)
Specifies the maximum number of times the provider retries a request when a temporary issue is detected. Temporary issues include network interruptions, transient errors, or exceeding operational thresholds.
Syntax
Connect-AmazonDynamoDB -MaximumRequestRetries string
Data Type
cstr
Default Value
"4"
Remarks
This property controls the number of retries the driver attempts when a temporary issue, such as network instability or rate limits, is encountered. For each retry, the cmdlet follows an exponential backoff strategy: the wait time between retries starts at the value specified by RetryWaitTime and doubles with each subsequent retry until the maximum number of retries is reached.
For example, if RetryWaitTime is set to 2 seconds and MaximumRequestRetries is set to 5, the cmdlet waits as follows: 0 seconds (initial attempt), 2 seconds, 4 seconds, 8 seconds, 16 seconds, and 32 seconds.
This property is useful in scenarios where temporary issues are expected, such as high-latency networks or environments with strict API quotas.