@aws-sdk/middleware-sdk-rds 3.972.21 → 3.972.23

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/dist-cjs/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var utilFormatUrl = require('@aws-sdk/util-format-url');
4
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
5
- var protocolHttp = require('@smithy/protocol-http');
3
+ var util = require('@aws-sdk/core/util');
4
+ var endpoints = require('@smithy/core/endpoints');
5
+ var protocols = require('@smithy/core/protocols');
6
6
  var signatureV4 = require('@smithy/signature-v4');
7
7
 
8
8
  const regARN = /arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?/;
@@ -29,10 +29,10 @@ function crossRegionPresignedUrlMiddleware(options) {
29
29
  resolvedEndpoint = await options.endpoint();
30
30
  }
31
31
  else {
32
- resolvedEndpoint = middlewareEndpoint.toEndpointV1(context.endpointV2);
32
+ resolvedEndpoint = endpoints.toEndpointV1(context.endpointV2);
33
33
  }
34
34
  resolvedEndpoint.hostname = `rds.${sourceRegion}.amazonaws.com`;
35
- const request = new protocolHttp.HttpRequest({
35
+ const request = new protocols.HttpRequest({
36
36
  ...resolvedEndpoint,
37
37
  protocol: "https",
38
38
  headers: {
@@ -60,7 +60,7 @@ function crossRegionPresignedUrlMiddleware(options) {
60
60
  ...args,
61
61
  input: {
62
62
  ...args.input,
63
- PreSignedUrl: utilFormatUrl.formatUrl(presignedRequest),
63
+ PreSignedUrl: util.formatUrl(presignedRequest),
64
64
  },
65
65
  };
66
66
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { formatUrl } from "@aws-sdk/util-format-url";
2
- import { toEndpointV1 } from "@smithy/middleware-endpoint";
3
- import { HttpRequest } from "@smithy/protocol-http";
1
+ import { formatUrl } from "@aws-sdk/core/util";
2
+ import { toEndpointV1 } from "@smithy/core/endpoints";
3
+ import { HttpRequest } from "@smithy/core/protocols";
4
4
  import { SignatureV4 } from "@smithy/signature-v4";
5
5
  const regARN = /arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?/;
6
6
  const sourceIdToCommandKeyMap = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-rds",
3
- "version": "3.972.21",
3
+ "version": "3.972.23",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-rds",
@@ -24,11 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
+ "@aws-sdk/core": "^3.974.9",
27
28
  "@aws-sdk/types": "^3.973.8",
28
- "@aws-sdk/util-format-url": "^3.972.10",
29
- "@smithy/middleware-endpoint": "^4.4.31",
30
- "@smithy/protocol-http": "^5.3.14",
31
- "@smithy/signature-v4": "^5.3.14",
29
+ "@smithy/core": "^3.24.1",
30
+ "@smithy/signature-v4": "^5.4.1",
32
31
  "@smithy/types": "^4.14.1",
33
32
  "tslib": "^2.6.2"
34
33
  },