2026-03-01 11:29:20 +01:00
export const id = 762 ;
export const ids = [ 762 ];
export const modules = {
2026-01-30 14:42:57 +00:00
2026-03-03 17:05:14 +00:00
/***/ 7709 :
2026-01-30 14:42:57 +00:00
/***/ (( __unused_webpack_module , exports , __webpack_require__ ) => {
Object . defineProperty ( exports , "__esModule" , ({ value : true }));
exports . resolveHttpAuthSchemeConfig = exports . defaultSigninHttpAuthSchemeProvider = exports . defaultSigninHttpAuthSchemeParametersProvider = void 0 ;
const core_1 = __webpack_require__ ( 8704 );
2026-03-03 17:05:14 +00:00
const util_middleware_1 = __webpack_require__ ( 6324 );
2026-01-30 14:42:57 +00:00
const defaultSigninHttpAuthSchemeParametersProvider = async ( config , context , input ) => {
return {
operation : ( 0 , util_middleware_1 . getSmithyContext )( context ). operation ,
region : ( await ( 0 , util_middleware_1 . normalizeProvider )( config . region )()) ||
(() => {
throw new Error ( "expected `region` to be configured for `aws.auth#sigv4`" );
})(),
};
};
exports . defaultSigninHttpAuthSchemeParametersProvider = defaultSigninHttpAuthSchemeParametersProvider ;
function createAwsAuthSigv4HttpAuthOption ( authParameters ) {
return {
schemeId : "aws.auth#sigv4" ,
signingProperties : {
name : "signin" ,
region : authParameters . region ,
},
propertiesExtractor : ( config , context ) => ({
signingProperties : {
config ,
context ,
},
}),
};
}
function createSmithyApiNoAuthHttpAuthOption ( authParameters ) {
return {
schemeId : "smithy.api#noAuth" ,
};
}
const defaultSigninHttpAuthSchemeProvider = ( authParameters ) => {
const options = [];
switch ( authParameters . operation ) {
case "CreateOAuth2Token" : {
options . push ( createSmithyApiNoAuthHttpAuthOption ( authParameters ));
break ;
}
default : {
options . push ( createAwsAuthSigv4HttpAuthOption ( authParameters ));
}
}
return options ;
};
exports . defaultSigninHttpAuthSchemeProvider = defaultSigninHttpAuthSchemeProvider ;
const resolveHttpAuthSchemeConfig = ( config ) => {
const config_0 = ( 0 , core_1 . resolveAwsSdkSigV4Config )( config );
return Object . assign ( config_0 , {
authSchemePreference : ( 0 , util_middleware_1 . normalizeProvider )( config . authSchemePreference ?? []),
});
};
exports . resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig ;
/***/ }),
2026-03-03 17:05:14 +00:00
/***/ 2547 :
2026-01-30 14:42:57 +00:00
/***/ (( __unused_webpack_module , exports , __webpack_require__ ) => {
Object . defineProperty ( exports , "__esModule" , ({ value : true }));
exports . defaultEndpointResolver = void 0 ;
2026-03-03 17:05:14 +00:00
const util_endpoints_1 = __webpack_require__ ( 3068 );
const util_endpoints_2 = __webpack_require__ ( 9674 );
const ruleset_1 = __webpack_require__ ( 6904 );
2026-01-30 14:42:57 +00:00
const cache = new util_endpoints_2 . EndpointCache ({
size : 50 ,
params : [ "Endpoint" , "Region" , "UseDualStack" , "UseFIPS" ],
});
const defaultEndpointResolver = ( endpointParams , context = {}) => {
return cache . get ( endpointParams , () => ( 0 , util_endpoints_2 . resolveEndpoint )( ruleset_1 . ruleSet , {
endpointParams : endpointParams ,
logger : context . logger ,
}));
};
exports . defaultEndpointResolver = defaultEndpointResolver ;
util_endpoints_2 . customEndpointFunctions . aws = util_endpoints_1 . awsEndpointFunctions ;
/***/ }),
2026-03-03 17:05:14 +00:00
/***/ 6904 :
2026-01-30 14:42:57 +00:00
/***/ (( __unused_webpack_module , exports ) => {
Object . defineProperty ( exports , "__esModule" , ({ value : true }));
exports . ruleSet = void 0 ;
const u = "required" , v = "fn" , w = "argv" , x = "ref" ;
const a = true , b = "isSet" , c = "booleanEquals" , d = "error" , e = "endpoint" , f = "tree" , g = "PartitionResult" , h = "stringEquals" , i = { [ u ] : true , "default" : false , "type" : "boolean" }, j = { [ u ] : false , "type" : "string" }, k = { [ x ] : "Endpoint" }, l = { [ v ] : c , [ w ] : [{ [ x ] : "UseFIPS" }, true ] }, m = { [ v ] : c , [ w ] : [{ [ x ] : "UseDualStack" }, true ] }, n = {}, o = { [ v ] : "getAttr" , [ w ] : [{ [ x ] : g }, "name" ] }, p = { [ v ] : c , [ w ] : [{ [ x ] : "UseFIPS" }, false ] }, q = { [ v ] : c , [ w ] : [{ [ x ] : "UseDualStack" }, false ] }, r = { [ v ] : "getAttr" , [ w ] : [{ [ x ] : g }, "supportsFIPS" ] }, s = { [ v ] : c , [ w ] : [ true , { [ v ] : "getAttr" , [ w ] : [{ [ x ] : g }, "supportsDualStack" ] }] }, t = [{ [ x ] : "Region" }];
const _data = { version : "1.0" , parameters : { UseDualStack : i , UseFIPS : i , Endpoint : j , Region : j }, rules : [{ conditions : [{ [ v ] : b , [ w ] : [ k ] }], rules : [{ conditions : [ l ], error : "Invalid Configuration: FIPS and custom endpoint are not supported" , type : d }, { rules : [{ conditions : [ m ], error : "Invalid Configuration: Dualstack and custom endpoint are not supported" , type : d }, { endpoint : { url : k , properties : n , headers : n }, type : e }], type : f }], type : f }, { rules : [{ conditions : [{ [ v ] : b , [ w ] : t }], rules : [{ conditions : [{ [ v ] : "aws.partition" , [ w ] : t , assign : g }], rules : [{ conditions : [{ [ v ] : h , [ w ] : [ o , "aws" ] }, p , q ], endpoint : { url : "https://{Region}.signin.aws.amazon.com" , properties : n , headers : n }, type : e }, { conditions : [{ [ v ] : h , [ w ] : [ o , "aws-cn" ] }, p , q ], endpoint : { url : "https://{Region}.signin.amazonaws.cn" , properties : n , headers : n }, type : e }, { conditions : [{ [ v ] : h , [ w ] : [ o , "aws-us-gov" ] }, p , q ], endpoint : { url : "https://{Region}.signin.amazonaws-us-gov.com" , properties : n , headers : n }, type : e }, { conditions : [ l , m ], rules : [{ conditions : [{ [ v ] : c , [ w ] : [ a , r ] }, s ], rules : [{ endpoint : { url : "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}" , properties : n , headers : n }, type : e }], type : f }, { error : "FIPS and DualStack are enabled, but this partition does not support one or both" , type : d }], type : f }, { conditions : [ l , q ], rules : [{ conditions : [{ [ v ] : c , [ w ] : [ r , a ] }], rules : [{ endpoint : { url : "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}" , properties : n , headers : n }, type : e }], type : f }, { error : "FIPS is enabled but this partition does not support FIPS" , type : d }], type : f }, { conditions : [ p , m ], rules : [{ conditions : [ s ], rules : [{ endpoint : { url : "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}" , properties : n , headers : n }, type : e }], type : f }, { error : "DualStack is enabled but this partition does not support DualStack" , type : d }], type : f }, { endpoint : { url : "https://signin.{Region}.{PartitionResult#dnsSuffix}" , properties : n , headers : n }, type : e }], type : f }], type : f }, { error : "Invalid Configuration: Missing Region" , type : d }], type : f }] };
exports . ruleSet = _data ;
/***/ }),
2026-03-03 17:05:14 +00:00
/***/ 9762 :
2026-01-30 14:42:57 +00:00
/***/ (( __unused_webpack_module , exports , __webpack_require__ ) => {
var __webpack_unused_export__ ;
2026-03-03 17:05:14 +00:00
var middlewareHostHeader = __webpack_require__ ( 2590 );
var middlewareLogger = __webpack_require__ ( 5242 );
var middlewareRecursionDetection = __webpack_require__ ( 1568 );
var middlewareUserAgent = __webpack_require__ ( 2959 );
var configResolver = __webpack_require__ ( 9316 );
var core = __webpack_require__ ( 402 );
var schema = __webpack_require__ ( 6890 );
var middlewareContentLength = __webpack_require__ ( 7212 );
var middlewareEndpoint = __webpack_require__ ( 99 );
var middlewareRetry = __webpack_require__ ( 9618 );
var smithyClient = __webpack_require__ ( 1411 );
var httpAuthSchemeProvider = __webpack_require__ ( 7709 );
var runtimeConfig = __webpack_require__ ( 2836 );
var regionConfigResolver = __webpack_require__ ( 6463 );
var protocolHttp = __webpack_require__ ( 2356 );
2026-01-30 14:42:57 +00:00
const resolveClientEndpointParameters = ( options ) => {
return Object . assign ( options , {
useDualstackEndpoint : options . useDualstackEndpoint ?? false ,
useFipsEndpoint : options . useFipsEndpoint ?? false ,
defaultSigningName : "signin" ,
});
};
const commonParams = {
UseFIPS : { type : "builtInParams" , name : "useFipsEndpoint" },
Endpoint : { type : "builtInParams" , name : "endpoint" },
Region : { type : "builtInParams" , name : "region" },
UseDualStack : { type : "builtInParams" , name : "useDualstackEndpoint" },
};
const getHttpAuthExtensionConfiguration = ( runtimeConfig ) => {
const _httpAuthSchemes = runtimeConfig . httpAuthSchemes ;
let _httpAuthSchemeProvider = runtimeConfig . httpAuthSchemeProvider ;
let _credentials = runtimeConfig . credentials ;
return {
setHttpAuthScheme ( httpAuthScheme ) {
const index = _httpAuthSchemes . findIndex (( scheme ) => scheme . schemeId === httpAuthScheme . schemeId );
if ( index === - 1 ) {
_httpAuthSchemes . push ( httpAuthScheme );
}
else {
_httpAuthSchemes . splice ( index , 1 , httpAuthScheme );
}
},
httpAuthSchemes () {
return _httpAuthSchemes ;
},
setHttpAuthSchemeProvider ( httpAuthSchemeProvider ) {
_httpAuthSchemeProvider = httpAuthSchemeProvider ;
},
httpAuthSchemeProvider () {
return _httpAuthSchemeProvider ;
},
setCredentials ( credentials ) {
_credentials = credentials ;
},
credentials () {
return _credentials ;
},
};
};
const resolveHttpAuthRuntimeConfig = ( config ) => {
return {
httpAuthSchemes : config . httpAuthSchemes (),
httpAuthSchemeProvider : config . httpAuthSchemeProvider (),
credentials : config . credentials (),
};
};
const resolveRuntimeExtensions = ( runtimeConfig , extensions ) => {
const extensionConfiguration = Object . assign ( regionConfigResolver . getAwsRegionExtensionConfiguration ( runtimeConfig ), smithyClient . getDefaultExtensionConfiguration ( runtimeConfig ), protocolHttp . getHttpHandlerExtensionConfiguration ( runtimeConfig ), getHttpAuthExtensionConfiguration ( runtimeConfig ));
extensions . forEach (( extension ) => extension . configure ( extensionConfiguration ));
return Object . assign ( runtimeConfig , regionConfigResolver . resolveAwsRegionExtensionConfiguration ( extensionConfiguration ), smithyClient . resolveDefaultRuntimeConfig ( extensionConfiguration ), protocolHttp . resolveHttpHandlerRuntimeConfig ( extensionConfiguration ), resolveHttpAuthRuntimeConfig ( extensionConfiguration ));
};
class SigninClient extends smithyClient . Client {
config ;
constructor (...[ configuration ]) {
const _config_0 = runtimeConfig . getRuntimeConfig ( configuration || {});
super ( _config_0 );
this . initConfig = _config_0 ;
const _config_1 = resolveClientEndpointParameters ( _config_0 );
const _config_2 = middlewareUserAgent . resolveUserAgentConfig ( _config_1 );
const _config_3 = middlewareRetry . resolveRetryConfig ( _config_2 );
const _config_4 = configResolver . resolveRegionConfig ( _config_3 );
const _config_5 = middlewareHostHeader . resolveHostHeaderConfig ( _config_4 );
const _config_6 = middlewareEndpoint . resolveEndpointConfig ( _config_5 );
const _config_7 = httpAuthSchemeProvider . resolveHttpAuthSchemeConfig ( _config_6 );
const _config_8 = resolveRuntimeExtensions ( _config_7 , configuration ? . extensions || []);
this . config = _config_8 ;
this . middlewareStack . use ( schema . getSchemaSerdePlugin ( this . config ));
this . middlewareStack . use ( middlewareUserAgent . getUserAgentPlugin ( this . config ));
this . middlewareStack . use ( middlewareRetry . getRetryPlugin ( this . config ));
this . middlewareStack . use ( middlewareContentLength . getContentLengthPlugin ( this . config ));
this . middlewareStack . use ( middlewareHostHeader . getHostHeaderPlugin ( this . config ));
this . middlewareStack . use ( middlewareLogger . getLoggerPlugin ( this . config ));
this . middlewareStack . use ( middlewareRecursionDetection . getRecursionDetectionPlugin ( this . config ));
this . middlewareStack . use ( core . getHttpAuthSchemeEndpointRuleSetPlugin ( this . config , {
httpAuthSchemeParametersProvider : httpAuthSchemeProvider . defaultSigninHttpAuthSchemeParametersProvider ,
identityProviderConfigProvider : async ( config ) => new core . DefaultIdentityProviderConfig ({
"aws.auth#sigv4" : config . credentials ,
}),
}));
this . middlewareStack . use ( core . getHttpSigningPlugin ( this . config ));
}
destroy () {
super . destroy ();
}
}
class SigninServiceException extends smithyClient . ServiceException {
constructor ( options ) {
super ( options );
Object . setPrototypeOf ( this , SigninServiceException . prototype );
}
}
class AccessDeniedException extends SigninServiceException {
name = "AccessDeniedException" ;
$fault = "client" ;
error ;
constructor ( opts ) {
super ({
name : "AccessDeniedException" ,
$fault : "client" ,
... opts ,
});
Object . setPrototypeOf ( this , AccessDeniedException . prototype );
this . error = opts . error ;
}
}
class InternalServerException extends SigninServiceException {
name = "InternalServerException" ;
$fault = "server" ;
error ;
constructor ( opts ) {
super ({
name : "InternalServerException" ,
$fault : "server" ,
... opts ,
});
Object . setPrototypeOf ( this , InternalServerException . prototype );
this . error = opts . error ;
}
}
class TooManyRequestsError extends SigninServiceException {
name = "TooManyRequestsError" ;
$fault = "client" ;
error ;
constructor ( opts ) {
super ({
name : "TooManyRequestsError" ,
$fault : "client" ,
... opts ,
});
Object . setPrototypeOf ( this , TooManyRequestsError . prototype );
this . error = opts . error ;
}
}
class ValidationException extends SigninServiceException {
name = "ValidationException" ;
$fault = "client" ;
error ;
constructor ( opts ) {
super ({
name : "ValidationException" ,
$fault : "client" ,
... opts ,
});
Object . setPrototypeOf ( this , ValidationException . prototype );
this . error = opts . error ;
}
}
const _ADE = "AccessDeniedException" ;
const _AT = "AccessToken" ;
const _COAT = "CreateOAuth2Token" ;
const _COATR = "CreateOAuth2TokenRequest" ;
const _COATRB = "CreateOAuth2TokenRequestBody" ;
const _COATRBr = "CreateOAuth2TokenResponseBody" ;
const _COATRr = "CreateOAuth2TokenResponse" ;
const _ISE = "InternalServerException" ;
const _RT = "RefreshToken" ;
const _TMRE = "TooManyRequestsError" ;
const _VE = "ValidationException" ;
const _aKI = "accessKeyId" ;
const _aT = "accessToken" ;
const _c = "client" ;
const _cI = "clientId" ;
const _cV = "codeVerifier" ;
const _co = "code" ;
const _e = "error" ;
const _eI = "expiresIn" ;
const _gT = "grantType" ;
const _h = "http" ;
const _hE = "httpError" ;
const _iT = "idToken" ;
const _jN = "jsonName" ;
const _m = "message" ;
const _rT = "refreshToken" ;
const _rU = "redirectUri" ;
const _s = "server" ;
const _sAK = "secretAccessKey" ;
const _sT = "sessionToken" ;
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.signin" ;
const _tI = "tokenInput" ;
const _tO = "tokenOutput" ;
const _tT = "tokenType" ;
const n0 = "com.amazonaws.signin" ;
var RefreshToken = [ 0 , n0 , _RT , 8 , 0 ];
var AccessDeniedException$ = [ - 3 , n0 , _ADE , { [ _e ] : _c }, [ _e , _m ], [ 0 , 0 ], 2 ];
schema . TypeRegistry . for ( n0 ). registerError ( AccessDeniedException$ , AccessDeniedException );
var AccessToken$ = [
3 ,
n0 ,
_AT ,
8 ,
[ _aKI , _sAK , _sT ],
[
[ 0 , { [ _jN ] : _aKI }],
[ 0 , { [ _jN ] : _sAK }],
[ 0 , { [ _jN ] : _sT }],
],
3 ,
];
var CreateOAuth2TokenRequest$ = [
3 ,
n0 ,
_COATR ,
0 ,
[ _tI ],
[[() => CreateOAuth2TokenRequestBody$ , 16 ]],
1 ,
];
var CreateOAuth2TokenRequestBody$ = [
3 ,
n0 ,
_COATRB ,
0 ,
[ _cI , _gT , _co , _rU , _cV , _rT ],
[
[ 0 , { [ _jN ] : _cI }],
[ 0 , { [ _jN ] : _gT }],
0 ,
[ 0 , { [ _jN ] : _rU }],
[ 0 , { [ _jN ] : _cV }],
[() => RefreshToken , { [ _jN ] : _rT }],
],
2 ,
];
var CreateOAuth2TokenResponse$ = [
3 ,
n0 ,
_COATRr ,
0 ,
[ _tO ],
[[() => CreateOAuth2TokenResponseBody$ , 16 ]],
1 ,
];
var CreateOAuth2TokenResponseBody$ = [
3 ,
n0 ,
_COATRBr ,
0 ,
[ _aT , _tT , _eI , _rT , _iT ],
[
[() => AccessToken$ , { [ _jN ] : _aT }],
[ 0 , { [ _jN ] : _tT }],
[ 1 , { [ _jN ] : _eI }],
[() => RefreshToken , { [ _jN ] : _rT }],
[ 0 , { [ _jN ] : _iT }],
],
4 ,
];
var InternalServerException$ = [ - 3 , n0 , _ISE , { [ _e ] : _s , [ _hE ] : 500 }, [ _e , _m ], [ 0 , 0 ], 2 ];
schema . TypeRegistry . for ( n0 ). registerError ( InternalServerException$ , InternalServerException );
var TooManyRequestsError$ = [ - 3 , n0 , _TMRE , { [ _e ] : _c , [ _hE ] : 429 }, [ _e , _m ], [ 0 , 0 ], 2 ];
schema . TypeRegistry . for ( n0 ). registerError ( TooManyRequestsError$ , TooManyRequestsError );
var ValidationException$ = [ - 3 , n0 , _VE , { [ _e ] : _c , [ _hE ] : 400 }, [ _e , _m ], [ 0 , 0 ], 2 ];
schema . TypeRegistry . for ( n0 ). registerError ( ValidationException$ , ValidationException );
var SigninServiceException$ = [ - 3 , _sm , "SigninServiceException" , 0 , [], []];
schema . TypeRegistry . for ( _sm ). registerError ( SigninServiceException$ , SigninServiceException );
var CreateOAuth2Token$ = [
9 ,
n0 ,
_COAT ,
{ [ _h ] : [ "POST" , "/v1/token" , 200 ] },
() => CreateOAuth2TokenRequest$ ,
() => CreateOAuth2TokenResponse$ ,
];
class CreateOAuth2TokenCommand extends smithyClient . Command
. classBuilder ()
. ep ( commonParams )
. m ( function ( Command , cs , config , o ) {
return [ middlewareEndpoint . getEndpointPlugin ( config , Command . getEndpointParameterInstructions ())];
})
. s ( "Signin" , "CreateOAuth2Token" , {})
. n ( "SigninClient" , "CreateOAuth2TokenCommand" )
. sc ( CreateOAuth2Token$ )
. build () {
}
const commands = {
CreateOAuth2TokenCommand ,
};
class Signin extends SigninClient {
}
smithyClient . createAggregatedClient ( commands , Signin );
const OAuth2ErrorCode = {
AUTHCODE_EXPIRED : "AUTHCODE_EXPIRED" ,
INSUFFICIENT_PERMISSIONS : "INSUFFICIENT_PERMISSIONS" ,
INVALID_REQUEST : "INVALID_REQUEST" ,
SERVER_ERROR : "server_error" ,
TOKEN_EXPIRED : "TOKEN_EXPIRED" ,
USER_CREDENTIALS_CHANGED : "USER_CREDENTIALS_CHANGED" ,
};
__webpack_unused_export__ = ({
enumerable : true ,
get : function () { return smithyClient . Command ; }
});
__webpack_unused_export__ = ({
enumerable : true ,
get : function () { return smithyClient . Client ; }
});
__webpack_unused_export__ = AccessDeniedException ;
__webpack_unused_export__ = AccessDeniedException$ ;
__webpack_unused_export__ = AccessToken$ ;
__webpack_unused_export__ = CreateOAuth2Token$ ;
exports . CreateOAuth2TokenCommand = CreateOAuth2TokenCommand ;
__webpack_unused_export__ = CreateOAuth2TokenRequest$ ;
__webpack_unused_export__ = CreateOAuth2TokenRequestBody$ ;
__webpack_unused_export__ = CreateOAuth2TokenResponse$ ;
__webpack_unused_export__ = CreateOAuth2TokenResponseBody$ ;
__webpack_unused_export__ = InternalServerException ;
__webpack_unused_export__ = InternalServerException$ ;
__webpack_unused_export__ = OAuth2ErrorCode ;
__webpack_unused_export__ = Signin ;
exports . SigninClient = SigninClient ;
__webpack_unused_export__ = SigninServiceException ;
__webpack_unused_export__ = SigninServiceException$ ;
__webpack_unused_export__ = TooManyRequestsError ;
__webpack_unused_export__ = TooManyRequestsError$ ;
__webpack_unused_export__ = ValidationException ;
__webpack_unused_export__ = ValidationException$ ;
/***/ }),
2026-03-03 17:05:14 +00:00
/***/ 2836 :
2026-01-30 14:42:57 +00:00
/***/ (( __unused_webpack_module , exports , __webpack_require__ ) => {
Object . defineProperty ( exports , "__esModule" , ({ value : true }));
exports . getRuntimeConfig = void 0 ;
2026-03-03 17:05:14 +00:00
const tslib_1 = __webpack_require__ ( 1860 );
const package_json_1 = tslib_1 . __importDefault ( __webpack_require__ ( 9955 ));
2026-01-30 14:42:57 +00:00
const core_1 = __webpack_require__ ( 8704 );
2026-03-03 17:05:14 +00:00
const util_user_agent_node_1 = __webpack_require__ ( 1656 );
const config_resolver_1 = __webpack_require__ ( 9316 );
const hash_node_1 = __webpack_require__ ( 2711 );
const middleware_retry_1 = __webpack_require__ ( 9618 );
const node_config_provider_1 = __webpack_require__ ( 5704 );
const node_http_handler_1 = __webpack_require__ ( 1279 );
const smithy_client_1 = __webpack_require__ ( 1411 );
const util_body_length_node_1 = __webpack_require__ ( 3638 );
const util_defaults_mode_node_1 = __webpack_require__ ( 673 );
const util_retry_1 = __webpack_require__ ( 5518 );
2026-01-30 14:42:57 +00:00
const runtimeConfig_shared_1 = __webpack_require__ ( 357 );
const getRuntimeConfig = ( config ) => {
( 0 , smithy_client_1 . emitWarningIfUnsupportedVersion )( process . version );
const defaultsMode = ( 0 , util_defaults_mode_node_1 . resolveDefaultsModeConfig )( config );
const defaultConfigProvider = () => defaultsMode (). then ( smithy_client_1 . loadConfigsForDefaultMode );
const clientSharedValues = ( 0 , runtimeConfig_shared_1 . getRuntimeConfig )( config );
( 0 , core_1 . emitWarningIfUnsupportedVersion )( process . version );
const loaderConfig = {
profile : config ? . profile ,
logger : clientSharedValues . logger ,
};
return {
... clientSharedValues ,
... config ,
runtime : "node" ,
defaultsMode ,
authSchemePreference : config ? . authSchemePreference ?? ( 0 , node_config_provider_1 . loadConfig )( core_1 . NODE_AUTH_SCHEME_PREFERENCE_OPTIONS , loaderConfig ),
bodyLengthChecker : config ? . bodyLengthChecker ?? util_body_length_node_1 . calculateBodyLength ,
defaultUserAgentProvider : config ? . defaultUserAgentProvider ??
( 0 , util_user_agent_node_1 . createDefaultUserAgentProvider )({ serviceId : clientSharedValues . serviceId , clientVersion : package_json_1 . default . version }),
maxAttempts : config ? . maxAttempts ?? ( 0 , node_config_provider_1 . loadConfig )( middleware_retry_1 . NODE_MAX_ATTEMPT_CONFIG_OPTIONS , config ),
region : config ? . region ??
( 0 , node_config_provider_1 . loadConfig )( config_resolver_1 . NODE_REGION_CONFIG_OPTIONS , { ... config_resolver_1 . NODE_REGION_CONFIG_FILE_OPTIONS , ... loaderConfig }),
requestHandler : node_http_handler_1 . NodeHttpHandler . create ( config ? . requestHandler ?? defaultConfigProvider ),
retryMode : config ? . retryMode ??
( 0 , node_config_provider_1 . loadConfig )({
... middleware_retry_1 . NODE_RETRY_MODE_CONFIG_OPTIONS ,
default : async () => ( await defaultConfigProvider ()). retryMode || util_retry_1 . DEFAULT_RETRY_MODE ,
}, config ),
sha256 : config ? . sha256 ?? hash_node_1 . Hash . bind ( null , "sha256" ),
streamCollector : config ? . streamCollector ?? node_http_handler_1 . streamCollector ,
useDualstackEndpoint : config ? . useDualstackEndpoint ?? ( 0 , node_config_provider_1 . loadConfig )( config_resolver_1 . NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS , loaderConfig ),
useFipsEndpoint : config ? . useFipsEndpoint ?? ( 0 , node_config_provider_1 . loadConfig )( config_resolver_1 . NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS , loaderConfig ),
userAgentAppId : config ? . userAgentAppId ?? ( 0 , node_config_provider_1 . loadConfig )( util_user_agent_node_1 . NODE_APP_ID_CONFIG_OPTIONS , loaderConfig ),
};
};
exports . getRuntimeConfig = getRuntimeConfig ;
/***/ }),
/***/ 357 :
/***/ (( __unused_webpack_module , exports , __webpack_require__ ) => {
Object . defineProperty ( exports , "__esModule" , ({ value : true }));
exports . getRuntimeConfig = void 0 ;
const core_1 = __webpack_require__ ( 8704 );
2026-03-03 17:05:14 +00:00
const protocols_1 = __webpack_require__ ( 7288 );
const core_2 = __webpack_require__ ( 402 );
const smithy_client_1 = __webpack_require__ ( 1411 );
const url_parser_1 = __webpack_require__ ( 4494 );
const util_base64_1 = __webpack_require__ ( 8385 );
const util_utf8_1 = __webpack_require__ ( 1577 );
const httpAuthSchemeProvider_1 = __webpack_require__ ( 7709 );
const endpointResolver_1 = __webpack_require__ ( 2547 );
2026-01-30 14:42:57 +00:00
const getRuntimeConfig = ( config ) => {
return {
apiVersion : "2023-01-01" ,
base64Decoder : config ? . base64Decoder ?? util_base64_1 . fromBase64 ,
base64Encoder : config ? . base64Encoder ?? util_base64_1 . toBase64 ,
disableHostPrefix : config ? . disableHostPrefix ?? false ,
endpointProvider : config ? . endpointProvider ?? endpointResolver_1 . defaultEndpointResolver ,
extensions : config ? . extensions ?? [],
httpAuthSchemeProvider : config ? . httpAuthSchemeProvider ?? httpAuthSchemeProvider_1 . defaultSigninHttpAuthSchemeProvider ,
httpAuthSchemes : config ? . httpAuthSchemes ?? [
{
schemeId : "aws.auth#sigv4" ,
identityProvider : ( ipc ) => ipc . getIdentityProvider ( "aws.auth#sigv4" ),
signer : new core_1 . AwsSdkSigV4Signer (),
},
{
schemeId : "smithy.api#noAuth" ,
identityProvider : ( ipc ) => ipc . getIdentityProvider ( "smithy.api#noAuth" ) || ( async () => ({})),
signer : new core_2 . NoAuthSigner (),
},
],
logger : config ? . logger ?? new smithy_client_1 . NoOpLogger (),
protocol : config ? . protocol ?? protocols_1 . AwsRestJsonProtocol ,
protocolSettings : config ? . protocolSettings ?? {
defaultNamespace : "com.amazonaws.signin" ,
version : "2023-01-01" ,
serviceTarget : "Signin" ,
},
serviceId : config ? . serviceId ?? "Signin" ,
urlParser : config ? . urlParser ?? url_parser_1 . parseUrl ,
utf8Decoder : config ? . utf8Decoder ?? util_utf8_1 . fromUtf8 ,
utf8Encoder : config ? . utf8Encoder ?? util_utf8_1 . toUtf8 ,
};
};
exports . getRuntimeConfig = getRuntimeConfig ;
/***/ }),
2026-03-03 17:05:14 +00:00
/***/ 9955 :
2026-01-30 14:42:57 +00:00
/***/ (( module ) => {
module . exports = /*#__PURE__*/ JSON . parse ( '{"name":"@aws-sdk/nested-clients","version":"3.975.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}' );
/***/ })
};
2026-03-01 11:29:20 +01:00
2026-01-30 14:42:57 +00:00
//# sourceMappingURL=762.index.js.map