Skip to content

Commit f398c2c

Browse files
committed
chore: codegen changes for handling conflicting params
1 parent da6eee7 commit f398c2c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2,
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>;
@@ -38,6 +41,7 @@ export const resolveClientEndpointParameters = <T>(
3841
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
3942
disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false,
4043
defaultSigningName: "s3",
44+
clientContextParams: options.clientContextParams ?? {},
4145
});
4246
};
4347

private/aws-client-api-test/src/client-interface-tests/client-s3/impl/initializeWithMaximalConfiguration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export const initializeWithMaximalConfiguration = () => {
138138
responseChecksumValidation: DEFAULT_RESPONSE_CHECKSUM_VALIDATION,
139139
requestStreamBufferSize: 8 * 1024,
140140
expectContinueHeader: 8 * 1024 * 1024,
141+
clientContextParams: {},
141142
};
142143

143144
const s3 = new S3Client(config);

0 commit comments

Comments
 (0)