Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
66 lines
1.8 KiB
Text
66 lines
1.8 KiB
Text
import { LoadedConfigSelectors } from "@smithy/node-config-provider";
|
|
import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors<number>;
|
|
/**
|
|
* @public
|
|
*/
|
|
export interface RetryInputConfig {
|
|
/**
|
|
* The maximum number of times requests that encounter retryable failures should be attempted.
|
|
*/
|
|
maxAttempts?: number | Provider<number>;
|
|
/**
|
|
* The strategy to retry the request. Using built-in exponential backoff strategy by default.
|
|
*/
|
|
retryStrategy?: RetryStrategy | RetryStrategyV2;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface PreviouslyResolved {
|
|
/**
|
|
* Specifies provider for retry algorithm to use.
|
|
* @internal
|
|
*/
|
|
retryMode: string | Provider<string>;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface RetryResolvedConfig {
|
|
/**
|
|
* Resolved value for input config {@link RetryInputConfig.maxAttempts}
|
|
*/
|
|
maxAttempts: Provider<number>;
|
|
/**
|
|
* Resolved value for input config {@link RetryInputConfig.retryStrategy}
|
|
*/
|
|
retryStrategy: Provider<RetryStrategyV2 | RetryStrategy>;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const resolveRetryConfig: <T>(input: T & PreviouslyResolved & RetryInputConfig) => T & RetryResolvedConfig;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const ENV_RETRY_MODE = "AWS_RETRY_MODE";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const CONFIG_RETRY_MODE = "retry_mode";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors<string>;
|