@mavogel/awscdk-rootmail 0.0.306 → 0.0.307

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 (475) hide show
  1. package/.jsii +2 -2
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +8 -0
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +37 -0
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +2 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/ListLogGroupsCommand.js +22 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +1 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +19 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +8 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +3 -2
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +4 -1
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsCommand.d.ts +99 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +1 -0
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +112 -6
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +18 -0
  18. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +6 -0
  19. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogGroupsCommand.d.ts +50 -0
  20. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +18 -0
  22. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  23. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +12 -12
  24. package/node_modules/@aws-sdk/client-route-53/package.json +12 -12
  25. package/node_modules/@aws-sdk/client-s3/package.json +16 -16
  26. package/node_modules/@aws-sdk/client-ses/package.json +12 -12
  27. package/node_modules/@aws-sdk/client-ssm/package.json +12 -12
  28. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  29. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +8 -5
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +8 -5
  31. package/node_modules/@aws-sdk/core/package.json +3 -3
  32. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  33. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  34. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  35. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  36. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  37. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  38. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  39. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  40. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
  41. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  42. package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
  43. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  44. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  45. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  46. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
  47. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
  48. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +3 -2
  49. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +4 -1
  50. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +3 -2
  51. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +3 -2
  52. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +2 -0
  53. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +2 -0
  54. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +2 -0
  55. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +2 -0
  56. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +2 -0
  57. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
  58. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
  59. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +3 -2
  60. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +4 -1
  61. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +3 -2
  62. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +3 -2
  63. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +2 -0
  64. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +2 -0
  65. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +2 -0
  66. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +2 -0
  67. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +2 -0
  68. package/node_modules/@smithy/config-resolver/package.json +4 -4
  69. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -2
  70. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +625 -2
  71. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
  72. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +6 -0
  73. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +6 -0
  74. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +6 -0
  75. package/node_modules/@smithy/core/package.json +7 -6
  76. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -3
  77. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -1
  78. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +1 -1
  79. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -1
  80. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  81. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  82. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  83. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  84. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +0 -1
  85. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -1
  86. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  87. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  88. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  89. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  90. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  91. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  92. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  93. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  94. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  95. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  96. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  97. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  98. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  99. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  100. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  101. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  102. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  103. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  104. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  105. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  106. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  107. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  108. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  109. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  110. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  111. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  112. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  113. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  114. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  115. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  116. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  117. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  118. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  119. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  120. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  121. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  122. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  123. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  124. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  125. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  126. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  127. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  128. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  129. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  130. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  131. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  132. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  133. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  134. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  135. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  136. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  137. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  138. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  139. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  140. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  141. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  142. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  143. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  144. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  145. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  146. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
  147. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  148. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  149. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +2 -1
  150. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +4 -3
  151. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
  152. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -2
  153. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
  154. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -2
  155. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  156. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  157. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  158. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  159. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  160. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  161. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  162. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  163. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  164. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  165. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  166. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  167. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  168. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  169. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  170. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  171. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  172. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  173. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
  174. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  175. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
  176. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  177. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  178. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  179. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  180. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
  181. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  182. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
  183. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  184. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  185. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  186. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  187. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +60 -0
  188. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  189. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  190. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
  191. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
  192. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
  193. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  194. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
  195. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  196. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  197. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
  198. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  199. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
  200. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  201. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  202. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  203. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  204. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  205. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  206. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  207. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  208. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  209. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  210. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  211. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  212. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  213. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  214. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  215. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  216. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  217. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  218. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  219. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  220. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  221. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  222. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  223. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  224. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  225. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  226. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  227. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  228. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  229. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  230. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  231. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  232. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  233. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  234. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  235. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  236. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  237. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  238. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  239. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  240. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  241. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  242. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  243. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  244. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  245. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  246. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  247. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  248. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  249. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  250. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  251. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  252. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  253. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  254. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
  255. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  256. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
  257. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
  258. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
  259. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
  260. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
  261. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
  262. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
  263. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
  264. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
  265. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
  266. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
  267. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
  268. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
  269. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
  270. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
  271. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
  272. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
  273. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
  274. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
  275. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
  276. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  277. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  278. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
  279. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
  280. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
  281. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  282. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  283. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  284. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  285. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  286. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  287. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  288. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  289. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  290. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +62 -0
  291. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  292. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +3 -7
  293. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +3 -7
  294. package/node_modules/@smithy/protocol-http/package.json +2 -2
  295. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  296. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  297. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  298. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +32 -617
  299. package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -6
  300. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -6
  301. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -6
  302. package/node_modules/@smithy/smithy-client/package.json +8 -8
  303. package/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
  304. package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
  305. package/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
  306. package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
  307. package/node_modules/@smithy/types/dist-es/index.js +3 -0
  308. package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
  309. package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
  310. package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
  311. package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
  312. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -3
  313. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -0
  314. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -2
  315. package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
  316. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
  317. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
  318. package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
  319. package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -0
  320. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -1
  321. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -3
  322. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -2
  323. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -2
  324. package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
  325. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -1
  326. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +2 -0
  327. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -1
  328. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
  329. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
  330. package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
  331. package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
  332. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -0
  333. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -1
  334. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -1
  335. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -1
  336. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -1
  337. package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
  338. package/node_modules/@smithy/types/package.json +1 -1
  339. package/node_modules/@smithy/url-parser/package.json +3 -3
  340. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  341. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  342. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  343. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  344. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  345. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  346. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  347. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  348. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  349. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  350. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  351. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  352. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  353. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  354. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  355. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  356. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
  357. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  358. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
  359. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  360. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  361. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  362. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  363. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
  364. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  365. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
  366. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  367. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  368. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  369. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  370. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +60 -0
  371. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  372. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  373. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  374. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  375. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  376. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  377. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  378. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  379. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  380. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  381. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  382. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  383. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  384. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  385. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  386. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  387. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  388. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  389. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
  390. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  391. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
  392. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  393. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  394. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  395. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  396. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
  397. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  398. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
  399. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  400. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  401. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  402. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  403. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +60 -0
  404. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  405. package/node_modules/@smithy/util-middleware/package.json +2 -2
  406. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  407. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +1 -1
  408. package/node_modules/@smithy/util-retry/package.json +3 -3
  409. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +1 -2
  410. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -2
  411. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +6 -6
  412. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
  413. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +1 -2
  414. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -2
  415. package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
  416. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -3
  417. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -1
  418. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -1
  419. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -1
  420. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -1
  421. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
  422. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -1
  423. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -1
  424. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -1
  425. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -1
  426. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -1
  427. package/node_modules/@smithy/util-stream/package.json +4 -4
  428. package/node_modules/cdk-nag/.jsii +2 -2
  429. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  430. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  431. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  432. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  433. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  434. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  435. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  436. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  437. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  438. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  439. package/node_modules/cdk-nag/package.json +2 -2
  440. package/package.json +1 -1
  441. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/date-utils.js +0 -0
  442. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/lazy-json.js +0 -0
  443. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/parse-utils.js +0 -0
  444. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/quote-header.js +0 -0
  445. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-every.js +0 -0
  446. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-header.js +0 -0
  447. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/date-utils.d.ts +0 -0
  448. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/lazy-json.d.ts +0 -0
  449. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/parse-utils.d.ts +0 -0
  450. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/quote-header.d.ts +0 -0
  451. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-every.d.ts +0 -0
  452. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-header.d.ts +0 -0
  453. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/date-utils.d.ts +0 -0
  454. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/lazy-json.d.ts +0 -0
  455. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/parse-utils.d.ts +0 -0
  456. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/quote-header.d.ts +0 -0
  457. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-every.d.ts +0 -0
  458. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-header.d.ts +0 -0
  459. /package/node_modules/@smithy/{smithy-client/dist-cjs/date-utils.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js} +0 -0
  460. /package/node_modules/@smithy/{smithy-client/dist-cjs/lazy-json.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js} +0 -0
  461. /package/node_modules/@smithy/{smithy-client/dist-cjs/parse-utils.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js} +0 -0
  462. /package/node_modules/@smithy/{smithy-client/dist-cjs/quote-header.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js} +0 -0
  463. /package/node_modules/@smithy/{smithy-client/dist-cjs/split-every.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js} +0 -0
  464. /package/node_modules/@smithy/{smithy-client/dist-cjs/split-header.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js} +0 -0
  465. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
  466. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/LICENSE +0 -0
  467. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/README.md +0 -0
  468. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/db.json +0 -0
  469. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/index.js +0 -0
  470. /package/node_modules/{form-data/node_modules/mime-db → mime-db}/package.json +0 -0
  471. /package/node_modules/{form-data/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
  472. /package/node_modules/{form-data/node_modules/mime-types → mime-types}/LICENSE +0 -0
  473. /package/node_modules/{form-data/node_modules/mime-types → mime-types}/README.md +0 -0
  474. /package/node_modules/{form-data/node_modules/mime-types → mime-types}/index.js +0 -0
  475. /package/node_modules/{form-data/node_modules/mime-types → mime-types}/package.json +0 -0
@@ -0,0 +1,206 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ CONFIG_PREFIX_SEPARATOR: () => CONFIG_PREFIX_SEPARATOR,
25
+ DEFAULT_PROFILE: () => DEFAULT_PROFILE,
26
+ ENV_PROFILE: () => ENV_PROFILE,
27
+ getProfileName: () => getProfileName,
28
+ loadSharedConfigFiles: () => loadSharedConfigFiles,
29
+ loadSsoSessionData: () => loadSsoSessionData,
30
+ parseKnownFiles: () => parseKnownFiles
31
+ });
32
+ module.exports = __toCommonJS(src_exports);
33
+ __reExport(src_exports, require("././getHomeDir"), module.exports);
34
+
35
+ // src/getProfileName.ts
36
+ var ENV_PROFILE = "AWS_PROFILE";
37
+ var DEFAULT_PROFILE = "default";
38
+ var getProfileName = /* @__PURE__ */ __name((init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE, "getProfileName");
39
+
40
+ // src/index.ts
41
+ __reExport(src_exports, require("././getSSOTokenFilepath"), module.exports);
42
+ __reExport(src_exports, require("././getSSOTokenFromFile"), module.exports);
43
+
44
+ // src/loadSharedConfigFiles.ts
45
+
46
+
47
+ // src/getConfigData.ts
48
+ var import_types = require("@smithy/types");
49
+ var getConfigData = /* @__PURE__ */ __name((data) => Object.entries(data).filter(([key]) => {
50
+ const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
51
+ if (indexOfSeparator === -1) {
52
+ return false;
53
+ }
54
+ return Object.values(import_types.IniSectionType).includes(key.substring(0, indexOfSeparator));
55
+ }).reduce(
56
+ (acc, [key, value]) => {
57
+ const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
58
+ const updatedKey = key.substring(0, indexOfSeparator) === import_types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
59
+ acc[updatedKey] = value;
60
+ return acc;
61
+ },
62
+ {
63
+ // Populate default profile, if present.
64
+ ...data.default && { default: data.default }
65
+ }
66
+ ), "getConfigData");
67
+
68
+ // src/getConfigFilepath.ts
69
+ var import_path = require("path");
70
+ var import_getHomeDir = require("././getHomeDir");
71
+ var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
72
+ var getConfigFilepath = /* @__PURE__ */ __name(() => process.env[ENV_CONFIG_PATH] || (0, import_path.join)((0, import_getHomeDir.getHomeDir)(), ".aws", "config"), "getConfigFilepath");
73
+
74
+ // src/getCredentialsFilepath.ts
75
+
76
+ var import_getHomeDir2 = require("././getHomeDir");
77
+ var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
78
+ var getCredentialsFilepath = /* @__PURE__ */ __name(() => process.env[ENV_CREDENTIALS_PATH] || (0, import_path.join)((0, import_getHomeDir2.getHomeDir)(), ".aws", "credentials"), "getCredentialsFilepath");
79
+
80
+ // src/loadSharedConfigFiles.ts
81
+ var import_getHomeDir3 = require("././getHomeDir");
82
+
83
+ // src/parseIni.ts
84
+
85
+ var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
86
+ var profileNameBlockList = ["__proto__", "profile __proto__"];
87
+ var parseIni = /* @__PURE__ */ __name((iniData) => {
88
+ const map = {};
89
+ let currentSection;
90
+ let currentSubSection;
91
+ for (const iniLine of iniData.split(/\r?\n/)) {
92
+ const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
93
+ const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
94
+ if (isSection) {
95
+ currentSection = void 0;
96
+ currentSubSection = void 0;
97
+ const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
98
+ const matches = prefixKeyRegex.exec(sectionName);
99
+ if (matches) {
100
+ const [, prefix, , name] = matches;
101
+ if (Object.values(import_types.IniSectionType).includes(prefix)) {
102
+ currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
103
+ }
104
+ } else {
105
+ currentSection = sectionName;
106
+ }
107
+ if (profileNameBlockList.includes(sectionName)) {
108
+ throw new Error(`Found invalid profile name "${sectionName}"`);
109
+ }
110
+ } else if (currentSection) {
111
+ const indexOfEqualsSign = trimmedLine.indexOf("=");
112
+ if (![0, -1].includes(indexOfEqualsSign)) {
113
+ const [name, value] = [
114
+ trimmedLine.substring(0, indexOfEqualsSign).trim(),
115
+ trimmedLine.substring(indexOfEqualsSign + 1).trim()
116
+ ];
117
+ if (value === "") {
118
+ currentSubSection = name;
119
+ } else {
120
+ if (currentSubSection && iniLine.trimStart() === iniLine) {
121
+ currentSubSection = void 0;
122
+ }
123
+ map[currentSection] = map[currentSection] || {};
124
+ const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
125
+ map[currentSection][key] = value;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ return map;
131
+ }, "parseIni");
132
+
133
+ // src/loadSharedConfigFiles.ts
134
+ var import_slurpFile = require("././slurpFile");
135
+ var swallowError = /* @__PURE__ */ __name(() => ({}), "swallowError");
136
+ var CONFIG_PREFIX_SEPARATOR = ".";
137
+ var loadSharedConfigFiles = /* @__PURE__ */ __name(async (init = {}) => {
138
+ const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
139
+ const homeDir = (0, import_getHomeDir3.getHomeDir)();
140
+ const relativeHomeDirPrefix = "~/";
141
+ let resolvedFilepath = filepath;
142
+ if (filepath.startsWith(relativeHomeDirPrefix)) {
143
+ resolvedFilepath = (0, import_path.join)(homeDir, filepath.slice(2));
144
+ }
145
+ let resolvedConfigFilepath = configFilepath;
146
+ if (configFilepath.startsWith(relativeHomeDirPrefix)) {
147
+ resolvedConfigFilepath = (0, import_path.join)(homeDir, configFilepath.slice(2));
148
+ }
149
+ const parsedFiles = await Promise.all([
150
+ (0, import_slurpFile.slurpFile)(resolvedConfigFilepath, {
151
+ ignoreCache: init.ignoreCache
152
+ }).then(parseIni).then(getConfigData).catch(swallowError),
153
+ (0, import_slurpFile.slurpFile)(resolvedFilepath, {
154
+ ignoreCache: init.ignoreCache
155
+ }).then(parseIni).catch(swallowError)
156
+ ]);
157
+ return {
158
+ configFile: parsedFiles[0],
159
+ credentialsFile: parsedFiles[1]
160
+ };
161
+ }, "loadSharedConfigFiles");
162
+
163
+ // src/getSsoSessionData.ts
164
+
165
+ var getSsoSessionData = /* @__PURE__ */ __name((data) => Object.entries(data).filter(([key]) => key.startsWith(import_types.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {}), "getSsoSessionData");
166
+
167
+ // src/loadSsoSessionData.ts
168
+ var import_slurpFile2 = require("././slurpFile");
169
+ var swallowError2 = /* @__PURE__ */ __name(() => ({}), "swallowError");
170
+ var loadSsoSessionData = /* @__PURE__ */ __name(async (init = {}) => (0, import_slurpFile2.slurpFile)(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2), "loadSsoSessionData");
171
+
172
+ // src/mergeConfigFiles.ts
173
+ var mergeConfigFiles = /* @__PURE__ */ __name((...files) => {
174
+ const merged = {};
175
+ for (const file of files) {
176
+ for (const [key, values] of Object.entries(file)) {
177
+ if (merged[key] !== void 0) {
178
+ Object.assign(merged[key], values);
179
+ } else {
180
+ merged[key] = values;
181
+ }
182
+ }
183
+ }
184
+ return merged;
185
+ }, "mergeConfigFiles");
186
+
187
+ // src/parseKnownFiles.ts
188
+ var parseKnownFiles = /* @__PURE__ */ __name(async (init) => {
189
+ const parsedFiles = await loadSharedConfigFiles(init);
190
+ return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
191
+ }, "parseKnownFiles");
192
+ // Annotate the CommonJS export names for ESM import in node:
193
+
194
+ 0 && (module.exports = {
195
+ getHomeDir,
196
+ ENV_PROFILE,
197
+ DEFAULT_PROFILE,
198
+ getProfileName,
199
+ getSSOTokenFilepath,
200
+ getSSOTokenFromFile,
201
+ CONFIG_PREFIX_SEPARATOR,
202
+ loadSharedConfigFiles,
203
+ loadSsoSessionData,
204
+ parseKnownFiles
205
+ });
206
+
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.slurpFile = void 0;
4
+ const fs_1 = require("fs");
5
+ const { readFile } = fs_1.promises;
6
+ const filePromisesHash = {};
7
+ const slurpFile = (path, options) => {
8
+ if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) {
9
+ filePromisesHash[path] = readFile(path, "utf8");
10
+ }
11
+ return filePromisesHash[path];
12
+ };
13
+ exports.slurpFile = slurpFile;
@@ -0,0 +1,18 @@
1
+ import { IniSectionType } from "@smithy/types";
2
+ import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
3
+ export const getConfigData = (data) => Object.entries(data)
4
+ .filter(([key]) => {
5
+ const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
6
+ if (indexOfSeparator === -1) {
7
+ return false;
8
+ }
9
+ return Object.values(IniSectionType).includes(key.substring(0, indexOfSeparator));
10
+ })
11
+ .reduce((acc, [key, value]) => {
12
+ const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
13
+ const updatedKey = key.substring(0, indexOfSeparator) === IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
14
+ acc[updatedKey] = value;
15
+ return acc;
16
+ }, {
17
+ ...(data.default && { default: data.default }),
18
+ });
@@ -0,0 +1,4 @@
1
+ import { join } from "path";
2
+ import { getHomeDir } from "./getHomeDir";
3
+ export const ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
4
+ export const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
@@ -0,0 +1,4 @@
1
+ import { join } from "path";
2
+ import { getHomeDir } from "./getHomeDir";
3
+ export const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
4
+ export const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join(getHomeDir(), ".aws", "credentials");
@@ -0,0 +1,22 @@
1
+ import { homedir } from "os";
2
+ import { sep } from "path";
3
+ const homeDirCache = {};
4
+ const getHomeDirCacheKey = () => {
5
+ if (process && process.geteuid) {
6
+ return `${process.geteuid()}`;
7
+ }
8
+ return "DEFAULT";
9
+ };
10
+ export const getHomeDir = () => {
11
+ const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
12
+ if (HOME)
13
+ return HOME;
14
+ if (USERPROFILE)
15
+ return USERPROFILE;
16
+ if (HOMEPATH)
17
+ return `${HOMEDRIVE}${HOMEPATH}`;
18
+ const homeDirCacheKey = getHomeDirCacheKey();
19
+ if (!homeDirCache[homeDirCacheKey])
20
+ homeDirCache[homeDirCacheKey] = homedir();
21
+ return homeDirCache[homeDirCacheKey];
22
+ };
@@ -0,0 +1,3 @@
1
+ export const ENV_PROFILE = "AWS_PROFILE";
2
+ export const DEFAULT_PROFILE = "default";
3
+ export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
@@ -0,0 +1,8 @@
1
+ import { createHash } from "crypto";
2
+ import { join } from "path";
3
+ import { getHomeDir } from "./getHomeDir";
4
+ export const getSSOTokenFilepath = (id) => {
5
+ const hasher = createHash("sha1");
6
+ const cacheName = hasher.update(id).digest("hex");
7
+ return join(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
8
+ };
@@ -0,0 +1,8 @@
1
+ import { promises as fsPromises } from "fs";
2
+ import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
3
+ const { readFile } = fsPromises;
4
+ export const getSSOTokenFromFile = async (id) => {
5
+ const ssoTokenFilepath = getSSOTokenFilepath(id);
6
+ const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
7
+ return JSON.parse(ssoTokenText);
8
+ };
@@ -0,0 +1,5 @@
1
+ import { IniSectionType } from "@smithy/types";
2
+ import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
3
+ export const getSsoSessionData = (data) => Object.entries(data)
4
+ .filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR))
5
+ .reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
@@ -0,0 +1,8 @@
1
+ export * from "./getHomeDir";
2
+ export * from "./getProfileName";
3
+ export * from "./getSSOTokenFilepath";
4
+ export * from "./getSSOTokenFromFile";
5
+ export * from "./loadSharedConfigFiles";
6
+ export * from "./loadSsoSessionData";
7
+ export * from "./parseKnownFiles";
8
+ export * from "./types";
@@ -0,0 +1,39 @@
1
+ import { join } from "path";
2
+ import { getConfigData } from "./getConfigData";
3
+ import { getConfigFilepath } from "./getConfigFilepath";
4
+ import { getCredentialsFilepath } from "./getCredentialsFilepath";
5
+ import { getHomeDir } from "./getHomeDir";
6
+ import { parseIni } from "./parseIni";
7
+ import { slurpFile } from "./slurpFile";
8
+ const swallowError = () => ({});
9
+ export const CONFIG_PREFIX_SEPARATOR = ".";
10
+ export const loadSharedConfigFiles = async (init = {}) => {
11
+ const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
12
+ const homeDir = getHomeDir();
13
+ const relativeHomeDirPrefix = "~/";
14
+ let resolvedFilepath = filepath;
15
+ if (filepath.startsWith(relativeHomeDirPrefix)) {
16
+ resolvedFilepath = join(homeDir, filepath.slice(2));
17
+ }
18
+ let resolvedConfigFilepath = configFilepath;
19
+ if (configFilepath.startsWith(relativeHomeDirPrefix)) {
20
+ resolvedConfigFilepath = join(homeDir, configFilepath.slice(2));
21
+ }
22
+ const parsedFiles = await Promise.all([
23
+ slurpFile(resolvedConfigFilepath, {
24
+ ignoreCache: init.ignoreCache,
25
+ })
26
+ .then(parseIni)
27
+ .then(getConfigData)
28
+ .catch(swallowError),
29
+ slurpFile(resolvedFilepath, {
30
+ ignoreCache: init.ignoreCache,
31
+ })
32
+ .then(parseIni)
33
+ .catch(swallowError),
34
+ ]);
35
+ return {
36
+ configFile: parsedFiles[0],
37
+ credentialsFile: parsedFiles[1],
38
+ };
39
+ };
@@ -0,0 +1,9 @@
1
+ import { getConfigFilepath } from "./getConfigFilepath";
2
+ import { getSsoSessionData } from "./getSsoSessionData";
3
+ import { parseIni } from "./parseIni";
4
+ import { slurpFile } from "./slurpFile";
5
+ const swallowError = () => ({});
6
+ export const loadSsoSessionData = async (init = {}) => slurpFile(init.configFilepath ?? getConfigFilepath())
7
+ .then(parseIni)
8
+ .then(getSsoSessionData)
9
+ .catch(swallowError);
@@ -0,0 +1,14 @@
1
+ export const mergeConfigFiles = (...files) => {
2
+ const merged = {};
3
+ for (const file of files) {
4
+ for (const [key, values] of Object.entries(file)) {
5
+ if (merged[key] !== undefined) {
6
+ Object.assign(merged[key], values);
7
+ }
8
+ else {
9
+ merged[key] = values;
10
+ }
11
+ }
12
+ }
13
+ return merged;
14
+ };
@@ -0,0 +1,52 @@
1
+ import { IniSectionType } from "@smithy/types";
2
+ import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
3
+ const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
4
+ const profileNameBlockList = ["__proto__", "profile __proto__"];
5
+ export const parseIni = (iniData) => {
6
+ const map = {};
7
+ let currentSection;
8
+ let currentSubSection;
9
+ for (const iniLine of iniData.split(/\r?\n/)) {
10
+ const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
11
+ const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
12
+ if (isSection) {
13
+ currentSection = undefined;
14
+ currentSubSection = undefined;
15
+ const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
16
+ const matches = prefixKeyRegex.exec(sectionName);
17
+ if (matches) {
18
+ const [, prefix, , name] = matches;
19
+ if (Object.values(IniSectionType).includes(prefix)) {
20
+ currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
21
+ }
22
+ }
23
+ else {
24
+ currentSection = sectionName;
25
+ }
26
+ if (profileNameBlockList.includes(sectionName)) {
27
+ throw new Error(`Found invalid profile name "${sectionName}"`);
28
+ }
29
+ }
30
+ else if (currentSection) {
31
+ const indexOfEqualsSign = trimmedLine.indexOf("=");
32
+ if (![0, -1].includes(indexOfEqualsSign)) {
33
+ const [name, value] = [
34
+ trimmedLine.substring(0, indexOfEqualsSign).trim(),
35
+ trimmedLine.substring(indexOfEqualsSign + 1).trim(),
36
+ ];
37
+ if (value === "") {
38
+ currentSubSection = name;
39
+ }
40
+ else {
41
+ if (currentSubSection && iniLine.trimStart() === iniLine) {
42
+ currentSubSection = undefined;
43
+ }
44
+ map[currentSection] = map[currentSection] || {};
45
+ const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
46
+ map[currentSection][key] = value;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ return map;
52
+ };
@@ -0,0 +1,6 @@
1
+ import { loadSharedConfigFiles } from "./loadSharedConfigFiles";
2
+ import { mergeConfigFiles } from "./mergeConfigFiles";
3
+ export const parseKnownFiles = async (init) => {
4
+ const parsedFiles = await loadSharedConfigFiles(init);
5
+ return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
6
+ };
@@ -0,0 +1,9 @@
1
+ import { promises as fsPromises } from "fs";
2
+ const { readFile } = fsPromises;
3
+ const filePromisesHash = {};
4
+ export const slurpFile = (path, options) => {
5
+ if (!filePromisesHash[path] || options?.ignoreCache) {
6
+ filePromisesHash[path] = readFile(path, "utf8");
7
+ }
8
+ return filePromisesHash[path];
9
+ };
@@ -0,0 +1,8 @@
1
+ import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Returns the config data from parsed ini data.
4
+ * * Returns data for `default`
5
+ * * Returns profile name without prefix.
6
+ * * Returns non-profiles as is.
7
+ */
8
+ export declare const getConfigData: (data: ParsedIniData) => ParsedIniData;
@@ -0,0 +1,2 @@
1
+ export declare const ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
2
+ export declare const getConfigFilepath: () => string;
@@ -0,0 +1,2 @@
1
+ export declare const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
2
+ export declare const getCredentialsFilepath: () => string;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Get the HOME directory for the current runtime.
3
+ *
4
+ * @internal
5
+ */
6
+ export declare const getHomeDir: () => string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare const ENV_PROFILE = "AWS_PROFILE";
5
+ /**
6
+ * @internal
7
+ */
8
+ export declare const DEFAULT_PROFILE = "default";
9
+ /**
10
+ * Returns profile with priority order code - ENV - default.
11
+ * @internal
12
+ */
13
+ export declare const getProfileName: (init: {
14
+ profile?: string;
15
+ }) => string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Returns the filepath of the file where SSO token is stored.
3
+ * @internal
4
+ */
5
+ export declare const getSSOTokenFilepath: (id: string) => string;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Cached SSO token retrieved from SSO login flow.
3
+ * @public
4
+ */
5
+ export interface SSOToken {
6
+ /**
7
+ * A base64 encoded string returned by the sso-oidc service.
8
+ */
9
+ accessToken: string;
10
+ /**
11
+ * The expiration time of the accessToken as an RFC 3339 formatted timestamp.
12
+ */
13
+ expiresAt: string;
14
+ /**
15
+ * The token used to obtain an access token in the event that the accessToken is invalid or expired.
16
+ */
17
+ refreshToken?: string;
18
+ /**
19
+ * The unique identifier string for each client. The client ID generated when performing the registration
20
+ * portion of the OIDC authorization flow. This is used to refresh the accessToken.
21
+ */
22
+ clientId?: string;
23
+ /**
24
+ * A secret string generated when performing the registration portion of the OIDC authorization flow.
25
+ * This is used to refresh the accessToken.
26
+ */
27
+ clientSecret?: string;
28
+ /**
29
+ * The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
30
+ */
31
+ registrationExpiresAt?: string;
32
+ /**
33
+ * The configured sso_region for the profile that credentials are being resolved for.
34
+ */
35
+ region?: string;
36
+ /**
37
+ * The configured sso_start_url for the profile that credentials are being resolved for.
38
+ */
39
+ startUrl?: string;
40
+ }
41
+ /**
42
+ * @internal
43
+ * @param id - can be either a start URL or the SSO session name.
44
+ * Returns the SSO token from the file system.
45
+ */
46
+ export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
@@ -0,0 +1,6 @@
1
+ import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Returns the sso-session data from parsed ini data by reading
4
+ * ssoSessionName after sso-session prefix including/excluding quotes
5
+ */
6
+ export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData;
@@ -0,0 +1,8 @@
1
+ export * from "./getHomeDir";
2
+ export * from "./getProfileName";
3
+ export * from "./getSSOTokenFilepath";
4
+ export * from "./getSSOTokenFromFile";
5
+ export * from "./loadSharedConfigFiles";
6
+ export * from "./loadSsoSessionData";
7
+ export * from "./parseKnownFiles";
8
+ export * from "./types";
@@ -0,0 +1,36 @@
1
+ import { Logger, SharedConfigFiles } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface SharedConfigInit {
6
+ /**
7
+ * The path at which to locate the ini credentials file. Defaults to the
8
+ * value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
9
+ * defined) or `~/.aws/credentials` otherwise.
10
+ */
11
+ filepath?: string;
12
+ /**
13
+ * The path at which to locate the ini config file. Defaults to the value of
14
+ * the `AWS_CONFIG_FILE` environment variable (if defined) or
15
+ * `~/.aws/config` otherwise.
16
+ */
17
+ configFilepath?: string;
18
+ /**
19
+ * Configuration files are normally cached after the first time they are loaded. When this
20
+ * property is set, the provider will always reload any configuration files loaded before.
21
+ */
22
+ ignoreCache?: boolean;
23
+ /**
24
+ * For credential resolution trace logging.
25
+ */
26
+ logger?: Logger;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare const CONFIG_PREFIX_SEPARATOR = ".";
32
+ /**
33
+ * Loads the config and credentials files.
34
+ * @internal
35
+ */
36
+ export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
@@ -0,0 +1,17 @@
1
+ import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Subset of {@link SharedConfigInit}.
4
+ * @internal
5
+ */
6
+ export interface SsoSessionInit {
7
+ /**
8
+ * The path at which to locate the ini config file. Defaults to the value of
9
+ * the `AWS_CONFIG_FILE` environment variable (if defined) or
10
+ * `~/.aws/config` otherwise.
11
+ */
12
+ configFilepath?: string;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
@@ -0,0 +1,7 @@
1
+ import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Merge multiple profile config files such that settings each file are kept together
4
+ *
5
+ * @internal
6
+ */
7
+ export declare const mergeConfigFiles: (...files: ParsedIniData[]) => ParsedIniData;