@aws-sdk/client-dynamodb-streams 3.1164.0 → 3.1166.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
CHANGED
|
@@ -7,7 +7,7 @@ exports.__Client = Client;
|
|
|
7
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
8
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
9
|
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
10
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1165.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -520,7 +520,7 @@ const getRuntimeConfig = (config) => {
|
|
|
520
520
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
521
521
|
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
522
522
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
523
|
-
maxAttempts: config?.maxAttempts ?? loadConfig(
|
|
523
|
+
maxAttempts: config?.maxAttempts ?? loadConfig({ ...NODE_MAX_ATTEMPT_CONFIG_OPTIONS, default: 4 }, config),
|
|
524
524
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
525
525
|
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
526
526
|
retryMode: config?.retryMode ??
|
|
@@ -588,7 +588,7 @@ class DynamoDBStreamsClient extends Client {
|
|
|
588
588
|
this.initConfig = _config_0;
|
|
589
589
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
590
590
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
591
|
-
const _config_3 = resolveRetryConfig(_config_2, { defaultBaseDelay:
|
|
591
|
+
const _config_3 = resolveRetryConfig(_config_2, { defaultBaseDelay: 25, defaultMaxAttempts: 4 });
|
|
592
592
|
const _config_4 = resolveRegionConfig(_config_3);
|
|
593
593
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
594
594
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
@@ -4,7 +4,7 @@ import { Client as __Client, } from "@smithy/core/client";
|
|
|
4
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
5
5
|
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
6
6
|
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
7
|
-
import { getRetryPlugin, resolveRetryConfig,
|
|
7
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
8
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
9
|
import { defaultDynamoDBStreamsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -19,7 +19,7 @@ export class DynamoDBStreamsClient extends __Client {
|
|
|
19
19
|
this.initConfig = _config_0;
|
|
20
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
21
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
-
const _config_3 = resolveRetryConfig(_config_2, { defaultBaseDelay:
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2, { defaultBaseDelay: 25, defaultMaxAttempts: 4 });
|
|
23
23
|
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
24
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
25
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
@@ -2,7 +2,7 @@ import packageInfo from "../package.json";
|
|
|
2
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
3
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
5
|
-
import {
|
|
5
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
6
6
|
import { calculateBodyLength } from "@smithy/core/serde";
|
|
7
7
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
8
8
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -18,7 +18,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
18
18
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
19
19
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
20
20
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
21
|
-
maxAttempts: config?.maxAttempts ??
|
|
21
|
+
maxAttempts: config?.maxAttempts ?? 4,
|
|
22
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
23
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
24
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,7 +4,7 @@ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchem
|
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
|
-
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
8
|
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -28,7 +28,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
29
|
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
30
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig({ ...NODE_MAX_ATTEMPT_CONFIG_OPTIONS, default: 4 }, config),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
33
33
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
34
|
retryMode: config?.retryMode ??
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb-streams",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1166.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb-streams",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/types": "^3.975.
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.8.
|
|
60
|
-
"@smithy/node-http-handler": "^4.14.
|
|
61
|
-
"@smithy/types": "^4.
|
|
55
|
+
"@aws-sdk/core": "^3.981.0",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.96",
|
|
57
|
+
"@aws-sdk/types": "^3.975.1",
|
|
58
|
+
"@smithy/core": "^3.40.0",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
60
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
61
|
+
"@smithy/types": "^4.20.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|