@aws-sdk/client-dynamodb 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 +15 -15
|
@@ -48,6 +48,7 @@ const getRuntimeConfig = (config) => {
|
|
|
48
48
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
49
49
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
50
50
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
51
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,7 +3,7 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS } from "@aws-sdk/core/account-id-endpoint";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
|
|
6
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
6
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
7
7
|
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";
|
|
8
8
|
import { Hash } from "@smithy/hash-node";
|
|
9
9
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -44,5 +44,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
44
44
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
45
45
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
48
|
};
|
|
48
49
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
9
9
|
accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider: import("@
|
|
12
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
31
31
|
logger: import("@smithy/types").Logger;
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
36
|
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;
|
|
36
37
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
9
9
|
accountIdEndpointMode: "disabled" | "preferred" | "required" | import("@smithy/types").Provider<import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
|
|
12
|
-
defaultUserAgentProvider: import("@
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
19
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
23
|
apiVersion: string;
|
|
23
24
|
cacheMiddleware?: boolean | undefined;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
|
|
24
|
-
defaultUserAgentProvider: import("@
|
|
24
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -30,6 +30,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
30
30
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
31
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
|
|
32
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
35
|
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;
|
|
35
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -14,9 +14,9 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
14
14
|
credentialDefaultProvider: (
|
|
15
15
|
input: any
|
|
16
16
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
17
|
-
defaultUserAgentProvider:
|
|
18
|
-
import("@
|
|
19
|
-
>;
|
|
17
|
+
defaultUserAgentProvider: (
|
|
18
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
19
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
20
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
|
|
21
21
|
boolean | undefined
|
|
22
22
|
>;
|
|
@@ -42,6 +42,10 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
42
42
|
logger: import("@smithy/types").Logger;
|
|
43
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
44
44
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
+
userAgentAppId?:
|
|
46
|
+
| string
|
|
47
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
48
|
+
| undefined;
|
|
45
49
|
retryStrategy?:
|
|
46
50
|
| import("@smithy/types").RetryStrategy
|
|
47
51
|
| import("@smithy/types").RetryStrategyV2
|
|
@@ -20,9 +20,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
20
20
|
) => import("@smithy/types").MemoizedProvider<
|
|
21
21
|
import("@smithy/types").AwsCredentialIdentity
|
|
22
22
|
>;
|
|
23
|
-
defaultUserAgentProvider:
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
defaultUserAgentProvider: (
|
|
24
|
+
config?:
|
|
25
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
26
|
+
| undefined
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
26
28
|
endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
|
|
27
29
|
boolean | undefined
|
|
28
30
|
>;
|
|
@@ -36,6 +38,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
36
38
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
37
39
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
38
40
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
41
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
39
42
|
apiVersion: string;
|
|
40
43
|
cacheMiddleware?: boolean | undefined;
|
|
41
44
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
27
27
|
| "preferred"
|
|
28
28
|
| "required"
|
|
29
29
|
| (() => Promise<string>);
|
|
30
|
-
defaultUserAgentProvider:
|
|
31
|
-
import("@
|
|
32
|
-
>;
|
|
30
|
+
defaultUserAgentProvider: (
|
|
31
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
32
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
33
|
credentialDefaultProvider: (
|
|
34
34
|
input: any
|
|
35
35
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -46,6 +46,10 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
46
46
|
boolean | undefined
|
|
47
47
|
>;
|
|
48
48
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
49
|
+
userAgentAppId?:
|
|
50
|
+
| string
|
|
51
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
52
|
+
| undefined;
|
|
49
53
|
retryStrategy?:
|
|
50
54
|
| import("@smithy/types").RetryStrategy
|
|
51
55
|
| import("@smithy/types").RetryStrategyV2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb 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-dynamodb",
|
|
@@ -20,20 +20,20 @@
|
|
|
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-endpoint-discovery": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@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-endpoint-discovery": "3.664.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
33
|
+
"@aws-sdk/types": "3.664.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.9",
|
|
38
38
|
"@smithy/core": "^2.4.7",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.2.9",
|