@aws-sdk/client-dynamodb 3.476.0 → 3.478.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.
Files changed (51) hide show
  1. package/dist-cjs/DynamoDBClient.js +17 -4
  2. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListExportsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
  8. package/dist-cjs/pagination/QueryPaginator.js +2 -24
  9. package/dist-cjs/pagination/ScanPaginator.js +2 -24
  10. package/dist-cjs/runtimeConfig.shared.js +10 -0
  11. package/dist-cjs/runtimeExtensions.js +3 -0
  12. package/dist-es/DynamoDBClient.js +17 -4
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/pagination/ListContributorInsightsPaginator.js +2 -23
  16. package/dist-es/pagination/ListExportsPaginator.js +2 -23
  17. package/dist-es/pagination/ListImportsPaginator.js +2 -23
  18. package/dist-es/pagination/ListTablesPaginator.js +2 -23
  19. package/dist-es/pagination/QueryPaginator.js +2 -23
  20. package/dist-es/pagination/ScanPaginator.js +2 -23
  21. package/dist-es/runtimeConfig.shared.js +10 -0
  22. package/dist-es/runtimeExtensions.js +3 -0
  23. package/dist-types/DynamoDBClient.d.ts +19 -17
  24. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  25. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  26. package/dist-types/extensionConfiguration.d.ts +2 -1
  27. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  31. package/dist-types/pagination/QueryPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ScanPaginator.d.ts +1 -1
  33. package/dist-types/runtimeConfig.browser.d.ts +5 -3
  34. package/dist-types/runtimeConfig.d.ts +5 -3
  35. package/dist-types/runtimeConfig.native.d.ts +7 -5
  36. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  37. package/dist-types/ts3.4/DynamoDBClient.d.ts +12 -10
  38. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  39. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  40. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  41. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -11
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  51. package/package.json +8 -7
@@ -4,8 +4,8 @@ import {
4
4
  ListExportsCommandOutput,
5
5
  } from "../commands/ListExportsCommand";
6
6
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListExports(
7
+ export declare const paginateListExports: (
8
8
  config: DynamoDBPaginationConfiguration,
9
9
  input: ListExportsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListExportsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListExportsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListImportsCommandOutput,
5
5
  } from "../commands/ListImportsCommand";
6
6
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListImports(
7
+ export declare const paginateListImports: (
8
8
  config: DynamoDBPaginationConfiguration,
9
9
  input: ListImportsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListImportsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListImportsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTablesCommandOutput,
5
5
  } from "../commands/ListTablesCommand";
6
6
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTables(
7
+ export declare const paginateListTables: (
8
8
  config: DynamoDBPaginationConfiguration,
9
9
  input: ListTablesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTablesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTablesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  QueryCommandOutput,
5
5
  } from "../commands/QueryCommand";
6
6
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateQuery(
7
+ export declare const paginateQuery: (
8
8
  config: DynamoDBPaginationConfiguration,
9
9
  input: QueryCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<QueryCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<QueryCommandOutput>;
@@ -1,8 +1,8 @@
1
1
  import { Paginator } from "@smithy/types";
2
2
  import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand";
3
3
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateScan(
4
+ export declare const paginateScan: (
5
5
  config: DynamoDBPaginationConfiguration,
6
6
  input: ScanCommandInput,
7
- ...additionalArguments: any
8
- ): Paginator<ScanCommandOutput>;
7
+ ...rest: any[]
8
+ ) => Paginator<ScanCommandOutput>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<
13
13
  import("@smithy/types").UserAgent
14
14
  >;
@@ -75,11 +75,12 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
75
75
  | import("@smithy/types").RetryStrategy
76
76
  | import("@smithy/types").RetryStrategyV2
77
77
  | undefined;
78
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
79
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
78
81
  credentials?:
79
82
  | import("@smithy/types").AwsCredentialIdentity
80
- | import("@smithy/types").Provider<
81
- import("@smithy/types").AwsCredentialIdentity
82
- >
83
+ | import("@smithy/types").AwsCredentialIdentityProvider
83
84
  | undefined;
84
85
  signer?:
85
86
  | import("@smithy/types").RequestSigner
@@ -96,7 +97,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
96
97
  import("@smithy/signature-v4").SignatureV4CryptoInit
97
98
  ) => import("@smithy/types").RequestSigner)
98
99
  | undefined;
99
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
100
100
  endpointCacheSize?: number | undefined;
101
101
  endpointDiscoveryEnabled?: boolean | undefined;
102
102
  };
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<
13
13
  import("@smithy/types").UserAgent
14
14
  >;
@@ -75,11 +75,12 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
75
75
  | import("@smithy/types").RetryStrategy
76
76
  | import("@smithy/types").RetryStrategyV2
77
77
  | undefined;
78
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
79
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
78
81
  credentials?:
79
82
  | import("@smithy/types").AwsCredentialIdentity
80
- | import("@smithy/types").Provider<
81
- import("@smithy/types").AwsCredentialIdentity
82
- >
83
+ | import("@smithy/types").AwsCredentialIdentityProvider
83
84
  | undefined;
84
85
  signer?:
85
86
  | import("@smithy/types").RequestSigner
@@ -96,7 +97,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
96
97
  import("@smithy/signature-v4").SignatureV4CryptoInit
97
98
  ) => import("@smithy/types").RequestSigner)
98
99
  | undefined;
99
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
100
100
  endpointCacheSize?: number | undefined;
101
101
  endpointDiscoveryEnabled?: boolean | undefined;
102
102
  };
@@ -29,16 +29,13 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
29
29
  serviceId: string;
30
30
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
- region: string | import("@smithy/types").Provider<any>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
36
32
  defaultUserAgentProvider: import("@smithy/types").Provider<
37
33
  import("@smithy/types").UserAgent
38
34
  >;
39
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
40
- boolean | undefined
41
- >;
35
+ region: string | import("@smithy/types").Provider<any>;
36
+ credentialDefaultProvider: (
37
+ input: any
38
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
42
39
  maxAttempts: number | import("@smithy/types").Provider<number>;
43
40
  retryMode: string | import("@smithy/types").Provider<string>;
44
41
  logger: import("@smithy/types").Logger;
@@ -48,6 +45,9 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
48
45
  | import("@smithy/types").Provider<
49
46
  import("@smithy/smithy-client").DefaultsMode
50
47
  >;
48
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
49
+ boolean | undefined
50
+ >;
51
51
  endpoint?:
52
52
  | string
53
53
  | import("@smithy/types").Endpoint
@@ -66,11 +66,12 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
66
66
  | import("@smithy/types").RetryStrategy
67
67
  | import("@smithy/types").RetryStrategyV2
68
68
  | undefined;
69
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
70
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
69
72
  credentials?:
70
73
  | import("@smithy/types").AwsCredentialIdentity
71
- | import("@smithy/types").Provider<
72
- import("@smithy/types").AwsCredentialIdentity
73
- >
74
+ | import("@smithy/types").AwsCredentialIdentityProvider
74
75
  | undefined;
75
76
  signer?:
76
77
  | import("@smithy/types").RequestSigner
@@ -87,7 +88,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
87
88
  import("@smithy/signature-v4").SignatureV4CryptoInit
88
89
  ) => import("@smithy/types").RequestSigner)
89
90
  | undefined;
90
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
91
91
  endpointCacheSize?: number | undefined;
92
92
  endpointDiscoveryEnabled?: boolean | undefined;
93
93
  };
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
14
16
  logger: import("@smithy/types").Logger;
15
17
  serviceId: string;
16
18
  urlParser: import("@smithy/types").UrlParser;
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.476.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,21 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-endpoint-discovery": "3.470.0",
27
27
  "@aws-sdk/middleware-host-header": "3.468.0",
28
28
  "@aws-sdk/middleware-logger": "3.468.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
30
- "@aws-sdk/middleware-signing": "3.468.0",
31
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
32
31
  "@aws-sdk/region-config-resolver": "3.470.0",
33
32
  "@aws-sdk/types": "3.468.0",
34
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
35
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
36
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
37
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
@@ -55,6 +55,7 @@
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.22",
56
56
  "@smithy/util-defaults-mode-node": "^2.0.29",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
+ "@smithy/util-middleware": "^2.0.8",
58
59
  "@smithy/util-retry": "^2.0.8",
59
60
  "@smithy/util-utf8": "^2.0.2",
60
61
  "@smithy/util-waiter": "^2.0.15",