Skip to content

Commit 9df52d1

Browse files
authoredMar 21, 2025··
fix(core): revert "use credentials provided by extensions when instantiating sigv4 signer (#6956)" (#6958)
This reverts commit 6288dff.
1 parent 6288dff commit 9df52d1

File tree

840 files changed

+1672
-2094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

840 files changed

+1672
-2094
lines changed
 

‎clients/client-accessanalyzer/src/AccessAnalyzerClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export class AccessAnalyzerClient extends __Client<
460460
const _config_4 = resolveRegionConfig(_config_3);
461461
const _config_5 = resolveHostHeaderConfig(_config_4);
462462
const _config_6 = resolveEndpointConfig(_config_5);
463-
const _config_7 = resolveHttpAuthSchemeConfig(_config_6, { client: () => this });
463+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
464464
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
465465
super(_config_8);
466466
this.config = _config_8;

‎clients/client-accessanalyzer/src/auth/httpAuthSchemeProvider.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,10 @@ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedCon
128128
/**
129129
* @internal
130130
*/
131-
export const resolveHttpAuthSchemeConfig = <T, R extends object>(
132-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
133-
{ client }: { client: () => { config: R } }
131+
export const resolveHttpAuthSchemeConfig = <T>(
132+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
134133
): T & HttpAuthSchemeResolvedConfig => {
135-
const config_0 = resolveAwsSdkSigV4Config(config, client);
134+
const config_0 = resolveAwsSdkSigV4Config(config);
136135
return {
137136
...config_0,
138137
} as T & HttpAuthSchemeResolvedConfig;

0 commit comments

Comments
 (0)
Please sign in to comment.