@cdk8s/awscdk-resolver 0.0.23 → 0.0.25

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 (273) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -5
  10. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +1 -1
  11. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +1 -0
  12. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +1 -1
  13. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -0
  14. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -0
  15. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-sso/package.json +4 -3
  17. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +1 -1
  18. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -0
  19. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +1 -1
  20. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +1 -0
  21. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
  22. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
  23. package/node_modules/@aws-sdk/client-sts/package.json +5 -4
  24. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  25. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  26. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  27. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  28. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +1 -1
  29. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +1 -1
  30. package/node_modules/@aws-sdk/token-providers/package.json +4 -3
  31. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +12 -0
  32. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
  33. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +2 -2
  34. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +2 -3
  35. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +2 -39
  36. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +2 -7
  37. package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  38. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  39. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +1 -1
  40. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -2
  41. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -37
  42. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -6
  43. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -0
  44. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  45. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  46. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  47. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -4
  48. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -6
  49. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +1 -0
  50. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  51. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +1 -1
  52. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +1 -1
  53. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -1
  54. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -6
  55. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -3
  56. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -15
  57. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -7
  58. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -19
  59. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -12
  60. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -29
  61. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -3
  62. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -15
  63. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -7
  64. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -19
  65. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -10
  66. package/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -25
  67. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -1
  68. package/node_modules/@smithy/util-endpoints/LICENSE +201 -0
  69. package/node_modules/@smithy/util-endpoints/README.md +10 -0
  70. package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +25 -0
  71. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +8 -0
  72. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/index.js +0 -2
  73. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +6 -0
  74. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/parseURL.js +1 -1
  75. package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +42 -0
  76. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +10 -0
  77. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +2 -0
  78. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +2 -0
  79. package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +2 -0
  80. package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +2 -0
  81. package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +2 -0
  82. package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +10 -0
  83. package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +2 -0
  84. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +15 -0
  85. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +4 -0
  86. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +15 -0
  87. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/index.js +1 -0
  88. package/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js +21 -0
  89. package/node_modules/@smithy/util-endpoints/dist-es/index.js +5 -0
  90. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/index.js +0 -1
  91. package/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js +2 -0
  92. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/parseURL.js +1 -1
  93. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +37 -0
  94. package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js +6 -0
  95. package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js +1 -0
  96. package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  97. package/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  98. package/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  99. package/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  100. package/node_modules/@smithy/util-endpoints/dist-es/types/index.js +7 -0
  101. package/node_modules/@smithy/util-endpoints/dist-es/types/shared.js +1 -0
  102. package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +11 -0
  103. package/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js +1 -0
  104. package/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js +12 -0
  105. package/node_modules/@smithy/util-endpoints/dist-es/utils/index.js +2 -0
  106. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/toDebugString.d.ts +1 -1
  107. package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +2 -0
  108. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +5 -0
  109. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/index.d.ts +0 -1
  110. package/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts +4 -0
  111. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
  112. package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +6 -0
  113. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +1 -1
  114. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/index.d.ts +2 -2
  115. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +9 -9
  116. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +2 -0
  117. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +5 -0
  118. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +5 -0
  119. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +7 -0
  120. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +4 -0
  121. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/lib/index.d.ts +9 -11
  122. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +4 -0
  123. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +5 -0
  124. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +7 -0
  125. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +5 -0
  126. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +5 -0
  127. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +5 -0
  128. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +7 -0
  129. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +4 -0
  130. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +6 -0
  131. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +3 -0
  132. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +2 -0
  133. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +5 -0
  134. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +2 -0
  135. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +4 -0
  136. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +3 -0
  137. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +7 -0
  138. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +25 -0
  139. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +2 -0
  140. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +4 -0
  141. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +11 -0
  142. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +8 -0
  143. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +8 -0
  144. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +3 -0
  145. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +2 -0
  146. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +2 -0
  147. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +3 -0
  148. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +2 -0
  149. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +3 -0
  150. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +2 -0
  151. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +2 -0
  152. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +3 -0
  153. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +2 -0
  154. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +2 -0
  155. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +2 -0
  156. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts +3 -0
  157. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +2 -0
  158. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +5 -0
  159. package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +2 -0
  160. package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +4 -0
  161. package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +3 -0
  162. package/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts +7 -0
  163. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +25 -0
  164. package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +4 -0
  165. package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +11 -0
  166. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +1 -1
  167. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +3 -0
  168. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -1
  169. package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -1
  170. package/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts +2 -0
  171. package/node_modules/@smithy/util-endpoints/package.json +67 -0
  172. package/package.json +4 -4
  173. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/callFunction.js +0 -11
  174. package/node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js +0 -6
  175. package/node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js +0 -1
  176. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -4
  177. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -11
  178. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -1
  179. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -1
  180. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -4
  181. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -1
  182. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -4
  183. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -1
  184. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -6
  185. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -1
  186. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -5
  187. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -13
  188. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -13
  189. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -6
  190. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -5
  191. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -6
  192. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -6
  193. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -5
  194. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -6
  195. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -5
  196. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -5
  197. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -6
  198. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -5
  199. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -5
  200. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -1
  201. package/node_modules/@aws-sdk/util-endpoints/dist-types/utils/evaluateRules.d.ts +0 -3
  202. package/node_modules/@aws-sdk/util-endpoints/dist-types/utils/index.d.ts +0 -1
  203. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/debugId.js +0 -0
  204. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/index.js +0 -0
  205. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/toDebugString.js +0 -0
  206. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -0
  207. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/getAttr.js +0 -0
  208. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -0
  209. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/isSet.js +0 -0
  210. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -0
  211. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/not.js +0 -0
  212. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/stringEquals.js +0 -0
  213. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/substring.js +0 -0
  214. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/uriEncode.js +0 -0
  215. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -0
  216. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -0
  217. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -0
  218. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -0
  219. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -0
  220. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -0
  221. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -0
  222. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -0
  223. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -0
  224. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -0
  225. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -0
  226. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -0
  227. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -0
  228. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/debugId.js +0 -0
  229. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/index.js +0 -0
  230. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/toDebugString.js +0 -0
  231. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/booleanEquals.js +0 -0
  232. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/getAttr.js +0 -0
  233. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/getAttrPathList.js +0 -0
  234. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/isSet.js +0 -0
  235. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/isValidHostLabel.js +0 -0
  236. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/not.js +0 -0
  237. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/stringEquals.js +0 -0
  238. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/substring.js +0 -0
  239. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/uriEncode.js +0 -0
  240. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateCondition.js +0 -0
  241. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateConditions.js +0 -0
  242. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateEndpointRule.js +0 -0
  243. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateErrorRule.js +0 -0
  244. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateExpression.js +0 -0
  245. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateRules.js +0 -0
  246. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateTemplate.js +0 -0
  247. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateTreeRule.js +0 -0
  248. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointHeaders.js +0 -0
  249. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointProperties.js +0 -0
  250. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointProperty.js +0 -0
  251. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointUrl.js +0 -0
  252. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getReferenceValue.js +0 -0
  253. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/debugId.d.ts +0 -0
  254. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/index.d.ts +0 -0
  255. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/booleanEquals.d.ts +0 -0
  256. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/getAttr.d.ts +0 -0
  257. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/getAttrPathList.d.ts +0 -0
  258. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/isSet.d.ts +0 -0
  259. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/isValidHostLabel.d.ts +0 -0
  260. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/not.d.ts +0 -0
  261. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/stringEquals.d.ts +0 -0
  262. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/substring.d.ts +0 -0
  263. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/uriEncode.d.ts +0 -0
  264. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/callFunction.d.ts +0 -0
  265. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateCondition.d.ts +0 -0
  266. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateConditions.d.ts +0 -0
  267. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +0 -0
  268. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateExpression.d.ts +0 -0
  269. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +0 -0
  270. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +0 -0
  271. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +0 -0
  272. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +0 -0
  273. /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getReferenceValue.d.ts +0 -0
package/.jsii CHANGED
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.103.1",
14
- "cdk8s": "^2.67.3",
14
+ "cdk8s": "^2.67.4",
15
15
  "constructs": "^10.3.0"
16
16
  },
17
17
  "dependencyClosure": {
@@ -3585,7 +3585,7 @@
3585
3585
  "stability": "stable"
3586
3586
  },
3587
3587
  "homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
3588
- "jsiiVersion": "5.2.20 (build d2fc4d9)",
3588
+ "jsiiVersion": "5.2.23 (build 55d0bc7)",
3589
3589
  "license": "Apache-2.0",
3590
3590
  "metadata": {
3591
3591
  "jsii": {
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.23",
3678
- "fingerprint": "794ufiR+q/7+76KhHdX/GPU98FybS70OW/KwyvKqw4Y="
3677
+ "version": "0.0.25",
3678
+ "fingerprint": "yAIsnw5AwKqGyrWrHASGLVlpTPicF5A2TJ31Tiom5ck="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.23" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.25" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1lBQ3RDLE9BQU87U0FDUjtRQUVELElBQUksT0FBTyxPQUFPLENBQUMsS0FBSyxLQUFLLFFBQVEsRUFBRTtZQUNyQywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7U0FDckY7UUFFRCxNQUFNLE1BQU0sR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FB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CxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -8,5 +8,6 @@ tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
9
  tslib_1.__exportStar(require("./waiters"), exports);
10
10
  tslib_1.__exportStar(require("./models"), exports);
11
+ require("@aws-sdk/util-endpoints");
11
12
  var CloudFormationServiceException_1 = require("./models/CloudFormationServiceException");
12
13
  Object.defineProperty(exports, "CloudFormationServiceException", { enumerable: true, get: function () { return CloudFormationServiceException_1.CloudFormationServiceException; } });
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
@@ -4,4 +4,5 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { CloudFormationServiceException } from "./models/CloudFormationServiceException";
@@ -19,4 +19,5 @@ export * from "./commands";
19
19
  export * from "./pagination";
20
20
  export * from "./waiters";
21
21
  export * from "./models";
22
+ import "@aws-sdk/util-endpoints";
22
23
  export { CloudFormationServiceException } from "./models/CloudFormationServiceException";
@@ -5,4 +5,5 @@ export * from "./commands";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
7
  export * from "./models";
8
+ import "@aws-sdk/util-endpoints";
8
9
  export { CloudFormationServiceException } from "./models/CloudFormationServiceException";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.438.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.437.0",
24
+ "@aws-sdk/client-sts": "3.438.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.437.0",
26
+ "@aws-sdk/credential-provider-node": "3.438.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
30
  "@aws-sdk/middleware-signing": "3.433.0",
31
- "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.438.0",
32
32
  "@aws-sdk/region-config-resolver": "3.433.0",
33
33
  "@aws-sdk/types": "3.433.0",
34
- "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.438.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.433.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.437.0",
37
37
  "@smithy/config-resolver": "^2.0.16",
@@ -54,6 +54,7 @@
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.16",
56
56
  "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-endpoints": "^1.0.2",
57
58
  "@smithy/util-retry": "^2.0.5",
58
59
  "@smithy/util-utf8": "^2.0.0",
59
60
  "@smithy/util-waiter": "^2.0.12",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./SSO"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
9
  tslib_1.__exportStar(require("./models"), exports);
10
+ require("@aws-sdk/util-endpoints");
10
11
  var SSOServiceException_1 = require("./models/SSOServiceException");
11
12
  Object.defineProperty(exports, "SSOServiceException", { enumerable: true, get: function () { return SSOServiceException_1.SSOServiceException; } });
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
@@ -3,4 +3,5 @@ export * from "./SSO";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
+ import "@aws-sdk/util-endpoints";
6
7
  export { SSOServiceException } from "./models/SSOServiceException";
@@ -24,4 +24,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
24
24
  export * from "./commands";
25
25
  export * from "./pagination";
26
26
  export * from "./models";
27
+ import "@aws-sdk/util-endpoints";
27
28
  export { SSOServiceException } from "./models/SSOServiceException";
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
5
  export * from "./pagination";
6
6
  export * from "./models";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { SSOServiceException } from "./models/SSOServiceException";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.438.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -25,10 +25,10 @@
25
25
  "@aws-sdk/middleware-host-header": "3.433.0",
26
26
  "@aws-sdk/middleware-logger": "3.433.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
28
- "@aws-sdk/middleware-user-agent": "3.433.0",
28
+ "@aws-sdk/middleware-user-agent": "3.438.0",
29
29
  "@aws-sdk/region-config-resolver": "3.433.0",
30
30
  "@aws-sdk/types": "3.433.0",
31
- "@aws-sdk/util-endpoints": "3.433.0",
31
+ "@aws-sdk/util-endpoints": "3.438.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.433.0",
33
33
  "@aws-sdk/util-user-agent-node": "3.437.0",
34
34
  "@smithy/config-resolver": "^2.0.16",
@@ -51,6 +51,7 @@
51
51
  "@smithy/util-body-length-node": "^2.1.0",
52
52
  "@smithy/util-defaults-mode-browser": "^2.0.16",
53
53
  "@smithy/util-defaults-mode-node": "^2.0.21",
54
+ "@smithy/util-endpoints": "^1.0.2",
54
55
  "@smithy/util-retry": "^2.0.5",
55
56
  "@smithy/util-utf8": "^2.0.0",
56
57
  "tslib": "^2.5.0"
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./STS"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  tslib_1.__exportStar(require("./defaultRoleAssumers"), exports);
10
+ require("@aws-sdk/util-endpoints");
10
11
  var STSServiceException_1 = require("./models/STSServiceException");
11
12
  Object.defineProperty(exports, "STSServiceException", { enumerable: true, get: function () { return STSServiceException_1.STSServiceException; } });
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
@@ -3,4 +3,5 @@ export * from "./STS";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./defaultRoleAssumers";
6
+ import "@aws-sdk/util-endpoints";
6
7
  export { STSServiceException } from "./models/STSServiceException";
@@ -12,4 +12,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
12
12
  export * from "./commands";
13
13
  export * from "./models";
14
14
  export * from "./defaultRoleAssumers";
15
+ import "@aws-sdk/util-endpoints";
15
16
  export { STSServiceException } from "./models/STSServiceException";
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
5
  export * from "./models";
6
6
  export * from "./defaultRoleAssumers";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { STSServiceException } from "./models/STSServiceException";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.438.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -24,16 +24,16 @@
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
26
  "@aws-sdk/core": "3.436.0",
27
- "@aws-sdk/credential-provider-node": "3.437.0",
27
+ "@aws-sdk/credential-provider-node": "3.438.0",
28
28
  "@aws-sdk/middleware-host-header": "3.433.0",
29
29
  "@aws-sdk/middleware-logger": "3.433.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
31
31
  "@aws-sdk/middleware-sdk-sts": "3.433.0",
32
32
  "@aws-sdk/middleware-signing": "3.433.0",
33
- "@aws-sdk/middleware-user-agent": "3.433.0",
33
+ "@aws-sdk/middleware-user-agent": "3.438.0",
34
34
  "@aws-sdk/region-config-resolver": "3.433.0",
35
35
  "@aws-sdk/types": "3.433.0",
36
- "@aws-sdk/util-endpoints": "3.433.0",
36
+ "@aws-sdk/util-endpoints": "3.438.0",
37
37
  "@aws-sdk/util-user-agent-browser": "3.433.0",
38
38
  "@aws-sdk/util-user-agent-node": "3.437.0",
39
39
  "@smithy/config-resolver": "^2.0.16",
@@ -56,6 +56,7 @@
56
56
  "@smithy/util-body-length-node": "^2.1.0",
57
57
  "@smithy/util-defaults-mode-browser": "^2.0.16",
58
58
  "@smithy/util-defaults-mode-node": "^2.0.21",
59
+ "@smithy/util-endpoints": "^1.0.2",
59
60
  "@smithy/util-retry": "^2.0.5",
60
61
  "@smithy/util-utf8": "^2.0.0",
61
62
  "fast-xml-parser": "4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.437.0",
3
+ "version": "3.438.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@aws-sdk/credential-provider-env": "3.433.0",
28
28
  "@aws-sdk/credential-provider-process": "3.433.0",
29
- "@aws-sdk/credential-provider-sso": "3.437.0",
29
+ "@aws-sdk/credential-provider-sso": "3.438.0",
30
30
  "@aws-sdk/credential-provider-web-identity": "3.433.0",
31
31
  "@aws-sdk/types": "3.433.0",
32
32
  "@smithy/credential-provider-imds": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.437.0",
3
+ "version": "3.438.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
@@ -28,9 +28,9 @@
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
30
  "@aws-sdk/credential-provider-env": "3.433.0",
31
- "@aws-sdk/credential-provider-ini": "3.437.0",
31
+ "@aws-sdk/credential-provider-ini": "3.438.0",
32
32
  "@aws-sdk/credential-provider-process": "3.433.0",
33
- "@aws-sdk/credential-provider-sso": "3.437.0",
33
+ "@aws-sdk/credential-provider-sso": "3.438.0",
34
34
  "@aws-sdk/credential-provider-web-identity": "3.433.0",
35
35
  "@aws-sdk/types": "3.433.0",
36
36
  "@smithy/credential-provider-imds": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.437.0",
3
+ "version": "3.438.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.437.0",
28
- "@aws-sdk/token-providers": "3.437.0",
27
+ "@aws-sdk/client-sso": "3.438.0",
28
+ "@aws-sdk/token-providers": "3.438.0",
29
29
  "@aws-sdk/types": "3.433.0",
30
30
  "@smithy/property-provider": "^2.0.0",
31
31
  "@smithy/shared-ini-file-loader": "^2.0.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.433.0",
3
+ "version": "3.438.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@aws-sdk/types": "3.433.0",
26
- "@aws-sdk/util-endpoints": "3.433.0",
26
+ "@aws-sdk/util-endpoints": "3.438.0",
27
27
  "@smithy/protocol-http": "^3.0.8",
28
28
  "@smithy/types": "^2.4.0",
29
29
  "tslib": "^2.5.0"
@@ -32,7 +32,7 @@ const smithy_client_2 = require("@smithy/smithy-client");
32
32
  const url_parser_1 = require("@smithy/url-parser");
33
33
  const util_base64_1 = require("@smithy/util-base64");
34
34
  const util_utf8_1 = require("@smithy/util-utf8");
35
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
35
+ const util_endpoints_1 = require("@smithy/util-endpoints");
36
36
  var s = "required";
37
37
  var t = "fn";
38
38
  var u = "argv";
@@ -28,7 +28,7 @@ import { NoOpLogger } from "@smithy/smithy-client";
28
28
  import { parseUrl } from "@smithy/url-parser";
29
29
  import { fromBase64, toBase64 } from "@smithy/util-base64";
30
30
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
31
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
31
+ import { resolveEndpoint } from "@smithy/util-endpoints";
32
32
  var s = "required";
33
33
  var t = "fn";
34
34
  var u = "argv";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.437.0",
3
+ "version": "3.438.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,10 +32,10 @@
32
32
  "@aws-sdk/middleware-host-header": "3.433.0",
33
33
  "@aws-sdk/middleware-logger": "3.433.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
35
- "@aws-sdk/middleware-user-agent": "3.433.0",
35
+ "@aws-sdk/middleware-user-agent": "3.438.0",
36
36
  "@aws-sdk/region-config-resolver": "3.433.0",
37
37
  "@aws-sdk/types": "3.433.0",
38
- "@aws-sdk/util-endpoints": "3.433.0",
38
+ "@aws-sdk/util-endpoints": "3.438.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.433.0",
40
40
  "@aws-sdk/util-user-agent-node": "3.437.0",
41
41
  "@smithy/config-resolver": "^2.0.16",
@@ -60,6 +60,7 @@
60
60
  "@smithy/util-body-length-node": "^2.1.0",
61
61
  "@smithy/util-defaults-mode-browser": "^2.0.16",
62
62
  "@smithy/util-defaults-mode-node": "^2.0.21",
63
+ "@smithy/util-endpoints": "^1.0.2",
63
64
  "@smithy/util-retry": "^2.0.5",
64
65
  "@smithy/util-utf8": "^2.0.0",
65
66
  "tslib": "^2.5.0"
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const isVirtualHostableS3Bucket_1 = require("./lib/aws/isVirtualHostableS3Bucket");
5
+ const parseArn_1 = require("./lib/aws/parseArn");
6
+ const partition_1 = require("./lib/aws/partition");
7
+ const awsEndpointFunctions = {
8
+ isVirtualHostableS3Bucket: isVirtualHostableS3Bucket_1.isVirtualHostableS3Bucket,
9
+ parseArn: parseArn_1.parseArn,
10
+ partition: partition_1.partition,
11
+ };
12
+ util_endpoints_1.customEndpointFunctions.aws = awsEndpointFunctions;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./aws"), exports);
4
5
  tslib_1.__exportStar(require("./lib/aws/partition"), exports);
5
6
  tslib_1.__exportStar(require("./lib/isIpAddress"), exports);
6
7
  tslib_1.__exportStar(require("./resolveEndpoint"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isVirtualHostableS3Bucket = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
4
5
  const isIpAddress_1 = require("../isIpAddress");
5
- const isValidHostLabel_1 = require("../isValidHostLabel");
6
6
  const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
7
7
  if (allowSubDomains) {
8
8
  for (const label of value.split(".")) {
@@ -12,7 +12,7 @@ const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
12
12
  }
13
13
  return true;
14
14
  }
15
- if (!(0, isValidHostLabel_1.isValidHostLabel)(value)) {
15
+ if (!(0, util_endpoints_1.isValidHostLabel)(value)) {
16
16
  return false;
17
17
  }
18
18
  if (value.length < 3 || value.length > 63) {
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isIpAddress = void 0;
4
- const IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
5
- const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]"));
6
- exports.isIpAddress = isIpAddress;
4
+ var util_endpoints_1 = require("@smithy/util-endpoints");
5
+ Object.defineProperty(exports, "isIpAddress", { enumerable: true, get: function () { return util_endpoints_1.isIpAddress; } });
@@ -1,42 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveEndpoint = void 0;
4
- const debug_1 = require("./debug");
5
- const types_1 = require("./types");
6
- const utils_1 = require("./utils");
7
- const resolveEndpoint = (ruleSetObject, options) => {
8
- var _a, _b, _c, _d, _e, _f;
9
- const { endpointParams, logger } = options;
10
- const { parameters, rules } = ruleSetObject;
11
- (_b = (_a = options.logger) === null || _a === void 0 ? void 0 : _a.debug) === null || _b === void 0 ? void 0 : _b.call(_a, `${debug_1.debugId} Initial EndpointParams: ${(0, debug_1.toDebugString)(endpointParams)}`);
12
- const paramsWithDefault = Object.entries(parameters)
13
- .filter(([, v]) => v.default != null)
14
- .map(([k, v]) => [k, v.default]);
15
- if (paramsWithDefault.length > 0) {
16
- for (const [paramKey, paramDefaultValue] of paramsWithDefault) {
17
- endpointParams[paramKey] = (_c = endpointParams[paramKey]) !== null && _c !== void 0 ? _c : paramDefaultValue;
18
- }
19
- }
20
- const requiredParams = Object.entries(parameters)
21
- .filter(([, v]) => v.required)
22
- .map(([k]) => k);
23
- for (const requiredParam of requiredParams) {
24
- if (endpointParams[requiredParam] == null) {
25
- throw new types_1.EndpointError(`Missing required parameter: '${requiredParam}'`);
26
- }
27
- }
28
- const endpoint = (0, utils_1.evaluateRules)(rules, { endpointParams, logger, referenceRecord: {} });
29
- if ((_d = options.endpointParams) === null || _d === void 0 ? void 0 : _d.Endpoint) {
30
- try {
31
- const givenEndpoint = new URL(options.endpointParams.Endpoint);
32
- const { protocol, port } = givenEndpoint;
33
- endpoint.url.protocol = protocol;
34
- endpoint.url.port = port;
35
- }
36
- catch (e) {
37
- }
38
- }
39
- (_f = (_e = options.logger) === null || _e === void 0 ? void 0 : _e.debug) === null || _f === void 0 ? void 0 : _f.call(_e, `${debug_1.debugId} Resolved endpoint: ${(0, debug_1.toDebugString)(endpoint)}`);
40
- return endpoint;
41
- };
42
- exports.resolveEndpoint = resolveEndpoint;
4
+ var util_endpoints_1 = require("@smithy/util-endpoints");
5
+ Object.defineProperty(exports, "resolveEndpoint", { enumerable: true, get: function () { return util_endpoints_1.resolveEndpoint; } });
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EndpointError = void 0;
4
- class EndpointError extends Error {
5
- constructor(message) {
6
- super(message);
7
- this.name = "EndpointError";
8
- }
9
- }
10
- exports.EndpointError = EndpointError;
4
+ var util_endpoints_1 = require("@smithy/util-endpoints");
5
+ Object.defineProperty(exports, "EndpointError", { enumerable: true, get: function () { return util_endpoints_1.EndpointError; } });
@@ -0,0 +1,10 @@
1
+ import { customEndpointFunctions } from "@smithy/util-endpoints";
2
+ import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket";
3
+ import { parseArn } from "./lib/aws/parseArn";
4
+ import { partition } from "./lib/aws/partition";
5
+ const awsEndpointFunctions = {
6
+ isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
7
+ parseArn: parseArn,
8
+ partition: partition,
9
+ };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -1,3 +1,4 @@
1
+ export * from "./aws";
1
2
  export * from "./lib/aws/partition";
2
3
  export * from "./lib/isIpAddress";
3
4
  export * from "./resolveEndpoint";
@@ -1,5 +1,5 @@
1
+ import { isValidHostLabel } from "@smithy/util-endpoints";
1
2
  import { isIpAddress } from "../isIpAddress";
2
- import { isValidHostLabel } from "../isValidHostLabel";
3
3
  export const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
4
4
  if (allowSubDomains) {
5
5
  for (const label of value.split(".")) {
@@ -1,2 +1 @@
1
- const IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
2
- export const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]"));
1
+ export { isIpAddress } from "@smithy/util-endpoints";
@@ -1,37 +1 @@
1
- import { debugId, toDebugString } from "./debug";
2
- import { EndpointError } from "./types";
3
- import { evaluateRules } from "./utils";
4
- export const resolveEndpoint = (ruleSetObject, options) => {
5
- const { endpointParams, logger } = options;
6
- const { parameters, rules } = ruleSetObject;
7
- options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
8
- const paramsWithDefault = Object.entries(parameters)
9
- .filter(([, v]) => v.default != null)
10
- .map(([k, v]) => [k, v.default]);
11
- if (paramsWithDefault.length > 0) {
12
- for (const [paramKey, paramDefaultValue] of paramsWithDefault) {
13
- endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue;
14
- }
15
- }
16
- const requiredParams = Object.entries(parameters)
17
- .filter(([, v]) => v.required)
18
- .map(([k]) => k);
19
- for (const requiredParam of requiredParams) {
20
- if (endpointParams[requiredParam] == null) {
21
- throw new EndpointError(`Missing required parameter: '${requiredParam}'`);
22
- }
23
- }
24
- const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} });
25
- if (options.endpointParams?.Endpoint) {
26
- try {
27
- const givenEndpoint = new URL(options.endpointParams.Endpoint);
28
- const { protocol, port } = givenEndpoint;
29
- endpoint.url.protocol = protocol;
30
- endpoint.url.port = port;
31
- }
32
- catch (e) {
33
- }
34
- }
35
- options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`);
36
- return endpoint;
37
- };
1
+ export { resolveEndpoint } from "@smithy/util-endpoints";
@@ -1,6 +1 @@
1
- export class EndpointError extends Error {
2
- constructor(message) {
3
- super(message);
4
- this.name = "EndpointError";
5
- }
6
- }
1
+ export { EndpointError } from "@smithy/util-endpoints";