lambda-live-debugger 1.10.5 → 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 (260) hide show
  1. package/dist/cloudFormation.d.ts +2 -1
  2. package/dist/cloudFormation.mjs +3 -2
  3. package/dist/extension/extension.zip +0 -0
  4. package/dist/extension/nodejs/node_modules/interceptor.js +123 -27
  5. package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
  6. package/dist/frameworks/samFramework.d.ts +6 -0
  7. package/dist/frameworks/samFramework.mjs +65 -23
  8. package/dist/infraDeploy.mjs +2 -2
  9. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/client-sso/package.json +4 -4
  10. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  11. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  12. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  13. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  14. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  15. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  16. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  18. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/core/package.json +1 -1
  21. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  22. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  23. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  24. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  25. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  26. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  27. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  29. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  30. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  31. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  32. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  33. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/token-providers/package.json +3 -3
  34. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  35. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  36. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/client-sso/package.json +4 -4
  37. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  38. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  39. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  40. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  41. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  42. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  43. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  44. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  45. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  46. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  47. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core/package.json +1 -1
  48. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  49. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  50. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  51. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  52. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  53. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  54. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  55. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  56. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  57. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  58. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  59. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  60. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/token-providers/package.json +3 -3
  61. package/node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  62. package/node_modules/@aws-sdk/client-cognito-identity/package.json +6 -6
  63. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/client-sso/package.json +4 -4
  64. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  65. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  66. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  67. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  68. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  69. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  70. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  71. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  72. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  73. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  74. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/package.json +1 -1
  75. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  76. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  77. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  78. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  79. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  80. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  81. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  82. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  83. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  84. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  85. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  86. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  87. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/token-providers/package.json +3 -3
  88. package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  89. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  90. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/client-sso/package.json +4 -4
  91. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  92. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  93. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  94. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  95. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  96. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  97. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  98. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  99. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  100. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  101. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/core/package.json +1 -1
  102. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  103. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  104. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  105. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  106. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  107. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  108. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  109. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  110. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  111. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  112. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  113. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  114. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/token-providers/package.json +3 -3
  115. package/node_modules/@aws-sdk/client-iot/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  116. package/node_modules/@aws-sdk/client-iot/package.json +5 -5
  117. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/client-sso/package.json +4 -4
  118. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  119. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  120. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  121. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  122. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  123. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  124. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  125. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  126. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  127. 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
  128. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/core/package.json +1 -1
  129. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  130. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  131. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  132. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  133. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  134. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  135. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  136. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  137. 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
  138. 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
  139. 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
  140. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  141. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/token-providers/package.json +3 -3
  142. package/node_modules/@aws-sdk/client-iot-data-plane/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  143. package/node_modules/@aws-sdk/client-iot-data-plane/package.json +5 -5
  144. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/client-sso/package.json +4 -4
  145. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  146. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  147. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  148. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  149. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  150. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  151. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  152. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  153. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  154. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  155. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/core/package.json +1 -1
  156. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  157. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  158. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  159. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  160. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  161. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  162. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  163. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  164. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  165. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  166. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  167. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  168. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/token-providers/package.json +3 -3
  169. package/node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  170. package/node_modules/@aws-sdk/client-lambda/package.json +5 -5
  171. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso/package.json +4 -4
  172. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  173. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  174. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  175. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  176. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  177. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  178. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  179. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  180. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  181. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  182. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/package.json +1 -1
  183. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  184. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  185. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  186. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  187. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  188. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  189. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  190. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  191. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  192. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  193. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  194. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  195. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  196. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  197. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers/package.json +3 -3
  198. package/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  199. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  200. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +2 -2
  201. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  202. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  203. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  204. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  205. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  206. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  207. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  208. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  209. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  210. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  211. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/core/package.json +1 -1
  212. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  213. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  214. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  215. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  216. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  217. package/node_modules/@aws-sdk/credential-provider-login/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  218. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  219. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/client-sso/package.json +4 -4
  220. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  221. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  222. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  223. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  224. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  225. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  226. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  227. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  228. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  229. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  230. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core/package.json +1 -1
  231. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  232. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  233. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  234. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  235. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  236. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  237. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  238. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  239. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
  240. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
  241. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +2 -3
  242. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  243. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/token-providers/package.json +3 -3
  244. package/node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  245. package/node_modules/@aws-sdk/credential-providers/package.json +13 -13
  246. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-cjs/index.js +43 -5
  247. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +43 -5
  248. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -1
  249. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +3 -2
  250. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  251. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  252. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +38 -0
  253. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -1
  254. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +27 -0
  255. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +12 -0
  256. package/node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/package.json +1 -1
  257. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  258. package/package.json +18 -15
  259. package/tsconfig.build.json +1 -1
  260. 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-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/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-iot-data-plane",
3
3
  "description": "AWS SDK for JavaScript Iot Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.936.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-iot-data-plane",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.936.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-sso",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
24
  "@aws-sdk/middleware-host-header": "3.936.0",
25
25
  "@aws-sdk/middleware-logger": "3.936.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
27
- "@aws-sdk/middleware-user-agent": "3.936.0",
27
+ "@aws-sdk/middleware-user-agent": "3.940.0",
28
28
  "@aws-sdk/region-config-resolver": "3.936.0",
29
29
  "@aws-sdk/types": "3.936.0",
30
30
  "@aws-sdk/util-endpoints": "3.936.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.936.0",
32
- "@aws-sdk/util-user-agent-node": "3.936.0",
32
+ "@aws-sdk/util-user-agent-node": "3.940.0",
33
33
  "@smithy/config-resolver": "^4.4.3",
34
34
  "@smithy/core": "^3.18.5",
35
35
  "@smithy/fetch-http-handler": "^5.3.6",
@@ -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) {