@smithy/types
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -0,1 +1,2 @@ | ||
import { SdkError } from "./shapes"; | ||
/** | ||
@@ -32,2 +33,6 @@ * @public | ||
export interface RetryErrorInfo { | ||
/** | ||
* The error thrown during the initial request, if available. | ||
*/ | ||
error?: SdkError; | ||
errorType: RetryErrorType; | ||
@@ -39,3 +44,3 @@ /** | ||
* | ||
* @returns the Date after which a retry should be attempted. | ||
* The Date after which a retry should be attempted. | ||
*/ | ||
@@ -42,0 +47,0 @@ retryAfterHint?: Date; |
@@ -72,2 +72,11 @@ import { HttpResponse } from "./http"; | ||
*/ | ||
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>; | ||
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & { | ||
$metadata?: Partial<MetadataBearer>["$metadata"] & { | ||
/** | ||
* If present, will have value of true and indicates that the error resulted in a | ||
* correction of the clock skew, a.k.a. config.systemClockOffset. | ||
* This is specific to AWS SDK and sigv4. | ||
*/ | ||
readonly clockSkewCorrected?: true; | ||
}; | ||
}; |
@@ -0,1 +1,2 @@ | ||
import { SdkError } from "./shapes"; | ||
/** | ||
@@ -32,2 +33,6 @@ * @public | ||
export interface RetryErrorInfo { | ||
/** | ||
* The error thrown during the initial request, if available. | ||
*/ | ||
error?: SdkError; | ||
errorType: RetryErrorType; | ||
@@ -39,3 +44,3 @@ /** | ||
* | ||
* @returns the Date after which a retry should be attempted. | ||
* The Date after which a retry should be attempted. | ||
*/ | ||
@@ -42,0 +47,0 @@ retryAfterHint?: Date; |
@@ -72,2 +72,11 @@ import { HttpResponse } from "./http"; | ||
*/ | ||
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>; | ||
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & { | ||
$metadata?: Partial<MetadataBearer>["$metadata"] & { | ||
/** | ||
* If present, will have value of true and indicates that the error resulted in a | ||
* correction of the clock skew, a.k.a. config.systemClockOffset. | ||
* This is specific to AWS SDK and sigv4. | ||
*/ | ||
readonly clockSkewCorrected?: true; | ||
}; | ||
}; |
{ | ||
"name": "@smithy/types", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", |
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
231743
6381