@aws-sdk/middleware-sdk-rds 3.54.1 → 3.55.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,17 @@
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.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **property-provider:** memoize() supports force refresh ([#3413](https://github.com/aws/aws-sdk-js-v3/issues/3413)) ([a79f962](https://github.com/aws/aws-sdk-js-v3/commit/a79f962873ff11a3d6f98199224155bd2ddc0b1e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/middleware-sdk-rds
package/dist-cjs/index.js CHANGED
@@ -53,7 +53,7 @@ function crossRegionPresignedUrlMiddleware(options) {
53
53
  ...args,
54
54
  input: {
55
55
  ...args.input,
56
- PreSignedUrl: util_format_url_1.formatUrl(presignedRequest),
56
+ PreSignedUrl: (0, util_format_url_1.formatUrl)(presignedRequest),
57
57
  },
58
58
  };
59
59
  }
package/dist-es/index.js CHANGED
@@ -35,7 +35,7 @@ export function crossRegionPresignedUrlMiddleware(options) {
35
35
  return [4, options.endpoint()];
36
36
  case 2:
37
37
  resolvedEndpoint = _b.sent();
38
- resolvedEndpoint.hostname = "rds." + sourceRegion + ".amazonaws.com";
38
+ resolvedEndpoint.hostname = "rds.".concat(sourceRegion, ".amazonaws.com");
39
39
  request = new HttpRequest(__assign(__assign({}, resolvedEndpoint), { protocol: "https", headers: {
40
40
  host: resolvedEndpoint.hostname,
41
41
  }, query: (_a = {
@@ -85,7 +85,7 @@ function isARN(id) {
85
85
  function getEndpointFromARN(arn) {
86
86
  var arnArr = arn.split(":");
87
87
  if (arnArr.length < 4) {
88
- throw new Error("Cannot infer endpoint from '" + arn + "'");
88
+ throw new Error("Cannot infer endpoint from '".concat(arn, "'"));
89
89
  }
90
90
  return arnArr[3];
91
91
  }
@@ -1,6 +1,6 @@
1
- import { Credentials, Endpoint, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, Pluggable, Provider } from "@aws-sdk/types";
1
+ import { Credentials, Endpoint, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, MemoizedProvider, Pluggable, Provider } from "@aws-sdk/types";
2
2
  interface PreviouslyResolved {
3
- credentials: Provider<Credentials>;
3
+ credentials: MemoizedProvider<Credentials>;
4
4
  endpoint: Provider<Endpoint>;
5
5
  region: Provider<string>;
6
6
  sha256: HashConstructor;
@@ -1,6 +1,6 @@
1
- import { Credentials, Endpoint, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, Pluggable, Provider } from "@aws-sdk/types";
1
+ import { Credentials, Endpoint, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, MemoizedProvider, Pluggable, Provider } from "@aws-sdk/types";
2
2
  interface PreviouslyResolved {
3
- credentials: Provider<Credentials>;
3
+ credentials: MemoizedProvider<Credentials>;
4
4
  endpoint: Provider<Endpoint>;
5
5
  region: Provider<string>;
6
6
  sha256: HashConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-rds",
3
- "version": "3.54.1",
3
+ "version": "3.55.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,11 +19,11 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/protocol-http": "3.54.1",
23
- "@aws-sdk/signature-v4": "3.54.1",
24
- "@aws-sdk/types": "3.54.1",
25
- "@aws-sdk/util-format-url": "3.54.1",
26
- "tslib": "^2.3.0"
22
+ "@aws-sdk/protocol-http": "3.55.0",
23
+ "@aws-sdk/signature-v4": "3.55.0",
24
+ "@aws-sdk/types": "3.55.0",
25
+ "@aws-sdk/util-format-url": "3.55.0",
26
+ "tslib": "^2.3.1"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">= 12.0.0"
@@ -50,6 +50,6 @@
50
50
  "downlevel-dts": "0.7.0",
51
51
  "rimraf": "3.0.2",
52
52
  "typedoc": "0.19.2",
53
- "typescript": "~4.3.5"
53
+ "typescript": "~4.6.2"
54
54
  }
55
55
  }