UNPKG

769 BTypeScriptView Raw
1import { Provider } from "@aws-sdk/types";
2export interface RegionInputConfig {
3 /**
4 * The AWS region to which this client will send requests
5 */
6 region?: string | Provider<string>;
7 /**
8 * Enables FIPS compatible endpoints.
9 */
10 useFipsEndpoint?: boolean | Provider<boolean>;
11}
12interface PreviouslyResolved {
13}
14export interface RegionResolvedConfig {
15 /**
16 * Resolved value for input config {@link RegionInputConfig.region}
17 */
18 region: Provider<string>;
19 /**
20 * Resolved value for input {@link RegionInputConfig.useFipsEndpoint}
21 */
22 useFipsEndpoint: Provider<boolean>;
23}
24export declare const resolveRegionConfig: <T>(input: T & RegionInputConfig & PreviouslyResolved) => T & RegionResolvedConfig;
25export {};