UNPKG

@smithy/util-retry

Version:
21 lines (20 loc) 447 B
/** * @public */ export declare enum RETRY_MODES { STANDARD = "standard", ADAPTIVE = "adaptive" } /** * @public * * The default value for how many HTTP requests an SDK should make for a * single SDK operation invocation before giving up */ export declare const DEFAULT_MAX_ATTEMPTS = 3; /** * @public * * The default retry algorithm to use. */ export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;