File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,30 @@ export interface RegionInfo {
92
92
signingRegion ?: string ;
93
93
}
94
94
95
+ /**
96
+ * Options to pass when calling {@link RegionInfoProvider}
97
+ */
98
+ export interface RegionInfoProviderOptions {
99
+ /**
100
+ * Enables IPv6/IPv4 dualstack endpoint.
101
+ * @default false
102
+ */
103
+ useDualstackEndpoint : boolean ;
104
+ /**
105
+ * Enables FIPS compatible endpoints.
106
+ * @default false
107
+ */
108
+ useFipsEndpoint : boolean ;
109
+ }
110
+
95
111
/**
96
112
* Function returns designated service's regionalization
97
113
* information from given region. Each service client
98
114
* comes with its regionalization provider. it serves
99
115
* to provide the default values of related configurations
100
116
*/
101
117
export interface RegionInfoProvider {
102
- ( region : string , options ?: any ) : Promise < RegionInfo | undefined > ;
118
+ ( region : string , options ?: RegionInfoProviderOptions ) : Promise < RegionInfo | undefined > ;
103
119
}
104
120
105
121
/**
You can’t perform that action at this time.
0 commit comments