@cdklabs/cdk-construct-connect-datalake 0.0.15 → 0.0.16

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 (295) hide show
  1. package/.jsii +9 -9
  2. package/lib/index.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
  4. package/node_modules/@aws-sdk/client-connect/package.json +3 -3
  5. package/node_modules/@aws-sdk/client-glue/package.json +3 -3
  6. package/node_modules/@aws-sdk/client-lakeformation/package.json +3 -3
  7. package/node_modules/@aws-sdk/client-ram/package.json +3 -3
  8. package/node_modules/@aws-sdk/client-sts/package.json +3 -3
  9. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  10. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  11. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  12. package/node_modules/@aws-sdk/core/package.json +8 -14
  13. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  14. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  15. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  16. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
  17. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
  18. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  19. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  20. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  21. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  22. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  23. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
  24. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
  25. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  26. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  27. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
  32. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
  39. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
  40. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  41. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  42. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  43. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  44. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  45. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
  46. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
  47. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
  48. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
  49. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
  50. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
  51. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
  52. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
  53. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
  54. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
  57. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
  58. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
  59. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
  60. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
  61. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  62. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  63. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  64. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  65. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  66. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  67. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  68. package/node_modules/@aws-sdk/types/package.json +2 -2
  69. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
  70. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  71. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  72. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  73. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  74. package/node_modules/@aws-sdk/xml-builder/package.json +6 -7
  75. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +355 -145
  76. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +456 -142
  77. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +355 -145
  78. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
  79. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  80. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
  81. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  82. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +27 -0
  83. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +21 -0
  84. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  85. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  86. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  87. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  88. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  89. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  90. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  91. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  92. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
  93. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  94. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  95. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  96. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  97. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
  98. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  99. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  100. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  101. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  102. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  103. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +13 -0
  104. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +13 -0
  105. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  106. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  107. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  108. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  109. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  110. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  111. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  112. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  113. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  114. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  115. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  116. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
  118. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  119. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  120. package/node_modules/@smithy/core/package.json +4 -3
  121. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  122. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  123. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  124. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  125. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  126. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  127. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  128. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  129. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  130. package/node_modules/@smithy/signature-v4/package.json +2 -2
  131. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/README.md +3 -0
  132. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.js +7 -1
  133. package/node_modules/aws-lambda/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
  134. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/loader.js +6 -0
  135. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/package.json +4 -1
  136. package/package.json +10 -10
  137. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
  138. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
  139. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
  140. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
  141. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
  142. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
  143. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
  144. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
  145. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
  146. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
  147. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
  148. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
  149. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -44
  150. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  151. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  152. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  153. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  154. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
  155. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
  156. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  157. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  158. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  159. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  160. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  161. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  162. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  163. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  164. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  165. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  166. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
  167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  168. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  169. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  170. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  171. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
  172. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  173. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
  174. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  175. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  176. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  177. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  178. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  179. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  180. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  181. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  182. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  183. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  184. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  185. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  186. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  187. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  188. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  189. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  190. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  191. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  192. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  193. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  194. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  195. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  196. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  197. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  198. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
  199. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  200. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  201. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  202. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  203. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  204. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  205. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  206. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/CHANGELOG.md +0 -51
  207. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/LICENSE +0 -21
  208. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/README.md +0 -113
  209. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/package.json +0 -36
  210. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -171
  211. package/node_modules/@nodable/entities/README.md +0 -41
  212. package/node_modules/@nodable/entities/package.json +0 -57
  213. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
  214. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  215. package/node_modules/@nodable/entities/src/entities.js +0 -1159
  216. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  217. package/node_modules/@nodable/entities/src/index.d.ts +0 -341
  218. package/node_modules/@nodable/entities/src/index.js +0 -29
  219. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  220. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  221. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  222. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  223. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  224. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  225. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  226. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  227. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  228. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  229. package/node_modules/anynum/LICENSE +0 -21
  230. package/node_modules/anynum/README.md +0 -142
  231. package/node_modules/anynum/anynum.js +0 -135
  232. package/node_modules/anynum/digitTable.js +0 -116
  233. package/node_modules/anynum/package.json +0 -42
  234. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
  235. package/node_modules/fast-xml-builder/LICENSE +0 -21
  236. package/node_modules/fast-xml-builder/README.md +0 -74
  237. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  238. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
  239. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  240. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  241. package/node_modules/fast-xml-builder/package.json +0 -81
  242. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
  243. package/node_modules/fast-xml-builder/src/fxb.js +0 -599
  244. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  245. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
  246. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  247. package/node_modules/fast-xml-builder/src/util.js +0 -16
  248. package/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  249. package/node_modules/path-expression-matcher/LICENSE +0 -21
  250. package/node_modules/path-expression-matcher/README.md +0 -947
  251. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  252. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -715
  253. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  254. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  255. package/node_modules/path-expression-matcher/package.json +0 -79
  256. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  257. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -225
  258. package/node_modules/path-expression-matcher/src/Matcher.js +0 -660
  259. package/node_modules/path-expression-matcher/src/index.d.ts +0 -589
  260. package/node_modules/path-expression-matcher/src/index.js +0 -29
  261. package/node_modules/xml-naming/README.md +0 -189
  262. package/node_modules/xml-naming/package.json +0 -54
  263. package/node_modules/xml-naming/src/index.d.ts +0 -74
  264. package/node_modules/xml-naming/src/index.js +0 -270
  265. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/LICENSE +0 -0
  266. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/bin/js-yaml.js +0 -0
  267. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/index.js +0 -0
  268. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/common.js +0 -0
  269. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/dumper.js +0 -0
  270. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/exception.js +0 -0
  271. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/mark.js +0 -0
  272. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/core.js +0 -0
  273. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
  274. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
  275. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
  276. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/json.js +0 -0
  277. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema.js +0 -0
  278. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/binary.js +0 -0
  279. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/bool.js +0 -0
  280. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/float.js +0 -0
  281. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/int.js +0 -0
  282. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/function.js +0 -0
  283. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
  284. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
  285. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/map.js +0 -0
  286. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/merge.js +0 -0
  287. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/null.js +0 -0
  288. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/omap.js +0 -0
  289. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/pairs.js +0 -0
  290. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/seq.js +0 -0
  291. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/set.js +0 -0
  292. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/str.js +0 -0
  293. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
  294. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type.js +0 -0
  295. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml.js +0 -0
@@ -1,862 +0,0 @@
1
- const { Retry, RETRY_MODES } = require("@smithy/core/retry");
2
- const { HttpRequest, parseUrl } = require("@smithy/core/protocols");
3
- const { normalizeProvider } = require("@smithy/core");
4
- const { isValidHostLabel, isIpAddress, customEndpointFunctions } = require("@smithy/core/endpoints");
5
- const { EndpointError, resolveEndpoint } = require("@smithy/core/endpoints");
6
- exports.EndpointError = EndpointError;
7
- exports.isIpAddress = isIpAddress;
8
- exports.resolveEndpoint = resolveEndpoint;
9
- const { resolveRegionConfig } = require("@smithy/core/config");
10
- exports.resolveRegionConfig = resolveRegionConfig;
11
-
12
- const longPollMiddleware = () => (next, context) => async (args) => {
13
- context.__retryLongPoll = true;
14
- return next(args);
15
- };
16
- const longPollMiddlewareOptions = {
17
- name: "longPollMiddleware",
18
- tags: ["RETRY"],
19
- step: "initialize",
20
- override: true,
21
- };
22
- const getLongPollPlugin = (options) => ({
23
- applyToStack: (clientStack) => {
24
- clientStack.add(longPollMiddleware(), longPollMiddlewareOptions);
25
- },
26
- });
27
-
28
- function setCredentialFeature(credentials, feature, value) {
29
- if (!credentials.$source) {
30
- credentials.$source = {};
31
- }
32
- credentials.$source[feature] = value;
33
- return credentials;
34
- }
35
-
36
- Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
37
- function setFeature(context, feature, value) {
38
- if (!context.__aws_sdk_context) {
39
- context.__aws_sdk_context = {
40
- features: {},
41
- };
42
- }
43
- else if (!context.__aws_sdk_context.features) {
44
- context.__aws_sdk_context.features = {};
45
- }
46
- context.__aws_sdk_context.features[feature] = value;
47
- }
48
-
49
- function setTokenFeature(token, feature, value) {
50
- if (!token.$source) {
51
- token.$source = {};
52
- }
53
- token.$source[feature] = value;
54
- return token;
55
- }
56
-
57
- function resolveHostHeaderConfig(input) {
58
- return input;
59
- }
60
- const hostHeaderMiddleware = (options) => (next) => async (args) => {
61
- if (!HttpRequest.isInstance(args.request))
62
- return next(args);
63
- const { request } = args;
64
- const { handlerProtocol = "" } = options.requestHandler.metadata || {};
65
- if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
66
- delete request.headers["host"];
67
- request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : "");
68
- }
69
- else if (!request.headers["host"]) {
70
- let host = request.hostname;
71
- if (request.port != null)
72
- host += `:${request.port}`;
73
- request.headers["host"] = host;
74
- }
75
- return next(args);
76
- };
77
- const hostHeaderMiddlewareOptions = {
78
- name: "hostHeaderMiddleware",
79
- step: "build",
80
- priority: "low",
81
- tags: ["HOST"],
82
- override: true,
83
- };
84
- const getHostHeaderPlugin = (options) => ({
85
- applyToStack: (clientStack) => {
86
- clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);
87
- },
88
- });
89
-
90
- const loggerMiddleware = () => (next, context) => async (args) => {
91
- try {
92
- const response = await next(args);
93
- const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
94
- const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
95
- const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
96
- const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;
97
- const { $metadata, ...outputWithoutMetadata } = response.output;
98
- logger?.info?.({
99
- clientName,
100
- commandName,
101
- input: inputFilterSensitiveLog(args.input),
102
- output: outputFilterSensitiveLog(outputWithoutMetadata),
103
- metadata: $metadata,
104
- });
105
- return response;
106
- }
107
- catch (error) {
108
- const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
109
- const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
110
- const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
111
- logger?.error?.({
112
- clientName,
113
- commandName,
114
- input: inputFilterSensitiveLog(args.input),
115
- error,
116
- metadata: error.$metadata,
117
- });
118
- throw error;
119
- }
120
- };
121
- const loggerMiddlewareOptions = {
122
- name: "loggerMiddleware",
123
- tags: ["LOGGER"],
124
- step: "initialize",
125
- override: true,
126
- };
127
- const getLoggerPlugin = (options) => ({
128
- applyToStack: (clientStack) => {
129
- clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
130
- },
131
- });
132
-
133
- const recursionDetectionMiddlewareOptions = {
134
- step: "build",
135
- tags: ["RECURSION_DETECTION"],
136
- name: "recursionDetectionMiddleware",
137
- override: true,
138
- priority: "low",
139
- };
140
-
141
- const getRecursionDetectionPlugin = (options) => ({
142
- applyToStack: (clientStack) => { },
143
- });
144
-
145
- const recursionDetectionMiddleware = () => (next) => async (args) => next(args);
146
-
147
- const DEFAULT_UA_APP_ID = undefined;
148
- function isValidUserAgentAppId(appId) {
149
- if (appId === undefined) {
150
- return true;
151
- }
152
- return typeof appId === "string" && appId.length <= 50;
153
- }
154
- function resolveUserAgentConfig(input) {
155
- const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
156
- const { customUserAgent } = input;
157
- return Object.assign(input, {
158
- customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
159
- userAgentAppId: async () => {
160
- const appId = await normalizedAppIdProvider();
161
- if (!isValidUserAgentAppId(appId)) {
162
- const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger;
163
- if (typeof appId !== "string") {
164
- logger?.warn("userAgentAppId must be a string or undefined.");
165
- }
166
- else if (appId.length > 50) {
167
- logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.");
168
- }
169
- }
170
- return appId;
171
- },
172
- });
173
- }
174
-
175
- const partitionsInfo = {
176
- "partitions": [
177
- {
178
- "id": "aws",
179
- "outputs": {
180
- "dnsSuffix": "amazonaws.com",
181
- "dualStackDnsSuffix": "api.aws",
182
- "implicitGlobalRegion": "us-east-1",
183
- "name": "aws",
184
- "supportsDualStack": true,
185
- "supportsFIPS": true
186
- },
187
- "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
188
- "regions": {
189
- "af-south-1": {
190
- "description": "Africa (Cape Town)"
191
- },
192
- "ap-east-1": {
193
- "description": "Asia Pacific (Hong Kong)"
194
- },
195
- "ap-east-2": {
196
- "description": "Asia Pacific (Taipei)"
197
- },
198
- "ap-northeast-1": {
199
- "description": "Asia Pacific (Tokyo)"
200
- },
201
- "ap-northeast-2": {
202
- "description": "Asia Pacific (Seoul)"
203
- },
204
- "ap-northeast-3": {
205
- "description": "Asia Pacific (Osaka)"
206
- },
207
- "ap-south-1": {
208
- "description": "Asia Pacific (Mumbai)"
209
- },
210
- "ap-south-2": {
211
- "description": "Asia Pacific (Hyderabad)"
212
- },
213
- "ap-southeast-1": {
214
- "description": "Asia Pacific (Singapore)"
215
- },
216
- "ap-southeast-2": {
217
- "description": "Asia Pacific (Sydney)"
218
- },
219
- "ap-southeast-3": {
220
- "description": "Asia Pacific (Jakarta)"
221
- },
222
- "ap-southeast-4": {
223
- "description": "Asia Pacific (Melbourne)"
224
- },
225
- "ap-southeast-5": {
226
- "description": "Asia Pacific (Malaysia)"
227
- },
228
- "ap-southeast-6": {
229
- "description": "Asia Pacific (New Zealand)"
230
- },
231
- "ap-southeast-7": {
232
- "description": "Asia Pacific (Thailand)"
233
- },
234
- "aws-global": {
235
- "description": "aws global region"
236
- },
237
- "ca-central-1": {
238
- "description": "Canada (Central)"
239
- },
240
- "ca-west-1": {
241
- "description": "Canada West (Calgary)"
242
- },
243
- "eu-central-1": {
244
- "description": "Europe (Frankfurt)"
245
- },
246
- "eu-central-2": {
247
- "description": "Europe (Zurich)"
248
- },
249
- "eu-north-1": {
250
- "description": "Europe (Stockholm)"
251
- },
252
- "eu-south-1": {
253
- "description": "Europe (Milan)"
254
- },
255
- "eu-south-2": {
256
- "description": "Europe (Spain)"
257
- },
258
- "eu-west-1": {
259
- "description": "Europe (Ireland)"
260
- },
261
- "eu-west-2": {
262
- "description": "Europe (London)"
263
- },
264
- "eu-west-3": {
265
- "description": "Europe (Paris)"
266
- },
267
- "il-central-1": {
268
- "description": "Israel (Tel Aviv)"
269
- },
270
- "me-central-1": {
271
- "description": "Middle East (UAE)"
272
- },
273
- "me-south-1": {
274
- "description": "Middle East (Bahrain)"
275
- },
276
- "mx-central-1": {
277
- "description": "Mexico (Central)"
278
- },
279
- "sa-east-1": {
280
- "description": "South America (Sao Paulo)"
281
- },
282
- "us-east-1": {
283
- "description": "US East (N. Virginia)"
284
- },
285
- "us-east-2": {
286
- "description": "US East (Ohio)"
287
- },
288
- "us-west-1": {
289
- "description": "US West (N. California)"
290
- },
291
- "us-west-2": {
292
- "description": "US West (Oregon)"
293
- }
294
- }
295
- },
296
- {
297
- "id": "aws-cn",
298
- "outputs": {
299
- "dnsSuffix": "amazonaws.com.cn",
300
- "dualStackDnsSuffix": "api.amazonwebservices.com.cn",
301
- "implicitGlobalRegion": "cn-northwest-1",
302
- "name": "aws-cn",
303
- "supportsDualStack": true,
304
- "supportsFIPS": true
305
- },
306
- "regionRegex": "^cn\\-\\w+\\-\\d+$",
307
- "regions": {
308
- "aws-cn-global": {
309
- "description": "aws-cn global region"
310
- },
311
- "cn-north-1": {
312
- "description": "China (Beijing)"
313
- },
314
- "cn-northwest-1": {
315
- "description": "China (Ningxia)"
316
- }
317
- }
318
- },
319
- {
320
- "id": "aws-eusc",
321
- "outputs": {
322
- "dnsSuffix": "amazonaws.eu",
323
- "dualStackDnsSuffix": "api.amazonwebservices.eu",
324
- "implicitGlobalRegion": "eusc-de-east-1",
325
- "name": "aws-eusc",
326
- "supportsDualStack": true,
327
- "supportsFIPS": true
328
- },
329
- "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$",
330
- "regions": {
331
- "eusc-de-east-1": {
332
- "description": "AWS European Sovereign Cloud (Germany)"
333
- }
334
- }
335
- },
336
- {
337
- "id": "aws-iso",
338
- "outputs": {
339
- "dnsSuffix": "c2s.ic.gov",
340
- "dualStackDnsSuffix": "api.aws.ic.gov",
341
- "implicitGlobalRegion": "us-iso-east-1",
342
- "name": "aws-iso",
343
- "supportsDualStack": true,
344
- "supportsFIPS": true
345
- },
346
- "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
347
- "regions": {
348
- "aws-iso-global": {
349
- "description": "aws-iso global region"
350
- },
351
- "us-iso-east-1": {
352
- "description": "US ISO East"
353
- },
354
- "us-iso-west-1": {
355
- "description": "US ISO WEST"
356
- }
357
- }
358
- },
359
- {
360
- "id": "aws-iso-b",
361
- "outputs": {
362
- "dnsSuffix": "sc2s.sgov.gov",
363
- "dualStackDnsSuffix": "api.aws.scloud",
364
- "implicitGlobalRegion": "us-isob-east-1",
365
- "name": "aws-iso-b",
366
- "supportsDualStack": true,
367
- "supportsFIPS": true
368
- },
369
- "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
370
- "regions": {
371
- "aws-iso-b-global": {
372
- "description": "aws-iso-b global region"
373
- },
374
- "us-isob-east-1": {
375
- "description": "US ISOB East (Ohio)"
376
- },
377
- "us-isob-west-1": {
378
- "description": "US ISOB West"
379
- }
380
- }
381
- },
382
- {
383
- "id": "aws-iso-e",
384
- "outputs": {
385
- "dnsSuffix": "cloud.adc-e.uk",
386
- "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk",
387
- "implicitGlobalRegion": "eu-isoe-west-1",
388
- "name": "aws-iso-e",
389
- "supportsDualStack": true,
390
- "supportsFIPS": true
391
- },
392
- "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
393
- "regions": {
394
- "aws-iso-e-global": {
395
- "description": "aws-iso-e global region"
396
- },
397
- "eu-isoe-west-1": {
398
- "description": "EU ISOE West"
399
- }
400
- }
401
- },
402
- {
403
- "id": "aws-iso-f",
404
- "outputs": {
405
- "dnsSuffix": "csp.hci.ic.gov",
406
- "dualStackDnsSuffix": "api.aws.hci.ic.gov",
407
- "implicitGlobalRegion": "us-isof-south-1",
408
- "name": "aws-iso-f",
409
- "supportsDualStack": true,
410
- "supportsFIPS": true
411
- },
412
- "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
413
- "regions": {
414
- "aws-iso-f-global": {
415
- "description": "aws-iso-f global region"
416
- },
417
- "us-isof-east-1": {
418
- "description": "US ISOF EAST"
419
- },
420
- "us-isof-south-1": {
421
- "description": "US ISOF SOUTH"
422
- }
423
- }
424
- },
425
- {
426
- "id": "aws-us-gov",
427
- "outputs": {
428
- "dnsSuffix": "amazonaws.com",
429
- "dualStackDnsSuffix": "api.aws",
430
- "implicitGlobalRegion": "us-gov-west-1",
431
- "name": "aws-us-gov",
432
- "supportsDualStack": true,
433
- "supportsFIPS": true
434
- },
435
- "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
436
- "regions": {
437
- "aws-us-gov-global": {
438
- "description": "aws-us-gov global region"
439
- },
440
- "us-gov-east-1": {
441
- "description": "AWS GovCloud (US-East)"
442
- },
443
- "us-gov-west-1": {
444
- "description": "AWS GovCloud (US-West)"
445
- }
446
- }
447
- }
448
- ],
449
- "version": "1.1"
450
- };
451
-
452
- let selectedPartitionsInfo = partitionsInfo;
453
- let selectedUserAgentPrefix = "";
454
- const partition = (value) => {
455
- const { partitions } = selectedPartitionsInfo;
456
- for (const partition of partitions) {
457
- const { regions, outputs } = partition;
458
- for (const [region, regionData] of Object.entries(regions)) {
459
- if (region === value) {
460
- return {
461
- ...outputs,
462
- ...regionData,
463
- };
464
- }
465
- }
466
- }
467
- for (const partition of partitions) {
468
- const { regionRegex, outputs } = partition;
469
- if (new RegExp(regionRegex).test(value)) {
470
- return {
471
- ...outputs,
472
- };
473
- }
474
- }
475
- const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
476
- if (!DEFAULT_PARTITION) {
477
- throw new Error("Provided region was not found in the partition array or regex," +
478
- " and default partition with id 'aws' doesn't exist.");
479
- }
480
- return {
481
- ...DEFAULT_PARTITION.outputs,
482
- };
483
- };
484
- const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
485
- selectedPartitionsInfo = partitionsInfo;
486
- selectedUserAgentPrefix = userAgentPrefix;
487
- };
488
- const useDefaultPartitionInfo = () => {
489
- setPartitionInfo(partitionsInfo, "");
490
- };
491
- const getUserAgentPrefix = () => selectedUserAgentPrefix;
492
-
493
- const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
494
- async function checkFeatures(context, config, args) {
495
- const request = args.request;
496
- if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") {
497
- setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M");
498
- }
499
- if (typeof config.retryStrategy === "function") {
500
- const retryStrategy = await config.retryStrategy();
501
- if (typeof retryStrategy.mode === "string") {
502
- switch (retryStrategy.mode) {
503
- case RETRY_MODES.ADAPTIVE:
504
- setFeature(context, "RETRY_MODE_ADAPTIVE", "F");
505
- break;
506
- case RETRY_MODES.STANDARD:
507
- setFeature(context, "RETRY_MODE_STANDARD", "E");
508
- break;
509
- }
510
- }
511
- }
512
- if (typeof config.accountIdEndpointMode === "function") {
513
- const endpointV2 = context.endpointV2;
514
- if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {
515
- setFeature(context, "ACCOUNT_ID_ENDPOINT", "O");
516
- }
517
- switch (await config.accountIdEndpointMode?.()) {
518
- case "disabled":
519
- setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q");
520
- break;
521
- case "preferred":
522
- setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P");
523
- break;
524
- case "required":
525
- setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R");
526
- break;
527
- }
528
- }
529
- const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;
530
- if (identity?.$source) {
531
- const credentials = identity;
532
- if (credentials.accountId) {
533
- setFeature(context, "RESOLVED_ACCOUNT_ID", "T");
534
- }
535
- for (const [key, value] of Object.entries(credentials.$source ?? {})) {
536
- setFeature(context, key, value);
537
- }
538
- }
539
- }
540
-
541
- const USER_AGENT = "user-agent";
542
- const X_AMZ_USER_AGENT = "x-amz-user-agent";
543
- const SPACE = " ";
544
- const UA_NAME_SEPARATOR = "/";
545
- const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
546
- const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
547
- const UA_ESCAPE_CHAR = "-";
548
-
549
- const BYTE_LIMIT = 1024;
550
- function encodeFeatures(features) {
551
- let buffer = "";
552
- for (const key in features) {
553
- const val = features[key];
554
- if (buffer.length + val.length + 1 <= BYTE_LIMIT) {
555
- if (buffer.length) {
556
- buffer += "," + val;
557
- }
558
- else {
559
- buffer += val;
560
- }
561
- continue;
562
- }
563
- break;
564
- }
565
- return buffer;
566
- }
567
-
568
- const userAgentMiddleware = (options) => (next, context) => async (args) => {
569
- const { request } = args;
570
- if (!HttpRequest.isInstance(request)) {
571
- return next(args);
572
- }
573
- const { headers } = request;
574
- const userAgent = context?.userAgent?.map(escapeUserAgent) || [];
575
- const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);
576
- await checkFeatures(context, options, args);
577
- const awsContext = context;
578
- defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`);
579
- const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
580
- const appId = await options.userAgentAppId();
581
- if (appId) {
582
- defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
583
- }
584
- const prefix = getUserAgentPrefix();
585
- const sdkUserAgentValue = (prefix ? [prefix] : [])
586
- .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])
587
- .join(SPACE);
588
- const normalUAValue = [
589
- ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")),
590
- ...customUserAgent,
591
- ].join(SPACE);
592
- if (options.runtime !== "browser") {
593
- if (normalUAValue) {
594
- headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT]
595
- ? `${headers[USER_AGENT]} ${normalUAValue}`
596
- : normalUAValue;
597
- }
598
- headers[USER_AGENT] = sdkUserAgentValue;
599
- }
600
- else {
601
- headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;
602
- }
603
- return next({
604
- ...args,
605
- request,
606
- });
607
- };
608
- const escapeUserAgent = (userAgentPair) => {
609
- const name = userAgentPair[0]
610
- .split(UA_NAME_SEPARATOR)
611
- .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR))
612
- .join(UA_NAME_SEPARATOR);
613
- const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);
614
- const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);
615
- const prefix = name.substring(0, prefixSeparatorIndex);
616
- let uaName = name.substring(prefixSeparatorIndex + 1);
617
- if (prefix === "api") {
618
- uaName = uaName.toLowerCase();
619
- }
620
- return [prefix, uaName, version]
621
- .filter((item) => item && item.length > 0)
622
- .reduce((acc, item, index) => {
623
- switch (index) {
624
- case 0:
625
- return item;
626
- case 1:
627
- return `${acc}/${item}`;
628
- default:
629
- return `${acc}#${item}`;
630
- }
631
- }, "");
632
- };
633
- const getUserAgentMiddlewareOptions = {
634
- name: "getUserAgentMiddleware",
635
- step: "build",
636
- priority: "low",
637
- tags: ["SET_USER_AGENT", "USER_AGENT"],
638
- override: true,
639
- };
640
- const getUserAgentPlugin = (config) => ({
641
- applyToStack: (clientStack) => {
642
- clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);
643
- },
644
- });
645
-
646
- const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {
647
- const sections = [
648
- ["aws-sdk-js", clientVersion],
649
- ["ua", "2.1"],
650
- ["os/other"],
651
- ["lang/js"],
652
- ["md/rn"],
653
- ];
654
- if (serviceId) {
655
- sections.push([`api/${serviceId}`, clientVersion]);
656
- }
657
- const appId = await config?.userAgentAppId?.();
658
- if (appId) {
659
- sections.push([`app/${appId}`]);
660
- }
661
- return sections;
662
- };
663
- const defaultUserAgent = createDefaultUserAgentProvider;
664
-
665
- const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => {
666
- const module = require('bowser');
667
- const parse = module.parse ?? module.default.parse ?? (() => "");
668
- const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined;
669
- const sections = [
670
- ["aws-sdk-js", clientVersion],
671
- ["ua", "2.1"],
672
- [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version],
673
- ["lang/js"],
674
- ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`],
675
- ];
676
- if (serviceId) {
677
- sections.push([`api/${serviceId}`, clientVersion]);
678
- }
679
- const appId = await config?.userAgentAppId?.();
680
- if (appId) {
681
- sections.push([`app/${appId}`]);
682
- }
683
- return sections;
684
- };
685
-
686
- const fallback = {
687
- os(ua) {
688
- if (/iPhone|iPad|iPod/.test(ua))
689
- return "iOS";
690
- if (/Macintosh|Mac OS X/.test(ua))
691
- return "macOS";
692
- if (/Windows NT/.test(ua))
693
- return "Windows";
694
- if (/Android/.test(ua))
695
- return "Android";
696
- if (/Linux/.test(ua))
697
- return "Linux";
698
- return undefined;
699
- },
700
- browser(ua) {
701
- if (/EdgiOS|EdgA|Edg\//.test(ua))
702
- return "Microsoft Edge";
703
- if (/Firefox\//.test(ua))
704
- return "Firefox";
705
- if (/Chrome\//.test(ua))
706
- return "Chrome";
707
- if (/Safari\//.test(ua))
708
- return "Safari";
709
- return undefined;
710
- },
711
- };
712
-
713
- const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
714
- if (allowSubDomains) {
715
- for (const label of value.split(".")) {
716
- if (!isVirtualHostableS3Bucket(label)) {
717
- return false;
718
- }
719
- }
720
- return true;
721
- }
722
- if (!isValidHostLabel(value)) {
723
- return false;
724
- }
725
- if (value.length < 3 || value.length > 63) {
726
- return false;
727
- }
728
- if (value !== value.toLowerCase()) {
729
- return false;
730
- }
731
- if (isIpAddress(value)) {
732
- return false;
733
- }
734
- return true;
735
- };
736
-
737
- const ARN_DELIMITER = ":";
738
- const RESOURCE_DELIMITER = "/";
739
- const parseArn = (value) => {
740
- const segments = value.split(ARN_DELIMITER);
741
- if (segments.length < 6)
742
- return null;
743
- const [arn, partition, service, region, accountId, ...resourcePath] = segments;
744
- if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
745
- return null;
746
- const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
747
- return {
748
- partition,
749
- service,
750
- region,
751
- accountId,
752
- resourceId,
753
- };
754
- };
755
-
756
- const awsEndpointFunctions = {
757
- isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
758
- parseArn: parseArn,
759
- partition: partition,
760
- };
761
- customEndpointFunctions.aws = awsEndpointFunctions;
762
-
763
- const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
764
- if (typeof input.endpointProvider !== "function") {
765
- throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
766
- }
767
- const { endpoint } = input;
768
- if (endpoint === undefined) {
769
- input.endpoint = async () => {
770
- return toEndpointV1(input.endpointProvider({
771
- Region: typeof input.region === "function" ? await input.region() : input.region,
772
- UseDualStack: typeof input.useDualstackEndpoint === "function"
773
- ? await input.useDualstackEndpoint()
774
- : input.useDualstackEndpoint,
775
- UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
776
- Endpoint: undefined,
777
- }, { logger: input.logger }));
778
- };
779
- }
780
- return input;
781
- };
782
- const toEndpointV1 = (endpoint) => parseUrl(endpoint.url);
783
-
784
- function stsRegionDefaultResolver() {
785
- return async () => "us-east-1";
786
- }
787
-
788
- const getAwsRegionExtensionConfiguration = (runtimeConfig) => {
789
- return {
790
- setRegion(region) {
791
- runtimeConfig.region = region;
792
- },
793
- region() {
794
- return runtimeConfig.region;
795
- },
796
- };
797
- };
798
- const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => {
799
- return {
800
- region: awsRegionExtensionConfiguration.region(),
801
- };
802
- };
803
-
804
- const no = Symbol.for("node-only");
805
- const emitWarningIfUnsupportedVersion = no;
806
- const state = no;
807
- const crtAvailability = no;
808
- const NODE_APP_ID_CONFIG_OPTIONS = no;
809
- const UA_APP_ID_ENV_NAME = no;
810
- const UA_APP_ID_INI_NAME = no;
811
- const REGION_ENV_NAME = no;
812
- const REGION_INI_NAME = no;
813
- const NODE_REGION_CONFIG_OPTIONS = no;
814
- const NODE_REGION_CONFIG_FILE_OPTIONS = no;
815
- const stsRegionWarning = no;
816
-
817
- exports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID;
818
- exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS;
819
- exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS;
820
- exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS;
821
- exports.REGION_ENV_NAME = REGION_ENV_NAME;
822
- exports.REGION_INI_NAME = REGION_INI_NAME;
823
- exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME;
824
- exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME;
825
- exports.awsEndpointFunctions = awsEndpointFunctions;
826
- exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;
827
- exports.createUserAgentStringParsingProvider = createUserAgentStringParsingProvider;
828
- exports.crtAvailability = crtAvailability;
829
- exports.defaultUserAgent = defaultUserAgent;
830
- exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
831
- exports.fallback = fallback;
832
- exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration;
833
- exports.getHostHeaderPlugin = getHostHeaderPlugin;
834
- exports.getLoggerPlugin = getLoggerPlugin;
835
- exports.getLongPollPlugin = getLongPollPlugin;
836
- exports.getRecursionDetectionPlugin = getRecursionDetectionPlugin;
837
- exports.getUserAgentMiddlewareOptions = getUserAgentMiddlewareOptions;
838
- exports.getUserAgentPlugin = getUserAgentPlugin;
839
- exports.getUserAgentPrefix = getUserAgentPrefix;
840
- exports.hostHeaderMiddleware = hostHeaderMiddleware;
841
- exports.hostHeaderMiddlewareOptions = hostHeaderMiddlewareOptions;
842
- exports.isVirtualHostableS3Bucket = isVirtualHostableS3Bucket;
843
- exports.loggerMiddleware = loggerMiddleware;
844
- exports.loggerMiddlewareOptions = loggerMiddlewareOptions;
845
- exports.parseArn = parseArn;
846
- exports.partition = partition;
847
- exports.recursionDetectionMiddleware = recursionDetectionMiddleware;
848
- exports.recursionDetectionMiddlewareOptions = recursionDetectionMiddlewareOptions;
849
- exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration;
850
- exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;
851
- exports.resolveHostHeaderConfig = resolveHostHeaderConfig;
852
- exports.resolveUserAgentConfig = resolveUserAgentConfig;
853
- exports.setCredentialFeature = setCredentialFeature;
854
- exports.setFeature = setFeature;
855
- exports.setPartitionInfo = setPartitionInfo;
856
- exports.setTokenFeature = setTokenFeature;
857
- exports.state = state;
858
- exports.stsRegionDefaultResolver = stsRegionDefaultResolver;
859
- exports.stsRegionWarning = stsRegionWarning;
860
- exports.toEndpointV1 = toEndpointV1;
861
- exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
862
- exports.userAgentMiddleware = userAgentMiddleware;