@aws-sdk/middleware-sdk-ec2 3.38.0 → 3.45.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/middleware-sdk-ec2
9
+
10
+
11
+
12
+
13
+
14
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **middleware-sdk-ec2:** remove double encoding of presigned url ([#3022](https://github.com/aws/aws-sdk-js-v3/issues/3022)) ([7cf73ea](https://github.com/aws/aws-sdk-js-v3/commit/7cf73eac3103b0a0ad7c0d84c04882f07a576245))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/middleware-sdk-ec2
28
+
29
+
30
+
31
+
32
+
33
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/middleware-sdk-ec2
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/middleware-sdk-ec2
package/dist-cjs/index.js CHANGED
@@ -4,7 +4,6 @@ exports.getCopySnapshotPresignedUrlPlugin = exports.copySnapshotPresignedUrlMidd
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const signature_v4_1 = require("@aws-sdk/signature-v4");
6
6
  const util_format_url_1 = require("@aws-sdk/util-format-url");
7
- const util_uri_escape_1 = require("@aws-sdk/util-uri-escape");
8
7
  const version = "2016-11-15";
9
8
  function copySnapshotPresignedUrlMiddleware(options) {
10
9
  return (next) => async (args) => {
@@ -42,7 +41,7 @@ function copySnapshotPresignedUrlMiddleware(options) {
42
41
  input: {
43
42
  ...args.input,
44
43
  DestinationRegion: region,
45
- PresignedUrl: util_uri_escape_1.escapeUri(util_format_url_1.formatUrl(presignedRequest)),
44
+ PresignedUrl: util_format_url_1.formatUrl(presignedRequest),
46
45
  },
47
46
  };
48
47
  }
package/dist-es/index.js CHANGED
@@ -2,7 +2,6 @@ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { HttpRequest } from "@aws-sdk/protocol-http";
3
3
  import { SignatureV4 } from "@aws-sdk/signature-v4";
4
4
  import { formatUrl } from "@aws-sdk/util-format-url";
5
- import { escapeUri } from "@aws-sdk/util-uri-escape";
6
5
  var version = "2016-11-15";
7
6
  export function copySnapshotPresignedUrlMiddleware(options) {
8
7
  var _this = this;
@@ -42,7 +41,7 @@ export function copySnapshotPresignedUrlMiddleware(options) {
42
41
  })];
43
42
  case 3:
44
43
  presignedRequest = _a.sent();
45
- args = __assign(__assign({}, args), { input: __assign(__assign({}, args.input), { DestinationRegion: region, PresignedUrl: escapeUri(formatUrl(presignedRequest)) }) });
44
+ args = __assign(__assign({}, args), { input: __assign(__assign({}, args.input), { DestinationRegion: region, PresignedUrl: formatUrl(presignedRequest) }) });
46
45
  _a.label = 4;
47
46
  case 4: return [2, next(args)];
48
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-ec2",
3
- "version": "3.38.0",
3
+ "version": "3.45.0",
4
4
  "scripts": {
5
5
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,11 +18,10 @@
18
18
  },
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@aws-sdk/protocol-http": "3.38.0",
22
- "@aws-sdk/signature-v4": "3.38.0",
23
- "@aws-sdk/types": "3.38.0",
24
- "@aws-sdk/util-format-url": "3.38.0",
25
- "@aws-sdk/util-uri-escape": "3.37.0",
21
+ "@aws-sdk/protocol-http": "3.40.0",
22
+ "@aws-sdk/signature-v4": "3.45.0",
23
+ "@aws-sdk/types": "3.40.0",
24
+ "@aws-sdk/util-format-url": "3.40.0",
26
25
  "tslib": "^2.3.0"
27
26
  },
28
27
  "devDependencies": {