@mavogel/awscdk-rootmail 0.0.309 → 0.0.311

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 (679) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +36 -36
  5. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -0
  6. package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
  7. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +3 -0
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
  23. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  24. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +1 -1
  25. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +2 -2
  27. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
  28. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -0
  29. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +22 -14
  30. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +23 -23
  32. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +21 -9
  33. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
  38. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  39. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  40. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  41. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  42. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  43. package/node_modules/@aws-sdk/client-ses/package.json +34 -34
  44. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  45. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  46. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1496 -14
  47. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  48. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +13 -0
  49. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +14 -0
  50. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +14 -0
  51. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +84 -0
  52. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +118 -0
  53. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
  54. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +105 -0
  55. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +106 -0
  56. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
  57. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +18 -0
  58. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +17 -0
  59. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +147 -0
  60. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +152 -0
  61. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +126 -0
  62. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js +20 -0
  63. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +154 -0
  64. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +279 -0
  65. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js +27 -0
  66. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  67. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -2
  68. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +13 -0
  69. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +12 -0
  70. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +12 -0
  71. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +18 -0
  72. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +19 -0
  73. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
  74. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
  75. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
  76. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +21 -0
  77. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +15 -0
  78. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +3 -3
  79. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +20 -0
  80. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +39 -0
  81. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
  82. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
  83. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +21 -0
  84. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +14 -0
  85. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -0
  86. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
  87. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts +6 -0
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -0
  89. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -2
  90. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +13 -0
  91. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -0
  92. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -0
  93. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +33 -0
  94. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +34 -0
  95. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
  96. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
  97. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
  98. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -0
  99. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -0
  100. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +3 -3
  101. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +14 -0
  102. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +55 -0
  103. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
  104. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
  105. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +39 -0
  106. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -0
  107. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -0
  108. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
  109. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -0
  110. package/node_modules/@aws-sdk/core/package.json +14 -10
  111. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  112. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  113. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  114. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  115. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  116. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  117. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  118. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  119. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  120. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  121. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  122. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  123. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  124. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  125. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  126. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  127. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  128. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  129. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  130. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  131. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +8 -0
  132. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +9 -0
  133. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +1 -0
  134. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +1 -0
  135. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  136. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  137. package/node_modules/@aws-sdk/types/package.json +2 -2
  138. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  139. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  140. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  141. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  142. package/node_modules/@smithy/abort-controller/package.json +2 -2
  143. package/node_modules/@smithy/config-resolver/package.json +4 -4
  144. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +209 -0
  145. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +668 -2
  146. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +774 -0
  147. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +108 -53
  148. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +136 -0
  149. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +74 -0
  150. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
  151. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +178 -0
  152. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +171 -0
  153. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +68 -0
  154. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +7 -0
  155. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
  156. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
  157. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
  158. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
  159. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
  160. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
  161. package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
  162. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
  163. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
  164. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
  165. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
  166. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +17 -0
  167. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +15 -0
  168. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +16 -0
  169. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +294 -0
  170. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
  171. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
  172. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +15 -0
  173. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +22 -0
  174. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
  175. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +53 -0
  176. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +4 -3
  177. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +29 -0
  178. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  179. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
  180. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  181. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +33 -0
  182. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
  183. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +7 -0
  184. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  185. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  186. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  187. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  188. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  189. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
  190. package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
  191. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
  192. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  193. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
  194. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  195. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  196. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  197. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +20 -0
  198. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +25 -0
  199. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +122 -0
  200. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  201. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
  202. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  203. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +21 -0
  204. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
  205. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  206. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +4 -3
  207. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +29 -0
  208. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
  209. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
  210. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
  211. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +33 -0
  212. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
  213. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +7 -0
  214. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
  215. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
  216. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
  217. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
  218. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
  219. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
  220. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
  221. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
  222. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
  223. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
  224. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
  225. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
  226. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
  227. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +20 -0
  228. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +25 -0
  229. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +125 -0
  230. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
  231. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
  232. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
  233. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +24 -0
  234. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
  235. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
  236. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +4 -3
  237. package/node_modules/@smithy/core/package.json +17 -7
  238. package/node_modules/@smithy/core/schema.d.ts +7 -0
  239. package/node_modules/@smithy/core/schema.js +6 -0
  240. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  241. package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
  242. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +1 -1
  243. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  244. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  245. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  246. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +0 -1
  247. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -1
  248. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -1
  249. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -1
  250. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  251. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  252. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  253. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  254. package/node_modules/@smithy/hash-node/package.json +2 -2
  255. package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +0 -3
  256. package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +0 -1
  257. package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +0 -1
  258. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -1
  259. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -1
  260. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -1
  261. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  262. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  263. package/node_modules/@smithy/md5-js/package.json +2 -2
  264. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
  265. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  266. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  267. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  268. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
  269. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
  270. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -0
  271. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
  272. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
  273. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -0
  274. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  275. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  276. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  277. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  278. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  279. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  280. package/node_modules/@smithy/property-provider/package.json +2 -2
  281. package/node_modules/@smithy/protocol-http/package.json +2 -2
  282. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  283. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  284. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  285. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  286. package/node_modules/@smithy/signature-v4/package.json +4 -4
  287. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -0
  288. package/node_modules/@smithy/smithy-client/dist-es/command.js +6 -0
  289. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
  290. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
  291. package/node_modules/@smithy/smithy-client/package.json +7 -7
  292. package/node_modules/@smithy/types/dist-types/command.d.ts +5 -2
  293. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -4
  294. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -2
  295. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -4
  296. package/node_modules/@smithy/types/package.json +1 -1
  297. package/node_modules/@smithy/url-parser/package.json +3 -3
  298. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  299. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  300. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  301. package/node_modules/@smithy/util-middleware/package.json +2 -2
  302. package/node_modules/@smithy/util-retry/package.json +3 -3
  303. package/node_modules/@smithy/util-stream/package.json +4 -4
  304. package/node_modules/@smithy/util-waiter/package.json +3 -3
  305. package/node_modules/cdk-nag/.jsii +61 -5
  306. package/node_modules/cdk-nag/API.md +66 -0
  307. package/node_modules/cdk-nag/README.md +1 -0
  308. package/node_modules/cdk-nag/RULES.md +32 -0
  309. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  310. package/node_modules/cdk-nag/lib/index.d.ts +1 -0
  311. package/node_modules/cdk-nag/lib/index.js +2 -1
  312. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  313. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  314. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  315. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  316. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  317. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  318. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  319. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  320. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  321. package/node_modules/cdk-nag/lib/packs/serverless.d.ts +58 -0
  322. package/node_modules/cdk-nag/lib/packs/serverless.js +228 -0
  323. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.d.ts +1 -0
  324. package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.js +2 -1
  325. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.d.ts +8 -0
  326. package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.js +36 -0
  327. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.d.ts +8 -0
  328. package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.js +62 -0
  329. package/node_modules/cdk-nag/lib/rules/apigw/index.d.ts +2 -0
  330. package/node_modules/cdk-nag/lib/rules/apigw/index.js +6 -2
  331. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.d.ts +8 -0
  332. package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.js +24 -0
  333. package/node_modules/cdk-nag/lib/rules/appsync/index.d.ts +1 -0
  334. package/node_modules/cdk-nag/lib/rules/appsync/index.js +4 -2
  335. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.d.ts +8 -0
  336. package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.js +25 -0
  337. package/node_modules/cdk-nag/lib/rules/eventbridge/index.d.ts +1 -0
  338. package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +4 -2
  339. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.d.ts +8 -0
  340. package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.js +25 -0
  341. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.d.ts +8 -0
  342. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.js +25 -0
  343. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.d.ts +8 -0
  344. package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.js +25 -0
  345. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.d.ts +8 -0
  346. package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.js +27 -0
  347. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.d.ts +8 -0
  348. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.js +25 -0
  349. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.d.ts +8 -0
  350. package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.js +24 -0
  351. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.d.ts +8 -0
  352. package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.js +107 -0
  353. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.d.ts +8 -0
  354. package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.js +24 -0
  355. package/node_modules/cdk-nag/lib/rules/lambda/index.d.ts +6 -0
  356. package/node_modules/cdk-nag/lib/rules/lambda/index.js +14 -2
  357. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.d.ts +9 -0
  358. package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.js +24 -0
  359. package/node_modules/cdk-nag/lib/rules/sns/index.d.ts +1 -0
  360. package/node_modules/cdk-nag/lib/rules/sns/index.js +4 -2
  361. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.d.ts +8 -0
  362. package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.js +26 -0
  363. package/node_modules/cdk-nag/lib/rules/sqs/index.d.ts +1 -0
  364. package/node_modules/cdk-nag/lib/rules/sqs/index.js +4 -2
  365. package/node_modules/cdk-nag/package.json +2 -2
  366. package/package.json +1 -1
  367. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  368. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  369. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  370. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  371. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  372. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  373. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  374. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  375. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  376. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  377. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  378. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  379. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  380. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  381. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  382. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  383. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  384. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  385. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  386. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  387. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  388. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  389. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  390. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  391. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  392. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  393. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  394. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  395. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  396. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  397. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  398. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  399. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  400. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  401. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  402. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  403. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  404. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  405. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  406. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  407. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  408. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  409. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  410. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  411. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  412. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  413. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  414. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  415. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  416. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  417. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  418. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  419. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  420. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  421. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  422. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  423. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  424. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  425. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  426. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  427. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  428. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  429. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  430. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  431. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  432. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  433. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
  434. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -10
  435. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  436. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  437. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  438. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  439. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  440. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  441. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  442. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  443. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  444. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  445. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  446. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  447. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  448. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  449. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  450. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  451. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  452. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  453. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  454. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  455. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  456. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  457. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  458. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  459. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  460. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  461. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  462. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  463. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
  464. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  465. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  466. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  467. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  468. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  469. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  470. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  471. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  472. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  473. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  474. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  475. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  476. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  477. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  478. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  479. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  480. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  481. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  482. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  483. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  484. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  485. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  486. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  487. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  488. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  489. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  490. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  491. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  492. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  493. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  494. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  495. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  496. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  497. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  498. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  499. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  500. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  501. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  502. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  503. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
  504. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  505. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  506. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
  507. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  508. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  509. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  510. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  511. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  512. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  513. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  514. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  515. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  516. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  517. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  518. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
  519. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  520. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  521. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
  522. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  523. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  524. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  525. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  526. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  527. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  528. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  529. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  530. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +0 -201
  531. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +0 -4
  532. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  533. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  534. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
  535. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
  536. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
  537. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
  538. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
  539. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
  540. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
  541. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
  542. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
  543. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
  544. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +0 -62
  545. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +0 -201
  546. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +0 -10
  547. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  548. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  549. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  550. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  551. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  552. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  553. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  554. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  555. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  556. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  557. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  558. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  559. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  560. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  561. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  562. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  563. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  564. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  565. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  566. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  567. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  568. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  569. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  570. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  571. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  572. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  573. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  574. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  575. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +0 -60
  576. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +0 -201
  577. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +0 -11
  578. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
  579. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
  580. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
  581. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
  582. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
  583. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
  584. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
  585. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +0 -445
  586. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
  587. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
  588. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
  589. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
  590. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
  591. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
  592. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
  593. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
  594. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
  595. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +0 -5
  596. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +0 -7
  597. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +0 -5
  598. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +0 -8
  599. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +0 -9
  600. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +0 -77
  601. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +0 -134
  602. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +0 -7
  603. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +0 -13
  604. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +0 -3
  605. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +0 -36
  606. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  607. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +0 -7
  608. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +0 -1
  609. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +0 -17
  610. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +0 -19
  611. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +0 -25
  612. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +0 -7
  613. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +0 -13
  614. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +0 -7
  615. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +0 -13
  616. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  617. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +0 -21
  618. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +0 -10
  619. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +0 -28
  620. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +0 -19
  621. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +0 -40
  622. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -6
  623. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
  624. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +0 -10
  625. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  626. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  627. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  628. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  629. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  630. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  631. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  632. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  633. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  634. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  635. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  636. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  637. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  638. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  639. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  640. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  641. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  642. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +0 -7
  643. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  644. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  645. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +0 -16
  646. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +0 -69
  647. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +0 -201
  648. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +0 -10
  649. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  650. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  651. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  652. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  653. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  654. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
  655. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  656. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  657. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
  658. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  659. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  660. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  661. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  662. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  663. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
  664. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  665. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
  666. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  667. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  668. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  669. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  670. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
  671. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  672. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
  673. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  674. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  675. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  676. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  677. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +0 -60
  678. /package/node_modules/{@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → @aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js} +0 -0
  679. /package/node_modules/@smithy/{node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → core/dist-es/submodules/schema/middleware/schema-middleware-types.js} +0 -0
@@ -0,0 +1,6 @@
1
+ export class SerdeContextConfig {
2
+ serdeContext;
3
+ setSerdeContext(serdeContext) {
4
+ this.serdeContext = serdeContext;
5
+ }
6
+ }
@@ -1,4 +1,17 @@
1
1
  export * from "./coercing-serializers";
2
+ export * from "./json/AwsJson1_0Protocol";
3
+ export * from "./json/AwsJson1_1Protocol";
4
+ export * from "./json/AwsJsonRpcProtocol";
5
+ export * from "./json/AwsRestJsonProtocol";
6
+ export * from "./json/JsonCodec";
7
+ export * from "./json/JsonShapeDeserializer";
8
+ export * from "./json/JsonShapeSerializer";
2
9
  export * from "./json/awsExpectUnion";
3
10
  export * from "./json/parseJsonBody";
11
+ export * from "./query/AwsEc2QueryProtocol";
12
+ export * from "./query/AwsQueryProtocol";
13
+ export * from "./xml/AwsRestXmlProtocol";
14
+ export * from "./xml/XmlCodec";
15
+ export * from "./xml/XmlShapeDeserializer";
16
+ export * from "./xml/XmlShapeSerializer";
4
17
  export * from "./xml/parseXmlBody";
@@ -0,0 +1,14 @@
1
+ import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
+ export class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
3
+ constructor({ defaultNamespace }) {
4
+ super({
5
+ defaultNamespace,
6
+ });
7
+ }
8
+ getShapeId() {
9
+ return "aws.protocols#awsJson1_0";
10
+ }
11
+ getJsonRpcVersion() {
12
+ return "1.0";
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
+ export class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
3
+ constructor({ defaultNamespace }) {
4
+ super({
5
+ defaultNamespace,
6
+ });
7
+ }
8
+ getShapeId() {
9
+ return "aws.protocols#awsJson1_1";
10
+ }
11
+ getJsonRpcVersion() {
12
+ return "1.1";
13
+ }
14
+ }
@@ -0,0 +1,84 @@
1
+ import { RpcProtocol } from "@smithy/core/protocols";
2
+ import { deref, NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
4
+ import { JsonCodec } from "./JsonCodec";
5
+ import { loadRestJsonErrorCode } from "./parseJsonBody";
6
+ export class AwsJsonRpcProtocol extends RpcProtocol {
7
+ serializer;
8
+ deserializer;
9
+ codec;
10
+ constructor({ defaultNamespace }) {
11
+ super({
12
+ defaultNamespace,
13
+ });
14
+ this.codec = new JsonCodec({
15
+ timestampFormat: {
16
+ useTrait: true,
17
+ default: SCHEMA.TIMESTAMP_EPOCH_SECONDS,
18
+ },
19
+ jsonName: false,
20
+ });
21
+ this.serializer = this.codec.createSerializer();
22
+ this.deserializer = this.codec.createDeserializer();
23
+ }
24
+ async serializeRequest(operationSchema, input, context) {
25
+ const request = await super.serializeRequest(operationSchema, input, context);
26
+ if (!request.path.endsWith("/")) {
27
+ request.path += "/";
28
+ }
29
+ Object.assign(request.headers, {
30
+ "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
31
+ "x-amz-target": (this.getJsonRpcVersion() === "1.0" ? `JsonRpc10.` : `JsonProtocol.`) +
32
+ NormalizedSchema.of(operationSchema).getName(),
33
+ });
34
+ if (deref(operationSchema.input) === "unit" || !request.body) {
35
+ request.body = "{}";
36
+ }
37
+ try {
38
+ request.headers["content-length"] = String(calculateBodyLength(request.body));
39
+ }
40
+ catch (e) { }
41
+ return request;
42
+ }
43
+ getPayloadCodec() {
44
+ return this.codec;
45
+ }
46
+ async handleError(operationSchema, context, response, dataObject, metadata) {
47
+ const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
48
+ let namespace = this.options.defaultNamespace;
49
+ let errorName = errorIdentifier;
50
+ if (errorIdentifier.includes("#")) {
51
+ [namespace, errorName] = errorIdentifier.split("#");
52
+ }
53
+ const registry = TypeRegistry.for(namespace);
54
+ let errorSchema;
55
+ try {
56
+ errorSchema = registry.getSchema(errorIdentifier);
57
+ }
58
+ catch (e) {
59
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
60
+ if (baseExceptionSchema) {
61
+ const ErrorCtor = baseExceptionSchema.ctor;
62
+ throw Object.assign(new ErrorCtor(errorName), dataObject);
63
+ }
64
+ throw new Error(errorName);
65
+ }
66
+ const ns = NormalizedSchema.of(errorSchema);
67
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
68
+ const exception = new errorSchema.ctor(message);
69
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
70
+ const output = {};
71
+ for (const [name, member] of ns.structIterator()) {
72
+ const target = member.getMergedTraits().jsonName ?? name;
73
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
74
+ }
75
+ Object.assign(exception, {
76
+ $metadata: metadata,
77
+ $response: response,
78
+ $fault: ns.getMergedTraits().error,
79
+ message,
80
+ ...output,
81
+ });
82
+ throw exception;
83
+ }
84
+ }
@@ -0,0 +1,118 @@
1
+ import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";
2
+ import { NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
4
+ import { JsonCodec } from "./JsonCodec";
5
+ import { loadRestJsonErrorCode } from "./parseJsonBody";
6
+ export class AwsRestJsonProtocol extends HttpBindingProtocol {
7
+ serializer;
8
+ deserializer;
9
+ codec;
10
+ constructor({ defaultNamespace }) {
11
+ super({
12
+ defaultNamespace,
13
+ });
14
+ const settings = {
15
+ timestampFormat: {
16
+ useTrait: true,
17
+ default: SCHEMA.TIMESTAMP_EPOCH_SECONDS,
18
+ },
19
+ httpBindings: true,
20
+ jsonName: true,
21
+ };
22
+ this.codec = new JsonCodec(settings);
23
+ this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
24
+ this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
25
+ }
26
+ getShapeId() {
27
+ return "aws.protocols#restJson1";
28
+ }
29
+ getPayloadCodec() {
30
+ return this.codec;
31
+ }
32
+ setSerdeContext(serdeContext) {
33
+ this.codec.setSerdeContext(serdeContext);
34
+ super.setSerdeContext(serdeContext);
35
+ }
36
+ async serializeRequest(operationSchema, input, context) {
37
+ const request = await super.serializeRequest(operationSchema, input, context);
38
+ const inputSchema = NormalizedSchema.of(operationSchema.input);
39
+ const members = inputSchema.getMemberSchemas();
40
+ if (!request.headers["content-type"]) {
41
+ const httpPayloadMember = Object.values(members).find((m) => {
42
+ return !!m.getMergedTraits().httpPayload;
43
+ });
44
+ if (httpPayloadMember) {
45
+ const mediaType = httpPayloadMember.getMergedTraits().mediaType;
46
+ if (mediaType) {
47
+ request.headers["content-type"] = mediaType;
48
+ }
49
+ else if (httpPayloadMember.isStringSchema()) {
50
+ request.headers["content-type"] = "text/plain";
51
+ }
52
+ else if (httpPayloadMember.isBlobSchema()) {
53
+ request.headers["content-type"] = "application/octet-stream";
54
+ }
55
+ else {
56
+ request.headers["content-type"] = "application/json";
57
+ }
58
+ }
59
+ else if (!inputSchema.isUnitSchema()) {
60
+ const hasBody = Object.values(members).find((m) => {
61
+ const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
62
+ return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
63
+ });
64
+ if (hasBody) {
65
+ request.headers["content-type"] = "application/json";
66
+ }
67
+ }
68
+ }
69
+ if (request.headers["content-type"] && !request.body) {
70
+ request.body = "{}";
71
+ }
72
+ if (request.body) {
73
+ try {
74
+ request.headers["content-length"] = String(calculateBodyLength(request.body));
75
+ }
76
+ catch (e) { }
77
+ }
78
+ return request;
79
+ }
80
+ async handleError(operationSchema, context, response, dataObject, metadata) {
81
+ const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
82
+ let namespace = this.options.defaultNamespace;
83
+ let errorName = errorIdentifier;
84
+ if (errorIdentifier.includes("#")) {
85
+ [namespace, errorName] = errorIdentifier.split("#");
86
+ }
87
+ const registry = TypeRegistry.for(namespace);
88
+ let errorSchema;
89
+ try {
90
+ errorSchema = registry.getSchema(errorIdentifier);
91
+ }
92
+ catch (e) {
93
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
94
+ if (baseExceptionSchema) {
95
+ const ErrorCtor = baseExceptionSchema.ctor;
96
+ throw Object.assign(new ErrorCtor(errorName), dataObject);
97
+ }
98
+ throw new Error(errorName);
99
+ }
100
+ const ns = NormalizedSchema.of(errorSchema);
101
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
102
+ const exception = new errorSchema.ctor(message);
103
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
104
+ const output = {};
105
+ for (const [name, member] of ns.structIterator()) {
106
+ const target = member.getMergedTraits().jsonName ?? name;
107
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
108
+ }
109
+ Object.assign(exception, {
110
+ $metadata: metadata,
111
+ $response: response,
112
+ $fault: ns.getMergedTraits().error,
113
+ message,
114
+ ...output,
115
+ });
116
+ throw exception;
117
+ }
118
+ }
@@ -0,0 +1,20 @@
1
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
2
+ import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
3
+ import { JsonShapeSerializer } from "./JsonShapeSerializer";
4
+ export class JsonCodec extends SerdeContextConfig {
5
+ settings;
6
+ constructor(settings) {
7
+ super();
8
+ this.settings = settings;
9
+ }
10
+ createSerializer() {
11
+ const serializer = new JsonShapeSerializer(this.settings);
12
+ serializer.setSerdeContext(this.serdeContext);
13
+ return serializer;
14
+ }
15
+ createDeserializer() {
16
+ const deserializer = new JsonShapeDeserializer(this.settings);
17
+ deserializer.setSerdeContext(this.serdeContext);
18
+ return deserializer;
19
+ }
20
+ }
@@ -0,0 +1,105 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
3
+ import { fromBase64 } from "@smithy/util-base64";
4
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
5
+ import { jsonReviver } from "./jsonReviver";
6
+ import { parseJsonBody } from "./parseJsonBody";
7
+ export class JsonShapeDeserializer extends SerdeContextConfig {
8
+ settings;
9
+ constructor(settings) {
10
+ super();
11
+ this.settings = settings;
12
+ }
13
+ async read(schema, data) {
14
+ return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext));
15
+ }
16
+ readObject(schema, data) {
17
+ return this._read(schema, data);
18
+ }
19
+ _read(schema, value) {
20
+ const isObject = value !== null && typeof value === "object";
21
+ const ns = NormalizedSchema.of(schema);
22
+ if (ns.isListSchema() && Array.isArray(value)) {
23
+ const listMember = ns.getValueSchema();
24
+ const out = [];
25
+ const sparse = !!ns.getMergedTraits().sparse;
26
+ for (const item of value) {
27
+ if (sparse || item != null) {
28
+ out.push(this._read(listMember, item));
29
+ }
30
+ }
31
+ return out;
32
+ }
33
+ else if (ns.isMapSchema() && isObject) {
34
+ const mapMember = ns.getValueSchema();
35
+ const out = {};
36
+ const sparse = !!ns.getMergedTraits().sparse;
37
+ for (const [_k, _v] of Object.entries(value)) {
38
+ if (sparse || _v != null) {
39
+ out[_k] = this._read(mapMember, _v);
40
+ }
41
+ }
42
+ return out;
43
+ }
44
+ else if (ns.isStructSchema() && isObject) {
45
+ const out = {};
46
+ for (const [memberName, memberSchema] of ns.structIterator()) {
47
+ const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
48
+ const deserializedValue = this._read(memberSchema, value[fromKey]);
49
+ if (deserializedValue != null) {
50
+ out[memberName] = deserializedValue;
51
+ }
52
+ }
53
+ return out;
54
+ }
55
+ if (ns.isBlobSchema() && typeof value === "string") {
56
+ return fromBase64(value);
57
+ }
58
+ const mediaType = ns.getMergedTraits().mediaType;
59
+ if (ns.isStringSchema() && typeof value === "string" && mediaType) {
60
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
61
+ if (isJson) {
62
+ return LazyJsonString.from(value);
63
+ }
64
+ }
65
+ if (ns.isTimestampSchema()) {
66
+ const options = this.settings.timestampFormat;
67
+ const format = options.useTrait
68
+ ? ns.getSchema() === SCHEMA.TIMESTAMP_DEFAULT
69
+ ? options.default
70
+ : ns.getSchema() ?? options.default
71
+ : options.default;
72
+ switch (format) {
73
+ case SCHEMA.TIMESTAMP_DATE_TIME:
74
+ return parseRfc3339DateTimeWithOffset(value);
75
+ case SCHEMA.TIMESTAMP_HTTP_DATE:
76
+ return parseRfc7231DateTime(value);
77
+ case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
78
+ return parseEpochTimestamp(value);
79
+ default:
80
+ console.warn("Missing timestamp format, parsing value with Date constructor:", value);
81
+ return new Date(value);
82
+ }
83
+ }
84
+ if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) {
85
+ return BigInt(value);
86
+ }
87
+ if (ns.isBigDecimalSchema() && value != undefined) {
88
+ if (value instanceof NumericValue) {
89
+ return value;
90
+ }
91
+ return new NumericValue(String(value), "bigDecimal");
92
+ }
93
+ if (ns.isNumericSchema() && typeof value === "string") {
94
+ switch (value) {
95
+ case "Infinity":
96
+ return Infinity;
97
+ case "-Infinity":
98
+ return -Infinity;
99
+ case "NaN":
100
+ return NaN;
101
+ }
102
+ }
103
+ return value;
104
+ }
105
+ }
@@ -0,0 +1,106 @@
1
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
2
+ import { dateToUtcString } from "@smithy/core/serde";
3
+ import { LazyJsonString } from "@smithy/core/serde";
4
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
5
+ import { JsonReplacer } from "./jsonReplacer";
6
+ export class JsonShapeSerializer extends SerdeContextConfig {
7
+ settings;
8
+ buffer;
9
+ rootSchema;
10
+ constructor(settings) {
11
+ super();
12
+ this.settings = settings;
13
+ }
14
+ write(schema, value) {
15
+ this.rootSchema = NormalizedSchema.of(schema);
16
+ this.buffer = this._write(this.rootSchema, value);
17
+ }
18
+ flush() {
19
+ if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {
20
+ const replacer = new JsonReplacer();
21
+ return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));
22
+ }
23
+ return this.buffer;
24
+ }
25
+ _write(schema, value, container) {
26
+ const isObject = value !== null && typeof value === "object";
27
+ const ns = NormalizedSchema.of(schema);
28
+ if (ns.isListSchema() && Array.isArray(value)) {
29
+ const listMember = ns.getValueSchema();
30
+ const out = [];
31
+ const sparse = !!ns.getMergedTraits().sparse;
32
+ for (const item of value) {
33
+ if (sparse || item != null) {
34
+ out.push(this._write(listMember, item));
35
+ }
36
+ }
37
+ return out;
38
+ }
39
+ else if (ns.isMapSchema() && isObject) {
40
+ const mapMember = ns.getValueSchema();
41
+ const out = {};
42
+ const sparse = !!ns.getMergedTraits().sparse;
43
+ for (const [_k, _v] of Object.entries(value)) {
44
+ if (sparse || _v != null) {
45
+ out[_k] = this._write(mapMember, _v);
46
+ }
47
+ }
48
+ return out;
49
+ }
50
+ else if (ns.isStructSchema() && isObject) {
51
+ const out = {};
52
+ for (const [memberName, memberSchema] of ns.structIterator()) {
53
+ const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
54
+ const serializableValue = this._write(memberSchema, value[memberName], ns);
55
+ if (serializableValue !== undefined) {
56
+ out[targetKey] = serializableValue;
57
+ }
58
+ }
59
+ return out;
60
+ }
61
+ if (value === null && container?.isStructSchema()) {
62
+ return void 0;
63
+ }
64
+ if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) {
65
+ if (ns === this.rootSchema) {
66
+ return value;
67
+ }
68
+ if (!this.serdeContext?.base64Encoder) {
69
+ throw new Error("Missing base64Encoder in serdeContext");
70
+ }
71
+ return this.serdeContext?.base64Encoder(value);
72
+ }
73
+ if (ns.isTimestampSchema() && value instanceof Date) {
74
+ const options = this.settings.timestampFormat;
75
+ const format = options.useTrait
76
+ ? ns.getSchema() === SCHEMA.TIMESTAMP_DEFAULT
77
+ ? options.default
78
+ : ns.getSchema() ?? options.default
79
+ : options.default;
80
+ switch (format) {
81
+ case SCHEMA.TIMESTAMP_DATE_TIME:
82
+ return value.toISOString().replace(".000Z", "Z");
83
+ case SCHEMA.TIMESTAMP_HTTP_DATE:
84
+ return dateToUtcString(value);
85
+ case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
86
+ return value.getTime() / 1000;
87
+ default:
88
+ console.warn("Missing timestamp format, using epoch seconds", value);
89
+ return value.getTime() / 1000;
90
+ }
91
+ }
92
+ if (ns.isNumericSchema() && typeof value === "number") {
93
+ if (Math.abs(value) === Infinity || isNaN(value)) {
94
+ return String(value);
95
+ }
96
+ }
97
+ const mediaType = ns.getMergedTraits().mediaType;
98
+ if (ns.isStringSchema() && typeof value === "string" && mediaType) {
99
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
100
+ if (isJson) {
101
+ return LazyJsonString.from(value);
102
+ }
103
+ }
104
+ return value;
105
+ }
106
+ }
@@ -0,0 +1,46 @@
1
+ import { NumericValue } from "@smithy/core/serde";
2
+ const NUMERIC_CONTROL_CHAR = String.fromCharCode(925);
3
+ export class JsonReplacer {
4
+ values = new Map();
5
+ counter = 0;
6
+ stage = 0;
7
+ createReplacer() {
8
+ if (this.stage === 1) {
9
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
10
+ }
11
+ if (this.stage === 2) {
12
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
13
+ }
14
+ this.stage = 1;
15
+ return (key, value) => {
16
+ if (value instanceof NumericValue) {
17
+ const v = `${NUMERIC_CONTROL_CHAR + +"nv" + this.counter++}_` + value.string;
18
+ this.values.set(`"${v}"`, value.string);
19
+ return v;
20
+ }
21
+ if (typeof value === "bigint") {
22
+ const s = value.toString();
23
+ const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s;
24
+ this.values.set(`"${v}"`, s);
25
+ return v;
26
+ }
27
+ return value;
28
+ };
29
+ }
30
+ replaceInJson(json) {
31
+ if (this.stage === 0) {
32
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
33
+ }
34
+ if (this.stage === 2) {
35
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
36
+ }
37
+ this.stage = 2;
38
+ if (this.counter === 0) {
39
+ return json;
40
+ }
41
+ for (const [key, value] of this.values) {
42
+ json = json.replace(key, value);
43
+ }
44
+ return json;
45
+ }
46
+ }
@@ -0,0 +1,18 @@
1
+ import { NumericValue } from "@smithy/core/serde";
2
+ export function jsonReviver(key, value, context) {
3
+ if (context?.source) {
4
+ const numericString = context.source;
5
+ if (typeof value === "number") {
6
+ if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {
7
+ const isFractional = numericString.includes(".");
8
+ if (isFractional) {
9
+ return new NumericValue(numericString, "bigDecimal");
10
+ }
11
+ else {
12
+ return BigInt(numericString);
13
+ }
14
+ }
15
+ }
16
+ }
17
+ return value;
18
+ }
@@ -0,0 +1,17 @@
1
+ import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
+ export class AwsEc2QueryProtocol extends AwsQueryProtocol {
3
+ options;
4
+ constructor(options) {
5
+ super(options);
6
+ this.options = options;
7
+ const ec2Settings = {
8
+ capitalizeKeys: true,
9
+ flattenLists: true,
10
+ serializeEmptyLists: false,
11
+ };
12
+ Object.assign(this.serializer.settings, ec2Settings);
13
+ }
14
+ useNestedResult() {
15
+ return false;
16
+ }
17
+ }