@mavogel/awscdk-rootmail 0.0.176 → 0.0.178

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 (182) hide show
  1. package/.jsii +8 -8
  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 +7 -7
  5. package/node_modules/@aws-sdk/client-route-53/package.json +7 -7
  6. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
  7. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
  8. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +41 -41
  9. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
  10. package/node_modules/@aws-sdk/client-s3/package.json +11 -11
  11. package/node_modules/@aws-sdk/client-ses/package.json +7 -7
  12. package/node_modules/@aws-sdk/client-ssm/package.json +7 -7
  13. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  14. package/node_modules/@aws-sdk/client-sso-oidc/package.json +6 -6
  15. package/node_modules/@aws-sdk/client-sts/package.json +6 -6
  16. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +9 -5
  17. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  19. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  20. package/node_modules/@aws-sdk/core/package.json +3 -3
  21. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  22. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  23. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  24. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  25. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  26. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  27. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  28. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  29. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  30. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  31. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  32. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  33. package/node_modules/@smithy/abort-controller/package.json +2 -2
  34. package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +8 -23
  35. package/node_modules/@smithy/chunked-blob-reader/dist-es/index.js +8 -22
  36. package/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts +1 -0
  37. package/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts +1 -0
  38. package/node_modules/@smithy/chunked-blob-reader/package.json +2 -2
  39. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  40. package/node_modules/@smithy/config-resolver/package.json +4 -4
  41. package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
  42. package/node_modules/@smithy/core/dist-cjs/setFeature.js +1 -0
  43. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -2
  44. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +163 -0
  45. package/node_modules/@smithy/core/dist-es/index.js +4 -3
  46. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
  47. package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
  48. package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
  49. package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
  50. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  51. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
  52. package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
  53. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
  54. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
  55. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
  56. package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
  57. package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
  58. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
  59. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
  60. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  61. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
  62. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
  63. package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
  64. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
  65. package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
  66. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
  68. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  69. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
  70. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
  71. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
  72. package/node_modules/@smithy/core/package.json +15 -8
  73. package/node_modules/@smithy/core/protocols.d.ts +7 -0
  74. package/node_modules/@smithy/core/protocols.js +6 -0
  75. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  76. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  77. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  78. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  79. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  80. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  81. package/node_modules/@smithy/hash-blob-browser/package.json +4 -4
  82. package/node_modules/@smithy/hash-node/package.json +2 -2
  83. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  84. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  85. package/node_modules/@smithy/md5-js/package.json +2 -2
  86. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  87. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
  88. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
  89. package/node_modules/@smithy/middleware-endpoint/package.json +8 -7
  90. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  91. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  92. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  93. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  94. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  95. package/node_modules/@smithy/property-provider/package.json +2 -2
  96. package/node_modules/@smithy/protocol-http/package.json +2 -2
  97. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  98. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  99. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  100. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  101. package/node_modules/@smithy/signature-v4/package.json +4 -4
  102. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -35
  103. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
  104. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
  105. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
  106. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
  107. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
  108. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
  109. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
  110. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
  111. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
  112. package/node_modules/@smithy/smithy-client/package.json +7 -6
  113. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  114. package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  115. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  116. package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  117. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  118. package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
  119. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  120. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  121. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
  122. package/node_modules/@smithy/types/package.json +1 -1
  123. package/node_modules/@smithy/url-parser/package.json +3 -3
  124. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  125. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  126. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  127. package/node_modules/@smithy/util-middleware/package.json +2 -2
  128. package/node_modules/@smithy/util-retry/package.json +3 -3
  129. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  130. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
  131. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
  132. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
  133. package/node_modules/@smithy/util-stream/dist-cjs/index.js +5 -1
  134. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
  135. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
  136. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
  137. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
  138. package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
  139. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
  140. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
  141. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
  142. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
  143. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
  144. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
  145. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
  146. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
  147. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
  148. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
  149. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
  150. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/README.md +11 -0
  151. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
  152. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +230 -0
  153. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
  154. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
  155. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +138 -0
  156. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
  157. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
  158. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
  159. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +33 -0
  160. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
  161. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
  162. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
  163. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +33 -0
  164. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
  165. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
  166. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
  167. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/package.json +62 -0
  168. package/node_modules/@smithy/util-stream/package.json +10 -4
  169. package/node_modules/@smithy/util-waiter/package.json +3 -3
  170. package/node_modules/cdk-nag/.jsii +2 -2
  171. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  172. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  173. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  174. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  175. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  176. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  177. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  178. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  179. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  180. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  181. package/node_modules/cdk-nag/package.json +1 -1
  182. package/package.json +8 -8
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-stream-node",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline hash-stream-node",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.5.0",
25
+ "@smithy/types": "^3.6.0",
26
26
  "@smithy/util-utf8": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/invalid-dependency",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline invalid-dependency",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.5.0",
25
+ "@smithy/types": "^3.6.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/md5-js",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline md5-js",
@@ -32,7 +32,7 @@
32
32
  "typedoc": "0.23.23"
33
33
  },
34
34
  "dependencies": {
35
- "@smithy/types": "^3.5.0",
35
+ "@smithy/types": "^3.6.0",
36
36
  "@smithy/util-utf8": "^3.0.0",
37
37
  "tslib": "^2.6.2"
38
38
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-content-length",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-content-length",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/protocol-http": "^4.1.4",
27
- "@smithy/types": "^3.5.0",
26
+ "@smithy/protocol-http": "^4.1.5",
27
+ "@smithy/types": "^3.6.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -169,6 +169,7 @@ var resolveParams = /* @__PURE__ */ __name(async (commandInput, instructionsSupp
169
169
  }, "resolveParams");
170
170
 
171
171
  // src/endpointMiddleware.ts
172
+ var import_core = require("@smithy/core");
172
173
  var import_util_middleware = require("@smithy/util-middleware");
173
174
  var endpointMiddleware = /* @__PURE__ */ __name(({
174
175
  config,
@@ -176,6 +177,9 @@ var endpointMiddleware = /* @__PURE__ */ __name(({
176
177
  }) => {
177
178
  return (next, context) => async (args) => {
178
179
  var _a, _b, _c;
180
+ if (config.endpoint) {
181
+ (0, import_core.setFeature)(context, "ENDPOINT_OVERRIDE", "N");
182
+ }
179
183
  const endpoint = await getEndpointFromInstructions(
180
184
  args.input,
181
185
  {
@@ -1,7 +1,11 @@
1
+ import { setFeature } from "@smithy/core";
1
2
  import { getSmithyContext } from "@smithy/util-middleware";
2
3
  import { getEndpointFromInstructions } from "./adaptors/getEndpointFromInstructions";
3
4
  export const endpointMiddleware = ({ config, instructions, }) => {
4
5
  return (next, context) => async (args) => {
6
+ if (config.endpoint) {
7
+ setFeature(context, "ENDPOINT_OVERRIDE", "N");
8
+ }
5
9
  const endpoint = await getEndpointFromInstructions(args.input, {
6
10
  getEndpointParameterInstructions() {
7
11
  return instructions;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "3.1.4",
3
+ "version": "3.2.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -23,12 +23,13 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-serde": "^3.0.7",
27
- "@smithy/node-config-provider": "^3.1.8",
28
- "@smithy/shared-ini-file-loader": "^3.1.8",
29
- "@smithy/types": "^3.5.0",
30
- "@smithy/url-parser": "^3.0.7",
31
- "@smithy/util-middleware": "^3.0.7",
26
+ "@smithy/core": "^2.5.1",
27
+ "@smithy/middleware-serde": "^3.0.8",
28
+ "@smithy/node-config-provider": "^3.1.9",
29
+ "@smithy/shared-ini-file-loader": "^3.1.9",
30
+ "@smithy/types": "^3.6.0",
31
+ "@smithy/url-parser": "^3.0.8",
32
+ "@smithy/util-middleware": "^3.0.8",
32
33
  "tslib": "^2.6.2"
33
34
  },
34
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "3.0.23",
3
+ "version": "3.0.25",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -31,13 +31,13 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@smithy/node-config-provider": "^3.1.8",
35
- "@smithy/protocol-http": "^4.1.4",
36
- "@smithy/service-error-classification": "^3.0.7",
37
- "@smithy/smithy-client": "^3.4.0",
38
- "@smithy/types": "^3.5.0",
39
- "@smithy/util-middleware": "^3.0.7",
40
- "@smithy/util-retry": "^3.0.7",
34
+ "@smithy/node-config-provider": "^3.1.9",
35
+ "@smithy/protocol-http": "^4.1.5",
36
+ "@smithy/service-error-classification": "^3.0.8",
37
+ "@smithy/smithy-client": "^3.4.2",
38
+ "@smithy/types": "^3.6.0",
39
+ "@smithy/util-middleware": "^3.0.8",
40
+ "@smithy/util-retry": "^3.0.8",
41
41
  "tslib": "^2.6.2",
42
42
  "uuid": "^9.0.1"
43
43
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^3.5.0",
26
+ "@smithy/types": "^3.6.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -25,7 +25,7 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/types": "^3.5.0",
28
+ "@smithy/types": "^3.6.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -24,9 +24,9 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^3.1.7",
28
- "@smithy/shared-ini-file-loader": "^3.1.8",
29
- "@smithy/types": "^3.5.0",
27
+ "@smithy/property-provider": "^3.1.8",
28
+ "@smithy/shared-ini-file-loader": "^3.1.9",
29
+ "@smithy/types": "^3.6.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -25,10 +25,10 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/abort-controller": "^3.1.5",
29
- "@smithy/protocol-http": "^4.1.4",
30
- "@smithy/querystring-builder": "^3.0.7",
31
- "@smithy/types": "^3.5.0",
28
+ "@smithy/abort-controller": "^3.1.6",
29
+ "@smithy/protocol-http": "^4.1.5",
30
+ "@smithy/querystring-builder": "^3.0.8",
31
+ "@smithy/types": "^3.6.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline property-provider",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.5.0",
25
+ "@smithy/types": "^3.6.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "4.1.4",
3
+ "version": "4.1.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline protocol-http",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^3.5.0",
26
+ "@smithy/types": "^3.6.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline querystring-builder",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.5.0",
25
+ "@smithy/types": "^3.6.0",
26
26
  "@smithy/util-uri-escape": "^3.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline querystring-parser",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.5.0",
25
+ "@smithy/types": "^3.6.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline service-error-classification",
@@ -53,6 +53,6 @@
53
53
  "directory": ".release/package"
54
54
  },
55
55
  "dependencies": {
56
- "@smithy/types": "^3.5.0"
56
+ "@smithy/types": "^3.6.0"
57
57
  }
58
58
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "dependencies": {
5
- "@smithy/types": "^3.5.0",
5
+ "@smithy/types": "^3.6.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@smithy/is-array-buffer": "^3.0.0",
28
- "@smithy/protocol-http": "^4.1.4",
29
- "@smithy/types": "^3.5.0",
28
+ "@smithy/protocol-http": "^4.1.5",
29
+ "@smithy/types": "^3.6.0",
30
30
  "@smithy/util-hex-encoding": "^3.0.0",
31
- "@smithy/util-middleware": "^3.0.7",
31
+ "@smithy/util-middleware": "^3.0.8",
32
32
  "@smithy/util-uri-escape": "^3.0.0",
33
33
  "@smithy/util-utf8": "^3.0.0",
34
34
  "tslib": "^2.6.2"
@@ -28,7 +28,7 @@ __export(src_exports, {
28
28
  ServiceException: () => ServiceException,
29
29
  StringWrapper: () => StringWrapper,
30
30
  _json: () => _json,
31
- collectBody: () => collectBody,
31
+ collectBody: () => import_protocols.collectBody,
32
32
  convertMap: () => convertMap,
33
33
  createAggregatedClient: () => createAggregatedClient,
34
34
  dateToUtcString: () => dateToUtcString,
@@ -46,7 +46,7 @@ __export(src_exports, {
46
46
  expectShort: () => expectShort,
47
47
  expectString: () => expectString,
48
48
  expectUnion: () => expectUnion,
49
- extendedEncodeURIComponent: () => extendedEncodeURIComponent,
49
+ extendedEncodeURIComponent: () => import_protocols.extendedEncodeURIComponent,
50
50
  getArrayIfSingleItem: () => getArrayIfSingleItem,
51
51
  getDefaultClientConfiguration: () => getDefaultClientConfiguration,
52
52
  getDefaultExtensionConfiguration: () => getDefaultExtensionConfiguration,
@@ -66,7 +66,7 @@ __export(src_exports, {
66
66
  parseRfc7231DateTime: () => parseRfc7231DateTime,
67
67
  quoteHeader: () => quoteHeader,
68
68
  resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig,
69
- resolvedPath: () => resolvedPath,
69
+ resolvedPath: () => import_protocols.resolvedPath,
70
70
  serializeDateTime: () => serializeDateTime,
71
71
  serializeFloat: () => serializeFloat,
72
72
  splitEvery: () => splitEvery,
@@ -136,17 +136,7 @@ __name(_Client, "Client");
136
136
  var Client = _Client;
137
137
 
138
138
  // src/collect-stream-body.ts
139
- var import_util_stream = require("@smithy/util-stream");
140
- var collectBody = /* @__PURE__ */ __name(async (streamBody = new Uint8Array(), context) => {
141
- if (streamBody instanceof Uint8Array) {
142
- return import_util_stream.Uint8ArrayBlobAdapter.mutate(streamBody);
143
- }
144
- if (!streamBody) {
145
- return import_util_stream.Uint8ArrayBlobAdapter.mutate(new Uint8Array());
146
- }
147
- const fromContext = context.streamCollector(streamBody);
148
- return import_util_stream.Uint8ArrayBlobAdapter.mutate(await fromContext);
149
- }, "collectBody");
139
+ var import_protocols = require("@smithy/core/protocols");
150
140
 
151
141
  // src/command.ts
152
142
 
@@ -899,12 +889,7 @@ var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
899
889
  }, "emitWarningIfUnsupportedVersion");
900
890
 
901
891
  // src/extended-encode-uri-component.ts
902
- function extendedEncodeURIComponent(str) {
903
- return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
904
- return "%" + c.charCodeAt(0).toString(16).toUpperCase();
905
- });
906
- }
907
- __name(extendedEncodeURIComponent, "extendedEncodeURIComponent");
892
+
908
893
 
909
894
  // src/extensions/checksum.ts
910
895
 
@@ -1149,21 +1134,7 @@ function quoteHeader(part) {
1149
1134
  __name(quoteHeader, "quoteHeader");
1150
1135
 
1151
1136
  // src/resolve-path.ts
1152
- var resolvedPath = /* @__PURE__ */ __name((resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
1153
- if (input != null && input[memberName] !== void 0) {
1154
- const labelValue = labelValueProvider();
1155
- if (labelValue.length <= 0) {
1156
- throw new Error("Empty value provided for input HTTP label: " + memberName + ".");
1157
- }
1158
- resolvedPath2 = resolvedPath2.replace(
1159
- uriLabel,
1160
- isGreedyLabel ? labelValue.split("/").map((segment) => extendedEncodeURIComponent(segment)).join("/") : extendedEncodeURIComponent(labelValue)
1161
- );
1162
- } else {
1163
- throw new Error("No value provided for input HTTP label: " + memberName + ".");
1164
- }
1165
- return resolvedPath2;
1166
- }, "resolvedPath");
1137
+
1167
1138
 
1168
1139
  // src/ser-utils.ts
1169
1140
  var serializeFloat = /* @__PURE__ */ __name((value) => {
@@ -1,11 +1 @@
1
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
2
- export const collectBody = async (streamBody = new Uint8Array(), context) => {
3
- if (streamBody instanceof Uint8Array) {
4
- return Uint8ArrayBlobAdapter.mutate(streamBody);
5
- }
6
- if (!streamBody) {
7
- return Uint8ArrayBlobAdapter.mutate(new Uint8Array());
8
- }
9
- const fromContext = context.streamCollector(streamBody);
10
- return Uint8ArrayBlobAdapter.mutate(await fromContext);
11
- };
1
+ export { collectBody } from "@smithy/core/protocols";
@@ -1,5 +1 @@
1
- export function extendedEncodeURIComponent(str) {
2
- return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
3
- return "%" + c.charCodeAt(0).toString(16).toUpperCase();
4
- });
5
- }
1
+ export { extendedEncodeURIComponent } from "@smithy/core/protocols";
@@ -1,19 +1 @@
1
- import { extendedEncodeURIComponent } from "./extended-encode-uri-component";
2
- export const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
3
- if (input != null && input[memberName] !== undefined) {
4
- const labelValue = labelValueProvider();
5
- if (labelValue.length <= 0) {
6
- throw new Error("Empty value provided for input HTTP label: " + memberName + ".");
7
- }
8
- resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel
9
- ? labelValue
10
- .split("/")
11
- .map((segment) => extendedEncodeURIComponent(segment))
12
- .join("/")
13
- : extendedEncodeURIComponent(labelValue));
14
- }
15
- else {
16
- throw new Error("No value provided for input HTTP label: " + memberName + ".");
17
- }
18
- return resolvedPath;
19
- };
1
+ export { resolvedPath } from "@smithy/core/protocols";
@@ -1,10 +1,5 @@
1
- import { SerdeContext } from "@smithy/types";
2
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
3
1
  /**
4
2
  * @internal
5
- *
6
- * Collect low-level response body stream to Uint8Array.
3
+ * Backwards compatibility re-export.
7
4
  */
8
- export declare const collectBody: (streamBody: any, context: {
9
- streamCollector: SerdeContext["streamCollector"];
10
- }) => Promise<Uint8ArrayBlobAdapter>;
5
+ export { collectBody } from "@smithy/core/protocols";
@@ -1,7 +1,5 @@
1
1
  /**
2
2
  * @internal
3
- *
4
- * Function that wraps encodeURIComponent to encode additional characters
5
- * to fully adhere to RFC 3986.
3
+ * Backwards compatibility re-export.
6
4
  */
7
- export declare function extendedEncodeURIComponent(str: string): string;
5
+ export { extendedEncodeURIComponent } from "@smithy/core/protocols";
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * @internal
3
+ * Backwards compatibility re-export.
3
4
  */
4
- export declare const resolvedPath: (resolvedPath: string, input: unknown, memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean) => string;
5
+ export { resolvedPath } from "@smithy/core/protocols";
@@ -1,10 +1,5 @@
1
- import { SerdeContext } from "@smithy/types";
2
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
3
1
  /**
4
2
  * @internal
5
- *
6
- * Collect low-level response body stream to Uint8Array.
3
+ * Backwards compatibility re-export.
7
4
  */
8
- export declare const collectBody: (streamBody: any, context: {
9
- streamCollector: SerdeContext["streamCollector"];
10
- }) => Promise<Uint8ArrayBlobAdapter>;
5
+ export { collectBody } from "@smithy/core/protocols";
@@ -1,7 +1,5 @@
1
1
  /**
2
2
  * @internal
3
- *
4
- * Function that wraps encodeURIComponent to encode additional characters
5
- * to fully adhere to RFC 3986.
3
+ * Backwards compatibility re-export.
6
4
  */
7
- export declare function extendedEncodeURIComponent(str: string): string;
5
+ export { extendedEncodeURIComponent } from "@smithy/core/protocols";
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * @internal
3
+ * Backwards compatibility re-export.
3
4
  */
4
- export declare const resolvedPath: (resolvedPath: string, input: unknown, memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean) => string;
5
+ export { resolvedPath } from "@smithy/core/protocols";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -23,11 +23,12 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-endpoint": "^3.1.4",
27
- "@smithy/middleware-stack": "^3.0.7",
28
- "@smithy/protocol-http": "^4.1.4",
29
- "@smithy/types": "^3.5.0",
30
- "@smithy/util-stream": "^3.1.9",
26
+ "@smithy/core": "^2.5.1",
27
+ "@smithy/middleware-endpoint": "^3.2.1",
28
+ "@smithy/middleware-stack": "^3.0.8",
29
+ "@smithy/protocol-http": "^4.1.5",
30
+ "@smithy/types": "^3.6.0",
31
+ "@smithy/util-stream": "^3.2.1",
31
32
  "tslib": "^2.6.2"
32
33
  },
33
34
  "engines": {
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -0,0 +1 @@
1
+ export {};
@@ -11,6 +11,7 @@ export * from "./endpoint";
11
11
  export * from "./endpoints";
12
12
  export * from "./eventStream";
13
13
  export * from "./extensions";
14
+ export * from "./feature-ids";
14
15
  export * from "./http";
15
16
  export * from "./http/httpHandlerInitialization";
16
17
  export * from "./identity";
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export type SmithyFeatures = Partial<{
5
+ RESOURCE_MODEL: "A";
6
+ WAITER: "B";
7
+ PAGINATOR: "C";
8
+ RETRY_MODE_LEGACY: "D";
9
+ RETRY_MODE_STANDARD: "E";
10
+ RETRY_MODE_ADAPTIVE: "F";
11
+ GZIP_REQUEST_COMPRESSION: "L";
12
+ PROTOCOL_RPC_V2_CBOR: "M";
13
+ ENDPOINT_OVERRIDE: "N";
14
+ SIGV4A_SIGNING: "S";
15
+ CREDENTIALS_CODE: "e";
16
+ }>;
@@ -11,6 +11,7 @@ export * from "./endpoint";
11
11
  export * from "./endpoints";
12
12
  export * from "./eventStream";
13
13
  export * from "./extensions";
14
+ export * from "./feature-ids";
14
15
  export * from "./http";
15
16
  export * from "./http/httpHandlerInitialization";
16
17
  export * from "./identity";