gemi 0.35.0 → 0.36.0

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.
Files changed (123) hide show
  1. package/dist/app/index.js +3 -3
  2. package/dist/app/index.js.map +3 -3
  3. package/dist/bin/gemi.js +134 -73
  4. package/dist/bin/gemi.js.map +6 -6
  5. package/dist/broadcasting/index.js +1 -1
  6. package/dist/{chunk-h9jhxz2x.js → chunk-07keqpsw.js} +2 -2
  7. package/dist/{chunk-h9jhxz2x.js.map → chunk-07keqpsw.js.map} +1 -1
  8. package/dist/{chunk-qr0d4b5g.js → chunk-1gd1fyth.js} +2 -2
  9. package/dist/{chunk-qr0d4b5g.js.map → chunk-1gd1fyth.js.map} +3 -3
  10. package/dist/{chunk-a9pdqf5t.js → chunk-1sdckzzr.js} +2 -2
  11. package/dist/{chunk-a9pdqf5t.js.map → chunk-1sdckzzr.js.map} +2 -2
  12. package/dist/chunk-21hd56fa.js +4 -0
  13. package/dist/{chunk-nrx04seh.js.map → chunk-21hd56fa.js.map} +4 -4
  14. package/dist/chunk-2vpsbhpm.js +5 -0
  15. package/dist/{chunk-9n86xysb.js.map → chunk-2vpsbhpm.js.map} +1 -1
  16. package/dist/chunk-3vxaqv3c.js +4 -0
  17. package/dist/chunk-3vxaqv3c.js.map +18 -0
  18. package/dist/chunk-4pxf7y2s.js +5 -0
  19. package/dist/{chunk-b6bzvtq4.js.map → chunk-4pxf7y2s.js.map} +1 -1
  20. package/dist/{chunk-k47r0hsx.js → chunk-513mekrd.js} +2 -2
  21. package/dist/{chunk-k47r0hsx.js.map → chunk-513mekrd.js.map} +3 -3
  22. package/dist/chunk-640e07kh.js +4 -0
  23. package/dist/chunk-640e07kh.js.map +18 -0
  24. package/dist/{chunk-767rmjwk.js → chunk-65z4wbps.js} +1 -1
  25. package/dist/chunk-69wrnjjn.js +5 -0
  26. package/dist/chunk-69wrnjjn.js.map +10 -0
  27. package/dist/chunk-6g2bsmwf.js +5 -0
  28. package/dist/{chunk-nmnvzhbg.js.map → chunk-6g2bsmwf.js.map} +3 -3
  29. package/dist/{chunk-2xy7v0g8.js → chunk-8ty8fefr.js} +2 -2
  30. package/dist/{chunk-2xy7v0g8.js.map → chunk-8ty8fefr.js.map} +1 -1
  31. package/dist/{chunk-r0830s5q.js → chunk-9p1z3vnt.js} +2 -2
  32. package/dist/{chunk-r0830s5q.js.map → chunk-9p1z3vnt.js.map} +1 -1
  33. package/dist/chunk-bwd327vf.js +32 -0
  34. package/dist/chunk-bwd327vf.js.map +43 -0
  35. package/dist/{chunk-qpyzybek.js → chunk-e2713ftx.js} +2 -2
  36. package/dist/{chunk-qpyzybek.js.map → chunk-e2713ftx.js.map} +1 -1
  37. package/dist/{chunk-ve14d93s.js → chunk-e4vawn5g.js} +2 -2
  38. package/dist/{chunk-ve14d93s.js.map → chunk-e4vawn5g.js.map} +1 -1
  39. package/dist/{chunk-rasyrk0x.js → chunk-es84e2a1.js} +3 -3
  40. package/dist/{chunk-rasyrk0x.js.map → chunk-es84e2a1.js.map} +1 -1
  41. package/dist/{chunk-xzg1b2z7.js → chunk-fjqa7s60.js} +2 -2
  42. package/dist/{chunk-xzg1b2z7.js.map → chunk-fjqa7s60.js.map} +2 -2
  43. package/dist/chunk-ghy6gn4g.js +5 -0
  44. package/dist/chunk-ghy6gn4g.js.map +11 -0
  45. package/dist/{chunk-36rsqj4c.js → chunk-gj2setdy.js} +2 -2
  46. package/dist/chunk-gj2setdy.js.map +13 -0
  47. package/dist/{chunk-myee2gs0.js → chunk-gncq70ga.js} +3 -3
  48. package/dist/{chunk-myee2gs0.js.map → chunk-gncq70ga.js.map} +2 -2
  49. package/dist/{chunk-zz9bxhhv.js → chunk-haenvmrp.js} +3 -3
  50. package/dist/{chunk-zz9bxhhv.js.map → chunk-haenvmrp.js.map} +1 -1
  51. package/dist/{chunk-wdhx2g1k.js → chunk-kp6wx276.js} +2 -2
  52. package/dist/{chunk-wdhx2g1k.js.map → chunk-kp6wx276.js.map} +2 -2
  53. package/dist/{chunk-nypaxg5s.js → chunk-m5g0mh9n.js} +3 -3
  54. package/dist/{chunk-nypaxg5s.js.map → chunk-m5g0mh9n.js.map} +1 -1
  55. package/dist/{chunk-mcxe6c90.js → chunk-mnvzewf8.js} +2 -2
  56. package/dist/{chunk-mcxe6c90.js.map → chunk-mnvzewf8.js.map} +3 -3
  57. package/dist/{chunk-ak88bhtn.js → chunk-pp10jse0.js} +3 -3
  58. package/dist/{chunk-ak88bhtn.js.map → chunk-pp10jse0.js.map} +2 -2
  59. package/dist/chunk-qy4114a4.js +4 -0
  60. package/dist/chunk-qy4114a4.js.map +19 -0
  61. package/dist/{chunk-3nxfa642.js → chunk-rat133ng.js} +51 -51
  62. package/dist/{chunk-3nxfa642.js.map → chunk-rat133ng.js.map} +17 -17
  63. package/dist/chunk-tp6rd9q1.js +4 -0
  64. package/dist/chunk-tp6rd9q1.js.map +22 -0
  65. package/dist/{chunk-hpdz0h4c.js → chunk-txk5dr5r.js} +2 -2
  66. package/dist/{chunk-hpdz0h4c.js.map → chunk-txk5dr5r.js.map} +2 -2
  67. package/dist/{chunk-av2gtbbe.js → chunk-vmpxc391.js} +2 -2
  68. package/dist/{chunk-av2gtbbe.js.map → chunk-vmpxc391.js.map} +1 -1
  69. package/dist/{chunk-v98329xf.js → chunk-wm448x87.js} +1 -1
  70. package/dist/chunk-xak5xspk.js +21 -0
  71. package/dist/chunk-xak5xspk.js.map +43 -0
  72. package/dist/{chunk-ap5svqgk.js → chunk-xdm3d6a3.js} +2 -2
  73. package/dist/{chunk-ap5svqgk.js.map → chunk-xdm3d6a3.js.map} +2 -2
  74. package/dist/chunk-y5h3n5t8.js +5 -0
  75. package/dist/{chunk-k78w4dqh.js.map → chunk-y5h3n5t8.js.map} +1 -1
  76. package/dist/chunk-yhrk5bfy.js +5 -0
  77. package/dist/{chunk-ssvnwn8n.js.map → chunk-yhrk5bfy.js.map} +4 -4
  78. package/dist/{chunk-th2hknhb.js → chunk-za0tn4cg.js} +6 -6
  79. package/dist/{chunk-th2hknhb.js.map → chunk-za0tn4cg.js.map} +4 -4
  80. package/dist/client/index.js +10208 -7659
  81. package/dist/client/index.js.map +1 -1
  82. package/dist/email/Email.d.ts +1 -0
  83. package/dist/email/Email.d.ts.map +1 -1
  84. package/dist/email/index.js +2 -2
  85. package/dist/email/index.js.map +3 -3
  86. package/dist/facades/index.js +2 -2
  87. package/dist/facades/index.js.map +1 -1
  88. package/dist/http/index.js +2 -2
  89. package/dist/http/index.js.map +1 -1
  90. package/dist/i18n/index.js +1 -1
  91. package/dist/kernel/index.js +2 -2
  92. package/dist/kernel/index.js.map +3 -3
  93. package/dist/server/index.js +2 -2
  94. package/dist/server/index.js.map +1 -1
  95. package/dist/services/index.js +2 -2
  96. package/dist/services/index.js.map +1 -1
  97. package/dist/vite/{index-DIJejLN8.mjs → index-3fSp4NVF.mjs} +1 -1
  98. package/dist/vite/index.mjs +1 -1
  99. package/dist/vite/{typescript-CM73P_uJ.mjs → typescript-1ZdUKbbC.mjs} +15 -5
  100. package/package.json +1 -2
  101. package/dist/chunk-11yk2z9x.js +0 -32
  102. package/dist/chunk-11yk2z9x.js.map +0 -43
  103. package/dist/chunk-36rsqj4c.js.map +0 -13
  104. package/dist/chunk-3kssr2vd.js +0 -4
  105. package/dist/chunk-3kssr2vd.js.map +0 -15
  106. package/dist/chunk-5sjb8aqm.js +0 -4
  107. package/dist/chunk-5sjb8aqm.js.map +0 -22
  108. package/dist/chunk-60w3jw47.js +0 -4
  109. package/dist/chunk-60w3jw47.js.map +0 -15
  110. package/dist/chunk-95b92a6a.js +0 -5
  111. package/dist/chunk-95b92a6a.js.map +0 -12
  112. package/dist/chunk-9n86xysb.js +0 -5
  113. package/dist/chunk-a11m65k0.js +0 -4
  114. package/dist/chunk-a11m65k0.js.map +0 -19
  115. package/dist/chunk-b6bzvtq4.js +0 -5
  116. package/dist/chunk-bqm0qsyv.js +0 -21
  117. package/dist/chunk-bqm0qsyv.js.map +0 -42
  118. package/dist/chunk-k78w4dqh.js +0 -5
  119. package/dist/chunk-nmnvzhbg.js +0 -5
  120. package/dist/chunk-nrx04seh.js +0 -4
  121. package/dist/chunk-ssvnwn8n.js +0 -5
  122. /package/dist/{chunk-767rmjwk.js.map → chunk-65z4wbps.js.map} +0 -0
  123. /package/dist/{chunk-v98329xf.js.map → chunk-wm448x87.js.map} +0 -0
@@ -1,13 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../node_modules/.bun/@aws-sdk+credential-provider-http@3.968.0/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js", "../../../node_modules/.bun/@aws-sdk+credential-provider-http@3.968.0/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js", "../../../node_modules/.bun/@aws-sdk+credential-provider-http@3.968.0/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js", "../../../node_modules/.bun/@aws-sdk+credential-provider-http@3.968.0/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js"],
4
- "sourcesContent": [
5
- "import { setCredentialFeature } from \"@aws-sdk/core/client\";\nimport { NodeHttpHandler } from \"@smithy/node-http-handler\";\nimport { CredentialsProviderError } from \"@smithy/property-provider\";\nimport fs from \"fs/promises\";\nimport { checkUrl } from \"./checkUrl\";\nimport { createGetRequest, getCredentials } from \"./requestHelpers\";\nimport { retryWrapper } from \"./retry-wrapper\";\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nexport const fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger?.warn\n ? console.warn\n : options.logger.warn.bind(options.logger);\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsFullUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationToken will take precedence.\");\n }\n if (full) {\n host = full;\n }\n else if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else {\n throw new CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n checkUrl(url, options.logger);\n const requestHandler = NodeHttpHandler.create({\n requestTimeout: options.timeout ?? 1000,\n connectionTimeout: options.timeout ?? 1000,\n });\n return retryWrapper(async () => {\n const request = createGetRequest(url);\n if (token) {\n request.headers.Authorization = token;\n }\n else if (tokenFile) {\n request.headers.Authorization = (await fs.readFile(tokenFile)).toString();\n }\n try {\n const result = await requestHandler.handle(request);\n return getCredentials(result.response).then((creds) => setCredentialFeature(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n};\n",
6
- "import { CredentialsProviderError } from \"@smithy/property-provider\";\nconst LOOPBACK_CIDR_IPv4 = \"127.0.0.0/8\";\nconst LOOPBACK_CIDR_IPv6 = \"::1/128\";\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nexport const checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\n",
7
- "import { CredentialsProviderError } from \"@smithy/property-provider\";\nimport { HttpRequest } from \"@smithy/protocol-http\";\nimport { parseRfc3339DateTime } from \"@smithy/smithy-client\";\nimport { sdkStreamMixin } from \"@smithy/util-stream\";\nexport function createGetRequest(url) {\n return new HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nexport async function getCredentials(response, logger) {\n const stream = sdkStreamMixin(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: parseRfc3339DateTime(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n",
8
- "export const retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\n"
9
- ],
10
- "mappings": ";2VAAA,SACA,KACA,KACA,qBCHA,SAGA,FAAM,JAAqB,gBACrB,EAA0B,iBAC1B,EAA0B,iBACnB,EAAW,CAAC,EAAK,IAAW,CACrC,GAAI,EAAI,WAAa,SACjB,OAEJ,GAAI,EAAI,WAAa,GACjB,EAAI,WAAa,GACjB,EAAI,WAAa,EACjB,OAEJ,GAAI,EAAI,SAAS,SAAS,GAAG,GACzB,GAAI,EAAI,WAAa,SAAW,EAAI,WAAa,4CAC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,MAAM,EAC5B,IAAM,EAAiB,kBAAgB,OAAO,CAC1C,eAAgB,EAAQ,SAAW,KACnC,kBAAmB,EAAQ,SAAW,IAC1C,CAAC,EACD,OAAO,EAAa,SAAY,CAC5B,IAAM,EAAU,EAAiB,CAAG,EACpC,GAAI,EACA,EAAQ,QAAQ,cAAgB,EAE/B,QAAI,EACL,EAAQ,QAAQ,eAAiB,MAAM,EAAG,SAAS,CAAS,GAAG,SAAS,EAE5E,GAAI,CACA,IAAM,EAAS,MAAM,EAAe,OAAO,CAAO,EAClD,OAAO,EAAe,EAAO,QAAQ,EAAE,KAAK,CAAC,IAAU,uBAAqB,EAAO,mBAAoB,GAAG,CAAC,EAE/G,MAAO,EAAG,CACN,MAAM,IAAI,2BAAyB,OAAO,CAAC,EAAG,CAAE,OAAQ,EAAQ,MAAO,CAAC,IAE7E,EAAQ,YAAc,EAAG,EAAQ,SAAW,IAAI",
11
- "debugId": "3C7D8EA1D57C20E164756E2164756E21",
12
- "names": []
13
- }
@@ -1,4 +0,0 @@
1
- // @bun
2
- import{a as Kr}from"./chunk-9n86xysb.js";import{Ca as be,Ea as Y,Fa as ss,Ga as ts,Ha as ds,Ja as Nr,Ka as Ur,La as ls,Ma as _e,Na as us,Oa as as,Pa as Br,Qa as Me,Ra as Vr,Sa as jr,Ta as gr,Ua as hr,Va as Er,Wa as os}from"./chunk-11yk2z9x.js";import{Xa as nr,Ya as Zr}from"./chunk-95b92a6a.js";import"./chunk-ssvnwn8n.js";import{$a as Gr,_a as pr,bb as Sr,eb as rs,ib as K}from"./chunk-bqm0qsyv.js";import{jb as es}from"./chunk-ap5svqgk.js";import"./chunk-wdhx2g1k.js";import{nb as ir}from"./chunk-a9pdqf5t.js";import"./chunk-myee2gs0.js";import"./chunk-ak88bhtn.js";import{yb as Qr}from"./chunk-zz9bxhhv.js";import{Ab as v}from"./chunk-b6bzvtq4.js";var J=v((T)=>{Object.defineProperty(T,"__esModule",{value:!0});T.resolveHttpAuthSchemeConfig=T.defaultSigninHttpAuthSchemeProvider=T.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Pr=Y(),W=pr(),Ir=async(e,r,s)=>{return{operation:(0,W.getSmithyContext)(r).operation,region:await(0,W.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};T.defaultSigninHttpAuthSchemeParametersProvider=Ir;function yr(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(r,s)=>({signingProperties:{config:r,context:s}})}}function Dr(e){return{schemeId:"smithy.api#noAuth"}}var br=(e)=>{let r=[];switch(e.operation){case"CreateOAuth2Token":{r.push(Dr(e));break}default:r.push(yr(e))}return r};T.defaultSigninHttpAuthSchemeProvider=br;var qr=(e)=>{let r=(0,Pr.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,W.normalizeProvider)(e.authSchemePreference??[])})};T.resolveHttpAuthSchemeConfig=qr});var oe=v((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.ruleSet=void 0;var le="required",d="fn",l="argv",I="ref",c=!0,m="isSet",F="booleanEquals",N="error",y="endpoint",P="tree",M="PartitionResult",X="stringEquals",x={[le]:!0,default:!1,type:"boolean"},ee={[le]:!1,type:"string"},re={[I]:"Endpoint"},Q={[d]:F,[l]:[{[I]:"UseFIPS"},!0]},S={[d]:F,[l]:[{[I]:"UseDualStack"},!0]},t={},Z={[d]:"getAttr",[l]:[{[I]:M},"name"]},R={[d]:F,[l]:[{[I]:"UseFIPS"},!1]},_={[d]:F,[l]:[{[I]:"UseDualStack"},!1]},se={[d]:"getAttr",[l]:[{[I]:M},"supportsFIPS"]},te={[d]:F,[l]:[!0,{[d]:"getAttr",[l]:[{[I]:M},"supportsDualStack"]}]},de=[{[I]:"Region"}],vr={version:"1.0",parameters:{UseDualStack:x,UseFIPS:x,Endpoint:ee,Region:ee},rules:[{conditions:[{[d]:m,[l]:[re]}],rules:[{conditions:[Q],error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:N},{rules:[{conditions:[S],error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:N},{endpoint:{url:re,properties:t,headers:t},type:y}],type:P}],type:P},{rules:[{conditions:[{[d]:m,[l]:de}],rules:[{conditions:[{[d]:"aws.partition",[l]:de,assign:M}],rules:[{conditions:[{[d]:X,[l]:[Z,"aws"]},R,_],endpoint:{url:"https://{Region}.signin.aws.amazon.com",properties:t,headers:t},type:y},{conditions:[{[d]:X,[l]:[Z,"aws-cn"]},R,_],endpoint:{url:"https://{Region}.signin.amazonaws.cn",properties:t,headers:t},type:y},{conditions:[{[d]:X,[l]:[Z,"aws-us-gov"]},R,_],endpoint:{url:"https://{Region}.signin.amazonaws-us-gov.com",properties:t,headers:t},type:y},{conditions:[Q,S],rules:[{conditions:[{[d]:F,[l]:[c,se]},te],rules:[{endpoint:{url:"https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:t,headers:t},type:y}],type:P},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:N}],type:P},{conditions:[Q,_],rules:[{conditions:[{[d]:F,[l]:[se,c]}],rules:[{endpoint:{url:"https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",properties:t,headers:t},type:y}],type:P},{error:"FIPS is enabled but this partition does not support FIPS",type:N}],type:P},{conditions:[R,S],rules:[{conditions:[te],rules:[{endpoint:{url:"https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:t,headers:t},type:y}],type:P},{error:"DualStack is enabled but this partition does not support DualStack",type:N}],type:P},{endpoint:{url:"https://signin.{Region}.{PartitionResult#dnsSuffix}",properties:t,headers:t},type:y}],type:P}],type:P},{error:"Invalid Configuration: Missing Region",type:N}],type:P}]};ue.ruleSet=vr});var Ie=v((pe)=>{Object.defineProperty(pe,"__esModule",{value:!0});pe.defaultEndpointResolver=void 0;var wr=Ur(),B=Nr(),Rr=oe(),_r=new B.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Mr=(e,r={})=>{return _r.get(e,()=>(0,B.resolveEndpoint)(Rr.ruleSet,{endpointParams:e,logger:r.logger}))};pe.defaultEndpointResolver=Mr;B.customEndpointFunctions.aws=wr.awsEndpointFunctions});var Oe=v((qe)=>{Object.defineProperty(qe,"__esModule",{value:!0});qe.getRuntimeConfig=void 0;var Lr=Y(),zr=Er(),Hr=be(),kr=K(),Wr=nr(),ye=Gr(),De=ir(),Yr=J(),Jr=Ie(),Xr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??ye.fromBase64,base64Encoder:e?.base64Encoder??ye.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Jr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Yr.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new Lr.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Hr.NoAuthSigner}],logger:e?.logger??new kr.NoOpLogger,protocol:e?.protocol??zr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??Wr.parseUrl,utf8Decoder:e?.utf8Decoder??De.fromUtf8,utf8Encoder:e?.utf8Encoder??De.toUtf8}};qe.getRuntimeConfig=Xr});var ne=v((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.getRuntimeConfig=void 0;var fr=Qr(),Ar=fr.__importDefault(Kr()),ve=Y(),Ne=Vr(),i=_e(),$r=jr(),Ue=Me(),O=Zr(),we=Sr(),Re=K(),Tr=gr(),Cr=hr(),cr=Br(),mr=Oe(),xr=(e)=>{(0,Re.emitWarningIfUnsupportedVersion)(process.version);let r=(0,Cr.resolveDefaultsModeConfig)(e),s=()=>r().then(Re.loadConfigsForDefaultMode),p=(0,mr.getRuntimeConfig)(e);(0,ve.emitWarningIfUnsupportedVersion)(process.version);let u={profile:e?.profile,logger:p.logger};return{...p,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(ve.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,u),bodyLengthChecker:e?.bodyLengthChecker??Tr.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Ne.createDefaultUserAgentProvider)({serviceId:p.serviceId,clientVersion:Ar.default.version}),maxAttempts:e?.maxAttempts??(0,O.loadConfig)(Ue.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(i.NODE_REGION_CONFIG_OPTIONS,{...i.NODE_REGION_CONFIG_FILE_OPTIONS,...u}),requestHandler:we.NodeHttpHandler.create(e?.requestHandler??s),retryMode:e?.retryMode??(0,O.loadConfig)({...Ue.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await s()).retryMode||cr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??$r.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??we.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(i.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,u),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(i.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,u),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(Ne.NODE_APP_ID_CONFIG_OPTIONS,u)}};ie.getRuntimeConfig=xr});var tt=v(($)=>{var Ee=ss(),ps=ts(),Ps=ds(),Le=ls(),Is=_e(),V=be(),U=rs(),ys=us(),he=as(),ze=Me(),D=K(),He=J(),Ds=ne(),ke=os(),We=es(),bs=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},qs={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Fs=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:s,credentials:p}=e;return{setHttpAuthScheme(u){let w=r.findIndex((k)=>k.schemeId===u.schemeId);if(w===-1)r.push(u);else r.splice(w,1,u)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(u){s=u},httpAuthSchemeProvider(){return s},setCredentials(u){p=u},credentials(){return p}}},Os=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},vs=(e,r)=>{let s=Object.assign(ke.getAwsRegionExtensionConfiguration(e),D.getDefaultExtensionConfiguration(e),We.getHttpHandlerExtensionConfiguration(e),Fs(e));return r.forEach((p)=>p.configure(s)),Object.assign(e,ke.resolveAwsRegionExtensionConfiguration(s),D.resolveDefaultRuntimeConfig(s),We.resolveHttpHandlerRuntimeConfig(s),Os(s))};class j extends D.Client{config;constructor(...[e]){let r=Ds.getRuntimeConfig(e||{});super(r);this.initConfig=r;let s=bs(r),p=Le.resolveUserAgentConfig(s),u=ze.resolveRetryConfig(p),w=Is.resolveRegionConfig(u),k=Ee.resolveHostHeaderConfig(w),lr=he.resolveEndpointConfig(k),ur=He.resolveHttpAuthSchemeConfig(lr),ar=vs(ur,e?.extensions||[]);this.config=ar,this.middlewareStack.use(U.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Le.getUserAgentPlugin(this.config)),this.middlewareStack.use(ze.getRetryPlugin(this.config)),this.middlewareStack.use(ys.getContentLengthPlugin(this.config)),this.middlewareStack.use(Ee.getHostHeaderPlugin(this.config)),this.middlewareStack.use(ps.getLoggerPlugin(this.config)),this.middlewareStack.use(Ps.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(V.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:He.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(or)=>new V.DefaultIdentityProviderConfig({"aws.auth#sigv4":or.credentials})})),this.middlewareStack.use(V.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class q extends D.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,q.prototype)}}class n extends q{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,n.prototype),this.error=e.error}}class E extends q{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,E.prototype),this.error=e.error}}class L extends q{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,L.prototype),this.error=e.error}}class z extends q{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,z.prototype),this.error=e.error}}var Ns="AccessDeniedException",Us="AccessToken",ws="CreateOAuth2Token",Rs="CreateOAuth2TokenRequest",_s="CreateOAuth2TokenRequestBody",Ms="CreateOAuth2TokenResponseBody",is="CreateOAuth2TokenResponse",Gs="InternalServerException",ns="RefreshToken",Es="TooManyRequestsError",Ls="ValidationException",Ye="accessKeyId",Je="accessToken",g="client",Xe="clientId",Qe="codeVerifier",zs="code",b="error",Se="expiresIn",Ze="grantType",Hs="http",h="httpError",Be="idToken",o="jsonName",H="message",G="refreshToken",Ke="redirectUri",ks="server",Ve="secretAccessKey",je="sessionToken",fe="smithy.ts.sdk.synthetic.com.amazonaws.signin",Ws="tokenInput",Ys="tokenOutput",ge="tokenType",a="com.amazonaws.signin",Ae=[0,a,ns,8,0],$e=[-3,a,Ns,{[b]:g},[b,H],[0,0]];U.TypeRegistry.for(a).registerError($e,n);var Te=[3,a,Us,8,[Ye,Ve,je],[[0,{[o]:Ye}],[0,{[o]:Ve}],[0,{[o]:je}]]],Ce=[3,a,Rs,0,[Ws],[[()=>ce,16]]],ce=[3,a,_s,0,[Xe,Ze,zs,Ke,Qe,G],[[0,{[o]:Xe}],[0,{[o]:Ze}],0,[0,{[o]:Ke}],[0,{[o]:Qe}],[()=>Ae,{[o]:G}]]],me=[3,a,is,0,[Ys],[[()=>xe,16]]],xe=[3,a,Ms,0,[Je,ge,Se,G,Be],[[()=>Te,{[o]:Je}],[0,{[o]:ge}],[1,{[o]:Se}],[()=>Ae,{[o]:G}],[0,{[o]:Be}]]],er=[-3,a,Gs,{[b]:ks,[h]:500},[b,H],[0,0]];U.TypeRegistry.for(a).registerError(er,E);var rr=[-3,a,Es,{[b]:g,[h]:429},[b,H],[0,0]];U.TypeRegistry.for(a).registerError(rr,L);var sr=[-3,a,Ls,{[b]:g,[h]:400},[b,H],[0,0]];U.TypeRegistry.for(a).registerError(sr,z);var tr=[-3,fe,"SigninServiceException",0,[],[]];U.TypeRegistry.for(fe).registerError(tr,q);var dr=[9,a,ws,{[Hs]:["POST","/v1/token",200]},()=>Ce,()=>me];class f extends D.Command.classBuilder().ep(qs).m(function(e,r,s,p){return[he.getEndpointPlugin(s,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(dr).build(){}var Js={CreateOAuth2TokenCommand:f};class A extends j{}D.createAggregatedClient(Js,A);var Xs={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"};Object.defineProperty($,"$Command",{enumerable:!0,get:function(){return D.Command}});Object.defineProperty($,"__Client",{enumerable:!0,get:function(){return D.Client}});$.AccessDeniedException=n;$.AccessDeniedException$=$e;$.AccessToken$=Te;$.CreateOAuth2Token$=dr;$.CreateOAuth2TokenCommand=f;$.CreateOAuth2TokenRequest$=Ce;$.CreateOAuth2TokenRequestBody$=ce;$.CreateOAuth2TokenResponse$=me;$.CreateOAuth2TokenResponseBody$=xe;$.InternalServerException=E;$.InternalServerException$=er;$.OAuth2ErrorCode=Xs;$.Signin=A;$.SigninClient=j;$.SigninServiceException=q;$.SigninServiceException$=tr;$.TooManyRequestsError=L;$.TooManyRequestsError$=rr;$.ValidationException=z;$.ValidationException$=sr});export default tt();
3
-
4
- //# debugId=6EAE8000D0176B8364756E2164756E21
@@ -1,15 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js"],
4
- "sourcesContent": [
5
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSigninHttpAuthSchemeParametersProvider = defaultSigninHttpAuthSchemeParametersProvider;\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}\nconst 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};\nexports.defaultSigninHttpAuthSchemeProvider = defaultSigninHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n",
6
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst 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 }] };\nexports.ruleSet = _data;\n",
7
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n",
8
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst protocols_1 = require(\"@aws-sdk/core/protocols\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2023-01-01\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSigninHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.signin\",\n version: \"2023-01-01\",\n serviceTarget: \"Signin\",\n },\n serviceId: config?.serviceId ?? \"Signin\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n",
9
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(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 ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n",
10
- "'use strict';\n\nvar middlewareHostHeader = require('@aws-sdk/middleware-host-header');\nvar middlewareLogger = require('@aws-sdk/middleware-logger');\nvar middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');\nvar middlewareUserAgent = require('@aws-sdk/middleware-user-agent');\nvar configResolver = require('@smithy/config-resolver');\nvar core = require('@smithy/core');\nvar schema = require('@smithy/core/schema');\nvar middlewareContentLength = require('@smithy/middleware-content-length');\nvar middlewareEndpoint = require('@smithy/middleware-endpoint');\nvar middlewareRetry = require('@smithy/middleware-retry');\nvar smithyClient = require('@smithy/smithy-client');\nvar httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');\nvar runtimeConfig = require('./runtimeConfig');\nvar regionConfigResolver = require('@aws-sdk/region-config-resolver');\nvar protocolHttp = require('@smithy/protocol-http');\n\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"signin\",\n });\n};\nconst 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\nconst 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};\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n\nclass SigninClient extends smithyClient.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);\n const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);\n const _config_4 = configResolver.resolveRegionConfig(_config_3);\n const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);\n const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);\n const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));\n this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));\n this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));\n this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));\n this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));\n this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSigninHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(core.getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\nclass SigninServiceException extends smithyClient.ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SigninServiceException.prototype);\n }\n}\n\nclass AccessDeniedException extends SigninServiceException {\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}\nclass InternalServerException extends SigninServiceException {\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}\nclass TooManyRequestsError extends SigninServiceException {\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}\nclass ValidationException extends SigninServiceException {\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\nconst _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 = \"server\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _sm = \"smithy.ts.sdk.synthetic.com.amazonaws.signin\";\nconst _tI = \"tokenInput\";\nconst _tO = \"tokenOutput\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.signin\";\nvar RefreshToken = [0, n0, _RT, 8, 0];\nvar AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);\nvar 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];\nvar CreateOAuth2TokenRequest$ = [\n 3,\n n0,\n _COATR,\n 0,\n [_tI],\n [[() => CreateOAuth2TokenRequestBody$, 16]],\n];\nvar 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];\nvar CreateOAuth2TokenResponse$ = [\n 3,\n n0,\n _COATRr,\n 0,\n [_tO],\n [[() => CreateOAuth2TokenResponseBody$, 16]],\n];\nvar 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];\nvar InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_e, _m], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);\nvar TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(TooManyRequestsError$, TooManyRequestsError);\nvar ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);\nvar SigninServiceException$ = [-3, _sm, \"SigninServiceException\", 0, [], []];\nschema.TypeRegistry.for(_sm).registerError(SigninServiceException$, SigninServiceException);\nvar CreateOAuth2Token$ = [\n 9,\n n0,\n _COAT,\n { [_h]: [\"POST\", \"/v1/token\", 200] },\n () => CreateOAuth2TokenRequest$,\n () => CreateOAuth2TokenResponse$,\n];\n\nclass CreateOAuth2TokenCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"Signin\", \"CreateOAuth2Token\", {})\n .n(\"SigninClient\", \"CreateOAuth2TokenCommand\")\n .sc(CreateOAuth2Token$)\n .build() {\n}\n\nconst commands = {\n CreateOAuth2TokenCommand,\n};\nclass Signin extends SigninClient {\n}\nsmithyClient.createAggregatedClient(commands, Signin);\n\nconst OAuth2ErrorCode = {\n AUTHCODE_EXPIRED: \"AUTHCODE_EXPIRED\",\n INSUFFICIENT_PERMISSIONS: \"INSUFFICIENT_PERMISSIONS\",\n INVALID_REQUEST: \"INVALID_REQUEST\",\n SERVER_ERROR: \"server_error\",\n TOKEN_EXPIRED: \"TOKEN_EXPIRED\",\n USER_CREDENTIALS_CHANGED: \"USER_CREDENTIALS_CHANGED\",\n};\n\nObject.defineProperty(exports, \"$Command\", {\n enumerable: true,\n get: function () { return smithyClient.Command; }\n});\nObject.defineProperty(exports, \"__Client\", {\n enumerable: true,\n get: function () { return smithyClient.Client; }\n});\nexports.AccessDeniedException = AccessDeniedException;\nexports.AccessDeniedException$ = AccessDeniedException$;\nexports.AccessToken$ = AccessToken$;\nexports.CreateOAuth2Token$ = CreateOAuth2Token$;\nexports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand;\nexports.CreateOAuth2TokenRequest$ = CreateOAuth2TokenRequest$;\nexports.CreateOAuth2TokenRequestBody$ = CreateOAuth2TokenRequestBody$;\nexports.CreateOAuth2TokenResponse$ = CreateOAuth2TokenResponse$;\nexports.CreateOAuth2TokenResponseBody$ = CreateOAuth2TokenResponseBody$;\nexports.InternalServerException = InternalServerException;\nexports.InternalServerException$ = InternalServerException$;\nexports.OAuth2ErrorCode = OAuth2ErrorCode;\nexports.Signin = Signin;\nexports.SigninClient = SigninClient;\nexports.SigninServiceException = SigninServiceException;\nexports.SigninServiceException$ = SigninServiceException$;\nexports.TooManyRequestsError = TooManyRequestsError;\nexports.TooManyRequestsError$ = TooManyRequestsError$;\nexports.ValidationException = ValidationException;\nexports.ValidationException$ = ValidationException$;\n"
11
- ],
12
- "mappings": ";2tBACA,CAAO,SAAe,JAAS,OAAc,LAAE,AAAO,JAAK,LAAC,JACpD,wBAAsC,gCAA8C,gDAAqD,OACjJ,IAAM,OACA,OACA,GAAgD,MAAO,EAAQ,EAAS,IAAU,CACpF,MAAO,CACH,WAAY,EAAG,EAAkB,kBAAkB,CAAO,EAAE,UAC5D,OAAS,MAAO,EAAG,EAAkB,mBAAmB,EAAO,MAAM,EAAE,IAClE,IAAM,CACH,MAAU,MAAM,yDAAyD,IAC1E,CACX,GAEI,gDAAgD,GACxD,SAAS,EAAgC,CAAC,EAAgB,CACtD,MAAO,CACH,SAAU,iBACV,kBAAmB,CACf,KAAM,SACN,OAAQ,EAAe,MAC3B,EACA,oBAAqB,CAAC,EAAQ,KAAa,CACvC,kBAAmB,CACf,SACA,SACJ,CACJ,EACJ,EAEJ,SAAS,EAAmC,CAAC,EAAgB,CACzD,MAAO,CACH,SAAU,m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G,EAAY,EACf,EAAE,QAAS,CAAC,EAAS,EAAI,EAAQ,EAAG,CACrC,MAAO,CAAC,GAAmB,kBAAkB,EAAQ,EAAQ,iCAAiC,CAAC,CAAC,EACnG,EACI,EAAE,SAAU,oBAAqB,CAAC,CAAC,EACnC,EAAE,eAAgB,0BAA0B,EAC5C,GAAG,EAAkB,EACrB,MAAM,CAAE,CACb,CAEA,IAAM,GAAW,CACb,0BACJ,EACA,MAAM,UAAe,CAAa,CAClC,CACA,EAAa,uBAAuB,GAAU,CAAM,EAEpD,IAAM,GAAkB,CACpB,iBAAkB,mBAClB,yBAA0B,2BAC1B,gBAAiB,kBACjB,aAAc,eACd,cAAe,gBACf,yBAA0B,0BAC9B,EAEA,OAAO,eAAe,EAAS,WAAY,CACvC,WAAY,GACZ,IAAK,QAAS,EAAG,CAAE,OAAO,EAAa,QAC3C,CAAC,EACD,OAAO,eAAe,EAAS,WAAY,CACvC,WAAY,GACZ,IAAK,QAAS,EAAG,CAAE,OAAO,EAAa,OAC3C,CAAC,EACO,wBAAwB,EACxB,yBAAyB,GACzB,eAAe,GACf,qBAAqB,GACrB,2BAA2B,EAC3B,4BAA4B,GAC5B,gCAAgC,GAChC,6BAA6B,GAC7B,iCAAiC,GACjC,0BAA0B,EAC1B,2BAA2B,GAC3B,kBAAkB,GAClB,SAAS,EACT,eAAe,EACf,yBAAyB,EACzB,0BAA0B,GAC1B,uBAAuB,EACvB,wBAAwB,GACxB,sBAAsB,EACtB,uBAAuB",
13
- "debugId": "6EAE8000D0176B8364756E2164756E21",
14
- "names": []
15
- }
@@ -1,4 +0,0 @@
1
- // @bun
2
- import{Ca as re,Ea as U,Fa as nt,Ga as at,Ha as pt,Ja as Ne,Ka as We,La as it,Ma as ce,Na as dt,Oa as we,Pa as fe,Qa as le,Ra as ge,Sa as et,Ta as tt,Ua as st,Va as Ye,Wa as ot}from"./chunk-11yk2z9x.js";import{Xa as Xe,Ya as Ve}from"./chunk-95b92a6a.js";import"./chunk-ssvnwn8n.js";import{$a as Je,_a as ze,bb as Ze,eb as Ee,ib as l}from"./chunk-bqm0qsyv.js";import{jb as rt}from"./chunk-ap5svqgk.js";import"./chunk-wdhx2g1k.js";import{nb as He}from"./chunk-a9pdqf5t.js";import"./chunk-myee2gs0.js";import"./chunk-ak88bhtn.js";import"./chunk-zz9bxhhv.js";import{zb as t}from"./chunk-b6bzvtq4.js";var k=t(nt(),1),be=t(at(),1),Se=t(pt(),1),I=t(it(),1),Te=t(ce(),1),u=t(re(),1),Le=t(Ee(),1),Ae=t(dt(),1),ke=t(we(),1),$=t(le(),1),Ie=t(l(),1);var C=t(U(),1),_=t(ze(),1),P=async(e,s,r)=>{return{operation:_.getSmithyContext(s).operation,region:await _.normalizeProvider(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Qe(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,r)=>({signingProperties:{config:s,context:r}})}}function h(e){return{schemeId:"smithy.api#noAuth"}}var K=(e)=>{let s=[];switch(e.operation){case"GetRoleCredentials":{s.push(h(e));break}case"ListAccountRoles":{s.push(h(e));break}case"ListAccounts":{s.push(h(e));break}case"Logout":{s.push(h(e));break}default:s.push(Qe(e))}return s},z=(e)=>{let s=C.resolveAwsSdkSigV4Config(e);return Object.assign(s,{authSchemePreference:_.normalizeProvider(e.authSchemePreference??[])})};var Q=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},M={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var B={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.968.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:"rimraf ./dist-* && rimraf *.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.968.0","@aws-sdk/middleware-host-header":"3.968.0","@aws-sdk/middleware-logger":"3.968.0","@aws-sdk/middleware-recursion-detection":"3.968.0","@aws-sdk/middleware-user-agent":"3.968.0","@aws-sdk/region-config-resolver":"3.968.0","@aws-sdk/types":"3.968.0","@aws-sdk/util-endpoints":"3.968.0","@aws-sdk/util-user-agent-browser":"3.968.0","@aws-sdk/util-user-agent-node":"3.968.0","@smithy/config-resolver":"^4.4.5","@smithy/core":"^3.20.3","@smithy/fetch-http-handler":"^5.3.8","@smithy/hash-node":"^4.2.7","@smithy/invalid-dependency":"^4.2.7","@smithy/middleware-content-length":"^4.2.7","@smithy/middleware-endpoint":"^4.4.4","@smithy/middleware-retry":"^4.4.20","@smithy/middleware-serde":"^4.2.8","@smithy/middleware-stack":"^4.2.7","@smithy/node-config-provider":"^4.3.7","@smithy/node-http-handler":"^4.4.7","@smithy/protocol-http":"^5.3.7","@smithy/smithy-client":"^4.10.5","@smithy/types":"^4.11.0","@smithy/url-parser":"^4.2.7","@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.19","@smithy/util-defaults-mode-node":"^4.2.22","@smithy/util-endpoints":"^3.2.7","@smithy/util-middleware":"^4.2.7","@smithy/util-retry":"^4.2.7","@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",rimraf:"5.0.10",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 v=t(U(),1),E=t(ge(),1),d=t(ce(),1),ue=t(et(),1),w=t(le(),1),i=t(Ve(),1),b=t(Ze(),1),S=t(l(),1),me=t(tt(),1),_e=t(st(),1),ye=t(fe(),1);var oe=t(U(),1),ne=t(Ye(),1),ae=t(re(),1),pe=t(l(),1),ie=t(Xe(),1),R=t(Je(),1),x=t(He(),1);var te=t(We(),1),c=t(Ne(),1);var N={["required"]:!1,type:"string"},W={["required"]:!0,default:!1,type:"boolean"},O={["ref"]:"Endpoint"},V={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},f={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},n={},H={["fn"]:"getAttr",["argv"]:[{["ref"]:"PartitionResult"},"supportsFIPS"]},g={["ref"]:"PartitionResult"},J={["fn"]:"booleanEquals",["argv"]:[!0,{["fn"]:"getAttr",["argv"]:[g,"supportsDualStack"]}]},X=[V],Y=[f],Z=[{["ref"]:"Region"}],Be={version:"1.0",parameters:{Region:N,UseDualStack:W,UseFIPS:W,Endpoint:N},rules:[{conditions:[{["fn"]:"isSet",["argv"]:[O]}],rules:[{conditions:X,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:"error"},{conditions:Y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:"error"},{endpoint:{url:O,properties:n,headers:n},type:"endpoint"}],type:"tree"},{conditions:[{["fn"]:"isSet",["argv"]:Z}],rules:[{conditions:[{["fn"]:"aws.partition",["argv"]:Z,assign:"PartitionResult"}],rules:[{conditions:[V,f],rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[!0,H]},J],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:"endpoint"}],type:"tree"},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:"error"}],type:"tree"},{conditions:X,rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[H,!0]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[g,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:n,headers:n},type:"endpoint"},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:"endpoint"}],type:"tree"},{error:"FIPS is enabled but this partition does not support FIPS",type:"error"}],type:"tree"},{conditions:Y,rules:[{conditions:[J],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:"endpoint"}],type:"tree"},{error:"DualStack is enabled but this partition does not support DualStack",type:"error"}],type:"tree"},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:"endpoint"}],type:"tree"}],type:"tree"},{error:"Invalid Configuration: Missing Region",type:"error"}]},ee=Be;var Oe=new c.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),se=(e,s={})=>{return Oe.get(e,()=>c.resolveEndpoint(ee,{endpointParams:e,logger:s.logger}))};c.customEndpointFunctions.aws=te.awsEndpointFunctions;var de=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??R.fromBase64,base64Encoder:e?.base64Encoder??R.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??se,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??K,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new oe.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ae.NoAuthSigner}],logger:e?.logger??new pe.NoOpLogger,protocol:e?.protocol??ne.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??ie.parseUrl,utf8Decoder:e?.utf8Decoder??x.fromUtf8,utf8Encoder:e?.utf8Encoder??x.toUtf8}};var he=(e)=>{S.emitWarningIfUnsupportedVersion(process.version);let s=_e.resolveDefaultsModeConfig(e),r=()=>s().then(S.loadConfigsForDefaultMode),a=de(e);v.emitWarningIfUnsupportedVersion(process.version);let o={profile:e?.profile,logger:a.logger};return{...a,...e,runtime:"node",defaultsMode:s,authSchemePreference:e?.authSchemePreference??i.loadConfig(v.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??me.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??E.createDefaultUserAgentProvider({serviceId:a.serviceId,clientVersion:B.version}),maxAttempts:e?.maxAttempts??i.loadConfig(w.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??i.loadConfig(d.NODE_REGION_CONFIG_OPTIONS,{...d.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:b.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??i.loadConfig({...w.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ye.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ue.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??b.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??i.loadConfig(d.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??i.loadConfig(d.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??i.loadConfig(E.NODE_APP_ID_CONFIG_OPTIONS,o)}};var T=t(ot(),1),L=t(rt(),1),A=t(l(),1);var Re=(e)=>{let{httpAuthSchemes:s,httpAuthSchemeProvider:r,credentials:a}=e;return{setHttpAuthScheme(o){let y=s.findIndex((D)=>D.schemeId===o.schemeId);if(y===-1)s.push(o);else s.splice(y,1,o)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){a=o},credentials(){return a}}},xe=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};var ve=(e,s)=>{let r=Object.assign(T.getAwsRegionExtensionConfiguration(e),A.getDefaultExtensionConfiguration(e),L.getHttpHandlerExtensionConfiguration(e),Re(e));return s.forEach((a)=>a.configure(r)),Object.assign(e,T.resolveAwsRegionExtensionConfiguration(r),A.resolveDefaultRuntimeConfig(r),L.resolveHttpHandlerRuntimeConfig(r),xe(r))};class $e extends Ie.Client{config;constructor(...[e]){let s=he(e||{});super(s);this.initConfig=s;let r=Q(s),a=I.resolveUserAgentConfig(r),o=$.resolveRetryConfig(a),y=Te.resolveRegionConfig(o),D=k.resolveHostHeaderConfig(y),Ue=ke.resolveEndpointConfig(D),Ce=z(Ue),Pe=ve(Ce,e?.extensions||[]);this.config=Pe,this.middlewareStack.use(Le.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(I.getUserAgentPlugin(this.config)),this.middlewareStack.use($.getRetryPlugin(this.config)),this.middlewareStack.use(Ae.getContentLengthPlugin(this.config)),this.middlewareStack.use(k.getHostHeaderPlugin(this.config)),this.middlewareStack.use(be.getLoggerPlugin(this.config)),this.middlewareStack.use(Se.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(u.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:P,identityProviderConfigProvider:async(Ke)=>new u.DefaultIdentityProviderConfig({"aws.auth#sigv4":Ke.credentials})})),this.middlewareStack.use(u.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}var Fe=t(we(),1),Ge=t(l(),1);var m=t(Ee(),1);var qe=t(l(),1);class p extends qe.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,p.prototype)}}class q extends p{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,q.prototype)}}class j extends p{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype)}}class F extends p{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,F.prototype)}}class G extends p{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,G.prototype)}}var ct=[0,"com.amazonaws.sso","AccessTokenType",8,0],lt=[0,"com.amazonaws.sso","SecretAccessKeyType",8,0],ut=[0,"com.amazonaws.sso","SessionTokenType",8,0];var mt=[3,"com.amazonaws.sso","GetRoleCredentialsRequest",0,["roleName","accountId","accessToken"],[[0,{["httpQuery"]:"role_name"}],[0,{["httpQuery"]:"account_id"}],[()=>ct,{["httpHeader"]:"x-amz-sso_bearer_token"}]]],_t=[3,"com.amazonaws.sso","GetRoleCredentialsResponse",0,["roleCredentials"],[[()=>Rt,0]]],yt=[-3,"com.amazonaws.sso","InvalidRequestException",{["error"]:"client",["httpError"]:400},["message"],[0]];m.TypeRegistry.for("com.amazonaws.sso").registerError(yt,q);var ht=[-3,"com.amazonaws.sso","ResourceNotFoundException",{["error"]:"client",["httpError"]:404},["message"],[0]];m.TypeRegistry.for("com.amazonaws.sso").registerError(ht,j);var Rt=[3,"com.amazonaws.sso","RoleCredentials",0,["accessKeyId","secretAccessKey","sessionToken","expiration"],[0,[()=>lt,0],[()=>ut,0],1]];var xt=[-3,"com.amazonaws.sso","TooManyRequestsException",{["error"]:"client",["httpError"]:429},["message"],[0]];m.TypeRegistry.for("com.amazonaws.sso").registerError(xt,F);var vt=[-3,"com.amazonaws.sso","UnauthorizedException",{["error"]:"client",["httpError"]:401},["message"],[0]];m.TypeRegistry.for("com.amazonaws.sso").registerError(vt,G);var Et=[-3,"smithy.ts.sdk.synthetic.com.amazonaws.sso","SSOServiceException",0,[],[]];m.TypeRegistry.for("smithy.ts.sdk.synthetic.com.amazonaws.sso").registerError(Et,p);var je=[9,"com.amazonaws.sso","GetRoleCredentials",{["http"]:["GET","/federation/credentials",200]},()=>mt,()=>_t];class De extends Ge.Command.classBuilder().ep(M).m(function(e,s,r,a){return[Fe.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(je).build(){}export{$e as SSOClient,De as GetRoleCredentialsCommand};
3
-
4
- //# debugId=FE60E3B514F7EF1E64756E2164756E21
@@ -1,22 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js", "../../../node_modules/.bun/@aws-sdk+client-sso@3.968.0/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js"],
4
- "sourcesContent": [
5
- "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",
6
- "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",
7
- "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",
8
- "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",
9
- "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\";\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 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",
10
- "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",
11
- "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",
12
- "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",
13
- "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",
14
- "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",
15
- "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\";\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 }]]\n];\nexport var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,\n 0,\n [_rC],\n [[() => RoleCredentials$, 0]]\n];\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nTypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);\nexport var ListAccountRolesRequest$ = [3, n0, _LARR,\n 0,\n [_nT, _mR, _aT, _aI],\n [[0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }], [() => AccessTokenType, { [_hH]: _xasbt }], [0, { [_hQ]: _ai }]]\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 [_nT, _mR, _aT],\n [[0, { [_hQ]: _nt }], [1, { [_hQ]: _mr }], [() => AccessTokenType, { [_hH]: _xasbt }]]\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 }]]\n];\nexport var ResourceNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c, [_hE]: 404 },\n [_m],\n [0]\n];\nTypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);\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];\nexport var TooManyRequestsException$ = [-3, n0, _TMRE,\n { [_e]: _c, [_hE]: 429 },\n [_m],\n [0]\n];\nTypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);\nexport var UnauthorizedException$ = [-3, n0, _UE,\n { [_e]: _c, [_hE]: 401 },\n [_m],\n [0]\n];\nTypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);\nvar __Unit = \"unit\";\nexport var SSOServiceException$ = [-3, _s, \"SSOServiceException\", 0, [], []];\nTypeRegistry.for(_s).registerError(SSOServiceException$, SSOServiceException);\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",
16
- "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",
17
- "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"
18
- ],
19
- "mappings": ";gpBAAA,UACA,OACA,OACA,MACA,OACA,MACA,OACA,OACA,OACA,MACA,YCVA,eACA,YACa,EAA6C,MAAO,EAAQ,EAAS,IAAU,CACxF,MAAO,CACH,UAAW,mBAAiB,CAAO,EAAE,UACrC,OAAQ,MAAM,oBAAkB,EAAO,MAAM,EAAE,IAAM,IAAM,CACvD,MAAU,MAAM,yDAAyD,IAC1E,CACP,GAEJ,SAAS,EAAgC,CAAC,EAAgB,CACtD,MAAO,CACH,SAAU,iBACV,kBAAmB,CACf,KAAM,eACN,OAAQ,EAAe,MAC3B,EACA,oBAAqB,CAAC,EAAQ,KAAa,CACvC,kBAAmB,CACf,SACA,SACJ,CACJ,EACJ,EAEJ,SAAS,CAAmC,CAAC,EAAgB,CACzD,MAAO,CACH,SAAU,mBACd,EAEG,IAAM,EAAmC,CAAC,IAAmB,CAChE,IAAM,EAAU,CAAC,EACjB,OAAQ,EAAe,eACd,qBACD,CACI,EAAQ,KAAK,EAAoC,CAAc,CAAC,EAChE,KACJ,KAEC,mBACD,CACI,EAAQ,KAAK,EAAoC,CAAc,CAAC,EAChE,KACJ,KAEC,eACD,CACI,EAAQ,KAAK,EAAoC,CAAc,CAAC,EAChE,KACJ,KAEC,SACD,CACI,EAAQ,KAAK,EAAoC,CAAc,CAAC,EAChE,KACJ,SAGA,EAAQ,KAAK,GAAiC,CAAc,CAAC,EAGrE,OAAO,GAEE,EAA8B,CAAC,IAAW,CACnD,IAAM,EAAW,2BAAyB,CAAM,EAChD,OAAO,OAAO,OAAO,EAAU,CAC3B,qBAAsB,oBAAkB,EAAO,sBAAwB,CAAC,CAAC,CAC7E,CAAC,GCnEE,IAAM,EAAkC,CAAC,IAAY,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Sa as Iu,Ta as tu,Ua as Cu,Va as ku,Wa as ys}from"./chunk-11yk2z9x.js";import{Xa as Zu,Ya as Tu}from"./chunk-95b92a6a.js";import"./chunk-ssvnwn8n.js";import{$a as Uu,_a as bu,bb as vu,eb as us,ib as I}from"./chunk-bqm0qsyv.js";import{jb as rs}from"./chunk-ap5svqgk.js";import"./chunk-wdhx2g1k.js";import{nb as Qu}from"./chunk-a9pdqf5t.js";import"./chunk-myee2gs0.js";import"./chunk-ak88bhtn.js";import{yb as hu}from"./chunk-zz9bxhhv.js";import{Ab as B}from"./chunk-b6bzvtq4.js";var T=B((p)=>{Object.defineProperty(p,"__esModule",{value:!0});p.resolveHttpAuthSchemeConfig=p.defaultSSOOIDCHttpAuthSchemeProvider=p.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Fu=v(),h=bu(),qu=async(r,u,l)=>{return{operation:(0,h.getSmithyContext)(u).operation,region:await(0,h.normalizeProvider)(r.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};p.defaultSSOOIDCHttpAuthSchemeParametersProvider=qu;function Mu(r){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:r.region},propertiesExtractor:(u,l)=>({signingProperties:{config:u,context:l}})}}function _u(r){return{schemeId:"smithy.api#noAuth"}}var Ru=(r)=>{let u=[];switch(r.operation){case"CreateToken":{u.push(_u(r));break}default:u.push(Mu(r))}return u};p.defaultSSOOIDCHttpAuthSchemeProvider=Ru;var ju=(r)=>{let u=(0,Fu.resolveAwsSdkSigV4Config)(r);return Object.assign(u,{authSchemePreference:(0,h.normalizeProvider)(r.authSchemePreference??[])})};p.resolveHttpAuthSchemeConfig=ju});var _r=B((qr)=>{Object.defineProperty(qr,"__esModule",{value:!0});qr.ruleSet=void 0;var Pr="required",b="fn",F="argv",H="ref",c=!0,i="isSet",J="booleanEquals",W="error",Y="endpoint",j="tree",$="PartitionResult",O="getAttr",n={[Pr]:!1,type:"string"},rr={[Pr]:!0,default:!1,type:"boolean"},ur={[H]:"Endpoint"},yr={[b]:J,[F]:[{[H]:"UseFIPS"},!0]},br={[b]:J,[F]:[{[H]:"UseDualStack"},!0]},y={},sr={[b]:O,[F]:[{[H]:$},"supportsFIPS"]},Fr={[H]:$},dr={[b]:J,[F]:[!0,{[b]:O,[F]:[Fr,"supportsDualStack"]}]},lr=[yr],ar=[br],Nr=[{[H]:"Region"}],Bu={version:"1.0",parameters:{Region:n,UseDualStack:rr,UseFIPS:rr,Endpoint:n},rules:[{conditions:[{[b]:i,[F]:[ur]}],rules:[{conditions:lr,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:W},{conditions:ar,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:W},{endpoint:{url:ur,properties:y,headers:y},type:Y}],type:j},{conditions:[{[b]:i,[F]:Nr}],rules:[{conditions:[{[b]:"aws.partition",[F]:Nr,assign:$}],rules:[{conditions:[yr,br],rules:[{conditions:[{[b]:J,[F]:[c,sr]},dr],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:y,headers:y},type:Y}],type:j},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:W}],type:j},{conditions:lr,rules:[{conditions:[{[b]:J,[F]:[sr,c]}],rules:[{conditions:[{[b]:"stringEquals",[F]:[{[b]:O,[F]:[Fr,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:y,headers:y},type:Y},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:y,headers:y},type:Y}],type:j},{error:"FIPS is enabled but this partition does not support FIPS",type:W}],type:j},{conditions:ar,rules:[{conditions:[dr],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:y,headers:y},type:Y}],type:j},{error:"DualStack is enabled but this partition does not support DualStack",type:W}],type:j},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:y,headers:y},type:Y}],type:j}],type:j},{error:"Invalid Configuration: Missing Region",type:W}]};qr.ruleSet=Bu});var Lr=B((Rr)=>{Object.defineProperty(Rr,"__esModule",{value:!0});Rr.defaultEndpointResolver=void 0;var Hu=Yu(),m=Wu(),Ju=_r(),Ku=new m.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Xu=(r,u={})=>{return Ku.get(r,()=>(0,m.resolveEndpoint)(Ju.ruleSet,{endpointParams:r,logger:u.logger}))};Rr.defaultEndpointResolver=Xu;m.customEndpointFunctions.aws=Hu.awsEndpointFunctions});var Jr=B((Yr)=>{Object.defineProperty(Yr,"__esModule",{value:!0});Yr.getRuntimeConfig=void 0;var Au=v(),wu=ku(),Gu=Wr(),gu=I(),zu=Zu(),Vr=Uu(),Br=Qu(),eu=T(),fu=Lr(),Du=(r)=>{return{apiVersion:"2019-06-10",base64Decoder:r?.base64Decoder??Vr.fromBase64,base64Encoder:r?.base64Encoder??Vr.toBase64,disableHostPrefix:r?.disableHostPrefix??!1,endpointProvider:r?.endpointProvider??fu.defaultEndpointResolver,extensions:r?.extensions??[],httpAuthSchemeProvider:r?.httpAuthSchemeProvider??eu.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:r?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(u)=>u.getIdentityProvider("aws.auth#sigv4"),signer:new Au.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(u)=>u.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Gu.NoAuthSigner}],logger:r?.logger??new gu.NoOpLogger,protocol:r?.protocol??wu.AwsRestJsonProtocol,protocolSettings:r?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:r?.serviceId??"SSO OIDC",urlParser:r?.urlParser??zu.parseUrl,utf8Decoder:r?.utf8Decoder??Br.fromUtf8,utf8Encoder:r?.utf8Encoder??Br.toUtf8}};Yr.getRuntimeConfig=Du});var gr=B((wr)=>{Object.defineProperty(wr,"__esModule",{value:!0});wr.getRuntimeConfig=void 0;var Eu=hu(),Su=Eu.__importDefault(Ou()),Kr=v(),Xr=mu(),X=kr(),ou=Iu(),Qr=Ar(),V=Tu(),Ur=vu(),Zr=I(),pu=tu(),xu=Cu(),cu=$u(),iu=Jr(),nu=(r)=>{(0,Zr.emitWarningIfUnsupportedVersion)(process.version);let u=(0,xu.resolveDefaultsModeConfig)(r),l=()=>u().then(Zr.loadConfigsForDefaultMode),q=(0,iu.getRuntimeConfig)(r);(0,Kr.emitWarningIfUnsupportedVersion)(process.version);let a={profile:r?.profile,logger:q.logger};return{...q,...r,runtime:"node",defaultsMode:u,authSchemePreference:r?.authSchemePreference??(0,V.loadConfig)(Kr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,a),bodyLengthChecker:r?.bodyLengthChecker??pu.calculateBodyLength,defaultUserAgentProvider:r?.defaultUserAgentProvider??(0,Xr.createDefaultUserAgentProvider)({serviceId:q.serviceId,clientVersion:Su.default.version}),maxAttempts:r?.maxAttempts??(0,V.loadConfig)(Qr.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,r),region:r?.region??(0,V.loadConfig)(X.NODE_REGION_CONFIG_OPTIONS,{...X.NODE_REGION_CONFIG_FILE_OPTIONS,...a}),requestHandler:Ur.NodeHttpHandler.create(r?.requestHandler??l),retryMode:r?.retryMode??(0,V.loadConfig)({...Qr.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await l()).retryMode||cu.DEFAULT_RETRY_MODE},r),sha256:r?.sha256??ou.Hash.bind(null,"sha256"),streamCollector:r?.streamCollector??Ur.streamCollector,useDualstackEndpoint:r?.useDualstackEndpoint??(0,V.loadConfig)(X.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,a),useFipsEndpoint:r?.useFipsEndpoint??(0,V.loadConfig)(X.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,a),userAgentAppId:r?.userAgentAppId??(0,V.loadConfig)(Xr.NODE_APP_ID_CONFIG_OPTIONS,a)}};wr.getRuntimeConfig=nu});var hd=B((o)=>{var zr=ss(),bs=ds(),Fs=ls(),er=as(),qs=kr(),t=Wr(),P=us(),Ms=Ns(),Tr=Ps(),fr=Ar(),L=I(),Dr=T(),_s=gr(),hr=ys(),vr=rs(),Rs=(r)=>{return Object.assign(r,{useDualstackEndpoint:r.useDualstackEndpoint??!1,useFipsEndpoint:r.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},js={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Ls=(r)=>{let{httpAuthSchemes:u,httpAuthSchemeProvider:l,credentials:q}=r;return{setHttpAuthScheme(a){let K=u.findIndex((D)=>D.schemeId===a.schemeId);if(K===-1)u.push(a);else u.splice(K,1,a)},httpAuthSchemes(){return u},setHttpAuthSchemeProvider(a){l=a},httpAuthSchemeProvider(){return l},setCredentials(a){q=a},credentials(){return q}}},Vs=(r)=>{return{httpAuthSchemes:r.httpAuthSchemes(),httpAuthSchemeProvider:r.httpAuthSchemeProvider(),credentials:r.credentials()}},Bs=(r,u)=>{let l=Object.assign(hr.getAwsRegionExtensionConfiguration(r),L.getDefaultExtensionConfiguration(r),vr.getHttpHandlerExtensionConfiguration(r),Ls(r));return u.forEach((q)=>q.configure(l)),Object.assign(r,hr.resolveAwsRegionExtensionConfiguration(l),L.resolveDefaultRuntimeConfig(l),vr.resolveHttpHandlerRuntimeConfig(l),Vs(l))};class C extends L.Client{config;constructor(...[r]){let u=_s.getRuntimeConfig(r||{});super(u);this.initConfig=u;let l=Rs(u),q=er.resolveUserAgentConfig(l),a=fr.resolveRetryConfig(q),K=qs.resolveRegionConfig(a),D=zr.resolveHostHeaderConfig(K),au=Tr.resolveEndpointConfig(D),Nu=Dr.resolveHttpAuthSchemeConfig(au),Pu=Bs(Nu,r?.extensions||[]);this.config=Pu,this.middlewareStack.use(P.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(er.getUserAgentPlugin(this.config)),this.middlewareStack.use(fr.getRetryPlugin(this.config)),this.middlewareStack.use(Ms.getContentLengthPlugin(this.config)),this.middlewareStack.use(zr.getHostHeaderPlugin(this.config)),this.middlewareStack.use(bs.getLoggerPlugin(this.config)),this.middlewareStack.use(Fs.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(t.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Dr.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(yu)=>new t.DefaultIdentityProviderConfig({"aws.auth#sigv4":yu.credentials})})),this.middlewareStack.use(t.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class N extends L.ServiceException{constructor(r){super(r);Object.setPrototypeOf(this,N.prototype)}}class Q extends N{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(r){super({name:"AccessDeniedException",$fault:"client",...r});Object.setPrototypeOf(this,Q.prototype),this.error=r.error,this.reason=r.reason,this.error_description=r.error_description}}class U extends N{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(r){super({name:"AuthorizationPendingException",$fault:"client",...r});Object.setPrototypeOf(this,U.prototype),this.error=r.error,this.error_description=r.error_description}}class Z extends N{name="ExpiredTokenException";$fault="client";error;error_description;constructor(r){super({name:"ExpiredTokenException",$fault:"client",...r});Object.setPrototypeOf(this,Z.prototype),this.error=r.error,this.error_description=r.error_description}}class k extends N{name="InternalServerException";$fault="server";error;error_description;constructor(r){super({name:"InternalServerException",$fault:"server",...r});Object.setPrototypeOf(this,k.prototype),this.error=r.error,this.error_description=r.error_description}}class A extends N{name="InvalidClientException";$fault="client";error;error_description;constructor(r){super({name:"InvalidClientException",$fault:"client",...r});Object.setPrototypeOf(this,A.prototype),this.error=r.error,this.error_description=r.error_description}}class w extends N{name="InvalidGrantException";$fault="client";error;error_description;constructor(r){super({name:"InvalidGrantException",$fault:"client",...r});Object.setPrototypeOf(this,w.prototype),this.error=r.error,this.error_description=r.error_description}}class G extends N{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(r){super({name:"InvalidRequestException",$fault:"client",...r});Object.setPrototypeOf(this,G.prototype),this.error=r.error,this.reason=r.reason,this.error_description=r.error_description}}class g extends N{name="InvalidScopeException";$fault="client";error;error_description;constructor(r){super({name:"InvalidScopeException",$fault:"client",...r});Object.setPrototypeOf(this,g.prototype),this.error=r.error,this.error_description=r.error_description}}class z extends N{name="SlowDownException";$fault="client";error;error_description;constructor(r){super({name:"SlowDownException",$fault:"client",...r});Object.setPrototypeOf(this,z.prototype),this.error=r.error,this.error_description=r.error_description}}class e extends N{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(r){super({name:"UnauthorizedClientException",$fault:"client",...r});Object.setPrototypeOf(this,e.prototype),this.error=r.error,this.error_description=r.error_description}}class f extends N{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(r){super({name:"UnsupportedGrantTypeException",$fault:"client",...r});Object.setPrototypeOf(this,f.prototype),this.error=r.error,this.error_description=r.error_description}}var Ws="AccessDeniedException",Ys="AuthorizationPendingException",Hs="AccessToken",Js="ClientSecret",Ks="CreateToken",Xs="CreateTokenRequest",Qs="CreateTokenResponse",Us="CodeVerifier",Zs="ExpiredTokenException",ks="InvalidClientException",As="InvalidGrantException",ws="InvalidRequestException",Gs="InternalServerException",gs="InvalidScopeException",zs="IdToken",es="RefreshToken",fs="SlowDownException",Ds="UnauthorizedClientException",hs="UnsupportedGrantTypeException",vs="accessToken",R="client",Ts="clientId",$s="clientSecret",Os="codeVerifier",ms="code",Is="deviceCode",d="error",ts="expiresIn",M="error_description",Cs="grantType",Es="http",_="httpError",Ss="idToken",$r="reason",Or="refreshToken",os="redirectUri",ps="scope",xs="server",mr="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",cs="tokenType",s="com.amazonaws.ssooidc",is=[0,s,Hs,8,0],ns=[0,s,Js,8,0],rd=[0,s,Us,8,0],ud=[0,s,zs,8,0],Ir=[0,s,es,8,0],tr=[-3,s,Ws,{[d]:R,[_]:400},[d,$r,M],[0,0,0]];P.TypeRegistry.for(s).registerError(tr,Q);var Cr=[-3,s,Ys,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(Cr,U);var Er=[3,s,Xs,0,[Ts,$s,Cs,Is,ms,Or,ps,os,Os],[0,[()=>ns,0],0,0,0,[()=>Ir,0],64,0,[()=>rd,0]]],Sr=[3,s,Qs,0,[vs,cs,ts,Or,Ss],[[()=>is,0],0,1,[()=>Ir,0],[()=>ud,0]]],or=[-3,s,Zs,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(or,Z);var pr=[-3,s,Gs,{[d]:xs,[_]:500},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(pr,k);var xr=[-3,s,ks,{[d]:R,[_]:401},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(xr,A);var cr=[-3,s,As,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(cr,w);var ir=[-3,s,ws,{[d]:R,[_]:400},[d,$r,M],[0,0,0]];P.TypeRegistry.for(s).registerError(ir,G);var nr=[-3,s,gs,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(nr,g);var ru=[-3,s,fs,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(ru,z);var uu=[-3,s,Ds,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(uu,e);var su=[-3,s,hs,{[d]:R,[_]:400},[d,M],[0,0]];P.TypeRegistry.for(s).registerError(su,f);var du=[-3,mr,"SSOOIDCServiceException",0,[],[]];P.TypeRegistry.for(mr).registerError(du,N);var lu=[9,s,Ks,{[Es]:["POST","/token",200]},()=>Er,()=>Sr];class E extends L.Command.classBuilder().ep(js).m(function(r,u,l,q){return[Tr.getEndpointPlugin(l,r.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(lu).build(){}var sd={CreateTokenCommand:E};class S extends C{}L.createAggregatedClient(sd,S);var dd={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},ld={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};Object.defineProperty(o,"$Command",{enumerable:!0,get:function(){return L.Command}});Object.defineProperty(o,"__Client",{enumerable:!0,get:function(){return L.Client}});o.AccessDeniedException=Q;o.AccessDeniedException$=tr;o.AccessDeniedExceptionReason=dd;o.AuthorizationPendingException=U;o.AuthorizationPendingException$=Cr;o.CreateToken$=lu;o.CreateTokenCommand=E;o.CreateTokenRequest$=Er;o.CreateTokenResponse$=Sr;o.ExpiredTokenException=Z;o.ExpiredTokenException$=or;o.InternalServerException=k;o.InternalServerException$=pr;o.InvalidClientException=A;o.InvalidClientException$=xr;o.InvalidGrantException=w;o.InvalidGrantException$=cr;o.InvalidRequestException=G;o.InvalidRequestException$=ir;o.InvalidRequestExceptionReason=ld;o.InvalidScopeException=g;o.InvalidScopeException$=nr;o.SSOOIDC=S;o.SSOOIDCClient=C;o.SSOOIDCServiceException=N;o.SSOOIDCServiceException$=du;o.SlowDownException=z;o.SlowDownException$=ru;o.UnauthorizedClientException=e;o.UnauthorizedClientException$=uu;o.UnsupportedGrantTypeException=f;o.UnsupportedGrantTypeException$=su});export default hd();
3
-
4
- //# debugId=C92CBA969671075464756E2164756E21
@@ -1,15 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js", "../../../node_modules/.bun/@aws-sdk+nested-clients@3.968.0/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js"],
4
- "sourcesContent": [
5
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider;\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}\nconst 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};\nexports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n",
6
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst 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 }] };\nexports.ruleSet = _data;\n",
7
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n",
8
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst protocols_1 = require(\"@aws-sdk/core/protocols\");\nconst core_2 = require(\"@smithy/core\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new core_2.NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.ssooidc\",\n version: \"2019-06-10\",\n serviceTarget: \"AWSSSOOIDCService\",\n },\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n",
9
- "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../../../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(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 ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n",
10
- "'use strict';\n\nvar middlewareHostHeader = require('@aws-sdk/middleware-host-header');\nvar middlewareLogger = require('@aws-sdk/middleware-logger');\nvar middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');\nvar middlewareUserAgent = require('@aws-sdk/middleware-user-agent');\nvar configResolver = require('@smithy/config-resolver');\nvar core = require('@smithy/core');\nvar schema = require('@smithy/core/schema');\nvar middlewareContentLength = require('@smithy/middleware-content-length');\nvar middlewareEndpoint = require('@smithy/middleware-endpoint');\nvar middlewareRetry = require('@smithy/middleware-retry');\nvar smithyClient = require('@smithy/smithy-client');\nvar httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');\nvar runtimeConfig = require('./runtimeConfig');\nvar regionConfigResolver = require('@aws-sdk/region-config-resolver');\nvar protocolHttp = require('@smithy/protocol-http');\n\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\",\n });\n};\nconst 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\nconst 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};\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n\nclass SSOOIDCClient extends smithyClient.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);\n const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);\n const _config_4 = configResolver.resolveRegionConfig(_config_3);\n const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);\n const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);\n const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));\n this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));\n this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));\n this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));\n this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));\n this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(core.getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\nclass SSOOIDCServiceException extends smithyClient.ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);\n }\n}\n\nclass AccessDeniedException extends SSOOIDCServiceException {\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}\nclass AuthorizationPendingException extends SSOOIDCServiceException {\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}\nclass ExpiredTokenException extends SSOOIDCServiceException {\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}\nclass InternalServerException extends SSOOIDCServiceException {\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}\nclass InvalidClientException extends SSOOIDCServiceException {\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}\nclass InvalidGrantException extends SSOOIDCServiceException {\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}\nclass InvalidRequestException extends SSOOIDCServiceException {\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}\nclass InvalidScopeException extends SSOOIDCServiceException {\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}\nclass SlowDownException extends SSOOIDCServiceException {\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}\nclass UnauthorizedClientException extends SSOOIDCServiceException {\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}\nclass UnsupportedGrantTypeException extends SSOOIDCServiceException {\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\nconst _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 = \"scope\";\nconst _se = \"server\";\nconst _sm = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.ssooidc\";\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];\nvar AccessDeniedException$ = [\n -3,\n n0,\n _ADE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0],\n];\nschema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);\nvar AuthorizationPendingException$ = [\n -3,\n n0,\n _APE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nschema.TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);\nvar CreateTokenRequest$ = [\n 3,\n n0,\n _CTR,\n 0,\n [_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],\n [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],\n];\nvar 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 ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);\nvar InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);\nvar InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);\nvar InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);\nvar InvalidRequestException$ = [\n -3,\n n0,\n _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0],\n];\nschema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);\nvar InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);\nvar SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];\nschema.TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);\nvar UnauthorizedClientException$ = [\n -3,\n n0,\n _UCE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nschema.TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);\nvar UnsupportedGrantTypeException$ = [\n -3,\n n0,\n _UGTE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0],\n];\nschema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);\nvar SSOOIDCServiceException$ = [-3, _sm, \"SSOOIDCServiceException\", 0, [], []];\nschema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);\nvar CreateToken$ = [\n 9,\n n0,\n _CT,\n { [_h]: [\"POST\", \"/token\", 200] },\n () => CreateTokenRequest$,\n () => CreateTokenResponse$,\n];\n\nclass CreateTokenCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AWSSSOOIDCService\", \"CreateToken\", {})\n .n(\"SSOOIDCClient\", \"CreateTokenCommand\")\n .sc(CreateToken$)\n .build() {\n}\n\nconst commands = {\n CreateTokenCommand,\n};\nclass SSOOIDC extends SSOOIDCClient {\n}\nsmithyClient.createAggregatedClient(commands, SSOOIDC);\n\nconst AccessDeniedExceptionReason = {\n KMS_ACCESS_DENIED: \"KMS_AccessDeniedException\",\n};\nconst 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\nObject.defineProperty(exports, \"$Command\", {\n enumerable: true,\n get: function () { return smithyClient.Command; }\n});\nObject.defineProperty(exports, \"__Client\", {\n enumerable: true,\n get: function () { return smithyClient.Client; }\n});\nexports.AccessDeniedException = AccessDeniedException;\nexports.AccessDeniedException$ = AccessDeniedException$;\nexports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;\nexports.AuthorizationPendingException = AuthorizationPendingException;\nexports.AuthorizationPendingException$ = AuthorizationPendingException$;\nexports.CreateToken$ = CreateToken$;\nexports.CreateTokenCommand = CreateTokenCommand;\nexports.CreateTokenRequest$ = CreateTokenRequest$;\nexports.CreateTokenResponse$ = CreateTokenResponse$;\nexports.ExpiredTokenException = ExpiredTokenException;\nexports.ExpiredTokenException$ = ExpiredTokenException$;\nexports.InternalServerException = InternalServerException;\nexports.InternalServerException$ = InternalServerException$;\nexports.InvalidClientException = InvalidClientException;\nexports.InvalidClientException$ = InvalidClientException$;\nexports.InvalidGrantException = InvalidGrantException;\nexports.InvalidGrantException$ = InvalidGrantException$;\nexports.InvalidRequestException = InvalidRequestException;\nexports.InvalidRequestException$ = InvalidRequestException$;\nexports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;\nexports.InvalidScopeException = InvalidScopeException;\nexports.InvalidScopeException$ = InvalidScopeException$;\nexports.SSOOIDC = SSOOIDC;\nexports.SSOOIDCClient = SSOOIDCClient;\nexports.SSOOIDCServiceException = SSOOIDCServiceException;\nexports.SSOOIDCServiceException$ = SSOOIDCServiceException$;\nexports.SlowDownException = SlowDownException;\nexports.SlowDownException$ = SlowDownException$;\nexports.UnauthorizedClientException = UnauthorizedClientException;\nexports.UnauthorizedClientException$ = UnauthorizedClientException$;\nexports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;\nexports.UnsupportedGrantTypeException$ = UnsupportedGrantTypeException$;\n"
11
- ],
12
- "mappings": ";2tBACA,CAAO,SAAe,JAAS,OAAc,LAAE,AAAO,JAAK,LAAC,JACpD,wBAAsC,iCAA+C,iDAAsD,OACnJ,IAAM,OACA,OACA,GAAiD,MAAO,EAAQ,EAAS,IAAU,CACrF,MAAO,CACH,WAAY,EAAG,EAAkB,kBAAkB,CAAO,EAAE,UAC5D,OAAS,MAAO,EAAG,EAAkB,mBAAmB,EAAO,MAAM,EAAE,IAClE,IAAM,CACH,MAAU,MAAM,yDAAyD,IAC1E,CACX,GAEI,iDAAiD,GACzD,SAAS,EAAgC,CAAC,EAAgB,CACtD,MAAO,CACH,SAAU,iBACV,kBAAmB,CACf,KAAM,YACN,OAAQ,EAAe,MAC3B,EACA,oBAAqB,CAAC,EAAQ,KAAa,CACvC,kBAAmB,CACf,SACA,SACJ,CACJ,EACJ,EAEJ,SAAS,EAAmC,CAAC,EAAgB,CACzD,MAAO,CACH,SAAU,mBACd,EAEJ,IAAM,GAAuC,CAAC,IAAmB,CAC7D,IAAM,EAAU,CAAC,EACjB,OAAQ,EAAe,eACd,cAAe,CAChB,EAAQ,KAAK,GAAoC,CAAc,CAAC,EAChE,KACJ,SAEI,EAAQ,KAAK,GAAiC,CAAc,CAAC,EAGrE,OAAO,GAEH,uCAAuC,GAC/C,IAAM,GAA8B,CAAC,IAAW,CAC5C,IAAM,GAAY,EAAG,GAAO,0BAA0B,CAAM,EAC5D,OAAO,OAAO,OAAO,EAAU,CAC3B,sBAAuB,EAAG,EAAkB,mBAAmB,EAAO,sBAAwB,CAAC,CAAC,CACpG,CAAC,GAEG,8BAA8B,qBCtDtC,OAAO,eAAe,GAAS,aAAc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B,GACtB,uBAAuB,GACvB,wBAAwB,EACxB,yBAAyB,GACzB,0BAA0B,EAC1B,2BAA2B,GAC3B,yBAAyB,EACzB,0BAA0B,GAC1B,wBAAwB,EACxB,yBAAyB,GACzB,0BAA0B,EAC1B,2BAA2B,GAC3B,gCAAgC,GAChC,wBAAwB,EACxB,yBAAyB,GACzB,UAAU,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,2BAA2B,GAC3B,oBAAoB,EACpB,qBAAqB,GACrB,8BAA8B,EAC9B,+BAA+B,GAC/B,gCAAgC,EAChC,iCAAiC",
13
- "debugId": "C92CBA969671075464756E2164756E21",
14
- "names": []
15
- }
@@ -1,5 +0,0 @@
1
- // @bun
2
- import{Za as P}from"./chunk-ssvnwn8n.js";import{pb as S}from"./chunk-ak88bhtn.js";import{Ab as a}from"./chunk-b6bzvtq4.js";var p=a((w)=>{function y(e){let r={};if(e=e.replace(/^\?/,""),e)for(let t of e.split("&")){let[o,n=null]=t.split("=");if(o=decodeURIComponent(o),n)n=decodeURIComponent(n);if(!(o in r))r[o]=n;else if(Array.isArray(r[o]))r[o].push(n);else r[o]=[r[o],n]}return r}w.parseQueryString=y});var N=a((v)=>{var F=p(),d=(e)=>{if(typeof e==="string")return d(new URL(e));let{hostname:r,pathname:t,port:o,protocol:n,search:i}=e,s;if(i)s=F.parseQueryString(i);return{hostname:r,port:o?parseInt(o):void 0,protocol:n,path:t,query:s}};v.parseUrl=d});var Q=a((q)=>{var c=S(),u=P();function m(e){try{let r=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return r.delete("CONFIG"),r.delete("CONFIG_PREFIX_SEPARATOR"),r.delete("ENV"),[...r].join(", ")}catch(r){return e}}var I=(e,r)=>async()=>{try{let t=e(process.env,r);if(t===void 0)throw Error();return t}catch(t){throw new c.CredentialsProviderError(t.message||`Not found in ENV: ${m(e.toString())}`,{logger:r?.logger})}},A=(e,{preferredFile:r="config",...t}={})=>async()=>{let o=u.getProfileName(t),{configFile:n,credentialsFile:i}=await u.loadSharedConfigFiles(t),s=i[o]||{},f=n[o]||{},h=r==="config"?{...s,...f}:{...f,...s};try{let g=e(h,r==="config"?n:i);if(g===void 0)throw Error();return g}catch(l){throw new c.CredentialsProviderError(l.message||`Not found in config files w/ profile [${o}]: ${m(e.toString())}`,{logger:t.logger})}},R=(e)=>typeof e==="function",U=(e)=>R(e)?async()=>await e():c.fromStatic(e),O=({environmentVariableSelector:e,configFileSelector:r,default:t},o={})=>{let{signingName:n,logger:i}=o,s={signingName:n,logger:i};return c.memoize(c.chain(I(e,s),A(r,o),U(t)))};q.loadConfig=O});
3
- export{N as Xa,Q as Ya};
4
-
5
- //# debugId=91735227B710E37B64756E2164756E21
@@ -1,12 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../node_modules/.bun/@smithy+querystring-parser@4.2.8/node_modules/@smithy/querystring-parser/dist-cjs/index.js", "../../../node_modules/.bun/@smithy+url-parser@4.2.8/node_modules/@smithy/url-parser/dist-cjs/index.js", "../../../node_modules/.bun/@smithy+node-config-provider@4.3.8/node_modules/@smithy/node-config-provider/dist-cjs/index.js"],
4
- "sourcesContent": [
5
- "'use strict';\n\nfunction parseQueryString(querystring) {\n const query = {};\n querystring = querystring.replace(/^\\?/, \"\");\n if (querystring) {\n for (const pair of querystring.split(\"&\")) {\n let [key, value = null] = pair.split(\"=\");\n key = decodeURIComponent(key);\n if (value) {\n value = decodeURIComponent(value);\n }\n if (!(key in query)) {\n query[key] = value;\n }\n else if (Array.isArray(query[key])) {\n query[key].push(value);\n }\n else {\n query[key] = [query[key], value];\n }\n }\n }\n return query;\n}\n\nexports.parseQueryString = parseQueryString;\n",
6
- "'use strict';\n\nvar querystringParser = require('@smithy/querystring-parser');\n\nconst parseUrl = (url) => {\n if (typeof url === \"string\") {\n return parseUrl(new URL(url));\n }\n const { hostname, pathname, port, protocol, search } = url;\n let query;\n if (search) {\n query = querystringParser.parseQueryString(search);\n }\n return {\n hostname,\n port: port ? parseInt(port) : undefined,\n protocol,\n path: pathname,\n query,\n };\n};\n\nexports.parseUrl = parseUrl;\n",
7
- "'use strict';\n\nvar propertyProvider = require('@smithy/property-provider');\nvar sharedIniFileLoader = require('@smithy/shared-ini-file-loader');\n\nfunction getSelectorName(functionString) {\n try {\n const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));\n constants.delete(\"CONFIG\");\n constants.delete(\"CONFIG_PREFIX_SEPARATOR\");\n constants.delete(\"ENV\");\n return [...constants].join(\", \");\n }\n catch (e) {\n return functionString;\n }\n}\n\nconst fromEnv = (envVarSelector, options) => async () => {\n try {\n const config = envVarSelector(process.env, options);\n if (config === undefined) {\n throw new Error();\n }\n return config;\n }\n catch (e) {\n throw new propertyProvider.CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger });\n }\n};\n\nconst fromSharedConfigFiles = (configSelector, { preferredFile = \"config\", ...init } = {}) => async () => {\n const profile = sharedIniFileLoader.getProfileName(init);\n const { configFile, credentialsFile } = await sharedIniFileLoader.loadSharedConfigFiles(init);\n const profileFromCredentials = credentialsFile[profile] || {};\n const profileFromConfig = configFile[profile] || {};\n const mergedProfile = preferredFile === \"config\"\n ? { ...profileFromCredentials, ...profileFromConfig }\n : { ...profileFromConfig, ...profileFromCredentials };\n try {\n const cfgFile = preferredFile === \"config\" ? configFile : credentialsFile;\n const configValue = configSelector(mergedProfile, cfgFile);\n if (configValue === undefined) {\n throw new Error();\n }\n return configValue;\n }\n catch (e) {\n throw new propertyProvider.CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger });\n }\n};\n\nconst isFunction = (func) => typeof func === \"function\";\nconst fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : propertyProvider.fromStatic(defaultValue);\n\nconst loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {\n const { signingName, logger } = configuration;\n const envOptions = { signingName, logger };\n return propertyProvider.memoize(propertyProvider.chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));\n};\n\nexports.loadConfig = loadConfig;\n"
8
- ],
9
- "mappings": ";qJAEA,GAAS,LAAgB,CAAC,EAAa,CACnC,IAAM,EAAQ,CAAC,EAEf,GADA,EAAc,EAAY,QAAQ,MAAO,EAAE,EACvC,EACA,QAAW,KAAQ,EAAY,MAAM,GAAG,EAAG,CACvC,IAAK,EAAK,EAAQ,MAAQ,EAAK,MAAM,GAAG,EAExC,GADA,EAAM,mBAAmB,CAAG,EACxB,EACA,EAAQ,mBAAmB,CAAK,EAEpC,GAAI,EAAE,KAAO,GACT,EAAM,GAAO,EAEZ,QAAI,MAAM,QAAQ,EAAM,EAAI,EAC7B,EAAM,GAAK,KAAK,CAAK,EAGrB,OAAM,GAAO,CAAC,EAAM,GAAM,CAAK,EAI3C,OAAO,EAGH,mBAAmB,kBCxB3B,IAAI,MAEE,EAAW,CAAC,IAAQ,CACtB,GAAI,OAAO,IAAQ,SACf,OAAO,EAAS,IAAI,IAAI,CAAG,CAAC,EAEhC,IAAQ,WAAU,WAAU,OAAM,WAAU,UAAW,EACnD,EACJ,GAAI,EACA,EAAQ,EAAkB,iBAAiB,CAAM,EAErD,MAAO,CACH,WACA,KAAM,EAAO,SAAS,CAAI,EAAI,OAC9B,WACA,KAAM,EACN,OACJ,GAGI,WAAW,kBCpBnB,IAAI,MACA,MAEJ,SAAS,CAAe,CAAC,EAAgB,CACrC,GAAI,CACA,IAAM,EAAY,IAAI,IAAI,MAAM,KAAK,EAAe,MAAM,eAAe,GAAK,CAAC,CAAC,CAAC,EAIjF,OAHA,EAAU,OAAO,QAAQ,EACzB,EAAU,OAAO,yBAAyB,EAC1C,EAAU,OAAO,KAAK,EACf,CAAC,GAAG,CAAS,EAAE,KAAK,IAAI,EAEnC,MAAO,EAAG,CACN,OAAO,GAIf,IAAM,EAAU,CAAC,EAAgB,IAAY,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@@
1
- // @bun
2
- import{Ab as s}from"./chunk-b6bzvtq4.js";var i=s((t,e)=>{e.exports={name:"@aws-sdk/nested-clients",version:"3.968.0",description:"Nested clients for AWS SDK packages.",main:"./dist-cjs/index.js",module:"./dist-es/index.js",types:"./dist-types/index.d.ts",scripts:{build:"yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo",lint:"node ../../scripts/validation/submodules-linter.js --pkg nested-clients",test:"yarn g:vitest run","test:watch":"yarn g:vitest watch"},engines:{node:">=20.0.0"},sideEffects:!1,author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.968.0","@aws-sdk/middleware-host-header":"3.968.0","@aws-sdk/middleware-logger":"3.968.0","@aws-sdk/middleware-recursion-detection":"3.968.0","@aws-sdk/middleware-user-agent":"3.968.0","@aws-sdk/region-config-resolver":"3.968.0","@aws-sdk/types":"3.968.0","@aws-sdk/util-endpoints":"3.968.0","@aws-sdk/util-user-agent-browser":"3.968.0","@aws-sdk/util-user-agent-node":"3.968.0","@smithy/config-resolver":"^4.4.5","@smithy/core":"^3.20.3","@smithy/fetch-http-handler":"^5.3.8","@smithy/hash-node":"^4.2.7","@smithy/invalid-dependency":"^4.2.7","@smithy/middleware-content-length":"^4.2.7","@smithy/middleware-endpoint":"^4.4.4","@smithy/middleware-retry":"^4.4.20","@smithy/middleware-serde":"^4.2.8","@smithy/middleware-stack":"^4.2.7","@smithy/node-config-provider":"^4.3.7","@smithy/node-http-handler":"^4.4.7","@smithy/protocol-http":"^5.3.7","@smithy/smithy-client":"^4.10.5","@smithy/types":"^4.11.0","@smithy/url-parser":"^4.2.7","@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.19","@smithy/util-defaults-mode-node":"^4.2.22","@smithy/util-endpoints":"^3.2.7","@smithy/util-middleware":"^4.2.7","@smithy/util-retry":"^4.2.7","@smithy/util-utf8":"^4.2.0",tslib:"^2.6.2"},devDependencies:{concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"5.0.10",typescript:"~5.8.3"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],browser:{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"packages/nested-clients"},exports:{"./package.json":"./package.json","./sso-oidc":{types:"./dist-types/submodules/sso-oidc/index.d.ts",module:"./dist-es/submodules/sso-oidc/index.js",node:"./dist-cjs/submodules/sso-oidc/index.js",import:"./dist-es/submodules/sso-oidc/index.js",require:"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{types:"./dist-types/submodules/sts/index.d.ts",module:"./dist-es/submodules/sts/index.js",node:"./dist-cjs/submodules/sts/index.js",import:"./dist-es/submodules/sts/index.js",require:"./dist-cjs/submodules/sts/index.js"},"./signin":{types:"./dist-types/submodules/signin/index.d.ts",module:"./dist-es/submodules/signin/index.js",node:"./dist-cjs/submodules/signin/index.js",import:"./dist-es/submodules/signin/index.js",require:"./dist-cjs/submodules/signin/index.js"}}}});
3
- export{i as a};
4
-
5
- //# debugId=C72EF105EC25E29064756E2164756E21