p6-cdk-s3-protector 0.0.44 → 0.0.45

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 (240) hide show
  1. package/.jsii +5 -5
  2. package/lib/p6cdks3protector.js +1 -1
  3. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  4. package/node_modules/@aws-sdk/client-s3-control/package.json +40 -40
  5. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  6. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +2 -0
  7. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +400 -1095
  8. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +7 -0
  9. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +2 -0
  10. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +3 -10
  11. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -10
  12. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  13. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +3 -10
  14. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -9
  15. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +3 -9
  16. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +3 -9
  17. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetDelegatedAccessTokenCommand.js +3 -10
  18. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +3 -10
  19. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +3 -10
  20. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +0 -45
  21. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +7 -0
  22. package/node_modules/@aws-sdk/client-sts/dist-es/schemas/schemas_0.js +410 -0
  23. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +10 -1
  24. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +0 -44
  25. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
  27. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/node_modules/@aws-sdk/client-sts/dist-types/schemas/schemas_0.d.ts +55 -0
  30. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +4 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +0 -31
  32. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  37. package/node_modules/@aws-sdk/client-sts/package.json +33 -33
  38. package/node_modules/@aws-sdk/core/node_modules/@smithy/property-provider/package.json +2 -2
  39. package/node_modules/@aws-sdk/core/package.json +11 -11
  40. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  41. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  42. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  43. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  44. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  45. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  46. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  47. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  48. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  49. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  50. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  51. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  52. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  53. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  54. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  55. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  56. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
  57. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  58. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  59. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  60. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  61. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  62. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  63. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  64. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  65. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  66. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  67. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  68. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  69. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  70. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  71. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider/package.json +2 -2
  72. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  73. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  74. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  75. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  76. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  77. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  78. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  79. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  80. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  81. package/node_modules/@aws-sdk/middleware-sdk-s3-control/package.json +8 -8
  82. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  83. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  84. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  85. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  86. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  87. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
  88. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  89. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
  90. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  91. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  92. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
  93. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
  94. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
  95. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
  96. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
  97. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  98. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  99. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  100. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  101. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
  102. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
  103. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
  104. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  105. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  106. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  107. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
  108. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
  109. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  110. package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider/package.json +2 -2
  111. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  112. package/node_modules/@aws-sdk/types/package.json +2 -2
  113. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  114. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  115. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  116. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  117. package/node_modules/@smithy/abort-controller/package.json +2 -2
  118. package/node_modules/@smithy/config-resolver/package.json +5 -5
  119. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  120. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
  121. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
  122. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
  123. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
  124. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  125. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
  126. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
  127. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  128. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  129. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  130. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
  131. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  132. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  133. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  134. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  135. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  136. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  137. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  138. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
  139. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
  140. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  141. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  142. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
  143. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  144. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  145. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  146. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
  147. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  148. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  149. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  150. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
  151. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  152. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  153. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  154. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  155. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  156. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  157. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  158. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
  159. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
  160. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  161. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  162. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
  163. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  164. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  165. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
  166. package/node_modules/@smithy/core/package.json +7 -7
  167. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  168. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  169. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  170. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  171. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  172. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  173. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  174. package/node_modules/@smithy/hash-node/package.json +2 -2
  175. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  176. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  177. package/node_modules/@smithy/md5-js/package.json +2 -2
  178. package/node_modules/@smithy/middleware-apply-body-checksum/package.json +3 -3
  179. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  180. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  181. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  182. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  183. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  184. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +2 -2
  185. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  186. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  187. package/node_modules/@smithy/protocol-http/package.json +2 -2
  188. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  189. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  190. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  191. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +2 -3
  192. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
  193. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  194. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
  195. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
  196. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
  197. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
  198. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  199. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  200. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  201. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
  202. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  203. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  204. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
  205. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  206. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  207. package/node_modules/@smithy/signature-v4/package.json +4 -4
  208. package/node_modules/@smithy/smithy-client/package.json +7 -7
  209. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +12 -12
  210. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
  211. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
  212. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
  213. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
  214. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
  215. package/node_modules/@smithy/types/package.json +1 -1
  216. package/node_modules/@smithy/url-parser/package.json +3 -3
  217. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +2 -2
  218. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  219. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  220. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +2 -2
  221. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  222. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  223. package/node_modules/@smithy/util-middleware/package.json +2 -2
  224. package/node_modules/@smithy/util-retry/package.json +3 -3
  225. package/node_modules/@smithy/util-stream/package.json +4 -4
  226. package/node_modules/@smithy/util-waiter/package.json +3 -3
  227. package/package.json +4 -4
  228. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +0 -1003
  229. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -92
  230. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -125
  231. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  232. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  233. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
  234. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  235. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  236. package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
  237. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
  238. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
  239. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
  240. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.929.0",
3
+ "version": "3.930.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,40 +29,40 @@
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.928.0",
33
- "@aws-sdk/middleware-host-header": "3.922.0",
34
- "@aws-sdk/middleware-logger": "3.922.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
36
- "@aws-sdk/middleware-user-agent": "3.928.0",
37
- "@aws-sdk/region-config-resolver": "3.925.0",
38
- "@aws-sdk/types": "3.922.0",
39
- "@aws-sdk/util-endpoints": "3.922.0",
40
- "@aws-sdk/util-user-agent-browser": "3.922.0",
41
- "@aws-sdk/util-user-agent-node": "3.928.0",
42
- "@smithy/config-resolver": "^4.4.2",
43
- "@smithy/core": "^3.17.2",
44
- "@smithy/fetch-http-handler": "^5.3.5",
45
- "@smithy/hash-node": "^4.2.4",
46
- "@smithy/invalid-dependency": "^4.2.4",
47
- "@smithy/middleware-content-length": "^4.2.4",
48
- "@smithy/middleware-endpoint": "^4.3.6",
49
- "@smithy/middleware-retry": "^4.4.6",
50
- "@smithy/middleware-serde": "^4.2.4",
51
- "@smithy/middleware-stack": "^4.2.4",
52
- "@smithy/node-config-provider": "^4.3.4",
53
- "@smithy/node-http-handler": "^4.4.4",
54
- "@smithy/protocol-http": "^5.3.4",
55
- "@smithy/smithy-client": "^4.9.2",
56
- "@smithy/types": "^4.8.1",
57
- "@smithy/url-parser": "^4.2.4",
32
+ "@aws-sdk/core": "3.930.0",
33
+ "@aws-sdk/middleware-host-header": "3.930.0",
34
+ "@aws-sdk/middleware-logger": "3.930.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
36
+ "@aws-sdk/middleware-user-agent": "3.930.0",
37
+ "@aws-sdk/region-config-resolver": "3.930.0",
38
+ "@aws-sdk/types": "3.930.0",
39
+ "@aws-sdk/util-endpoints": "3.930.0",
40
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
41
+ "@aws-sdk/util-user-agent-node": "3.930.0",
42
+ "@smithy/config-resolver": "^4.4.3",
43
+ "@smithy/core": "^3.18.2",
44
+ "@smithy/fetch-http-handler": "^5.3.6",
45
+ "@smithy/hash-node": "^4.2.5",
46
+ "@smithy/invalid-dependency": "^4.2.5",
47
+ "@smithy/middleware-content-length": "^4.2.5",
48
+ "@smithy/middleware-endpoint": "^4.3.9",
49
+ "@smithy/middleware-retry": "^4.4.9",
50
+ "@smithy/middleware-serde": "^4.2.5",
51
+ "@smithy/middleware-stack": "^4.2.5",
52
+ "@smithy/node-config-provider": "^4.3.5",
53
+ "@smithy/node-http-handler": "^4.4.5",
54
+ "@smithy/protocol-http": "^5.3.5",
55
+ "@smithy/smithy-client": "^4.9.5",
56
+ "@smithy/types": "^4.9.0",
57
+ "@smithy/url-parser": "^4.2.5",
58
58
  "@smithy/util-base64": "^4.3.0",
59
59
  "@smithy/util-body-length-browser": "^4.2.0",
60
60
  "@smithy/util-body-length-node": "^4.2.1",
61
- "@smithy/util-defaults-mode-browser": "^4.3.5",
62
- "@smithy/util-defaults-mode-node": "^4.2.8",
63
- "@smithy/util-endpoints": "^3.2.4",
64
- "@smithy/util-middleware": "^4.2.4",
65
- "@smithy/util-retry": "^4.2.4",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
62
+ "@smithy/util-defaults-mode-node": "^4.2.11",
63
+ "@smithy/util-endpoints": "^3.2.5",
64
+ "@smithy/util-middleware": "^4.2.5",
65
+ "@smithy/util-retry": "^4.2.5",
66
66
  "@smithy/util-utf8": "^4.2.0",
67
67
  "tslib": "^2.6.2"
68
68
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline property-provider",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.8.1",
27
+ "@smithy/types": "^4.9.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.929.0",
3
+ "version": "3.930.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.928.0",
33
- "@aws-sdk/nested-clients": "3.929.0",
34
- "@aws-sdk/types": "3.922.0",
35
- "@smithy/property-provider": "^4.2.4",
36
- "@smithy/shared-ini-file-loader": "^4.3.4",
37
- "@smithy/types": "^4.8.1",
32
+ "@aws-sdk/core": "3.930.0",
33
+ "@aws-sdk/nested-clients": "3.930.0",
34
+ "@aws-sdk/types": "3.930.0",
35
+ "@smithy/property-provider": "^4.2.5",
36
+ "@smithy/shared-ini-file-loader": "^4.4.0",
37
+ "@smithy/types": "^4.9.0",
38
38
  "tslib": "^2.6.2"
39
39
  },
40
40
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.922.0",
3
+ "version": "3.930.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "directory": "packages/types"
43
43
  },
44
44
  "dependencies": {
45
- "@smithy/types": "^4.8.1",
45
+ "@smithy/types": "^4.9.0",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.922.0",
3
+ "version": "3.930.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/types": "3.922.0",
29
- "@smithy/types": "^4.8.1",
30
- "@smithy/url-parser": "^4.2.4",
31
- "@smithy/util-endpoints": "^3.2.4",
28
+ "@aws-sdk/types": "3.930.0",
29
+ "@smithy/types": "^4.9.0",
30
+ "@smithy/url-parser": "^4.2.5",
31
+ "@smithy/util-endpoints": "^3.2.5",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.922.0",
3
+ "version": "3.930.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-browser",
@@ -24,8 +24,8 @@
24
24
  "license": "Apache-2.0",
25
25
  "react-native": "dist-es/index.native.js",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.922.0",
28
- "@smithy/types": "^4.8.1",
27
+ "@aws-sdk/types": "3.930.0",
28
+ "@smithy/types": "^4.9.0",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.928.0",
3
+ "version": "3.930.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,10 +22,10 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.928.0",
26
- "@aws-sdk/types": "3.922.0",
27
- "@smithy/node-config-provider": "^4.3.4",
28
- "@smithy/types": "^4.8.1",
25
+ "@aws-sdk/middleware-user-agent": "3.930.0",
26
+ "@aws-sdk/types": "3.930.0",
27
+ "@smithy/node-config-provider": "^4.3.5",
28
+ "@smithy/types": "^4.9.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.921.0",
3
+ "version": "3.930.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.8.1",
6
+ "@smithy/types": "^4.9.0",
7
7
  "fast-xml-parser": "5.2.5",
8
8
  "tslib": "^2.6.2"
9
9
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/types": "^4.8.1",
29
+ "@smithy/types": "^4.9.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -25,11 +25,11 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.3.4",
29
- "@smithy/types": "^4.8.1",
28
+ "@smithy/node-config-provider": "^4.3.5",
29
+ "@smithy/types": "^4.9.0",
30
30
  "@smithy/util-config-provider": "^4.2.0",
31
- "@smithy/util-endpoints": "^3.2.4",
32
- "@smithy/util-middleware": "^4.2.4",
31
+ "@smithy/util-endpoints": "^3.2.5",
32
+ "@smithy/util-middleware": "^4.2.5",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -929,7 +929,10 @@ class CborShapeDeserializer extends protocols.SerdeContext {
929
929
  }
930
930
  else if (ns.isStructSchema()) {
931
931
  for (const [key, memberSchema] of ns.structIterator()) {
932
- newObject[key] = this.readValue(memberSchema, value[key]);
932
+ const v = this.readValue(memberSchema, value[key]);
933
+ if (v != null) {
934
+ newObject[key] = v;
935
+ }
933
936
  }
934
937
  }
935
938
  return newObject;
@@ -76,8 +76,9 @@ class EventStreamSerde {
76
76
  const unionMember = Object.keys(event).find((key) => {
77
77
  return key !== "__type";
78
78
  }) ?? "";
79
+ const body = event[unionMember].body;
79
80
  if (unionMember === "initial-response") {
80
- const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);
81
+ const dataObject = await this.deserializer.read(responseSchema, body);
81
82
  delete dataObject[eventStreamMember];
82
83
  return {
83
84
  [initialResponseMarker]: true,
@@ -86,8 +87,48 @@ class EventStreamSerde {
86
87
  }
87
88
  else if (unionMember in memberSchemas) {
88
89
  const eventStreamSchema = memberSchemas[unionMember];
90
+ if (eventStreamSchema.isStructSchema()) {
91
+ const out = {};
92
+ let hasBindings = false;
93
+ for (const [name, member] of eventStreamSchema.structIterator()) {
94
+ const { eventHeader, eventPayload } = member.getMergedTraits();
95
+ hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
96
+ if (eventPayload) {
97
+ if (member.isBlobSchema()) {
98
+ out[name] = body;
99
+ }
100
+ else if (member.isStringSchema()) {
101
+ out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body);
102
+ }
103
+ else if (member.isStructSchema()) {
104
+ out[name] = await this.deserializer.read(member, body);
105
+ }
106
+ }
107
+ else if (eventHeader) {
108
+ const value = event[unionMember].headers[name]?.value;
109
+ if (value != null) {
110
+ if (member.isNumericSchema()) {
111
+ if (value && typeof value === "object" && "bytes" in value) {
112
+ out[name] = BigInt(value.toString());
113
+ }
114
+ else {
115
+ out[name] = Number(value);
116
+ }
117
+ }
118
+ else {
119
+ out[name] = value;
120
+ }
121
+ }
122
+ }
123
+ }
124
+ if (hasBindings) {
125
+ return {
126
+ [unionMember]: out,
127
+ };
128
+ }
129
+ }
89
130
  return {
90
- [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),
131
+ [unionMember]: await this.deserializer.read(eventStreamSchema, body),
91
132
  };
92
133
  }
93
134
  else {
@@ -189,7 +189,7 @@ class HttpBindingProtocol extends HttpProtocol {
189
189
  for (const [memberName, memberNs] of ns.structIterator()) {
190
190
  const memberTraits = memberNs.getMergedTraits() ?? {};
191
191
  const inputMemberValue = input[memberName];
192
- if (inputMemberValue == null) {
192
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
193
193
  continue;
194
194
  }
195
195
  if (memberTraits.httpPayload) {
@@ -770,7 +770,12 @@ class ToStringShapeSerializer extends SerdeContext {
770
770
  this.stringBuffer = value;
771
771
  break;
772
772
  default:
773
- this.stringBuffer = String(value);
773
+ if (ns.isIdempotencyToken()) {
774
+ this.stringBuffer = serde.generateIdempotencyToken();
775
+ }
776
+ else {
777
+ this.stringBuffer = String(value);
778
+ }
774
779
  }
775
780
  }
776
781
  flush() {
@@ -153,7 +153,10 @@ export class CborShapeDeserializer extends SerdeContext {
153
153
  }
154
154
  else if (ns.isStructSchema()) {
155
155
  for (const [key, memberSchema] of ns.structIterator()) {
156
- newObject[key] = this.readValue(memberSchema, value[key]);
156
+ const v = this.readValue(memberSchema, value[key]);
157
+ if (v != null) {
158
+ newObject[key] = v;
159
+ }
157
160
  }
158
161
  }
159
162
  return newObject;
@@ -1,4 +1,4 @@
1
- import { fromUtf8 } from "@smithy/util-utf8";
1
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
2
2
  export class EventStreamSerde {
3
3
  marshaller;
4
4
  serializer;
@@ -73,8 +73,9 @@ export class EventStreamSerde {
73
73
  const unionMember = Object.keys(event).find((key) => {
74
74
  return key !== "__type";
75
75
  }) ?? "";
76
+ const body = event[unionMember].body;
76
77
  if (unionMember === "initial-response") {
77
- const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);
78
+ const dataObject = await this.deserializer.read(responseSchema, body);
78
79
  delete dataObject[eventStreamMember];
79
80
  return {
80
81
  [initialResponseMarker]: true,
@@ -83,8 +84,48 @@ export class EventStreamSerde {
83
84
  }
84
85
  else if (unionMember in memberSchemas) {
85
86
  const eventStreamSchema = memberSchemas[unionMember];
87
+ if (eventStreamSchema.isStructSchema()) {
88
+ const out = {};
89
+ let hasBindings = false;
90
+ for (const [name, member] of eventStreamSchema.structIterator()) {
91
+ const { eventHeader, eventPayload } = member.getMergedTraits();
92
+ hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
93
+ if (eventPayload) {
94
+ if (member.isBlobSchema()) {
95
+ out[name] = body;
96
+ }
97
+ else if (member.isStringSchema()) {
98
+ out[name] = (this.serdeContext?.utf8Encoder ?? toUtf8)(body);
99
+ }
100
+ else if (member.isStructSchema()) {
101
+ out[name] = await this.deserializer.read(member, body);
102
+ }
103
+ }
104
+ else if (eventHeader) {
105
+ const value = event[unionMember].headers[name]?.value;
106
+ if (value != null) {
107
+ if (member.isNumericSchema()) {
108
+ if (value && typeof value === "object" && "bytes" in value) {
109
+ out[name] = BigInt(value.toString());
110
+ }
111
+ else {
112
+ out[name] = Number(value);
113
+ }
114
+ }
115
+ else {
116
+ out[name] = value;
117
+ }
118
+ }
119
+ }
120
+ }
121
+ if (hasBindings) {
122
+ return {
123
+ [unionMember]: out,
124
+ };
125
+ }
126
+ }
86
127
  return {
87
- [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),
128
+ [unionMember]: await this.deserializer.read(eventStreamSchema, body),
88
129
  };
89
130
  }
90
131
  else {
@@ -48,7 +48,7 @@ export class HttpBindingProtocol extends HttpProtocol {
48
48
  for (const [memberName, memberNs] of ns.structIterator()) {
49
49
  const memberTraits = memberNs.getMergedTraits() ?? {};
50
50
  const inputMemberValue = input[memberName];
51
- if (inputMemberValue == null) {
51
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
52
52
  continue;
53
53
  }
54
54
  if (memberTraits.httpPayload) {
@@ -1,5 +1,5 @@
1
1
  import { NormalizedSchema } from "@smithy/core/schema";
2
- import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
2
+ import { dateToUtcString, generateIdempotencyToken, LazyJsonString, quoteHeader } from "@smithy/core/serde";
3
3
  import { toBase64 } from "@smithy/util-base64";
4
4
  import { SerdeContext } from "../SerdeContext";
5
5
  import { determineTimestampFormat } from "./determineTimestampFormat";
@@ -75,7 +75,12 @@ export class ToStringShapeSerializer extends SerdeContext {
75
75
  this.stringBuffer = value;
76
76
  break;
77
77
  default:
78
- this.stringBuffer = String(value);
78
+ if (ns.isIdempotencyToken()) {
79
+ this.stringBuffer = generateIdempotencyToken();
80
+ }
81
+ else {
82
+ this.stringBuffer = String(value);
83
+ }
79
84
  }
80
85
  }
81
86
  flush() {
@@ -1,14 +1,14 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
2
  import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
3
  /**
4
- * @alpha
4
+ * @public
5
5
  */
6
6
  export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
7
7
  createSerializer(): CborShapeSerializer;
8
8
  createDeserializer(): CborShapeDeserializer;
9
9
  }
10
10
  /**
11
- * @alpha
11
+ * @public
12
12
  */
13
13
  export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
14
14
  private value;
@@ -21,7 +21,7 @@ export declare class CborShapeSerializer extends SerdeContext implements ShapeSe
21
21
  flush(): Uint8Array;
22
22
  }
23
23
  /**
24
- * @alpha
24
+ * @public
25
25
  */
26
26
  export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
27
27
  read(schema: Schema, bytes: Uint8Array): any;
@@ -4,7 +4,7 @@ import { CborCodec } from "./CborCodec";
4
4
  /**
5
5
  * Client protocol for Smithy RPCv2 CBOR.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
10
10
  private codec;
@@ -4,7 +4,7 @@ import type { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse a
4
4
  * Separated module for async mixin of EventStream serde capability.
5
5
  * This is used by the HttpProtocol base class from \@smithy/core/protocols.
6
6
  *
7
- * @alpha
7
+ * @public
8
8
  */
9
9
  export declare class EventStreamSerde {
10
10
  private readonly marshaller;
@@ -6,7 +6,7 @@ import { HttpProtocol } from "./HttpProtocol";
6
6
  * Base for HTTP-binding protocols. Downstream examples
7
7
  * include AWS REST JSON and AWS REST XML.
8
8
  *
9
- * @alpha
9
+ * @public
10
10
  */
11
11
  export declare abstract class HttpBindingProtocol extends HttpProtocol {
12
12
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -5,7 +5,7 @@ import { SerdeContext } from "./SerdeContext";
5
5
  /**
6
6
  * Abstract base for HTTP-based client protocols.
7
7
  *
8
- * @alpha
8
+ * @public
9
9
  */
10
10
  export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
11
11
  readonly options: {
@@ -3,7 +3,7 @@ import { HttpProtocol } from "./HttpProtocol";
3
3
  /**
4
4
  * Abstract base for RPC-over-HTTP protocols.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare abstract class RpcProtocol extends HttpProtocol {
9
9
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * This deserializer reads strings.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
9
9
  private settings;
@@ -7,7 +7,7 @@ import { SerdeContext } from "../SerdeContext";
7
7
  * For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether
8
8
  * it is bound to the HTTP header (string) or body (JSON).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
13
13
  private codecDeserializer;
@@ -7,7 +7,7 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
7
7
  * For example, a JavaScript array is serialized differently when being written
8
8
  * to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array).
9
9
  *
10
- * @alpha
10
+ * @public
11
11
  */
12
12
  export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext {
13
13
  private codecSerializer;
@@ -3,7 +3,7 @@ import { SerdeContext } from "../SerdeContext";
3
3
  /**
4
4
  * Serializes a shape to string.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer<string> {
9
9
  private settings;
@@ -3,7 +3,7 @@ import type { ErrorSchema } from "./schemas/ErrorSchema";
3
3
  /**
4
4
  * A way to look up schema by their ShapeId values.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare class TypeRegistry {
9
9
  readonly namespace: string;
@@ -6,7 +6,7 @@ import { StructureSchema } from "./StructureSchema";
6
6
  * and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema
7
7
  * by additionally holding the class reference for the corresponding ServiceException class.
8
8
  *
9
- * @alpha
9
+ * @internal
10
10
  * @deprecated use StaticSchema
11
11
  */
12
12
  export declare class ErrorSchema extends StructureSchema {
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
4
4
  * A schema with a single member schema.
5
5
  * The deprecated Set type may be represented as a list.
6
6
  *
7
- * @alpha
7
+ * @internal
8
8
  * @deprecated use StaticSchema
9
9
  */
10
10
  export declare class ListSchema extends Schema implements IListSchema {
@@ -2,7 +2,7 @@ import type { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/t
2
2
  import { Schema } from "./Schema";
3
3
  /**
4
4
  * A schema with a key schema and value schema.
5
- * @alpha
5
+ * @internal
6
6
  * @deprecated use StaticSchema
7
7
  */
8
8
  export declare class MapSchema extends Schema implements IMapSchema {