@jjrawlins/cdk-iam-policy-builder-helper 0.0.87 → 0.0.88

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 (296) hide show
  1. package/.jsii +3 -3
  2. package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
  3. package/cdkiampolicybuilderhelper/version +1 -1
  4. package/lib/constructs/Actions.d.ts +61 -0
  5. package/lib/constructs/Actions.js +62 -1
  6. package/lib/constructs/ManagedPolicies.d.ts +20 -0
  7. package/lib/constructs/ManagedPolicies.js +21 -1
  8. package/methods_list.txt +61 -0
  9. package/node_modules/@aws-sdk/client-iam/README.md +24 -0
  10. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +305 -176
  11. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +6 -0
  12. package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOutboundWebIdentityFederationCommand.js +16 -0
  13. package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOutboundWebIdentityFederationCommand.js +16 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOutboundWebIdentityFederationInfoCommand.js +16 -0
  15. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +3 -0
  16. package/node_modules/@aws-sdk/client-iam/dist-es/index.js +2 -1
  17. package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +176 -0
  18. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +431 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +1 -467
  20. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +1 -117
  21. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +62 -1
  22. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +24 -0
  23. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +5 -2
  24. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOutboundWebIdentityFederationCommand.d.ts +74 -0
  25. package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOutboundWebIdentityFederationCommand.d.ts +78 -0
  26. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +77 -0
  27. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +3 -0
  66. package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +4 -1
  67. package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +392 -0
  68. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +463 -0
  69. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +1641 -681
  70. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +2 -1763
  71. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +7 -0
  72. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +72 -0
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +18 -0
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +45 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +47 -0
  76. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +47 -0
  77. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  81. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  99. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  101. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +3 -0
  116. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +4 -1
  117. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +222 -0
  118. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +297 -0
  119. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +276 -416
  120. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +1 -334
  121. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  122. package/node_modules/@aws-sdk/client-iam/package.json +19 -19
  123. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -1
  124. package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
  125. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -49
  126. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +1 -1
  127. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -1
  128. package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
  129. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -53
  130. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +2 -1
  131. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
  132. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -30
  133. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  134. package/node_modules/@aws-sdk/core/package.json +4 -4
  135. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  136. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  137. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +15 -0
  138. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
  139. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +4 -0
  140. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +4 -3
  141. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +10 -0
  142. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +3 -1
  143. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +7 -0
  144. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  145. package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
  146. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  147. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
  148. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
  149. package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
  150. package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
  151. package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
  152. package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
  153. package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
  154. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
  155. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
  156. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
  157. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
  158. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
  159. package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  160. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  161. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  162. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  163. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  164. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  165. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  167. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  168. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +439 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +54 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +42 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +10 -9
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +6 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +49 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +38 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +221 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +2 -1
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -1
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -1
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -85
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +1 -1
  207. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +198 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +38 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -0
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +16 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +59 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +59 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +58 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +33 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +14 -0
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +3 -1
  229. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -303
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +2 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +108 -0
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -108
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +127 -0
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +10 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +121 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +114 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +125 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +53 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +19 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +3 -1
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -114
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +2 -1
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -54
  263. package/node_modules/@aws-sdk/nested-clients/package.json +29 -18
  264. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
  265. package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
  266. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  267. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  268. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +2 -0
  269. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +2 -0
  270. package/node_modules/@aws-sdk/types/package.json +1 -1
  271. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  272. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  273. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  274. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +6 -0
  275. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +6 -0
  276. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  277. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  278. package/node_modules/@smithy/core/package.json +1 -1
  279. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  280. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  281. package/node_modules/@smithy/smithy-client/package.json +3 -3
  282. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  283. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  284. package/package.json +3 -3
  285. package/node_modules/@aws-sdk/client-iam/dist-es/models/index.js +0 -2
  286. package/node_modules/@aws-sdk/client-iam/dist-types/models/index.d.ts +0 -2
  287. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/index.d.ts +0 -2
  288. package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
  289. package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
  290. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
  291. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
  292. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
  293. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
  294. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
1
  /**
4
2
  * <p>Provides information about your AWS account.</p>
5
3
  * @public
@@ -82,57 +80,6 @@ export interface GetRoleCredentialsResponse {
82
80
  */
83
81
  roleCredentials?: RoleCredentials | undefined;
84
82
  }
85
- /**
86
- * <p>Indicates that a problem occurred with the input to the request. For example, a required
87
- * parameter might be missing or out of range.</p>
88
- * @public
89
- */
90
- export declare class InvalidRequestException extends __BaseException {
91
- readonly name: "InvalidRequestException";
92
- readonly $fault: "client";
93
- /**
94
- * @internal
95
- */
96
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
97
- }
98
- /**
99
- * <p>The specified resource doesn't exist.</p>
100
- * @public
101
- */
102
- export declare class ResourceNotFoundException extends __BaseException {
103
- readonly name: "ResourceNotFoundException";
104
- readonly $fault: "client";
105
- /**
106
- * @internal
107
- */
108
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
109
- }
110
- /**
111
- * <p>Indicates that the request is being made too frequently and is more than what the server
112
- * can handle.</p>
113
- * @public
114
- */
115
- export declare class TooManyRequestsException extends __BaseException {
116
- readonly name: "TooManyRequestsException";
117
- readonly $fault: "client";
118
- /**
119
- * @internal
120
- */
121
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
122
- }
123
- /**
124
- * <p>Indicates that the request is not authorized. This can happen due to an invalid access
125
- * token in the request.</p>
126
- * @public
127
- */
128
- export declare class UnauthorizedException extends __BaseException {
129
- readonly name: "UnauthorizedException";
130
- readonly $fault: "client";
131
- /**
132
- * @internal
133
- */
134
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
135
- }
136
83
  /**
137
84
  * @public
138
85
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SSOExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { SSOServiceException } from "./models/SSOServiceException";
@@ -0,0 +1,30 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
+ export declare class InvalidRequestException extends __BaseException {
4
+ readonly name: "InvalidRequestException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ResourceNotFoundException extends __BaseException {
11
+ readonly name: "ResourceNotFoundException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
15
+ );
16
+ }
17
+ export declare class TooManyRequestsException extends __BaseException {
18
+ readonly name: "TooManyRequestsException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
22
+ );
23
+ }
24
+ export declare class UnauthorizedException extends __BaseException {
25
+ readonly name: "UnauthorizedException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
29
+ );
30
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
1
  export interface AccountInfo {
4
2
  accountId?: string | undefined;
5
3
  accountName?: string | undefined;
@@ -19,34 +17,6 @@ export interface RoleCredentials {
19
17
  export interface GetRoleCredentialsResponse {
20
18
  roleCredentials?: RoleCredentials | undefined;
21
19
  }
22
- export declare class InvalidRequestException extends __BaseException {
23
- readonly name: "InvalidRequestException";
24
- readonly $fault: "client";
25
- constructor(
26
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
27
- );
28
- }
29
- export declare class ResourceNotFoundException extends __BaseException {
30
- readonly name: "ResourceNotFoundException";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
34
- );
35
- }
36
- export declare class TooManyRequestsException extends __BaseException {
37
- readonly name: "TooManyRequestsException";
38
- readonly $fault: "client";
39
- constructor(
40
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
41
- );
42
- }
43
- export declare class UnauthorizedException extends __BaseException {
44
- readonly name: "UnauthorizedException";
45
- readonly $fault: "client";
46
- constructor(
47
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
48
- );
49
- }
50
20
  export interface ListAccountRolesRequest {
51
21
  nextToken?: string | undefined;
52
22
  maxResults?: number | undefined;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/middleware-host-header": "3.930.0",
25
- "@aws-sdk/middleware-logger": "3.930.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
27
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
- "@aws-sdk/region-config-resolver": "3.930.0",
29
- "@aws-sdk/types": "3.930.0",
30
- "@aws-sdk/util-endpoints": "3.930.0",
31
- "@aws-sdk/util-user-agent-browser": "3.930.0",
32
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/middleware-host-header": "3.936.0",
25
+ "@aws-sdk/middleware-logger": "3.936.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
27
+ "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/region-config-resolver": "3.936.0",
29
+ "@aws-sdk/types": "3.936.0",
30
+ "@aws-sdk/util-endpoints": "3.936.0",
31
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
32
+ "@aws-sdk/util-user-agent-node": "3.936.0",
33
33
  "@smithy/config-resolver": "^4.4.3",
34
- "@smithy/core": "^3.18.2",
34
+ "@smithy/core": "^3.18.5",
35
35
  "@smithy/fetch-http-handler": "^5.3.6",
36
36
  "@smithy/hash-node": "^4.2.5",
37
37
  "@smithy/invalid-dependency": "^4.2.5",
38
38
  "@smithy/middleware-content-length": "^4.2.5",
39
- "@smithy/middleware-endpoint": "^4.3.9",
40
- "@smithy/middleware-retry": "^4.4.9",
41
- "@smithy/middleware-serde": "^4.2.5",
39
+ "@smithy/middleware-endpoint": "^4.3.12",
40
+ "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-serde": "^4.2.6",
42
42
  "@smithy/middleware-stack": "^4.2.5",
43
43
  "@smithy/node-config-provider": "^4.3.5",
44
44
  "@smithy/node-http-handler": "^4.4.5",
45
45
  "@smithy/protocol-http": "^5.3.5",
46
- "@smithy/smithy-client": "^4.9.5",
46
+ "@smithy/smithy-client": "^4.9.8",
47
47
  "@smithy/types": "^4.9.0",
48
48
  "@smithy/url-parser": "^4.2.5",
49
49
  "@smithy/util-base64": "^4.3.0",
50
50
  "@smithy/util-body-length-browser": "^4.2.0",
51
51
  "@smithy/util-body-length-node": "^4.2.1",
52
- "@smithy/util-defaults-mode-browser": "^4.3.8",
53
- "@smithy/util-defaults-mode-node": "^4.2.11",
52
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
53
+ "@smithy/util-defaults-mode-node": "^4.2.14",
54
54
  "@smithy/util-endpoints": "^3.2.5",
55
55
  "@smithy/util-middleware": "^4.2.5",
56
56
  "@smithy/util-retry": "^4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.934.0",
3
+ "version": "3.936.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -81,14 +81,14 @@
81
81
  },
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
- "@aws-sdk/types": "3.930.0",
84
+ "@aws-sdk/types": "3.936.0",
85
85
  "@aws-sdk/xml-builder": "3.930.0",
86
- "@smithy/core": "^3.18.2",
86
+ "@smithy/core": "^3.18.5",
87
87
  "@smithy/node-config-provider": "^4.3.5",
88
88
  "@smithy/property-provider": "^4.2.5",
89
89
  "@smithy/protocol-http": "^5.3.5",
90
90
  "@smithy/signature-v4": "^5.3.5",
91
- "@smithy/smithy-client": "^4.9.5",
91
+ "@smithy/smithy-client": "^4.9.8",
92
92
  "@smithy/types": "^4.9.0",
93
93
  "@smithy/util-base64": "^4.3.0",
94
94
  "@smithy/util-middleware": "^4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.934.0",
3
+ "version": "3.936.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.934.0",
30
- "@aws-sdk/types": "3.930.0",
29
+ "@aws-sdk/core": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
31
  "@smithy/property-provider": "^4.2.5",
32
32
  "@smithy/types": "^4.9.0",
33
33
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.934.0",
3
+ "version": "3.936.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "3.934.0",
32
- "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/core": "3.936.0",
32
+ "@aws-sdk/types": "3.936.0",
33
33
  "@smithy/fetch-http-handler": "^5.3.6",
34
34
  "@smithy/node-http-handler": "^4.4.5",
35
35
  "@smithy/property-provider": "^4.2.5",
36
36
  "@smithy/protocol-http": "^5.3.5",
37
- "@smithy/smithy-client": "^4.9.5",
37
+ "@smithy/smithy-client": "^4.9.8",
38
38
  "@smithy/types": "^4.9.0",
39
39
  "@smithy/util-stream": "^4.5.6",
40
40
  "tslib": "^2.6.2"
@@ -3,6 +3,7 @@
3
3
  var sharedIniFileLoader = require('@smithy/shared-ini-file-loader');
4
4
  var propertyProvider = require('@smithy/property-provider');
5
5
  var client = require('@aws-sdk/core/client');
6
+ var credentialProviderLogin = require('@aws-sdk/credential-provider-login');
6
7
 
7
8
  const resolveCredentialSource = (credentialSource, profileName, logger) => {
8
9
  const sourceProvidersMap = {
@@ -109,6 +110,17 @@ const isCredentialSourceWithoutRoleArn = (section) => {
109
110
  return !section.role_arn && !!section.credential_source;
110
111
  };
111
112
 
113
+ const isLoginProfile = (data) => {
114
+ return Boolean(data && data.login_session);
115
+ };
116
+ const resolveLoginCredentials = async (profileName, options) => {
117
+ const credentials = await credentialProviderLogin.fromLoginCredentials({
118
+ ...options,
119
+ profile: profileName,
120
+ })();
121
+ return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
122
+ };
123
+
112
124
  const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
113
125
  const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/credential-provider-process').then(({ fromProcess }) => fromProcess({
114
126
  ...options,
@@ -190,6 +202,9 @@ const resolveProfileData = async (profileName, profiles, options, visitedProfile
190
202
  if (isSsoProfile(data)) {
191
203
  return await resolveSsoCredentials(profileName, data, options);
192
204
  }
205
+ if (isLoginProfile(data)) {
206
+ return resolveLoginCredentials(profileName, options);
207
+ }
193
208
  throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
194
209
  };
195
210
 
@@ -0,0 +1,12 @@
1
+ import { setCredentialFeature } from "@aws-sdk/core/client";
2
+ import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
3
+ export const isLoginProfile = (data) => {
4
+ return Boolean(data && data.login_session);
5
+ };
6
+ export const resolveLoginCredentials = async (profileName, options) => {
7
+ const credentials = await fromLoginCredentials({
8
+ ...options,
9
+ profile: profileName,
10
+ })();
11
+ return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
12
+ };
@@ -1,5 +1,6 @@
1
1
  import { CredentialsProviderError } from "@smithy/property-provider";
2
2
  import { isAssumeRoleProfile, resolveAssumeRoleCredentials } from "./resolveAssumeRoleCredentials";
3
+ import { isLoginProfile, resolveLoginCredentials } from "./resolveLoginCredentials";
3
4
  import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCredentials";
4
5
  import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
5
6
  import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
@@ -24,5 +25,8 @@ export const resolveProfileData = async (profileName, profiles, options, visited
24
25
  if (isSsoProfile(data)) {
25
26
  return await resolveSsoCredentials(profileName, data, options);
26
27
  }
28
+ if (isLoginProfile(data)) {
29
+ return resolveLoginCredentials(profileName, options);
30
+ }
27
31
  throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
28
32
  };
@@ -1,3 +1,4 @@
1
+ import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
1
2
  import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
2
3
  import type { CredentialProviderOptions } from "@aws-sdk/types";
3
4
  import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
@@ -7,7 +8,7 @@ import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
7
8
  /**
8
9
  * @public
9
10
  */
10
- export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions {
11
+ export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions, FromLoginCredentialsInit {
11
12
  /**
12
13
  * A function that returns a promise fulfilled with an MFA token code for
13
14
  * the provided MFA Serial code. If a profile requires an MFA code and
@@ -34,8 +35,8 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
34
35
  */
35
36
  roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise<AwsCredentialIdentity>;
36
37
  /**
37
- * STSClientConfig or SSOClientConfig to be used for creating inner client
38
- * for auth operations.
38
+ * AWS SDK Client configuration to be used for creating inner client
39
+ * for auth operations. Inner clients include STS, SSO, and Signin clients.
39
40
  * @internal
40
41
  */
41
42
  clientConfig?: any;
@@ -0,0 +1,10 @@
1
+ import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
2
+ import type { FromIniInit } from "./fromIni";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
7
+ /**
8
+ * @internal
9
+ */
10
+ export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit) => Promise<AwsCredentialIdentity>;
@@ -1,3 +1,4 @@
1
+ import { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
1
2
  import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
2
3
  import { CredentialProviderOptions } from "@aws-sdk/types";
3
4
  import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
@@ -6,7 +7,8 @@ import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
6
7
  import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
7
8
  export interface FromIniInit
8
9
  extends SourceProfileInit,
9
- CredentialProviderOptions {
10
+ CredentialProviderOptions,
11
+ FromLoginCredentialsInit {
10
12
  mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
11
13
  roleAssumer?: (
12
14
  sourceCreds: AwsCredentialIdentity,
@@ -0,0 +1,7 @@
1
+ import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
2
+ import { FromIniInit } from "./fromIni";
3
+ export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
4
+ export declare const resolveLoginCredentials: (
5
+ profileName: string,
6
+ options: FromIniInit
7
+ ) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.934.0",
3
+ "version": "3.936.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "3.934.0",
32
- "@aws-sdk/credential-provider-env": "3.934.0",
33
- "@aws-sdk/credential-provider-http": "3.934.0",
34
- "@aws-sdk/credential-provider-process": "3.934.0",
35
- "@aws-sdk/credential-provider-sso": "3.934.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.934.0",
37
- "@aws-sdk/nested-clients": "3.934.0",
38
- "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/core": "3.936.0",
32
+ "@aws-sdk/credential-provider-env": "3.936.0",
33
+ "@aws-sdk/credential-provider-http": "3.936.0",
34
+ "@aws-sdk/credential-provider-login": "3.936.0",
35
+ "@aws-sdk/credential-provider-process": "3.936.0",
36
+ "@aws-sdk/credential-provider-sso": "3.936.0",
37
+ "@aws-sdk/credential-provider-web-identity": "3.936.0",
38
+ "@aws-sdk/nested-clients": "3.936.0",
39
+ "@aws-sdk/types": "3.936.0",
39
40
  "@smithy/credential-provider-imds": "^4.2.5",
40
41
  "@smithy/property-provider": "^4.2.5",
41
42
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -0,0 +1,7 @@
1
+ # @aws-sdk/credential-provider-login
2
+
3
+ > An internal package
4
+
5
+ ## Usage
6
+
7
+ You probably shouldn't, at least directly. Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) instead.