UNPKG

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