@aws-sdk/client-global-accelerator 3.395.0 → 3.398.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/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +4 -2
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/package.json +29 -29
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -388,7 +388,8 @@ export interface EndpointConfiguration {
|
|
|
388
388
|
* <p>If the value is set to true, the client's IP address is preserved in the <code>X-Forwarded-For</code> request header as
|
|
389
389
|
* traffic travels to applications on the endpoint fronted by the accelerator.</p>
|
|
390
390
|
* <p>Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load
|
|
391
|
-
* Balancers
|
|
391
|
+
* Balancers, Amazon EC2 instances, and Network Load Balancers with Security Groups. IMPORTANT: You cannot use client IP address preservation
|
|
392
|
+
* with Network Load Balancers with TLS listeners.</p>
|
|
392
393
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html">
|
|
393
394
|
* Preserve client IP addresses in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
394
395
|
*/
|
|
@@ -462,7 +463,8 @@ export interface EndpointDescription {
|
|
|
462
463
|
* <p>If the value is set to true, the client's IP address is preserved in the <code>X-Forwarded-For</code> request header as
|
|
463
464
|
* traffic travels to applications on the endpoint fronted by the accelerator.</p>
|
|
464
465
|
* <p>Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load
|
|
465
|
-
* Balancers
|
|
466
|
+
* Balancers, Amazon EC2 instances, and Network Load Balancers with Security Groups. IMPORTANT: You cannot use client IP address preservation
|
|
467
|
+
* with Network Load Balancers with TLS listeners.</p>
|
|
466
468
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html">
|
|
467
469
|
* Preserve client IP addresses in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
468
470
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobalAcceleratorExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
|
|
6
|
+
configure(clientConfiguration: GlobalAcceleratorExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobalAcceleratorExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
|
|
4
|
-
clientConfiguration: GlobalAcceleratorClientConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(clientConfiguration: GlobalAcceleratorExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-global-accelerator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Global Accelerator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.398.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.398.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.398.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.398.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.398.0",
|
|
31
|
+
"@aws-sdk/types": "3.398.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.398.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.5",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
|
+
"@smithy/hash-node": "^2.0.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.5",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.5",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.5",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.5",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.5",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.5",
|
|
48
|
+
"@smithy/types": "^2.2.2",
|
|
49
|
+
"@smithy/url-parser": "^2.0.5",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
|
-
"@smithy/util-body-length-node": "^2.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
52
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.5",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
File without changes
|
|
File without changes
|