p6-cdk-s3-protector 0.0.43 → 0.0.45

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 (319) hide show
  1. package/.jsii +6 -6
  2. package/lib/p6cdks3protector.js +1 -1
  3. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  4. package/node_modules/@aws-sdk/client-s3-control/package.json +40 -40
  5. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +277 -270
  6. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  7. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -0
  8. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
  9. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
  10. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
  11. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
  12. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +0 -26
  13. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  14. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +265 -0
  15. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -1
  16. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -24
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +26 -0
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -0
  23. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -18
  24. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  25. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  26. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  27. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  28. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  29. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  30. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +2 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +400 -1095
  32. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +7 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +2 -0
  34. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +3 -10
  35. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -10
  36. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  37. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +3 -10
  38. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -9
  39. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +3 -9
  40. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +3 -9
  41. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetDelegatedAccessTokenCommand.js +3 -10
  42. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +3 -10
  43. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +3 -10
  44. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +0 -45
  45. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +7 -0
  46. package/node_modules/@aws-sdk/client-sts/dist-es/schemas/schemas_0.js +410 -0
  47. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +10 -1
  48. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +0 -44
  49. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
  50. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
  51. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
  52. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-sts/dist-types/schemas/schemas_0.d.ts +55 -0
  54. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +4 -0
  55. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +0 -31
  56. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  57. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  58. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  59. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  60. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  61. package/node_modules/@aws-sdk/client-sts/package.json +33 -33
  62. package/node_modules/@aws-sdk/core/node_modules/@smithy/property-provider/package.json +2 -2
  63. package/node_modules/@aws-sdk/core/package.json +11 -11
  64. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  65. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  66. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  67. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  68. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  69. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  70. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +246 -310
  71. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  72. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  73. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  74. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  75. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -0
  76. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
  77. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +0 -13
  78. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  79. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +211 -0
  80. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  81. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  82. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  83. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  84. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  85. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  86. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -1
  87. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -8
  88. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
  89. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  90. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
  91. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  92. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
  93. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  94. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -2
  95. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -3
  96. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +8 -24
  97. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  98. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  99. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  100. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  101. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  102. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -0
  103. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -6
  104. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
  105. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
  106. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
  107. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +4 -0
  108. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +28 -0
  109. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  110. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  111. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  112. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  113. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  114. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  115. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  116. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  117. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  118. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider/package.json +2 -2
  119. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  120. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  121. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  122. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  123. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  124. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  125. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  126. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  127. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  128. package/node_modules/@aws-sdk/middleware-sdk-s3-control/package.json +8 -8
  129. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  130. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  131. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  132. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  133. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +246 -310
  134. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  135. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  136. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  137. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  138. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -0
  139. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
  140. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +0 -13
  141. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  142. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +211 -0
  143. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  144. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  145. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  146. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  147. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  148. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  149. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -1
  150. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -8
  151. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
  152. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  153. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
  154. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  155. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
  156. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  157. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -2
  158. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -3
  159. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +8 -24
  160. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  161. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  162. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  163. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  164. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  165. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -0
  166. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -6
  167. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
  168. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
  169. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
  170. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +4 -0
  171. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +28 -0
  172. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  173. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  174. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  175. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  176. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  177. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  178. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  179. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  180. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider/package.json +2 -2
  181. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  182. package/node_modules/@aws-sdk/types/package.json +2 -2
  183. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  184. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  185. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  186. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  187. package/node_modules/@smithy/abort-controller/package.json +2 -2
  188. package/node_modules/@smithy/config-resolver/package.json +5 -5
  189. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  190. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
  191. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
  192. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
  193. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
  194. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  195. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
  196. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
  197. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  198. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  199. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  200. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
  201. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  202. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  203. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  204. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  205. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  206. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  207. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  208. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
  209. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
  210. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  211. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  212. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
  213. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  214. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  215. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  216. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
  217. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  218. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  219. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  220. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
  221. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  222. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  223. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  224. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  225. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  226. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  227. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  228. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
  229. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
  230. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  231. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  232. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
  233. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  234. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  235. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
  236. package/node_modules/@smithy/core/package.json +7 -7
  237. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  238. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  239. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  240. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  241. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  242. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  243. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  244. package/node_modules/@smithy/hash-node/package.json +2 -2
  245. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  246. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  247. package/node_modules/@smithy/md5-js/package.json +2 -2
  248. package/node_modules/@smithy/middleware-apply-body-checksum/package.json +3 -3
  249. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  250. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  251. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  252. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  253. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  254. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +2 -2
  255. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  256. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  257. package/node_modules/@smithy/protocol-http/package.json +2 -2
  258. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  259. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  260. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  261. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +2 -3
  262. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
  263. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  264. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
  265. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
  266. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
  267. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
  268. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  269. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  270. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  271. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
  272. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  273. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  274. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
  275. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  276. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  277. package/node_modules/@smithy/signature-v4/package.json +4 -4
  278. package/node_modules/@smithy/smithy-client/package.json +7 -7
  279. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +12 -12
  280. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
  281. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
  282. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
  283. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
  284. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
  285. package/node_modules/@smithy/types/package.json +1 -1
  286. package/node_modules/@smithy/url-parser/package.json +3 -3
  287. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +2 -2
  288. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  289. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  290. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +2 -2
  291. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  292. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  293. package/node_modules/@smithy/util-middleware/package.json +2 -2
  294. package/node_modules/@smithy/util-retry/package.json +3 -3
  295. package/node_modules/@smithy/util-stream/package.json +4 -4
  296. package/node_modules/@smithy/util-waiter/package.json +3 -3
  297. package/package.json +7 -7
  298. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
  299. package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
  300. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
  301. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +0 -1003
  302. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -92
  303. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -125
  304. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -257
  305. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  306. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
  307. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  308. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
  309. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
  310. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -257
  311. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  312. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
  313. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  314. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
  315. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
  316. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
  317. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
  318. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
  319. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
@@ -1,257 +0,0 @@
1
- import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
- import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
4
- import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/models_0";
5
- import { SSOOIDCServiceException as __BaseException } from "../models/SSOOIDCServiceException";
6
- export const se_CreateTokenCommand = async (input, context) => {
7
- const b = rb(input, context);
8
- const headers = {
9
- "content-type": "application/json",
10
- };
11
- b.bp("/token");
12
- let body;
13
- body = JSON.stringify(take(input, {
14
- clientId: [],
15
- clientSecret: [],
16
- code: [],
17
- codeVerifier: [],
18
- deviceCode: [],
19
- grantType: [],
20
- redirectUri: [],
21
- refreshToken: [],
22
- scope: (_) => _json(_),
23
- }));
24
- b.m("POST").h(headers).b(body);
25
- return b.build();
26
- };
27
- export const de_CreateTokenCommand = async (output, context) => {
28
- if (output.statusCode !== 200 && output.statusCode >= 300) {
29
- return de_CommandError(output, context);
30
- }
31
- const contents = map({
32
- $metadata: deserializeMetadata(output),
33
- });
34
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
35
- const doc = take(data, {
36
- accessToken: __expectString,
37
- expiresIn: __expectInt32,
38
- idToken: __expectString,
39
- refreshToken: __expectString,
40
- tokenType: __expectString,
41
- });
42
- Object.assign(contents, doc);
43
- return contents;
44
- };
45
- const de_CommandError = async (output, context) => {
46
- const parsedOutput = {
47
- ...output,
48
- body: await parseErrorBody(output.body, context),
49
- };
50
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
51
- switch (errorCode) {
52
- case "AccessDeniedException":
53
- case "com.amazonaws.ssooidc#AccessDeniedException":
54
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
55
- case "AuthorizationPendingException":
56
- case "com.amazonaws.ssooidc#AuthorizationPendingException":
57
- throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
58
- case "ExpiredTokenException":
59
- case "com.amazonaws.ssooidc#ExpiredTokenException":
60
- throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
61
- case "InternalServerException":
62
- case "com.amazonaws.ssooidc#InternalServerException":
63
- throw await de_InternalServerExceptionRes(parsedOutput, context);
64
- case "InvalidClientException":
65
- case "com.amazonaws.ssooidc#InvalidClientException":
66
- throw await de_InvalidClientExceptionRes(parsedOutput, context);
67
- case "InvalidGrantException":
68
- case "com.amazonaws.ssooidc#InvalidGrantException":
69
- throw await de_InvalidGrantExceptionRes(parsedOutput, context);
70
- case "InvalidRequestException":
71
- case "com.amazonaws.ssooidc#InvalidRequestException":
72
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
73
- case "InvalidScopeException":
74
- case "com.amazonaws.ssooidc#InvalidScopeException":
75
- throw await de_InvalidScopeExceptionRes(parsedOutput, context);
76
- case "SlowDownException":
77
- case "com.amazonaws.ssooidc#SlowDownException":
78
- throw await de_SlowDownExceptionRes(parsedOutput, context);
79
- case "UnauthorizedClientException":
80
- case "com.amazonaws.ssooidc#UnauthorizedClientException":
81
- throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
82
- case "UnsupportedGrantTypeException":
83
- case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
84
- throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
85
- default:
86
- const parsedBody = parsedOutput.body;
87
- return throwDefaultError({
88
- output,
89
- parsedBody,
90
- errorCode,
91
- });
92
- }
93
- };
94
- const throwDefaultError = withBaseException(__BaseException);
95
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
96
- const contents = map({});
97
- const data = parsedOutput.body;
98
- const doc = take(data, {
99
- error: __expectString,
100
- error_description: __expectString,
101
- reason: __expectString,
102
- });
103
- Object.assign(contents, doc);
104
- const exception = new AccessDeniedException({
105
- $metadata: deserializeMetadata(parsedOutput),
106
- ...contents,
107
- });
108
- return __decorateServiceException(exception, parsedOutput.body);
109
- };
110
- const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
111
- const contents = map({});
112
- const data = parsedOutput.body;
113
- const doc = take(data, {
114
- error: __expectString,
115
- error_description: __expectString,
116
- });
117
- Object.assign(contents, doc);
118
- const exception = new AuthorizationPendingException({
119
- $metadata: deserializeMetadata(parsedOutput),
120
- ...contents,
121
- });
122
- return __decorateServiceException(exception, parsedOutput.body);
123
- };
124
- const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
125
- const contents = map({});
126
- const data = parsedOutput.body;
127
- const doc = take(data, {
128
- error: __expectString,
129
- error_description: __expectString,
130
- });
131
- Object.assign(contents, doc);
132
- const exception = new ExpiredTokenException({
133
- $metadata: deserializeMetadata(parsedOutput),
134
- ...contents,
135
- });
136
- return __decorateServiceException(exception, parsedOutput.body);
137
- };
138
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
139
- const contents = map({});
140
- const data = parsedOutput.body;
141
- const doc = take(data, {
142
- error: __expectString,
143
- error_description: __expectString,
144
- });
145
- Object.assign(contents, doc);
146
- const exception = new InternalServerException({
147
- $metadata: deserializeMetadata(parsedOutput),
148
- ...contents,
149
- });
150
- return __decorateServiceException(exception, parsedOutput.body);
151
- };
152
- const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
153
- const contents = map({});
154
- const data = parsedOutput.body;
155
- const doc = take(data, {
156
- error: __expectString,
157
- error_description: __expectString,
158
- });
159
- Object.assign(contents, doc);
160
- const exception = new InvalidClientException({
161
- $metadata: deserializeMetadata(parsedOutput),
162
- ...contents,
163
- });
164
- return __decorateServiceException(exception, parsedOutput.body);
165
- };
166
- const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
167
- const contents = map({});
168
- const data = parsedOutput.body;
169
- const doc = take(data, {
170
- error: __expectString,
171
- error_description: __expectString,
172
- });
173
- Object.assign(contents, doc);
174
- const exception = new InvalidGrantException({
175
- $metadata: deserializeMetadata(parsedOutput),
176
- ...contents,
177
- });
178
- return __decorateServiceException(exception, parsedOutput.body);
179
- };
180
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
181
- const contents = map({});
182
- const data = parsedOutput.body;
183
- const doc = take(data, {
184
- error: __expectString,
185
- error_description: __expectString,
186
- reason: __expectString,
187
- });
188
- Object.assign(contents, doc);
189
- const exception = new InvalidRequestException({
190
- $metadata: deserializeMetadata(parsedOutput),
191
- ...contents,
192
- });
193
- return __decorateServiceException(exception, parsedOutput.body);
194
- };
195
- const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
196
- const contents = map({});
197
- const data = parsedOutput.body;
198
- const doc = take(data, {
199
- error: __expectString,
200
- error_description: __expectString,
201
- });
202
- Object.assign(contents, doc);
203
- const exception = new InvalidScopeException({
204
- $metadata: deserializeMetadata(parsedOutput),
205
- ...contents,
206
- });
207
- return __decorateServiceException(exception, parsedOutput.body);
208
- };
209
- const de_SlowDownExceptionRes = async (parsedOutput, context) => {
210
- const contents = map({});
211
- const data = parsedOutput.body;
212
- const doc = take(data, {
213
- error: __expectString,
214
- error_description: __expectString,
215
- });
216
- Object.assign(contents, doc);
217
- const exception = new SlowDownException({
218
- $metadata: deserializeMetadata(parsedOutput),
219
- ...contents,
220
- });
221
- return __decorateServiceException(exception, parsedOutput.body);
222
- };
223
- const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
224
- const contents = map({});
225
- const data = parsedOutput.body;
226
- const doc = take(data, {
227
- error: __expectString,
228
- error_description: __expectString,
229
- });
230
- Object.assign(contents, doc);
231
- const exception = new UnauthorizedClientException({
232
- $metadata: deserializeMetadata(parsedOutput),
233
- ...contents,
234
- });
235
- return __decorateServiceException(exception, parsedOutput.body);
236
- };
237
- const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
238
- const contents = map({});
239
- const data = parsedOutput.body;
240
- const doc = take(data, {
241
- error: __expectString,
242
- error_description: __expectString,
243
- });
244
- Object.assign(contents, doc);
245
- const exception = new UnsupportedGrantTypeException({
246
- $metadata: deserializeMetadata(parsedOutput),
247
- ...contents,
248
- });
249
- return __decorateServiceException(exception, parsedOutput.body);
250
- };
251
- const deserializeMetadata = (output) => ({
252
- httpStatusCode: output.statusCode,
253
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
254
- extendedRequestId: output.headers["x-amz-id-2"],
255
- cfId: output.headers["x-amz-cf-id"],
256
- });
257
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));