31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.NODEJS_TIMEOUT_ERROR_CODES = exports.TRANSIENT_ERROR_STATUS_CODES = exports.TRANSIENT_ERROR_CODES = exports.THROTTLING_ERROR_CODES = exports.CLOCK_SKEW_ERROR_CODES = void 0;
|
|
exports.CLOCK_SKEW_ERROR_CODES = [
|
|
"AuthFailure",
|
|
"InvalidSignatureException",
|
|
"RequestExpired",
|
|
"RequestInTheFuture",
|
|
"RequestTimeTooSkewed",
|
|
"SignatureDoesNotMatch",
|
|
];
|
|
exports.THROTTLING_ERROR_CODES = [
|
|
"BandwidthLimitExceeded",
|
|
"EC2ThrottledException",
|
|
"LimitExceededException",
|
|
"PriorRequestNotComplete",
|
|
"ProvisionedThroughputExceededException",
|
|
"RequestLimitExceeded",
|
|
"RequestThrottled",
|
|
"RequestThrottledException",
|
|
"SlowDown",
|
|
"ThrottledException",
|
|
"Throttling",
|
|
"ThrottlingException",
|
|
"TooManyRequestsException",
|
|
"TransactionInProgressException",
|
|
];
|
|
exports.TRANSIENT_ERROR_CODES = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"];
|
|
exports.TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
|
exports.NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
|