@aws-sdk/client-appfabric 3.409.0 → 3.410.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 +3 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +28 -28
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface AppFabricExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface AppFabricExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { AppFabricClientConfig } from "./AppFabricClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { AppFabricExtensionConfiguration } from "./extensionConfiguration";
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: AppFabricExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface AppFabricExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: AppFabricClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppFabricExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: AppFabricExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appfabric",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appfabric Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.410.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.
|
|
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.410.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
31
|
+
"@aws-sdk/types": "3.410.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.6",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^2.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
45
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
46
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
48
|
+
"@smithy/types": "^2.3.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.6",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0",
|