@jjrawlins/cdk-diff-pr-github-action 1.5.5 → 1.5.7

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 (365) hide show
  1. package/.jsii +4 -4
  2. package/lib/CdkDiffIamTemplate.js +2 -2
  3. package/lib/CdkDiffIamTemplateStackSet.js +2 -2
  4. package/lib/CdkDiffStackWorkflow.js +1 -1
  5. package/lib/CdkDriftDetectionWorkflow.js +1 -1
  6. package/lib/CdkDriftIamTemplate.js +2 -2
  7. package/node_modules/@aws-sdk/client-cloudformation/package.json +38 -38
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
  10. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  11. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
  12. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  13. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  14. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  15. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  16. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  19. package/node_modules/@aws-sdk/core/package.json +13 -13
  20. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
  21. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  22. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  23. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  24. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
  25. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  26. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  27. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  28. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  29. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
  30. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  31. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
  32. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
  33. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  34. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
  35. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
  36. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  37. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  38. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  39. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  40. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
  41. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  42. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  43. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
  44. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  45. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  46. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  47. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  48. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  49. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
  50. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  51. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
  52. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  53. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
  54. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
  55. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  56. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
  57. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
  58. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
  59. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  60. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
  61. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  62. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  63. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  64. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
  65. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
  66. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
  67. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
  68. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
  69. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  70. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
  71. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  72. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  73. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  74. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  75. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  76. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  77. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  78. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  79. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  80. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  81. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  82. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  83. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  84. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  85. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  86. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  87. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  88. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +1 -53
  89. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  90. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  91. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  92. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  93. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  94. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  95. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  96. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  97. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  98. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  99. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  100. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  101. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  102. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  103. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  104. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  106. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  107. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  113. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  115. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  119. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  127. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  128. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  138. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  139. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  140. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  145. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  147. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  148. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  149. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  150. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  151. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  152. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
  153. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  154. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  155. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  156. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  157. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  158. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  159. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  160. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  161. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  162. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  163. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  164. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  165. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  166. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  167. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  168. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  169. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  170. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  171. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  190. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  191. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  192. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  193. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  194. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  197. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  198. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  199. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  200. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  202. package/node_modules/@aws-sdk/nested-clients/package.json +54 -36
  203. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  204. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  205. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  206. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  207. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  208. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  209. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  210. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
  211. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
  212. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
  213. package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
  214. package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
  215. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  216. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  217. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  218. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
  219. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
  220. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
  221. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
  222. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
  223. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
  224. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  225. package/node_modules/@aws-sdk/types/package.json +2 -2
  226. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  227. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  228. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  229. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  230. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
  231. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
  232. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  233. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +51 -8
  234. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +7 -2
  235. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +1 -1
  236. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +14 -0
  237. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +24 -0
  238. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +9 -0
  239. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
  240. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
  241. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  242. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +1 -0
  243. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
  244. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -6
  245. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  246. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
  247. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
  248. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  249. package/node_modules/@smithy/abort-controller/package.json +2 -2
  250. package/node_modules/@smithy/config-resolver/package.json +5 -5
  251. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +23 -3
  252. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +22 -2
  253. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  254. package/node_modules/@smithy/core/package.json +7 -7
  255. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  256. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  257. package/node_modules/@smithy/hash-node/package.json +2 -2
  258. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  259. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  260. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  261. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  262. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  263. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  264. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  265. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  266. package/node_modules/@smithy/property-provider/package.json +2 -2
  267. package/node_modules/@smithy/protocol-http/package.json +2 -2
  268. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  269. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  270. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  271. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  272. package/node_modules/@smithy/signature-v4/package.json +4 -4
  273. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +20 -1
  274. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  275. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  276. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  277. package/node_modules/@smithy/smithy-client/package.json +10 -8
  278. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  279. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  280. package/node_modules/@smithy/types/package.json +1 -1
  281. package/node_modules/@smithy/url-parser/package.json +3 -3
  282. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  283. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  284. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  285. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  286. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  287. package/node_modules/@smithy/util-middleware/package.json +2 -2
  288. package/node_modules/@smithy/util-retry/package.json +3 -3
  289. package/node_modules/@smithy/util-stream/package.json +4 -4
  290. package/node_modules/@smithy/util-waiter/package.json +3 -3
  291. package/package.json +6 -6
  292. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  293. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  294. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  295. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
  296. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
  297. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  298. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  299. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  300. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  301. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  302. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  303. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
  304. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
  305. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  306. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  307. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  308. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  309. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  310. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  311. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  312. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  313. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  314. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
  315. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  316. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  317. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  318. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  319. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  320. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  321. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  322. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  323. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  324. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  325. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-Bw7VSvlO.js +0 -8
  326. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  327. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  328. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
  329. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
  330. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
  331. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  332. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  333. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  334. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  335. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  336. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  337. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  338. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  339. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  340. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  341. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  342. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
  343. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  344. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  345. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  346. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  347. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  348. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  349. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  350. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  351. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  352. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  353. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  354. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  355. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  356. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  357. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  358. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  359. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  360. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  361. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  362. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  363. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  364. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  365. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -1,11 +1,12 @@
1
- import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
1
+ import { resolveAwsSdkSigV4Config } from "@aws-sdk/core";
2
2
  import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: await normalizeProvider(config.region)() || (() => {
7
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
- })(),
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
9
10
  };
10
11
  };
11
12
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -31,30 +32,10 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
31
32
  export const defaultSSOHttpAuthSchemeProvider = (authParameters) => {
32
33
  const options = [];
33
34
  switch (authParameters.operation) {
34
- case "GetRoleCredentials":
35
- {
36
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
37
- break;
38
- }
39
- ;
40
- case "ListAccountRoles":
41
- {
42
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
43
- break;
44
- }
45
- ;
46
- case "ListAccounts":
47
- {
48
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
49
- break;
50
- }
51
- ;
52
- case "Logout":
53
- {
54
- options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
55
- break;
56
- }
57
- ;
35
+ case "GetRoleCredentials": {
36
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
37
+ break;
38
+ }
58
39
  default: {
59
40
  options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
60
41
  }
@@ -0,0 +1 @@
1
+ export * from "./GetRoleCredentialsCommand";
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,103 @@
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const 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" }];
3
+ const _data = {
4
+ version: "1.0",
5
+ parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
6
+ rules: [
7
+ {
8
+ conditions: [{ [v]: b, [w]: [k] }],
9
+ rules: [
10
+ { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
11
+ { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
12
+ { endpoint: { url: k, properties: n, headers: n }, type: e },
13
+ ],
14
+ type: f,
15
+ },
16
+ {
17
+ conditions: [{ [v]: b, [w]: t }],
18
+ rules: [
19
+ {
20
+ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
21
+ rules: [
22
+ {
23
+ conditions: [l, m],
24
+ rules: [
25
+ {
26
+ conditions: [{ [v]: c, [w]: [a, o] }, q],
27
+ rules: [
28
+ {
29
+ endpoint: {
30
+ url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
31
+ properties: n,
32
+ headers: n,
33
+ },
34
+ type: e,
35
+ },
36
+ ],
37
+ type: f,
38
+ },
39
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
40
+ ],
41
+ type: f,
42
+ },
43
+ {
44
+ conditions: r,
45
+ rules: [
46
+ {
47
+ conditions: [{ [v]: c, [w]: [o, a] }],
48
+ rules: [
49
+ {
50
+ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
51
+ endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n },
52
+ type: e,
53
+ },
54
+ {
55
+ endpoint: {
56
+ url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
57
+ properties: n,
58
+ headers: n,
59
+ },
60
+ type: e,
61
+ },
62
+ ],
63
+ type: f,
64
+ },
65
+ { error: "FIPS is enabled but this partition does not support FIPS", type: d },
66
+ ],
67
+ type: f,
68
+ },
69
+ {
70
+ conditions: s,
71
+ rules: [
72
+ {
73
+ conditions: [q],
74
+ rules: [
75
+ {
76
+ endpoint: {
77
+ url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
78
+ properties: n,
79
+ headers: n,
80
+ },
81
+ type: e,
82
+ },
83
+ ],
84
+ type: f,
85
+ },
86
+ { error: "DualStack is enabled but this partition does not support DualStack", type: d },
87
+ ],
88
+ type: f,
89
+ },
90
+ {
91
+ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
92
+ type: e,
93
+ },
94
+ ],
95
+ type: f,
96
+ },
97
+ ],
98
+ type: f,
99
+ },
100
+ { error: "Invalid Configuration: Missing Region", type: d },
101
+ ],
102
+ };
103
+ export const ruleSet = _data;
@@ -2,7 +2,6 @@ export * from "./SSOClient";
2
2
  export * from "./SSO";
3
3
  export * from "./commands";
4
4
  export * from "./schemas/schemas_0";
5
- export * from "./pagination";
6
5
  export * from "./models/errors";
7
6
  export * from "./models/models_0";
8
7
  export { SSOServiceException } from "./models/SSOServiceException";
@@ -0,0 +1,33 @@
1
+ import packageInfo from "../../../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
23
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
24
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
25
+ region: config?.region ?? invalidProvider("Region is missing"),
26
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
27
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
28
+ sha256: config?.sha256 ?? Sha256,
29
+ streamCollector: config?.streamCollector ?? streamCollector,
30
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
31
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
32
+ };
33
+ };
@@ -0,0 +1,48 @@
1
+ import packageInfo from "../../../package.json";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
4
+ import { 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";
5
+ import { Hash } from "@smithy/hash-node";
6
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
7
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
8
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
9
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
12
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
13
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
14
+ export const getRuntimeConfig = (config) => {
15
+ emitWarningIfUnsupportedVersion(process.version);
16
+ const defaultsMode = resolveDefaultsModeConfig(config);
17
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
18
+ const clientSharedValues = getSharedRuntimeConfig(config);
19
+ awsCheckVersion(process.version);
20
+ const loaderConfig = {
21
+ profile: config?.profile,
22
+ logger: clientSharedValues.logger,
23
+ };
24
+ return {
25
+ ...clientSharedValues,
26
+ ...config,
27
+ runtime: "node",
28
+ defaultsMode,
29
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
30
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
34
+ region: config?.region ??
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
+ retryMode: config?.retryMode ??
38
+ loadNodeConfig({
39
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
41
+ }, config),
42
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
+ streamCollector: config?.streamCollector ?? streamCollector,
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
+ };
48
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,9 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
9
+ };
@@ -0,0 +1,87 @@
1
+ const _ATT = "AccessTokenType";
2
+ const _GRC = "GetRoleCredentials";
3
+ const _GRCR = "GetRoleCredentialsRequest";
4
+ const _GRCRe = "GetRoleCredentialsResponse";
5
+ const _IRE = "InvalidRequestException";
6
+ const _RC = "RoleCredentials";
7
+ const _RNFE = "ResourceNotFoundException";
8
+ const _SAKT = "SecretAccessKeyType";
9
+ const _STT = "SessionTokenType";
10
+ const _TMRE = "TooManyRequestsException";
11
+ const _UE = "UnauthorizedException";
12
+ const _aI = "accountId";
13
+ const _aKI = "accessKeyId";
14
+ const _aT = "accessToken";
15
+ const _ai = "account_id";
16
+ const _c = "client";
17
+ const _e = "error";
18
+ const _ex = "expiration";
19
+ const _h = "http";
20
+ const _hE = "httpError";
21
+ const _hH = "httpHeader";
22
+ const _hQ = "httpQuery";
23
+ const _m = "message";
24
+ const _rC = "roleCredentials";
25
+ const _rN = "roleName";
26
+ const _rn = "role_name";
27
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
28
+ const _sAK = "secretAccessKey";
29
+ const _sT = "sessionToken";
30
+ const _xasbt = "x-amz-sso_bearer_token";
31
+ const n0 = "com.amazonaws.sso";
32
+ import { TypeRegistry } from "@smithy/core/schema";
33
+ import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
34
+ import { SSOServiceException } from "../models/SSOServiceException";
35
+ const _s_registry = TypeRegistry.for(_s);
36
+ export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
37
+ _s_registry.registerError(SSOServiceException$, SSOServiceException);
38
+ const n0_registry = TypeRegistry.for(n0);
39
+ export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
40
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
41
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
42
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
43
+ export var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
44
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
45
+ export var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
46
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
47
+ export const errorTypeRegistries = [_s_registry, n0_registry];
48
+ var AccessTokenType = [0, n0, _ATT, 8, 0];
49
+ var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
50
+ var SessionTokenType = [0, n0, _STT, 8, 0];
51
+ export var GetRoleCredentialsRequest$ = [
52
+ 3,
53
+ n0,
54
+ _GRCR,
55
+ 0,
56
+ [_rN, _aI, _aT],
57
+ [
58
+ [0, { [_hQ]: _rn }],
59
+ [0, { [_hQ]: _ai }],
60
+ [() => AccessTokenType, { [_hH]: _xasbt }],
61
+ ],
62
+ 3,
63
+ ];
64
+ export var GetRoleCredentialsResponse$ = [
65
+ 3,
66
+ n0,
67
+ _GRCRe,
68
+ 0,
69
+ [_rC],
70
+ [[() => RoleCredentials$, 0]],
71
+ ];
72
+ export var RoleCredentials$ = [
73
+ 3,
74
+ n0,
75
+ _RC,
76
+ 0,
77
+ [_aKI, _sAK, _sT, _ex],
78
+ [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1],
79
+ ];
80
+ export var GetRoleCredentials$ = [
81
+ 9,
82
+ n0,
83
+ _GRC,
84
+ { [_h]: ["GET", "/federation/credentials", 200] },
85
+ () => GetRoleCredentialsRequest$,
86
+ () => GetRoleCredentialsResponse$,
87
+ ];
@@ -1,4 +1,103 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const 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" }];
3
- const _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 }] };
2
+ const 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" }];
3
+ const _data = {
4
+ version: "1.0",
5
+ parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
6
+ rules: [
7
+ {
8
+ conditions: [{ [v]: b, [w]: [k] }],
9
+ rules: [
10
+ { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
11
+ { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
12
+ { endpoint: { url: k, properties: n, headers: n }, type: e },
13
+ ],
14
+ type: f,
15
+ },
16
+ {
17
+ conditions: [{ [v]: b, [w]: t }],
18
+ rules: [
19
+ {
20
+ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
21
+ rules: [
22
+ {
23
+ conditions: [l, m],
24
+ rules: [
25
+ {
26
+ conditions: [{ [v]: c, [w]: [a, o] }, q],
27
+ rules: [
28
+ {
29
+ endpoint: {
30
+ url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
31
+ properties: n,
32
+ headers: n,
33
+ },
34
+ type: e,
35
+ },
36
+ ],
37
+ type: f,
38
+ },
39
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
40
+ ],
41
+ type: f,
42
+ },
43
+ {
44
+ conditions: r,
45
+ rules: [
46
+ {
47
+ conditions: [{ [v]: c, [w]: [o, a] }],
48
+ rules: [
49
+ {
50
+ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
51
+ endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
52
+ type: e,
53
+ },
54
+ {
55
+ endpoint: {
56
+ url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
57
+ properties: n,
58
+ headers: n,
59
+ },
60
+ type: e,
61
+ },
62
+ ],
63
+ type: f,
64
+ },
65
+ { error: "FIPS is enabled but this partition does not support FIPS", type: d },
66
+ ],
67
+ type: f,
68
+ },
69
+ {
70
+ conditions: s,
71
+ rules: [
72
+ {
73
+ conditions: [q],
74
+ rules: [
75
+ {
76
+ endpoint: {
77
+ url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
78
+ properties: n,
79
+ headers: n,
80
+ },
81
+ type: e,
82
+ },
83
+ ],
84
+ type: f,
85
+ },
86
+ { error: "DualStack is enabled but this partition does not support DualStack", type: d },
87
+ ],
88
+ type: f,
89
+ },
90
+ {
91
+ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
92
+ type: e,
93
+ },
94
+ ],
95
+ type: f,
96
+ },
97
+ ],
98
+ type: f,
99
+ },
100
+ { error: "Invalid Configuration: Missing Region", type: d },
101
+ ],
102
+ };
4
103
  export const ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
2
  import { stsRegionDefaultResolver } from "@aws-sdk/region-config-resolver";
3
3
  import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
4
- import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
4
+ import { AssumeRoleWithWebIdentityCommand } from "./commands/AssumeRoleWithWebIdentityCommand";
5
5
  const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
6
6
  if (typeof assumedRoleUser?.Arn === "string") {
7
7
  const arnComponents = assumedRoleUser.Arn.split(":");