@aws-sdk/types
Advanced tools
Comparing version 3.338.0 to 3.341.0
@@ -86,19 +86,5 @@ /** | ||
/** | ||
* @returns wheather token has remaining tokens. | ||
* @returns the cost of the last retry attempt. | ||
*/ | ||
hasRetryTokens(errorType: RetryErrorType): boolean; | ||
/** | ||
* @returns the number of available tokens. | ||
*/ | ||
getRetryTokenCount(errorInfo: RetryErrorInfo): number; | ||
/** | ||
* @returns the cost of the last retry attemp. | ||
*/ | ||
getLastRetryCost(): number | undefined; | ||
/** | ||
* Releases a number of tokens. | ||
* | ||
* @param amount - of tokens to release. | ||
*/ | ||
releaseRetryTokens(amount?: number): void; | ||
getRetryCost(): number | undefined; | ||
} | ||
@@ -105,0 +91,0 @@ /** |
@@ -25,6 +25,3 @@ export type RetryErrorType = | ||
export interface StandardRetryToken extends RetryToken { | ||
hasRetryTokens(errorType: RetryErrorType): boolean; | ||
getRetryTokenCount(errorInfo: RetryErrorInfo): number; | ||
getLastRetryCost(): number | undefined; | ||
releaseRetryTokens(amount?: number): void; | ||
getRetryCost(): number | undefined; | ||
} | ||
@@ -31,0 +28,0 @@ export interface RetryStrategyV2 { |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.338.0", | ||
"version": "3.341.0", | ||
"main": "./dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist-es/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114649
3370