2026-01-30 14:42:57 +00:00
"use strict" ;
exports . id = 956 ;
exports . ids = [ 956 , 136 ] ;
exports . modules = {
/***/ 88079 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . fromTokenFile = void 0 ;
const client _1 = _ _webpack _require _ _ ( 5152 ) ;
const property _provider _1 = _ _webpack _require _ _ ( 71238 ) ;
const shared _ini _file _loader _1 = _ _webpack _require _ _ ( 94964 ) ;
const fs _1 = _ _webpack _require _ _ ( 79896 ) ;
const fromWebToken _1 = _ _webpack _require _ _ ( 34453 ) ;
const ENV _TOKEN _FILE = "AWS_WEB_IDENTITY_TOKEN_FILE" ;
const ENV _ROLE _ARN = "AWS_ROLE_ARN" ;
const ENV _ROLE _SESSION _NAME = "AWS_ROLE_SESSION_NAME" ;
const fromTokenFile = ( init = { } ) => async ( awsIdentityProperties ) => {
init . logger ? . debug ( "@aws-sdk/credential-provider-web-identity - fromTokenFile" ) ;
const webIdentityTokenFile = init ? . webIdentityTokenFile ? ? process . env [ ENV _TOKEN _FILE ] ;
const roleArn = init ? . roleArn ? ? process . env [ ENV _ROLE _ARN ] ;
const roleSessionName = init ? . roleSessionName ? ? process . env [ ENV _ROLE _SESSION _NAME ] ;
if ( ! webIdentityTokenFile || ! roleArn ) {
throw new property _provider _1 . CredentialsProviderError ( "Web identity configuration not specified" , {
logger : init . logger ,
} ) ;
}
const credentials = await ( 0 , fromWebToken _1 . fromWebToken ) ( {
... init ,
webIdentityToken : shared _ini _file _loader _1 . externalDataInterceptor ? . getTokenRecord ? . ( ) [ webIdentityTokenFile ] ? ?
( 0 , fs _1 . readFileSync ) ( webIdentityTokenFile , { encoding : "ascii" } ) ,
roleArn ,
roleSessionName ,
} ) ( awsIdentityProperties ) ;
if ( webIdentityTokenFile === process . env [ ENV _TOKEN _FILE ] ) {
( 0 , client _1 . setCredentialFeature ) ( credentials , "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN" , "h" ) ;
}
return credentials ;
} ;
exports . fromTokenFile = fromTokenFile ;
/***/ } ) ,
/***/ 34453 :
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
var _ _createBinding = ( this && this . _ _createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
var desc = Object . getOwnPropertyDescriptor ( m , k ) ;
if ( ! desc || ( "get" in desc ? ! m . _ _esModule : desc . writable || desc . configurable ) ) {
desc = { enumerable : true , get : function ( ) { return m [ k ] ; } } ;
}
Object . defineProperty ( o , k2 , desc ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ) ;
var _ _setModuleDefault = ( this && this . _ _setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
} ;
} ) ( ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . fromWebToken = void 0 ;
const fromWebToken = ( init ) => async ( awsIdentityProperties ) => {
init . logger ? . debug ( "@aws-sdk/credential-provider-web-identity - fromWebToken" ) ;
const { roleArn , roleSessionName , webIdentityToken , providerId , policyArns , policy , durationSeconds } = init ;
let { roleAssumerWithWebIdentity } = init ;
if ( ! roleAssumerWithWebIdentity ) {
const { getDefaultRoleAssumerWithWebIdentity } = await Promise . resolve ( ) . then ( ( ) => _ _importStar ( _ _webpack _require _ _ ( 1136 ) ) ) ;
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity ( {
... init . clientConfig ,
credentialProviderLogger : init . logger ,
parentClientConfig : {
... awsIdentityProperties ? . callerClientConfig ,
... init . parentClientConfig ,
} ,
} , init . clientPlugins ) ;
}
return roleAssumerWithWebIdentity ( {
RoleArn : roleArn ,
RoleSessionName : roleSessionName ? ? ` aws-sdk-js-session- ${ Date . now ( ) } ` ,
WebIdentityToken : webIdentityToken ,
ProviderId : providerId ,
PolicyArns : policyArns ,
Policy : policy ,
DurationSeconds : durationSeconds ,
} ) ;
} ;
exports . fromWebToken = fromWebToken ;
/***/ } ) ,
/***/ 29956 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
var fromTokenFile = _ _webpack _require _ _ ( 88079 ) ;
var fromWebToken = _ _webpack _require _ _ ( 34453 ) ;
Object . keys ( fromTokenFile ) . forEach ( function ( k ) {
if ( k !== 'default' && ! Object . prototype . hasOwnProperty . call ( exports , k ) ) Object . defineProperty ( exports , k , {
enumerable : true ,
get : function ( ) { return fromTokenFile [ k ] ; }
} ) ;
} ) ;
Object . keys ( fromWebToken ) . forEach ( function ( k ) {
if ( k !== 'default' && ! Object . prototype . hasOwnProperty . call ( exports , k ) ) Object . defineProperty ( exports , k , {
enumerable : true ,
get : function ( ) { return fromWebToken [ k ] ; }
} ) ;
} ) ;
/***/ } ) ,
/***/ 63723 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . STSClient = exports . _ _Client = void 0 ;
const middleware _host _header _1 = _ _webpack _require _ _ ( 52590 ) ;
const middleware _logger _1 = _ _webpack _require _ _ ( 85242 ) ;
const middleware _recursion _detection _1 = _ _webpack _require _ _ ( 81568 ) ;
const middleware _user _agent _1 = _ _webpack _require _ _ ( 32959 ) ;
const config _resolver _1 = _ _webpack _require _ _ ( 39316 ) ;
const core _1 = _ _webpack _require _ _ ( 90402 ) ;
const schema _1 = _ _webpack _require _ _ ( 26890 ) ;
const middleware _content _length _1 = _ _webpack _require _ _ ( 47212 ) ;
const middleware _endpoint _1 = _ _webpack _require _ _ ( 40099 ) ;
const middleware _retry _1 = _ _webpack _require _ _ ( 19618 ) ;
const smithy _client _1 = _ _webpack _require _ _ ( 61411 ) ;
Object . defineProperty ( exports , "__Client" , ( { enumerable : true , get : function ( ) { return smithy _client _1 . Client ; } } ) ) ;
const httpAuthSchemeProvider _1 = _ _webpack _require _ _ ( 27851 ) ;
const EndpointParameters _1 = _ _webpack _require _ _ ( 76811 ) ;
const runtimeConfig _1 = _ _webpack _require _ _ ( 36578 ) ;
const runtimeExtensions _1 = _ _webpack _require _ _ ( 37742 ) ;
class STSClient extends smithy _client _1 . Client {
config ;
constructor ( ... [ configuration ] ) {
const _config _0 = ( 0 , runtimeConfig _1 . getRuntimeConfig ) ( configuration || { } ) ;
super ( _config _0 ) ;
this . initConfig = _config _0 ;
const _config _1 = ( 0 , EndpointParameters _1 . resolveClientEndpointParameters ) ( _config _0 ) ;
const _config _2 = ( 0 , middleware _user _agent _1 . resolveUserAgentConfig ) ( _config _1 ) ;
const _config _3 = ( 0 , middleware _retry _1 . resolveRetryConfig ) ( _config _2 ) ;
const _config _4 = ( 0 , config _resolver _1 . resolveRegionConfig ) ( _config _3 ) ;
const _config _5 = ( 0 , middleware _host _header _1 . resolveHostHeaderConfig ) ( _config _4 ) ;
const _config _6 = ( 0 , middleware _endpoint _1 . resolveEndpointConfig ) ( _config _5 ) ;
const _config _7 = ( 0 , httpAuthSchemeProvider _1 . resolveHttpAuthSchemeConfig ) ( _config _6 ) ;
const _config _8 = ( 0 , runtimeExtensions _1 . resolveRuntimeExtensions ) ( _config _7 , configuration ? . extensions || [ ] ) ;
this . config = _config _8 ;
this . middlewareStack . use ( ( 0 , schema _1 . getSchemaSerdePlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _user _agent _1 . getUserAgentPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _retry _1 . getRetryPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _content _length _1 . getContentLengthPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _host _header _1 . getHostHeaderPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _logger _1 . getLoggerPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , middleware _recursion _detection _1 . getRecursionDetectionPlugin ) ( this . config ) ) ;
this . middlewareStack . use ( ( 0 , core _1 . getHttpAuthSchemeEndpointRuleSetPlugin ) ( this . config , {
httpAuthSchemeParametersProvider : httpAuthSchemeProvider _1 . defaultSTSHttpAuthSchemeParametersProvider ,
identityProviderConfigProvider : async ( config ) => new core _1 . DefaultIdentityProviderConfig ( {
"aws.auth#sigv4" : config . credentials ,
} ) ,
} ) ) ;
this . middlewareStack . use ( ( 0 , core _1 . getHttpSigningPlugin ) ( this . config ) ) ;
}
destroy ( ) {
super . destroy ( ) ;
}
}
exports . STSClient = STSClient ;
/***/ } ) ,
/***/ 34532 :
/***/ ( ( _ _unused _webpack _module , exports ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . resolveHttpAuthRuntimeConfig = exports . getHttpAuthExtensionConfiguration = void 0 ;
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 ;
} ,
} ;
} ;
exports . getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration ;
const resolveHttpAuthRuntimeConfig = ( config ) => {
return {
httpAuthSchemes : config . httpAuthSchemes ( ) ,
httpAuthSchemeProvider : config . httpAuthSchemeProvider ( ) ,
credentials : config . credentials ( ) ,
} ;
} ;
exports . resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig ;
/***/ } ) ,
/***/ 27851 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . resolveHttpAuthSchemeConfig = exports . resolveStsAuthConfig = exports . defaultSTSHttpAuthSchemeProvider = exports . defaultSTSHttpAuthSchemeParametersProvider = void 0 ;
const core _1 = _ _webpack _require _ _ ( 8704 ) ;
const util _middleware _1 = _ _webpack _require _ _ ( 76324 ) ;
const STSClient _1 = _ _webpack _require _ _ ( 63723 ) ;
const defaultSTSHttpAuthSchemeParametersProvider = 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 . defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider ;
function createAwsAuthSigv4HttpAuthOption ( authParameters ) {
return {
schemeId : "aws.auth#sigv4" ,
signingProperties : {
name : "sts" ,
region : authParameters . region ,
} ,
propertiesExtractor : ( config , context ) => ( {
signingProperties : {
config ,
context ,
} ,
} ) ,
} ;
}
function createSmithyApiNoAuthHttpAuthOption ( authParameters ) {
return {
schemeId : "smithy.api#noAuth" ,
} ;
}
const defaultSTSHttpAuthSchemeProvider = ( authParameters ) => {
const options = [ ] ;
switch ( authParameters . operation ) {
case "AssumeRoleWithWebIdentity" : {
options . push ( createSmithyApiNoAuthHttpAuthOption ( authParameters ) ) ;
break ;
}
default : {
options . push ( createAwsAuthSigv4HttpAuthOption ( authParameters ) ) ;
}
}
return options ;
} ;
exports . defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider ;
const resolveStsAuthConfig = ( input ) => Object . assign ( input , {
stsClientCtor : STSClient _1 . STSClient ,
} ) ;
exports . resolveStsAuthConfig = resolveStsAuthConfig ;
const resolveHttpAuthSchemeConfig = ( config ) => {
const config _0 = ( 0 , exports . resolveStsAuthConfig ) ( config ) ;
const config _1 = ( 0 , core _1 . resolveAwsSdkSigV4Config ) ( config _0 ) ;
return Object . assign ( config _1 , {
authSchemePreference : ( 0 , util _middleware _1 . normalizeProvider ) ( config . authSchemePreference ? ? [ ] ) ,
} ) ;
} ;
exports . resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig ;
/***/ } ) ,
/***/ 76811 :
/***/ ( ( _ _unused _webpack _module , exports ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . commonParams = exports . resolveClientEndpointParameters = void 0 ;
const resolveClientEndpointParameters = ( options ) => {
return Object . assign ( options , {
useDualstackEndpoint : options . useDualstackEndpoint ? ? false ,
useFipsEndpoint : options . useFipsEndpoint ? ? false ,
useGlobalEndpoint : options . useGlobalEndpoint ? ? false ,
defaultSigningName : "sts" ,
} ) ;
} ;
exports . resolveClientEndpointParameters = resolveClientEndpointParameters ;
exports . commonParams = {
UseGlobalEndpoint : { type : "builtInParams" , name : "useGlobalEndpoint" } ,
UseFIPS : { type : "builtInParams" , name : "useFipsEndpoint" } ,
Endpoint : { type : "builtInParams" , name : "endpoint" } ,
Region : { type : "builtInParams" , name : "region" } ,
UseDualStack : { type : "builtInParams" , name : "useDualstackEndpoint" } ,
} ;
/***/ } ) ,
/***/ 59765 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . defaultEndpointResolver = void 0 ;
const util _endpoints _1 = _ _webpack _require _ _ ( 83068 ) ;
const util _endpoints _2 = _ _webpack _require _ _ ( 79674 ) ;
const ruleset _1 = _ _webpack _require _ _ ( 31670 ) ;
const cache = new util _endpoints _2 . EndpointCache ( {
size : 50 ,
params : [ "Endpoint" , "Region" , "UseDualStack" , "UseFIPS" , "UseGlobalEndpoint" ] ,
} ) ;
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 ;
/***/ } ) ,
/***/ 31670 :
/***/ ( ( _ _unused _webpack _module , exports ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . ruleSet = void 0 ;
const F = "required" , G = "type" , H = "fn" , I = "argv" , J = "ref" ;
const a = false , b = true , c = "booleanEquals" , d = "stringEquals" , e = "sigv4" , f = "sts" , g = "us-east-1" , h = "endpoint" , i = "https://sts.{Region}.{PartitionResult#dnsSuffix}" , j = "tree" , k = "error" , l = "getAttr" , m = { [ F ] : false , [ G ] : "string" } , n = { [ F ] : true , "default" : false , [ G ] : "boolean" } , o = { [ J ] : "Endpoint" } , p = { [ H ] : "isSet" , [ I ] : [ { [ J ] : "Region" } ] } , q = { [ J ] : "Region" } , r = { [ H ] : "aws.partition" , [ I ] : [ q ] , "assign" : "PartitionResult" } , s = { [ J ] : "UseFIPS" } , t = { [ J ] : "UseDualStack" } , u = { "url" : "https://sts.amazonaws.com" , "properties" : { "authSchemes" : [ { "name" : e , "signingName" : f , "signingRegion" : g } ] } , "headers" : { } } , v = { } , w = { "conditions" : [ { [ H ] : d , [ I ] : [ q , "aws-global" ] } ] , [ h ] : u , [ G ] : h } , x = { [ H ] : c , [ I ] : [ s , true ] } , y = { [ H ] : c , [ I ] : [ t , true ] } , z = { [ H ] : l , [ I ] : [ { [ J ] : "PartitionResult" } , "supportsFIPS" ] } , A = { [ J ] : "PartitionResult" } , B = { [ H ] : c , [ I ] : [ true , { [ H ] : l , [ I ] : [ A , "supportsDualStack" ] } ] } , C = [ { [ H ] : "isSet" , [ I ] : [ o ] } ] , D = [ x ] , E = [ y ] ;
const _data = { version : "1.0" , parameters : { Region : m , UseDualStack : n , UseFIPS : n , Endpoint : m , UseGlobalEndpoint : n } , rules : [ { conditions : [ { [ H ] : c , [ I ] : [ { [ J ] : "UseGlobalEndpoint" } , b ] } , { [ H ] : "not" , [ I ] : C } , p , r , { [ H ] : c , [ I ] : [ s , a ] } , { [ H ] : c , [ I ] : [ t , a ] } ] , rules : [ { conditions : [ { [ H ] : d , [ I ] : [ q , "ap-northeast-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "ap-south-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "ap-southeast-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "ap-southeast-2" ] } ] , endpoint : u , [ G ] : h } , w , { conditions : [ { [ H ] : d , [ I ] : [ q , "ca-central-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "eu-central-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "eu-north-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "eu-west-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "eu-west-2" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "eu-west-3" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "sa-east-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , g ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "us-east-2" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "us-west-1" ] } ] , endpoint : u , [ G ] : h } , { conditions : [ { [ H ] : d , [ I ] : [ q , "us-west-2" ] } ] , endpoint : u , [ G ] : h } , { endpoint : { url : i , properties : { authSchemes : [ { name : e , signingName : f , signingRegion : "{Region}" } ] } , headers : v } , [ G ] : h } ] , [ G ] : j } , { conditions : C , rules : [ { conditions : D , error : "Invalid Configuration: FIPS and custom endpoint are not supported" , [ G ] : k } , { conditions : E , error : "Invalid Configuration: Dualstack and custom endpoint are not supported" , [ G ] : k } , { endpoint : { url : o , properties : v , headers : v } , [ G ] : h } ] , [ G ] : j } , { conditions : [ p ] , rules : [ { conditions : [ r ] , rules : [ { conditions : [ x , y ] , rules : [ { conditions : [ { [ H ] : c , [ I ] : [ b , z ] } , B ] , rules : [ { endpoint : { url : "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}" , properties : v , headers : v } , [ G ] : h } ] , [ G ] : j } , { error : "FIPS and DualStack are enabled, but this partition does not support one or both" , [ G ] : k } ] , [ G ] : j } , { conditions : D , rules : [ { conditions : [ { [ H ] : c , [ I ] : [ z , b ] } ] , rules : [ { conditions : [ { [ H ] : d , [ I ] : [ { [ H ] : l , [ I ] : [ A , "name" ] } , "aws-us-gov" ] } ] , endpoint : { url : "https://sts.{Region}.amazonaws.com" , properties : v , headers : v } , [ G ] : h } , { endpoint : { url : "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}" , properties : v , headers : v } , [ G ] : h } ] , [ G ] : j } , { error : "FIPS is enabled but this partition does not support FIPS" , [ G ] : k } ] , [ G ] : j } , { conditions : E , rules : [ { conditions : [ B ] , rules : [ { endpoint : { url : "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}" , properties : v , headers : v } , [ G ] : h } ] , [ G ] : j } , { error : "DualStack is enabled but this partition does not support DualStack" , [ G ] : k } ] , [ G ] : j } , w , { endpoint : { url : i , properties : v , headers : v } , [ G ] : h } ] , [ G ] : j } ] , [ G ] : j } , { error : "Invalid Configuration: Missing Region" , [ G ] : k } ] } ;
exports . ruleSet = _data ;
/***/ } ) ,
/***/ 1136 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
var STSClient = _ _webpack _require _ _ ( 63723 ) ;
var smithyClient = _ _webpack _require _ _ ( 61411 ) ;
var middlewareEndpoint = _ _webpack _require _ _ ( 40099 ) ;
var EndpointParameters = _ _webpack _require _ _ ( 76811 ) ;
var schema = _ _webpack _require _ _ ( 26890 ) ;
var client = _ _webpack _require _ _ ( 5152 ) ;
var regionConfigResolver = _ _webpack _require _ _ ( 36463 ) ;
class STSServiceException extends smithyClient . ServiceException {
constructor ( options ) {
super ( options ) ;
Object . setPrototypeOf ( this , STSServiceException . prototype ) ;
}
}
class ExpiredTokenException extends STSServiceException {
name = "ExpiredTokenException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "ExpiredTokenException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , ExpiredTokenException . prototype ) ;
}
}
class MalformedPolicyDocumentException extends STSServiceException {
name = "MalformedPolicyDocumentException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "MalformedPolicyDocumentException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , MalformedPolicyDocumentException . prototype ) ;
}
}
class PackedPolicyTooLargeException extends STSServiceException {
name = "PackedPolicyTooLargeException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "PackedPolicyTooLargeException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , PackedPolicyTooLargeException . prototype ) ;
}
}
class RegionDisabledException extends STSServiceException {
name = "RegionDisabledException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "RegionDisabledException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , RegionDisabledException . prototype ) ;
}
}
class IDPRejectedClaimException extends STSServiceException {
name = "IDPRejectedClaimException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "IDPRejectedClaimException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , IDPRejectedClaimException . prototype ) ;
}
}
class InvalidIdentityTokenException extends STSServiceException {
name = "InvalidIdentityTokenException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "InvalidIdentityTokenException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , InvalidIdentityTokenException . prototype ) ;
}
}
class IDPCommunicationErrorException extends STSServiceException {
name = "IDPCommunicationErrorException" ;
$fault = "client" ;
constructor ( opts ) {
super ( {
name : "IDPCommunicationErrorException" ,
$fault : "client" ,
... opts ,
} ) ;
Object . setPrototypeOf ( this , IDPCommunicationErrorException . prototype ) ;
}
}
const _A = "Arn" ;
const _AKI = "AccessKeyId" ;
const _AR = "AssumeRole" ;
const _ARI = "AssumedRoleId" ;
const _ARR = "AssumeRoleRequest" ;
const _ARRs = "AssumeRoleResponse" ;
const _ARU = "AssumedRoleUser" ;
const _ARWWI = "AssumeRoleWithWebIdentity" ;
const _ARWWIR = "AssumeRoleWithWebIdentityRequest" ;
const _ARWWIRs = "AssumeRoleWithWebIdentityResponse" ;
const _Au = "Audience" ;
const _C = "Credentials" ;
const _CA = "ContextAssertion" ;
const _DS = "DurationSeconds" ;
const _E = "Expiration" ;
const _EI = "ExternalId" ;
const _ETE = "ExpiredTokenException" ;
const _IDPCEE = "IDPCommunicationErrorException" ;
const _IDPRCE = "IDPRejectedClaimException" ;
const _IITE = "InvalidIdentityTokenException" ;
const _K = "Key" ;
const _MPDE = "MalformedPolicyDocumentException" ;
const _P = "Policy" ;
const _PA = "PolicyArns" ;
const _PAr = "ProviderArn" ;
const _PC = "ProvidedContexts" ;
const _PCLT = "ProvidedContextsListType" ;
const _PCr = "ProvidedContext" ;
const _PDT = "PolicyDescriptorType" ;
const _PI = "ProviderId" ;
const _PPS = "PackedPolicySize" ;
const _PPTLE = "PackedPolicyTooLargeException" ;
const _Pr = "Provider" ;
const _RA = "RoleArn" ;
const _RDE = "RegionDisabledException" ;
const _RSN = "RoleSessionName" ;
const _SAK = "SecretAccessKey" ;
const _SFWIT = "SubjectFromWebIdentityToken" ;
const _SI = "SourceIdentity" ;
const _SN = "SerialNumber" ;
const _ST = "SessionToken" ;
const _T = "Tags" ;
const _TC = "TokenCode" ;
const _TTK = "TransitiveTagKeys" ;
const _Ta = "Tag" ;
const _V = "Value" ;
const _WIT = "WebIdentityToken" ;
const _a = "arn" ;
const _aKST = "accessKeySecretType" ;
const _aQE = "awsQueryError" ;
const _c = "client" ;
const _cTT = "clientTokenType" ;
const _e = "error" ;
const _hE = "httpError" ;
const _m = "message" ;
const _pDLT = "policyDescriptorListType" ;
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts" ;
const _tLT = "tagListType" ;
const n0 = "com.amazonaws.sts" ;
var accessKeySecretType = [ 0 , n0 , _aKST , 8 , 0 ] ;
var clientTokenType = [ 0 , n0 , _cTT , 8 , 0 ] ;
var AssumedRoleUser$ = [ 3 , n0 , _ARU , 0 , [ _ARI , _A ] , [ 0 , 0 ] , 2 ] ;
var AssumeRoleRequest$ = [
3 ,
n0 ,
_ARR ,
0 ,
[ _RA , _RSN , _PA , _P , _DS , _T , _TTK , _EI , _SN , _TC , _SI , _PC ] ,
[ 0 , 0 , ( ) => policyDescriptorListType , 0 , 1 , ( ) => tagListType , 64 | 0 , 0 , 0 , 0 , 0 , ( ) => ProvidedContextsListType ] ,
2 ,
] ;
var AssumeRoleResponse$ = [
3 ,
n0 ,
_ARRs ,
0 ,
[ _C , _ARU , _PPS , _SI ] ,
[ [ ( ) => Credentials$ , 0 ] , ( ) => AssumedRoleUser$ , 1 , 0 ] ,
] ;
var AssumeRoleWithWebIdentityRequest$ = [
3 ,
n0 ,
_ARWWIR ,
0 ,
[ _RA , _RSN , _WIT , _PI , _PA , _P , _DS ] ,
[ 0 , 0 , [ ( ) => clientTokenType , 0 ] , 0 , ( ) => policyDescriptorListType , 0 , 1 ] ,
3 ,
] ;
var AssumeRoleWithWebIdentityResponse$ = [
3 ,
n0 ,
_ARWWIRs ,
0 ,
[ _C , _SFWIT , _ARU , _PPS , _Pr , _Au , _SI ] ,
[ [ ( ) => Credentials$ , 0 ] , 0 , ( ) => AssumedRoleUser$ , 1 , 0 , 0 , 0 ] ,
] ;
var Credentials$ = [
3 ,
n0 ,
_C ,
0 ,
[ _AKI , _SAK , _ST , _E ] ,
[ 0 , [ ( ) => accessKeySecretType , 0 ] , 0 , 4 ] ,
4 ,
] ;
var ExpiredTokenException$ = [
- 3 ,
n0 ,
_ETE ,
{ [ _aQE ] : [ ` ExpiredTokenException ` , 400 ] , [ _e ] : _c , [ _hE ] : 400 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( ExpiredTokenException$ , ExpiredTokenException ) ;
var IDPCommunicationErrorException$ = [
- 3 ,
n0 ,
_IDPCEE ,
{ [ _aQE ] : [ ` IDPCommunicationError ` , 400 ] , [ _e ] : _c , [ _hE ] : 400 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( IDPCommunicationErrorException$ , IDPCommunicationErrorException ) ;
var IDPRejectedClaimException$ = [
- 3 ,
n0 ,
_IDPRCE ,
{ [ _aQE ] : [ ` IDPRejectedClaim ` , 403 ] , [ _e ] : _c , [ _hE ] : 403 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( IDPRejectedClaimException$ , IDPRejectedClaimException ) ;
var InvalidIdentityTokenException$ = [
- 3 ,
n0 ,
_IITE ,
{ [ _aQE ] : [ ` InvalidIdentityToken ` , 400 ] , [ _e ] : _c , [ _hE ] : 400 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( InvalidIdentityTokenException$ , InvalidIdentityTokenException ) ;
var MalformedPolicyDocumentException$ = [
- 3 ,
n0 ,
_MPDE ,
{ [ _aQE ] : [ ` MalformedPolicyDocument ` , 400 ] , [ _e ] : _c , [ _hE ] : 400 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( MalformedPolicyDocumentException$ , MalformedPolicyDocumentException ) ;
var PackedPolicyTooLargeException$ = [
- 3 ,
n0 ,
_PPTLE ,
{ [ _aQE ] : [ ` PackedPolicyTooLarge ` , 400 ] , [ _e ] : _c , [ _hE ] : 400 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( PackedPolicyTooLargeException$ , PackedPolicyTooLargeException ) ;
var PolicyDescriptorType$ = [ 3 , n0 , _PDT , 0 , [ _a ] , [ 0 ] ] ;
var ProvidedContext$ = [ 3 , n0 , _PCr , 0 , [ _PAr , _CA ] , [ 0 , 0 ] ] ;
var RegionDisabledException$ = [
- 3 ,
n0 ,
_RDE ,
{ [ _aQE ] : [ ` RegionDisabledException ` , 403 ] , [ _e ] : _c , [ _hE ] : 403 } ,
[ _m ] ,
[ 0 ] ,
] ;
schema . TypeRegistry . for ( n0 ) . registerError ( RegionDisabledException$ , RegionDisabledException ) ;
var Tag$ = [ 3 , n0 , _Ta , 0 , [ _K , _V ] , [ 0 , 0 ] , 2 ] ;
var STSServiceException$ = [ - 3 , _s , "STSServiceException" , 0 , [ ] , [ ] ] ;
schema . TypeRegistry . for ( _s ) . registerError ( STSServiceException$ , STSServiceException ) ;
var policyDescriptorListType = [ 1 , n0 , _pDLT , 0 , ( ) => PolicyDescriptorType$ ] ;
var ProvidedContextsListType = [ 1 , n0 , _PCLT , 0 , ( ) => ProvidedContext$ ] ;
var tagListType = [ 1 , n0 , _tLT , 0 , ( ) => Tag$ ] ;
var AssumeRole$ = [ 9 , n0 , _AR , 0 , ( ) => AssumeRoleRequest$ , ( ) => AssumeRoleResponse$ ] ;
var AssumeRoleWithWebIdentity$ = [
9 ,
n0 ,
_ARWWI ,
0 ,
( ) => AssumeRoleWithWebIdentityRequest$ ,
( ) => AssumeRoleWithWebIdentityResponse$ ,
] ;
class AssumeRoleCommand extends smithyClient . Command
. classBuilder ( )
. ep ( EndpointParameters . commonParams )
. m ( function ( Command , cs , config , o ) {
return [ middlewareEndpoint . getEndpointPlugin ( config , Command . getEndpointParameterInstructions ( ) ) ] ;
} )
. s ( "AWSSecurityTokenServiceV20110615" , "AssumeRole" , { } )
. n ( "STSClient" , "AssumeRoleCommand" )
. sc ( AssumeRole$ )
. build ( ) {
}
class AssumeRoleWithWebIdentityCommand extends smithyClient . Command
. classBuilder ( )
. ep ( EndpointParameters . commonParams )
. m ( function ( Command , cs , config , o ) {
return [ middlewareEndpoint . getEndpointPlugin ( config , Command . getEndpointParameterInstructions ( ) ) ] ;
} )
. s ( "AWSSecurityTokenServiceV20110615" , "AssumeRoleWithWebIdentity" , { } )
. n ( "STSClient" , "AssumeRoleWithWebIdentityCommand" )
. sc ( AssumeRoleWithWebIdentity$ )
. build ( ) {
}
const commands = {
AssumeRoleCommand ,
AssumeRoleWithWebIdentityCommand ,
} ;
class STS extends STSClient . STSClient {
}
smithyClient . createAggregatedClient ( commands , STS ) ;
const getAccountIdFromAssumedRoleUser = ( assumedRoleUser ) => {
if ( typeof assumedRoleUser ? . Arn === "string" ) {
const arnComponents = assumedRoleUser . Arn . split ( ":" ) ;
if ( arnComponents . length > 4 && arnComponents [ 4 ] !== "" ) {
return arnComponents [ 4 ] ;
}
}
return undefined ;
} ;
const resolveRegion = async ( _region , _parentRegion , credentialProviderLogger , loaderConfig = { } ) => {
const region = typeof _region === "function" ? await _region ( ) : _region ;
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion ( ) : _parentRegion ;
let stsDefaultRegion = "" ;
const resolvedRegion = region ? ? parentRegion ? ? ( stsDefaultRegion = await regionConfigResolver . stsRegionDefaultResolver ( loaderConfig ) ( ) ) ;
credentialProviderLogger ? . debug ? . ( "@aws-sdk/client-sts::resolveRegion" , "accepting first of:" , ` ${ region } (credential provider clientConfig) ` , ` ${ parentRegion } (contextual client) ` , ` ${ stsDefaultRegion } (STS default: AWS_REGION, profile region, or us-east-1) ` ) ;
return resolvedRegion ;
} ;
const getDefaultRoleAssumer$1 = ( stsOptions , STSClient ) => {
let stsClient ;
let closureSourceCreds ;
return async ( sourceCreds , params ) => {
closureSourceCreds = sourceCreds ;
if ( ! stsClient ) {
const { logger = stsOptions ? . parentClientConfig ? . logger , profile = stsOptions ? . parentClientConfig ? . profile , region , requestHandler = stsOptions ? . parentClientConfig ? . requestHandler , credentialProviderLogger , userAgentAppId = stsOptions ? . parentClientConfig ? . userAgentAppId , } = stsOptions ;
const resolvedRegion = await resolveRegion ( region , stsOptions ? . parentClientConfig ? . region , credentialProviderLogger , {
logger ,
profile ,
} ) ;
const isCompatibleRequestHandler = ! isH2 ( requestHandler ) ;
stsClient = new STSClient ( {
... stsOptions ,
userAgentAppId ,
profile ,
credentialDefaultProvider : ( ) => async ( ) => closureSourceCreds ,
region : resolvedRegion ,
requestHandler : isCompatibleRequestHandler ? requestHandler : undefined ,
logger : logger ,
} ) ;
}
const { Credentials , AssumedRoleUser } = await stsClient . send ( new AssumeRoleCommand ( params ) ) ;
if ( ! Credentials || ! Credentials . AccessKeyId || ! Credentials . SecretAccessKey ) {
throw new Error ( ` Invalid response from STS.assumeRole call with role ${ params . RoleArn } ` ) ;
}
const accountId = getAccountIdFromAssumedRoleUser ( AssumedRoleUser ) ;
const credentials = {
accessKeyId : Credentials . AccessKeyId ,
secretAccessKey : Credentials . SecretAccessKey ,
sessionToken : Credentials . SessionToken ,
expiration : Credentials . Expiration ,
... ( Credentials . CredentialScope && { credentialScope : Credentials . CredentialScope } ) ,
... ( accountId && { accountId } ) ,
} ;
client . setCredentialFeature ( credentials , "CREDENTIALS_STS_ASSUME_ROLE" , "i" ) ;
return credentials ;
} ;
} ;
const getDefaultRoleAssumerWithWebIdentity$1 = ( stsOptions , STSClient ) => {
let stsClient ;
return async ( params ) => {
if ( ! stsClient ) {
const { logger = stsOptions ? . parentClientConfig ? . logger , profile = stsOptions ? . parentClientConfig ? . profile , region , requestHandler = stsOptions ? . parentClientConfig ? . requestHandler , credentialProviderLogger , userAgentAppId = stsOptions ? . parentClientConfig ? . userAgentAppId , } = stsOptions ;
const resolvedRegion = await resolveRegion ( region , stsOptions ? . parentClientConfig ? . region , credentialProviderLogger , {
logger ,
profile ,
} ) ;
const isCompatibleRequestHandler = ! isH2 ( requestHandler ) ;
stsClient = new STSClient ( {
... stsOptions ,
userAgentAppId ,
profile ,
region : resolvedRegion ,
requestHandler : isCompatibleRequestHandler ? requestHandler : undefined ,
logger : logger ,
} ) ;
}
const { Credentials , AssumedRoleUser } = await stsClient . send ( new AssumeRoleWithWebIdentityCommand ( params ) ) ;
if ( ! Credentials || ! Credentials . AccessKeyId || ! Credentials . SecretAccessKey ) {
throw new Error ( ` Invalid response from STS.assumeRoleWithWebIdentity call with role ${ params . RoleArn } ` ) ;
}
const accountId = getAccountIdFromAssumedRoleUser ( AssumedRoleUser ) ;
const credentials = {
accessKeyId : Credentials . AccessKeyId ,
secretAccessKey : Credentials . SecretAccessKey ,
sessionToken : Credentials . SessionToken ,
expiration : Credentials . Expiration ,
... ( Credentials . CredentialScope && { credentialScope : Credentials . CredentialScope } ) ,
... ( accountId && { accountId } ) ,
} ;
if ( accountId ) {
client . setCredentialFeature ( credentials , "RESOLVED_ACCOUNT_ID" , "T" ) ;
}
client . setCredentialFeature ( credentials , "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID" , "k" ) ;
return credentials ;
} ;
} ;
const isH2 = ( requestHandler ) => {
return requestHandler ? . metadata ? . handlerProtocol === "h2" ;
} ;
const getCustomizableStsClientCtor = ( baseCtor , customizations ) => {
if ( ! customizations )
return baseCtor ;
else
return class CustomizableSTSClient extends baseCtor {
constructor ( config ) {
super ( config ) ;
for ( const customization of customizations ) {
this . middlewareStack . use ( customization ) ;
}
}
} ;
} ;
const getDefaultRoleAssumer = ( stsOptions = { } , stsPlugins ) => getDefaultRoleAssumer$1 ( stsOptions , getCustomizableStsClientCtor ( STSClient . STSClient , stsPlugins ) ) ;
const getDefaultRoleAssumerWithWebIdentity = ( stsOptions = { } , stsPlugins ) => getDefaultRoleAssumerWithWebIdentity$1 ( stsOptions , getCustomizableStsClientCtor ( STSClient . STSClient , stsPlugins ) ) ;
const decorateDefaultCredentialProvider = ( provider ) => ( input ) => provider ( {
roleAssumer : getDefaultRoleAssumer ( input ) ,
roleAssumerWithWebIdentity : getDefaultRoleAssumerWithWebIdentity ( input ) ,
... input ,
} ) ;
Object . defineProperty ( exports , "$Command" , ( {
enumerable : true ,
get : function ( ) { return smithyClient . Command ; }
} ) ) ;
exports . AssumeRole$ = AssumeRole$ ;
exports . AssumeRoleCommand = AssumeRoleCommand ;
exports . AssumeRoleRequest$ = AssumeRoleRequest$ ;
exports . AssumeRoleResponse$ = AssumeRoleResponse$ ;
exports . AssumeRoleWithWebIdentity$ = AssumeRoleWithWebIdentity$ ;
exports . AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand ;
exports . AssumeRoleWithWebIdentityRequest$ = AssumeRoleWithWebIdentityRequest$ ;
exports . AssumeRoleWithWebIdentityResponse$ = AssumeRoleWithWebIdentityResponse$ ;
exports . AssumedRoleUser$ = AssumedRoleUser$ ;
exports . Credentials$ = Credentials$ ;
exports . ExpiredTokenException = ExpiredTokenException ;
exports . ExpiredTokenException$ = ExpiredTokenException$ ;
exports . IDPCommunicationErrorException = IDPCommunicationErrorException ;
exports . IDPCommunicationErrorException$ = IDPCommunicationErrorException$ ;
exports . IDPRejectedClaimException = IDPRejectedClaimException ;
exports . IDPRejectedClaimException$ = IDPRejectedClaimException$ ;
exports . InvalidIdentityTokenException = InvalidIdentityTokenException ;
exports . InvalidIdentityTokenException$ = InvalidIdentityTokenException$ ;
exports . MalformedPolicyDocumentException = MalformedPolicyDocumentException ;
exports . MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$ ;
exports . PackedPolicyTooLargeException = PackedPolicyTooLargeException ;
exports . PackedPolicyTooLargeException$ = PackedPolicyTooLargeException$ ;
exports . PolicyDescriptorType$ = PolicyDescriptorType$ ;
exports . ProvidedContext$ = ProvidedContext$ ;
exports . RegionDisabledException = RegionDisabledException ;
exports . RegionDisabledException$ = RegionDisabledException$ ;
exports . STS = STS ;
exports . STSServiceException = STSServiceException ;
exports . STSServiceException$ = STSServiceException$ ;
exports . Tag$ = Tag$ ;
exports . decorateDefaultCredentialProvider = decorateDefaultCredentialProvider ;
exports . getDefaultRoleAssumer = getDefaultRoleAssumer ;
exports . getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity ;
Object . keys ( STSClient ) . forEach ( function ( k ) {
if ( k !== 'default' && ! Object . prototype . hasOwnProperty . call ( exports , k ) ) Object . defineProperty ( exports , k , {
enumerable : true ,
get : function ( ) { return STSClient [ k ] ; }
} ) ;
} ) ;
/***/ } ) ,
/***/ 36578 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . getRuntimeConfig = void 0 ;
const tslib _1 = _ _webpack _require _ _ ( 61860 ) ;
const package _json _1 = tslib _1 . _ _importDefault ( _ _webpack _require _ _ ( 39955 ) ) ;
const core _1 = _ _webpack _require _ _ ( 8704 ) ;
const util _user _agent _node _1 = _ _webpack _require _ _ ( 51656 ) ;
const config _resolver _1 = _ _webpack _require _ _ ( 39316 ) ;
const core _2 = _ _webpack _require _ _ ( 90402 ) ;
const hash _node _1 = _ _webpack _require _ _ ( 5092 ) ;
const middleware _retry _1 = _ _webpack _require _ _ ( 19618 ) ;
const node _config _provider _1 = _ _webpack _require _ _ ( 55704 ) ;
const node _http _handler _1 = _ _webpack _require _ _ ( 61279 ) ;
const smithy _client _1 = _ _webpack _require _ _ ( 61411 ) ;
const util _body _length _node _1 = _ _webpack _require _ _ ( 13638 ) ;
const util _defaults _mode _node _1 = _ _webpack _require _ _ ( 15435 ) ;
const util _retry _1 = _ _webpack _require _ _ ( 15518 ) ;
const runtimeConfig _shared _1 = _ _webpack _require _ _ ( 24443 ) ;
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 } ) ,
httpAuthSchemes : config ? . httpAuthSchemes ? ? [
{
schemeId : "aws.auth#sigv4" ,
identityProvider : ( ipc ) => ipc . getIdentityProvider ( "aws.auth#sigv4" ) ||
( async ( idProps ) => await config . credentialDefaultProvider ( idProps ? . _ _config || { } ) ( ) ) ,
signer : new core _1 . AwsSdkSigV4Signer ( ) ,
} ,
{
schemeId : "smithy.api#noAuth" ,
identityProvider : ( ipc ) => ipc . getIdentityProvider ( "smithy.api#noAuth" ) || ( async ( ) => ( { } ) ) ,
signer : new core _2 . NoAuthSigner ( ) ,
} ,
] ,
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 ;
/***/ } ) ,
/***/ 24443 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . getRuntimeConfig = void 0 ;
const core _1 = _ _webpack _require _ _ ( 8704 ) ;
const protocols _1 = _ _webpack _require _ _ ( 37288 ) ;
const core _2 = _ _webpack _require _ _ ( 90402 ) ;
const smithy _client _1 = _ _webpack _require _ _ ( 61411 ) ;
const url _parser _1 = _ _webpack _require _ _ ( 14494 ) ;
const util _base64 _1 = _ _webpack _require _ _ ( 68385 ) ;
const util _utf8 _1 = _ _webpack _require _ _ ( 71577 ) ;
const httpAuthSchemeProvider _1 = _ _webpack _require _ _ ( 27851 ) ;
const endpointResolver _1 = _ _webpack _require _ _ ( 59765 ) ;
const getRuntimeConfig = ( config ) => {
return {
apiVersion : "2011-06-15" ,
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 . defaultSTSHttpAuthSchemeProvider ,
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 . AwsQueryProtocol ,
protocolSettings : config ? . protocolSettings ? ? {
defaultNamespace : "com.amazonaws.sts" ,
xmlNamespace : "https://sts.amazonaws.com/doc/2011-06-15/" ,
version : "2011-06-15" ,
serviceTarget : "AWSSecurityTokenServiceV20110615" ,
} ,
serviceId : config ? . serviceId ? ? "STS" ,
urlParser : config ? . urlParser ? ? url _parser _1 . parseUrl ,
utf8Decoder : config ? . utf8Decoder ? ? util _utf8 _1 . fromUtf8 ,
utf8Encoder : config ? . utf8Encoder ? ? util _utf8 _1 . toUtf8 ,
} ;
} ;
exports . getRuntimeConfig = getRuntimeConfig ;
/***/ } ) ,
/***/ 37742 :
/***/ ( ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) => {
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . resolveRuntimeExtensions = void 0 ;
const region _config _resolver _1 = _ _webpack _require _ _ ( 36463 ) ;
const protocol _http _1 = _ _webpack _require _ _ ( 72356 ) ;
const smithy _client _1 = _ _webpack _require _ _ ( 61411 ) ;
const httpAuthExtensionConfiguration _1 = _ _webpack _require _ _ ( 34532 ) ;
const resolveRuntimeExtensions = ( runtimeConfig , extensions ) => {
const extensionConfiguration = Object . assign ( ( 0 , region _config _resolver _1 . getAwsRegionExtensionConfiguration ) ( runtimeConfig ) , ( 0 , smithy _client _1 . getDefaultExtensionConfiguration ) ( runtimeConfig ) , ( 0 , protocol _http _1 . getHttpHandlerExtensionConfiguration ) ( runtimeConfig ) , ( 0 , httpAuthExtensionConfiguration _1 . getHttpAuthExtensionConfiguration ) ( runtimeConfig ) ) ;
extensions . forEach ( ( extension ) => extension . configure ( extensionConfiguration ) ) ;
return Object . assign ( runtimeConfig , ( 0 , region _config _resolver _1 . resolveAwsRegionExtensionConfiguration ) ( extensionConfiguration ) , ( 0 , smithy _client _1 . resolveDefaultRuntimeConfig ) ( extensionConfiguration ) , ( 0 , protocol _http _1 . resolveHttpHandlerRuntimeConfig ) ( extensionConfiguration ) , ( 0 , httpAuthExtensionConfiguration _1 . resolveHttpAuthRuntimeConfig ) ( extensionConfiguration ) ) ;
} ;
exports . resolveRuntimeExtensions = resolveRuntimeExtensions ;
/***/ } ) ,
/***/ 39955 :
/***/ ( ( module ) => {
2026-02-03 07:43:34 +00:00
module . exports = /*#__PURE__*/ JSON . parse ( '{"name":"@aws-sdk/nested-clients","version":"3.980.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.5","@aws-sdk/middleware-host-header":"^3.972.3","@aws-sdk/middleware-logger":"^3.972.3","@aws-sdk/middleware-recursion-detection":"^3.972.3","@aws-sdk/middleware-user-agent":"^3.972.5","@aws-sdk/region-config-resolver":"^3.972.3","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.980.0","@aws-sdk/util-user-agent-browser":"^3.972.3","@aws-sdk/util-user-agent-node":"^3.972.3","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.22.0","@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.12","@smithy/middleware-retry":"^4.4.29","@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.11.1","@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.28","@smithy/util-defaults-mode-node":"^4.2.31","@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-01-30 14:42:57 +00:00
/***/ } )
} ;
;
//# sourceMappingURL=956.index.js.map