@aws-sdk/client-arc-zonal-shift 3.662.0 → 3.664.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/runtimeConfig.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +14 -14
|
@@ -44,6 +44,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
44
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
45
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
50
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -40,5 +40,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
40
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
41
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
42
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
44
|
};
|
|
44
45
|
};
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: import("@
|
|
11
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
32
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
|
|
11
|
-
defaultUserAgentProvider: import("@
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
20
21
|
apiVersion: string;
|
|
21
22
|
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: import("@
|
|
23
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
29
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
30
30
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
31
32
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
33
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
33
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider:
|
|
13
|
-
import("@
|
|
14
|
-
>;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
14
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
@@ -34,6 +34,10 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
userAgentAppId?:
|
|
38
|
+
| string
|
|
39
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
40
|
+
| undefined;
|
|
37
41
|
retryStrategy?:
|
|
38
42
|
| import("@smithy/types").RetryStrategy
|
|
39
43
|
| import("@smithy/types").RetryStrategyV2
|
|
@@ -13,9 +13,11 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
13
13
|
) => import("@smithy/types").MemoizedProvider<
|
|
14
14
|
import("@smithy/types").AwsCredentialIdentity
|
|
15
15
|
>;
|
|
16
|
-
defaultUserAgentProvider:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
defaultUserAgentProvider: (
|
|
17
|
+
config?:
|
|
18
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
|
+
| undefined
|
|
20
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
22
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
23
|
requestHandler:
|
|
@@ -26,6 +28,7 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
26
28
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
27
29
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
30
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
32
|
apiVersion: string;
|
|
30
33
|
cacheMiddleware?: boolean | undefined;
|
|
31
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
defaultUserAgentProvider:
|
|
26
|
-
import("@
|
|
27
|
-
>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
28
|
credentialDefaultProvider: (
|
|
29
29
|
input: any
|
|
30
30
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
|
|
|
38
38
|
import("@smithy/smithy-client").DefaultsMode
|
|
39
39
|
>;
|
|
40
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
userAgentAppId?:
|
|
42
|
+
| string
|
|
43
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
44
|
+
| undefined;
|
|
41
45
|
retryStrategy?:
|
|
42
46
|
| import("@smithy/types").RetryStrategy
|
|
43
47
|
| import("@smithy/types").RetryStrategyV2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-zonal-shift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Zonal Shift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.664.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-arc-zonal-shift",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.664.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.664.0",
|
|
25
|
+
"@aws-sdk/core": "3.664.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.664.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
32
|
+
"@aws-sdk/types": "3.664.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.7",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.9",
|