@aws-sdk/service-error-classification
Advanced tools
Comparing version 3.32.0 to 3.34.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24) | ||
### Features | ||
* **non-clients:** remove comments from transpiled JS files ([#2813](https://github.com/aws/aws-sdk-js-v3/issues/2813)) ([e6fc7f3](https://github.com/aws/aws-sdk-js-v3/commit/e6fc7f3e0fa74785590ac19e7ed143c916bb9b6e)) | ||
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17) | ||
@@ -8,0 +19,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TRANSIENT_ERROR_STATUS_CODES = exports.TRANSIENT_ERROR_CODES = exports.THROTTLING_ERROR_CODES = exports.CLOCK_SKEW_ERROR_CODES = void 0; | ||
/** | ||
* Errors encountered when the client clock and server clock cannot agree on the | ||
* current time. | ||
* | ||
* These errors are retryable, assuming the SDK has enabled clock skew | ||
* correction. | ||
*/ | ||
exports.CLOCK_SKEW_ERROR_CODES = [ | ||
@@ -19,7 +12,2 @@ "AuthFailure", | ||
]; | ||
/** | ||
* Errors that indicate the SDK is being throttled. | ||
* | ||
* These errors are always retryable. | ||
*/ | ||
exports.THROTTLING_ERROR_CODES = [ | ||
@@ -39,12 +27,6 @@ "BandwidthLimitExceeded", | ||
"TooManyRequestsException", | ||
"TransactionInProgressException", // DynamoDB | ||
"TransactionInProgressException", | ||
]; | ||
/** | ||
* Error codes that indicate transient issues | ||
*/ | ||
exports.TRANSIENT_ERROR_CODES = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"]; | ||
/** | ||
* Error codes that indicate transient issues | ||
*/ | ||
exports.TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNl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XhjZXB0aW9uXCIsXG4gIFwiTGltaXRFeGNlZWRlZEV4Y2VwdGlvblwiLFxuICBcIlByaW9yUmVxdWVzdE5vdENvbXBsZXRlXCIsXG4gIFwiUHJvdmlzaW9uZWRUaHJvdWdocHV0RXhjZWVkZWRFeGNlcHRpb25cIixcbiAgXCJSZXF1ZXN0TGltaXRFeGNlZWRlZFwiLFxuICBcIlJlcXVlc3RUaHJvdHRsZWRcIixcbiAgXCJSZXF1ZXN0VGhyb3R0bGVkRXhjZXB0aW9uXCIsXG4gIFwiU2xvd0Rvd25cIixcbiAgXCJUaHJvdHRsZWRFeGNlcHRpb25cIixcbiAgXCJUaHJvdHRsaW5nXCIsXG4gIFwiVGhyb3R0bGluZ0V4Y2VwdGlvblwiLFxuICBcIlRvb01hbnlSZXF1ZXN0c0V4Y2VwdGlvblwiLFxuICBcIlRyYW5zYWN0aW9uSW5Qcm9ncmVzc0V4Y2VwdGlvblwiLCAvLyBEeW5hbW9EQlxuXTtcblxuLyoqXG4gKiBFcnJvciBjb2RlcyB0aGF0IGluZGljYXRlIHRyYW5zaWVudCBpc3N1ZXNcbiAqL1xuZXhwb3J0IGNvbnN0IFRSQU5TSUVOVF9FUlJPUl9DT0RFUyA9IFtcIkFib3J0RXJyb3JcIiwgXCJUaW1lb3V0RXJyb3JcIiwgXCJSZXF1ZXN0VGltZW91dFwiLCBcIlJlcXVlc3RUaW1lb3V0RXhjZXB0aW9uXCJdO1xuXG4vKipcbiAqIEVycm9yIGNvZGVzIHRoYXQgaW5kaWNhdGUgdHJhbnNpZW50IGlzc3Vlc1xuICovXG5leHBvcnQgY29uc3QgVFJBTlNJRU5UX0VSUk9SX1NUQVRVU19DT0RFUyA9IFs1MDAsIDUwMiwgNTAzLCA1MDRdO1xuIl19 |
{ | ||
"name": "@aws-sdk/service-error-classification", | ||
"version": "3.32.0", | ||
"version": "3.34.0", | ||
"scripts": { | ||
"build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:es": "tsc -p tsconfig.es.json", | ||
"build": "yarn build:es && yarn build:cjs", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4", | ||
@@ -20,3 +21,3 @@ "test": "jest" | ||
"devDependencies": { | ||
"@aws-sdk/types": "3.32.0", | ||
"@aws-sdk/types": "3.34.0", | ||
"@types/jest": "^26.0.4", | ||
@@ -23,0 +24,0 @@ "jest": "^26.1.0", |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"noUnusedLocals": true, | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"baseUrl": "." | ||
"outDir": "dist/cjs", | ||
"rootDir": "src" | ||
}, | ||
@@ -9,0 +8,0 @@ "extends": "../../tsconfig.cjs.json", |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"lib": ["es5", "es2015.collection", "es2015.iterable"], | ||
"noUnusedLocals": true, | ||
"lib": ["es5", "es2015.collection", "es2015.iterable"], | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/es", | ||
"baseUrl": "." | ||
"outDir": "dist/es", | ||
"rootDir": "src" | ||
}, | ||
@@ -10,0 +9,0 @@ "extends": "../../tsconfig.es.json", |
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
17
49211
252