@aws-sdk/client-dynamodb 3.662.0 → 3.665.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/index.js +12 -10
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/DynamoDBClient.js +12 -10
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/DynamoDBClient.d.ts +3 -3
- 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/DynamoDBClient.d.ts +7 -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
package/dist-cjs/index.js
CHANGED
|
@@ -169,6 +169,7 @@ __export(src_exports, {
|
|
|
169
169
|
module.exports = __toCommonJS(src_exports);
|
|
170
170
|
|
|
171
171
|
// src/DynamoDBClient.ts
|
|
172
|
+
var import_account_id_endpoint = require("@aws-sdk/core/account-id-endpoint");
|
|
172
173
|
var import_middleware_endpoint_discovery = require("@aws-sdk/middleware-endpoint-discovery");
|
|
173
174
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
174
175
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
@@ -4129,18 +4130,19 @@ var _DynamoDBClient = class _DynamoDBClient extends import_smithy_client.Client
|
|
|
4129
4130
|
constructor(...[configuration]) {
|
|
4130
4131
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
4131
4132
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
4132
|
-
const _config_2 = (0,
|
|
4133
|
-
const _config_3 = (0,
|
|
4134
|
-
const _config_4 = (0,
|
|
4135
|
-
const _config_5 = (0,
|
|
4136
|
-
const _config_6 = (0,
|
|
4137
|
-
const _config_7 = (0,
|
|
4138
|
-
const _config_8 = (0,
|
|
4133
|
+
const _config_2 = (0, import_account_id_endpoint.resolveAccountIdEndpointModeConfig)(_config_1);
|
|
4134
|
+
const _config_3 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_2);
|
|
4135
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
4136
|
+
const _config_5 = (0, import_config_resolver.resolveRegionConfig)(_config_4);
|
|
4137
|
+
const _config_6 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_5);
|
|
4138
|
+
const _config_7 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_6);
|
|
4139
|
+
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
4140
|
+
const _config_9 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_8, {
|
|
4139
4141
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand
|
|
4140
4142
|
});
|
|
4141
|
-
const
|
|
4142
|
-
super(
|
|
4143
|
-
this.config =
|
|
4143
|
+
const _config_10 = resolveRuntimeExtensions(_config_9, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
4144
|
+
super(_config_10);
|
|
4145
|
+
this.config = _config_10;
|
|
4144
4146
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
4145
4147
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
4146
4148
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
@@ -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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { resolveAccountIdEndpointModeConfig, } from "@aws-sdk/core/account-id-endpoint";
|
|
1
2
|
import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
@@ -19,18 +20,19 @@ export class DynamoDBClient extends __Client {
|
|
|
19
20
|
constructor(...[configuration]) {
|
|
20
21
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
21
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
22
|
-
const _config_2 =
|
|
23
|
-
const _config_3 =
|
|
24
|
-
const _config_4 =
|
|
25
|
-
const _config_5 =
|
|
26
|
-
const _config_6 =
|
|
27
|
-
const _config_7 =
|
|
28
|
-
const _config_8 =
|
|
23
|
+
const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
|
|
24
|
+
const _config_3 = resolveUserAgentConfig(_config_2);
|
|
25
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
26
|
+
const _config_5 = resolveRegionConfig(_config_4);
|
|
27
|
+
const _config_6 = resolveHostHeaderConfig(_config_5);
|
|
28
|
+
const _config_7 = resolveEndpointConfig(_config_6);
|
|
29
|
+
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
30
|
+
const _config_9 = resolveEndpointDiscoveryConfig(_config_8, {
|
|
29
31
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
|
|
30
32
|
});
|
|
31
|
-
const
|
|
32
|
-
super(
|
|
33
|
-
this.config =
|
|
33
|
+
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
34
|
+
super(_config_10);
|
|
35
|
+
this.config = _config_10;
|
|
34
36
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
35
37
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
36
38
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
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
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
|
|
1
|
+
import { AccountIdEndpointMode, AccountIdEndpointModeInputConfig, AccountIdEndpointModeResolvedConfig } from "@aws-sdk/core/account-id-endpoint";
|
|
2
2
|
import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
|
|
3
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
4
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
@@ -200,7 +200,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
200
200
|
/**
|
|
201
201
|
* @public
|
|
202
202
|
*/
|
|
203
|
-
export type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
|
|
203
|
+
export type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & AccountIdEndpointModeInputConfig & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
|
|
204
204
|
/**
|
|
205
205
|
* @public
|
|
206
206
|
*
|
|
@@ -211,7 +211,7 @@ export interface DynamoDBClientConfig extends DynamoDBClientConfigType {
|
|
|
211
211
|
/**
|
|
212
212
|
* @public
|
|
213
213
|
*/
|
|
214
|
-
export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters;
|
|
214
|
+
export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & AccountIdEndpointModeResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters;
|
|
215
215
|
/**
|
|
216
216
|
* @public
|
|
217
217
|
*
|
|
@@ -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?: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
AccountIdEndpointMode,
|
|
3
|
+
AccountIdEndpointModeInputConfig,
|
|
4
|
+
AccountIdEndpointModeResolvedConfig,
|
|
5
|
+
} from "@aws-sdk/core/account-id-endpoint";
|
|
2
6
|
import {
|
|
3
7
|
EndpointDiscoveryInputConfig,
|
|
4
8
|
EndpointDiscoveryResolvedConfig,
|
|
@@ -428,6 +432,7 @@ export type DynamoDBClientConfigType = Partial<
|
|
|
428
432
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
429
433
|
> &
|
|
430
434
|
ClientDefaults &
|
|
435
|
+
AccountIdEndpointModeInputConfig &
|
|
431
436
|
UserAgentInputConfig &
|
|
432
437
|
RetryInputConfig &
|
|
433
438
|
RegionInputConfig &
|
|
@@ -441,6 +446,7 @@ export type DynamoDBClientResolvedConfigType =
|
|
|
441
446
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
442
447
|
Required<ClientDefaults> &
|
|
443
448
|
RuntimeExtensionsConfig &
|
|
449
|
+
AccountIdEndpointModeResolvedConfig &
|
|
444
450
|
UserAgentResolvedConfig &
|
|
445
451
|
RetryResolvedConfig &
|
|
446
452
|
RegionResolvedConfig &
|
|
@@ -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.665.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.665.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.665.0",
|
|
25
|
+
"@aws-sdk/core": "3.665.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.665.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",
|