@aws-sdk/client-dynamodb 3.826.0 → 3.830.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.
@@ -3,12 +3,12 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
- accountId?: string | Provider<string>;
11
- accountIdEndpointMode?: string | Provider<string>;
10
+ accountId?: string | undefined | Provider<string | undefined>;
11
+ accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
12
12
  }
13
13
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  defaultSigningName: string;
@@ -41,12 +41,12 @@ export declare const commonParams: {
41
41
  };
42
42
  };
43
43
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
- UseDualStack?: boolean;
46
- UseFIPS?: boolean;
47
- Endpoint?: string;
48
- AccountId?: string;
49
- AccountIdEndpointMode?: string;
50
- ResourceArn?: string;
51
- ResourceArnList?: string[];
44
+ Region?: string | undefined;
45
+ UseDualStack?: boolean | undefined;
46
+ UseFIPS?: boolean | undefined;
47
+ Endpoint?: string | undefined;
48
+ AccountId?: string | undefined;
49
+ AccountIdEndpointMode?: string | undefined;
50
+ ResourceArn?: string | undefined;
51
+ ResourceArnList?: string[] | undefined;
52
52
  }
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
18
  sha256: import("@smithy/types").HashConstructor;
19
19
  streamCollector: import("@smithy/types").StreamCollector;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  apiVersion: string;
23
23
  cacheMiddleware?: boolean | undefined;
24
24
  urlParser: import("@smithy/types").UrlParser;
@@ -51,5 +51,5 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
51
51
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
52
52
  endpointCacheSize?: number;
53
53
  endpointDiscoveryEnabled?: boolean | undefined;
54
- accountId?: string | import("@smithy/types").Provider<string>;
54
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
55
55
  };
@@ -51,5 +51,5 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
51
51
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
52
52
  endpointCacheSize?: number;
53
53
  endpointDiscoveryEnabled?: boolean | undefined;
54
- accountId?: string | import("@smithy/types").Provider<string>;
54
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
55
55
  };
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
@@ -50,5 +50,5 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
50
50
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
51
51
  endpointCacheSize?: number;
52
52
  endpointDiscoveryEnabled?: boolean | undefined;
53
- accountId?: string | import("@smithy/types").Provider<string>;
53
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
54
54
  };
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -15,8 +15,8 @@ export interface ClientInputEndpointParameters {
15
15
  | Provider<Endpoint>
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
- accountId?: string | Provider<string>;
19
- accountIdEndpointMode?: string | Provider<string>;
18
+ accountId?: string | undefined | Provider<string | undefined>;
19
+ accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
20
20
  }
21
21
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
22
22
  defaultSigningName: string;
@@ -51,12 +51,12 @@ export declare const commonParams: {
51
51
  };
52
52
  };
53
53
  export interface EndpointParameters extends __EndpointParameters {
54
- Region?: string;
55
- UseDualStack?: boolean;
56
- UseFIPS?: boolean;
57
- Endpoint?: string;
58
- AccountId?: string;
59
- AccountIdEndpointMode?: string;
60
- ResourceArn?: string;
61
- ResourceArnList?: string[];
54
+ Region?: string | undefined;
55
+ UseDualStack?: boolean | undefined;
56
+ UseFIPS?: boolean | undefined;
57
+ Endpoint?: string | undefined;
58
+ AccountId?: string | undefined;
59
+ AccountIdEndpointMode?: string | undefined;
60
+ ResourceArn?: string | undefined;
61
+ ResourceArnList?: string[] | undefined;
62
62
  }
@@ -30,8 +30,10 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
30
30
  retryMode: string | import("@smithy/types").Provider<string>;
31
31
  sha256: import("@smithy/types").HashConstructor;
32
32
  streamCollector: import("@smithy/types").StreamCollector;
33
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
34
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
35
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
36
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
35
37
  apiVersion: string;
36
38
  cacheMiddleware?: boolean | undefined;
37
39
  urlParser: import("@smithy/types").UrlParser;
@@ -97,5 +99,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
97
99
  ) => import("@smithy/types").RequestSigner;
98
100
  endpointCacheSize?: number;
99
101
  endpointDiscoveryEnabled?: boolean | undefined;
100
- accountId?: string | import("@smithy/types").Provider<string>;
102
+ accountId?:
103
+ | string
104
+ | undefined
105
+ | import("@smithy/types").Provider<string | undefined>;
101
106
  };
@@ -98,5 +98,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
98
98
  ) => import("@smithy/types").RequestSigner;
99
99
  endpointCacheSize?: number;
100
100
  endpointDiscoveryEnabled?: boolean | undefined;
101
- accountId?: string | import("@smithy/types").Provider<string>;
101
+ accountId?:
102
+ | string
103
+ | undefined
104
+ | import("@smithy/types").Provider<string | undefined>;
102
105
  };
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  accountIdEndpointMode:
@@ -101,5 +103,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
101
103
  ) => import("@smithy/types").RequestSigner;
102
104
  endpointCacheSize?: number;
103
105
  endpointDiscoveryEnabled?: boolean | undefined;
104
- accountId?: string | import("@smithy/types").Provider<string>;
106
+ accountId?:
107
+ | string
108
+ | undefined
109
+ | import("@smithy/types").Provider<string | undefined>;
105
110
  };
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.826.0",
4
+ "version": "3.830.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",
@@ -21,17 +21,17 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.830.0",
25
25
  "@aws-sdk/middleware-endpoint-discovery": "3.821.0",
26
26
  "@aws-sdk/middleware-host-header": "3.821.0",
27
27
  "@aws-sdk/middleware-logger": "3.821.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
29
- "@aws-sdk/middleware-user-agent": "3.826.0",
29
+ "@aws-sdk/middleware-user-agent": "3.828.0",
30
30
  "@aws-sdk/region-config-resolver": "3.821.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
- "@aws-sdk/util-endpoints": "3.821.0",
32
+ "@aws-sdk/util-endpoints": "3.828.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.821.0",
34
- "@aws-sdk/util-user-agent-node": "3.826.0",
34
+ "@aws-sdk/util-user-agent-node": "3.828.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
36
  "@smithy/core": "^3.5.3",
37
37
  "@smithy/fetch-http-handler": "^5.0.4",