Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RetryQuota

Interface that specifies the retry quota behavior.

Hierarchy

  • RetryQuota

Index

Properties

hasRetryTokens

hasRetryTokens: (error: SdkError) => boolean

returns true if retry tokens are available from the retry quota bucket.

Type declaration

releaseRetryTokens

releaseRetryTokens: (releaseCapacityAmount?: undefined | number) => void

releases tokens back to the retry quota.

Type declaration

    • (releaseCapacityAmount?: undefined | number): void
    • Parameters

      • Optional releaseCapacityAmount: undefined | number

      Returns void

retrieveRetryTokens

retrieveRetryTokens: (error: SdkError) => number

returns token amount from the retry quota bucket. throws error is retry tokens are not available.

Type declaration