lambda-live-debugger 1.11.0 → 1.11.1

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 (256) hide show
  1. package/dist/extension/extension.zip +0 -0
  2. package/dist/extension/nodejs/node_modules/interceptor.js +123 -27
  3. package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
  4. package/dist/infraDeploy.mjs +2 -2
  5. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/client-sso/package.json +4 -4
  6. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  7. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  8. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  11. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  12. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  14. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/package.json +1 -1
  17. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  18. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  19. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  20. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  21. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  22. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  23. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  24. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  25. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  26. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  27. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  29. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/token-providers/package.json +3 -3
  30. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  31. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  32. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/client-sso/package.json +4 -4
  33. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  34. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  35. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  36. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  37. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  38. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  39. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  40. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  41. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  42. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  43. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/package.json +1 -1
  44. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  45. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  46. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  47. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  48. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  49. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  50. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  51. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  52. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  53. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  54. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  55. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  56. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/token-providers/package.json +3 -3
  57. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  58. package/node_modules/@aws-sdk/client-cognito-identity/package.json +6 -6
  59. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/client-sso/package.json +4 -4
  60. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  61. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  62. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  63. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  64. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  65. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  66. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  67. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  68. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  69. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  70. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/package.json +1 -1
  71. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  72. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  73. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  74. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  75. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  76. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  77. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  78. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  79. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  80. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  81. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  82. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  83. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/token-providers/package.json +3 -3
  84. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  85. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  86. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/client-sso/package.json +4 -4
  87. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  88. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  89. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  90. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  91. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  92. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  93. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  94. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  95. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  96. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  97. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/package.json +1 -1
  98. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  99. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  100. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  101. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  102. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  103. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  104. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  105. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  106. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  107. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  108. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  109. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  110. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/token-providers/package.json +3 -3
  111. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  112. package/node_modules/@aws-sdk/client-iot/package.json +5 -5
  113. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/client-sso/package.json +4 -4
  114. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  115. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  116. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  117. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  118. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  119. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  120. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  121. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  122. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  123. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  124. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/package.json +1 -1
  125. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  126. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  127. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  128. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  129. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  130. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  131. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  132. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  133. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  134. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  135. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  136. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  137. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/token-providers/package.json +3 -3
  138. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  139. package/node_modules/@aws-sdk/client-iot-data-plane/package.json +5 -5
  140. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/client-sso/package.json +4 -4
  141. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  142. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  143. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  144. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  145. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  146. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  147. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  148. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  149. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  150. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  151. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/package.json +1 -1
  152. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  153. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  154. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  155. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  156. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  157. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  158. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  159. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  160. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  161. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  162. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  163. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  164. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/token-providers/package.json +3 -3
  165. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  166. package/node_modules/@aws-sdk/client-lambda/package.json +5 -5
  167. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso/package.json +4 -4
  168. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  169. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  170. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  171. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  172. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  173. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  174. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  175. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  176. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  177. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  178. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/package.json +1 -1
  179. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  180. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  181. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  182. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  183. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  184. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  185. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  186. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  187. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  188. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  189. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  190. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  191. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  192. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  193. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers/package.json +3 -3
  194. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  195. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  196. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +2 -2
  197. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  198. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  199. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  200. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  201. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  202. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  203. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  204. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  205. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  206. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  207. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/package.json +1 -1
  208. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  209. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  210. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  211. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  212. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  213. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  214. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  215. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/client-sso/package.json +4 -4
  216. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  217. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  218. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  219. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  220. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  221. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  222. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  223. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  224. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  225. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  226. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/package.json +1 -1
  227. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  228. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  229. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  230. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  231. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  232. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  233. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  234. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  235. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  236. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  237. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  238. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  239. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/token-providers/package.json +3 -3
  240. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  241. package/node_modules/@aws-sdk/credential-providers/package.json +13 -13
  242. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  243. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  244. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  245. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  246. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  247. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  248. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  249. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  250. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  251. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  252. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/package.json +1 -1
  253. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  254. package/package.json +15 -15
  255. package/tsconfig.build.json +1 -1
  256. package/tsconfig.typecheck.json +1 -1
@@ -3,6 +3,7 @@ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
4
4
  import { toBase64 } from "@smithy/util-base64";
5
5
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
6
+ import { serializingStructIterator } from "../structIterator";
6
7
  import { JsonReplacer } from "./jsonReplacer";
7
8
  export class JsonShapeSerializer extends SerdeContextConfig {
8
9
  settings;
@@ -58,10 +59,10 @@ export class JsonShapeSerializer extends SerdeContextConfig {
58
59
  }
59
60
  else if (ns.isStructSchema() && isObject) {
60
61
  const out = {};
61
- for (const [memberName, memberSchema] of ns.structIterator()) {
62
- const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
62
+ for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
63
63
  const serializableValue = this._write(memberSchema, value[memberName], ns);
64
64
  if (serializableValue !== undefined) {
65
+ const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
65
66
  out[targetKey] = serializableValue;
66
67
  }
67
68
  }
@@ -3,6 +3,7 @@ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
4
4
  import { toBase64 } from "@smithy/util-base64";
5
5
  import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
6
+ import { serializingStructIterator } from "../../structIterator";
6
7
  export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
7
8
  settings;
8
9
  buffer;
@@ -44,7 +45,7 @@ export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
44
45
  }
45
46
  else if (ns.isStructSchema()) {
46
47
  b += "{";
47
- for (const [name, member] of ns.structIterator()) {
48
+ for (const [name, member] of serializingStructIterator(ns, value)) {
48
49
  const item = value[name];
49
50
  const targetKey = this.settings.jsonName ? member.getMergedTraits().jsonName ?? name : name;
50
51
  const serializableValue = this.writeValue(member, item);
@@ -4,6 +4,7 @@ import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde";
4
4
  import { dateToUtcString } from "@smithy/smithy-client";
5
5
  import { toBase64 } from "@smithy/util-base64";
6
6
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
7
+ import { serializingStructIterator } from "../structIterator";
7
8
  export class QueryShapeSerializer extends SerdeContextConfig {
8
9
  settings;
9
10
  buffer;
@@ -113,7 +114,7 @@ export class QueryShapeSerializer extends SerdeContextConfig {
113
114
  }
114
115
  else if (ns.isStructSchema()) {
115
116
  if (value && typeof value === "object") {
116
- for (const [memberName, member] of ns.structIterator()) {
117
+ for (const [memberName, member] of serializingStructIterator(ns, value)) {
117
118
  if (value[memberName] == null && !member.isIdempotencyToken()) {
118
119
  continue;
119
120
  }
@@ -0,0 +1,38 @@
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ export function* serializingStructIterator(ns, sourceObject) {
3
+ if (ns.isUnitSchema()) {
4
+ return;
5
+ }
6
+ const struct = ns.getSchema();
7
+ for (let i = 0; i < struct[4].length; ++i) {
8
+ const key = struct[4][i];
9
+ const memberNs = new NormalizedSchema([struct[5][i], 0], key);
10
+ if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
11
+ continue;
12
+ }
13
+ yield [key, memberNs];
14
+ }
15
+ }
16
+ export function* deserializingStructIterator(ns, sourceObject, nameTrait) {
17
+ if (ns.isUnitSchema()) {
18
+ return;
19
+ }
20
+ const struct = ns.getSchema();
21
+ let keysRemaining = Object.keys(sourceObject).length;
22
+ for (let i = 0; i < struct[4].length; ++i) {
23
+ if (keysRemaining === 0) {
24
+ break;
25
+ }
26
+ const key = struct[4][i];
27
+ const memberNs = new NormalizedSchema([struct[5][i], 0], key);
28
+ let serializationKey = key;
29
+ if (nameTrait) {
30
+ serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
31
+ }
32
+ if (!(serializationKey in sourceObject)) {
33
+ continue;
34
+ }
35
+ yield [key, memberNs];
36
+ keysRemaining -= 1;
37
+ }
38
+ }
@@ -5,6 +5,7 @@ import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde";
5
5
  import { dateToUtcString } from "@smithy/smithy-client";
6
6
  import { fromBase64, toBase64 } from "@smithy/util-base64";
7
7
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
8
+ import { serializingStructIterator } from "../structIterator";
8
9
  export class XmlShapeSerializer extends SerdeContextConfig {
9
10
  settings;
10
11
  stringBuffer;
@@ -63,7 +64,7 @@ export class XmlShapeSerializer extends SerdeContextConfig {
63
64
  }
64
65
  const structXmlNode = XmlNode.of(name);
65
66
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
66
- for (const [memberName, memberSchema] of ns.structIterator()) {
67
+ for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
67
68
  const val = value[memberName];
68
69
  if (val != null || memberSchema.isIdempotencyToken()) {
69
70
  if (memberSchema.getMergedTraits().xmlAttribute) {
@@ -0,0 +1,27 @@
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ /**
3
+ * @internal
4
+ */
5
+ type SourceObject = Record<string, any>;
6
+ /**
7
+ * For serialization use only.
8
+ * @internal
9
+ *
10
+ * @param ns - normalized schema object.
11
+ * @param sourceObject - source object from serialization.
12
+ */
13
+ export declare function serializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject): Generator<any[], void, unknown>;
14
+ /**
15
+ * For deserialization use only.
16
+ * Yields a subset of NormalizedSchema::structIterator matched to the source object keys.
17
+ * This is a performance optimization to avoid creation of NormalizedSchema member
18
+ * objects for members that are undefined in the source data object but may be numerous
19
+ * in the schema/model.
20
+ * @internal
21
+ *
22
+ * @param ns - normalized schema object.
23
+ * @param sourceObject - source object from deserialization.
24
+ * @param nameTrait - xmlName or jsonName trait to look for.
25
+ */
26
+ export declare function deserializingStructIterator(ns: NormalizedSchema, sourceObject: SourceObject, nameTrait?: "xmlName" | "jsonName" | false): Generator<any[], void, unknown>;
27
+ export {};
@@ -0,0 +1,12 @@
1
+ import { NormalizedSchema } from "@smithy/core/schema";
2
+ type SourceObject = Record<string, any>;
3
+ export declare function serializingStructIterator(
4
+ ns: NormalizedSchema,
5
+ sourceObject: SourceObject
6
+ ): Generator<any[], void, unknown>;
7
+ export declare function deserializingStructIterator(
8
+ ns: NormalizedSchema,
9
+ sourceObject: SourceObject,
10
+ nameTrait?: "xmlName" | "jsonName" | false
11
+ ): Generator<any[], void, unknown>;
12
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.936.0",
29
+ "@aws-sdk/core": "3.940.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@smithy/property-provider": "^4.2.5",
32
32
  "@smithy/types": "^4.9.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "3.936.0",
31
+ "@aws-sdk/core": "3.940.0",
32
32
  "@aws-sdk/types": "3.936.0",
33
33
  "@smithy/fetch-http-handler": "^5.3.6",
34
34
  "@smithy/node-http-handler": "^4.4.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "3.936.0",
32
- "@aws-sdk/credential-provider-env": "3.936.0",
33
- "@aws-sdk/credential-provider-http": "3.936.0",
34
- "@aws-sdk/credential-provider-login": "3.936.0",
35
- "@aws-sdk/credential-provider-process": "3.936.0",
36
- "@aws-sdk/credential-provider-sso": "3.936.0",
37
- "@aws-sdk/credential-provider-web-identity": "3.936.0",
38
- "@aws-sdk/nested-clients": "3.936.0",
31
+ "@aws-sdk/core": "3.940.0",
32
+ "@aws-sdk/credential-provider-env": "3.940.0",
33
+ "@aws-sdk/credential-provider-http": "3.940.0",
34
+ "@aws-sdk/credential-provider-login": "3.940.0",
35
+ "@aws-sdk/credential-provider-process": "3.940.0",
36
+ "@aws-sdk/credential-provider-sso": "3.940.0",
37
+ "@aws-sdk/credential-provider-web-identity": "3.940.0",
38
+ "@aws-sdk/nested-clients": "3.940.0",
39
39
  "@aws-sdk/types": "3.936.0",
40
40
  "@smithy/credential-provider-imds": "^4.2.5",
41
41
  "@smithy/property-provider": "^4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "3.936.0",
35
- "@aws-sdk/credential-provider-http": "3.936.0",
36
- "@aws-sdk/credential-provider-ini": "3.936.0",
37
- "@aws-sdk/credential-provider-process": "3.936.0",
38
- "@aws-sdk/credential-provider-sso": "3.936.0",
39
- "@aws-sdk/credential-provider-web-identity": "3.936.0",
34
+ "@aws-sdk/credential-provider-env": "3.940.0",
35
+ "@aws-sdk/credential-provider-http": "3.940.0",
36
+ "@aws-sdk/credential-provider-ini": "3.940.0",
37
+ "@aws-sdk/credential-provider-process": "3.940.0",
38
+ "@aws-sdk/credential-provider-sso": "3.940.0",
39
+ "@aws-sdk/credential-provider-web-identity": "3.940.0",
40
40
  "@aws-sdk/types": "3.936.0",
41
41
  "@smithy/credential-provider-imds": "^4.2.5",
42
42
  "@smithy/property-provider": "^4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider that sources credential_process 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
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.936.0",
29
+ "@aws-sdk/core": "3.940.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@smithy/property-provider": "^4.2.5",
32
32
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.936.0",
3
+ "version": "3.940.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",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso": "3.936.0",
30
- "@aws-sdk/core": "3.936.0",
31
- "@aws-sdk/token-providers": "3.936.0",
29
+ "@aws-sdk/client-sso": "3.940.0",
30
+ "@aws-sdk/core": "3.940.0",
31
+ "@aws-sdk/token-providers": "3.940.0",
32
32
  "@aws-sdk/types": "3.936.0",
33
33
  "@smithy/property-provider": "^4.2.5",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "3.936.0",
38
- "@aws-sdk/nested-clients": "3.936.0",
37
+ "@aws-sdk/core": "3.940.0",
38
+ "@aws-sdk/nested-clients": "3.940.0",
39
39
  "@aws-sdk/types": "3.936.0",
40
40
  "@smithy/property-provider": "^4.2.5",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "3.936.0",
31
+ "@aws-sdk/core": "3.940.0",
32
32
  "@aws-sdk/types": "3.936.0",
33
33
  "@aws-sdk/util-arn-parser": "3.893.0",
34
34
  "@smithy/core": "^3.18.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.936.0",
28
+ "@aws-sdk/core": "3.940.0",
29
29
  "@aws-sdk/types": "3.936.0",
30
30
  "@aws-sdk/util-endpoints": "3.936.0",
31
31
  "@smithy/core": "^3.18.5",
@@ -200,9 +200,8 @@ declare const AssumeRoleCommand_base: {
200
200
  * @throws {@link RegionDisabledException} (client fault)
201
201
  * <p>STS is not activated in the requested region for the account that is being asked to
202
202
  * generate credentials. The account administrator must use the IAM console to activate
203
- * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and
204
- * Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
205
- * Guide</i>.</p>
203
+ * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM
204
+ * User Guide</i>.</p>
206
205
  *
207
206
  * @throws {@link STSServiceException}
208
207
  * <p>Base exception class for all service exceptions from STS service.</p>
@@ -233,9 +233,8 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
233
233
  * @throws {@link RegionDisabledException} (client fault)
234
234
  * <p>STS is not activated in the requested region for the account that is being asked to
235
235
  * generate credentials. The account administrator must use the IAM console to activate
236
- * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and
237
- * Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
238
- * Guide</i>.</p>
236
+ * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM
237
+ * User Guide</i>.</p>
239
238
  *
240
239
  * @throws {@link STSServiceException}
241
240
  * <p>Base exception class for all service exceptions from STS service.</p>
@@ -49,9 +49,8 @@ export declare class PackedPolicyTooLargeException extends __BaseException {
49
49
  /**
50
50
  * <p>STS is not activated in the requested region for the account that is being asked to
51
51
  * generate credentials. The account administrator must use the IAM console to activate
52
- * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and
53
- * Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
54
- * Guide</i>.</p>
52
+ * STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate">Activating and Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM
53
+ * User Guide</i>.</p>
55
54
  * @public
56
55
  */
57
56
  export declare class RegionDisabledException extends __BaseException {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,16 +29,16 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.936.0",
32
+ "@aws-sdk/core": "3.940.0",
33
33
  "@aws-sdk/middleware-host-header": "3.936.0",
34
34
  "@aws-sdk/middleware-logger": "3.936.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
36
- "@aws-sdk/middleware-user-agent": "3.936.0",
36
+ "@aws-sdk/middleware-user-agent": "3.940.0",
37
37
  "@aws-sdk/region-config-resolver": "3.936.0",
38
38
  "@aws-sdk/types": "3.936.0",
39
39
  "@aws-sdk/util-endpoints": "3.936.0",
40
40
  "@aws-sdk/util-user-agent-browser": "3.936.0",
41
- "@aws-sdk/util-user-agent-node": "3.936.0",
41
+ "@aws-sdk/util-user-agent-node": "3.940.0",
42
42
  "@smithy/config-resolver": "^4.4.3",
43
43
  "@smithy/core": "^3.18.5",
44
44
  "@smithy/fetch-http-handler": "^5.3.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/middleware-sdk-s3": "3.936.0",
28
+ "@aws-sdk/middleware-sdk-s3": "3.940.0",
29
29
  "@aws-sdk/types": "3.936.0",
30
30
  "@smithy/protocol-http": "^5.3.5",
31
31
  "@smithy/signature-v4": "^5.3.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.936.0",
33
- "@aws-sdk/nested-clients": "3.936.0",
32
+ "@aws-sdk/core": "3.940.0",
33
+ "@aws-sdk/nested-clients": "3.940.0",
34
34
  "@aws-sdk/types": "3.936.0",
35
35
  "@smithy/property-provider": "^4.2.5",
36
36
  "@smithy/shared-ini-file-loader": "^4.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.936.0",
25
+ "@aws-sdk/middleware-user-agent": "3.940.0",
26
26
  "@aws-sdk/types": "3.936.0",
27
27
  "@smithy/node-config-provider": "^4.3.5",
28
28
  "@smithy/types": "^4.9.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.937.0",
4
+ "version": "3.940.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -29,24 +29,24 @@
29
29
  "@aws-crypto/sha1-browser": "5.2.0",
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "3.936.0",
33
- "@aws-sdk/credential-provider-node": "3.936.0",
32
+ "@aws-sdk/core": "3.940.0",
33
+ "@aws-sdk/credential-provider-node": "3.940.0",
34
34
  "@aws-sdk/middleware-bucket-endpoint": "3.936.0",
35
35
  "@aws-sdk/middleware-expect-continue": "3.936.0",
36
- "@aws-sdk/middleware-flexible-checksums": "3.936.0",
36
+ "@aws-sdk/middleware-flexible-checksums": "3.940.0",
37
37
  "@aws-sdk/middleware-host-header": "3.936.0",
38
38
  "@aws-sdk/middleware-location-constraint": "3.936.0",
39
39
  "@aws-sdk/middleware-logger": "3.936.0",
40
40
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
41
- "@aws-sdk/middleware-sdk-s3": "3.936.0",
41
+ "@aws-sdk/middleware-sdk-s3": "3.940.0",
42
42
  "@aws-sdk/middleware-ssec": "3.936.0",
43
- "@aws-sdk/middleware-user-agent": "3.936.0",
43
+ "@aws-sdk/middleware-user-agent": "3.940.0",
44
44
  "@aws-sdk/region-config-resolver": "3.936.0",
45
- "@aws-sdk/signature-v4-multi-region": "3.936.0",
45
+ "@aws-sdk/signature-v4-multi-region": "3.940.0",
46
46
  "@aws-sdk/types": "3.936.0",
47
47
  "@aws-sdk/util-endpoints": "3.936.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.936.0",
49
- "@aws-sdk/util-user-agent-node": "3.936.0",
49
+ "@aws-sdk/util-user-agent-node": "3.940.0",
50
50
  "@smithy/config-resolver": "^4.4.3",
51
51
  "@smithy/core": "^3.18.5",
52
52
  "@smithy/eventstream-serde-browser": "^4.2.5",
@@ -83,7 +83,7 @@
83
83
  "tslib": "^2.6.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@aws-sdk/signature-v4-crt": "3.936.0",
86
+ "@aws-sdk/signature-v4-crt": "3.940.0",
87
87
  "@tsconfig/node18": "18.2.4",
88
88
  "@types/node": "^18.19.69",
89
89
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-cognito-identity",
3
- "version": "3.936.0",
3
+ "version": "3.940.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline credential-provider-cognito-identity",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-cognito-identity": "3.936.0",
27
+ "@aws-sdk/client-cognito-identity": "3.940.0",
28
28
  "@aws-sdk/types": "3.936.0",
29
29
  "@smithy/property-provider": "^4.2.5",
30
30
  "@smithy/types": "^4.9.0",
@@ -539,6 +539,44 @@ class SerdeContextConfig {
539
539
  }
540
540
  }
541
541
 
542
+ function* serializingStructIterator(ns, sourceObject) {
543
+ if (ns.isUnitSchema()) {
544
+ return;
545
+ }
546
+ const struct = ns.getSchema();
547
+ for (let i = 0; i < struct[4].length; ++i) {
548
+ const key = struct[4][i];
549
+ const memberNs = new schema.NormalizedSchema([struct[5][i], 0], key);
550
+ if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
551
+ continue;
552
+ }
553
+ yield [key, memberNs];
554
+ }
555
+ }
556
+ function* deserializingStructIterator(ns, sourceObject, nameTrait) {
557
+ if (ns.isUnitSchema()) {
558
+ return;
559
+ }
560
+ const struct = ns.getSchema();
561
+ let keysRemaining = Object.keys(sourceObject).length;
562
+ for (let i = 0; i < struct[4].length; ++i) {
563
+ if (keysRemaining === 0) {
564
+ break;
565
+ }
566
+ const key = struct[4][i];
567
+ const memberNs = new schema.NormalizedSchema([struct[5][i], 0], key);
568
+ let serializationKey = key;
569
+ if (nameTrait) {
570
+ serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
571
+ }
572
+ if (!(serializationKey in sourceObject)) {
573
+ continue;
574
+ }
575
+ yield [key, memberNs];
576
+ keysRemaining -= 1;
577
+ }
578
+ }
579
+
542
580
  function jsonReviver(key, value, context) {
543
581
  if (context?.source) {
544
582
  const numericString = context.source;
@@ -652,7 +690,7 @@ class JsonShapeDeserializer extends SerdeContextConfig {
652
690
  }
653
691
  else if (ns.isStructSchema() && isObject) {
654
692
  const out = {};
655
- for (const [memberName, memberSchema] of ns.structIterator()) {
693
+ for (const [memberName, memberSchema] of deserializingStructIterator(ns, value, this.settings.jsonName ? "jsonName" : false)) {
656
694
  const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
657
695
  const deserializedValue = this._read(memberSchema, value[fromKey]);
658
696
  if (deserializedValue != null) {
@@ -829,10 +867,10 @@ class JsonShapeSerializer extends SerdeContextConfig {
829
867
  }
830
868
  else if (ns.isStructSchema() && isObject) {
831
869
  const out = {};
832
- for (const [memberName, memberSchema] of ns.structIterator()) {
833
- const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
870
+ for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
834
871
  const serializableValue = this._write(memberSchema, value[memberName], ns);
835
872
  if (serializableValue !== undefined) {
873
+ const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
836
874
  out[targetKey] = serializableValue;
837
875
  }
838
876
  }
@@ -1360,7 +1398,7 @@ class QueryShapeSerializer extends SerdeContextConfig {
1360
1398
  }
1361
1399
  else if (ns.isStructSchema()) {
1362
1400
  if (value && typeof value === "object") {
1363
- for (const [memberName, member] of ns.structIterator()) {
1401
+ for (const [memberName, member] of serializingStructIterator(ns, value)) {
1364
1402
  if (value[memberName] == null && !member.isIdempotencyToken()) {
1365
1403
  continue;
1366
1404
  }
@@ -1657,7 +1695,7 @@ class XmlShapeSerializer extends SerdeContextConfig {
1657
1695
  }
1658
1696
  const structXmlNode = xmlBuilder.XmlNode.of(name);
1659
1697
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1660
- for (const [memberName, memberSchema] of ns.structIterator()) {
1698
+ for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
1661
1699
  const val = value[memberName];
1662
1700
  if (val != null || memberSchema.isIdempotencyToken()) {
1663
1701
  if (memberSchema.getMergedTraits().xmlAttribute) {