@aws-sdk/client-dynamodb 3.614.0 → 3.616.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
@@ -4131,9 +4131,9 @@ var _DynamoDBClient = class _DynamoDBClient extends import_smithy_client.Client
4131
4131
  const _config_1 = resolveClientEndpointParameters(_config_0);
4132
4132
  const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
4133
4133
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
4134
- const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
4135
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
4136
- const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
4134
+ const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
4135
+ const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
4136
+ const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
4137
4137
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
4138
4138
  const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
4139
4139
  endpointDiscoveryCommandCtor: DescribeEndpointsCommand
@@ -4141,12 +4141,12 @@ var _DynamoDBClient = class _DynamoDBClient extends import_smithy_client.Client
4141
4141
  const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
4142
4142
  super(_config_9);
4143
4143
  this.config = _config_9;
4144
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
4145
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
4146
4144
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
4147
4145
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
4148
4146
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
4149
4147
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
4148
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
4149
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
4150
4150
  this.middlewareStack.use(
4151
4151
  (0, import_core2.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
4152
4152
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
@@ -21,9 +21,9 @@ export class DynamoDBClient extends __Client {
21
21
  const _config_1 = resolveClientEndpointParameters(_config_0);
22
22
  const _config_2 = resolveRegionConfig(_config_1);
23
23
  const _config_3 = resolveEndpointConfig(_config_2);
24
- const _config_4 = resolveRetryConfig(_config_3);
25
- const _config_5 = resolveHostHeaderConfig(_config_4);
26
- const _config_6 = resolveUserAgentConfig(_config_5);
24
+ const _config_4 = resolveHostHeaderConfig(_config_3);
25
+ const _config_5 = resolveUserAgentConfig(_config_4);
26
+ const _config_6 = resolveRetryConfig(_config_5);
27
27
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
28
28
  const _config_8 = resolveEndpointDiscoveryConfig(_config_7, {
29
29
  endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
@@ -31,12 +31,12 @@ export class DynamoDBClient extends __Client {
31
31
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
32
  super(_config_9);
33
33
  this.config = _config_9;
34
- this.middlewareStack.use(getRetryPlugin(this.config));
35
- this.middlewareStack.use(getContentLengthPlugin(this.config));
36
34
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
35
  this.middlewareStack.use(getLoggerPlugin(this.config));
38
36
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
39
37
  this.middlewareStack.use(getUserAgentPlugin(this.config));
38
+ this.middlewareStack.use(getRetryPlugin(this.config));
39
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
40
40
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
41
41
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
42
42
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -195,7 +195,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
195
195
  /**
196
196
  * @public
197
197
  */
198
- export type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
198
+ export type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
199
199
  /**
200
200
  * @public
201
201
  *
@@ -206,7 +206,7 @@ export interface DynamoDBClientConfig extends DynamoDBClientConfigType {
206
206
  /**
207
207
  * @public
208
208
  */
209
- export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters;
209
+ export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters;
210
210
  /**
211
211
  * @public
212
212
  *
@@ -33,8 +33,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
33
33
  logger?: import("@smithy/types").Logger | undefined;
34
34
  }) => import("@smithy/types").EndpointV2;
35
35
  tls?: boolean | undefined;
36
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
39
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
40
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -33,8 +33,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
33
33
  logger?: import("@smithy/types").Logger | undefined;
34
34
  }) => import("@smithy/types").EndpointV2;
35
35
  tls?: boolean | undefined;
36
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
39
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
40
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
32
32
  logger?: import("@smithy/types").Logger | undefined;
33
33
  }) => import("@smithy/types").EndpointV2;
34
34
  tls?: boolean | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
35
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
37
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
38
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
39
39
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -426,9 +426,9 @@ export type DynamoDBClientConfigType = Partial<
426
426
  ClientDefaults &
427
427
  RegionInputConfig &
428
428
  EndpointInputConfig<EndpointParameters> &
429
- RetryInputConfig &
430
429
  HostHeaderInputConfig &
431
430
  UserAgentInputConfig &
431
+ RetryInputConfig &
432
432
  HttpAuthSchemeInputConfig &
433
433
  EndpointDiscoveryInputConfig &
434
434
  ClientInputEndpointParameters;
@@ -439,9 +439,9 @@ export type DynamoDBClientResolvedConfigType =
439
439
  RuntimeExtensionsConfig &
440
440
  RegionResolvedConfig &
441
441
  EndpointResolvedConfig<EndpointParameters> &
442
- RetryResolvedConfig &
443
442
  HostHeaderResolvedConfig &
444
443
  UserAgentResolvedConfig &
444
+ RetryResolvedConfig &
445
445
  HttpAuthSchemeResolvedConfig &
446
446
  EndpointDiscoveryResolvedConfig &
447
447
  ClientResolvedEndpointParameters;
@@ -59,11 +59,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
59
59
  }
60
60
  ) => import("@smithy/types").EndpointV2;
61
61
  tls?: boolean | undefined;
62
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
62
63
  retryStrategy?:
63
64
  | import("@smithy/types").RetryStrategy
64
65
  | import("@smithy/types").RetryStrategyV2
65
66
  | undefined;
66
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
67
67
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
68
68
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
69
69
  credentials?:
@@ -63,11 +63,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
63
63
  }
64
64
  ) => import("@smithy/types").EndpointV2;
65
65
  tls?: boolean | undefined;
66
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
66
67
  retryStrategy?:
67
68
  | import("@smithy/types").RetryStrategy
68
69
  | import("@smithy/types").RetryStrategyV2
69
70
  | undefined;
70
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
71
71
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
72
72
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
73
73
  credentials?:
@@ -53,11 +53,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
53
53
  }
54
54
  ) => import("@smithy/types").EndpointV2;
55
55
  tls?: boolean | undefined;
56
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
56
57
  retryStrategy?:
57
58
  | import("@smithy/types").RetryStrategy
58
59
  | import("@smithy/types").RetryStrategyV2
59
60
  | undefined;
60
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
61
61
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
62
62
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
63
63
  credentials?:
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.614.0",
4
+ "version": "3.616.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,41 +20,41 @@
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.614.0",
24
- "@aws-sdk/client-sts": "3.614.0",
25
- "@aws-sdk/core": "3.614.0",
26
- "@aws-sdk/credential-provider-node": "3.614.0",
27
- "@aws-sdk/middleware-endpoint-discovery": "3.614.0",
28
- "@aws-sdk/middleware-host-header": "3.609.0",
23
+ "@aws-sdk/client-sso-oidc": "3.616.0",
24
+ "@aws-sdk/client-sts": "3.616.0",
25
+ "@aws-sdk/core": "3.616.0",
26
+ "@aws-sdk/credential-provider-node": "3.616.0",
27
+ "@aws-sdk/middleware-endpoint-discovery": "3.616.0",
28
+ "@aws-sdk/middleware-host-header": "3.616.0",
29
29
  "@aws-sdk/middleware-logger": "3.609.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.609.0",
31
- "@aws-sdk/middleware-user-agent": "3.614.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.616.0",
31
+ "@aws-sdk/middleware-user-agent": "3.616.0",
32
32
  "@aws-sdk/region-config-resolver": "3.614.0",
33
33
  "@aws-sdk/types": "3.609.0",
34
34
  "@aws-sdk/util-endpoints": "3.614.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.609.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.614.0",
37
37
  "@smithy/config-resolver": "^3.0.5",
38
- "@smithy/core": "^2.2.6",
39
- "@smithy/fetch-http-handler": "^3.2.1",
38
+ "@smithy/core": "^2.2.7",
39
+ "@smithy/fetch-http-handler": "^3.2.2",
40
40
  "@smithy/hash-node": "^3.0.3",
41
41
  "@smithy/invalid-dependency": "^3.0.3",
42
- "@smithy/middleware-content-length": "^3.0.3",
42
+ "@smithy/middleware-content-length": "^3.0.4",
43
43
  "@smithy/middleware-endpoint": "^3.0.5",
44
- "@smithy/middleware-retry": "^3.0.9",
44
+ "@smithy/middleware-retry": "^3.0.10",
45
45
  "@smithy/middleware-serde": "^3.0.3",
46
46
  "@smithy/middleware-stack": "^3.0.3",
47
47
  "@smithy/node-config-provider": "^3.1.4",
48
- "@smithy/node-http-handler": "^3.1.2",
49
- "@smithy/protocol-http": "^4.0.3",
50
- "@smithy/smithy-client": "^3.1.7",
48
+ "@smithy/node-http-handler": "^3.1.3",
49
+ "@smithy/protocol-http": "^4.0.4",
50
+ "@smithy/smithy-client": "^3.1.8",
51
51
  "@smithy/types": "^3.3.0",
52
52
  "@smithy/url-parser": "^3.0.3",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.9",
57
- "@smithy/util-defaults-mode-node": "^3.0.9",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.10",
57
+ "@smithy/util-defaults-mode-node": "^3.0.10",
58
58
  "@smithy/util-endpoints": "^2.0.5",
59
59
  "@smithy/util-middleware": "^3.0.3",
60
60
  "@smithy/util-retry": "^3.0.3",