Skip to content

Commit e7cec7a

Browse files
committed
chore(codegen): generate corresponding clients for conflict params
1 parent b20a25e commit e7cec7a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

clients/client-s3/src/endpoint/EndpointParameters.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
55
* @public
66
*/
77
export interface ClientInputEndpointParameters {
8+
clientContextParams?: {
9+
disableS3ExpressSessionAuth?: boolean | undefined | Provider<boolean | undefined>;
10+
};
811
region?: string | undefined | Provider<string | undefined>;
912
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
1013
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
@@ -17,8 +20,14 @@ export interface ClientInputEndpointParameters {
1720
disableS3ExpressSessionAuth?: boolean | undefined | Provider<boolean | undefined>;
1821
}
1922

20-
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
23+
export type ClientResolvedEndpointParameters = Omit<
24+
ClientInputEndpointParameters,
25+
"endpoint" | "clientContextParams"
26+
> & {
2127
defaultSigningName: string;
28+
clientContextParams: {
29+
disableS3ExpressSessionAuth?: boolean | undefined | Provider<boolean | undefined>;
30+
};
2231
};
2332

2433
export const resolveClientEndpointParameters = <T>(
@@ -32,6 +41,7 @@ export const resolveClientEndpointParameters = <T>(
3241
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
3342
disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false,
3443
defaultSigningName: "s3",
44+
clientContextParams: options.clientContextParams ?? {},
3545
});
3646
};
3747

0 commit comments

Comments
 (0)