@beesolve/email-service 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdk.js +2 -1
- package/handler/chunk-5KDKGKT5.js +2 -0
- package/handler/chunk-5KDKGKT5.js.map +7 -0
- package/handler/chunk-7HH7JLQT.js +2 -0
- package/handler/chunk-7HH7JLQT.js.map +7 -0
- package/handler/chunk-BZDMPUOT.js +2 -0
- package/handler/chunk-BZDMPUOT.js.map +7 -0
- package/handler/chunk-CE3XDBWG.js +2 -0
- package/handler/chunk-CE3XDBWG.js.map +7 -0
- package/handler/chunk-EZK2FCFC.js +2 -0
- package/handler/chunk-EZK2FCFC.js.map +7 -0
- package/handler/chunk-IIV4KUZH.js +2 -0
- package/handler/chunk-IIV4KUZH.js.map +7 -0
- package/handler/chunk-IRALFVJ5.js +2 -0
- package/handler/chunk-IRALFVJ5.js.map +7 -0
- package/handler/chunk-K7I7SIAE.js +2 -0
- package/handler/chunk-K7I7SIAE.js.map +7 -0
- package/handler/chunk-LGEWB5OJ.js +2 -0
- package/handler/chunk-LGEWB5OJ.js.map +7 -0
- package/handler/chunk-MDLDTIXZ.js +2 -0
- package/handler/chunk-MDLDTIXZ.js.map +7 -0
- package/handler/chunk-MHYJWYJC.js +6 -0
- package/handler/chunk-MHYJWYJC.js.map +7 -0
- package/handler/chunk-NHK4IEJM.js +2 -0
- package/handler/chunk-NHK4IEJM.js.map +7 -0
- package/handler/chunk-NYFG5H6N.js +21 -0
- package/handler/chunk-NYFG5H6N.js.map +7 -0
- package/handler/chunk-Q46F4VQU.js +7 -0
- package/handler/chunk-Q46F4VQU.js.map +7 -0
- package/handler/chunk-QBFMAZ73.js +2 -0
- package/handler/chunk-QBFMAZ73.js.map +7 -0
- package/handler/chunk-RCPWAYJS.js +2 -0
- package/handler/chunk-RCPWAYJS.js.map +7 -0
- package/handler/chunk-XXOXLF5U.js +3 -0
- package/handler/chunk-XXOXLF5U.js.map +7 -0
- package/handler/dist-es-7QG4HPYM.js +2 -0
- package/handler/dist-es-7QG4HPYM.js.map +7 -0
- package/handler/dist-es-L65AGSLX.js +3 -0
- package/handler/dist-es-L65AGSLX.js.map +7 -0
- package/handler/dist-es-MTQKAI46.js +2 -0
- package/handler/dist-es-MTQKAI46.js.map +7 -0
- package/handler/dist-es-MX3QM4CF.js +6 -0
- package/handler/dist-es-MX3QM4CF.js.map +7 -0
- package/handler/dist-es-OFGVNFYO.js +2 -0
- package/handler/dist-es-OFGVNFYO.js.map +7 -0
- package/handler/dist-es-UGTHFA55.js +3 -0
- package/handler/dist-es-UGTHFA55.js.map +7 -0
- package/handler/dist-es-YFHCQQWD.js +2 -0
- package/handler/dist-es-YFHCQQWD.js.map +7 -0
- package/handler/event-streams-DYKXGPYV.js +2 -0
- package/handler/event-streams-DYKXGPYV.js.map +7 -0
- package/handler/handler.js +23 -0
- package/handler/handler.js.map +7 -0
- package/handler/loadSso-JSPP6LHU.js +2 -0
- package/handler/loadSso-JSPP6LHU.js.map +7 -0
- package/handler/signin-AH5DKK66.js +2 -0
- package/handler/signin-AH5DKK66.js.map +7 -0
- package/handler/sso-oidc-OXHEJLP6.js +2 -0
- package/handler/sso-oidc-OXHEJLP6.js.map +7 -0
- package/handler/sts-3PWPRV25.js +2 -0
- package/handler/sts-3PWPRV25.js.map +7 -0
- package/package.json +8 -5
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
|
|
2
|
+
import{a as Re}from"./chunk-LGEWB5OJ.js";import"./chunk-EZK2FCFC.js";import{B as oe,C as se,D as re,E as ne,F as ie,G as ae,H as ce,I as de,K as ue,M as le,Q as me,R as he,S as ge,T as fe,U as ye,V as ve,W as Se,X as _e,Y as xe,a as G,aa as Ee,b as q,c as M,d as z,da as Ae,e as K,ea as Pe,f as V,fa as Ce,g as D,ga as we,h as B,ha as Ie,ia as be,j as W,ka as Oe,la as ke,ma as Te,na as Ne,oa as Le,p as te,pa as De,qa as He,ra as Fe,s as H,sa as $e,ta as Ue,ua as je,va as Ge,wa as qe,xa as Me}from"./chunk-NYFG5H6N.js";import{a as pe,c as u}from"./chunk-IRALFVJ5.js";import"./chunk-MDLDTIXZ.js";import"./chunk-XXOXLF5U.js";import{b as J,c as X,e as Z,f as ee}from"./chunk-MHYJWYJC.js";import"./chunk-QBFMAZ73.js";import{d as Q,e as Y}from"./chunk-BZDMPUOT.js";import"./chunk-NHK4IEJM.js";import"./chunk-7HH7JLQT.js";import"./chunk-IIV4KUZH.js";import{a as o}from"./chunk-K7I7SIAE.js";var ze=o(async(e,t,r)=>({operation:V(t).operation,region:await D(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSSOHttpAuthSchemeParametersProvider");function Ot(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:o((t,r)=>({signingProperties:{config:t,context:r}}),"propertiesExtractor")}}o(Ot,"createAwsAuthSigv4HttpAuthOption");function v(e){return{schemeId:"smithy.api#noAuth"}}o(v,"createSmithyApiNoAuthHttpAuthOption");var Ke=o(e=>{let t=[];switch(e.operation){case"GetRoleCredentials":{t.push(v(e));break}case"ListAccountRoles":{t.push(v(e));break}case"ListAccounts":{t.push(v(e));break}case"Logout":{t.push(v(e));break}default:t.push(Ot(e))}return t},"defaultSSOHttpAuthSchemeProvider"),Ve=o(e=>{let t=me(e);return Object.assign(t,{authSchemePreference:D(e.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig");var Be=o(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}),"resolveClientEndpointParameters"),We={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var Je={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.990.0",scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-sso","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","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.10","@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.10","@aws-sdk/region-config-resolver":"^3.972.3","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.990.0","@aws-sdk/util-user-agent-browser":"^3.972.3","@aws-sdk/util-user-agent-node":"^3.972.8","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.23.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.14","@smithy/middleware-retry":"^4.4.31","@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.10","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.3","@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.30","@smithy/util-defaults-mode-node":"^4.2.33","@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:{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~5.8.3"},engines:{node:">=20.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso"}};var nt="required";var c="argv";var Qe="isSet",g="booleanEquals",m="error",h="endpoint",p="tree",F="PartitionResult",$="getAttr",Ye={[nt]:!1,type:"string"},Xe={[nt]:!0,default:!1,type:"boolean"},Ze={ref:"Endpoint"},it={fn:g,[c]:[{ref:"UseFIPS"},!0]},at={fn:g,[c]:[{ref:"UseDualStack"},!0]},a={},et={fn:$,[c]:[{ref:F},"supportsFIPS"]},ct={ref:F},tt={fn:g,[c]:[!0,{fn:$,[c]:[ct,"supportsDualStack"]}]},ot=[it],st=[at],rt=[{ref:"Region"}],Tt={version:"1.0",parameters:{Region:Ye,UseDualStack:Xe,UseFIPS:Xe,Endpoint:Ye},rules:[{conditions:[{fn:Qe,[c]:[Ze]}],rules:[{conditions:ot,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:m},{conditions:st,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:m},{endpoint:{url:Ze,properties:a,headers:a},type:h}],type:p},{conditions:[{fn:Qe,[c]:rt}],rules:[{conditions:[{fn:"aws.partition",[c]:rt,assign:F}],rules:[{conditions:[it,at],rules:[{conditions:[{fn:g,[c]:[!0,et]},tt],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:a,headers:a},type:h}],type:p},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:m}],type:p},{conditions:ot,rules:[{conditions:[{fn:g,[c]:[et,!0]}],rules:[{conditions:[{fn:"stringEquals",[c]:[{fn:$,[c]:[ct,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:a,headers:a},type:h},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:a,headers:a},type:h}],type:p},{error:"FIPS is enabled but this partition does not support FIPS",type:m}],type:p},{conditions:st,rules:[{conditions:[tt],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:a,headers:a},type:h}],type:p},{error:"DualStack is enabled but this partition does not support DualStack",type:m}],type:p},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:a,headers:a},type:h}],type:p}],type:p},{error:"Invalid Configuration: Missing Region",type:m}]},pt=Tt;var Nt=new ne({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),dt=o((e,t={})=>Nt.get(e,()=>ae(pt,{endpointParams:e,logger:t.logger})),"defaultEndpointResolver");ie.aws=ce;var d=class e extends fe{static{o(this,"SSOServiceException")}constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}};var S=class e extends d{static{o(this,"InvalidRequestException")}name="InvalidRequestException";$fault="client";constructor(t){super({name:"InvalidRequestException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},_=class e extends d{static{o(this,"ResourceNotFoundException")}name="ResourceNotFoundException";$fault="client";constructor(t){super({name:"ResourceNotFoundException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},x=class e extends d{static{o(this,"TooManyRequestsException")}name="TooManyRequestsException";$fault="client";constructor(t){super({name:"TooManyRequestsException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},R=class e extends d{static{o(this,"UnauthorizedException")}name="UnauthorizedException";$fault="client";constructor(t){super({name:"UnauthorizedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}};var Lt="AccountInfo",Dt="AccountListType",Ht="AccessTokenType",Ft="GetRoleCredentials",$t="GetRoleCredentialsRequest",Ut="GetRoleCredentialsResponse",jt="InvalidRequestException",Gt="Logout",qt="ListAccounts",Mt="ListAccountsRequest",zt="ListAccountRolesRequest",Kt="ListAccountRolesResponse",Vt="ListAccountsResponse",Bt="ListAccountRoles",Wt="LogoutRequest",Jt="RoleCredentials",Qt="RoleInfo",Yt="RoleListType",Xt="ResourceNotFoundException",Zt="SecretAccessKeyType",eo="SessionTokenType",to="TooManyRequestsException",oo="UnauthorizedException",E="accountId",so="accessKeyId",ro="accountList",no="accountName",A="accessToken",ut="account_id",P="client",C="error",io="emailAddress",ao="expiration",w="http",I="httpError",b="httpHeader",l="httpQuery",O="message",lt="maxResults",mt="max_result",k="nextToken",ht="next_token",co="roleCredentials",po="roleList",gt="roleName",uo="role_name",ft="smithy.ts.sdk.synthetic.com.amazonaws.sso",lo="secretAccessKey",mo="sessionToken",T="x-amz-sso_bearer_token",s="com.amazonaws.sso",yt=H.for(ft),ho=[-3,ft,"SSOServiceException",0,[],[]];yt.registerError(ho,d);var f=H.for(s),go=[-3,s,jt,{[C]:P,[I]:400},[O],[0]];f.registerError(go,S);var fo=[-3,s,Xt,{[C]:P,[I]:404},[O],[0]];f.registerError(fo,_);var yo=[-3,s,to,{[C]:P,[I]:429},[O],[0]];f.registerError(yo,x);var vo=[-3,s,oo,{[C]:P,[I]:401},[O],[0]];f.registerError(vo,R);var vt=[yt,f],N=[0,s,Ht,8,0],So=[0,s,Zt,8,0],_o=[0,s,eo,8,0],xo=[3,s,Lt,0,[E,no,io],[0,0,0]],Ro=[3,s,$t,0,[gt,E,A],[[0,{[l]:uo}],[0,{[l]:ut}],[()=>N,{[b]:T}]],3],Eo=[3,s,Ut,0,[co],[[()=>bo,0]]],Ao=[3,s,zt,0,[A,E,k,lt],[[()=>N,{[b]:T}],[0,{[l]:ut}],[0,{[l]:ht}],[1,{[l]:mt}]],2],Po=[3,s,Kt,0,[k,po],[0,()=>No]],Co=[3,s,Mt,0,[A,k,lt],[[()=>N,{[b]:T}],[0,{[l]:ht}],[1,{[l]:mt}]],1],wo=[3,s,Vt,0,[k,ro],[0,()=>To]],Io=[3,s,Wt,0,[A],[[()=>N,{[b]:T}]],1],bo=[3,s,Jt,0,[so,lo,mo,ao],[0,[()=>So,0],[()=>_o,0],1]],Oo=[3,s,Qt,0,[gt,E],[0,0]],ko="unit",To=[1,s,Dt,0,()=>xo],No=[1,s,Yt,0,()=>Oo],St=[9,s,Ft,{[w]:["GET","/federation/credentials",200]},()=>Ro,()=>Eo],os=[9,s,Bt,{[w]:["GET","/assignment/roles",200]},()=>Ao,()=>Po],ss=[9,s,qt,{[w]:["GET","/assignment/accounts",200]},()=>Co,()=>wo],rs=[9,s,Gt,{[w]:["POST","/logout",200]},()=>Io,()=>ko];var _t=o(e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??J,base64Encoder:e?.base64Encoder??X,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??dt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ke,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:o(t=>t.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new ue},{schemeId:"smithy.api#noAuth",identityProvider:o(t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new se}],logger:e?.logger??new xe,protocol:e?.protocol??Re,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:vt,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??pe,utf8Decoder:e?.utf8Decoder??Q,utf8Encoder:e?.utf8Encoder??Y}),"getRuntimeConfig");var xt=o(e=>{ve(process.version);let t=Ge(e),r=o(()=>t().then(ye),"defaultConfigProvider"),i=_t(e);de(process.version);let n={profile:e?.profile,logger:i.logger};return{...i,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??u(le,n),bodyLengthChecker:e?.bodyLengthChecker??je,defaultUserAgentProvider:e?.defaultUserAgentProvider??Fe({serviceId:i.serviceId,clientVersion:Je.version}),maxAttempts:e?.maxAttempts??u(Ne,e),region:e?.region??u(Ce,{...we,...n}),requestHandler:Z.create(e?.requestHandler??r),retryMode:e?.retryMode??u({...De,default:o(async()=>(await r()).retryMode||Te,"default")},e),sha256:e?.sha256??Ue.bind(null,"sha256"),streamCollector:e?.streamCollector??ee,useDualstackEndpoint:e?.useDualstackEndpoint??u(Ae,n),useFipsEndpoint:e?.useFipsEndpoint??u(Pe,n),userAgentAppId:e?.userAgentAppId??u($e,n)}},"getRuntimeConfig");var Rt=o(e=>{let t=e.httpAuthSchemes,r=e.httpAuthSchemeProvider,i=e.credentials;return{setHttpAuthScheme(n){let y=t.findIndex(L=>L.schemeId===n.schemeId);y===-1?t.push(n):t.splice(y,1,n)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(n){r=n},httpAuthSchemeProvider(){return r},setCredentials(n){i=n},credentials(){return i}}},"getHttpAuthExtensionConfiguration"),Et=o(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),"resolveHttpAuthRuntimeConfig");var At=o((e,t)=>{let r=Object.assign(qe(e),Se(e),G(e),Rt(e));return t.forEach(i=>i.configure(r)),Object.assign(e,Me(r),_e(r),q(r),Et(r))},"resolveRuntimeExtensions");var U=class extends he{static{o(this,"SSOClient")}config;constructor(...[t]){let r=xt(t||{});super(r),this.initConfig=r;let i=Be(r),n=re(i),y=Le(n),L=Ie(y),Pt=L,Ct=ke(Pt),wt=Ve(Ct),It=At(wt,t?.extensions||[]);this.config=It,this.middlewareStack.use(te(this.config)),this.middlewareStack.use(Ee(this.config)),this.middlewareStack.use(He(this.config)),this.middlewareStack.use(be(this.config)),this.middlewareStack.use(M(this.config)),this.middlewareStack.use(z(this.config)),this.middlewareStack.use(K(this.config)),this.middlewareStack.use(B(this.config,{httpAuthSchemeParametersProvider:ze,identityProviderConfigProvider:o(async bt=>new oe({"aws.auth#sigv4":bt.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(W(this.config))}destroy(){super.destroy()}};var j=class extends ge.classBuilder().ep(We).m(function(t,r,i,n){return[Oe(i,t.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(St).build(){static{o(this,"GetRoleCredentialsCommand")}};export{j as GetRoleCredentialsCommand,U as SSOClient};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/package.json", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.990.0/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js"],
|
|
4
|
+
"sourcesContent": ["import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/util-middleware\";\nexport const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n case \"ListAccountRoles\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n case \"ListAccounts\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n case \"Logout\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n", "export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n", "{\n \"name\": \"@aws-sdk/client-sso\",\n \"description\": \"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native\",\n \"version\": \"3.990.0\",\n \"scripts\": {\n \"build\": \"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs\",\n \"build:cjs\": \"node ../../scripts/compilation/inline client-sso\",\n \"build:es\": \"tsc -p tsconfig.es.json\",\n \"build:include:deps\": \"yarn g:turbo run build -F=\\\"$npm_package_name\\\"\",\n \"build:types\": \"tsc -p tsconfig.types.json\",\n \"build:types:downlevel\": \"downlevel-dts dist-types dist-types/ts3.4\",\n \"clean\": \"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo\",\n \"extract:docs\": \"api-extractor run --local\",\n \"generate:client\": \"node ../../scripts/generate-clients/single-service --solo sso\",\n \"test:index\": \"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs\"\n },\n \"main\": \"./dist-cjs/index.js\",\n \"types\": \"./dist-types/index.d.ts\",\n \"module\": \"./dist-es/index.js\",\n \"sideEffects\": false,\n \"dependencies\": {\n \"@aws-crypto/sha256-browser\": \"5.2.0\",\n \"@aws-crypto/sha256-js\": \"5.2.0\",\n \"@aws-sdk/core\": \"^3.973.10\",\n \"@aws-sdk/middleware-host-header\": \"^3.972.3\",\n \"@aws-sdk/middleware-logger\": \"^3.972.3\",\n \"@aws-sdk/middleware-recursion-detection\": \"^3.972.3\",\n \"@aws-sdk/middleware-user-agent\": \"^3.972.10\",\n \"@aws-sdk/region-config-resolver\": \"^3.972.3\",\n \"@aws-sdk/types\": \"^3.973.1\",\n \"@aws-sdk/util-endpoints\": \"3.990.0\",\n \"@aws-sdk/util-user-agent-browser\": \"^3.972.3\",\n \"@aws-sdk/util-user-agent-node\": \"^3.972.8\",\n \"@smithy/config-resolver\": \"^4.4.6\",\n \"@smithy/core\": \"^3.23.0\",\n \"@smithy/fetch-http-handler\": \"^5.3.9\",\n \"@smithy/hash-node\": \"^4.2.8\",\n \"@smithy/invalid-dependency\": \"^4.2.8\",\n \"@smithy/middleware-content-length\": \"^4.2.8\",\n \"@smithy/middleware-endpoint\": \"^4.4.14\",\n \"@smithy/middleware-retry\": \"^4.4.31\",\n \"@smithy/middleware-serde\": \"^4.2.9\",\n \"@smithy/middleware-stack\": \"^4.2.8\",\n \"@smithy/node-config-provider\": \"^4.3.8\",\n \"@smithy/node-http-handler\": \"^4.4.10\",\n \"@smithy/protocol-http\": \"^5.3.8\",\n \"@smithy/smithy-client\": \"^4.11.3\",\n \"@smithy/types\": \"^4.12.0\",\n \"@smithy/url-parser\": \"^4.2.8\",\n \"@smithy/util-base64\": \"^4.3.0\",\n \"@smithy/util-body-length-browser\": \"^4.2.0\",\n \"@smithy/util-body-length-node\": \"^4.2.1\",\n \"@smithy/util-defaults-mode-browser\": \"^4.3.30\",\n \"@smithy/util-defaults-mode-node\": \"^4.2.33\",\n \"@smithy/util-endpoints\": \"^3.2.8\",\n \"@smithy/util-middleware\": \"^4.2.8\",\n \"@smithy/util-retry\": \"^4.2.8\",\n \"@smithy/util-utf8\": \"^4.2.0\",\n \"tslib\": \"^2.6.2\"\n },\n \"devDependencies\": {\n \"@tsconfig/node20\": \"20.1.8\",\n \"@types/node\": \"^20.14.8\",\n \"concurrently\": \"7.0.0\",\n \"downlevel-dts\": \"0.10.1\",\n \"premove\": \"4.0.0\",\n \"typescript\": \"~5.8.3\"\n },\n \"engines\": {\n \"node\": \">=20.0.0\"\n },\n \"typesVersions\": {\n \"<4.0\": {\n \"dist-types/*\": [\n \"dist-types/ts3.4/*\"\n ]\n }\n },\n \"files\": [\n \"dist-*/**\"\n ],\n \"author\": {\n \"name\": \"AWS SDK for JavaScript Team\",\n \"url\": \"https://aws.amazon.com/javascript/\"\n },\n \"license\": \"Apache-2.0\",\n \"browser\": {\n \"./dist-es/runtimeConfig\": \"./dist-es/runtimeConfig.browser\"\n },\n \"react-native\": {\n \"./dist-es/runtimeConfig\": \"./dist-es/runtimeConfig.native\"\n },\n \"homepage\": \"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aws/aws-sdk-js-v3.git\",\n \"directory\": \"clients/client-sso\"\n }\n}\n", "const u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"string\" }, j = { [u]: true, \"default\": false, \"type\": \"boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-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: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-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: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{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://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexport const ruleSet = _data;\n", "import { awsEndpointFunctions } from \"@aws-sdk/util-endpoints\";\nimport { customEndpointFunctions, EndpointCache, resolveEndpoint } from \"@smithy/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n", "import { ServiceException as __ServiceException, } from \"@smithy/smithy-client\";\nexport { __ServiceException };\nexport class SSOServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOServiceException.prototype);\n }\n}\n", "import { SSOServiceException as __BaseException } from \"./SSOServiceException\";\nexport class InvalidRequestException extends __BaseException {\n name = \"InvalidRequestException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n }\n}\nexport class ResourceNotFoundException extends __BaseException {\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nexport class TooManyRequestsException extends __BaseException {\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsException.prototype);\n }\n}\nexport class UnauthorizedException extends __BaseException {\n name = \"UnauthorizedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedException.prototype);\n }\n}\n", "const _AI = \"AccountInfo\";\nconst _ALT = \"AccountListType\";\nconst _ATT = \"AccessTokenType\";\nconst _GRC = \"GetRoleCredentials\";\nconst _GRCR = \"GetRoleCredentialsRequest\";\nconst _GRCRe = \"GetRoleCredentialsResponse\";\nconst _IRE = \"InvalidRequestException\";\nconst _L = \"Logout\";\nconst _LA = \"ListAccounts\";\nconst _LAR = \"ListAccountsRequest\";\nconst _LARR = \"ListAccountRolesRequest\";\nconst _LARRi = \"ListAccountRolesResponse\";\nconst _LARi = \"ListAccountsResponse\";\nconst _LARis = \"ListAccountRoles\";\nconst _LR = \"LogoutRequest\";\nconst _RC = \"RoleCredentials\";\nconst _RI = \"RoleInfo\";\nconst _RLT = \"RoleListType\";\nconst _RNFE = \"ResourceNotFoundException\";\nconst _SAKT = \"SecretAccessKeyType\";\nconst _STT = \"SessionTokenType\";\nconst _TMRE = \"TooManyRequestsException\";\nconst _UE = \"UnauthorizedException\";\nconst _aI = \"accountId\";\nconst _aKI = \"accessKeyId\";\nconst _aL = \"accountList\";\nconst _aN = \"accountName\";\nconst _aT = \"accessToken\";\nconst _ai = \"account_id\";\nconst _c = \"client\";\nconst _e = \"error\";\nconst _eA = \"emailAddress\";\nconst _ex = \"expiration\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _hH = \"httpHeader\";\nconst _hQ = \"httpQuery\";\nconst _m = \"message\";\nconst _mR = \"maxResults\";\nconst _mr = \"max_result\";\nconst _nT = \"nextToken\";\nconst _nt = \"next_token\";\nconst _rC = \"roleCredentials\";\nconst _rL = \"roleList\";\nconst _rN = \"roleName\";\nconst _rn = \"role_name\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.sso\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _xasbt = \"x-amz-sso_bearer_token\";\nconst n0 = \"com.amazonaws.sso\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from \"../models/errors\";\nimport { SSOServiceException } from \"../models/SSOServiceException\";\nconst _s_registry = TypeRegistry.for(_s);\nexport var SSOServiceException$ = [-3, _s, \"SSOServiceException\", 0, [], []];\n_s_registry.registerError(SSOServiceException$, SSOServiceException);\nconst n0_registry = TypeRegistry.for(n0);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var ResourceNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c, [_hE]: 404 },\n [_m],\n [0]\n];\nn0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);\nexport var TooManyRequestsException$ = [-3, n0, _TMRE,\n { [_e]: _c, [_hE]: 429 },\n [_m],\n [0]\n];\nn0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);\nexport var UnauthorizedException$ = [-3, n0, _UE,\n { [_e]: _c, [_hE]: 401 },\n [_m],\n [0]\n];\nn0_registry.registerError(UnauthorizedException$, UnauthorizedException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessTokenType = [0, n0, _ATT, 8, 0];\nvar SecretAccessKeyType = [0, n0, _SAKT, 8, 0];\nvar SessionTokenType = [0, n0, _STT, 8, 0];\nexport var AccountInfo$ = [3, n0, _AI,\n 0,\n [_aI, _aN, _eA],\n [0, 0, 0]\n];\nexport var GetRoleCredentialsRequest$ = [3, n0, _GRCR,\n 0,\n [_rN, _aI, _aT],\n [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3\n];\nexport var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,\n 0,\n [_rC],\n [[() => RoleCredentials$, 0]]\n];\nexport var ListAccountRolesRequest$ = [3, n0, _LARR,\n 0,\n [_aT, _aI, _nT, _mR],\n [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _ai }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 2\n];\nexport var ListAccountRolesResponse$ = [3, n0, _LARRi,\n 0,\n [_nT, _rL],\n [0, () => RoleListType]\n];\nexport var ListAccountsRequest$ = [3, n0, _LAR,\n 0,\n [_aT, _nT, _mR],\n [[() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }]], 1\n];\nexport var ListAccountsResponse$ = [3, n0, _LARi,\n 0,\n [_nT, _aL],\n [0, () => AccountListType]\n];\nexport var LogoutRequest$ = [3, n0, _LR,\n 0,\n [_aT],\n [[() => AccessTokenType, { [_hH]: _xasbt }]], 1\n];\nexport var RoleCredentials$ = [3, n0, _RC,\n 0,\n [_aKI, _sAK, _sT, _ex],\n [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]\n];\nexport var RoleInfo$ = [3, n0, _RI,\n 0,\n [_rN, _aI],\n [0, 0]\n];\nvar __Unit = \"unit\";\nvar AccountListType = [1, n0, _ALT,\n 0, () => AccountInfo$\n];\nvar RoleListType = [1, n0, _RLT,\n 0, () => RoleInfo$\n];\nexport var GetRoleCredentials$ = [9, n0, _GRC,\n { [_h]: [\"GET\", \"/federation/credentials\", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$\n];\nexport var ListAccountRoles$ = [9, n0, _LARis,\n { [_h]: [\"GET\", \"/assignment/roles\", 200] }, () => ListAccountRolesRequest$, () => ListAccountRolesResponse$\n];\nexport var ListAccounts$ = [9, n0, _LA,\n { [_h]: [\"GET\", \"/assignment/accounts\", 200] }, () => ListAccountsRequest$, () => ListAccountsResponse$\n];\nexport var Logout$ = [9, n0, _L,\n { [_h]: [\"POST\", \"/logout\", 200] }, () => LogoutRequest$, () => __Unit\n];\n", "import { AwsSdkSigV4Signer } from \"@aws-sdk/core\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { NoOpLogger } from \"@smithy/smithy-client\";\nimport { parseUrl } from \"@smithy/url-parser\";\nimport { fromBase64, toBase64 } from \"@smithy/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@smithy/util-utf8\";\nimport { defaultSSOHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.sso\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"SWBPortalService\",\n },\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n", "import packageInfo from \"../package.json\";\nimport { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core\";\nimport { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from \"@aws-sdk/util-user-agent-node\";\nimport { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from \"@smithy/config-resolver\";\nimport { Hash } from \"@smithy/hash-node\";\nimport { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from \"@smithy/middleware-retry\";\nimport { loadConfig as loadNodeConfig } from \"@smithy/node-config-provider\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/smithy-client\";\nimport { calculateBodyLength } from \"@smithy/util-body-length-node\";\nimport { resolveDefaultsModeConfig } from \"@smithy/util-defaults-mode-node\";\nimport { DEFAULT_RETRY_MODE } from \"@smithy/util-retry\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n", "export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n", "import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from \"@aws-sdk/region-config-resolver\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/protocol-http\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/smithy-client\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n", "import { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { resolveRegionConfig } from \"@smithy/config-resolver\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { getContentLengthPlugin } from \"@smithy/middleware-content-length\";\nimport { resolveEndpointConfig, } from \"@smithy/middleware-endpoint\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/middleware-retry\";\nimport { Client as __Client, } from \"@smithy/smithy-client\";\nimport { defaultSSOHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n", "import { getEndpointPlugin } from \"@smithy/middleware-endpoint\";\nimport { Command as $Command } from \"@smithy/smithy-client\";\nimport { commonParams } from \"../endpoint/EndpointParameters\";\nimport { GetRoleCredentials$ } from \"../schemas/schemas_0\";\nexport { $Command };\nexport class GetRoleCredentialsCommand extends $Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SWBPortalService\", \"GetRoleCredentials\", {})\n .n(\"SSOClient\", \"GetRoleCredentialsCommand\")\n .sc(GetRoleCredentials$)\n .build() {\n}\n"],
|
|
5
|
+
"mappings": ";s3BAEO,IAAMA,GAA6CC,EAAA,MAAOC,EAAQC,EAASC,KACvE,CACH,UAAWC,EAAiBF,CAAO,EAAE,UACrC,OAAQ,MAAMG,EAAkBJ,EAAO,MAAM,EAAE,IAAM,IAAM,CACvD,MAAM,IAAI,MAAM,yDAAyD,CAC7E,GAAG,CACP,GANsD,8CAQ1D,SAASK,GAAiCC,EAAgB,CACtD,MAAO,CACH,SAAU,iBACV,kBAAmB,CACf,KAAM,eACN,OAAQA,EAAe,MAC3B,EACA,oBAAqBP,EAAA,CAACC,EAAQC,KAAa,CACvC,kBAAmB,CACf,OAAAD,EACA,QAAAC,CACJ,CACJ,GALqB,sBAMzB,CACJ,CAdSF,EAAAM,GAAA,oCAeT,SAASE,EAAoCD,EAAgB,CACzD,MAAO,CACH,SAAU,mBACd,CACJ,CAJSP,EAAAQ,EAAA,uCAKF,IAAMC,GAAmCT,EAACO,GAAmB,CAChE,IAAMG,EAAU,CAAC,EACjB,OAAQH,EAAe,UAAW,CAC9B,IAAK,qBACD,CACIG,EAAQ,KAAKF,EAAoCD,CAAc,CAAC,EAChE,KACJ,CAEJ,IAAK,mBACD,CACIG,EAAQ,KAAKF,EAAoCD,CAAc,CAAC,EAChE,KACJ,CAEJ,IAAK,eACD,CACIG,EAAQ,KAAKF,EAAoCD,CAAc,CAAC,EAChE,KACJ,CAEJ,IAAK,SAC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,KAAK,OAASgB,GACd,KAAK,gBAAgB,IAAIE,GAAqB,KAAK,MAAM,CAAC,EAC1D,KAAK,gBAAgB,IAAIC,GAAmB,KAAK,MAAM,CAAC,EACxD,KAAK,gBAAgB,IAAIC,GAAe,KAAK,MAAM,CAAC,EACpD,KAAK,gBAAgB,IAAIC,GAAuB,KAAK,MAAM,CAAC,EAC5D,KAAK,gBAAgB,IAAIC,EAAoB,KAAK,MAAM,CAAC,EACzD,KAAK,gBAAgB,IAAIC,EAAgB,KAAK,MAAM,CAAC,EACrD,KAAK,gBAAgB,IAAIC,EAA4B,KAAK,MAAM,CAAC,EACjE,KAAK,gBAAgB,IAAIC,EAAuC,KAAK,OAAQ,CACzE,iCAAkCC,GAClC,+BAAgC3B,EAAA,MAAO4B,IAAW,IAAIC,GAA8B,CAChF,iBAAkBD,GAAO,WAC7B,CAAC,EAF+B,iCAGpC,CAAC,CAAC,EACF,KAAK,gBAAgB,IAAIE,EAAqB,KAAK,MAAM,CAAC,CAC9D,CACA,SAAU,CACN,MAAM,QAAQ,CAClB,CACJ,EC5CO,IAAMC,EAAN,cAAwCC,GAC1C,aAAa,EACb,GAAGC,EAAY,EACf,EAAE,SAAUD,EAASE,EAAIC,EAAQC,EAAG,CACrC,MAAO,CAACC,GAAkBF,EAAQH,EAAQ,iCAAiC,CAAC,CAAC,CACjF,CAAC,EACI,EAAE,mBAAoB,qBAAsB,CAAC,CAAC,EAC9C,EAAE,YAAa,2BAA2B,EAC1C,GAAGM,EAAmB,EACtB,MAAM,CAAE,CAdb,MAca,CAAAC,EAAA,kCACb",
|
|
6
|
+
"names": ["defaultSSOHttpAuthSchemeParametersProvider", "__name", "config", "context", "input", "getSmithyContext", "normalizeProvider", "createAwsAuthSigv4HttpAuthOption", "authParameters", "createSmithyApiNoAuthHttpAuthOption", "defaultSSOHttpAuthSchemeProvider", "options", "resolveHttpAuthSchemeConfig", "config_0", "resolveAwsSdkSigV4Config", "resolveClientEndpointParameters", "__name", "options", "commonParams", "package_default", "u", "w", "b", "c", "d", "e", "f", "g", "h", "i", "u", "j", "k", "l", "w", "m", "n", "o", "p", "q", "r", "s", "t", "_data", "ruleSet", "cache", "EndpointCache", "defaultEndpointResolver", "__name", "endpointParams", "context", "resolveEndpoint", "ruleSet", "customEndpointFunctions", "awsEndpointFunctions", "SSOServiceException", "_SSOServiceException", "ServiceException", "__name", "options", "InvalidRequestException", "_InvalidRequestException", "SSOServiceException", "__name", "opts", "ResourceNotFoundException", "_ResourceNotFoundException", "TooManyRequestsException", "_TooManyRequestsException", "UnauthorizedException", "_UnauthorizedException", "_AI", "_ALT", "_ATT", "_GRC", "_GRCR", "_GRCRe", "_IRE", "_L", "_LA", "_LAR", "_LARR", "_LARRi", "_LARi", "_LARis", "_LR", "_RC", "_RI", "_RLT", "_RNFE", "_SAKT", "_STT", "_TMRE", "_UE", "_aI", "_aKI", "_aL", "_aN", "_aT", "_ai", "_c", "_e", "_eA", "_ex", "_h", "_hE", "_hH", "_hQ", "_m", "_mR", "_mr", "_nT", "_nt", "_rC", "_rL", "_rN", "_rn", "_s", "_sAK", "_sT", "_xasbt", "n0", "_s_registry", "TypeRegistry", "SSOServiceException$", "SSOServiceException", "n0_registry", "InvalidRequestException$", "InvalidRequestException", "ResourceNotFoundException$", "ResourceNotFoundException", "TooManyRequestsException$", "TooManyRequestsException", "UnauthorizedException$", "UnauthorizedException", "errorTypeRegistries", "AccessTokenType", "SecretAccessKeyType", "SessionTokenType", "AccountInfo$", "GetRoleCredentialsRequest$", "GetRoleCredentialsResponse$", "RoleCredentials$", "ListAccountRolesRequest$", "ListAccountRolesResponse$", "RoleListType", "ListAccountsRequest$", "ListAccountsResponse$", "AccountListType", "LogoutRequest$", "RoleInfo$", "__Unit", "GetRoleCredentials$", "ListAccountRoles$", "ListAccounts$", "Logout$", "getRuntimeConfig", "__name", "config", "fromBase64", "toBase64", "defaultEndpointResolver", "defaultSSOHttpAuthSchemeProvider", "ipc", "AwsSdkSigV4Signer", "NoAuthSigner", "NoOpLogger", "AwsRestJsonProtocol", "errorTypeRegistries", "parseUrl", "fromUtf8", "toUtf8", "getRuntimeConfig", "__name", "config", "emitWarningIfUnsupportedVersion", "defaultsMode", "resolveDefaultsModeConfig", "defaultConfigProvider", "loadConfigsForDefaultMode", "clientSharedValues", "loaderConfig", "loadConfig", "NODE_AUTH_SCHEME_PREFERENCE_OPTIONS", "calculateBodyLength", "createDefaultUserAgentProvider", "package_default", "NODE_MAX_ATTEMPT_CONFIG_OPTIONS", "NODE_REGION_CONFIG_OPTIONS", "NODE_REGION_CONFIG_FILE_OPTIONS", "NodeHttpHandler", "NODE_RETRY_MODE_CONFIG_OPTIONS", "DEFAULT_RETRY_MODE", "Hash", "streamCollector", "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS", "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS", "NODE_APP_ID_CONFIG_OPTIONS", "getHttpAuthExtensionConfiguration", "__name", "runtimeConfig", "_httpAuthSchemes", "_httpAuthSchemeProvider", "_credentials", "httpAuthScheme", "index", "scheme", "httpAuthSchemeProvider", "credentials", "resolveHttpAuthRuntimeConfig", "config", "resolveRuntimeExtensions", "__name", "runtimeConfig", "extensions", "extensionConfiguration", "getAwsRegionExtensionConfiguration", "getDefaultExtensionConfiguration", "getHttpHandlerExtensionConfiguration", "getHttpAuthExtensionConfiguration", "extension", "resolveAwsRegionExtensionConfiguration", "resolveDefaultRuntimeConfig", "resolveHttpHandlerRuntimeConfig", "resolveHttpAuthRuntimeConfig", "SSOClient", "Client", "__name", "configuration", "_config_0", "getRuntimeConfig", "_config_1", "resolveClientEndpointParameters", "_config_2", "resolveUserAgentConfig", "_config_3", "resolveRetryConfig", "_config_4", "resolveRegionConfig", "_config_5", "_config_6", "resolveEndpointConfig", "_config_7", "resolveHttpAuthSchemeConfig", "_config_8", "resolveRuntimeExtensions", "getSchemaSerdePlugin", "getUserAgentPlugin", "getRetryPlugin", "getContentLengthPlugin", "getHostHeaderPlugin", "getLoggerPlugin", "getRecursionDetectionPlugin", "getHttpAuthSchemeEndpointRuleSetPlugin", "defaultSSOHttpAuthSchemeParametersProvider", "config", "DefaultIdentityProviderConfig", "getHttpSigningPlugin", "GetRoleCredentialsCommand", "Command", "commonParams", "cs", "config", "o", "getEndpointPlugin", "GetRoleCredentials$", "__name"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
|
|
2
|
+
import{a as Fe}from"./chunk-5KDKGKT5.js";import{a as ge}from"./chunk-RCPWAYJS.js";import{a as Ae}from"./chunk-LGEWB5OJ.js";import"./chunk-EZK2FCFC.js";import{B as te,C as re,D as oe,E as ne,F as se,G as ie,H as ae,I as ce,K as ue,M as me,Q as de,R as le,S as he,T as fe,U as Ee,V as Se,W as ve,X as _e,Y as xe,a as V,aa as Pe,b as q,c as L,d as j,da as Ie,e as B,ea as Ce,f as G,fa as Re,g as D,ga as ye,h as z,ha as Oe,ia as Te,j as K,ka as ke,la as De,ma as Ne,na as we,oa as He,p as ee,pa as be,qa as Ue,ra as $e,s as N,sa as Me,ta as Ve,ua as qe,va as Le,wa as je,xa as Be}from"./chunk-NYFG5H6N.js";import{a as pe,c as d}from"./chunk-IRALFVJ5.js";import"./chunk-MDLDTIXZ.js";import"./chunk-XXOXLF5U.js";import{b as X,c as Y,e as J,f as Z}from"./chunk-MHYJWYJC.js";import"./chunk-QBFMAZ73.js";import{d as Q,e as W}from"./chunk-BZDMPUOT.js";import"./chunk-NHK4IEJM.js";import"./chunk-7HH7JLQT.js";import"./chunk-IIV4KUZH.js";import{a as r}from"./chunk-K7I7SIAE.js";var Ge=r(async(e,t,o)=>({operation:G(t).operation,region:await D(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSigninHttpAuthSchemeParametersProvider");function Nt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:r((t,o)=>({signingProperties:{config:t,context:o}}),"propertiesExtractor")}}r(Nt,"createAwsAuthSigv4HttpAuthOption");function wt(e){return{schemeId:"smithy.api#noAuth"}}r(wt,"createSmithyApiNoAuthHttpAuthOption");var ze=r(e=>{let t=[];return e.operation==="CreateOAuth2Token"?t.push(wt(e)):t.push(Nt(e)),t},"defaultSigninHttpAuthSchemeProvider"),Ke=r(e=>{let t=de(e);return Object.assign(t,{authSchemePreference:D(e.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig");var Xe=r(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"}),"resolveClientEndpointParameters"),Qe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var ot="required";var i="argv";var We="isSet",g="booleanEquals",f="error",l="endpoint",u="tree",x="PartitionResult",w="stringEquals",Ye={[ot]:!0,default:!1,type:"boolean"},Je={[ot]:!1,type:"string"},Ze={ref:"Endpoint"},H={fn:g,[i]:[{ref:"UseFIPS"},!0]},b={fn:g,[i]:[{ref:"UseDualStack"},!0]},s={},U={fn:"getAttr",[i]:[{ref:x},"name"]},v={fn:g,[i]:[{ref:"UseFIPS"},!1]},_={fn:g,[i]:[{ref:"UseDualStack"},!1]},et={fn:"getAttr",[i]:[{ref:x},"supportsFIPS"]},tt={fn:g,[i]:[!0,{fn:"getAttr",[i]:[{ref:x},"supportsDualStack"]}]},rt=[{ref:"Region"}],Ht={version:"1.0",parameters:{UseDualStack:Ye,UseFIPS:Ye,Endpoint:Je,Region:Je},rules:[{conditions:[{fn:We,[i]:[Ze]}],rules:[{conditions:[H],error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{rules:[{conditions:[b],error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:Ze,properties:s,headers:s},type:l}],type:u}],type:u},{rules:[{conditions:[{fn:We,[i]:rt}],rules:[{conditions:[{fn:"aws.partition",[i]:rt,assign:x}],rules:[{conditions:[{fn:w,[i]:[U,"aws"]},v,_],endpoint:{url:"https://{Region}.signin.aws.amazon.com",properties:s,headers:s},type:l},{conditions:[{fn:w,[i]:[U,"aws-cn"]},v,_],endpoint:{url:"https://{Region}.signin.amazonaws.cn",properties:s,headers:s},type:l},{conditions:[{fn:w,[i]:[U,"aws-us-gov"]},v,_],endpoint:{url:"https://{Region}.signin.amazonaws-us-gov.com",properties:s,headers:s},type:l},{conditions:[H,b],rules:[{conditions:[{fn:g,[i]:[!0,et]},tt],rules:[{endpoint:{url:"https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:s,headers:s},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}],type:u},{conditions:[H,_],rules:[{conditions:[{fn:g,[i]:[et,!0]}],rules:[{endpoint:{url:"https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",properties:s,headers:s},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:f}],type:u},{conditions:[v,b],rules:[{conditions:[tt],rules:[{endpoint:{url:"https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:s,headers:s},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:f}],type:u},{endpoint:{url:"https://signin.{Region}.{PartitionResult#dnsSuffix}",properties:s,headers:s},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:f}],type:u}]},nt=Ht;var bt=new ne({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),st=r((e,t={})=>bt.get(e,()=>ie(nt,{endpointParams:e,logger:t.logger})),"defaultEndpointResolver");se.aws=ae;var m=class e extends fe{static{r(this,"SigninServiceException")}constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}};var A=class e extends m{static{r(this,"AccessDeniedException")}name="AccessDeniedException";$fault="client";error;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error}},P=class e extends m{static{r(this,"InternalServerException")}name="InternalServerException";$fault="server";error;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error}},I=class e extends m{static{r(this,"TooManyRequestsError")}name="TooManyRequestsError";$fault="client";error;constructor(t){super({name:"TooManyRequestsError",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error}},C=class e extends m{static{r(this,"ValidationException")}name="ValidationException";$fault="client";error;constructor(t){super({name:"ValidationException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error}};var Ut="AccessDeniedException",Ft="AccessToken",$t="CreateOAuth2Token",Mt="CreateOAuth2TokenRequest",Vt="CreateOAuth2TokenRequestBody",qt="CreateOAuth2TokenResponseBody",Lt="CreateOAuth2TokenResponse",jt="InternalServerException",Bt="RefreshToken",Gt="TooManyRequestsError",zt="ValidationException",it="accessKeyId",at="accessToken",F="client",pt="clientId",ct="codeVerifier",Kt="code",h="error",ut="expiresIn",mt="grantType",Xt="http",$="httpError",dt="idToken",a="jsonName",y="message",R="refreshToken",lt="redirectUri",Et="smithy.ts.sdk.synthetic.com.amazonaws.signin",ht="secretAccessKey",gt="sessionToken",Qt="server",Wt="tokenInput",Yt="tokenOutput",ft="tokenType",c="com.amazonaws.signin",St=N.for(Et),Jt=[-3,Et,"SigninServiceException",0,[],[]];St.registerError(Jt,m);var E=N.for(c),Zt=[-3,c,Ut,{[h]:F},[h,y],[0,0],2];E.registerError(Zt,A);var er=[-3,c,jt,{[h]:Qt,[$]:500},[h,y],[0,0],2];E.registerError(er,P);var tr=[-3,c,Gt,{[h]:F,[$]:429},[h,y],[0,0],2];E.registerError(tr,I);var rr=[-3,c,zt,{[h]:F,[$]:400},[h,y],[0,0],2];E.registerError(rr,C);var vt=[St,E],_t=[0,c,Bt,8,0],or=[3,c,Ft,8,[it,ht,gt],[[0,{[a]:it}],[0,{[a]:ht}],[0,{[a]:gt}]],3],nr=[3,c,Mt,0,[Wt],[[()=>sr,16]],1],sr=[3,c,Vt,0,[pt,mt,Kt,lt,ct,R],[[0,{[a]:pt}],[0,{[a]:mt}],0,[0,{[a]:lt}],[0,{[a]:ct}],[()=>_t,{[a]:R}]],2],ir=[3,c,Lt,0,[Yt],[[()=>ar,16]],1],ar=[3,c,qt,0,[at,ft,ut,R,dt],[[()=>or,{[a]:at}],[0,{[a]:ft}],[1,{[a]:ut}],[()=>_t,{[a]:R}],[0,{[a]:dt}]],4],xt=[9,c,$t,{[Xt]:["POST","/v1/token",200]},()=>nr,()=>ir];var At=r(e=>({apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??X,base64Encoder:e?.base64Encoder??Y,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??st,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ze,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:r(t=>t.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new ue},{schemeId:"smithy.api#noAuth",identityProvider:r(t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new re}],logger:e?.logger??new xe,protocol:e?.protocol??Ae,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:vt,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??pe,utf8Decoder:e?.utf8Decoder??Q,utf8Encoder:e?.utf8Encoder??W}),"getRuntimeConfig");var Pt=r(e=>{Se(process.version);let t=Le(e),o=r(()=>t().then(Ee),"defaultConfigProvider"),p=At(e);ce(process.version);let n={profile:e?.profile,logger:p.logger};return{...p,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??d(me,n),bodyLengthChecker:e?.bodyLengthChecker??qe,defaultUserAgentProvider:e?.defaultUserAgentProvider??$e({serviceId:p.serviceId,clientVersion:Fe.version}),maxAttempts:e?.maxAttempts??d(we,e),region:e?.region??d(Re,{...ye,...n}),requestHandler:J.create(e?.requestHandler??o),retryMode:e?.retryMode??d({...be,default:r(async()=>(await o()).retryMode||Ne,"default")},e),sha256:e?.sha256??Ve.bind(null,"sha256"),streamCollector:e?.streamCollector??Z,useDualstackEndpoint:e?.useDualstackEndpoint??d(Ie,n),useFipsEndpoint:e?.useFipsEndpoint??d(Ce,n),userAgentAppId:e?.userAgentAppId??d(Me,n)}},"getRuntimeConfig");var It=r(e=>{let t=e.httpAuthSchemes,o=e.httpAuthSchemeProvider,p=e.credentials;return{setHttpAuthScheme(n){let S=t.findIndex(k=>k.schemeId===n.schemeId);S===-1?t.push(n):t.splice(S,1,n)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(n){o=n},httpAuthSchemeProvider(){return o},setCredentials(n){p=n},credentials(){return p}}},"getHttpAuthExtensionConfiguration"),Ct=r(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),"resolveHttpAuthRuntimeConfig");var Rt=r((e,t)=>{let o=Object.assign(je(e),ve(e),V(e),It(e));return t.forEach(p=>p.configure(o)),Object.assign(e,Be(o),_e(o),q(o),Ct(o))},"resolveRuntimeExtensions");var O=class extends le{static{r(this,"SigninClient")}config;constructor(...[t]){let o=Pt(t||{});super(o),this.initConfig=o;let p=Xe(o),n=oe(p),S=He(n),k=Oe(S),yt=k,Ot=De(yt),Tt=Ke(Ot),kt=Rt(Tt,t?.extensions||[]);this.config=kt,this.middlewareStack.use(ee(this.config)),this.middlewareStack.use(Pe(this.config)),this.middlewareStack.use(Ue(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(L(this.config)),this.middlewareStack.use(j(this.config)),this.middlewareStack.use(B(this.config)),this.middlewareStack.use(z(this.config,{httpAuthSchemeParametersProvider:Ge,identityProviderConfigProvider:r(async Dt=>new te({"aws.auth#sigv4":Dt.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(K(this.config))}destroy(){super.destroy()}};var T=class extends he.classBuilder().ep(Qe).m(function(t,o,p,n){return[ke(p,t.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(xt).build(){static{r(this,"CreateOAuth2TokenCommand")}};var pr={CreateOAuth2TokenCommand:T},M=class extends O{static{r(this,"Signin")}};ge(pr,M);var Lo={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"};export{he as $Command,A as AccessDeniedException,Zt as AccessDeniedException$,or as AccessToken$,xt as CreateOAuth2Token$,T as CreateOAuth2TokenCommand,nr as CreateOAuth2TokenRequest$,sr as CreateOAuth2TokenRequestBody$,ir as CreateOAuth2TokenResponse$,ar as CreateOAuth2TokenResponseBody$,P as InternalServerException,er as InternalServerException$,Lo as OAuth2ErrorCode,M as Signin,O as SigninClient,m as SigninServiceException,Jt as SigninServiceException$,I as TooManyRequestsError,tr as TooManyRequestsError$,C as ValidationException,rr as ValidationException$,le as __Client,vt as errorTypeRegistries};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js"],
|
|
4
|
+
"sourcesContent": ["import { resolveAwsSdkSigV4Config } from \"@aws-sdk/core\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/util-middleware\";\nexport const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: (await normalizeProvider(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"signin\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSigninHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateOAuth2Token\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n", "export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"signin\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n", "const u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst 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\" }];\nconst _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 }] };\nexport const ruleSet = _data;\n", "import { awsEndpointFunctions } from \"@aws-sdk/util-endpoints\";\nimport { customEndpointFunctions, EndpointCache, resolveEndpoint } from \"@smithy/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n", "import { ServiceException as __ServiceException, } from \"@smithy/smithy-client\";\nexport { __ServiceException };\nexport class SigninServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SigninServiceException.prototype);\n }\n}\n", "import { SigninServiceException as __BaseException } from \"./SigninServiceException\";\nexport class AccessDeniedException extends __BaseException {\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n }\n}\nexport class InternalServerException extends __BaseException {\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n }\n}\nexport class TooManyRequestsError extends __BaseException {\n name = \"TooManyRequestsError\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"TooManyRequestsError\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsError.prototype);\n this.error = opts.error;\n }\n}\nexport class ValidationException extends __BaseException {\n name = \"ValidationException\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ValidationException.prototype);\n this.error = opts.error;\n }\n}\n", "const _ADE = \"AccessDeniedException\";\nconst _AT = \"AccessToken\";\nconst _COAT = \"CreateOAuth2Token\";\nconst _COATR = \"CreateOAuth2TokenRequest\";\nconst _COATRB = \"CreateOAuth2TokenRequestBody\";\nconst _COATRBr = \"CreateOAuth2TokenResponseBody\";\nconst _COATRr = \"CreateOAuth2TokenResponse\";\nconst _ISE = \"InternalServerException\";\nconst _RT = \"RefreshToken\";\nconst _TMRE = \"TooManyRequestsError\";\nconst _VE = \"ValidationException\";\nconst _aKI = \"accessKeyId\";\nconst _aT = \"accessToken\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _gT = \"grantType\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _jN = \"jsonName\";\nconst _m = \"message\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.signin\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _se = \"server\";\nconst _tI = \"tokenInput\";\nconst _tO = \"tokenOutput\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.signin\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, InternalServerException, TooManyRequestsError, ValidationException, } from \"../models/errors\";\nimport { SigninServiceException } from \"../models/SigninServiceException\";\nconst _s_registry = TypeRegistry.for(_s);\nexport var SigninServiceException$ = [-3, _s, \"SigninServiceException\", 0, [], []];\n_s_registry.registerError(SigninServiceException$, SigninServiceException);\nconst n0_registry = TypeRegistry.for(n0);\nexport var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2];\nn0_registry.registerError(TooManyRequestsError$, TooManyRequestsError);\nexport var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2];\nn0_registry.registerError(ValidationException$, ValidationException);\nexport const errorTypeRegistries = [_s_registry, n0_registry];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var AccessToken$ = [\n 3,\n n0,\n _AT,\n 8,\n [_aKI, _sAK, _sT],\n [\n [0, { [_jN]: _aKI }],\n [0, { [_jN]: _sAK }],\n [0, { [_jN]: _sT }],\n ],\n 3,\n];\nexport var CreateOAuth2TokenRequest$ = [\n 3,\n n0,\n _COATR,\n 0,\n [_tI],\n [[() => CreateOAuth2TokenRequestBody$, 16]],\n 1,\n];\nexport var CreateOAuth2TokenRequestBody$ = [\n 3,\n n0,\n _COATRB,\n 0,\n [_cI, _gT, _co, _rU, _cV, _rT],\n [\n [0, { [_jN]: _cI }],\n [0, { [_jN]: _gT }],\n 0,\n [0, { [_jN]: _rU }],\n [0, { [_jN]: _cV }],\n [() => RefreshToken, { [_jN]: _rT }],\n ],\n 2,\n];\nexport var CreateOAuth2TokenResponse$ = [\n 3,\n n0,\n _COATRr,\n 0,\n [_tO],\n [[() => CreateOAuth2TokenResponseBody$, 16]],\n 1,\n];\nexport var CreateOAuth2TokenResponseBody$ = [\n 3,\n n0,\n _COATRBr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [\n [() => AccessToken$, { [_jN]: _aT }],\n [0, { [_jN]: _tT }],\n [1, { [_jN]: _eI }],\n [() => RefreshToken, { [_jN]: _rT }],\n [0, { [_jN]: _iT }],\n ],\n 4,\n];\nexport var CreateOAuth2Token$ = [\n 9,\n n0,\n _COAT,\n { [_h]: [\"POST\", \"/v1/token\", 200] },\n () => CreateOAuth2TokenRequest$,\n () => CreateOAuth2TokenResponse$,\n];\n", "import { AwsSdkSigV4Signer } from \"@aws-sdk/core\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { NoOpLogger } from \"@smithy/smithy-client\";\nimport { parseUrl } from \"@smithy/url-parser\";\nimport { fromBase64, toBase64 } from \"@smithy/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@smithy/util-utf8\";\nimport { defaultSigninHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2023-01-01\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.signin\",\n errorTypeRegistries,\n version: \"2023-01-01\",\n serviceTarget: \"Signin\",\n },\n serviceId: config?.serviceId ?? \"Signin\",\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n", "import packageInfo from \"../../../package.json\";\nimport { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core\";\nimport { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from \"@aws-sdk/util-user-agent-node\";\nimport { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from \"@smithy/config-resolver\";\nimport { Hash } from \"@smithy/hash-node\";\nimport { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from \"@smithy/middleware-retry\";\nimport { loadConfig as loadNodeConfig } from \"@smithy/node-config-provider\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/smithy-client\";\nimport { calculateBodyLength } from \"@smithy/util-body-length-node\";\nimport { resolveDefaultsModeConfig } from \"@smithy/util-defaults-mode-node\";\nimport { DEFAULT_RETRY_MODE } from \"@smithy/util-retry\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n", "export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n", "import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from \"@aws-sdk/region-config-resolver\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/protocol-http\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/smithy-client\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n", "import { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { resolveRegionConfig } from \"@smithy/config-resolver\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { getContentLengthPlugin } from \"@smithy/middleware-content-length\";\nimport { resolveEndpointConfig, } from \"@smithy/middleware-endpoint\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/middleware-retry\";\nimport { Client as __Client, } from \"@smithy/smithy-client\";\nimport { defaultSigninHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SigninClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n", "import { getEndpointPlugin } from \"@smithy/middleware-endpoint\";\nimport { Command as $Command } from \"@smithy/smithy-client\";\nimport { commonParams } from \"../endpoint/EndpointParameters\";\nimport { CreateOAuth2Token$ } from \"../schemas/schemas_0\";\nexport { $Command };\nexport class CreateOAuth2TokenCommand extends $Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"Signin\", \"CreateOAuth2Token\", {})\n .n(\"SigninClient\", \"CreateOAuth2TokenCommand\")\n .sc(CreateOAuth2Token$)\n .build() {\n}\n", "import { createAggregatedClient } from \"@smithy/smithy-client\";\nimport { CreateOAuth2TokenCommand, } from \"./commands/CreateOAuth2TokenCommand\";\nimport { SigninClient } from \"./SigninClient\";\nconst commands = {\n CreateOAuth2TokenCommand,\n};\nexport class Signin extends SigninClient {\n}\ncreateAggregatedClient(commands, Signin);\n", "export const OAuth2ErrorCode = {\n AUTHCODE_EXPIRED: \"AUTHCODE_EXPIRED\",\n INSUFFICIENT_PERMISSIONS: \"INSUFFICIENT_PERMISSIONS\",\n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AE,CAdb,MAca,CAAAC,EAAA,iCACb,ECZA,IAAMC,GAAW,CACb,yBAAAC,CACJ,EACaC,EAAN,cAAqBC,CAAa,CANzC,MAMyC,CAAAC,EAAA,eACzC,EACAC,GAAuBL,GAAUE,CAAM,ECRhC,IAAMI,GAAkB,CAC3B,iBAAkB,mBAClB,yBAA0B,2BAC1B,gBAAiB,kBACjB,aAAc,eACd,cAAe,gBACf,yBAA0B,0BAC9B",
|
|
6
|
+
"names": ["defaultSigninHttpAuthSchemeParametersProvider", "__name", "config", "context", "input", "getSmithyContext", "normalizeProvider", "createAwsAuthSigv4HttpAuthOption", "authParameters", "createSmithyApiNoAuthHttpAuthOption", "defaultSigninHttpAuthSchemeProvider", "options", "resolveHttpAuthSchemeConfig", "config_0", "resolveAwsSdkSigV4Config", "resolveClientEndpointParameters", "__name", "options", "commonParams", "u", "w", "b", "c", "d", "e", "f", "g", "h", "i", "u", "j", "k", "l", "w", "m", "n", "o", "p", "q", "r", "s", "t", "_data", "ruleSet", "cache", "EndpointCache", "defaultEndpointResolver", "__name", "endpointParams", "context", "resolveEndpoint", "ruleSet", "customEndpointFunctions", "awsEndpointFunctions", "SigninServiceException", "_SigninServiceException", "ServiceException", "__name", "options", "AccessDeniedException", "_AccessDeniedException", "SigninServiceException", "__name", "opts", "InternalServerException", "_InternalServerException", "TooManyRequestsError", "_TooManyRequestsError", "ValidationException", "_ValidationException", "_ADE", "_AT", "_COAT", "_COATR", "_COATRB", "_COATRBr", "_COATRr", "_ISE", "_RT", "_TMRE", "_VE", "_aKI", "_aT", "_c", "_cI", "_cV", "_co", "_e", "_eI", "_gT", "_h", "_hE", "_iT", "_jN", "_m", "_rT", "_rU", "_s", "_sAK", "_sT", "_se", "_tI", "_tO", "_tT", "n0", "_s_registry", "TypeRegistry", "SigninServiceException$", "SigninServiceException", "n0_registry", "AccessDeniedException$", "AccessDeniedException", "InternalServerException$", "InternalServerException", "TooManyRequestsError$", "TooManyRequestsError", "ValidationException$", "ValidationException", "errorTypeRegistries", "RefreshToken", "AccessToken$", "CreateOAuth2TokenRequest$", "CreateOAuth2TokenRequestBody$", "CreateOAuth2TokenResponse$", "CreateOAuth2TokenResponseBody$", "CreateOAuth2Token$", "getRuntimeConfig", "__name", "config", "fromBase64", "toBase64", "defaultEndpointResolver", "defaultSigninHttpAuthSchemeProvider", "ipc", "AwsSdkSigV4Signer", "NoAuthSigner", "NoOpLogger", "AwsRestJsonProtocol", "errorTypeRegistries", "parseUrl", "fromUtf8", "toUtf8", "getRuntimeConfig", "__name", "config", "emitWarningIfUnsupportedVersion", "defaultsMode", "resolveDefaultsModeConfig", "defaultConfigProvider", "loadConfigsForDefaultMode", "clientSharedValues", "loaderConfig", "loadConfig", "NODE_AUTH_SCHEME_PREFERENCE_OPTIONS", "calculateBodyLength", "createDefaultUserAgentProvider", "package_default", "NODE_MAX_ATTEMPT_CONFIG_OPTIONS", "NODE_REGION_CONFIG_OPTIONS", "NODE_REGION_CONFIG_FILE_OPTIONS", "NodeHttpHandler", "NODE_RETRY_MODE_CONFIG_OPTIONS", "DEFAULT_RETRY_MODE", "Hash", "streamCollector", "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS", "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS", "NODE_APP_ID_CONFIG_OPTIONS", "getHttpAuthExtensionConfiguration", "__name", "runtimeConfig", "_httpAuthSchemes", "_httpAuthSchemeProvider", "_credentials", "httpAuthScheme", "index", "scheme", "httpAuthSchemeProvider", "credentials", "resolveHttpAuthRuntimeConfig", "config", "resolveRuntimeExtensions", "__name", "runtimeConfig", "extensions", "extensionConfiguration", "getAwsRegionExtensionConfiguration", "getDefaultExtensionConfiguration", "getHttpHandlerExtensionConfiguration", "getHttpAuthExtensionConfiguration", "extension", "resolveAwsRegionExtensionConfiguration", "resolveDefaultRuntimeConfig", "resolveHttpHandlerRuntimeConfig", "resolveHttpAuthRuntimeConfig", "SigninClient", "Client", "__name", "configuration", "_config_0", "getRuntimeConfig", "_config_1", "resolveClientEndpointParameters", "_config_2", "resolveUserAgentConfig", "_config_3", "resolveRetryConfig", "_config_4", "resolveRegionConfig", "_config_5", "_config_6", "resolveEndpointConfig", "_config_7", "resolveHttpAuthSchemeConfig", "_config_8", "resolveRuntimeExtensions", "getSchemaSerdePlugin", "getUserAgentPlugin", "getRetryPlugin", "getContentLengthPlugin", "getHostHeaderPlugin", "getLoggerPlugin", "getRecursionDetectionPlugin", "getHttpAuthSchemeEndpointRuleSetPlugin", "defaultSigninHttpAuthSchemeParametersProvider", "config", "DefaultIdentityProviderConfig", "getHttpSigningPlugin", "CreateOAuth2TokenCommand", "Command", "commonParams", "cs", "config", "o", "getEndpointPlugin", "CreateOAuth2Token$", "__name", "commands", "CreateOAuth2TokenCommand", "Signin", "SigninClient", "__name", "createAggregatedClient", "OAuth2ErrorCode"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
|
|
2
|
+
import{a as He}from"./chunk-5KDKGKT5.js";import{a as fe}from"./chunk-RCPWAYJS.js";import{a as Ie}from"./chunk-LGEWB5OJ.js";import"./chunk-EZK2FCFC.js";import{B as te,C as re,D as oe,E as ne,F as ie,G as se,H as pe,I as ae,K as de,M as ue,Q as le,R as me,S as he,T as ge,U as Ee,V as xe,W as Se,X as _e,Y as ve,a as G,aa as Pe,b as j,c as K,d as V,da as Ce,e as q,ea as Oe,f as z,fa as ye,g as $,ga as Ae,h as L,ha as De,ia as Te,j as B,ka as Re,la as ke,ma as we,na as be,oa as Ne,p as ee,pa as $e,qa as Ue,ra as Fe,s as U,sa as Me,ta as Ge,ua as je,va as Ke,wa as Ve,xa as qe}from"./chunk-NYFG5H6N.js";import{a as ce,c as g}from"./chunk-IRALFVJ5.js";import"./chunk-MDLDTIXZ.js";import"./chunk-XXOXLF5U.js";import{b as Y,c as X,e as Q,f as Z}from"./chunk-MHYJWYJC.js";import"./chunk-QBFMAZ73.js";import{d as W,e as J}from"./chunk-BZDMPUOT.js";import"./chunk-NHK4IEJM.js";import"./chunk-7HH7JLQT.js";import"./chunk-IIV4KUZH.js";import{a as r}from"./chunk-K7I7SIAE.js";var ze=r(async(e,t,i)=>({operation:z(t).operation,region:await $(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSSOOIDCHttpAuthSchemeParametersProvider");function Dt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:r((t,i)=>({signingProperties:{config:t,context:i}}),"propertiesExtractor")}}r(Dt,"createAwsAuthSigv4HttpAuthOption");function Tt(e){return{schemeId:"smithy.api#noAuth"}}r(Tt,"createSmithyApiNoAuthHttpAuthOption");var Le=r(e=>{let t=[];return e.operation==="CreateToken"?t.push(Tt(e)):t.push(Dt(e)),t},"defaultSSOOIDCHttpAuthSchemeProvider"),Be=r(e=>{let t=le(e);return Object.assign(t,{authSchemePreference:$(e.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig");var Ye=r(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}),"resolveClientEndpointParameters"),We={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var it="required";var d="argv";var Je="isSet",S="booleanEquals",E="error",x="endpoint",f="tree",H="PartitionResult",F="getAttr",Xe={[it]:!1,type:"string"},Qe={[it]:!0,default:!1,type:"boolean"},Ze={ref:"Endpoint"},st={fn:S,[d]:[{ref:"UseFIPS"},!0]},pt={fn:S,[d]:[{ref:"UseDualStack"},!0]},a={},et={fn:F,[d]:[{ref:H},"supportsFIPS"]},ct={ref:H},tt={fn:S,[d]:[!0,{fn:F,[d]:[ct,"supportsDualStack"]}]},rt=[st],ot=[pt],nt=[{ref:"Region"}],Rt={version:"1.0",parameters:{Region:Xe,UseDualStack:Qe,UseFIPS:Qe,Endpoint:Xe},rules:[{conditions:[{fn:Je,[d]:[Ze]}],rules:[{conditions:rt,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:E},{conditions:ot,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:E},{endpoint:{url:Ze,properties:a,headers:a},type:x}],type:f},{conditions:[{fn:Je,[d]:nt}],rules:[{conditions:[{fn:"aws.partition",[d]:nt,assign:H}],rules:[{conditions:[st,pt],rules:[{conditions:[{fn:S,[d]:[!0,et]},tt],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:a,headers:a},type:x}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:E}],type:f},{conditions:rt,rules:[{conditions:[{fn:S,[d]:[et,!0]}],rules:[{conditions:[{fn:"stringEquals",[d]:[{fn:F,[d]:[ct,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:a,headers:a},type:x},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:a,headers:a},type:x}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:E}],type:f},{conditions:ot,rules:[{conditions:[tt],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:a,headers:a},type:x}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:E}],type:f},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:a,headers:a},type:x}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:E}]},at=Rt;var kt=new ne({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),dt=r((e,t={})=>kt.get(e,()=>se(at,{endpointParams:e,logger:t.logger})),"defaultEndpointResolver");ie.aws=pe;var s=class e extends ge{static{r(this,"SSOOIDCServiceException")}constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}};var v=class e extends s{static{r(this,"AccessDeniedException")}name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description}},I=class e extends s{static{r(this,"AuthorizationPendingException")}name="AuthorizationPendingException";$fault="client";error;error_description;constructor(t){super({name:"AuthorizationPendingException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},P=class e extends s{static{r(this,"ExpiredTokenException")}name="ExpiredTokenException";$fault="client";error;error_description;constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},C=class e extends s{static{r(this,"InternalServerException")}name="InternalServerException";$fault="server";error;error_description;constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},O=class e extends s{static{r(this,"InvalidClientException")}name="InvalidClientException";$fault="client";error;error_description;constructor(t){super({name:"InvalidClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},y=class e extends s{static{r(this,"InvalidGrantException")}name="InvalidGrantException";$fault="client";error;error_description;constructor(t){super({name:"InvalidGrantException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},A=class e extends s{static{r(this,"InvalidRequestException")}name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(t){super({name:"InvalidRequestException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.reason=t.reason,this.error_description=t.error_description}},D=class e extends s{static{r(this,"InvalidScopeException")}name="InvalidScopeException";$fault="client";error;error_description;constructor(t){super({name:"InvalidScopeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},T=class e extends s{static{r(this,"SlowDownException")}name="SlowDownException";$fault="client";error;error_description;constructor(t){super({name:"SlowDownException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},R=class e extends s{static{r(this,"UnauthorizedClientException")}name="UnauthorizedClientException";$fault="client";error;error_description;constructor(t){super({name:"UnauthorizedClientException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}},k=class e extends s{static{r(this,"UnsupportedGrantTypeException")}name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(t){super({name:"UnsupportedGrantTypeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype),this.error=t.error,this.error_description=t.error_description}};var wt="AccessDeniedException",bt="AuthorizationPendingException",Nt="AccessToken",$t="ClientSecret",Ut="CreateToken",Ht="CreateTokenRequest",Ft="CreateTokenResponse",Mt="CodeVerifier",Gt="ExpiredTokenException",jt="InvalidClientException",Kt="InvalidGrantException",Vt="InvalidRequestException",qt="InternalServerException",zt="InvalidScopeException",Lt="IdToken",Bt="RefreshToken",Yt="SlowDownException",Wt="UnauthorizedClientException",Jt="UnsupportedGrantTypeException",Xt="accessToken",h="client",Qt="clientId",Zt="clientSecret",er="codeVerifier",tr="code",rr="deviceCode",o="error",or="expiresIn",l="error_description",nr="grantType",ir="http",m="httpError",sr="idToken",ut="reason",lt="refreshToken",pr="redirectUri",mt="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",cr="scope",ar="server",dr="tokenType",n="com.amazonaws.ssooidc",ht=U.for(mt),ur=[-3,mt,"SSOOIDCServiceException",0,[],[]];ht.registerError(ur,s);var u=U.for(n),lr=[-3,n,wt,{[o]:h,[m]:400},[o,ut,l],[0,0,0]];u.registerError(lr,v);var mr=[-3,n,bt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(mr,I);var hr=[-3,n,Gt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(hr,P);var fr=[-3,n,qt,{[o]:ar,[m]:500},[o,l],[0,0]];u.registerError(fr,C);var gr=[-3,n,jt,{[o]:h,[m]:401},[o,l],[0,0]];u.registerError(gr,O);var Er=[-3,n,Kt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(Er,y);var xr=[-3,n,Vt,{[o]:h,[m]:400},[o,ut,l],[0,0,0]];u.registerError(xr,A);var Sr=[-3,n,zt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(Sr,D);var _r=[-3,n,Yt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(_r,T);var vr=[-3,n,Wt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(vr,R);var Ir=[-3,n,Jt,{[o]:h,[m]:400},[o,l],[0,0]];u.registerError(Ir,k);var ft=[ht,u],Pr=[0,n,Nt,8,0],Cr=[0,n,$t,8,0],Or=[0,n,Mt,8,0],yr=[0,n,Lt,8,0],gt=[0,n,Bt,8,0],Ar=[3,n,Ht,0,[Qt,Zt,nr,rr,tr,lt,cr,pr,er],[0,[()=>Cr,0],0,0,0,[()=>gt,0],64,0,[()=>Or,0]],3],Dr=[3,n,Ft,0,[Xt,dr,or,lt,sr],[[()=>Pr,0],0,1,[()=>gt,0],[()=>yr,0]]];var Et=[9,n,Ut,{[ir]:["POST","/token",200]},()=>Ar,()=>Dr];var xt=r(e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Y,base64Encoder:e?.base64Encoder??X,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??dt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Le,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:r(t=>t.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new de},{schemeId:"smithy.api#noAuth",identityProvider:r(t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new re}],logger:e?.logger??new ve,protocol:e?.protocol??Ie,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:ft,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??ce,utf8Decoder:e?.utf8Decoder??W,utf8Encoder:e?.utf8Encoder??J}),"getRuntimeConfig");var St=r(e=>{xe(process.version);let t=Ke(e),i=r(()=>t().then(Ee),"defaultConfigProvider"),c=xt(e);ae(process.version);let p={profile:e?.profile,logger:c.logger};return{...c,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??g(ue,p),bodyLengthChecker:e?.bodyLengthChecker??je,defaultUserAgentProvider:e?.defaultUserAgentProvider??Fe({serviceId:c.serviceId,clientVersion:He.version}),maxAttempts:e?.maxAttempts??g(be,e),region:e?.region??g(ye,{...Ae,...p}),requestHandler:Q.create(e?.requestHandler??i),retryMode:e?.retryMode??g({...$e,default:r(async()=>(await i()).retryMode||we,"default")},e),sha256:e?.sha256??Ge.bind(null,"sha256"),streamCollector:e?.streamCollector??Z,useDualstackEndpoint:e?.useDualstackEndpoint??g(Ce,p),useFipsEndpoint:e?.useFipsEndpoint??g(Oe,p),userAgentAppId:e?.userAgentAppId??g(Me,p)}},"getRuntimeConfig");var _t=r(e=>{let t=e.httpAuthSchemes,i=e.httpAuthSchemeProvider,c=e.credentials;return{setHttpAuthScheme(p){let _=t.findIndex(N=>N.schemeId===p.schemeId);_===-1?t.push(p):t.splice(_,1,p)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(p){i=p},httpAuthSchemeProvider(){return i},setCredentials(p){c=p},credentials(){return c}}},"getHttpAuthExtensionConfiguration"),vt=r(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),"resolveHttpAuthRuntimeConfig");var It=r((e,t)=>{let i=Object.assign(Ve(e),Se(e),G(e),_t(e));return t.forEach(c=>c.configure(i)),Object.assign(e,qe(i),_e(i),j(i),vt(i))},"resolveRuntimeExtensions");var w=class extends me{static{r(this,"SSOOIDCClient")}config;constructor(...[t]){let i=St(t||{});super(i),this.initConfig=i;let c=Ye(i),p=oe(c),_=Ne(p),N=De(_),Pt=N,Ct=ke(Pt),Ot=Be(Ct),yt=It(Ot,t?.extensions||[]);this.config=yt,this.middlewareStack.use(ee(this.config)),this.middlewareStack.use(Pe(this.config)),this.middlewareStack.use(Ue(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(K(this.config)),this.middlewareStack.use(V(this.config)),this.middlewareStack.use(q(this.config)),this.middlewareStack.use(L(this.config,{httpAuthSchemeParametersProvider:ze,identityProviderConfigProvider:r(async At=>new te({"aws.auth#sigv4":At.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(B(this.config))}destroy(){super.destroy()}};var b=class extends he.classBuilder().ep(We).m(function(t,i,c,p){return[Re(c,t.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(Et).build(){static{r(this,"CreateTokenCommand")}};var Tr={CreateTokenCommand:b},M=class extends w{static{r(this,"SSOOIDC")}};fe(Tr,M);var dn={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},un={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};export{he as $Command,v as AccessDeniedException,lr as AccessDeniedException$,dn as AccessDeniedExceptionReason,I as AuthorizationPendingException,mr as AuthorizationPendingException$,Et as CreateToken$,b as CreateTokenCommand,Ar as CreateTokenRequest$,Dr as CreateTokenResponse$,P as ExpiredTokenException,hr as ExpiredTokenException$,C as InternalServerException,fr as InternalServerException$,O as InvalidClientException,gr as InvalidClientException$,y as InvalidGrantException,Er as InvalidGrantException$,A as InvalidRequestException,xr as InvalidRequestException$,un as InvalidRequestExceptionReason,D as InvalidScopeException,Sr as InvalidScopeException$,M as SSOOIDC,w as SSOOIDCClient,s as SSOOIDCServiceException,ur as SSOOIDCServiceException$,T as SlowDownException,_r as SlowDownException$,R as UnauthorizedClientException,vr as UnauthorizedClientException$,k as UnsupportedGrantTypeException,Ir as UnsupportedGrantTypeException$,me as __Client,ft as errorTypeRegistries};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.990.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js"],
|
|
4
|
+
"sourcesContent": ["import { resolveAwsSdkSigV4Config } from \"@aws-sdk/core\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/util-middleware\";\nexport const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: (await normalizeProvider(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n", "export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n", "const u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"string\" }, j = { [u]: true, \"default\": false, \"type\": \"boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://oidc-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: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://oidc.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://oidc-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: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://oidc.{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://oidc.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexport const ruleSet = _data;\n", "import { awsEndpointFunctions } from \"@aws-sdk/util-endpoints\";\nimport { customEndpointFunctions, EndpointCache, resolveEndpoint } from \"@smithy/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n", "import { ServiceException as __ServiceException, } from \"@smithy/smithy-client\";\nexport { __ServiceException };\nexport class SSOOIDCServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);\n }\n}\n", "import { SSOOIDCServiceException as __BaseException } from \"./SSOOIDCServiceException\";\nexport class AccessDeniedException extends __BaseException {\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class AuthorizationPendingException extends __BaseException {\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class ExpiredTokenException extends __BaseException {\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InternalServerException extends __BaseException {\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidClientException extends __BaseException {\n name = \"InvalidClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidGrantException extends __BaseException {\n name = \"InvalidGrantException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidRequestException extends __BaseException {\n name = \"InvalidRequestException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidScopeException extends __BaseException {\n name = \"InvalidScopeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class SlowDownException extends __BaseException {\n name = \"SlowDownException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnauthorizedClientException extends __BaseException {\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnsupportedGrantTypeException extends __BaseException {\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\n", "const _ADE = \"AccessDeniedException\";\nconst _APE = \"AuthorizationPendingException\";\nconst _AT = \"AccessToken\";\nconst _CS = \"ClientSecret\";\nconst _CT = \"CreateToken\";\nconst _CTR = \"CreateTokenRequest\";\nconst _CTRr = \"CreateTokenResponse\";\nconst _CV = \"CodeVerifier\";\nconst _ETE = \"ExpiredTokenException\";\nconst _ICE = \"InvalidClientException\";\nconst _IGE = \"InvalidGrantException\";\nconst _IRE = \"InvalidRequestException\";\nconst _ISE = \"InternalServerException\";\nconst _ISEn = \"InvalidScopeException\";\nconst _IT = \"IdToken\";\nconst _RT = \"RefreshToken\";\nconst _SDE = \"SlowDownException\";\nconst _UCE = \"UnauthorizedClientException\";\nconst _UGTE = \"UnsupportedGrantTypeException\";\nconst _aT = \"accessToken\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cS = \"clientSecret\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _dC = \"deviceCode\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _ed = \"error_description\";\nconst _gT = \"grantType\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _r = \"reason\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc\";\nconst _sc = \"scope\";\nconst _se = \"server\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.ssooidc\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from \"../models/errors\";\nimport { SSOOIDCServiceException } from \"../models/SSOOIDCServiceException\";\nconst _s_registry = TypeRegistry.for(_s);\nexport var SSOOIDCServiceException$ = [-3, _s, \"SSOOIDCServiceException\", 0, [], []];\n_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);\nconst n0_registry = TypeRegistry.for(n0);\nexport var AccessDeniedException$ = [\n -3,\n n0,\n _ADE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0],\n];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var AuthorizationPendingException$ = [\n -3,\n n0,\n _APE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nn0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);\nexport var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);\nexport var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(InvalidClientException$, InvalidClientException);\nexport var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(InvalidGrantException$, InvalidGrantException);\nexport var InvalidRequestException$ = [\n -3,\n n0,\n _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0],\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(InvalidScopeException$, InvalidScopeException);\nexport var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nn0_registry.registerError(SlowDownException$, SlowDownException);\nexport var UnauthorizedClientException$ = [\n -3,\n n0,\n _UCE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nn0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);\nexport var UnsupportedGrantTypeException$ = [\n -3,\n n0,\n _UGTE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nn0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);\nexport const errorTypeRegistries = [_s_registry, n0_registry];\nvar AccessToken = [0, n0, _AT, 8, 0];\nvar ClientSecret = [0, n0, _CS, 8, 0];\nvar CodeVerifier = [0, n0, _CV, 8, 0];\nvar IdToken = [0, n0, _IT, 8, 0];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var CreateTokenRequest$ = [\n 3,\n n0,\n _CTR,\n 0,\n [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],\n [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],\n 3,\n];\nexport var CreateTokenResponse$ = [\n 3,\n n0,\n _CTRr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],\n];\nvar Scopes = 64 | 0;\nexport var CreateToken$ = [\n 9,\n n0,\n _CT,\n { [_h]: [\"POST\", \"/token\", 200] },\n () => CreateTokenRequest$,\n () => CreateTokenResponse$,\n];\n", "import { AwsSdkSigV4Signer } from \"@aws-sdk/core\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { NoOpLogger } from \"@smithy/smithy-client\";\nimport { parseUrl } from \"@smithy/url-parser\";\nimport { fromBase64, toBase64 } from \"@smithy/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@smithy/util-utf8\";\nimport { defaultSSOOIDCHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.ssooidc\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"AWSSSOOIDCService\",\n },\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n", "import packageInfo from \"../../../package.json\";\nimport { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core\";\nimport { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from \"@aws-sdk/util-user-agent-node\";\nimport { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from \"@smithy/config-resolver\";\nimport { Hash } from \"@smithy/hash-node\";\nimport { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from \"@smithy/middleware-retry\";\nimport { loadConfig as loadNodeConfig } from \"@smithy/node-config-provider\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/smithy-client\";\nimport { calculateBodyLength } from \"@smithy/util-body-length-node\";\nimport { resolveDefaultsModeConfig } from \"@smithy/util-defaults-mode-node\";\nimport { DEFAULT_RETRY_MODE } from \"@smithy/util-retry\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n", "export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n", "import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from \"@aws-sdk/region-config-resolver\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/protocol-http\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/smithy-client\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n", "import { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { resolveRegionConfig } from \"@smithy/config-resolver\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { getContentLengthPlugin } from \"@smithy/middleware-content-length\";\nimport { resolveEndpointConfig, } from \"@smithy/middleware-endpoint\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/middleware-retry\";\nimport { Client as __Client, } from \"@smithy/smithy-client\";\nimport { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOOIDCClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n", "import { getEndpointPlugin } from \"@smithy/middleware-endpoint\";\nimport { Command as $Command } from \"@smithy/smithy-client\";\nimport { commonParams } from \"../endpoint/EndpointParameters\";\nimport { CreateToken$ } from \"../schemas/schemas_0\";\nexport { $Command };\nexport class CreateTokenCommand extends $Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AWSSSOOIDCService\", \"CreateToken\", {})\n .n(\"SSOOIDCClient\", \"CreateTokenCommand\")\n .sc(CreateToken$)\n .build() {\n}\n", "import { createAggregatedClient } from \"@smithy/smithy-client\";\nimport { CreateTokenCommand } from \"./commands/CreateTokenCommand\";\nimport { SSOOIDCClient } from \"./SSOOIDCClient\";\nconst commands = {\n CreateTokenCommand,\n};\nexport class SSOOIDC extends SSOOIDCClient {\n}\ncreateAggregatedClient(commands, SSOOIDC);\n", "export const AccessDeniedExceptionReason = {\n KMS_ACCESS_DENIED: \"KMS_AccessDeniedException\",\n};\nexport const InvalidRequestExceptionReason = {\n KMS_DISABLED_KEY: \"KMS_DisabledException\",\n KMS_INVALID_KEY_USAGE: \"KMS_InvalidKeyUsageException\",\n KMS_INVALID_STATE: \"KMS_InvalidStateException\",\n KMS_KEY_NOT_FOUND: \"KMS_NotFoundException\",\n};\n"],
|
|
5
|
+
"mappings": ";u8BAEO,IAAMA,GAAiDC,EAAA,MAAOC,EAAQC,EAASC,KAC3E,CACH,UAAWC,EAAiBF,CAAO,EAAE,UACrC,OAAS,MAAMG,EAAkBJ,EAAO,MAAM,EAAE,IAC3C,IAAM,CACH,MAAM,IAAI,MAAM,yDAAyD,CAC7E,GAAG,CACX,GAP0D,kDAS9D,SAASK,GAAiCC,EAAgB,CACtD,MAAO,CACH,SAAU,iBACV,kBAAmB,CACf,KAAM,YACN,OAAQA,EAAe,MAC3B,EACA,oBAAqBP,EAAA,CAACC,EAAQC,KAAa,CACvC,kBAAmB,CACf,OAAAD,EACA,QAAAC,CACJ,CACJ,GALqB,sBAMzB,CACJ,CAdSF,EAAAM,GAAA,oCAeT,SAASE,GAAoCD,EAAgB,CACzD,MAAO,CACH,SAAU,mBACd,CACJ,CAJSP,EAAAQ,GAAA,uCAKF,IAAMC,GAAuCT,EAACO,GAAmB,CACpE,IAAMG,EAAU,CAAC,EACjB,OAAQH,EAAe,YACd,cACDG,EAAQ,KAAKF,GAAoCD,CAAc,CAAC,EAIhEG,EAAQ,KAAKJ,GAAiCC,CAAc,CAAC,EAG9DG,CACX,EAZoD,wCAavCC,GAA8BX,EAACC,GAAW,CACnD,IAAMW,EAAWC,GAAyBZ,CAAM,EAChD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AO,CAACC,GAAkBF,EAAQH,EAAQ,iCAAiC,CAAC,CAAC,CACjF,CAAC,EACI,EAAE,oBAAqB,cAAe,CAAC,CAAC,EACxC,EAAE,gBAAiB,oBAAoB,EACvC,GAAGM,EAAY,EACf,MAAM,CAAE,CAdb,MAca,CAAAC,EAAA,2BACb,ECZA,IAAMC,GAAW,CACb,mBAAAC,CACJ,EACaC,EAAN,cAAsBC,CAAc,CAN3C,MAM2C,CAAAC,EAAA,gBAC3C,EACAC,GAAuBL,GAAUE,CAAO,ECRjC,IAAMI,GAA8B,CACvC,kBAAmB,2BACvB,EACaC,GAAgC,CACzC,iBAAkB,wBAClB,sBAAuB,+BACvB,kBAAmB,4BACnB,kBAAmB,uBACvB",
|
|
6
|
+
"names": ["defaultSSOOIDCHttpAuthSchemeParametersProvider", "__name", "config", "context", "input", "getSmithyContext", "normalizeProvider", "createAwsAuthSigv4HttpAuthOption", "authParameters", "createSmithyApiNoAuthHttpAuthOption", "defaultSSOOIDCHttpAuthSchemeProvider", "options", "resolveHttpAuthSchemeConfig", "config_0", "resolveAwsSdkSigV4Config", "resolveClientEndpointParameters", "__name", "options", "commonParams", "u", "w", "b", "c", "d", "e", "g", "h", "i", "u", "j", "k", "l", "w", "m", "n", "o", "p", "q", "r", "s", "t", "_data", "ruleSet", "cache", "EndpointCache", "defaultEndpointResolver", "__name", "endpointParams", "context", "resolveEndpoint", "ruleSet", "customEndpointFunctions", "awsEndpointFunctions", "SSOOIDCServiceException", "_SSOOIDCServiceException", "ServiceException", "__name", "options", "AccessDeniedException", "_AccessDeniedException", "SSOOIDCServiceException", "__name", "opts", "AuthorizationPendingException", "_AuthorizationPendingException", "ExpiredTokenException", "_ExpiredTokenException", "InternalServerException", "_InternalServerException", "InvalidClientException", "_InvalidClientException", "InvalidGrantException", "_InvalidGrantException", "InvalidRequestException", "_InvalidRequestException", "InvalidScopeException", "_InvalidScopeException", "SlowDownException", "_SlowDownException", "UnauthorizedClientException", "_UnauthorizedClientException", "UnsupportedGrantTypeException", "_UnsupportedGrantTypeException", "_ADE", "_APE", "_AT", "_CS", "_CT", "_CTR", "_CTRr", "_CV", "_ETE", "_ICE", "_IGE", "_IRE", "_ISE", "_ISEn", "_IT", "_RT", "_SDE", "_UCE", "_UGTE", "_aT", "_c", "_cI", "_cS", "_cV", "_co", "_dC", "_e", "_eI", "_ed", "_gT", "_h", "_hE", "_iT", "_r", "_rT", "_rU", "_s", "_sc", "_se", "_tT", "n0", "_s_registry", "TypeRegistry", "SSOOIDCServiceException$", "SSOOIDCServiceException", "n0_registry", "AccessDeniedException$", "AccessDeniedException", "AuthorizationPendingException$", "AuthorizationPendingException", "ExpiredTokenException$", "ExpiredTokenException", "InternalServerException$", "InternalServerException", "InvalidClientException$", "InvalidClientException", "InvalidGrantException$", "InvalidGrantException", "InvalidRequestException$", "InvalidRequestException", "InvalidScopeException$", "InvalidScopeException", "SlowDownException$", "SlowDownException", "UnauthorizedClientException$", "UnauthorizedClientException", "UnsupportedGrantTypeException$", "UnsupportedGrantTypeException", "errorTypeRegistries", "AccessToken", "ClientSecret", "CodeVerifier", "IdToken", "RefreshToken", "CreateTokenRequest$", "CreateTokenResponse$", "CreateToken$", "n0", "_CT", "_h", "CreateTokenRequest$", "CreateTokenResponse$", "getRuntimeConfig", "__name", "config", "fromBase64", "toBase64", "defaultEndpointResolver", "defaultSSOOIDCHttpAuthSchemeProvider", "ipc", "AwsSdkSigV4Signer", "NoAuthSigner", "NoOpLogger", "AwsRestJsonProtocol", "errorTypeRegistries", "parseUrl", "fromUtf8", "toUtf8", "getRuntimeConfig", "__name", "config", "emitWarningIfUnsupportedVersion", "defaultsMode", "resolveDefaultsModeConfig", "defaultConfigProvider", "loadConfigsForDefaultMode", "clientSharedValues", "loaderConfig", "loadConfig", "NODE_AUTH_SCHEME_PREFERENCE_OPTIONS", "calculateBodyLength", "createDefaultUserAgentProvider", "package_default", "NODE_MAX_ATTEMPT_CONFIG_OPTIONS", "NODE_REGION_CONFIG_OPTIONS", "NODE_REGION_CONFIG_FILE_OPTIONS", "NodeHttpHandler", "NODE_RETRY_MODE_CONFIG_OPTIONS", "DEFAULT_RETRY_MODE", "Hash", "streamCollector", "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS", "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS", "NODE_APP_ID_CONFIG_OPTIONS", "getHttpAuthExtensionConfiguration", "__name", "runtimeConfig", "_httpAuthSchemes", "_httpAuthSchemeProvider", "_credentials", "httpAuthScheme", "index", "scheme", "httpAuthSchemeProvider", "credentials", "resolveHttpAuthRuntimeConfig", "config", "resolveRuntimeExtensions", "__name", "runtimeConfig", "extensions", "extensionConfiguration", "getAwsRegionExtensionConfiguration", "getDefaultExtensionConfiguration", "getHttpHandlerExtensionConfiguration", "getHttpAuthExtensionConfiguration", "extension", "resolveAwsRegionExtensionConfiguration", "resolveDefaultRuntimeConfig", "resolveHttpHandlerRuntimeConfig", "resolveHttpAuthRuntimeConfig", "SSOOIDCClient", "Client", "__name", "configuration", "_config_0", "getRuntimeConfig", "_config_1", "resolveClientEndpointParameters", "_config_2", "resolveUserAgentConfig", "_config_3", "resolveRetryConfig", "_config_4", "resolveRegionConfig", "_config_5", "_config_6", "resolveEndpointConfig", "_config_7", "resolveHttpAuthSchemeConfig", "_config_8", "resolveRuntimeExtensions", "getSchemaSerdePlugin", "getUserAgentPlugin", "getRetryPlugin", "getContentLengthPlugin", "getHostHeaderPlugin", "getLoggerPlugin", "getRecursionDetectionPlugin", "getHttpAuthSchemeEndpointRuleSetPlugin", "defaultSSOOIDCHttpAuthSchemeParametersProvider", "config", "DefaultIdentityProviderConfig", "getHttpSigningPlugin", "CreateTokenCommand", "Command", "commonParams", "cs", "config", "o", "getEndpointPlugin", "CreateToken$", "__name", "commands", "CreateTokenCommand", "SSOOIDC", "SSOOIDCClient", "__name", "createAggregatedClient", "AccessDeniedExceptionReason", "InvalidRequestExceptionReason"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
|
|
2
|
+
import{e as Ke}from"./chunk-Q46F4VQU.js";import{a as Ze}from"./chunk-5KDKGKT5.js";import{a as Oe}from"./chunk-RCPWAYJS.js";import{B as Ie,C as W,D as Ce,E as Re,F as ve,G as _e,H as Te,I as be,K as F,M as we,Q as He,R as ke,S as U,T as Ne,U as We,V as $e,W as Fe,X as Ue,Y as Le,a as ce,aa as Ge,b as pe,c as le,d as de,da as Me,e as ue,ea as je,f as me,fa as L,g as ee,ga as K,h as ge,ha as qe,ia as Ve,j as fe,ka as G,la as ze,ma as Je,na as Be,oa as Qe,p as ye,pa as Ye,qa as Xe,ra as et,s as te,sa as tt,ta as ot,ua as rt,va as nt,wa as st,xa as it}from"./chunk-NYFG5H6N.js";import{a as De,c as S}from"./chunk-IRALFVJ5.js";import"./chunk-MDLDTIXZ.js";import{b as he,c as Pe,e as Ae,f as xe}from"./chunk-MHYJWYJC.js";import"./chunk-QBFMAZ73.js";import{d as Se,e as Ee}from"./chunk-BZDMPUOT.js";import"./chunk-NHK4IEJM.js";import{a as $}from"./chunk-7HH7JLQT.js";import"./chunk-IIV4KUZH.js";import{a as o}from"./chunk-K7I7SIAE.js";var at=o(async(e,t,s)=>({operation:me(t).operation,region:await ee(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSTSHttpAuthSchemeParametersProvider");function io(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:o((t,s)=>({signingProperties:{config:t,context:s}}),"propertiesExtractor")}}o(io,"createAwsAuthSigv4HttpAuthOption");function ao(e){return{schemeId:"smithy.api#noAuth"}}o(ao,"createSmithyApiNoAuthHttpAuthOption");var ct=o(e=>{let t=[];return e.operation==="AssumeRoleWithWebIdentity"?t.push(ao(e)):t.push(io(e)),t},"defaultSTSHttpAuthSchemeProvider"),co=o(e=>Object.assign(e,{stsClientCtor:A}),"resolveStsAuthConfig"),pt=o(e=>{let t=co(e),s=He(t);return Object.assign(s,{authSchemePreference:ee(e.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig");var lt=o(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"}),"resolveClientEndpointParameters"),M={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"}};var xt="required",r="type";var i="argv";var x="booleanEquals",d="stringEquals",yt="sigv4";var It="us-east-1",c="endpoint",dt="https://sts.{Region}.{PartitionResult#dnsSuffix}",E="tree",H="error",re="getAttr",ut={[xt]:!1,[r]:"string"},oe={[xt]:!0,default:!1,[r]:"boolean"},Ct={ref:"Endpoint"},mt={fn:"isSet",[i]:[{ref:"Region"}]},u={ref:"Region"},gt={fn:"aws.partition",[i]:[u],assign:"PartitionResult"},Rt={ref:"UseFIPS"},vt={ref:"UseDualStack"},g={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:yt,signingName:"sts",signingRegion:It}]},headers:{}},f={},ft={conditions:[{fn:d,[i]:[u,"aws-global"]}],[c]:g,[r]:c},_t={fn:x,[i]:[Rt,!0]},Tt={fn:x,[i]:[vt,!0]},ht={fn:re,[i]:[{ref:"PartitionResult"},"supportsFIPS"]},Dt={ref:"PartitionResult"},St={fn:x,[i]:[!0,{fn:re,[i]:[Dt,"supportsDualStack"]}]},Et=[{fn:"isSet",[i]:[Ct]}],Pt=[_t],At=[Tt],po={version:"1.0",parameters:{Region:ut,UseDualStack:oe,UseFIPS:oe,Endpoint:ut,UseGlobalEndpoint:oe},rules:[{conditions:[{fn:x,[i]:[{ref:"UseGlobalEndpoint"},!0]},{fn:"not",[i]:Et},mt,gt,{fn:x,[i]:[Rt,!1]},{fn:x,[i]:[vt,!1]}],rules:[{conditions:[{fn:d,[i]:[u,"ap-northeast-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"ap-south-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"ap-southeast-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"ap-southeast-2"]}],endpoint:g,[r]:c},ft,{conditions:[{fn:d,[i]:[u,"ca-central-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"eu-central-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"eu-north-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"eu-west-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"eu-west-2"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"eu-west-3"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"sa-east-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,It]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"us-east-2"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"us-west-1"]}],endpoint:g,[r]:c},{conditions:[{fn:d,[i]:[u,"us-west-2"]}],endpoint:g,[r]:c},{endpoint:{url:dt,properties:{authSchemes:[{name:yt,signingName:"sts",signingRegion:"{Region}"}]},headers:f},[r]:c}],[r]:E},{conditions:Et,rules:[{conditions:Pt,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[r]:H},{conditions:At,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[r]:H},{endpoint:{url:Ct,properties:f,headers:f},[r]:c}],[r]:E},{conditions:[mt],rules:[{conditions:[gt],rules:[{conditions:[_t,Tt],rules:[{conditions:[{fn:x,[i]:[!0,ht]},St],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:f,headers:f},[r]:c}],[r]:E},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[r]:H}],[r]:E},{conditions:Pt,rules:[{conditions:[{fn:x,[i]:[ht,!0]}],rules:[{conditions:[{fn:d,[i]:[{fn:re,[i]:[Dt,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:f,headers:f},[r]:c},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:f,headers:f},[r]:c}],[r]:E},{error:"FIPS is enabled but this partition does not support FIPS",[r]:H}],[r]:E},{conditions:At,rules:[{conditions:[St],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:f,headers:f},[r]:c}],[r]:E},{error:"DualStack is enabled but this partition does not support DualStack",[r]:H}],[r]:E},ft,{endpoint:{url:dt,properties:f,headers:f},[r]:c}],[r]:E}],[r]:E},{error:"Invalid Configuration: Missing Region",[r]:H}]},bt=po;var lo=new Re({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),wt=o((e,t={})=>lo.get(e,()=>_e(bt,{endpointParams:e,logger:t.logger})),"defaultEndpointResolver");ve.aws=Te;var h=class e extends Ne{static{o(this,"STSServiceException")}constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}};var j=class e extends h{static{o(this,"ExpiredTokenException")}name="ExpiredTokenException";$fault="client";constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},q=class e extends h{static{o(this,"MalformedPolicyDocumentException")}name="MalformedPolicyDocumentException";$fault="client";constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},V=class e extends h{static{o(this,"PackedPolicyTooLargeException")}name="PackedPolicyTooLargeException";$fault="client";constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},z=class e extends h{static{o(this,"RegionDisabledException")}name="RegionDisabledException";$fault="client";constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},J=class e extends h{static{o(this,"IDPRejectedClaimException")}name="IDPRejectedClaimException";$fault="client";constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},B=class e extends h{static{o(this,"InvalidIdentityTokenException")}name="InvalidIdentityTokenException";$fault="client";constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},Q=class e extends h{static{o(this,"IDPCommunicationErrorException")}name="IDPCommunicationErrorException";$fault="client";constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}};var uo="Arn",mo="AccessKeyId",go="AssumeRole",fo="AssumedRoleId",ho="AssumeRoleRequest",So="AssumeRoleResponse",ne="AssumedRoleUser",Eo="AssumeRoleWithWebIdentity",Po="AssumeRoleWithWebIdentityRequest",Ao="AssumeRoleWithWebIdentityResponse",xo="Audience",se="Credentials",yo="ContextAssertion",Ht="DurationSeconds",Io="Expiration",Co="ExternalId",Ro="ExpiredTokenException",vo="IDPCommunicationErrorException",_o="IDPRejectedClaimException",To="InvalidIdentityTokenException",Do="Key",bo="MalformedPolicyDocumentException",kt="Policy",Ot="PolicyArns",wo="ProviderArn",Ho="ProvidedContexts",ko="ProvidedContextsListType",Oo="ProvidedContext",No="PolicyDescriptorType",Wo="ProviderId",Nt="PackedPolicySize",$o="PackedPolicyTooLargeException",Fo="Provider",Wt="RoleArn",Uo="RegionDisabledException",$t="RoleSessionName",Lo="SecretAccessKey",Ko="SubjectFromWebIdentityToken",ie="SourceIdentity",Go="SerialNumber",Mo="SessionToken",jo="Tags",qo="TokenCode",Vo="TransitiveTagKeys",zo="Tag",Jo="Value",Bo="WebIdentityToken",Qo="arn",Yo="accessKeySecretType",v="awsQueryError",_="client",Xo="clientTokenType",T="error",D="httpError",b="message",Zo="policyDescriptorListType",Ft="smithy.ts.sdk.synthetic.com.amazonaws.sts",er="tagListType",p="com.amazonaws.sts",Ut=te.for(Ft),tr=[-3,Ft,"STSServiceException",0,[],[]];Ut.registerError(tr,h);var y=te.for(p),or=[-3,p,Ro,{[v]:["ExpiredTokenException",400],[T]:_,[D]:400},[b],[0]];y.registerError(or,j);var rr=[-3,p,vo,{[v]:["IDPCommunicationError",400],[T]:_,[D]:400},[b],[0]];y.registerError(rr,Q);var nr=[-3,p,_o,{[v]:["IDPRejectedClaim",403],[T]:_,[D]:403},[b],[0]];y.registerError(nr,J);var sr=[-3,p,To,{[v]:["InvalidIdentityToken",400],[T]:_,[D]:400},[b],[0]];y.registerError(sr,B);var ir=[-3,p,bo,{[v]:["MalformedPolicyDocument",400],[T]:_,[D]:400},[b],[0]];y.registerError(ir,q);var ar=[-3,p,$o,{[v]:["PackedPolicyTooLarge",400],[T]:_,[D]:400},[b],[0]];y.registerError(ar,V);var cr=[-3,p,Uo,{[v]:["RegionDisabledException",403],[T]:_,[D]:403},[b],[0]];y.registerError(cr,z);var Lt=[Ut,y],pr=[0,p,Yo,8,0],lr=[0,p,Xo,8,0],Kt=[3,p,ne,0,[fo,uo],[0,0],2],dr=[3,p,ho,0,[Wt,$t,Ot,kt,Ht,jo,Vo,Co,Go,qo,ie,Ho],[0,0,()=>Mt,0,1,()=>Pr,64,0,0,0,0,()=>Er],2],ur=[3,p,So,0,[se,ne,Nt,ie],[[()=>Gt,0],()=>Kt,1,0]],mr=[3,p,Po,0,[Wt,$t,Bo,Wo,Ot,kt,Ht],[0,0,[()=>lr,0],0,()=>Mt,0,1],3],gr=[3,p,Ao,0,[se,Ko,ne,Nt,Fo,xo,ie],[[()=>Gt,0],0,()=>Kt,1,0,0,0]],Gt=[3,p,se,0,[mo,Lo,Mo,Io],[0,[()=>pr,0],0,4],4],fr=[3,p,No,0,[Qo],[0]],hr=[3,p,Oo,0,[wo,yo],[0,0]],Sr=[3,p,zo,0,[Do,Jo],[0,0],2],Mt=[1,p,Zo,0,()=>fr],Er=[1,p,ko,0,()=>hr];var Pr=[1,p,er,0,()=>Sr],jt=[9,p,go,0,()=>dr,()=>ur],qt=[9,p,Eo,0,()=>mr,()=>gr];var Vt=o(e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??he,base64Encoder:e?.base64Encoder??Pe,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??wt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ct,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:o(t=>t.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new F},{schemeId:"smithy.api#noAuth",identityProvider:o(t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new W}],logger:e?.logger??new Le,protocol:e?.protocol??Ke,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:Lt,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",urlParser:e?.urlParser??De,utf8Decoder:e?.utf8Decoder??Se,utf8Encoder:e?.utf8Encoder??Ee}),"getRuntimeConfig");var zt=o(e=>{$e(process.version);let t=nt(e),s=o(()=>t().then(We),"defaultConfigProvider"),a=Vt(e);be(process.version);let n={profile:e?.profile,logger:a.logger};return{...a,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??S(we,n),bodyLengthChecker:e?.bodyLengthChecker??rt,defaultUserAgentProvider:e?.defaultUserAgentProvider??et({serviceId:a.serviceId,clientVersion:Ze.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:o(m=>m.getIdentityProvider("aws.auth#sigv4")||(async l=>await e.credentialDefaultProvider(l?.__config||{})()),"identityProvider"),signer:new F},{schemeId:"smithy.api#noAuth",identityProvider:o(m=>m.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new W}],maxAttempts:e?.maxAttempts??S(Be,e),region:e?.region??S(L,{...K,...n}),requestHandler:Ae.create(e?.requestHandler??s),retryMode:e?.retryMode??S({...Ye,default:o(async()=>(await s()).retryMode||Je,"default")},e),sha256:e?.sha256??ot.bind(null,"sha256"),streamCollector:e?.streamCollector??xe,useDualstackEndpoint:e?.useDualstackEndpoint??S(Me,n),useFipsEndpoint:e?.useFipsEndpoint??S(je,n),userAgentAppId:e?.userAgentAppId??S(tt,n)}},"getRuntimeConfig");function Jt(e={}){return S({...L,async default(){return Ar.silence||console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."),"us-east-1"}},{...K,...e})}o(Jt,"stsRegionDefaultResolver");var Ar={silence:!1};var Bt=o(e=>{let t=e.httpAuthSchemes,s=e.httpAuthSchemeProvider,a=e.credentials;return{setHttpAuthScheme(n){let m=t.findIndex(l=>l.schemeId===n.schemeId);m===-1?t.push(n):t.splice(m,1,n)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(n){s=n},httpAuthSchemeProvider(){return s},setCredentials(n){a=n},credentials(){return a}}},"getHttpAuthExtensionConfiguration"),Qt=o(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),"resolveHttpAuthRuntimeConfig");var Yt=o((e,t)=>{let s=Object.assign(st(e),Fe(e),ce(e),Bt(e));return t.forEach(a=>a.configure(s)),Object.assign(e,it(s),Ue(s),pe(s),Qt(s))},"resolveRuntimeExtensions");var A=class extends ke{static{o(this,"STSClient")}config;constructor(...[t]){let s=zt(t||{});super(s),this.initConfig=s;let a=lt(s),n=Ce(a),m=Qe(n),l=qe(m),P=l,I=ze(P),C=pt(I),w=Yt(C,t?.extensions||[]);this.config=w,this.middlewareStack.use(ye(this.config)),this.middlewareStack.use(Ge(this.config)),this.middlewareStack.use(Xe(this.config)),this.middlewareStack.use(Ve(this.config)),this.middlewareStack.use(le(this.config)),this.middlewareStack.use(de(this.config)),this.middlewareStack.use(ue(this.config)),this.middlewareStack.use(ge(this.config,{httpAuthSchemeParametersProvider:at,identityProviderConfigProvider:o(async R=>new Ie({"aws.auth#sigv4":R.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(fe(this.config))}destroy(){super.destroy()}};var k=class extends U.classBuilder().ep(M).m(function(t,s,a,n){return[G(a,t.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(jt).build(){static{o(this,"AssumeRoleCommand")}};var O=class extends U.classBuilder().ep(M).m(function(t,s,a,n){return[G(a,t.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(qt).build(){static{o(this,"AssumeRoleWithWebIdentityCommand")}};var xr={AssumeRoleCommand:k,AssumeRoleWithWebIdentityCommand:O},ae=class extends A{static{o(this,"STS")}};Oe(xr,ae);var Xt=o(e=>{if(typeof e?.Arn=="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}},"getAccountIdFromAssumedRoleUser"),Zt=o(async(e,t,s,a={})=>{let n=typeof e=="function"?await e():e,m=typeof t=="function"?await t():t,l="",P=n??m??(l=await Jt(a)());return s?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${n} (credential provider clientConfig)`,`${m} (contextual client)`,`${l} (STS default: AWS_REGION, profile region, or us-east-1)`),P},"resolveRegion"),eo=o((e,t)=>{let s,a;return async(n,m)=>{if(a=n,!s){let{logger:w=e?.parentClientConfig?.logger,profile:R=e?.parentClientConfig?.profile,region:Y,requestHandler:N=e?.parentClientConfig?.requestHandler,credentialProviderLogger:X,userAgentAppId:Z=e?.parentClientConfig?.userAgentAppId}=e,no=await Zt(Y,e?.parentClientConfig?.region,X,{logger:w,profile:R}),so=!oo(N);s=new t({...e,userAgentAppId:Z,profile:R,credentialDefaultProvider:o(()=>async()=>a,"credentialDefaultProvider"),region:no,requestHandler:so?N:void 0,logger:w})}let{Credentials:l,AssumedRoleUser:P}=await s.send(new k(m));if(!l||!l.AccessKeyId||!l.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${m.RoleArn}`);let I=Xt(P),C={accessKeyId:l.AccessKeyId,secretAccessKey:l.SecretAccessKey,sessionToken:l.SessionToken,expiration:l.Expiration,...l.CredentialScope&&{credentialScope:l.CredentialScope},...I&&{accountId:I}};return $(C,"CREDENTIALS_STS_ASSUME_ROLE","i"),C}},"getDefaultRoleAssumer"),to=o((e,t)=>{let s;return async a=>{if(!s){let{logger:I=e?.parentClientConfig?.logger,profile:C=e?.parentClientConfig?.profile,region:w,requestHandler:R=e?.parentClientConfig?.requestHandler,credentialProviderLogger:Y,userAgentAppId:N=e?.parentClientConfig?.userAgentAppId}=e,X=await Zt(w,e?.parentClientConfig?.region,Y,{logger:I,profile:C}),Z=!oo(R);s=new t({...e,userAgentAppId:N,profile:C,region:X,requestHandler:Z?R:void 0,logger:I})}let{Credentials:n,AssumedRoleUser:m}=await s.send(new O(a));if(!n||!n.AccessKeyId||!n.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${a.RoleArn}`);let l=Xt(m),P={accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,sessionToken:n.SessionToken,expiration:n.Expiration,...n.CredentialScope&&{credentialScope:n.CredentialScope},...l&&{accountId:l}};return l&&$(P,"RESOLVED_ACCOUNT_ID","T"),$(P,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),P}},"getDefaultRoleAssumerWithWebIdentity");var oo=o(e=>e?.metadata?.handlerProtocol==="h2","isH2");var ro=o((e,t)=>t?class extends e{static{o(this,"CustomizableSTSClient")}constructor(a){super(a);for(let n of t)this.middlewareStack.use(n)}}:e,"getCustomizableStsClientCtor"),yr=o((e={},t)=>eo(e,ro(A,t)),"getDefaultRoleAssumer"),Ir=o((e={},t)=>to(e,ro(A,t)),"getDefaultRoleAssumerWithWebIdentity"),Rs=o(e=>t=>e({roleAssumer:yr(t),roleAssumerWithWebIdentity:Ir(t),...t}),"decorateDefaultCredentialProvider");export{U as $Command,jt as AssumeRole$,k as AssumeRoleCommand,dr as AssumeRoleRequest$,ur as AssumeRoleResponse$,qt as AssumeRoleWithWebIdentity$,O as AssumeRoleWithWebIdentityCommand,mr as AssumeRoleWithWebIdentityRequest$,gr as AssumeRoleWithWebIdentityResponse$,Kt as AssumedRoleUser$,Gt as Credentials$,j as ExpiredTokenException,or as ExpiredTokenException$,Q as IDPCommunicationErrorException,rr as IDPCommunicationErrorException$,J as IDPRejectedClaimException,nr as IDPRejectedClaimException$,B as InvalidIdentityTokenException,sr as InvalidIdentityTokenException$,q as MalformedPolicyDocumentException,ir as MalformedPolicyDocumentException$,V as PackedPolicyTooLargeException,ar as PackedPolicyTooLargeException$,fr as PolicyDescriptorType$,hr as ProvidedContext$,z as RegionDisabledException,cr as RegionDisabledException$,ae as STS,A as STSClient,h as STSServiceException,tr as STSServiceException$,Sr as Tag$,ke as __Client,Rs as decorateDefaultCredentialProvider,Lt as errorTypeRegistries,yr as getDefaultRoleAssumer,Ir as getDefaultRoleAssumerWithWebIdentity};
|